starta.microservice 0.1.2589 → 0.1.2733
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/lib/adapters/database/DBScripts/BaseMigration.js +0 -1
- package/lib/adapters/database/DBScripts/BaseMigration.js.map +1 -1
- package/lib/adapters/redisService/types.d.ts +2 -0
- package/lib/entities/Account.d.ts +11 -1
- package/lib/entities/Account.js.map +1 -1
- package/lib/entities/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMigration.js","sourceRoot":"","sources":["../../../../src/adapters/database/DBScripts/BaseMigration.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BaseMigration.js","sourceRoot":"","sources":["../../../../src/adapters/database/DBScripts/BaseMigration.ts"],"names":[],"mappings":";;AAIA,MAAe,aAAa;IAK1B,YAAY,EAAM,EAAE,KAAmB,EAAE,MAAoB;QACzD,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CAGF;AAED,kBAAe,aAAa,CAAC"}
|
|
@@ -3,12 +3,14 @@ export type LandingInfo = {
|
|
|
3
3
|
default: string;
|
|
4
4
|
'en-us'?: string;
|
|
5
5
|
'uk-ua'?: string;
|
|
6
|
+
'pl-pl'?: string;
|
|
6
7
|
'ru-tu'?: string;
|
|
7
8
|
};
|
|
8
9
|
subtitle?: {
|
|
9
10
|
default?: string;
|
|
10
11
|
'en-us'?: string;
|
|
11
12
|
'uk-ua'?: string;
|
|
13
|
+
'pl-pl'?: string;
|
|
12
14
|
'ru-tu'?: string;
|
|
13
15
|
};
|
|
14
16
|
};
|
|
@@ -87,12 +87,14 @@ declare class Account extends Base {
|
|
|
87
87
|
nameTranslations?: {
|
|
88
88
|
'en-us'?: string;
|
|
89
89
|
'uk-ua'?: string;
|
|
90
|
+
'pl-pl'?: string;
|
|
90
91
|
'ru-ru'?: string;
|
|
91
92
|
};
|
|
92
93
|
subtitle?: {
|
|
93
94
|
'default'?: string;
|
|
94
95
|
'en-us'?: string;
|
|
95
96
|
'uk-ua'?: string;
|
|
97
|
+
'pl-pl'?: string;
|
|
96
98
|
'ru-ru'?: string;
|
|
97
99
|
};
|
|
98
100
|
currency: string;
|
|
@@ -130,6 +132,9 @@ declare class Account extends Base {
|
|
|
130
132
|
till: null | number;
|
|
131
133
|
percent: number;
|
|
132
134
|
}>;
|
|
135
|
+
tariff?: 'lite' | 'pro';
|
|
136
|
+
isTrial?: boolean;
|
|
137
|
+
endOfTrialAt?: Date;
|
|
133
138
|
cardLast4?: string;
|
|
134
139
|
cardBrand?: string;
|
|
135
140
|
paymentInfoSetUp?: boolean;
|
|
@@ -139,7 +144,7 @@ declare class Account extends Base {
|
|
|
139
144
|
freeLicenses: number;
|
|
140
145
|
paidLicenses: number;
|
|
141
146
|
price: number;
|
|
142
|
-
currency: 'USD';
|
|
147
|
+
currency: 'EUR' | 'PLN' | 'USD';
|
|
143
148
|
subscriptionId?: string;
|
|
144
149
|
endOfCycleAt?: Date;
|
|
145
150
|
refundableTill?: Date;
|
|
@@ -169,6 +174,11 @@ declare class Account extends Base {
|
|
|
169
174
|
};
|
|
170
175
|
}[];
|
|
171
176
|
wasCreatedInStarta1?: boolean;
|
|
177
|
+
lastComment?: {
|
|
178
|
+
createdBy: string;
|
|
179
|
+
createdAt: Date;
|
|
180
|
+
message: object;
|
|
181
|
+
};
|
|
172
182
|
toHash(): {
|
|
173
183
|
[propName: string]: any;
|
|
174
184
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../src/entities/Account.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mCAAoC;AACpC,kDAA2B;AAG3B,MAAM,OAAQ,SAAQ,cAAI;
|
|
1
|
+
{"version":3,"file":"Account.js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AC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACtE,OAAO,YAAY,KAAK,IAAI,CAAC,aAAa,CAAC;IAC7C,CAAC;IAED,YAAY;QACV,IAAI,CAAC,IAAI,CAAC,KAAK;YAAE,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AAED,kBAAe,OAAO,CAAC"}
|
package/lib/entities/types.d.ts
CHANGED
|
@@ -24,12 +24,14 @@ export type Service = {
|
|
|
24
24
|
default: string;
|
|
25
25
|
'en-us': string;
|
|
26
26
|
'uk-ua': string;
|
|
27
|
+
'pl-pl': string;
|
|
27
28
|
'ru-ru': string;
|
|
28
29
|
};
|
|
29
30
|
description: {
|
|
30
31
|
default: string;
|
|
31
32
|
'en-us': string;
|
|
32
33
|
'uk-ua': string;
|
|
34
|
+
'pl-pl': string;
|
|
33
35
|
'ru-ru': string;
|
|
34
36
|
};
|
|
35
37
|
serviceCategoryId?: ObjectId;
|