@51eat/sdk 0.0.53 → 0.0.55
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 -0
- package/dist/cjs/Client.js +9 -4
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +11 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +42 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.ts +1 -6
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.js +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +1 -6
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js +0 -4
- package/dist/cjs/api/resources/getPickupTimeslots/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/Client.js +123 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/index.js +17 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.js +3 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/getPickupTimeslots/exports.d.ts +2 -0
- package/dist/cjs/api/resources/getPickupTimeslots/exports.js +21 -0
- package/dist/cjs/api/resources/getPickupTimeslots/index.d.ts +2 -0
- package/dist/cjs/api/resources/getPickupTimeslots/index.js +18 -0
- package/dist/cjs/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.js +3 -0
- package/dist/cjs/api/resources/getPickupTimeslots/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/getPickupTimeslots/types/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -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 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +11 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +42 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts +1 -6
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.mjs +0 -4
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +1 -6
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.mjs +0 -4
- package/dist/esm/api/resources/getPickupTimeslots/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/Client.mjs +86 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/index.d.mts +1 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/index.mjs +1 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.mts +11 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.mjs +2 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/getPickupTimeslots/exports.d.mts +2 -0
- package/dist/esm/api/resources/getPickupTimeslots/exports.mjs +3 -0
- package/dist/esm/api/resources/getPickupTimeslots/index.d.mts +2 -0
- package/dist/esm/api/resources/getPickupTimeslots/index.mjs +2 -0
- package/dist/esm/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.mts +7 -0
- package/dist/esm/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.mjs +2 -0
- package/dist/esm/api/resources/getPickupTimeslots/types/index.d.mts +1 -0
- package/dist/esm/api/resources/getPickupTimeslots/types/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +104 -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.55",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.55",
|
|
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
|
@@ -6,6 +6,7 @@ import { CustomerClient } from "./api/resources/customer/client/Client.js";
|
|
|
6
6
|
import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.js";
|
|
7
7
|
import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.js";
|
|
8
8
|
import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.js";
|
|
9
|
+
import { GetPickupTimeslotsClient } from "./api/resources/getPickupTimeslots/client/Client.js";
|
|
9
10
|
import { RecordClickClient } from "./api/resources/recordClick/client/Client.js";
|
|
10
11
|
import { ServeAdClient } from "./api/resources/serveAd/client/Client.js";
|
|
11
12
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -25,6 +26,7 @@ export declare class FiveOneEatClient {
|
|
|
25
26
|
protected _customerMessaging: CustomerMessagingClient | undefined;
|
|
26
27
|
protected _customerMyAccount: CustomerMyAccountClient | undefined;
|
|
27
28
|
protected _customer: CustomerClient | undefined;
|
|
29
|
+
protected _getPickupTimeslots: GetPickupTimeslotsClient | undefined;
|
|
28
30
|
protected _recordClick: RecordClickClient | undefined;
|
|
29
31
|
protected _serveAd: ServeAdClient | undefined;
|
|
30
32
|
protected _business: BusinessClient | undefined;
|
|
@@ -36,6 +38,7 @@ export declare class FiveOneEatClient {
|
|
|
36
38
|
get customerMessaging(): CustomerMessagingClient;
|
|
37
39
|
get customerMyAccount(): CustomerMyAccountClient;
|
|
38
40
|
get customer(): CustomerClient;
|
|
41
|
+
get getPickupTimeslots(): GetPickupTimeslotsClient;
|
|
39
42
|
get recordClick(): RecordClickClient;
|
|
40
43
|
get serveAd(): ServeAdClient;
|
|
41
44
|
get business(): BusinessClient;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -52,8 +52,9 @@ const Client_js_5 = require("./api/resources/customer/client/Client.js");
|
|
|
52
52
|
const Client_js_6 = require("./api/resources/customerEvents/client/Client.js");
|
|
53
53
|
const Client_js_7 = require("./api/resources/customerMessaging/client/Client.js");
|
|
54
54
|
const Client_js_8 = require("./api/resources/customerMyAccount/client/Client.js");
|
|
55
|
-
const Client_js_9 = require("./api/resources/
|
|
56
|
-
const Client_js_10 = require("./api/resources/
|
|
55
|
+
const Client_js_9 = require("./api/resources/getPickupTimeslots/client/Client.js");
|
|
56
|
+
const Client_js_10 = require("./api/resources/recordClick/client/Client.js");
|
|
57
|
+
const Client_js_11 = require("./api/resources/serveAd/client/Client.js");
|
|
57
58
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
58
59
|
const core = __importStar(require("./core/index.js"));
|
|
59
60
|
class FiveOneEatClient {
|
|
@@ -88,13 +89,17 @@ class FiveOneEatClient {
|
|
|
88
89
|
var _a;
|
|
89
90
|
return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new Client_js_5.CustomerClient(this._options)));
|
|
90
91
|
}
|
|
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
|
+
}
|
|
91
96
|
get recordClick() {
|
|
92
97
|
var _a;
|
|
93
|
-
return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new
|
|
98
|
+
return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_10.RecordClickClient(this._options)));
|
|
94
99
|
}
|
|
95
100
|
get serveAd() {
|
|
96
101
|
var _a;
|
|
97
|
-
return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new
|
|
102
|
+
return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new Client_js_11.ServeAdClient(this._options)));
|
|
98
103
|
}
|
|
99
104
|
get business() {
|
|
100
105
|
var _a;
|
|
@@ -110,4 +110,15 @@ export declare class BusinessesClient {
|
|
|
110
110
|
*/
|
|
111
111
|
listTemporaryLocations(request: FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListTemporaryLocationsBusinessesResponse>;
|
|
112
112
|
private __listTemporaryLocations;
|
|
113
|
+
/**
|
|
114
|
+
* @param {FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest} request
|
|
115
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* await client.customer.businesses.getPickupTimeslots({
|
|
119
|
+
* business: "business"
|
|
120
|
+
* })
|
|
121
|
+
*/
|
|
122
|
+
getPickupTimeslots(request: FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
123
|
+
private __getPickupTimeslots;
|
|
113
124
|
}
|
|
@@ -416,5 +416,47 @@ class BusinessesClient {
|
|
|
416
416
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/temporary-locations");
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
|
+
/**
|
|
420
|
+
* @param {FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest} request
|
|
421
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
422
|
+
*
|
|
423
|
+
* @example
|
|
424
|
+
* await client.customer.businesses.getPickupTimeslots({
|
|
425
|
+
* business: "business"
|
|
426
|
+
* })
|
|
427
|
+
*/
|
|
428
|
+
getPickupTimeslots(request, requestOptions) {
|
|
429
|
+
return core.HttpResponsePromise.fromPromise(this.__getPickupTimeslots(request, requestOptions));
|
|
430
|
+
}
|
|
431
|
+
__getPickupTimeslots(request, requestOptions) {
|
|
432
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
433
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
434
|
+
const { business } = request;
|
|
435
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
436
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
437
|
+
const _response = yield core.fetcher({
|
|
438
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/pickup-timeslots`),
|
|
439
|
+
method: "GET",
|
|
440
|
+
headers: _headers,
|
|
441
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
442
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
443
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
444
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
445
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
446
|
+
logging: this._options.logging,
|
|
447
|
+
});
|
|
448
|
+
if (_response.ok) {
|
|
449
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
450
|
+
}
|
|
451
|
+
if (_response.error.reason === "status-code") {
|
|
452
|
+
throw new errors.FiveOneEatError({
|
|
453
|
+
statusCode: _response.error.statusCode,
|
|
454
|
+
body: _response.error.body,
|
|
455
|
+
rawResponse: _response.rawResponse,
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/pickup-timeslots");
|
|
459
|
+
});
|
|
460
|
+
}
|
|
419
461
|
}
|
|
420
462
|
exports.BusinessesClient = BusinessesClient;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { FavoriteBusinessesRequest } from "./FavoriteBusinessesRequest.js";
|
|
2
|
+
export type { GetPickupTimeslotsBusinessesRequest } from "./GetPickupTimeslotsBusinessesRequest.js";
|
|
2
3
|
export type { ListTemporaryLocationsBusinessesRequest } from "./ListTemporaryLocationsBusinessesRequest.js";
|
|
3
4
|
export type { MenusBusinessesRequest } from "./MenusBusinessesRequest.js";
|
|
4
5
|
export type { PhotosBusinessesRequest } from "./PhotosBusinessesRequest.js";
|
|
@@ -17,7 +17,7 @@ export interface CheckoutRequest {
|
|
|
17
17
|
business: string;
|
|
18
18
|
payment_intent_id: string;
|
|
19
19
|
fulfillment_method?: CheckoutRequest.FulfillmentMethod | null;
|
|
20
|
-
pickup_date?:
|
|
20
|
+
pickup_date?: string | null;
|
|
21
21
|
pickup_time?: string | null;
|
|
22
22
|
billing_address: CheckoutRequest.BillingAddress;
|
|
23
23
|
shipping_address?: CheckoutRequest.ShippingAddress;
|
|
@@ -28,11 +28,6 @@ export declare namespace CheckoutRequest {
|
|
|
28
28
|
readonly Pickup: "pickup";
|
|
29
29
|
};
|
|
30
30
|
type FulfillmentMethod = (typeof FulfillmentMethod)[keyof typeof FulfillmentMethod];
|
|
31
|
-
const PickupDate: {
|
|
32
|
-
readonly Today: "today";
|
|
33
|
-
readonly Tomorrow: "tomorrow";
|
|
34
|
-
};
|
|
35
|
-
type PickupDate = (typeof PickupDate)[keyof typeof PickupDate];
|
|
36
31
|
interface BillingAddress {
|
|
37
32
|
line1: string;
|
|
38
33
|
city: string;
|
|
@@ -15,7 +15,7 @@ export interface CreatePaymentIntentRequest {
|
|
|
15
15
|
/** The business handle */
|
|
16
16
|
business: string;
|
|
17
17
|
fulfillment_method?: CreatePaymentIntentRequest.FulfillmentMethod | null;
|
|
18
|
-
pickup_date?:
|
|
18
|
+
pickup_date?: string | null;
|
|
19
19
|
pickup_time?: string | null;
|
|
20
20
|
payment_method_id?: string | null;
|
|
21
21
|
billing_address: CreatePaymentIntentRequest.BillingAddress;
|
|
@@ -27,11 +27,6 @@ export declare namespace CreatePaymentIntentRequest {
|
|
|
27
27
|
readonly Pickup: "pickup";
|
|
28
28
|
};
|
|
29
29
|
type FulfillmentMethod = (typeof FulfillmentMethod)[keyof typeof FulfillmentMethod];
|
|
30
|
-
const PickupDate: {
|
|
31
|
-
readonly Today: "today";
|
|
32
|
-
readonly Tomorrow: "tomorrow";
|
|
33
|
-
};
|
|
34
|
-
type PickupDate = (typeof PickupDate)[keyof typeof PickupDate];
|
|
35
30
|
interface BillingAddress {
|
|
36
31
|
line1: string;
|
|
37
32
|
city: string;
|
package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js
CHANGED
|
@@ -8,8 +8,4 @@ var CreatePaymentIntentRequest;
|
|
|
8
8
|
Shipping: "shipping",
|
|
9
9
|
Pickup: "pickup",
|
|
10
10
|
};
|
|
11
|
-
CreatePaymentIntentRequest.PickupDate = {
|
|
12
|
-
Today: "today",
|
|
13
|
-
Tomorrow: "tomorrow",
|
|
14
|
-
};
|
|
15
11
|
})(CreatePaymentIntentRequest || (exports.CreatePaymentIntentRequest = CreatePaymentIntentRequest = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.GetPickupTimeslotsClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
53
|
+
const FiveOneEat = __importStar(require("../../../index.js"));
|
|
54
|
+
class GetPickupTimeslotsClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
|
|
60
|
+
* @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
63
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
67
|
+
* handle: "handle",
|
|
68
|
+
* date: "2023-01-15"
|
|
69
|
+
* })
|
|
70
|
+
*/
|
|
71
|
+
businessesGetPickupTimeslots(request, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__businessesGetPickupTimeslots(request, requestOptions));
|
|
73
|
+
}
|
|
74
|
+
__businessesGetPickupTimeslots(request, requestOptions) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
77
|
+
const { handle, date } = request;
|
|
78
|
+
const _queryParams = {
|
|
79
|
+
date,
|
|
80
|
+
};
|
|
81
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
82
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
83
|
+
const _response = yield core.fetcher({
|
|
84
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/pickup-timeslots`),
|
|
85
|
+
method: "GET",
|
|
86
|
+
headers: _headers,
|
|
87
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
88
|
+
queryString: core.url
|
|
89
|
+
.queryBuilder()
|
|
90
|
+
.addMany(_queryParams)
|
|
91
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
92
|
+
.build(),
|
|
93
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
94
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
95
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
96
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
97
|
+
logging: this._options.logging,
|
|
98
|
+
});
|
|
99
|
+
if (_response.ok) {
|
|
100
|
+
return {
|
|
101
|
+
data: _response.body,
|
|
102
|
+
rawResponse: _response.rawResponse,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (_response.error.reason === "status-code") {
|
|
106
|
+
switch (_response.error.statusCode) {
|
|
107
|
+
case 401:
|
|
108
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
109
|
+
case 422:
|
|
110
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
111
|
+
default:
|
|
112
|
+
throw new errors.FiveOneEatError({
|
|
113
|
+
statusCode: _response.error.statusCode,
|
|
114
|
+
body: _response.error.body,
|
|
115
|
+
rawResponse: _response.rawResponse,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/pickup-timeslots");
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.GetPickupTimeslotsClient = GetPickupTimeslotsClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.GetPickupTimeslotsClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "GetPickupTimeslotsClient", { enumerable: true, get: function () { return Client_js_1.GetPickupTimeslotsClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BusinessesGetPickupTimeslotsResponse.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BusinessesGetPickupTimeslotsResponse.js"), exports);
|
|
@@ -19,6 +19,9 @@ export * from "./customerMessaging/types/index.js";
|
|
|
19
19
|
export * from "./customerMyAccount/client/requests/index.js";
|
|
20
20
|
export * as customerMyAccount from "./customerMyAccount/index.js";
|
|
21
21
|
export * from "./customerMyAccount/types/index.js";
|
|
22
|
+
export * from "./getPickupTimeslots/client/requests/index.js";
|
|
23
|
+
export * as getPickupTimeslots from "./getPickupTimeslots/index.js";
|
|
24
|
+
export * from "./getPickupTimeslots/types/index.js";
|
|
22
25
|
export * from "./recordClick/client/requests/index.js";
|
|
23
26
|
export * as recordClick from "./recordClick/index.js";
|
|
24
27
|
export * from "./serveAd/client/requests/index.js";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.serveAd = exports.recordClick = exports.customerMyAccount = exports.customerMessaging = exports.customerEvents = exports.customer = exports.businessShipping = exports.businessProducts = exports.businessMessaging = exports.business = void 0;
|
|
39
|
+
exports.serveAd = exports.recordClick = exports.getPickupTimeslots = exports.customerMyAccount = exports.customerMessaging = exports.customerEvents = exports.customer = exports.businessShipping = exports.businessProducts = exports.businessMessaging = exports.business = void 0;
|
|
40
40
|
exports.business = __importStar(require("./business/index.js"));
|
|
41
41
|
__exportStar(require("./businessMessaging/client/requests/index.js"), exports);
|
|
42
42
|
exports.businessMessaging = __importStar(require("./businessMessaging/index.js"));
|
|
@@ -58,6 +58,9 @@ __exportStar(require("./customerMessaging/types/index.js"), exports);
|
|
|
58
58
|
__exportStar(require("./customerMyAccount/client/requests/index.js"), exports);
|
|
59
59
|
exports.customerMyAccount = __importStar(require("./customerMyAccount/index.js"));
|
|
60
60
|
__exportStar(require("./customerMyAccount/types/index.js"), exports);
|
|
61
|
+
__exportStar(require("./getPickupTimeslots/client/requests/index.js"), exports);
|
|
62
|
+
exports.getPickupTimeslots = __importStar(require("./getPickupTimeslots/index.js"));
|
|
63
|
+
__exportStar(require("./getPickupTimeslots/types/index.js"), exports);
|
|
61
64
|
__exportStar(require("./recordClick/client/requests/index.js"), exports);
|
|
62
65
|
exports.recordClick = __importStar(require("./recordClick/index.js"));
|
|
63
66
|
__exportStar(require("./serveAd/client/requests/index.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.55";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0.
|
|
10
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.55",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.55",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
|
|
|
6
6
|
import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
|
|
7
7
|
import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.mjs";
|
|
8
8
|
import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
|
|
9
|
+
import { GetPickupTimeslotsClient } from "./api/resources/getPickupTimeslots/client/Client.mjs";
|
|
9
10
|
import { RecordClickClient } from "./api/resources/recordClick/client/Client.mjs";
|
|
10
11
|
import { ServeAdClient } from "./api/resources/serveAd/client/Client.mjs";
|
|
11
12
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
@@ -25,6 +26,7 @@ export declare class FiveOneEatClient {
|
|
|
25
26
|
protected _customerMessaging: CustomerMessagingClient | undefined;
|
|
26
27
|
protected _customerMyAccount: CustomerMyAccountClient | undefined;
|
|
27
28
|
protected _customer: CustomerClient | undefined;
|
|
29
|
+
protected _getPickupTimeslots: GetPickupTimeslotsClient | undefined;
|
|
28
30
|
protected _recordClick: RecordClickClient | undefined;
|
|
29
31
|
protected _serveAd: ServeAdClient | undefined;
|
|
30
32
|
protected _business: BusinessClient | undefined;
|
|
@@ -36,6 +38,7 @@ export declare class FiveOneEatClient {
|
|
|
36
38
|
get customerMessaging(): CustomerMessagingClient;
|
|
37
39
|
get customerMyAccount(): CustomerMyAccountClient;
|
|
38
40
|
get customer(): CustomerClient;
|
|
41
|
+
get getPickupTimeslots(): GetPickupTimeslotsClient;
|
|
39
42
|
get recordClick(): RecordClickClient;
|
|
40
43
|
get serveAd(): ServeAdClient;
|
|
41
44
|
get business(): BusinessClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -16,6 +16,7 @@ import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
|
|
|
16
16
|
import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
|
|
17
17
|
import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.mjs";
|
|
18
18
|
import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
|
|
19
|
+
import { GetPickupTimeslotsClient } from "./api/resources/getPickupTimeslots/client/Client.mjs";
|
|
19
20
|
import { RecordClickClient } from "./api/resources/recordClick/client/Client.mjs";
|
|
20
21
|
import { ServeAdClient } from "./api/resources/serveAd/client/Client.mjs";
|
|
21
22
|
import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
@@ -52,6 +53,10 @@ export class FiveOneEatClient {
|
|
|
52
53
|
var _a;
|
|
53
54
|
return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new CustomerClient(this._options)));
|
|
54
55
|
}
|
|
56
|
+
get getPickupTimeslots() {
|
|
57
|
+
var _a;
|
|
58
|
+
return ((_a = this._getPickupTimeslots) !== null && _a !== void 0 ? _a : (this._getPickupTimeslots = new GetPickupTimeslotsClient(this._options)));
|
|
59
|
+
}
|
|
55
60
|
get recordClick() {
|
|
56
61
|
var _a;
|
|
57
62
|
return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new RecordClickClient(this._options)));
|
|
@@ -110,4 +110,15 @@ export declare class BusinessesClient {
|
|
|
110
110
|
*/
|
|
111
111
|
listTemporaryLocations(request: FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListTemporaryLocationsBusinessesResponse>;
|
|
112
112
|
private __listTemporaryLocations;
|
|
113
|
+
/**
|
|
114
|
+
* @param {FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest} request
|
|
115
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* await client.customer.businesses.getPickupTimeslots({
|
|
119
|
+
* business: "business"
|
|
120
|
+
* })
|
|
121
|
+
*/
|
|
122
|
+
getPickupTimeslots(request: FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
123
|
+
private __getPickupTimeslots;
|
|
113
124
|
}
|
|
@@ -380,4 +380,46 @@ export class BusinessesClient {
|
|
|
380
380
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/temporary-locations");
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* @param {FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest} request
|
|
385
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* await client.customer.businesses.getPickupTimeslots({
|
|
389
|
+
* business: "business"
|
|
390
|
+
* })
|
|
391
|
+
*/
|
|
392
|
+
getPickupTimeslots(request, requestOptions) {
|
|
393
|
+
return core.HttpResponsePromise.fromPromise(this.__getPickupTimeslots(request, requestOptions));
|
|
394
|
+
}
|
|
395
|
+
__getPickupTimeslots(request, requestOptions) {
|
|
396
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
398
|
+
const { business } = request;
|
|
399
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
400
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
401
|
+
const _response = yield core.fetcher({
|
|
402
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/pickup-timeslots`),
|
|
403
|
+
method: "GET",
|
|
404
|
+
headers: _headers,
|
|
405
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
406
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
407
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
408
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
409
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
410
|
+
logging: this._options.logging,
|
|
411
|
+
});
|
|
412
|
+
if (_response.ok) {
|
|
413
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
414
|
+
}
|
|
415
|
+
if (_response.error.reason === "status-code") {
|
|
416
|
+
throw new errors.FiveOneEatError({
|
|
417
|
+
statusCode: _response.error.statusCode,
|
|
418
|
+
body: _response.error.body,
|
|
419
|
+
rawResponse: _response.rawResponse,
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/pickup-timeslots");
|
|
423
|
+
});
|
|
424
|
+
}
|
|
383
425
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { FavoriteBusinessesRequest } from "./FavoriteBusinessesRequest.mjs";
|
|
2
|
+
export type { GetPickupTimeslotsBusinessesRequest } from "./GetPickupTimeslotsBusinessesRequest.mjs";
|
|
2
3
|
export type { ListTemporaryLocationsBusinessesRequest } from "./ListTemporaryLocationsBusinessesRequest.mjs";
|
|
3
4
|
export type { MenusBusinessesRequest } from "./MenusBusinessesRequest.mjs";
|
|
4
5
|
export type { PhotosBusinessesRequest } from "./PhotosBusinessesRequest.mjs";
|
package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ export interface CheckoutRequest {
|
|
|
17
17
|
business: string;
|
|
18
18
|
payment_intent_id: string;
|
|
19
19
|
fulfillment_method?: CheckoutRequest.FulfillmentMethod | null;
|
|
20
|
-
pickup_date?:
|
|
20
|
+
pickup_date?: string | null;
|
|
21
21
|
pickup_time?: string | null;
|
|
22
22
|
billing_address: CheckoutRequest.BillingAddress;
|
|
23
23
|
shipping_address?: CheckoutRequest.ShippingAddress;
|
|
@@ -28,11 +28,6 @@ export declare namespace CheckoutRequest {
|
|
|
28
28
|
readonly Pickup: "pickup";
|
|
29
29
|
};
|
|
30
30
|
type FulfillmentMethod = (typeof FulfillmentMethod)[keyof typeof FulfillmentMethod];
|
|
31
|
-
const PickupDate: {
|
|
32
|
-
readonly Today: "today";
|
|
33
|
-
readonly Tomorrow: "tomorrow";
|
|
34
|
-
};
|
|
35
|
-
type PickupDate = (typeof PickupDate)[keyof typeof PickupDate];
|
|
36
31
|
interface BillingAddress {
|
|
37
32
|
line1: string;
|
|
38
33
|
city: string;
|
|
@@ -15,7 +15,7 @@ export interface CreatePaymentIntentRequest {
|
|
|
15
15
|
/** The business handle */
|
|
16
16
|
business: string;
|
|
17
17
|
fulfillment_method?: CreatePaymentIntentRequest.FulfillmentMethod | null;
|
|
18
|
-
pickup_date?:
|
|
18
|
+
pickup_date?: string | null;
|
|
19
19
|
pickup_time?: string | null;
|
|
20
20
|
payment_method_id?: string | null;
|
|
21
21
|
billing_address: CreatePaymentIntentRequest.BillingAddress;
|
|
@@ -27,11 +27,6 @@ export declare namespace CreatePaymentIntentRequest {
|
|
|
27
27
|
readonly Pickup: "pickup";
|
|
28
28
|
};
|
|
29
29
|
type FulfillmentMethod = (typeof FulfillmentMethod)[keyof typeof FulfillmentMethod];
|
|
30
|
-
const PickupDate: {
|
|
31
|
-
readonly Today: "today";
|
|
32
|
-
readonly Tomorrow: "tomorrow";
|
|
33
|
-
};
|
|
34
|
-
type PickupDate = (typeof PickupDate)[keyof typeof PickupDate];
|
|
35
30
|
interface BillingAddress {
|
|
36
31
|
line1: string;
|
|
37
32
|
city: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
|
+
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
13
|
+
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import * as environments from "../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
17
|
+
import * as FiveOneEat from "../../../index.mjs";
|
|
18
|
+
export class GetPickupTimeslotsClient {
|
|
19
|
+
constructor(options = {}) {
|
|
20
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
|
|
24
|
+
* @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
|
+
*
|
|
26
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
27
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
31
|
+
* handle: "handle",
|
|
32
|
+
* date: "2023-01-15"
|
|
33
|
+
* })
|
|
34
|
+
*/
|
|
35
|
+
businessesGetPickupTimeslots(request, requestOptions) {
|
|
36
|
+
return core.HttpResponsePromise.fromPromise(this.__businessesGetPickupTimeslots(request, requestOptions));
|
|
37
|
+
}
|
|
38
|
+
__businessesGetPickupTimeslots(request, requestOptions) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
41
|
+
const { handle, date } = request;
|
|
42
|
+
const _queryParams = {
|
|
43
|
+
date,
|
|
44
|
+
};
|
|
45
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
46
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
47
|
+
const _response = yield core.fetcher({
|
|
48
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/pickup-timeslots`),
|
|
49
|
+
method: "GET",
|
|
50
|
+
headers: _headers,
|
|
51
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
52
|
+
queryString: core.url
|
|
53
|
+
.queryBuilder()
|
|
54
|
+
.addMany(_queryParams)
|
|
55
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
56
|
+
.build(),
|
|
57
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
58
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
59
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
60
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
61
|
+
logging: this._options.logging,
|
|
62
|
+
});
|
|
63
|
+
if (_response.ok) {
|
|
64
|
+
return {
|
|
65
|
+
data: _response.body,
|
|
66
|
+
rawResponse: _response.rawResponse,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
if (_response.error.reason === "status-code") {
|
|
70
|
+
switch (_response.error.statusCode) {
|
|
71
|
+
case 401:
|
|
72
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
73
|
+
case 422:
|
|
74
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
75
|
+
default:
|
|
76
|
+
throw new errors.FiveOneEatError({
|
|
77
|
+
statusCode: _response.error.statusCode,
|
|
78
|
+
body: _response.error.body,
|
|
79
|
+
rawResponse: _response.rawResponse,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/pickup-timeslots");
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
|
|
@@ -19,6 +19,9 @@ export * from "./customerMessaging/types/index.mjs";
|
|
|
19
19
|
export * from "./customerMyAccount/client/requests/index.mjs";
|
|
20
20
|
export * as customerMyAccount from "./customerMyAccount/index.mjs";
|
|
21
21
|
export * from "./customerMyAccount/types/index.mjs";
|
|
22
|
+
export * from "./getPickupTimeslots/client/requests/index.mjs";
|
|
23
|
+
export * as getPickupTimeslots from "./getPickupTimeslots/index.mjs";
|
|
24
|
+
export * from "./getPickupTimeslots/types/index.mjs";
|
|
22
25
|
export * from "./recordClick/client/requests/index.mjs";
|
|
23
26
|
export * as recordClick from "./recordClick/index.mjs";
|
|
24
27
|
export * from "./serveAd/client/requests/index.mjs";
|
|
@@ -19,6 +19,9 @@ export * from "./customerMessaging/types/index.mjs";
|
|
|
19
19
|
export * from "./customerMyAccount/client/requests/index.mjs";
|
|
20
20
|
export * as customerMyAccount from "./customerMyAccount/index.mjs";
|
|
21
21
|
export * from "./customerMyAccount/types/index.mjs";
|
|
22
|
+
export * from "./getPickupTimeslots/client/requests/index.mjs";
|
|
23
|
+
export * as getPickupTimeslots from "./getPickupTimeslots/index.mjs";
|
|
24
|
+
export * from "./getPickupTimeslots/types/index.mjs";
|
|
22
25
|
export * from "./recordClick/client/requests/index.mjs";
|
|
23
26
|
export * as recordClick from "./recordClick/index.mjs";
|
|
24
27
|
export * from "./serveAd/client/requests/index.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.55";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.55";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -99,6 +99,17 @@
|
|
|
99
99
|
},
|
|
100
100
|
"default": "./dist/cjs/api/resources/customer/exports.js"
|
|
101
101
|
},
|
|
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
|
+
},
|
|
102
113
|
"./recordClick": {
|
|
103
114
|
"import": {
|
|
104
115
|
"types": "./dist/esm/api/resources/recordClick/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -977,6 +977,59 @@ await client.customer.search({
|
|
|
977
977
|
</dl>
|
|
978
978
|
|
|
979
979
|
|
|
980
|
+
</dd>
|
|
981
|
+
</dl>
|
|
982
|
+
</details>
|
|
983
|
+
|
|
984
|
+
## GetPickupTimeslots
|
|
985
|
+
<details><summary><code>client.getPickupTimeslots.<a href="/src/api/resources/getPickupTimeslots/client/Client.ts">businessesGetPickupTimeslots</a>({ ...params }) -> FiveOneEat.BusinessesGetPickupTimeslotsResponse</code></summary>
|
|
986
|
+
<dl>
|
|
987
|
+
<dd>
|
|
988
|
+
|
|
989
|
+
#### 🔌 Usage
|
|
990
|
+
|
|
991
|
+
<dl>
|
|
992
|
+
<dd>
|
|
993
|
+
|
|
994
|
+
<dl>
|
|
995
|
+
<dd>
|
|
996
|
+
|
|
997
|
+
```typescript
|
|
998
|
+
await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
999
|
+
handle: "handle",
|
|
1000
|
+
date: "2023-01-15"
|
|
1001
|
+
});
|
|
1002
|
+
|
|
1003
|
+
```
|
|
1004
|
+
</dd>
|
|
1005
|
+
</dl>
|
|
1006
|
+
</dd>
|
|
1007
|
+
</dl>
|
|
1008
|
+
|
|
1009
|
+
#### ⚙️ Parameters
|
|
1010
|
+
|
|
1011
|
+
<dl>
|
|
1012
|
+
<dd>
|
|
1013
|
+
|
|
1014
|
+
<dl>
|
|
1015
|
+
<dd>
|
|
1016
|
+
|
|
1017
|
+
**request:** `FiveOneEat.BusinessesGetPickupTimeslotsRequest`
|
|
1018
|
+
|
|
1019
|
+
</dd>
|
|
1020
|
+
</dl>
|
|
1021
|
+
|
|
1022
|
+
<dl>
|
|
1023
|
+
<dd>
|
|
1024
|
+
|
|
1025
|
+
**requestOptions:** `GetPickupTimeslotsClient.RequestOptions`
|
|
1026
|
+
|
|
1027
|
+
</dd>
|
|
1028
|
+
</dl>
|
|
1029
|
+
</dd>
|
|
1030
|
+
</dl>
|
|
1031
|
+
|
|
1032
|
+
|
|
980
1033
|
</dd>
|
|
981
1034
|
</dl>
|
|
982
1035
|
</details>
|
|
@@ -9747,6 +9800,57 @@ await client.customer.businesses.listTemporaryLocations({
|
|
|
9747
9800
|
</dl>
|
|
9748
9801
|
|
|
9749
9802
|
|
|
9803
|
+
</dd>
|
|
9804
|
+
</dl>
|
|
9805
|
+
</details>
|
|
9806
|
+
|
|
9807
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">getPickupTimeslots</a>({ ...params }) -> void</code></summary>
|
|
9808
|
+
<dl>
|
|
9809
|
+
<dd>
|
|
9810
|
+
|
|
9811
|
+
#### 🔌 Usage
|
|
9812
|
+
|
|
9813
|
+
<dl>
|
|
9814
|
+
<dd>
|
|
9815
|
+
|
|
9816
|
+
<dl>
|
|
9817
|
+
<dd>
|
|
9818
|
+
|
|
9819
|
+
```typescript
|
|
9820
|
+
await client.customer.businesses.getPickupTimeslots({
|
|
9821
|
+
business: "business"
|
|
9822
|
+
});
|
|
9823
|
+
|
|
9824
|
+
```
|
|
9825
|
+
</dd>
|
|
9826
|
+
</dl>
|
|
9827
|
+
</dd>
|
|
9828
|
+
</dl>
|
|
9829
|
+
|
|
9830
|
+
#### ⚙️ Parameters
|
|
9831
|
+
|
|
9832
|
+
<dl>
|
|
9833
|
+
<dd>
|
|
9834
|
+
|
|
9835
|
+
<dl>
|
|
9836
|
+
<dd>
|
|
9837
|
+
|
|
9838
|
+
**request:** `FiveOneEat.customer.GetPickupTimeslotsBusinessesRequest`
|
|
9839
|
+
|
|
9840
|
+
</dd>
|
|
9841
|
+
</dl>
|
|
9842
|
+
|
|
9843
|
+
<dl>
|
|
9844
|
+
<dd>
|
|
9845
|
+
|
|
9846
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
9847
|
+
|
|
9848
|
+
</dd>
|
|
9849
|
+
</dl>
|
|
9850
|
+
</dd>
|
|
9851
|
+
</dl>
|
|
9852
|
+
|
|
9853
|
+
|
|
9750
9854
|
</dd>
|
|
9751
9855
|
</dl>
|
|
9752
9856
|
</details>
|