@nimee/shared-types 1.0.305 → 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 +6 -0
- package/dist/event/event.js +8 -1
- package/dist/event/event.js.map +1 -1
- package/package.json +1 -1
- package/src/event/event.ts +8 -0
package/dist/event/event.d.ts
CHANGED
|
@@ -86,6 +86,11 @@ export declare enum IEventTypeEnum {
|
|
|
86
86
|
WELLNESS = "wellness",
|
|
87
87
|
MUSIC = "music"
|
|
88
88
|
}
|
|
89
|
+
export declare enum IOtpGateMode {
|
|
90
|
+
OFF = "off",
|
|
91
|
+
SUGGESTED = "suggested",
|
|
92
|
+
REQUIRED = "required"
|
|
93
|
+
}
|
|
89
94
|
export interface IEventModel {
|
|
90
95
|
start_hour?: Date;
|
|
91
96
|
end_hour?: Date;
|
|
@@ -128,6 +133,7 @@ export interface IEventModel {
|
|
|
128
133
|
seatsEventKey?: string;
|
|
129
134
|
isSeatsEvent?: boolean;
|
|
130
135
|
isOnlyForMembers?: boolean;
|
|
136
|
+
otpGateMode?: IOtpGateMode;
|
|
131
137
|
isWellnessEvent?: boolean;
|
|
132
138
|
trainer?: string;
|
|
133
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.IEventTypeEnum = exports.IEventSegmentsBehaviorType = void 0;
|
|
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,4 +21,11 @@ var IEventTypeEnum;
|
|
|
21
21
|
IEventTypeEnum["WELLNESS"] = "wellness";
|
|
22
22
|
IEventTypeEnum["MUSIC"] = "music";
|
|
23
23
|
})(IEventTypeEnum || (exports.IEventTypeEnum = IEventTypeEnum = {}));
|
|
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 = {}));
|
|
24
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"}
|
|
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,6 +67,13 @@ export enum IEventTypeEnum {
|
|
|
67
67
|
MUSIC = "music",
|
|
68
68
|
}
|
|
69
69
|
|
|
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",
|
|
75
|
+
}
|
|
76
|
+
|
|
70
77
|
export interface IEventModel {
|
|
71
78
|
start_hour?: Date;
|
|
72
79
|
end_hour?: Date;
|
|
@@ -106,6 +113,7 @@ export interface IEventModel {
|
|
|
106
113
|
seatsEventKey?: string;
|
|
107
114
|
isSeatsEvent?: boolean;
|
|
108
115
|
isOnlyForMembers?: boolean;
|
|
116
|
+
otpGateMode?: IOtpGateMode;
|
|
109
117
|
isWellnessEvent?: boolean;
|
|
110
118
|
trainer?: string;
|
|
111
119
|
is_manual_approve_buyer?: boolean;
|