@heliofi/common 0.1.101 → 0.1.102
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/constants/fixedPriceTokens.js +8 -0
- package/dist/src/domain/constants/fixedPriceTokens.js.map +1 -1
- package/dist/src/domain/model/customer-details/entities/Address.d.ts +6 -0
- package/dist/src/domain/model/customer-details/entities/Address.js +8 -0
- package/dist/src/domain/model/customer-details/entities/Address.js.map +1 -0
- package/dist/src/domain/model/index.d.ts +3 -2
- package/dist/src/domain/model/index.js +3 -2
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.d.ts +2 -2
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js +4 -2
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.d.ts +1 -1
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js +3 -1
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/dtos/createInvoiceTx.dto.d.ts +6 -0
- package/dist/src/domain/model/{prepare-transaction/dtos/prepareTransaction.dto.js → invoice-tx/dtos/createInvoiceTx.dto.js} +12 -19
- package/dist/src/domain/model/invoice-tx/dtos/createInvoiceTx.dto.js.map +1 -0
- package/dist/src/domain/model/invoice-tx/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/{prepare-transaction/entities → invoice-tx/dtos}/index.js +1 -2
- package/dist/src/domain/model/invoice-tx/dtos/index.js.map +1 -0
- package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.d.ts +8 -0
- package/dist/src/domain/model/{prepare-stream/dtos/cancelStreamPrepare.dto.js → invoice-tx/entities/BaseInvoiceTx.js} +9 -9
- package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.js.map +1 -0
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +7 -0
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +8 -0
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -0
- package/dist/src/domain/model/invoice-tx/entities/index.d.ts +2 -0
- package/dist/src/domain/model/invoice-tx/entities/index.js +19 -0
- package/dist/src/domain/model/invoice-tx/entities/index.js.map +1 -0
- package/dist/src/domain/model/{prepare-stream → invoice-tx}/index.d.ts +0 -0
- package/dist/src/domain/model/{prepare-stream → invoice-tx}/index.js +0 -0
- package/dist/src/domain/model/invoice-tx/index.js.map +1 -0
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.d.ts +5 -2
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.js +2 -1
- package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +6 -4
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.d.ts +2 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.js +1 -0
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +2 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +6 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +2 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +6 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js.map +1 -1
- package/dist/src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.d.ts +3 -1
- package/dist/src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.js +12 -2
- package/dist/src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.js.map +1 -1
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackend.dto.d.ts +2 -1
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackend.dto.js +6 -1
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackend.dto.js.map +1 -1
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.dto.d.ts +2 -1
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.dto.js +7 -2
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.dto.js.map +1 -1
- package/dist/src/domain/model/submit-invoice/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/submit-invoice/dtos/index.js +6 -0
- package/dist/src/domain/model/submit-invoice/dtos/index.js.map +1 -0
- package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.d.ts +10 -0
- package/dist/src/domain/model/{prepare-stream/dtos/createStreamPrepare.dto.js → submit-invoice/dtos/submitInvoice.dto.js} +21 -20
- package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.js.map +1 -0
- package/dist/src/domain/model/submit-invoice/entities/SuccessfulInvoicePayment.d.ts +3 -0
- package/dist/src/domain/model/submit-invoice/entities/SuccessfulInvoicePayment.js +3 -0
- package/dist/src/domain/model/submit-invoice/entities/SuccessfulInvoicePayment.js.map +1 -0
- package/dist/src/domain/model/submit-invoice/entities/index.d.ts +1 -0
- package/dist/src/domain/model/submit-invoice/entities/index.js +18 -0
- package/dist/src/domain/model/submit-invoice/entities/index.js.map +1 -0
- package/dist/src/domain/model/{prepare-transaction → submit-invoice}/index.d.ts +0 -0
- package/dist/src/domain/model/{prepare-transaction → submit-invoice}/index.js +0 -0
- package/dist/src/domain/model/submit-invoice/index.js.map +1 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js +0 -6
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.d.ts +4 -0
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js +8 -0
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js.map +1 -0
- package/dist/src/domain/model/token-swap/entities/index.d.ts +1 -0
- package/dist/src/domain/model/{prepare-stream → token-swap}/entities/index.js +1 -1
- package/dist/src/domain/model/token-swap/entities/index.js.map +1 -0
- package/dist/src/domain/model/token-swap/index.d.ts +1 -0
- package/dist/src/domain/model/token-swap/index.js +18 -0
- package/dist/src/domain/model/token-swap/index.js.map +1 -0
- package/dist/src/domain/services/index.d.ts +0 -1
- package/dist/src/domain/services/index.js +0 -1
- package/dist/src/domain/services/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/prepare-stream/dtos/cancelStreamPrepare.dto.d.ts +0 -3
- package/dist/src/domain/model/prepare-stream/dtos/cancelStreamPrepare.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.d.ts +0 -9
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/dtos/index.d.ts +0 -3
- package/dist/src/domain/model/prepare-stream/dtos/index.js +0 -20
- package/dist/src/domain/model/prepare-stream/dtos/index.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/dtos/withdrawStreamPrepare.dto.d.ts +0 -3
- package/dist/src/domain/model/prepare-stream/dtos/withdrawStreamPrepare.dto.js +0 -22
- package/dist/src/domain/model/prepare-stream/dtos/withdrawStreamPrepare.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +0 -5
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +0 -8
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/index.d.ts +0 -1
- package/dist/src/domain/model/prepare-stream/entities/index.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/index.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/index.js +0 -6
- package/dist/src/domain/model/prepare-transaction/dtos/index.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.d.ts +0 -7
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js +0 -8
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +0 -8
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/index.d.ts +0 -2
- package/dist/src/domain/model/prepare-transaction/entities/index.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/index.js.map +0 -1
|
@@ -4,10 +4,18 @@ exports.FixedPriceTokens = void 0;
|
|
|
4
4
|
exports.FixedPriceTokens = [
|
|
5
5
|
'USDC',
|
|
6
6
|
'USDT',
|
|
7
|
+
'mSOL',
|
|
8
|
+
'RAY',
|
|
9
|
+
'AUDIO',
|
|
7
10
|
'SOL',
|
|
8
11
|
'DUST',
|
|
9
12
|
'FORGE',
|
|
10
13
|
'STYLE',
|
|
11
14
|
'FOXY',
|
|
15
|
+
'JPY',
|
|
16
|
+
'CNY',
|
|
17
|
+
'CAD',
|
|
18
|
+
'AUD',
|
|
19
|
+
'CHF',
|
|
12
20
|
];
|
|
13
21
|
//# sourceMappingURL=fixedPriceTokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedPriceTokens.js","sourceRoot":"","sources":["../../../../src/domain/constants/fixedPriceTokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;
|
|
1
|
+
{"version":3,"file":"fixedPriceTokens.js","sourceRoot":"","sources":["../../../../src/domain/constants/fixedPriceTokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,OAAO;IACP,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Address = void 0;
|
|
4
|
+
const CustomerDetails_1 = require("./CustomerDetails");
|
|
5
|
+
class Address extends CustomerDetails_1.CustomerDetails {
|
|
6
|
+
}
|
|
7
|
+
exports.Address = Address;
|
|
8
|
+
//# sourceMappingURL=Address.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../../../../src/domain/model/customer-details/entities/Address.ts"],"names":[],"mappings":";;;AAAA,uDAAoD;AAEpD,MAAa,OAAQ,SAAQ,iCAAe;CAM3C;AAND,0BAMC"}
|
|
@@ -39,9 +39,10 @@ export * from './contact';
|
|
|
39
39
|
export * from './contactAddress';
|
|
40
40
|
export * from './contactCompany';
|
|
41
41
|
export * from './webhook';
|
|
42
|
-
export * from './prepare-transaction';
|
|
43
42
|
export * from './token-quoting';
|
|
44
43
|
export * from './fixed-currency';
|
|
45
44
|
export * from './invoice';
|
|
46
45
|
export * from './invoiceItem';
|
|
47
|
-
export * from './
|
|
46
|
+
export * from './submit-invoice';
|
|
47
|
+
export * from './invoice-tx';
|
|
48
|
+
export * from './token-swap';
|
|
@@ -55,10 +55,11 @@ __exportStar(require("./contact"), exports);
|
|
|
55
55
|
__exportStar(require("./contactAddress"), exports);
|
|
56
56
|
__exportStar(require("./contactCompany"), exports);
|
|
57
57
|
__exportStar(require("./webhook"), exports);
|
|
58
|
-
__exportStar(require("./prepare-transaction"), exports);
|
|
59
58
|
__exportStar(require("./token-quoting"), exports);
|
|
60
59
|
__exportStar(require("./fixed-currency"), exports);
|
|
61
60
|
__exportStar(require("./invoice"), exports);
|
|
62
61
|
__exportStar(require("./invoiceItem"), exports);
|
|
63
|
-
__exportStar(require("./
|
|
62
|
+
__exportStar(require("./submit-invoice"), exports);
|
|
63
|
+
__exportStar(require("./invoice-tx"), exports);
|
|
64
|
+
__exportStar(require("./token-swap"), exports);
|
|
64
65
|
//# 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,
|
|
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;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -24,12 +24,14 @@ __decorate([
|
|
|
24
24
|
(0, class_transformer_1.Type)(() => Date),
|
|
25
25
|
(0, class_validator_1.IsDate)(),
|
|
26
26
|
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_1.MinDate)(new Date()),
|
|
27
28
|
__metadata("design:type", Date)
|
|
28
29
|
], CreateInvoiceDto.prototype, "dueDate", void 0);
|
|
29
30
|
__decorate([
|
|
30
31
|
(0, class_transformer_1.Type)(() => Date),
|
|
31
32
|
(0, class_validator_1.IsDate)(),
|
|
32
33
|
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.MinDate)(new Date()),
|
|
33
35
|
__metadata("design:type", Date)
|
|
34
36
|
], CreateInvoiceDto.prototype, "date", void 0);
|
|
35
37
|
__decorate([
|
|
@@ -38,14 +40,14 @@ __decorate([
|
|
|
38
40
|
__metadata("design:type", String)
|
|
39
41
|
], CreateInvoiceDto.prototype, "currency", void 0);
|
|
40
42
|
__decorate([
|
|
41
|
-
(0, class_validator_1.
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
44
|
(0, class_transformer_1.Type)(() => invoiceItem_1.InvoiceItemDto),
|
|
43
45
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
44
46
|
__metadata("design:type", Array)
|
|
45
47
|
], CreateInvoiceDto.prototype, "items", void 0);
|
|
46
48
|
__decorate([
|
|
47
49
|
(0, class_validator_1.IsNumber)(),
|
|
48
|
-
(0, class_validator_1.
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
51
|
__metadata("design:type", Number)
|
|
50
52
|
], CreateInvoiceDto.prototype, "invoiceNumber", void 0);
|
|
51
53
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/createInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/createInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAqC5B;AApCC;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;IACZ,IAAA,yBAAO,EAAC,IAAI,IAAI,EAAE,CAAC;8BACX,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,IAAI,IAAI,EAAE,CAAC;8BACd,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;;+CACP;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AApCzB,4CAqCC"}
|
|
@@ -24,12 +24,14 @@ __decorate([
|
|
|
24
24
|
(0, class_transformer_1.Type)(() => Date),
|
|
25
25
|
(0, class_validator_1.IsDate)(),
|
|
26
26
|
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.MinDate)(new Date()),
|
|
27
28
|
__metadata("design:type", Date)
|
|
28
29
|
], UpdateInvoiceDto.prototype, "dueDate", void 0);
|
|
29
30
|
__decorate([
|
|
30
31
|
(0, class_transformer_1.Type)(() => Date),
|
|
31
32
|
(0, class_validator_1.IsDate)(),
|
|
32
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.MinDate)(new Date()),
|
|
33
35
|
__metadata("design:type", Date)
|
|
34
36
|
], UpdateInvoiceDto.prototype, "date", void 0);
|
|
35
37
|
__decorate([
|
|
@@ -39,7 +41,7 @@ __decorate([
|
|
|
39
41
|
], UpdateInvoiceDto.prototype, "currency", void 0);
|
|
40
42
|
__decorate([
|
|
41
43
|
(0, class_validator_1.IsNumber)(),
|
|
42
|
-
(0, class_validator_1.
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
45
|
__metadata("design:type", Number)
|
|
44
46
|
], UpdateInvoiceDto.prototype, "invoiceNumber", void 0);
|
|
45
47
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/updateInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updateInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/updateInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAqC5B;AApCC;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;IACZ,IAAA,yBAAO,EAAC,IAAI,IAAI,EAAE,CAAC;8BACX,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,IAAI,IAAI,EAAE,CAAC;8BACd,IAAI;8CAAC;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACS;AAEtB;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;;+CACN;AApC3B,4CAqCC"}
|
|
@@ -9,35 +9,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
12
|
+
exports.CreateInvoiceTxDto = void 0;
|
|
14
13
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const transaction_meta_1 = require("../../transaction-meta");
|
|
16
|
+
class CreateInvoiceTxDto {
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, class_validator_1.IsString)(),
|
|
19
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
(0, class_transformer_1.Type)(() => transaction_meta_1.CreateTransactionMetaDto),
|
|
22
|
+
(0, class_validator_1.ValidateNested)(),
|
|
23
|
+
__metadata("design:type", transaction_meta_1.CreateTransactionMetaDto)
|
|
24
|
+
], CreateInvoiceTxDto.prototype, "meta", void 0);
|
|
22
25
|
__decorate([
|
|
23
26
|
(0, class_validator_1.IsString)(),
|
|
24
27
|
(0, class_validator_1.IsNotEmpty)(),
|
|
25
28
|
__metadata("design:type", String)
|
|
26
|
-
],
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], PrepareTransactionDto.prototype, "currency", void 0);
|
|
29
|
+
], CreateInvoiceTxDto.prototype, "invoice", void 0);
|
|
32
30
|
__decorate([
|
|
33
31
|
(0, class_validator_1.IsOptional)(),
|
|
34
32
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
35
33
|
__metadata("design:type", String)
|
|
36
|
-
],
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], PrepareTransactionDto.prototype, "quantity", void 0);
|
|
42
|
-
exports.PrepareTransactionDto = PrepareTransactionDto;
|
|
43
|
-
//# sourceMappingURL=prepareTransaction.dto.js.map
|
|
34
|
+
], CreateInvoiceTxDto.prototype, "fee", void 0);
|
|
35
|
+
exports.CreateInvoiceTxDto = CreateInvoiceTxDto;
|
|
36
|
+
//# sourceMappingURL=createInvoiceTx.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createInvoiceTx.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/dtos/createInvoiceTx.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,qDAKyB;AACzB,6DAAkE;AAElE,MAAa,kBAAkB;CAc9B;AAbC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACX,2CAAwB;gDAAC;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+CAC3B;AAbf,gDAcC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createInvoiceTx.dto';
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./TokenTransactionPayload"), exports);
|
|
17
|
+
__exportStar(require("./createInvoiceTx.dto"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -9,14 +9,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
exports.BaseInvoiceTx = void 0;
|
|
13
|
+
const entity_1 = require("../../entity");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class BaseInvoiceTx extends entity_1.Entity {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
|
-
(0,
|
|
18
|
-
(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=cancelStreamPrepare.dto.js.map
|
|
18
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
|
+
__metadata("design:type", BigInt)
|
|
20
|
+
], BaseInvoiceTx.prototype, "fee", void 0);
|
|
21
|
+
exports.BaseInvoiceTx = BaseInvoiceTx;
|
|
22
|
+
//# sourceMappingURL=BaseInvoiceTx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseInvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/BaseInvoiceTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AAEtC,yDAA8C;AAE9C,MAAa,aAAc,SAAQ,eAAM;CASxC;AANC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC3B;AAJf,sCASC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvoiceTx = void 0;
|
|
4
|
+
const BaseInvoiceTx_1 = require("./BaseInvoiceTx");
|
|
5
|
+
class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {
|
|
6
|
+
}
|
|
7
|
+
exports.InvoiceTx = InvoiceTx;
|
|
8
|
+
//# sourceMappingURL=InvoiceTx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAGhD,MAAa,SAAU,SAAQ,6BAAa;CAI3C;AAJD,8BAIC"}
|
|
@@ -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("./InvoiceTx"), exports);
|
|
18
|
+
__exportStar(require("./BaseInvoiceTx"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/invoice-tx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseAttachment } from '../../attachment';
|
|
2
|
+
import { Entity } from '../../entity';
|
|
3
|
+
export declare class InvoiceItem extends Entity {
|
|
4
|
+
id: string;
|
|
2
5
|
price: bigint;
|
|
3
6
|
name: string;
|
|
4
7
|
quantity: number;
|
|
5
|
-
|
|
8
|
+
image?: BaseAttachment;
|
|
6
9
|
description?: string;
|
|
7
10
|
}
|
|
@@ -11,7 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.InvoiceItem = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
|
+
class InvoiceItem extends entity_1.Entity {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/entities/InvoiceItem.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAE9C,MAAa,
|
|
1
|
+
{"version":3,"file":"InvoiceItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/entities/InvoiceItem.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAE9C,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAatC;AAVC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC1B;AAJhB,kCAaC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
|
+
import { FixedCurrency } from '../../fixed-currency';
|
|
2
3
|
export declare class BasePaymentRequest extends Entity {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
5
6
|
description?: string;
|
|
6
7
|
imageUrl?: string;
|
|
7
|
-
normalizedPrice
|
|
8
|
+
normalizedPrice: bigint;
|
|
8
9
|
maxTransactions?: number;
|
|
9
|
-
notifySenderByEmail
|
|
10
|
-
notifyReceiverByEmail
|
|
11
|
-
addDiscordRole
|
|
10
|
+
notifySenderByEmail: boolean;
|
|
11
|
+
notifyReceiverByEmail: boolean;
|
|
12
|
+
addDiscordRole: boolean;
|
|
12
13
|
disabled?: boolean;
|
|
13
14
|
createdAt?: string;
|
|
14
15
|
updatedAt?: string;
|
|
15
16
|
dynamic?: boolean;
|
|
16
17
|
nftCollectionAddress?: string;
|
|
18
|
+
fixedCurrency?: FixedCurrency;
|
|
17
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,yDAA8C;
|
|
1
|
+
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,yDAA8C;AAG9C,MAAa,kBAAmB,SAAQ,eAAM;CA+B7C;AAtBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAV1B,gDA+BC"}
|
|
@@ -5,5 +5,6 @@ var PaymentRequestType;
|
|
|
5
5
|
(function (PaymentRequestType) {
|
|
6
6
|
PaymentRequestType["PAYLINK"] = "PAYLINK";
|
|
7
7
|
PaymentRequestType["PAYSTREAM"] = "PAYSTREAM";
|
|
8
|
+
PaymentRequestType["INVOICE"] = "INVOICE";
|
|
8
9
|
})(PaymentRequestType = exports.PaymentRequestType || (exports.PaymentRequestType = {}));
|
|
9
10
|
//# sourceMappingURL=PaymentRequestType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequestType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequestType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"PaymentRequestType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequestType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;AACrB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
|
@@ -2,6 +2,7 @@ import { StreamFeaturesDto } from '../../stream-features';
|
|
|
2
2
|
import { IntervalType } from '../entities';
|
|
3
3
|
import { ProductDto } from '../../product';
|
|
4
4
|
import { ContentDto } from '../../content';
|
|
5
|
+
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
5
6
|
export declare class CreatePaystreamDto {
|
|
6
7
|
company: string;
|
|
7
8
|
name: string;
|
|
@@ -22,4 +23,5 @@ export declare class CreatePaystreamDto {
|
|
|
22
23
|
dynamic?: boolean;
|
|
23
24
|
product?: ProductDto | null;
|
|
24
25
|
nftCollectionAddress?: string;
|
|
26
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
25
27
|
}
|
|
@@ -16,6 +16,7 @@ const stream_features_1 = require("../../stream-features");
|
|
|
16
16
|
const entities_1 = require("../entities");
|
|
17
17
|
const product_1 = require("../../product");
|
|
18
18
|
const content_1 = require("../../content");
|
|
19
|
+
const fixed_currency_1 = require("../../fixed-currency");
|
|
19
20
|
class CreatePaystreamDto {
|
|
20
21
|
constructor() {
|
|
21
22
|
this.notifySenderByEmail = false;
|
|
@@ -121,5 +122,10 @@ __decorate([
|
|
|
121
122
|
(0, class_validator_1.IsOptional)(),
|
|
122
123
|
__metadata("design:type", String)
|
|
123
124
|
], CreatePaystreamDto.prototype, "nftCollectionAddress", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
127
|
+
(0, class_validator_1.IsOptional)(),
|
|
128
|
+
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
129
|
+
], CreatePaystreamDto.prototype, "fixedCurrency", void 0);
|
|
124
130
|
exports.CreatePaystreamDto = CreatePaystreamDto;
|
|
125
131
|
//# sourceMappingURL=createPaystream.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2DAA0D;AAC1D,0CAA2C;AAC3C,2CAA2C;AAC3C,2CAA2C;
|
|
1
|
+
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2DAA0D;AAC1D,0CAA2C;AAC3C,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AAExD,MAAa,kBAAkB;IAA/B;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAoDnC,CAAC;CAAA;AAlFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACoB;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;mDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAE7B;IAAC,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;mDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;yDAAC;AAlFnC,gDAmFC"}
|
|
@@ -2,6 +2,7 @@ import { StreamFeaturesDto } from '../../stream-features';
|
|
|
2
2
|
import { ProductDto } from '../../product';
|
|
3
3
|
import { ContentDto } from '../../content';
|
|
4
4
|
import { IntervalType } from '../entities';
|
|
5
|
+
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
5
6
|
export declare class UpdatePaystreamDto {
|
|
6
7
|
company?: string;
|
|
7
8
|
name?: string;
|
|
@@ -21,4 +22,5 @@ export declare class UpdatePaystreamDto {
|
|
|
21
22
|
maxTransactions?: number;
|
|
22
23
|
product?: ProductDto | null;
|
|
23
24
|
nftCollectionAddress?: string;
|
|
25
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
24
26
|
}
|
|
@@ -16,6 +16,7 @@ const stream_features_1 = require("../../stream-features");
|
|
|
16
16
|
const product_1 = require("../../product");
|
|
17
17
|
const content_1 = require("../../content");
|
|
18
18
|
const entities_1 = require("../entities");
|
|
19
|
+
const fixed_currency_1 = require("../../fixed-currency");
|
|
19
20
|
class UpdatePaystreamDto {
|
|
20
21
|
}
|
|
21
22
|
__decorate([
|
|
@@ -111,5 +112,10 @@ __decorate([
|
|
|
111
112
|
(0, class_validator_1.IsOptional)(),
|
|
112
113
|
__metadata("design:type", String)
|
|
113
114
|
], UpdatePaystreamDto.prototype, "nftCollectionAddress", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
118
|
+
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
119
|
+
], UpdatePaystreamDto.prototype, "fixedCurrency", void 0);
|
|
114
120
|
exports.UpdatePaystreamDto = UpdatePaystreamDto;
|
|
115
121
|
//# sourceMappingURL=updatePaystream.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/updatePaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2DAA0D;AAC1D,2CAA2C;AAC3C,2CAA2C;AAC3C,0CAA2C;
|
|
1
|
+
{"version":3,"file":"updatePaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/updatePaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2DAA0D;AAC1D,2CAA2C;AAC3C,2CAA2C;AAC3C,0CAA2C;AAC3C,yDAAwD;AAExD,MAAa,kBAAkB;CA+E9B;AA9EC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAEhB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;mDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAE7B;IAAC,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;mDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;yDAAC;AA9EnC,gDA+EC"}
|
|
@@ -14,11 +14,21 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
class CancelStreamBackendDto {
|
|
16
16
|
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CancelStreamBackendDto.prototype, "id", void 0);
|
|
17
22
|
__decorate([
|
|
18
23
|
(0, class_validator_1.IsString)(),
|
|
19
24
|
(0, class_validator_1.IsNotEmpty)(),
|
|
20
25
|
__metadata("design:type", String)
|
|
21
26
|
], CancelStreamBackendDto.prototype, "signedTransaction", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CancelStreamBackendDto.prototype, "paymentRequestId", void 0);
|
|
22
32
|
__decorate([
|
|
23
33
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
34
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
@@ -26,8 +36,8 @@ __decorate([
|
|
|
26
36
|
], CancelStreamBackendDto.prototype, "canceledAt", void 0);
|
|
27
37
|
__decorate([
|
|
28
38
|
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
40
|
__metadata("design:type", String)
|
|
31
|
-
], CancelStreamBackendDto.prototype, "
|
|
41
|
+
], CancelStreamBackendDto.prototype, "paymentAccount", void 0);
|
|
32
42
|
exports.CancelStreamBackendDto = CancelStreamBackendDto;
|
|
33
43
|
//# sourceMappingURL=cancelStreamBackend.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancelStreamBackend.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"cancelStreamBackend.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,yDAA8C;AAE9C,MAAa,sBAAsB;CAoBlC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0DACrB;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACU;AAnBzB,wDAoBC"}
|
|
@@ -2,8 +2,9 @@ import { CustomerDetailsDto } from '../../customer-details';
|
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
3
|
export declare class CreateStreamBackendDto {
|
|
4
4
|
signedTransaction: string;
|
|
5
|
+
paymentRequestId: string;
|
|
5
6
|
currency: string;
|
|
6
7
|
customerDetails: CustomerDetailsDto;
|
|
7
8
|
productDetails: ProductDetailsDto;
|
|
8
|
-
|
|
9
|
+
rateToken?: string;
|
|
9
10
|
}
|
|
@@ -21,6 +21,11 @@ __decorate([
|
|
|
21
21
|
(0, class_validator_1.IsNotEmpty)(),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], CreateStreamBackendDto.prototype, "signedTransaction", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateStreamBackendDto.prototype, "paymentRequestId", void 0);
|
|
24
29
|
__decorate([
|
|
25
30
|
(0, class_validator_1.IsString)(),
|
|
26
31
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -42,6 +47,6 @@ __decorate([
|
|
|
42
47
|
(0, class_validator_1.IsString)(),
|
|
43
48
|
(0, class_validator_1.IsOptional)(),
|
|
44
49
|
__metadata("design:type", String)
|
|
45
|
-
], CreateStreamBackendDto.prototype, "
|
|
50
|
+
], CreateStreamBackendDto.prototype, "rateToken", void 0);
|
|
46
51
|
exports.CreateStreamBackendDto = CreateStreamBackendDto;
|
|
47
52
|
//# sourceMappingURL=createStreamBackend.dto.js.map
|