order3000 0.14.0 → 0.14.2
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/client.d.cts +8 -0
- package/dist/client.d.mts +8 -0
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -577,6 +577,8 @@ interface EventByAccessor {
|
|
|
577
577
|
schedule?: ScheduleWithTimeSlots;
|
|
578
578
|
menus?: EventMenu[];
|
|
579
579
|
posters?: EventPoster[];
|
|
580
|
+
/** Next occurrence date for recurring events (YYYY-MM-DD format) */
|
|
581
|
+
nextOccurrence?: string | null;
|
|
580
582
|
}
|
|
581
583
|
interface GetEventOptions {
|
|
582
584
|
/** Expand related resources (schedule, timeSlots, menus, posters) */
|
|
@@ -665,6 +667,10 @@ interface CreatePaymentIntentRequest {
|
|
|
665
667
|
fulfillmentType?: OrderFulfillmentType;
|
|
666
668
|
/** When the order should be fulfilled (ISO 8601 datetime string or Date object) */
|
|
667
669
|
fulfillmentAt: Date | string;
|
|
670
|
+
/** Customer first name (for Stripe metadata and customer record) */
|
|
671
|
+
customerFirstName?: string;
|
|
672
|
+
/** Customer last name (for Stripe metadata and customer record) */
|
|
673
|
+
customerLastName?: string;
|
|
668
674
|
}
|
|
669
675
|
interface CreatePaymentIntentResponse {
|
|
670
676
|
clientSecret: string;
|
|
@@ -678,6 +684,8 @@ interface ConfirmOrderResponse {
|
|
|
678
684
|
id: string;
|
|
679
685
|
status: string;
|
|
680
686
|
publicId: string | null;
|
|
687
|
+
/** Customer ID for the order (for client-side tracking) */
|
|
688
|
+
customerId?: string;
|
|
681
689
|
}
|
|
682
690
|
type SubscriptionPeriod = 'week' | 'month' | 'year';
|
|
683
691
|
type SubscriberStatus = 'active' | 'paused' | 'cancelled' | 'past_due' | 'trialing';
|
package/dist/client.d.mts
CHANGED
|
@@ -577,6 +577,8 @@ interface EventByAccessor {
|
|
|
577
577
|
schedule?: ScheduleWithTimeSlots;
|
|
578
578
|
menus?: EventMenu[];
|
|
579
579
|
posters?: EventPoster[];
|
|
580
|
+
/** Next occurrence date for recurring events (YYYY-MM-DD format) */
|
|
581
|
+
nextOccurrence?: string | null;
|
|
580
582
|
}
|
|
581
583
|
interface GetEventOptions {
|
|
582
584
|
/** Expand related resources (schedule, timeSlots, menus, posters) */
|
|
@@ -665,6 +667,10 @@ interface CreatePaymentIntentRequest {
|
|
|
665
667
|
fulfillmentType?: OrderFulfillmentType;
|
|
666
668
|
/** When the order should be fulfilled (ISO 8601 datetime string or Date object) */
|
|
667
669
|
fulfillmentAt: Date | string;
|
|
670
|
+
/** Customer first name (for Stripe metadata and customer record) */
|
|
671
|
+
customerFirstName?: string;
|
|
672
|
+
/** Customer last name (for Stripe metadata and customer record) */
|
|
673
|
+
customerLastName?: string;
|
|
668
674
|
}
|
|
669
675
|
interface CreatePaymentIntentResponse {
|
|
670
676
|
clientSecret: string;
|
|
@@ -678,6 +684,8 @@ interface ConfirmOrderResponse {
|
|
|
678
684
|
id: string;
|
|
679
685
|
status: string;
|
|
680
686
|
publicId: string | null;
|
|
687
|
+
/** Customer ID for the order (for client-side tracking) */
|
|
688
|
+
customerId?: string;
|
|
681
689
|
}
|
|
682
690
|
type SubscriptionPeriod = 'week' | 'month' | 'year';
|
|
683
691
|
type SubscriberStatus = 'active' | 'paused' | 'cancelled' | 'past_due' | 'trialing';
|