@51eat/sdk 0.0.53 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/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/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- 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/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
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.54",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.54",
|
|
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);
|
|
@@ -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 = {}));
|
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.54";
|
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.54",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.54",
|
|
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/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;
|
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.54";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.54";
|