@spytecgps/nova-orm 1.0.122 → 1.0.124
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/entities/billingCustomerAmazon.d.ts +14 -0
- package/dist/entities/billingCustomerAmazon.js +83 -0
- package/dist/entities/billingCustomerAmazon.js.map +1 -0
- package/dist/entities/billingSubscriptionAmazon.d.ts +22 -0
- package/dist/entities/billingSubscriptionAmazon.js +162 -0
- package/dist/entities/billingSubscriptionAmazon.js.map +1 -0
- package/dist/entities/userInvitation.d.ts +1 -1
- package/dist/entities/userInvitation.js +3 -5
- package/dist/entities/userInvitation.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class BillingCustomerAmazon {
|
|
2
|
+
id: number;
|
|
3
|
+
clientId: number;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
lastName: string | null;
|
|
6
|
+
email: string | null;
|
|
7
|
+
streetAddress: string | null;
|
|
8
|
+
city: string | null;
|
|
9
|
+
region: string | null;
|
|
10
|
+
country: string | null;
|
|
11
|
+
postalCode: string | null;
|
|
12
|
+
phone: string | null;
|
|
13
|
+
createdAt: Date | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
+
let BillingCustomerAmazon = class BillingCustomerAmazon {
|
|
12
|
+
id;
|
|
13
|
+
clientId;
|
|
14
|
+
firstName;
|
|
15
|
+
lastName;
|
|
16
|
+
email;
|
|
17
|
+
streetAddress;
|
|
18
|
+
city;
|
|
19
|
+
region;
|
|
20
|
+
country;
|
|
21
|
+
postalCode;
|
|
22
|
+
phone;
|
|
23
|
+
createdAt;
|
|
24
|
+
};
|
|
25
|
+
__decorate([
|
|
26
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id', unsigned: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], BillingCustomerAmazon.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('int', { name: 'clientId' }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], BillingCustomerAmazon.prototype, "clientId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('varchar', { name: 'firstName', nullable: true, length: 100 }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], BillingCustomerAmazon.prototype, "firstName", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('varchar', { name: 'lastName', nullable: true, length: 100 }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], BillingCustomerAmazon.prototype, "lastName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('varchar', { name: 'email', nullable: true, length: 255 }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], BillingCustomerAmazon.prototype, "email", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('varchar', { name: 'streetAddress', nullable: true, length: 255 }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], BillingCustomerAmazon.prototype, "streetAddress", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('varchar', { name: 'city', nullable: true, length: 50 }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], BillingCustomerAmazon.prototype, "city", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('varchar', { name: 'region', nullable: true, length: 50 }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], BillingCustomerAmazon.prototype, "region", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('varchar', { name: 'country', nullable: true, length: 50 }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], BillingCustomerAmazon.prototype, "country", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('varchar', { name: 'postalCode', nullable: true, length: 50 }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], BillingCustomerAmazon.prototype, "postalCode", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('varchar', { name: 'phone', nullable: true, length: 20 }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], BillingCustomerAmazon.prototype, "phone", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
Column('datetime', {
|
|
71
|
+
name: 'createdAt',
|
|
72
|
+
nullable: true,
|
|
73
|
+
precision: 0,
|
|
74
|
+
}),
|
|
75
|
+
__metadata("design:type", Date)
|
|
76
|
+
], BillingCustomerAmazon.prototype, "createdAt", void 0);
|
|
77
|
+
BillingCustomerAmazon = __decorate([
|
|
78
|
+
Index('ixClientId_CreatedAt', ['clientId', 'createdAt'], {}),
|
|
79
|
+
Index('ixClientId_Email', ['clientId', 'email'], {}),
|
|
80
|
+
Entity('billingCustomerAmazon', { schema: 'nova' })
|
|
81
|
+
], BillingCustomerAmazon);
|
|
82
|
+
export { BillingCustomerAmazon };
|
|
83
|
+
//# sourceMappingURL=billingCustomerAmazon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingCustomerAmazon.js","sourceRoot":"","sources":["../../src/entities/billingCustomerAmazon.ts"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AAE,EAAE,EAAE,CAAC;;mDAC7C;AAEnB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;qDAC7C;AAErB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;sDAC7C;AAEtB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;yDAC7C;AAEzB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;oDAC7C;AAEpB;IAAC,MAAM,CAAC,UAAU,EAAE;QAClB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,CAAC;KACb,CAAC;8BACS,IAAI;wDAAO;AAvCX,qBAAqB;IAHjC,KAAK,CAAC,sBAAsB,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC;IAC5D,KAAK,CAAC,kBAAkB,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC;IACpD,MAAM,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvC,qBAAqB,CAwCjC;SAxCY,qBAAqB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class BillingSubscriptionAmazon {
|
|
2
|
+
id: number;
|
|
3
|
+
amazonCustomerId: number;
|
|
4
|
+
subscriptionId: string | null;
|
|
5
|
+
imei: string | null;
|
|
6
|
+
deviceType: string | null;
|
|
7
|
+
asin: string | null;
|
|
8
|
+
planId: string | null;
|
|
9
|
+
subscriptionStart: Date | null;
|
|
10
|
+
subscriptionEnd: Date | null;
|
|
11
|
+
nextBillingDate: Date | null;
|
|
12
|
+
subscriptionValue: number | null;
|
|
13
|
+
status: string | null;
|
|
14
|
+
discounts: object | null;
|
|
15
|
+
addOns: object | null;
|
|
16
|
+
nextBillingPeriodAmount: number | null;
|
|
17
|
+
paymentMethodToken: string | null;
|
|
18
|
+
scheduledSuspension: Date | null;
|
|
19
|
+
paymentSkipped: boolean | null;
|
|
20
|
+
existsInBraintree: boolean | null;
|
|
21
|
+
createdAt: Date | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
+
import { BoolToNumberTransformer } from '../utils/boolToNumberTransformer';
|
|
12
|
+
import { StringToDateTransformer } from '../utils/stringToDateTransformer';
|
|
13
|
+
let BillingSubscriptionAmazon = class BillingSubscriptionAmazon {
|
|
14
|
+
id;
|
|
15
|
+
amazonCustomerId;
|
|
16
|
+
subscriptionId;
|
|
17
|
+
imei;
|
|
18
|
+
deviceType;
|
|
19
|
+
asin;
|
|
20
|
+
planId;
|
|
21
|
+
subscriptionStart;
|
|
22
|
+
subscriptionEnd;
|
|
23
|
+
nextBillingDate;
|
|
24
|
+
subscriptionValue;
|
|
25
|
+
status;
|
|
26
|
+
discounts;
|
|
27
|
+
addOns;
|
|
28
|
+
nextBillingPeriodAmount;
|
|
29
|
+
paymentMethodToken;
|
|
30
|
+
scheduledSuspension;
|
|
31
|
+
paymentSkipped;
|
|
32
|
+
existsInBraintree;
|
|
33
|
+
createdAt;
|
|
34
|
+
};
|
|
35
|
+
__decorate([
|
|
36
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id', unsigned: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], BillingSubscriptionAmazon.prototype, "id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Column({ type: 'int', name: 'amazonCustomerId' }),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], BillingSubscriptionAmazon.prototype, "amazonCustomerId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Column('varchar', { name: 'subscriptionId', nullable: true, length: 255 }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], BillingSubscriptionAmazon.prototype, "subscriptionId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Column('varchar', { name: 'imei', nullable: true, length: 50 }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], BillingSubscriptionAmazon.prototype, "imei", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Column('varchar', { name: 'deviceType', nullable: true, length: 50 }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], BillingSubscriptionAmazon.prototype, "deviceType", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Column('varchar', { name: 'asin', nullable: true, length: 50 }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], BillingSubscriptionAmazon.prototype, "asin", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
Column('varchar', { name: 'planId', nullable: true, length: 50 }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], BillingSubscriptionAmazon.prototype, "planId", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Column('date', {
|
|
65
|
+
name: 'subscriptionStart',
|
|
66
|
+
nullable: true,
|
|
67
|
+
transformer: new StringToDateTransformer(),
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", Date)
|
|
70
|
+
], BillingSubscriptionAmazon.prototype, "subscriptionStart", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
Column('date', {
|
|
73
|
+
name: 'subscriptionEnd',
|
|
74
|
+
nullable: true,
|
|
75
|
+
transformer: new StringToDateTransformer(),
|
|
76
|
+
}),
|
|
77
|
+
__metadata("design:type", Date)
|
|
78
|
+
], BillingSubscriptionAmazon.prototype, "subscriptionEnd", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
Column('date', {
|
|
81
|
+
name: 'nextBillingDate',
|
|
82
|
+
nullable: true,
|
|
83
|
+
transformer: new StringToDateTransformer(),
|
|
84
|
+
}),
|
|
85
|
+
__metadata("design:type", Date)
|
|
86
|
+
], BillingSubscriptionAmazon.prototype, "nextBillingDate", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
Column('decimal', {
|
|
89
|
+
name: 'subscriptionValue',
|
|
90
|
+
nullable: true,
|
|
91
|
+
precision: 19,
|
|
92
|
+
scale: 4,
|
|
93
|
+
}),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], BillingSubscriptionAmazon.prototype, "subscriptionValue", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
Column('varchar', { name: 'status', nullable: true, length: 10 }),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], BillingSubscriptionAmazon.prototype, "status", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
Column('json', { name: 'discounts', nullable: true }),
|
|
102
|
+
__metadata("design:type", Object)
|
|
103
|
+
], BillingSubscriptionAmazon.prototype, "discounts", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
Column('json', { name: 'addOns', nullable: true }),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], BillingSubscriptionAmazon.prototype, "addOns", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
Column('decimal', {
|
|
110
|
+
name: 'nextBillingPeriodAmount',
|
|
111
|
+
nullable: true,
|
|
112
|
+
precision: 19,
|
|
113
|
+
scale: 4,
|
|
114
|
+
}),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], BillingSubscriptionAmazon.prototype, "nextBillingPeriodAmount", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
Column('varchar', { name: 'paymentMethodToken', nullable: true, length: 50 }),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], BillingSubscriptionAmazon.prototype, "paymentMethodToken", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
Column('datetime', {
|
|
123
|
+
name: 'scheduledSuspension',
|
|
124
|
+
nullable: true,
|
|
125
|
+
transformer: new StringToDateTransformer(),
|
|
126
|
+
}),
|
|
127
|
+
__metadata("design:type", Date)
|
|
128
|
+
], BillingSubscriptionAmazon.prototype, "scheduledSuspension", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
Column('tinyint', {
|
|
131
|
+
name: 'paymentSkipped',
|
|
132
|
+
nullable: true,
|
|
133
|
+
width: 1,
|
|
134
|
+
transformer: new BoolToNumberTransformer(),
|
|
135
|
+
}),
|
|
136
|
+
__metadata("design:type", Boolean)
|
|
137
|
+
], BillingSubscriptionAmazon.prototype, "paymentSkipped", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
Column('tinyint', {
|
|
140
|
+
name: 'existsInBraintree',
|
|
141
|
+
nullable: true,
|
|
142
|
+
width: 1,
|
|
143
|
+
transformer: new BoolToNumberTransformer(),
|
|
144
|
+
}),
|
|
145
|
+
__metadata("design:type", Boolean)
|
|
146
|
+
], BillingSubscriptionAmazon.prototype, "existsInBraintree", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
Column('datetime', { name: 'createdAt', nullable: true, precision: 0 }),
|
|
149
|
+
__metadata("design:type", Date)
|
|
150
|
+
], BillingSubscriptionAmazon.prototype, "createdAt", void 0);
|
|
151
|
+
BillingSubscriptionAmazon = __decorate([
|
|
152
|
+
Index('ix_amazonCustomerId_imei_asin', ['amazonCustomerId', 'imei', 'asin']),
|
|
153
|
+
Index('ix_amazonCustomerId_imei_subscriptionId', ['amazonCustomerId', 'imei', 'subscriptionId']),
|
|
154
|
+
Index('ix_paymentMethodToken_paymentSkipped_existsInBraintree', [
|
|
155
|
+
'paymentMethodToken',
|
|
156
|
+
'paymentSkipped',
|
|
157
|
+
'existsInBraintree',
|
|
158
|
+
]),
|
|
159
|
+
Entity('billingSubscriptionAmazon', { schema: 'nova' })
|
|
160
|
+
], BillingSubscriptionAmazon);
|
|
161
|
+
export { BillingSubscriptionAmazon };
|
|
162
|
+
//# sourceMappingURL=billingSubscriptionAmazon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingSubscriptionAmazon.js","sourceRoot":"","sources":["../../src/entities/billingSubscriptionAmazon.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAUnE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAEpC,EAAE,CAAQ;IAGV,gBAAgB,CAAQ;IAGxB,cAAc,CAAe;IAG7B,IAAI,CAAe;IAGnB,UAAU,CAAe;IAGzB,IAAI,CAAe;IAGnB,MAAM,CAAe;IAOrB,iBAAiB,CAAa;IAO9B,eAAe,CAAa;IAO5B,eAAe,CAAa;IAQ5B,iBAAiB,CAAe;IAGhC,MAAM,CAAe;IAGrB,SAAS,CAAe;IAGxB,MAAM,CAAe;IAQrB,uBAAuB,CAA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AAE;QACjB,IAAI,EAAE,gBAAgB;QACtB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;iEAC4B;AAE9B;IAAC,MAAM,CAAC,SAAS,EAAE;QACjB,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI,uBAAuB,EAAE;KAC3C,CAAC;;oEAC+B;AAEjC;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;8BAC7D,IAAI;4DAAO;AA/FX,yBAAyB;IARrC,KAAK,CAAC,+BAA+B,EAAE,CAAC,kBAAkB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5E,KAAK,CAAC,yCAAyC,EAAE,CAAC,kBAAkB,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAChG,KAAK,CAAC,wDAAwD,EAAE;QAC/D,oBAAoB;QACpB,gBAAgB;QAChB,mBAAmB;KACpB,CAAC;IACD,MAAM,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC3C,yBAAyB,CAgGrC;SAhGY,yBAAyB"}
|
|
@@ -7,10 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity, Index } from 'typeorm';
|
|
10
|
+
import { Column, Entity, Generated, Index } from 'typeorm';
|
|
11
11
|
let UserInvitation = class UserInvitation {
|
|
12
12
|
id;
|
|
13
|
-
//@Generated('increment')
|
|
14
13
|
numberId;
|
|
15
14
|
inviterClientId;
|
|
16
15
|
inviterUserId;
|
|
@@ -32,9 +31,8 @@ __decorate([
|
|
|
32
31
|
__metadata("design:type", Buffer)
|
|
33
32
|
], UserInvitation.prototype, "id", void 0);
|
|
34
33
|
__decorate([
|
|
35
|
-
Column('int', { name: 'numberId',
|
|
36
|
-
|
|
37
|
-
,
|
|
34
|
+
Column('int', { name: 'numberId', unique: true }),
|
|
35
|
+
Generated('increment'),
|
|
38
36
|
__metadata("design:type", Number)
|
|
39
37
|
], UserInvitation.prototype, "numberId", void 0);
|
|
40
38
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userInvitation.js","sourceRoot":"","sources":["../../src/entities/userInvitation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"userInvitation.js","sourceRoot":"","sources":["../../src/entities/userInvitation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAOnD,IAAM,cAAc,GAApB,MAAM,cAAc;IAEzB,EAAE,CAAQ;IAIV,QAAQ,CAAQ;IAGhB,eAAe,CAAQ;IAGvB,aAAa,CAAQ;IAGrB,YAAY,CAAQ;IAGpB,qBAAqB,CAAQ;IAG7B,QAAQ,CAAQ;IAGhB,SAAS,CAAM;IAGf,UAAU,CAAM;IAGhB,aAAa,CAAe;IAG5B,YAAY,CAAe;IAG3B,aAAa,CAAe;IAG5B,aAAa,CAAa;IAG1B,UAAU,CAAe;IAGzB,cAAc,CAAe;IAG7B,WAAW,CAAe;CAC3B,CAAA;AAhDC;IAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;8BACxD,MAAM;0CAAA;AAEV;IAAC,MAAM,CAAC,KAAK,E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