@nimee/shared-types 1.0.125 → 1.0.126
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 +2 -5
- package/dist/event/event.js +1 -6
- package/dist/event/event.js.map +1 -1
- package/dist/event/specialTickets.d.ts +12 -0
- package/dist/event/specialTickets.js +3 -0
- package/dist/event/specialTickets.js.map +1 -0
- package/dist/payment/endUserSeasonTicket.d.ts +4 -0
- package/dist/payment/endUserSeasonTicket.js.map +1 -1
- package/package.json +1 -1
- package/src/event/event.ts +2 -5
- package/src/payment/endUserSeasonTicket.ts +4 -0
package/dist/event/event.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IAccountModel, IRoleTypeEnum } from "../account";
|
|
2
2
|
import { IFeeCollectionType } from "../payment";
|
|
3
|
+
import { IPaymentCouponTypeEnum } from "../payment/coupon";
|
|
3
4
|
export interface IEventLinkModel {
|
|
4
5
|
name: string;
|
|
5
6
|
description: string;
|
|
@@ -9,14 +10,10 @@ export interface IEventLinkModel {
|
|
|
9
10
|
tickets: string[];
|
|
10
11
|
}
|
|
11
12
|
export interface ISeasonTicketEventDiscount {
|
|
12
|
-
discountType:
|
|
13
|
+
discountType: IPaymentCouponTypeEnum;
|
|
13
14
|
discountValue: number;
|
|
14
15
|
seasonTicket: string;
|
|
15
16
|
}
|
|
16
|
-
export declare enum ISeasonTicketEventDiscountTypeEnum {
|
|
17
|
-
percentage = "percentage",
|
|
18
|
-
fixed = "fixed"
|
|
19
|
-
}
|
|
20
17
|
export declare enum IEventTypeEnum {
|
|
21
18
|
TRANCE_PARTY = "trance-party",
|
|
22
19
|
TECHNO_PARTY = "techno-party",
|
package/dist/event/event.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IEventTypeEnum =
|
|
4
|
-
var ISeasonTicketEventDiscountTypeEnum;
|
|
5
|
-
(function (ISeasonTicketEventDiscountTypeEnum) {
|
|
6
|
-
ISeasonTicketEventDiscountTypeEnum["percentage"] = "percentage";
|
|
7
|
-
ISeasonTicketEventDiscountTypeEnum["fixed"] = "fixed";
|
|
8
|
-
})(ISeasonTicketEventDiscountTypeEnum || (exports.ISeasonTicketEventDiscountTypeEnum = ISeasonTicketEventDiscountTypeEnum = {}));
|
|
3
|
+
exports.IEventTypeEnum = void 0;
|
|
9
4
|
var IEventTypeEnum;
|
|
10
5
|
(function (IEventTypeEnum) {
|
|
11
6
|
IEventTypeEnum["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":";;;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AAgBA,IAAY,cAWX;AAXD,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;AACjB,CAAC,EAXW,cAAc,8BAAd,cAAc,QAWzB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ITicketInfoModel } from "../userEvent";
|
|
2
|
+
export interface ISpecialTickets {
|
|
3
|
+
lName: string;
|
|
4
|
+
fName: String;
|
|
5
|
+
ticketsInfo: [ITicketInfoModel];
|
|
6
|
+
eventName: string;
|
|
7
|
+
startDate: Date;
|
|
8
|
+
startHour: Date;
|
|
9
|
+
email: string;
|
|
10
|
+
phone: string;
|
|
11
|
+
accountName: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"specialTickets.js","sourceRoot":"","sources":["../../src/event/specialTickets.ts"],"names":[],"mappings":""}
|
|
@@ -53,6 +53,10 @@ export interface IEndUserSeasonTicketModel {
|
|
|
53
53
|
buyer_name?: string;
|
|
54
54
|
buyer_email?: string;
|
|
55
55
|
buyer_social_id?: string;
|
|
56
|
+
memberBringFriendCreatedCoupons?: Array<{
|
|
57
|
+
couponId: string;
|
|
58
|
+
date: Date;
|
|
59
|
+
}>;
|
|
56
60
|
}
|
|
57
61
|
export declare enum ISeasonTicketStatusType {
|
|
58
62
|
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":";;;AAsDA,IAAY,uBASX;AATD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;AACjD,CAAC,EATW,uBAAuB,uCAAvB,uBAAuB,QASlC"}
|
package/package.json
CHANGED
package/src/event/event.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IAccountModel, IRoleTypeEnum } from "../account";
|
|
2
2
|
import { IFeeCollectionType } from "../payment";
|
|
3
|
+
import { IPaymentCouponTypeEnum } from "../payment/coupon";
|
|
3
4
|
export interface IEventLinkModel {
|
|
4
5
|
name: string;
|
|
5
6
|
description: string;
|
|
@@ -9,14 +10,10 @@ export interface IEventLinkModel {
|
|
|
9
10
|
tickets: string[];
|
|
10
11
|
}
|
|
11
12
|
export interface ISeasonTicketEventDiscount {
|
|
12
|
-
discountType:
|
|
13
|
+
discountType: IPaymentCouponTypeEnum;
|
|
13
14
|
discountValue: number;
|
|
14
15
|
seasonTicket: string;
|
|
15
16
|
}
|
|
16
|
-
export enum ISeasonTicketEventDiscountTypeEnum {
|
|
17
|
-
percentage = "percentage",
|
|
18
|
-
fixed = "fixed",
|
|
19
|
-
}
|
|
20
17
|
export enum IEventTypeEnum {
|
|
21
18
|
TRANCE_PARTY = "trance-party",
|
|
22
19
|
TECHNO_PARTY = "techno-party",
|
|
@@ -47,6 +47,10 @@ export interface IEndUserSeasonTicketModel {
|
|
|
47
47
|
buyer_name?: string;
|
|
48
48
|
buyer_email?: string;
|
|
49
49
|
buyer_social_id?: string;
|
|
50
|
+
memberBringFriendCreatedCoupons?: Array<{
|
|
51
|
+
couponId: string;
|
|
52
|
+
date: Date;
|
|
53
|
+
}>;
|
|
50
54
|
}
|
|
51
55
|
export enum ISeasonTicketStatusType {
|
|
52
56
|
ACTIVE = "active", // the season ticket is active
|