@51eat/sdk 0.0.70 → 0.0.71
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/types/CreatePaymentIntentCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +19 -9
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +63 -28
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.ts +7 -1
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.js +10 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/index.js +2 -0
- package/dist/cjs/api/resources/customerStands/client/Client.d.ts +0 -32
- package/dist/cjs/api/resources/customerStands/client/Client.js +0 -119
- package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerStands/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerStands/types/index.js +0 -2
- 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/types/CreatePaymentIntentCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +19 -9
- package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +63 -28
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.mts +7 -1
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts +16 -0
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +2 -0
- package/dist/esm/api/resources/customerStands/client/Client.d.mts +0 -32
- package/dist/esm/api/resources/customerStands/client/Client.mjs +0 -119
- package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/customerStands/types/index.d.mts +0 -2
- package/dist/esm/api/resources/customerStands/types/index.mjs +0 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +10 -112
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerStandCheckoutRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.js +0 -3
- package/dist/cjs/api/resources/customerStands/types/CustomerStandCheckoutResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerStands/types/CustomerStandCheckoutResponse.js +0 -3
- package/dist/cjs/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.d.ts +0 -12
- package/dist/cjs/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.js +0 -10
- package/dist/esm/api/resources/customerStands/client/requests/CustomerStandCheckoutRequest.d.mts +0 -15
- package/dist/esm/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.mjs +0 -2
- package/dist/esm/api/resources/customerStands/types/CustomerStandCheckoutResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerStands/types/CustomerStandCheckoutResponse.mjs +0 -2
- package/dist/esm/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.d.mts +0 -12
- package/dist/esm/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.mjs +0 -7
- /package/dist/cjs/api/resources/{customerStands/client/requests/CustomerStandCheckoutRequest.js → customer/resources/stands/types/CheckoutStandsResponse.js} +0 -0
- /package/dist/esm/api/resources/{customerStands/client/requests/CustomerStandCheckoutRequest.mjs → customer/resources/stands/types/CheckoutStandsResponse.mjs} +0 -0
package/dist/esm/api/resources/customerStands/client/requests/CustomerStandCheckoutRequest.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type * as FiveOneEat from "../../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @example
|
|
4
|
-
* {
|
|
5
|
-
* stand: "stand",
|
|
6
|
-
* body: {
|
|
7
|
-
* payment_intent_id: "payment_intent_id"
|
|
8
|
-
* }
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface CustomerStandCheckoutRequest {
|
|
12
|
-
/** The stand ID */
|
|
13
|
-
stand: string;
|
|
14
|
-
body: FiveOneEat.CheckoutRequest;
|
|
15
|
-
}
|
package/dist/esm/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.d.mts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface CustomerStandPaymentIntentResponse {
|
|
2
|
-
client_secret: string;
|
|
3
|
-
payment_intent_id: string;
|
|
4
|
-
amount: number;
|
|
5
|
-
currency: CustomerStandPaymentIntentResponse.Currency;
|
|
6
|
-
}
|
|
7
|
-
export declare namespace CustomerStandPaymentIntentResponse {
|
|
8
|
-
const Currency: {
|
|
9
|
-
readonly Usd: "usd";
|
|
10
|
-
};
|
|
11
|
-
type Currency = (typeof Currency)[keyof typeof Currency];
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export var CustomerStandPaymentIntentResponse;
|
|
3
|
-
(function (CustomerStandPaymentIntentResponse) {
|
|
4
|
-
CustomerStandPaymentIntentResponse.Currency = {
|
|
5
|
-
Usd: "usd",
|
|
6
|
-
};
|
|
7
|
-
})(CustomerStandPaymentIntentResponse || (CustomerStandPaymentIntentResponse = {}));
|
|
File without changes
|