@nimee/shared-types 1.0.263 → 1.0.265
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/event/event.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare enum IEventSegmentsBehaviorType {
|
|
|
70
70
|
export interface IEventSegmentsBehavior {
|
|
71
71
|
segments: string[];
|
|
72
72
|
behavior: IEventSegmentsBehaviorType;
|
|
73
|
+
approveIfAnyInSegment?: boolean;
|
|
73
74
|
}
|
|
74
75
|
export declare enum IEventTypeEnum {
|
|
75
76
|
TRANCE_PARTY = "trance-party",
|
package/dist/event/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AA2CA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6DAA+B,CAAA;IAC/B,iEAAmC,CAAA;AACrC,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AA2CA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6DAA+B,CAAA;IAC/B,iEAAmC,CAAA;AACrC,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC;AAQD,IAAY,cAaX;AAbD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,iCAAe,CAAA;AACjB,CAAC,EAbW,cAAc,8BAAd,cAAc,QAazB"}
|
|
@@ -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":";;;
|
|
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
package/src/event/event.ts
CHANGED
|
@@ -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
|