@nimee/shared-types 1.0.263 → 1.0.264

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.
@@ -95,6 +95,9 @@ export interface IEndUserSeasonTicketModel {
95
95
  externalPaymentMethodId?: string;
96
96
  externalPriceId?: string;
97
97
  stripeSubscriptionId?: string;
98
+ errorCode?: string;
99
+ errorMessage?: string;
100
+ errorTimestamp?: Date;
98
101
  }
99
102
  export declare enum ISeasonTicketStatusType {
100
103
  ACTIVE = "active",// the season ticket is active
@@ -1 +1 @@
1
- {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AA6EA,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,wEAA6C,CAAA;IAC7C,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;IAC/C,0EAA+C,CAAA;AACjD,CAAC,EAXW,uBAAuB,uCAAvB,uBAAuB,QAWlC"}
1
+ {"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AAiFA,IAAY,uBAWX;AAXD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,wEAA6C,CAAA;IAC7C,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;IAC/C,0EAA+C,CAAA;AACjD,CAAC,EAXW,uBAAuB,uCAAvB,uBAAuB,QAWlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.263",
3
+ "version": "1.0.264",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -74,6 +74,10 @@ export interface IEndUserSeasonTicketModel {
74
74
  externalPriceId?: string; // Stripe: price_xxx - the price ID used for this subscription
75
75
  // Stripe-specific fields
76
76
  stripeSubscriptionId?: string;
77
+ // Error tracking fields for failed subscription creation
78
+ errorCode?: string;
79
+ errorMessage?: string;
80
+ errorTimestamp?: Date;
77
81
  }
78
82
  export enum ISeasonTicketStatusType {
79
83
  ACTIVE = "active", // the season ticket is active