@51eat/sdk 0.0.49 → 0.0.50
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/events/resources/ticketing/client/Client.d.ts +8 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +8 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts +18 -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/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +8 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +8 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts +18 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +8 -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.50",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.50",
|
|
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/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts
CHANGED
|
@@ -64,7 +64,14 @@ export declare class TicketingClient {
|
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* await client.customer.events.ticketing.createPaymentIntent({
|
|
67
|
-
* eventId: "eventId"
|
|
67
|
+
* eventId: "eventId",
|
|
68
|
+
* billing_address: {
|
|
69
|
+
* line1: "line1",
|
|
70
|
+
* city: "city",
|
|
71
|
+
* state: "state",
|
|
72
|
+
* postal_code: "postal_code",
|
|
73
|
+
* country: "country"
|
|
74
|
+
* }
|
|
68
75
|
* })
|
|
69
76
|
*/
|
|
70
77
|
createPaymentIntent(request: FiveOneEat.customer.events.AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest, requestOptions?: TicketingClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.events.CreatePaymentIntentTicketingResponse>;
|
package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js
CHANGED
|
@@ -212,7 +212,14 @@ class TicketingClient {
|
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
214
|
* await client.customer.events.ticketing.createPaymentIntent({
|
|
215
|
-
* eventId: "eventId"
|
|
215
|
+
* eventId: "eventId",
|
|
216
|
+
* billing_address: {
|
|
217
|
+
* line1: "line1",
|
|
218
|
+
* city: "city",
|
|
219
|
+
* state: "state",
|
|
220
|
+
* postal_code: "postal_code",
|
|
221
|
+
* country: "country"
|
|
222
|
+
* }
|
|
216
223
|
* })
|
|
217
224
|
*/
|
|
218
225
|
createPaymentIntent(request, requestOptions) {
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* eventId: "eventId"
|
|
4
|
+
* eventId: "eventId",
|
|
5
|
+
* billing_address: {
|
|
6
|
+
* line1: "line1",
|
|
7
|
+
* city: "city",
|
|
8
|
+
* state: "state",
|
|
9
|
+
* postal_code: "postal_code",
|
|
10
|
+
* country: "country"
|
|
11
|
+
* }
|
|
5
12
|
* }
|
|
6
13
|
*/
|
|
7
14
|
export interface AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest {
|
|
8
15
|
eventId: string;
|
|
9
16
|
payment_method_id?: string | null;
|
|
17
|
+
billing_address: AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.BillingAddress;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest {
|
|
20
|
+
interface BillingAddress {
|
|
21
|
+
line1: string;
|
|
22
|
+
city: string;
|
|
23
|
+
state: string;
|
|
24
|
+
postal_code: string;
|
|
25
|
+
country: string;
|
|
26
|
+
}
|
|
10
27
|
}
|
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.50";
|
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.50",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.50",
|
|
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/events/resources/ticketing/client/Client.d.mts
CHANGED
|
@@ -64,7 +64,14 @@ export declare class TicketingClient {
|
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* await client.customer.events.ticketing.createPaymentIntent({
|
|
67
|
-
* eventId: "eventId"
|
|
67
|
+
* eventId: "eventId",
|
|
68
|
+
* billing_address: {
|
|
69
|
+
* line1: "line1",
|
|
70
|
+
* city: "city",
|
|
71
|
+
* state: "state",
|
|
72
|
+
* postal_code: "postal_code",
|
|
73
|
+
* country: "country"
|
|
74
|
+
* }
|
|
68
75
|
* })
|
|
69
76
|
*/
|
|
70
77
|
createPaymentIntent(request: FiveOneEat.customer.events.AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest, requestOptions?: TicketingClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.events.CreatePaymentIntentTicketingResponse>;
|
package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs
CHANGED
|
@@ -176,7 +176,14 @@ export class TicketingClient {
|
|
|
176
176
|
*
|
|
177
177
|
* @example
|
|
178
178
|
* await client.customer.events.ticketing.createPaymentIntent({
|
|
179
|
-
* eventId: "eventId"
|
|
179
|
+
* eventId: "eventId",
|
|
180
|
+
* billing_address: {
|
|
181
|
+
* line1: "line1",
|
|
182
|
+
* city: "city",
|
|
183
|
+
* state: "state",
|
|
184
|
+
* postal_code: "postal_code",
|
|
185
|
+
* country: "country"
|
|
186
|
+
* }
|
|
180
187
|
* })
|
|
181
188
|
*/
|
|
182
189
|
createPaymentIntent(request, requestOptions) {
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* eventId: "eventId"
|
|
4
|
+
* eventId: "eventId",
|
|
5
|
+
* billing_address: {
|
|
6
|
+
* line1: "line1",
|
|
7
|
+
* city: "city",
|
|
8
|
+
* state: "state",
|
|
9
|
+
* postal_code: "postal_code",
|
|
10
|
+
* country: "country"
|
|
11
|
+
* }
|
|
5
12
|
* }
|
|
6
13
|
*/
|
|
7
14
|
export interface AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest {
|
|
8
15
|
eventId: string;
|
|
9
16
|
payment_method_id?: string | null;
|
|
17
|
+
billing_address: AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.BillingAddress;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest {
|
|
20
|
+
interface BillingAddress {
|
|
21
|
+
line1: string;
|
|
22
|
+
city: string;
|
|
23
|
+
state: string;
|
|
24
|
+
postal_code: string;
|
|
25
|
+
country: string;
|
|
26
|
+
}
|
|
10
27
|
}
|
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.50";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.50";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -11749,7 +11749,14 @@ Returns a client_secret for the mobile app to confirm payment with Stripe.
|
|
|
11749
11749
|
|
|
11750
11750
|
```typescript
|
|
11751
11751
|
await client.customer.events.ticketing.createPaymentIntent({
|
|
11752
|
-
eventId: "eventId"
|
|
11752
|
+
eventId: "eventId",
|
|
11753
|
+
billing_address: {
|
|
11754
|
+
line1: "line1",
|
|
11755
|
+
city: "city",
|
|
11756
|
+
state: "state",
|
|
11757
|
+
postal_code: "postal_code",
|
|
11758
|
+
country: "country"
|
|
11759
|
+
}
|
|
11753
11760
|
});
|
|
11754
11761
|
|
|
11755
11762
|
```
|