@venturialstd/capa 0.0.3 → 0.0.4
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/README.md +253 -253
- package/dist/capa.module.d.ts.map +1 -1
- package/dist/capa.module.js +11 -0
- package/dist/capa.module.js.map +1 -1
- package/dist/clients/capa.client.d.ts.map +1 -1
- package/dist/clients/capa.client.js +1 -2
- package/dist/clients/capa.client.js.map +1 -1
- package/dist/entities/capa-kyb-verification.entity.d.ts +19 -0
- package/dist/entities/capa-kyb-verification.entity.d.ts.map +1 -0
- package/dist/entities/capa-kyb-verification.entity.js +86 -0
- package/dist/entities/capa-kyb-verification.entity.js.map +1 -0
- package/dist/entities/capa-kyc-verification.entity.d.ts +145 -0
- package/dist/entities/capa-kyc-verification.entity.d.ts.map +1 -0
- package/dist/entities/capa-kyc-verification.entity.js +118 -0
- package/dist/entities/capa-kyc-verification.entity.js.map +1 -0
- package/dist/entities/capa-quote.entity.d.ts +37 -0
- package/dist/entities/capa-quote.entity.d.ts.map +1 -0
- package/dist/entities/capa-quote.entity.js +192 -0
- package/dist/entities/capa-quote.entity.js.map +1 -0
- package/dist/entities/capa-receiver.entity.d.ts +28 -0
- package/dist/entities/capa-receiver.entity.d.ts.map +1 -0
- package/dist/entities/capa-receiver.entity.js +181 -0
- package/dist/entities/capa-receiver.entity.js.map +1 -0
- package/dist/entities/capa-transaction.entity.d.ts +67 -0
- package/dist/entities/capa-transaction.entity.d.ts.map +1 -0
- package/dist/entities/capa-transaction.entity.js +221 -0
- package/dist/entities/capa-transaction.entity.js.map +1 -0
- package/dist/entities/capa-user.entity.d.ts +16 -0
- package/dist/entities/capa-user.entity.d.ts.map +1 -0
- package/dist/entities/capa-user.entity.js +109 -0
- package/dist/entities/capa-user.entity.js.map +1 -0
- package/dist/entities/capa-webhook-settings.entity.d.ts +9 -0
- package/dist/entities/capa-webhook-settings.entity.d.ts.map +1 -0
- package/dist/entities/capa-webhook-settings.entity.js +64 -0
- package/dist/entities/capa-webhook-settings.entity.js.map +1 -0
- package/dist/entities/index.d.ts +8 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +24 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/services/capa-base.service.d.ts +1 -1
- package/dist/services/capa-base.service.d.ts.map +1 -1
- package/dist/services/capa-base.service.js.map +1 -1
- package/dist/services/capa-cross-ramp.service.d.ts +9 -3
- package/dist/services/capa-cross-ramp.service.d.ts.map +1 -1
- package/dist/services/capa-cross-ramp.service.js +68 -6
- package/dist/services/capa-cross-ramp.service.js.map +1 -1
- package/dist/services/capa-kyb.service.d.ts +6 -3
- package/dist/services/capa-kyb.service.d.ts.map +1 -1
- package/dist/services/capa-kyb.service.js +24 -4
- package/dist/services/capa-kyb.service.js.map +1 -1
- package/dist/services/capa-kyc.service.d.ts +6 -3
- package/dist/services/capa-kyc.service.d.ts.map +1 -1
- package/dist/services/capa-kyc.service.js +30 -4
- package/dist/services/capa-kyc.service.js.map +1 -1
- package/dist/services/capa-off-ramp.service.d.ts +6 -3
- package/dist/services/capa-off-ramp.service.d.ts.map +1 -1
- package/dist/services/capa-off-ramp.service.js +53 -4
- package/dist/services/capa-off-ramp.service.js.map +1 -1
- package/dist/services/capa-on-ramp.service.d.ts +6 -3
- package/dist/services/capa-on-ramp.service.d.ts.map +1 -1
- package/dist/services/capa-on-ramp.service.js +47 -4
- package/dist/services/capa-on-ramp.service.js.map +1 -1
- package/dist/services/capa-quotes.service.d.ts +7 -3
- package/dist/services/capa-quotes.service.d.ts.map +1 -1
- package/dist/services/capa-quotes.service.js +37 -5
- package/dist/services/capa-quotes.service.js.map +1 -1
- package/dist/services/capa-receivers.service.d.ts +6 -3
- package/dist/services/capa-receivers.service.d.ts.map +1 -1
- package/dist/services/capa-receivers.service.js +64 -6
- package/dist/services/capa-receivers.service.js.map +1 -1
- package/dist/services/capa-transactions.service.d.ts +7 -3
- package/dist/services/capa-transactions.service.d.ts.map +1 -1
- package/dist/services/capa-transactions.service.js +62 -5
- package/dist/services/capa-transactions.service.js.map +1 -1
- package/dist/services/capa-users.service.d.ts +9 -4
- package/dist/services/capa-users.service.d.ts.map +1 -1
- package/dist/services/capa-users.service.js +73 -4
- package/dist/services/capa-users.service.js.map +1 -1
- package/dist/services/capa-webhook-settings.service.d.ts +6 -3
- package/dist/services/capa-webhook-settings.service.d.ts.map +1 -1
- package/dist/services/capa-webhook-settings.service.js +31 -4
- package/dist/services/capa-webhook-settings.service.js.map +1 -1
- package/dist/services/index.d.ts +6 -6
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +6 -6
- package/dist/services/index.js.map +1 -1
- package/dist/settings/capa.settings.d.ts.map +1 -1
- package/dist/settings/capa.settings.js.map +1 -1
- package/dist/types/capa-api.types.d.ts +70 -9
- package/dist/types/capa-api.types.d.ts.map +1 -1
- package/package.json +58 -46
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CapaReceiver = exports.CapaReceiverType = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
var CapaReceiverType;
|
|
16
|
+
(function (CapaReceiverType) {
|
|
17
|
+
CapaReceiverType["INDIVIDUAL"] = "INDIVIDUAL";
|
|
18
|
+
CapaReceiverType["BUSINESS"] = "BUSINESS";
|
|
19
|
+
})(CapaReceiverType || (exports.CapaReceiverType = CapaReceiverType = {}));
|
|
20
|
+
let CapaReceiver = class CapaReceiver {
|
|
21
|
+
id;
|
|
22
|
+
capaReceiverId;
|
|
23
|
+
userId;
|
|
24
|
+
receiverType;
|
|
25
|
+
email;
|
|
26
|
+
taxId;
|
|
27
|
+
firstName;
|
|
28
|
+
lastName;
|
|
29
|
+
countryOfBirth;
|
|
30
|
+
dateOfBirth;
|
|
31
|
+
businessName;
|
|
32
|
+
countryOfConstitution;
|
|
33
|
+
dateOfConstitution;
|
|
34
|
+
phoneNumber;
|
|
35
|
+
isPep;
|
|
36
|
+
hasBeneficialOwner;
|
|
37
|
+
hasResourceProvider;
|
|
38
|
+
disabled;
|
|
39
|
+
metadata;
|
|
40
|
+
createdAt;
|
|
41
|
+
updatedAt;
|
|
42
|
+
};
|
|
43
|
+
exports.CapaReceiver = CapaReceiver;
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], CapaReceiver.prototype, "id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'capaReceiverId' }),
|
|
52
|
+
(0, typeorm_1.Index)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CapaReceiver.prototype, "capaReceiverId", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'userId' }),
|
|
59
|
+
(0, typeorm_1.Index)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], CapaReceiver.prototype, "userId", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsEnum)(CapaReceiverType),
|
|
64
|
+
(0, typeorm_1.Column)({
|
|
65
|
+
type: 'enum',
|
|
66
|
+
enum: CapaReceiverType,
|
|
67
|
+
nullable: false,
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CapaReceiver.prototype, "receiverType", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
74
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], CapaReceiver.prototype, "email", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsString)(),
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'taxId' }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], CapaReceiver.prototype, "taxId", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_validator_1.IsString)(),
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'firstName' }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], CapaReceiver.prototype, "firstName", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'lastName' }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], CapaReceiver.prototype, "lastName", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_validator_1.IsString)(),
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'countryOfBirth' }),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], CapaReceiver.prototype, "countryOfBirth", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_validator_1.IsString)(),
|
|
103
|
+
(0, class_validator_1.IsOptional)(),
|
|
104
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'dateOfBirth' }),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], CapaReceiver.prototype, "dateOfBirth", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsString)(),
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'businessName' }),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], CapaReceiver.prototype, "businessName", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_validator_1.IsString)(),
|
|
115
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'countryOfConstitution' }),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], CapaReceiver.prototype, "countryOfConstitution", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, class_validator_1.IsString)(),
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'dateOfConstitution' }),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], CapaReceiver.prototype, "dateOfConstitution", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_validator_1.IsString)(),
|
|
127
|
+
(0, class_validator_1.IsOptional)(),
|
|
128
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'phoneNumber' }),
|
|
129
|
+
__metadata("design:type", String)
|
|
130
|
+
], CapaReceiver.prototype, "phoneNumber", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, class_validator_1.IsBoolean)(),
|
|
133
|
+
(0, class_validator_1.IsOptional)(),
|
|
134
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'isPep', default: false }),
|
|
135
|
+
__metadata("design:type", Boolean)
|
|
136
|
+
], CapaReceiver.prototype, "isPep", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_validator_1.IsBoolean)(),
|
|
139
|
+
(0, class_validator_1.IsOptional)(),
|
|
140
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'hasBeneficialOwner', default: false }),
|
|
141
|
+
__metadata("design:type", Boolean)
|
|
142
|
+
], CapaReceiver.prototype, "hasBeneficialOwner", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, class_validator_1.IsBoolean)(),
|
|
145
|
+
(0, class_validator_1.IsOptional)(),
|
|
146
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'hasResourceProvider', default: false }),
|
|
147
|
+
__metadata("design:type", Boolean)
|
|
148
|
+
], CapaReceiver.prototype, "hasResourceProvider", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_validator_1.IsBoolean)(),
|
|
151
|
+
(0, typeorm_1.Column)({ nullable: false, default: false }),
|
|
152
|
+
__metadata("design:type", Boolean)
|
|
153
|
+
], CapaReceiver.prototype, "disabled", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
156
|
+
__metadata("design:type", Object)
|
|
157
|
+
], CapaReceiver.prototype, "metadata", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, typeorm_1.CreateDateColumn)({
|
|
160
|
+
name: 'createdAt',
|
|
161
|
+
nullable: false,
|
|
162
|
+
type: 'timestamptz',
|
|
163
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
164
|
+
}),
|
|
165
|
+
__metadata("design:type", Date)
|
|
166
|
+
], CapaReceiver.prototype, "createdAt", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, typeorm_1.UpdateDateColumn)({
|
|
169
|
+
name: 'updatedAt',
|
|
170
|
+
nullable: false,
|
|
171
|
+
type: 'timestamptz',
|
|
172
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
173
|
+
}),
|
|
174
|
+
__metadata("design:type", Date)
|
|
175
|
+
], CapaReceiver.prototype, "updatedAt", void 0);
|
|
176
|
+
exports.CapaReceiver = CapaReceiver = __decorate([
|
|
177
|
+
(0, typeorm_1.Entity)('capa_receivers'),
|
|
178
|
+
(0, typeorm_1.Index)(['capaReceiverId'], { unique: true }),
|
|
179
|
+
(0, typeorm_1.Index)(['userId', 'capaReceiverId'])
|
|
180
|
+
], CapaReceiver);
|
|
181
|
+
//# sourceMappingURL=capa-receiver.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capa-receiver.entity.js","sourceRoot":"","sources":["../../src/entities/capa-receiver.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAsF;AACtF,qCAOiB;AAEjB,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAKM,IAAM,YAAY,GAAlB,MAAM,YAAY;IAEvB,EAAE,CAAS;IAMX,cAAc,CAAS;IAMvB,MAAM,CAAS;IAQf,YAAY,CAAmB;IAK/B,KAAK,CAAS;IAKd,KAAK,CAAU;IAKf,SAAS,CAAU;IAKnB,QAAQ,CAAU;IAKlB,cAAc,CAAU;IAKxB,WAAW,CAAU;IAKrB,YAAY,CAAU;IAKtB,qBAAqB,CAAU;IAK/B,kBAAkB,CAAU;IAK5B,WAAW,CAAU;IAKrB,KAAK,CAAW;IAKhB,kBAAkB,CAAW;IAK7B,mBAAmB,CAAW;IAI9B,QAAQ,CAAU;IAGlB,QAAQ,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
|
|
6
|
+
export declare enum CapaTransactionStatus {
|
|
7
|
+
PENDING = "PENDING",
|
|
8
|
+
PROCESSING = "PROCESSING",
|
|
9
|
+
COMPLETED = "COMPLETED",
|
|
10
|
+
FAILED = "FAILED",
|
|
11
|
+
CANCELLED = "CANCELLED",
|
|
12
|
+
REFUNDED = "REFUNDED"
|
|
13
|
+
}
|
|
14
|
+
export declare class CapaTransaction {
|
|
15
|
+
id: string;
|
|
16
|
+
capaTransactionId: string;
|
|
17
|
+
userId: string;
|
|
18
|
+
type: CapaTransactionType;
|
|
19
|
+
status: CapaTransactionStatus;
|
|
20
|
+
fiatAmount?: number;
|
|
21
|
+
fiatCurrency?: string;
|
|
22
|
+
cryptoAmount?: number;
|
|
23
|
+
blockchainSymbol?: string;
|
|
24
|
+
tokenSymbol?: string;
|
|
25
|
+
destinationWalletAddress?: string;
|
|
26
|
+
quoteId?: string;
|
|
27
|
+
premiumSpread?: number;
|
|
28
|
+
errorMessage?: string;
|
|
29
|
+
sourceCurrency?: string;
|
|
30
|
+
targetCurrency?: string;
|
|
31
|
+
sourceAmount?: number;
|
|
32
|
+
targetAmount?: number;
|
|
33
|
+
rate?: number;
|
|
34
|
+
userBankInformation?: {
|
|
35
|
+
accountIdentifier: string;
|
|
36
|
+
country: string;
|
|
37
|
+
accountType?: 'SAVINGS' | 'CHECKING';
|
|
38
|
+
bankName?: string;
|
|
39
|
+
documentIdentifier?: string;
|
|
40
|
+
documentType?: string;
|
|
41
|
+
routingNumber?: string;
|
|
42
|
+
address?: {
|
|
43
|
+
street: string;
|
|
44
|
+
city: string;
|
|
45
|
+
state: string;
|
|
46
|
+
zipCode: string;
|
|
47
|
+
country: string;
|
|
48
|
+
};
|
|
49
|
+
bic?: string;
|
|
50
|
+
iban?: string;
|
|
51
|
+
accountHolder?: {
|
|
52
|
+
type: 'INDIVIDUAL' | 'BUSINESS';
|
|
53
|
+
name: string;
|
|
54
|
+
documentIdentifier?: string;
|
|
55
|
+
documentType?: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
fees?: {
|
|
59
|
+
fixedFee: number;
|
|
60
|
+
feeCurrency: string;
|
|
61
|
+
};
|
|
62
|
+
completedAt?: Date;
|
|
63
|
+
metadata: Record<string, unknown>;
|
|
64
|
+
createdAt: Date;
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=capa-transaction.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capa-transaction.entity.d.ts","sourceRoot":"","sources":["../../src/entities/capa-transaction.entity.ts"],"names":[],"mappings":"AAUA,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;CAC1B;AAED,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAED,qBAIa,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAC;IAMX,iBAAiB,EAAE,MAAM,CAAC;IAM1B,MAAM,EAAE,MAAM,CAAC;IASf,IAAI,EAAE,mBAAmB,CAAC;IAU1B,MAAM,EAAE,qBAAqB,CAAC;IAK9B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAKlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,mBAAmB,CAAC,EAAE;QACpB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,OAAO,CAAC,EAAE;YACR,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,MAAM,CAAC;YACb,KAAK,EAAE,MAAM,CAAC;YACd,OAAO,EAAE,MAAM,CAAC;YAChB,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;QACF,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,aAAa,CAAC,EAAE;YACd,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC;YAChC,IAAI,EAAE,MAAM,CAAC;YACb,kBAAkB,CAAC,EAAE,MAAM,CAAC;YAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;KACH,CAAC;IAIF,IAAI,CAAC,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IAGF,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAQlC,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CapaTransaction = exports.CapaTransactionStatus = exports.CapaTransactionType = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
var CapaTransactionType;
|
|
16
|
+
(function (CapaTransactionType) {
|
|
17
|
+
CapaTransactionType["ON_RAMP"] = "ON_RAMP";
|
|
18
|
+
CapaTransactionType["OFF_RAMP"] = "OFF_RAMP";
|
|
19
|
+
CapaTransactionType["CROSS_RAMP"] = "CROSS_RAMP";
|
|
20
|
+
})(CapaTransactionType || (exports.CapaTransactionType = CapaTransactionType = {}));
|
|
21
|
+
var CapaTransactionStatus;
|
|
22
|
+
(function (CapaTransactionStatus) {
|
|
23
|
+
CapaTransactionStatus["PENDING"] = "PENDING";
|
|
24
|
+
CapaTransactionStatus["PROCESSING"] = "PROCESSING";
|
|
25
|
+
CapaTransactionStatus["COMPLETED"] = "COMPLETED";
|
|
26
|
+
CapaTransactionStatus["FAILED"] = "FAILED";
|
|
27
|
+
CapaTransactionStatus["CANCELLED"] = "CANCELLED";
|
|
28
|
+
CapaTransactionStatus["REFUNDED"] = "REFUNDED";
|
|
29
|
+
})(CapaTransactionStatus || (exports.CapaTransactionStatus = CapaTransactionStatus = {}));
|
|
30
|
+
let CapaTransaction = class CapaTransaction {
|
|
31
|
+
id;
|
|
32
|
+
capaTransactionId;
|
|
33
|
+
userId;
|
|
34
|
+
type;
|
|
35
|
+
status;
|
|
36
|
+
fiatAmount;
|
|
37
|
+
fiatCurrency;
|
|
38
|
+
cryptoAmount;
|
|
39
|
+
blockchainSymbol;
|
|
40
|
+
tokenSymbol;
|
|
41
|
+
destinationWalletAddress;
|
|
42
|
+
quoteId;
|
|
43
|
+
premiumSpread;
|
|
44
|
+
errorMessage;
|
|
45
|
+
sourceCurrency;
|
|
46
|
+
targetCurrency;
|
|
47
|
+
sourceAmount;
|
|
48
|
+
targetAmount;
|
|
49
|
+
rate;
|
|
50
|
+
userBankInformation;
|
|
51
|
+
fees;
|
|
52
|
+
completedAt;
|
|
53
|
+
metadata;
|
|
54
|
+
createdAt;
|
|
55
|
+
updatedAt;
|
|
56
|
+
};
|
|
57
|
+
exports.CapaTransaction = CapaTransaction;
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], CapaTransaction.prototype, "id", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
65
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'capaTransactionId' }),
|
|
66
|
+
(0, typeorm_1.Index)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CapaTransaction.prototype, "capaTransactionId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
72
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'userId' }),
|
|
73
|
+
(0, typeorm_1.Index)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], CapaTransaction.prototype, "userId", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsEnum)(CapaTransactionType),
|
|
78
|
+
(0, typeorm_1.Column)({
|
|
79
|
+
type: 'enum',
|
|
80
|
+
enum: CapaTransactionType,
|
|
81
|
+
nullable: false,
|
|
82
|
+
}),
|
|
83
|
+
(0, typeorm_1.Index)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], CapaTransaction.prototype, "type", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsEnum)(CapaTransactionStatus),
|
|
88
|
+
(0, typeorm_1.Column)({
|
|
89
|
+
type: 'enum',
|
|
90
|
+
enum: CapaTransactionStatus,
|
|
91
|
+
nullable: false,
|
|
92
|
+
default: CapaTransactionStatus.PENDING,
|
|
93
|
+
}),
|
|
94
|
+
(0, typeorm_1.Index)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], CapaTransaction.prototype, "status", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsNumber)(),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 20, scale: 8, nullable: true, name: 'fiatAmount' }),
|
|
101
|
+
__metadata("design:type", Number)
|
|
102
|
+
], CapaTransaction.prototype, "fiatAmount", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsString)(),
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'fiatCurrency' }),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], CapaTransaction.prototype, "fiatCurrency", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_validator_1.IsNumber)(),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 20, scale: 8, nullable: true, name: 'cryptoAmount' }),
|
|
113
|
+
__metadata("design:type", Number)
|
|
114
|
+
], CapaTransaction.prototype, "cryptoAmount", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_validator_1.IsString)(),
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
118
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'blockchainSymbol' }),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], CapaTransaction.prototype, "blockchainSymbol", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_validator_1.IsString)(),
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
124
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'tokenSymbol' }),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], CapaTransaction.prototype, "tokenSymbol", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_validator_1.IsString)(),
|
|
129
|
+
(0, class_validator_1.IsOptional)(),
|
|
130
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'destinationWalletAddress' }),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], CapaTransaction.prototype, "destinationWalletAddress", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_validator_1.IsString)(),
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'quoteId' }),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], CapaTransaction.prototype, "quoteId", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_validator_1.IsNumber)(),
|
|
141
|
+
(0, class_validator_1.IsOptional)(),
|
|
142
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 4, nullable: true, name: 'premiumSpread' }),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], CapaTransaction.prototype, "premiumSpread", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, class_validator_1.IsString)(),
|
|
147
|
+
(0, class_validator_1.IsOptional)(),
|
|
148
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'errorMessage', type: 'text' }),
|
|
149
|
+
__metadata("design:type", String)
|
|
150
|
+
], CapaTransaction.prototype, "errorMessage", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, class_validator_1.IsString)(),
|
|
153
|
+
(0, class_validator_1.IsOptional)(),
|
|
154
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'sourceCurrency' }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], CapaTransaction.prototype, "sourceCurrency", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_validator_1.IsString)(),
|
|
159
|
+
(0, class_validator_1.IsOptional)(),
|
|
160
|
+
(0, typeorm_1.Column)({ nullable: true, name: 'targetCurrency' }),
|
|
161
|
+
__metadata("design:type", String)
|
|
162
|
+
], CapaTransaction.prototype, "targetCurrency", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, class_validator_1.IsNumber)(),
|
|
165
|
+
(0, class_validator_1.IsOptional)(),
|
|
166
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 20, scale: 8, nullable: true, name: 'sourceAmount' }),
|
|
167
|
+
__metadata("design:type", Number)
|
|
168
|
+
], CapaTransaction.prototype, "sourceAmount", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, class_validator_1.IsNumber)(),
|
|
171
|
+
(0, class_validator_1.IsOptional)(),
|
|
172
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 20, scale: 8, nullable: true, name: 'targetAmount' }),
|
|
173
|
+
__metadata("design:type", Number)
|
|
174
|
+
], CapaTransaction.prototype, "targetAmount", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, class_validator_1.IsNumber)(),
|
|
177
|
+
(0, class_validator_1.IsOptional)(),
|
|
178
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 20, scale: 8, nullable: true }),
|
|
179
|
+
__metadata("design:type", Number)
|
|
180
|
+
], CapaTransaction.prototype, "rate", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true, name: 'userBankInformation' }),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], CapaTransaction.prototype, "userBankInformation", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
187
|
+
__metadata("design:type", Object)
|
|
188
|
+
], CapaTransaction.prototype, "fees", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, typeorm_1.Column)({ type: 'timestamptz', nullable: true, name: 'completedAt' }),
|
|
191
|
+
__metadata("design:type", Date)
|
|
192
|
+
], CapaTransaction.prototype, "completedAt", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
195
|
+
__metadata("design:type", Object)
|
|
196
|
+
], CapaTransaction.prototype, "metadata", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, typeorm_1.CreateDateColumn)({
|
|
199
|
+
name: 'createdAt',
|
|
200
|
+
nullable: false,
|
|
201
|
+
type: 'timestamptz',
|
|
202
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
203
|
+
}),
|
|
204
|
+
__metadata("design:type", Date)
|
|
205
|
+
], CapaTransaction.prototype, "createdAt", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, typeorm_1.UpdateDateColumn)({
|
|
208
|
+
name: 'updatedAt',
|
|
209
|
+
nullable: false,
|
|
210
|
+
type: 'timestamptz',
|
|
211
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
212
|
+
}),
|
|
213
|
+
__metadata("design:type", Date)
|
|
214
|
+
], CapaTransaction.prototype, "updatedAt", void 0);
|
|
215
|
+
exports.CapaTransaction = CapaTransaction = __decorate([
|
|
216
|
+
(0, typeorm_1.Entity)('capa_transactions'),
|
|
217
|
+
(0, typeorm_1.Index)(['capaTransactionId'], { unique: true }),
|
|
218
|
+
(0, typeorm_1.Index)(['userId', 'type', 'status']),
|
|
219
|
+
(0, typeorm_1.Index)(['userId', 'createdAt'])
|
|
220
|
+
], CapaTransaction);
|
|
221
|
+
//# sourceMappingURL=capa-transaction.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capa-transaction.entity.js","sourceRoot":"","sources":["../../src/entities/capa-transaction.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AACrF,qCAOiB;AAEjB,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;AAC3B,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;AACvB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAMM,IAAM,eAAe,GAArB,MAAM,eAAe;IAE1B,EAAE,CAAS;IAMX,iBAAiB,CAAS;IAM1B,MAAM,CAAS;IASf,IAAI,CAAsB;IAU1B,MAAM,CAAwB;IAK9B,UAAU,CAAU;IAKpB,YAAY,CAAU;IAKtB,YAAY,CAAU;IAKtB,gBAAgB,CAAU;IAK1B,WAAW,CAAU;IAKrB,wBAAwB,CAAU;IAKlC,OAAO,CAAU;IAKjB,aAAa,CAAU;IAKvB,YAAY,CAAU;IAMtB,cAAc,CAAU;IAKxB,cAAc,CAAU;IAKxB,YAAY,CAAU;IAKtB,YAAY,CAAU;IAKtB,IAAI,CAAU;IAId,mBAAmB,CAuBjB;IAIF,IAAI,CAGF;IAGF,WAAW,CAAQ;IAGnB,QAAQ,CAA0B;IAQlC,SAAS,CAAO;IAQhB,SAAS,CAAO;CACjB,CAAA;AAjKY,0CAAe;AAE1B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;2CACpB;AAMX;I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AAC;8BACvD,IAAI;oDAAC;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAQlC;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;kDAAC;AAQhB;IANC,IAAA,0BAAgB,EAAC;QAChB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB;KACnC,CAAC;8BACS,IAAI;kDAAC;0BAhKL,eAAe;IAJ3B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;IAC3B,IAAA,eAAK,EAAC,CAAC,mBAAmB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,eAAK,EAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACnC,IAAA,eAAK,EAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;GAClB,eAAe,CAiK3B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum CapaUserType {
|
|
2
|
+
INDIVIDUAL = "INDIVIDUAL",
|
|
3
|
+
BUSINESS = "BUSINESS"
|
|
4
|
+
}
|
|
5
|
+
export declare class CapaUser {
|
|
6
|
+
id: string;
|
|
7
|
+
capaUserId: string;
|
|
8
|
+
type: CapaUserType;
|
|
9
|
+
email: string;
|
|
10
|
+
externalUserId: string;
|
|
11
|
+
alias?: string;
|
|
12
|
+
metadata: Record<string, unknown>;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=capa-user.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capa-user.entity.d.ts","sourceRoot":"","sources":["../../src/entities/capa-user.entity.ts"],"names":[],"mappings":"AAWA,oBAAY,YAAY;IACtB,UAAU,eAAe;IACzB,QAAQ,aAAa;CACtB;AAED,qBAGa,QAAQ;IAGnB,EAAE,EAAE,MAAM,CAAC;IAOX,UAAU,EAAE,MAAM,CAAC;IASnB,IAAI,EAAE,YAAY,CAAC;IAOnB,KAAK,EAAE,MAAM,CAAC;IAOd,cAAc,EAAE,MAAM,CAAC;IAMvB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IASlC,SAAS,EAAE,IAAI,CAAC;IAShB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CapaUser = exports.CapaUserType = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
var CapaUserType;
|
|
17
|
+
(function (CapaUserType) {
|
|
18
|
+
CapaUserType["INDIVIDUAL"] = "INDIVIDUAL";
|
|
19
|
+
CapaUserType["BUSINESS"] = "BUSINESS";
|
|
20
|
+
})(CapaUserType || (exports.CapaUserType = CapaUserType = {}));
|
|
21
|
+
let CapaUser = class CapaUser {
|
|
22
|
+
id;
|
|
23
|
+
capaUserId;
|
|
24
|
+
type;
|
|
25
|
+
email;
|
|
26
|
+
externalUserId;
|
|
27
|
+
alias;
|
|
28
|
+
metadata;
|
|
29
|
+
createdAt;
|
|
30
|
+
updatedAt;
|
|
31
|
+
};
|
|
32
|
+
exports.CapaUser = CapaUser;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
35
|
+
(0, class_transformer_1.Exclude)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CapaUser.prototype, "id", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'capaUserId' }),
|
|
43
|
+
(0, typeorm_1.Index)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CapaUser.prototype, "capaUserId", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
(0, class_validator_1.IsEnum)(CapaUserType),
|
|
49
|
+
(0, typeorm_1.Column)({
|
|
50
|
+
type: 'enum',
|
|
51
|
+
enum: CapaUserType,
|
|
52
|
+
nullable: false,
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CapaUser.prototype, "type", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
60
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
61
|
+
(0, typeorm_1.Index)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CapaUser.prototype, "email", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
68
|
+
(0, typeorm_1.Column)({ nullable: false, name: 'externalUserId' }),
|
|
69
|
+
(0, typeorm_1.Index)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CapaUser.prototype, "externalUserId", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_validator_1.IsString)(),
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], CapaUser.prototype, "alias", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
81
|
+
(0, class_transformer_1.Exclude)(),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], CapaUser.prototype, "metadata", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.CreateDateColumn)({
|
|
86
|
+
name: 'createdAt',
|
|
87
|
+
nullable: false,
|
|
88
|
+
type: 'timestamptz',
|
|
89
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
90
|
+
}),
|
|
91
|
+
(0, class_transformer_1.Exclude)(),
|
|
92
|
+
__metadata("design:type", Date)
|
|
93
|
+
], CapaUser.prototype, "createdAt", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.UpdateDateColumn)({
|
|
96
|
+
name: 'updatedAt',
|
|
97
|
+
nullable: false,
|
|
98
|
+
type: 'timestamptz',
|
|
99
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
100
|
+
}),
|
|
101
|
+
(0, class_transformer_1.Exclude)(),
|
|
102
|
+
__metadata("design:type", Date)
|
|
103
|
+
], CapaUser.prototype, "updatedAt", void 0);
|
|
104
|
+
exports.CapaUser = CapaUser = __decorate([
|
|
105
|
+
(0, typeorm_1.Entity)('capa_users'),
|
|
106
|
+
(0, typeorm_1.Index)(['externalUserId'], { unique: true }),
|
|
107
|
+
(0, typeorm_1.Index)(['capaUserId'], { unique: true })
|
|
108
|
+
], CapaUser);
|
|
109
|
+
//# sourceMappingURL=capa-user.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capa-user.entity.js","sourceRoot":"","sources":["../../src/entities/capa-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,qDAA2E;AAC3E,qCAOiB;AAEjB,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,yCAAyB,CAAA;IACzB,qCAAqB,CAAA;AACvB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAKM,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAGnB,EAAE,CAAS;IAOX,UAAU,CAAS;IASnB,IAAI,CAAe;IAOnB,KAAK,CAAS;IAOd,cAAc,CAAS;IAMvB,KAAK,CAAU;IAIf,QAAQ,CAA0B;IASlC,SAAS,CAAO;IAShB,SAAS,CAAO;CACjB,CAAA;AA9DY,4BAAQ;AAGnB;IAFC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,2BAAO,GAAE;;oCACC;AAOX;IALC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IAC/C,IAAA,eAAK,GAAE;;4CACW;AASnB;IAPC,IAAA,0BAAM,GAAE;IACR,IAAA,wB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