@sellout/models 0.0.5 → 0.0.6
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/interfaces/IAddress.d.ts +2 -2
- package/.dist/interfaces/IArtist.d.ts +2 -1
- package/.dist/interfaces/IEvent.d.ts +3 -3
- package/.dist/interfaces/IPerformance.d.ts +2 -2
- package/.dist/mongo/Address.d.ts +58 -0
- package/.dist/mongo/Address.js +60 -0
- package/.dist/mongo/Address.js.map +1 -0
- package/.dist/mongo/Metrics.d.ts +131 -0
- package/.dist/mongo/Metrics.js +137 -0
- package/.dist/mongo/Metrics.js.map +1 -0
- package/.dist/schemas/Artist.d.ts +1 -1
- package/.dist/schemas/Event.d.ts +3 -3
- package/.dist/schemas/Fee.d.ts +1 -1
- package/.dist/schemas/Order.d.ts +1 -1
- package/.dist/schemas/Organization.d.ts +1 -1
- package/.dist/schemas/Role.d.ts +1 -1
- package/.dist/schemas/Seating.d.ts +1 -1
- package/.dist/schemas/User.d.ts +1 -1
- package/.dist/schemas/UserProfile.d.ts +1 -1
- package/.dist/schemas/Venue.d.ts +1 -1
- package/.dist/schemas/WebFlow.d.ts +1 -1
- package/package.json +4 -4
- package/src/interfaces/IAddress.ts +2 -2
- package/src/interfaces/IArtist.ts +2 -1
- package/src/interfaces/IEvent.ts +3 -3
- package/src/interfaces/IPerformance.ts +2 -2
|
@@ -4,10 +4,11 @@ import IArtistPressKit from './IArtistPressKit';
|
|
|
4
4
|
import IArtistContact from './IArtistContact';
|
|
5
5
|
export default interface IArtist {
|
|
6
6
|
_id?: string;
|
|
7
|
+
orgId: string;
|
|
7
8
|
name: string;
|
|
8
9
|
genres: string[];
|
|
9
10
|
socialAccounts: ISocialAccountLink[];
|
|
10
11
|
pressKits: IArtistPressKit[];
|
|
11
12
|
contacts: IArtistContact[];
|
|
12
|
-
metrics
|
|
13
|
+
metrics?: IMetrics;
|
|
13
14
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import IAddress from "./IAddress";
|
|
2
|
-
import IMetrics from "./IMetrics";
|
|
3
1
|
import ITicketType from './ITicketType';
|
|
4
2
|
import IEventSchedule from './IEventSchedule';
|
|
5
3
|
import ITicketExchange from './ITicketExchange';
|
|
@@ -8,6 +6,8 @@ import ITicketHold from './ITicketHold';
|
|
|
8
6
|
import IPerformance from './IPerformance';
|
|
9
7
|
import IEventPromotion from './IEventPromotion';
|
|
10
8
|
import IEventCustomField from './IEventCustomField';
|
|
9
|
+
import IAddress from "./IAddress";
|
|
10
|
+
import IMetrics from "./IMetrics";
|
|
11
11
|
export declare enum EventTypeEnum {
|
|
12
12
|
Concert = "Concert",
|
|
13
13
|
BasicEvent = "Basic Event"
|
|
@@ -53,5 +53,5 @@ export default interface IEvent {
|
|
|
53
53
|
promotions?: IEventPromotion[];
|
|
54
54
|
customFields?: IEventCustomField[];
|
|
55
55
|
exchange?: ITicketExchange;
|
|
56
|
-
metrics
|
|
56
|
+
metrics?: IMetrics;
|
|
57
57
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
address1: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: boolean;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
address2: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: boolean;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
city: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
state: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
zip: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: boolean;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
country: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: boolean;
|
|
30
|
+
default: null;
|
|
31
|
+
};
|
|
32
|
+
phone: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: boolean;
|
|
35
|
+
default: null;
|
|
36
|
+
};
|
|
37
|
+
lat: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
required: boolean;
|
|
40
|
+
default: null;
|
|
41
|
+
};
|
|
42
|
+
lng: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
required: boolean;
|
|
45
|
+
default: null;
|
|
46
|
+
};
|
|
47
|
+
placeId: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: boolean;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
timezone: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: boolean;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
address1: {
|
|
5
|
+
type: String,
|
|
6
|
+
required: false,
|
|
7
|
+
default: null,
|
|
8
|
+
},
|
|
9
|
+
address2: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: false,
|
|
12
|
+
default: null,
|
|
13
|
+
},
|
|
14
|
+
city: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: false,
|
|
17
|
+
default: null,
|
|
18
|
+
},
|
|
19
|
+
state: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: false,
|
|
22
|
+
default: null,
|
|
23
|
+
},
|
|
24
|
+
zip: {
|
|
25
|
+
type: String,
|
|
26
|
+
required: false,
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
country: {
|
|
30
|
+
type: String,
|
|
31
|
+
required: false,
|
|
32
|
+
default: null
|
|
33
|
+
},
|
|
34
|
+
phone: {
|
|
35
|
+
type: String,
|
|
36
|
+
required: false,
|
|
37
|
+
default: null
|
|
38
|
+
},
|
|
39
|
+
lat: {
|
|
40
|
+
type: Number,
|
|
41
|
+
required: false,
|
|
42
|
+
default: null,
|
|
43
|
+
},
|
|
44
|
+
lng: {
|
|
45
|
+
type: Number,
|
|
46
|
+
required: false,
|
|
47
|
+
default: null
|
|
48
|
+
},
|
|
49
|
+
placeId: {
|
|
50
|
+
type: String,
|
|
51
|
+
required: false,
|
|
52
|
+
default: null,
|
|
53
|
+
},
|
|
54
|
+
timezone: {
|
|
55
|
+
type: String,
|
|
56
|
+
required: false,
|
|
57
|
+
default: null,
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=Address.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../src/mongo/Address.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;CACF,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
orgId: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: boolean;
|
|
5
|
+
};
|
|
6
|
+
createdAt: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
lifeTimeValue: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
required: boolean;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
yearToDateValue: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
required: boolean;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
lifeTimeValueRefunded: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
required: boolean;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
yearToDateValueRefunded: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
required: boolean;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
lifeTimeValueComped: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
required: boolean;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
yearToDateValueComped: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
required: boolean;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
lifeTimeTicketsPurchased: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: boolean;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
yearToDateTicketsPurchased: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
required: boolean;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
lifeTimeTicketsRefunded: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
required: boolean;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
yearToDateTicketsRefunded: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
required: boolean;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
lifeTimeTicketsComped: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
required: boolean;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
yearToDateTicketsComped: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
required: boolean;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
lifeTimeUpgradesPurchased: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
required: boolean;
|
|
73
|
+
default: number;
|
|
74
|
+
};
|
|
75
|
+
yearToDateUpgradesPurchased: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
required: boolean;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
lifeTimeUpgradesRefunded: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
required: boolean;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
yearToDateUpgradesRefunded: {
|
|
86
|
+
type: NumberConstructor;
|
|
87
|
+
required: boolean;
|
|
88
|
+
default: number;
|
|
89
|
+
};
|
|
90
|
+
lifeTimeUpgradesComped: {
|
|
91
|
+
type: NumberConstructor;
|
|
92
|
+
required: boolean;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
yearToDateUpgradesComped: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
required: boolean;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
lifeTimeOrdersPurchased: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
required: boolean;
|
|
103
|
+
default: number;
|
|
104
|
+
};
|
|
105
|
+
yearToDateOrdersPurchased: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
required: boolean;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
lifeTimeOrdersRefunded: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
required: boolean;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
yearToDateOrdersRefunded: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
required: boolean;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
lifeTimeOrdersComped: {
|
|
121
|
+
type: NumberConstructor;
|
|
122
|
+
required: boolean;
|
|
123
|
+
default: number;
|
|
124
|
+
};
|
|
125
|
+
yearToDateOrdersComped: {
|
|
126
|
+
type: NumberConstructor;
|
|
127
|
+
required: boolean;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export default _default;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
orgId: {
|
|
5
|
+
type: String,
|
|
6
|
+
required: false,
|
|
7
|
+
},
|
|
8
|
+
createdAt: {
|
|
9
|
+
type: Number,
|
|
10
|
+
required: false,
|
|
11
|
+
},
|
|
12
|
+
// Value
|
|
13
|
+
lifeTimeValue: {
|
|
14
|
+
type: Number,
|
|
15
|
+
required: false,
|
|
16
|
+
default: 0,
|
|
17
|
+
},
|
|
18
|
+
yearToDateValue: {
|
|
19
|
+
type: Number,
|
|
20
|
+
required: false,
|
|
21
|
+
default: 0,
|
|
22
|
+
},
|
|
23
|
+
lifeTimeValueRefunded: {
|
|
24
|
+
type: Number,
|
|
25
|
+
required: false,
|
|
26
|
+
default: 0,
|
|
27
|
+
},
|
|
28
|
+
yearToDateValueRefunded: {
|
|
29
|
+
type: Number,
|
|
30
|
+
required: false,
|
|
31
|
+
default: 0,
|
|
32
|
+
},
|
|
33
|
+
lifeTimeValueComped: {
|
|
34
|
+
type: Number,
|
|
35
|
+
required: false,
|
|
36
|
+
default: 0,
|
|
37
|
+
},
|
|
38
|
+
yearToDateValueComped: {
|
|
39
|
+
type: Number,
|
|
40
|
+
required: false,
|
|
41
|
+
default: 0,
|
|
42
|
+
},
|
|
43
|
+
// Tickets
|
|
44
|
+
lifeTimeTicketsPurchased: {
|
|
45
|
+
type: Number,
|
|
46
|
+
required: false,
|
|
47
|
+
default: 0,
|
|
48
|
+
},
|
|
49
|
+
yearToDateTicketsPurchased: {
|
|
50
|
+
type: Number,
|
|
51
|
+
required: false,
|
|
52
|
+
default: 0,
|
|
53
|
+
},
|
|
54
|
+
lifeTimeTicketsRefunded: {
|
|
55
|
+
type: Number,
|
|
56
|
+
required: false,
|
|
57
|
+
default: 0,
|
|
58
|
+
},
|
|
59
|
+
yearToDateTicketsRefunded: {
|
|
60
|
+
type: Number,
|
|
61
|
+
required: false,
|
|
62
|
+
default: 0,
|
|
63
|
+
},
|
|
64
|
+
lifeTimeTicketsComped: {
|
|
65
|
+
type: Number,
|
|
66
|
+
required: false,
|
|
67
|
+
default: 0,
|
|
68
|
+
},
|
|
69
|
+
yearToDateTicketsComped: {
|
|
70
|
+
type: Number,
|
|
71
|
+
required: false,
|
|
72
|
+
default: 0,
|
|
73
|
+
},
|
|
74
|
+
// Upgrades
|
|
75
|
+
lifeTimeUpgradesPurchased: {
|
|
76
|
+
type: Number,
|
|
77
|
+
required: false,
|
|
78
|
+
default: 0,
|
|
79
|
+
},
|
|
80
|
+
yearToDateUpgradesPurchased: {
|
|
81
|
+
type: Number,
|
|
82
|
+
required: false,
|
|
83
|
+
default: 0,
|
|
84
|
+
},
|
|
85
|
+
lifeTimeUpgradesRefunded: {
|
|
86
|
+
type: Number,
|
|
87
|
+
required: false,
|
|
88
|
+
default: 0,
|
|
89
|
+
},
|
|
90
|
+
yearToDateUpgradesRefunded: {
|
|
91
|
+
type: Number,
|
|
92
|
+
required: false,
|
|
93
|
+
default: 0,
|
|
94
|
+
},
|
|
95
|
+
lifeTimeUpgradesComped: {
|
|
96
|
+
type: Number,
|
|
97
|
+
required: false,
|
|
98
|
+
default: 0,
|
|
99
|
+
},
|
|
100
|
+
yearToDateUpgradesComped: {
|
|
101
|
+
type: Number,
|
|
102
|
+
required: false,
|
|
103
|
+
default: 0,
|
|
104
|
+
},
|
|
105
|
+
// Orders
|
|
106
|
+
lifeTimeOrdersPurchased: {
|
|
107
|
+
type: Number,
|
|
108
|
+
required: false,
|
|
109
|
+
default: 0,
|
|
110
|
+
},
|
|
111
|
+
yearToDateOrdersPurchased: {
|
|
112
|
+
type: Number,
|
|
113
|
+
required: false,
|
|
114
|
+
default: 0,
|
|
115
|
+
},
|
|
116
|
+
lifeTimeOrdersRefunded: {
|
|
117
|
+
type: Number,
|
|
118
|
+
required: false,
|
|
119
|
+
default: 0,
|
|
120
|
+
},
|
|
121
|
+
yearToDateOrdersRefunded: {
|
|
122
|
+
type: Number,
|
|
123
|
+
required: false,
|
|
124
|
+
default: 0,
|
|
125
|
+
},
|
|
126
|
+
lifeTimeOrdersComped: {
|
|
127
|
+
type: Number,
|
|
128
|
+
required: false,
|
|
129
|
+
default: 0,
|
|
130
|
+
},
|
|
131
|
+
yearToDateOrdersComped: {
|
|
132
|
+
type: Number,
|
|
133
|
+
required: false,
|
|
134
|
+
default: 0,
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=Metrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metrics.js","sourceRoot":"","sources":["../../src/mongo/Metrics.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAA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ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const PerformanceSchedule: {
|
|
|
12
12
|
declare const _default: {
|
|
13
13
|
_id: {
|
|
14
14
|
type: StringConstructor;
|
|
15
|
-
default:
|
|
15
|
+
default: any;
|
|
16
16
|
};
|
|
17
17
|
orgId: {
|
|
18
18
|
type: StringConstructor;
|
|
@@ -322,7 +322,7 @@ declare const _default: {
|
|
|
322
322
|
promotions: {
|
|
323
323
|
_id: {
|
|
324
324
|
type: StringConstructor;
|
|
325
|
-
default:
|
|
325
|
+
default: any;
|
|
326
326
|
};
|
|
327
327
|
code: {
|
|
328
328
|
type: StringConstructor;
|
|
@@ -359,7 +359,7 @@ declare const _default: {
|
|
|
359
359
|
customFields: {
|
|
360
360
|
_id: {
|
|
361
361
|
type: StringConstructor;
|
|
362
|
-
default:
|
|
362
|
+
default: any;
|
|
363
363
|
};
|
|
364
364
|
label: {
|
|
365
365
|
type: StringConstructor;
|
package/.dist/schemas/Fee.d.ts
CHANGED
package/.dist/schemas/Order.d.ts
CHANGED
package/.dist/schemas/Role.d.ts
CHANGED
package/.dist/schemas/User.d.ts
CHANGED
package/.dist/schemas/Venue.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"author": "samheutmaker@gmail.com",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sellout/service": "^0.0.
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
19
|
+
"@sellout/service": "^0.0.6",
|
|
20
|
+
"@sellout/utils": "^0.0.6",
|
|
21
21
|
"@types/shortid": "0.0.29",
|
|
22
22
|
"shortid": "^2.2.15"
|
|
23
23
|
},
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"protobufjs": "~6.8.8",
|
|
28
28
|
"typescript": "^3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "293473fa4ad310e0ce454b24ba2670109bac0b4c"
|
|
31
31
|
}
|
|
@@ -5,10 +5,11 @@ import IArtistContact from './IArtistContact';
|
|
|
5
5
|
|
|
6
6
|
export default interface IArtist {
|
|
7
7
|
_id?: string;
|
|
8
|
+
orgId: string;
|
|
8
9
|
name: string;
|
|
9
10
|
genres: string[];
|
|
10
11
|
socialAccounts: ISocialAccountLink[];
|
|
11
12
|
pressKits: IArtistPressKit[];
|
|
12
13
|
contacts: IArtistContact[];
|
|
13
|
-
metrics
|
|
14
|
+
metrics?: IMetrics,
|
|
14
15
|
}
|
package/src/interfaces/IEvent.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import IAddress from "./IAddress";
|
|
2
|
-
import IMetrics from "./IMetrics";
|
|
3
1
|
import ITicketType from './ITicketType';
|
|
4
2
|
import IEventSchedule from './IEventSchedule';
|
|
5
3
|
import ITicketExchange from './ITicketExchange';
|
|
@@ -8,6 +6,8 @@ import ITicketHold from './ITicketHold';
|
|
|
8
6
|
import IPerformance from './IPerformance';
|
|
9
7
|
import IEventPromotion from './IEventPromotion';
|
|
10
8
|
import IEventCustomField from './IEventCustomField';
|
|
9
|
+
import IAddress from "./IAddress";
|
|
10
|
+
import IMetrics from "./IMetrics";
|
|
11
11
|
|
|
12
12
|
export enum EventTypeEnum {
|
|
13
13
|
Concert = 'Concert',
|
|
@@ -58,5 +58,5 @@ export default interface IEvent {
|
|
|
58
58
|
promotions?: IEventPromotion[];
|
|
59
59
|
customFields?: IEventCustomField[];
|
|
60
60
|
exchange?: ITicketExchange;
|
|
61
|
-
metrics
|
|
61
|
+
metrics?: IMetrics;
|
|
62
62
|
}
|