order3000 0.14.1 → 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 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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -33,8 +33,8 @@
33
33
  "tsx": "^4.19.2",
34
34
  "typescript": "^5.9.3",
35
35
  "@kolaveri/eslint-config": "1.4.2",
36
- "@kolaveri/tsconfig": "1.0.1",
37
- "@kolaveri/prettier-config": "1.0.6"
36
+ "@kolaveri/prettier-config": "1.0.6",
37
+ "@kolaveri/tsconfig": "1.0.1"
38
38
  },
39
39
  "files": [
40
40
  "dist"