@nimee/shared-types 1.0.306 → 1.0.307
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
|
@@ -86,10 +86,10 @@ export declare enum IEventTypeEnum {
|
|
|
86
86
|
WELLNESS = "wellness",
|
|
87
87
|
MUSIC = "music"
|
|
88
88
|
}
|
|
89
|
-
export declare enum
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
export declare enum IOtpGateMode {
|
|
90
|
+
OFF = "off",
|
|
91
|
+
SUGGESTED = "suggested",
|
|
92
|
+
REQUIRED = "required"
|
|
93
93
|
}
|
|
94
94
|
export interface IEventModel {
|
|
95
95
|
start_hour?: Date;
|
|
@@ -133,7 +133,7 @@ export interface IEventModel {
|
|
|
133
133
|
seatsEventKey?: string;
|
|
134
134
|
isSeatsEvent?: boolean;
|
|
135
135
|
isOnlyForMembers?: boolean;
|
|
136
|
-
otpGateMode?:
|
|
136
|
+
otpGateMode?: IOtpGateMode;
|
|
137
137
|
isWellnessEvent?: boolean;
|
|
138
138
|
trainer?: string;
|
|
139
139
|
is_manual_approve_buyer?: boolean;
|
package/dist/event/event.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.IOtpGateMode = exports.IEventTypeEnum = exports.IEventSegmentsBehaviorType = void 0;
|
|
4
4
|
var IEventSegmentsBehaviorType;
|
|
5
5
|
(function (IEventSegmentsBehaviorType) {
|
|
6
6
|
IEventSegmentsBehaviorType["AUTO_APPROVED"] = "auto_approved";
|
|
@@ -21,10 +21,11 @@ var IEventTypeEnum;
|
|
|
21
21
|
IEventTypeEnum["WELLNESS"] = "wellness";
|
|
22
22
|
IEventTypeEnum["MUSIC"] = "music";
|
|
23
23
|
})(IEventTypeEnum || (exports.IEventTypeEnum = IEventTypeEnum = {}));
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
// Per-event phone-OTP gate on the public event page (issue #762).
|
|
25
|
+
var IOtpGateMode;
|
|
26
|
+
(function (IOtpGateMode) {
|
|
27
|
+
IOtpGateMode["OFF"] = "off";
|
|
28
|
+
IOtpGateMode["SUGGESTED"] = "suggested";
|
|
29
|
+
IOtpGateMode["REQUIRED"] = "required";
|
|
30
|
+
})(IOtpGateMode || (exports.IOtpGateMode = IOtpGateMode = {}));
|
|
30
31
|
//# sourceMappingURL=event.js.map
|
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;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;AAED,IAAY,
|
|
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;AAED,kEAAkE;AAClE,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,2BAAW,CAAA;IACX,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
package/package.json
CHANGED
package/src/event/event.ts
CHANGED
|
@@ -67,10 +67,11 @@ export enum IEventTypeEnum {
|
|
|
67
67
|
MUSIC = "music",
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
// Per-event phone-OTP gate on the public event page (issue #762).
|
|
71
|
+
export enum IOtpGateMode {
|
|
72
|
+
OFF = "off",
|
|
73
|
+
SUGGESTED = "suggested",
|
|
74
|
+
REQUIRED = "required",
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
export interface IEventModel {
|
|
@@ -112,7 +113,7 @@ export interface IEventModel {
|
|
|
112
113
|
seatsEventKey?: string;
|
|
113
114
|
isSeatsEvent?: boolean;
|
|
114
115
|
isOnlyForMembers?: boolean;
|
|
115
|
-
otpGateMode?:
|
|
116
|
+
otpGateMode?: IOtpGateMode;
|
|
116
117
|
isWellnessEvent?: boolean;
|
|
117
118
|
trainer?: string;
|
|
118
119
|
is_manual_approve_buyer?: boolean;
|