@heliofi/common 0.1.89 → 0.1.91
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/src/domain/model/apiKey/dtos/updateApiKey.dto.d.ts +2 -2
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js +1 -1
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js.map +1 -1
- package/dist/src/domain/model/contact/dtos/createContact.dto.js +0 -1
- package/dist/src/domain/model/contact/dtos/createContact.dto.js.map +1 -1
- package/dist/src/domain/model/contact/dtos/updateContact.dto.js +0 -1
- package/dist/src/domain/model/contact/dtos/updateContact.dto.js.map +1 -1
- package/dist/src/domain/model/contact/entities/Contact.entity.d.ts +2 -3
- package/dist/src/domain/model/contact/entities/Contact.entity.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.d.ts +10 -8
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.js +8 -0
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.d.ts +10 -8
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.js +6 -0
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.js.map +1 -1
- package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +10 -8
- package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +1 -1
- package/dist/src/domain/model/currency/entities/CurrencyType.d.ts +4 -0
- package/dist/src/domain/model/currency/entities/CurrencyType.js +9 -0
- package/dist/src/domain/model/currency/entities/CurrencyType.js.map +1 -0
- package/dist/src/domain/model/currency/entities/index.d.ts +1 -0
- package/dist/src/domain/model/currency/entities/index.js +1 -0
- package/dist/src/domain/model/currency/entities/index.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +2 -0
- package/dist/src/domain/model/index.js +2 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.d.ts +11 -0
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js +63 -0
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js.map +1 -0
- package/dist/src/domain/model/invoice/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/invoice/dtos/index.js +19 -0
- package/dist/src/domain/model/invoice/dtos/index.js.map +1 -0
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.d.ts +11 -0
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js +63 -0
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js.map +1 -0
- package/dist/src/domain/model/invoice/entities/Invoice.entity.d.ts +15 -0
- package/dist/src/domain/model/invoice/entities/Invoice.entity.js +8 -0
- package/dist/src/domain/model/invoice/entities/Invoice.entity.js.map +1 -0
- package/dist/src/domain/model/invoice/entities/InvoiceStatus.d.ts +5 -0
- package/dist/src/domain/model/invoice/entities/InvoiceStatus.js +10 -0
- package/dist/src/domain/model/invoice/entities/InvoiceStatus.js.map +1 -0
- package/dist/src/domain/model/invoice/entities/index.d.ts +2 -0
- package/dist/src/domain/model/invoice/entities/index.js +19 -0
- package/dist/src/domain/model/invoice/entities/index.js.map +1 -0
- package/dist/src/domain/model/invoice/index.d.ts +2 -0
- package/dist/src/domain/model/invoice/index.js +19 -0
- package/dist/src/domain/model/invoice/index.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/invoiceItem/dtos/index.js +18 -0
- package/dist/src/domain/model/invoiceItem/dtos/index.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.d.ts +7 -0
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.js +44 -0
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.d.ts +7 -0
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.js +21 -0
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/entities/index.d.ts +1 -0
- package/dist/src/domain/model/invoiceItem/entities/index.js +18 -0
- package/dist/src/domain/model/invoiceItem/entities/index.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/index.d.ts +2 -0
- package/dist/src/domain/model/invoiceItem/index.js +19 -0
- package/dist/src/domain/model/invoiceItem/index.js.map +1 -0
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +8 -6
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +14 -14
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +19 -19
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +18 -18
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/Paystream.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +4 -4
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +10 -8
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithMeta.d.ts +9 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithMeta.js +32 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithMeta.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.d.ts +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js.map +1 -1
- package/dist/src/domain/model/webhook/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/index.js +1 -0
- package/dist/src/domain/model/webhook/index.js.map +1 -1
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/CreateStreamTransactionHook.dto.d.ts +6 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/CreateStreamTransactionHook.dto.js +31 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/CreateStreamTransactionHook.dto.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/index.js +18 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/index.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.d.ts +7 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js +13 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.d.ts +7 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.js +13 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.d.ts +7 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.js +8 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionEvent.entity.d.ts +4 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionEvent.entity.js +9 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionEvent.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.d.ts +11 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.js +8 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/index.d.ts +5 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/index.js +22 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/index.js.map +1 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/index.d.ts +2 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/index.js +19 -0
- package/dist/src/domain/model/webhook/stream-transaction-hook/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -16,7 +16,7 @@ class UpdateApiKeyDto {
|
|
|
16
16
|
__decorate([
|
|
17
17
|
(0, class_validator_1.IsOptional)(),
|
|
18
18
|
(0, class_validator_1.IsNumber)(),
|
|
19
|
-
__metadata("design:type",
|
|
19
|
+
__metadata("design:type", Date)
|
|
20
20
|
], UpdateApiKeyDto.prototype, "expiration", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/updateApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE
|
|
1
|
+
{"version":3,"file":"updateApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/updateApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;8BACE,IAAI;mDAAC;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAPrB,0CAQC"}
|
|
@@ -46,7 +46,6 @@ __decorate([
|
|
|
46
46
|
__metadata("design:type", String)
|
|
47
47
|
], CreateContactDto.prototype, "company", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNotEmptyObject)(),
|
|
50
49
|
(0, class_transformer_1.Type)(() => contactAddress_1.ContactAddressDto),
|
|
51
50
|
(0, class_validator_1.ValidateNested)(),
|
|
52
51
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createContact.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/dtos/createContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"createContact.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/dtos/createContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAMyB;AACzB,yDAAyD;AAEzD,MAAa,gBAAgB;CA6B5B;AA5BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACM;AAEjB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACH,kCAAiB;iDAAC;AA5B9B,4CA6BC"}
|
|
@@ -41,7 +41,6 @@ __decorate([
|
|
|
41
41
|
__metadata("design:type", String)
|
|
42
42
|
], UpdateContactDto.prototype, "discordUsername", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
(0, class_validator_1.IsNotEmptyObject)(),
|
|
45
44
|
(0, class_validator_1.IsOptional)(),
|
|
46
45
|
(0, class_transformer_1.Type)(() => contactAddress_1.ContactAddressDto),
|
|
47
46
|
(0, class_validator_1.ValidateNested)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateContact.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/dtos/updateContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"updateContact.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/dtos/updateContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAgF;AAChF,yDAAyD;AAEzD,MAAa,gBAAgB;CAyB5B;AAxBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACM;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACP,kCAAiB;iDAAC;AAxB9B,4CAyBC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ContactAddress } from '../../contactAddress';
|
|
2
2
|
import { Entity } from '../../entity';
|
|
3
3
|
export declare class Contact extends Entity {
|
|
4
|
-
id
|
|
4
|
+
id?: string;
|
|
5
5
|
fullName: string;
|
|
6
6
|
email: string;
|
|
7
7
|
publicKey: string;
|
|
8
8
|
twitterUsername: string;
|
|
9
9
|
discordUsername: string;
|
|
10
|
-
totalCharged
|
|
10
|
+
totalCharged?: number;
|
|
11
11
|
address: ContactAddress;
|
|
12
12
|
company?: string;
|
|
13
|
-
archived?: boolean;
|
|
14
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contact.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/entities/Contact.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAEtC,MAAa,OAAQ,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"Contact.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/contact/entities/Contact.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAEtC,MAAa,OAAQ,SAAQ,eAAM;CAkBlC;AAlBD,0BAkBC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { CurrencyType } from '../entities';
|
|
1
2
|
export declare class CreateCurrencyDto {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
symbol: string;
|
|
4
|
+
name: string;
|
|
5
|
+
mintAddress: string;
|
|
6
|
+
blockchain: string;
|
|
7
|
+
coinMarketCapId?: number;
|
|
8
|
+
decimals: number;
|
|
9
|
+
symbolPrefix?: string;
|
|
10
|
+
order: number;
|
|
11
|
+
type?: CurrencyType;
|
|
10
12
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateCurrencyDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entities_1 = require("../entities");
|
|
14
15
|
class CreateCurrencyDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
@@ -22,10 +23,12 @@ __decorate([
|
|
|
22
23
|
__metadata("design:type", String)
|
|
23
24
|
], CreateCurrencyDto.prototype, "name", void 0);
|
|
24
25
|
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
27
|
(0, class_validator_1.IsString)(),
|
|
26
28
|
__metadata("design:type", String)
|
|
27
29
|
], CreateCurrencyDto.prototype, "mintAddress", void 0);
|
|
28
30
|
__decorate([
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
32
|
(0, class_validator_1.IsString)(),
|
|
30
33
|
__metadata("design:type", String)
|
|
31
34
|
], CreateCurrencyDto.prototype, "blockchain", void 0);
|
|
@@ -47,5 +50,10 @@ __decorate([
|
|
|
47
50
|
(0, class_validator_1.IsNumber)(),
|
|
48
51
|
__metadata("design:type", Number)
|
|
49
52
|
], CreateCurrencyDto.prototype, "order", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], CreateCurrencyDto.prototype, "type", void 0);
|
|
50
58
|
exports.CreateCurrencyDto = CreateCurrencyDto;
|
|
51
59
|
//# sourceMappingURL=createCurrency.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/createCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;
|
|
1
|
+
{"version":3,"file":"createCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/createCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,0CAA2C;AAE3C,MAAa,iBAAiB;CAgC7B;AA/BC;IAAC,IAAA,0BAAQ,GAAE;;iDACI;AAEf;IAAC,IAAA,0BAAQ,GAAE;;+CACE;AAEb;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;;mDACM;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACW;AAEtB;IAAC,IAAA,0BAAQ,GAAE;;gDACG;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACS;AA/BtB,8CAgCC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { CurrencyType } from '../entities';
|
|
1
2
|
export declare class UpdateCurrencyDto {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
symbol?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
mintAddress?: string;
|
|
6
|
+
blockchain?: string;
|
|
7
|
+
coinMarketCapId?: number;
|
|
8
|
+
decimals?: number;
|
|
9
|
+
symbolPrefix?: string;
|
|
10
|
+
order?: number;
|
|
11
|
+
type?: CurrencyType;
|
|
10
12
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateCurrencyDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entities_1 = require("../entities");
|
|
14
15
|
class UpdateCurrencyDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
@@ -53,5 +54,10 @@ __decorate([
|
|
|
53
54
|
(0, class_validator_1.IsNumber)(),
|
|
54
55
|
__metadata("design:type", Number)
|
|
55
56
|
], UpdateCurrencyDto.prototype, "order", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], UpdateCurrencyDto.prototype, "type", void 0);
|
|
56
62
|
exports.UpdateCurrencyDto = UpdateCurrencyDto;
|
|
57
63
|
//# sourceMappingURL=updateCurrency.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/updateCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;
|
|
1
|
+
{"version":3,"file":"updateCurrency.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/dtos/updateCurrency.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,0CAA2C;AAE3C,MAAa,iBAAiB;CAoC7B;AAnCC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAEhB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACU;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACc;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACO;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACW;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACI;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACS;AAnCtB,8CAoCC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
|
+
import { CurrencyType } from './CurrencyType';
|
|
2
3
|
export declare class BaseCurrency extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
id: string;
|
|
5
|
+
symbol: string;
|
|
6
|
+
name: string;
|
|
7
|
+
mintAddress?: string;
|
|
8
|
+
coinMarketCapId: number;
|
|
9
|
+
decimals: number;
|
|
10
|
+
symbolPrefix?: string;
|
|
11
|
+
order: number;
|
|
12
|
+
type?: CurrencyType;
|
|
11
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCurrency.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/BaseCurrency.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;
|
|
1
|
+
{"version":3,"file":"BaseCurrency.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/BaseCurrency.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,YAAa,SAAQ,eAAM;CAkBvC;AAlBD,oCAkBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrencyType = void 0;
|
|
4
|
+
var CurrencyType;
|
|
5
|
+
(function (CurrencyType) {
|
|
6
|
+
CurrencyType["FIAT"] = "FIAT";
|
|
7
|
+
CurrencyType["DIGITAL"] = "DIGITAL";
|
|
8
|
+
})(CurrencyType = exports.CurrencyType || (exports.CurrencyType = {}));
|
|
9
|
+
//# sourceMappingURL=CurrencyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyType.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Currency"), exports);
|
|
18
18
|
__exportStar(require("./BaseCurrency"), exports);
|
|
19
|
+
__exportStar(require("./CurrencyType"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B"}
|
|
@@ -57,4 +57,6 @@ __exportStar(require("./contactCompany"), exports);
|
|
|
57
57
|
__exportStar(require("./webhook"), exports);
|
|
58
58
|
__exportStar(require("./token-quoting"), exports);
|
|
59
59
|
__exportStar(require("./fixed-currency"), exports);
|
|
60
|
+
__exportStar(require("./invoice"), exports);
|
|
61
|
+
__exportStar(require("./invoiceItem"), exports);
|
|
60
62
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InvoiceItemDto } from '../../invoiceItem';
|
|
2
|
+
export declare class CreateInvoiceDto {
|
|
3
|
+
contact: string;
|
|
4
|
+
dueDate: Date;
|
|
5
|
+
date: Date;
|
|
6
|
+
currency: string;
|
|
7
|
+
items: InvoiceItemDto[];
|
|
8
|
+
invoiceNumber?: number;
|
|
9
|
+
description?: string;
|
|
10
|
+
taxPercentage?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.CreateInvoiceDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const invoiceItem_1 = require("../../invoiceItem");
|
|
16
|
+
class CreateInvoiceDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateInvoiceDto.prototype, "contact", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
25
|
+
(0, class_validator_1.IsDate)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], CreateInvoiceDto.prototype, "dueDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
31
|
+
(0, class_validator_1.IsDate)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", Date)
|
|
34
|
+
], CreateInvoiceDto.prototype, "date", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateInvoiceDto.prototype, "currency", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => invoiceItem_1.InvoiceItemDto),
|
|
43
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], CreateInvoiceDto.prototype, "items", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], CreateInvoiceDto.prototype, "invoiceNumber", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CreateInvoiceDto.prototype, "description", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsNumber)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], CreateInvoiceDto.prototype, "taxPercentage", void 0);
|
|
62
|
+
exports.CreateInvoiceDto = CreateInvoiceDto;
|
|
63
|
+
//# sourceMappingURL=createInvoice.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/createInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAoC5B;AAnCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACJ,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACP,IAAI;8CAAC;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAc,CAAC;IAC1B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;;+CACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAnCzB,4CAoCC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./createInvoice.dto"), exports);
|
|
18
|
+
__exportStar(require("./updateInvoice.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InvoiceItemDto } from '../../invoiceItem';
|
|
2
|
+
export declare class UpdateInvoiceDto {
|
|
3
|
+
contact: string;
|
|
4
|
+
dueDate: Date;
|
|
5
|
+
date: Date;
|
|
6
|
+
currency: string;
|
|
7
|
+
invoiceNumber?: number;
|
|
8
|
+
description?: string;
|
|
9
|
+
taxPercentage?: number;
|
|
10
|
+
items?: InvoiceItemDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.UpdateInvoiceDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const invoiceItem_1 = require("../../invoiceItem");
|
|
16
|
+
class UpdateInvoiceDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], UpdateInvoiceDto.prototype, "contact", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
25
|
+
(0, class_validator_1.IsDate)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], UpdateInvoiceDto.prototype, "dueDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
31
|
+
(0, class_validator_1.IsDate)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", Date)
|
|
34
|
+
], UpdateInvoiceDto.prototype, "date", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateInvoiceDto.prototype, "currency", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], UpdateInvoiceDto.prototype, "invoiceNumber", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], UpdateInvoiceDto.prototype, "description", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], UpdateInvoiceDto.prototype, "taxPercentage", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
57
|
+
(0, class_transformer_1.Type)(() => invoiceItem_1.InvoiceItemDto),
|
|
58
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], UpdateInvoiceDto.prototype, "items", void 0);
|
|
62
|
+
exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
|
63
|
+
//# sourceMappingURL=updateInvoice.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/updateInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAoC5B;AAnCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACJ,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACP,IAAI;8CAAC;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAc,CAAC;IAC1B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;;+CACY;AAnC3B,4CAoCC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Contact } from '../../contact';
|
|
2
|
+
import { InvoiceItem } from '../../invoiceItem';
|
|
3
|
+
import { BaseCurrency } from '../../currency';
|
|
4
|
+
import { InvoiceStatus } from './InvoiceStatus';
|
|
5
|
+
import { BasePaymentRequest } from '../../payment-request';
|
|
6
|
+
export declare class Invoice extends BasePaymentRequest {
|
|
7
|
+
contact: Contact;
|
|
8
|
+
date: string;
|
|
9
|
+
dueDate: string;
|
|
10
|
+
currency: BaseCurrency;
|
|
11
|
+
items: InvoiceItem[];
|
|
12
|
+
status: InvoiceStatus;
|
|
13
|
+
invoiceNumber?: number;
|
|
14
|
+
taxPercentage?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Invoice = void 0;
|
|
4
|
+
const payment_request_1 = require("../../payment-request");
|
|
5
|
+
class Invoice extends payment_request_1.BasePaymentRequest {
|
|
6
|
+
}
|
|
7
|
+
exports.Invoice = Invoice;
|
|
8
|
+
//# sourceMappingURL=Invoice.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Invoice.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/entities/Invoice.entity.ts"],"names":[],"mappings":";;;AAIA,2DAA2D;AAE3D,MAAa,OAAQ,SAAQ,oCAAkB;CAgB9C;AAhBD,0BAgBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvoiceStatus = void 0;
|
|
4
|
+
var InvoiceStatus;
|
|
5
|
+
(function (InvoiceStatus) {
|
|
6
|
+
InvoiceStatus["PAID"] = "PAID";
|
|
7
|
+
InvoiceStatus["UNPAID"] = "UNPAID";
|
|
8
|
+
InvoiceStatus["CANCELLED"] = "CANCELLED";
|
|
9
|
+
})(InvoiceStatus = exports.InvoiceStatus || (exports.InvoiceStatus = {}));
|
|
10
|
+
//# sourceMappingURL=InvoiceStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoiceStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/entities/InvoiceStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;AACzB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./InvoiceStatus"), exports);
|
|
18
|
+
__exportStar(require("./Invoice.entity"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,mDAAiC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./dtos"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/invoice/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './invoiceItem.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./invoiceItem.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|