@heliofi/common 0.1.143 → 0.1.144
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/auth/entities/AuthUser.d.ts +10 -10
- package/dist/src/domain/model/auth/entities/AuthUser.js +3 -3
- package/dist/src/domain/model/auth/entities/index.js +19 -35
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.d.ts +3 -0
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js +10 -0
- package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js.map +1 -0
- package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
- package/dist/src/domain/model/blockchain/constants/index.js +20 -35
- package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.d.ts +7 -0
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js +8 -0
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js.map +1 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.d.ts +5 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js +8 -0
- package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js.map +1 -0
- package/dist/src/domain/model/blockchain/entities/index.d.ts +2 -1
- package/dist/src/domain/model/blockchain/entities/index.js +19 -34
- package/dist/src/domain/model/blockchain/entities/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/index.js +20 -36
- package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +6 -0
- package/dist/src/domain/model/fee/entities/FeeProperties.js +3 -0
- package/dist/src/domain/model/fee/entities/FeeProperties.js.map +1 -0
- package/dist/src/domain/model/fee/entities/index.d.ts +1 -0
- package/dist/src/domain/model/fee/entities/index.js +20 -35
- package/dist/src/domain/model/fee/entities/index.js.map +1 -1
- package/dist/src/domain/model/fee/index.js +19 -35
- package/dist/src/domain/model/invoice/entities/EnrichedInvoice.entity.js +6 -5
- package/dist/src/domain/model/invoice/entities/Invoice.entity.d.ts +9 -9
- package/dist/src/domain/model/invoice/entities/Invoice.entity.js +6 -5
- package/dist/src/domain/model/invoice/entities/index.js +20 -36
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +8 -6
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +6 -5
- package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/entities/index.js +19 -35
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +9 -7
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +25 -56
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
- package/dist/src/domain/model/paylink-tx/entities/index.js +22 -38
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +11 -11
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js +6 -5
- package/dist/src/domain/model/payment-request/entities/index.js +22 -38
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +13 -11
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +30 -65
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +5 -3
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +6 -5
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/index.js +18 -34
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +5 -3
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +6 -5
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/entities/index.js +20 -36
- package/dist/src/domain/model/report/entities/ReportItem.d.ts +34 -32
- package/dist/src/domain/model/report/entities/ReportItem.js +5 -4
- package/dist/src/domain/model/report/entities/ReportItem.js.map +1 -1
- package/dist/src/domain/model/report/entities/index.js +18 -34
- package/dist/src/domain/model/wallet/entities/Wallet.d.ts +3 -1
- package/dist/src/domain/model/wallet/entities/Wallet.js +6 -5
- package/dist/src/domain/model/wallet/entities/Wallet.js.map +1 -1
- package/dist/src/domain/model/wallet/entities/index.js +20 -36
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvoiceTx = void 0;
|
|
4
|
-
const BaseInvoiceTx_1 = require(
|
|
5
|
-
class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {
|
|
4
|
+
const BaseInvoiceTx_1 = require("./BaseInvoiceTx");
|
|
5
|
+
class InvoiceTx extends BaseInvoiceTx_1.BaseInvoiceTx {
|
|
6
|
+
}
|
|
6
7
|
exports.InvoiceTx = InvoiceTx;
|
|
7
|
-
//# sourceMappingURL=InvoiceTx.js.map
|
|
8
|
+
//# sourceMappingURL=InvoiceTx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;
|
|
1
|
+
{"version":3,"file":"InvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/InvoiceTx.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAKhD,MAAa,SAAU,SAAQ,6BAAa;CAc3C;AAdD,8BAcC"}
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./InvoiceTx'), exports);
|
|
34
|
-
__exportStar(require('./BaseInvoiceTx'), exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
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
|
|
@@ -2,12 +2,14 @@ import { BasePaylinkTx } from './BasePaylinkTx';
|
|
|
2
2
|
import { ShallowEnrichedTransactionMeta } from '../../transaction-meta';
|
|
3
3
|
import { ShallowEnrichedPaylink } from '../../paylink';
|
|
4
4
|
import { Contact } from '../../contact';
|
|
5
|
+
import { BlockchainSymbol } from '../../blockchain';
|
|
5
6
|
export declare class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
meta: ShallowEnrichedTransactionMeta;
|
|
8
|
+
paylink: ShallowEnrichedPaylink;
|
|
9
|
+
contact?: Contact;
|
|
10
|
+
paymentRequestCreatorId: string;
|
|
11
|
+
paymentRequestName: string;
|
|
12
|
+
paymentRequestImageUrl?: string;
|
|
13
|
+
paymentRequestCurrencySymbol: string;
|
|
14
|
+
paymentRequestBlockchain: BlockchainSymbol;
|
|
13
15
|
}
|
|
@@ -1,59 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
r =
|
|
7
|
-
c < 3
|
|
8
|
-
? target
|
|
9
|
-
: desc === null
|
|
10
|
-
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
-
: desc,
|
|
12
|
-
d;
|
|
13
|
-
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else
|
|
16
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
-
if ((d = decorators[i]))
|
|
18
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
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;
|
|
19
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
-
|
|
21
|
-
var __metadata =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return Reflect.metadata(k, v);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
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 });
|
|
28
12
|
exports.PaylinkTxWithShallowEnrichedPaylink = void 0;
|
|
29
|
-
const BasePaylinkTx_1 = require(
|
|
30
|
-
const transaction_meta_1 = require(
|
|
31
|
-
const paylink_1 = require(
|
|
32
|
-
const class_transformer_1 = require(
|
|
33
|
-
class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx_1.BasePaylinkTx {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
(0, class_transformer_1.Type)(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
'design:type',
|
|
41
|
-
transaction_meta_1.ShallowEnrichedTransactionMeta,
|
|
42
|
-
),
|
|
43
|
-
],
|
|
44
|
-
PaylinkTxWithShallowEnrichedPaylink.prototype,
|
|
45
|
-
'meta',
|
|
46
|
-
void 0,
|
|
47
|
-
);
|
|
48
|
-
__decorate(
|
|
49
|
-
[
|
|
13
|
+
const BasePaylinkTx_1 = require("./BasePaylinkTx");
|
|
14
|
+
const transaction_meta_1 = require("../../transaction-meta");
|
|
15
|
+
const paylink_1 = require("../../paylink");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx_1.BasePaylinkTx {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Type)(() => transaction_meta_1.ShallowEnrichedTransactionMeta),
|
|
21
|
+
__metadata("design:type", transaction_meta_1.ShallowEnrichedTransactionMeta)
|
|
22
|
+
], PaylinkTxWithShallowEnrichedPaylink.prototype, "meta", void 0);
|
|
23
|
+
__decorate([
|
|
50
24
|
(0, class_transformer_1.Type)(() => paylink_1.ShallowEnrichedPaylink),
|
|
51
|
-
__metadata(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
void 0,
|
|
56
|
-
);
|
|
57
|
-
exports.PaylinkTxWithShallowEnrichedPaylink =
|
|
58
|
-
PaylinkTxWithShallowEnrichedPaylink;
|
|
59
|
-
//# sourceMappingURL=PaylinkTxWithShallowEnrichedPaylink.js.map
|
|
25
|
+
__metadata("design:type", paylink_1.ShallowEnrichedPaylink)
|
|
26
|
+
], PaylinkTxWithShallowEnrichedPaylink.prototype, "paylink", void 0);
|
|
27
|
+
exports.PaylinkTxWithShallowEnrichedPaylink = PaylinkTxWithShallowEnrichedPaylink;
|
|
28
|
+
//# sourceMappingURL=PaylinkTxWithShallowEnrichedPaylink.js.map
|
package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaylinkTxWithShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgD;AAChD,6DAAwE;AACxE,2CAAuD;AACvD,yDAAyC;
|
|
1
|
+
{"version":3,"file":"PaylinkTxWithShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgD;AAChD,6DAAwE;AACxE,2CAAuD;AACvD,yDAAyC;AAIzC,MAAa,mCAAoC,SAAQ,6BAAa;CAkBrE;AAjBC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAA8B,CAAC;8BACrC,iDAA8B;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAsB,CAAC;8BAC1B,gCAAsB;oEAAC;AALlC,kFAkBC"}
|
|
@@ -1,38 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./PaylinkTx'), exports);
|
|
34
|
-
__exportStar(require('./BasePaylinkTx'), exports);
|
|
35
|
-
__exportStar(require('./ShallowEnrichedPaylinkTx'), exports);
|
|
36
|
-
__exportStar(require('./PaylinkTxWithShallowEnrichedPaylink'), exports);
|
|
37
|
-
__exportStar(require('./PaylinkTxWithMeta'), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
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("./PaylinkTx"), exports);
|
|
18
|
+
__exportStar(require("./BasePaylinkTx"), exports);
|
|
19
|
+
__exportStar(require("./ShallowEnrichedPaylinkTx"), exports);
|
|
20
|
+
__exportStar(require("./PaylinkTxWithShallowEnrichedPaylink"), exports);
|
|
21
|
+
__exportStar(require("./PaylinkTxWithMeta"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { BasePaymentRequest } from './BasePaymentRequest';
|
|
2
2
|
import type { BaseUser } from '../../user';
|
|
3
|
-
import type { BaseCurrency } from '../../currency';
|
|
4
3
|
import type { BaseWallet } from '../../wallet';
|
|
5
4
|
import { Product } from '../../product';
|
|
6
5
|
import { BaseCompany } from '../../company';
|
|
7
6
|
import { SplitWallet } from '../../split-wallets';
|
|
8
7
|
import { FixedCurrency } from '../../fixed-currency';
|
|
8
|
+
import { Currency } from '../../currency';
|
|
9
9
|
export declare class ShallowEnrichedPaymentRequest extends BasePaymentRequest {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
creator: BaseUser;
|
|
11
|
+
company: BaseCompany;
|
|
12
|
+
currency: Currency;
|
|
13
|
+
wallet: BaseWallet;
|
|
14
|
+
product: Product;
|
|
15
|
+
splitWallets?: SplitWallet[];
|
|
16
|
+
fixedCurrency?: FixedCurrency;
|
|
17
|
+
slug: string;
|
|
18
|
+
volume: number;
|
|
19
|
+
sales: number;
|
|
20
20
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ShallowEnrichedPaymentRequest = void 0;
|
|
4
|
-
const BasePaymentRequest_1 = require(
|
|
5
|
-
class ShallowEnrichedPaymentRequest extends BasePaymentRequest_1.BasePaymentRequest {
|
|
4
|
+
const BasePaymentRequest_1 = require("./BasePaymentRequest");
|
|
5
|
+
class ShallowEnrichedPaymentRequest extends BasePaymentRequest_1.BasePaymentRequest {
|
|
6
|
+
}
|
|
6
7
|
exports.ShallowEnrichedPaymentRequest = ShallowEnrichedPaymentRequest;
|
|
7
|
-
//# sourceMappingURL=ShallowEnrichedPaymentRequest.js.map
|
|
8
|
+
//# sourceMappingURL=ShallowEnrichedPaymentRequest.js.map
|
|
@@ -1,38 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./PaymentRequest'), exports);
|
|
34
|
-
__exportStar(require('./BasePaymentRequest'), exports);
|
|
35
|
-
__exportStar(require('./ShallowEnrichedPaymentRequest'), exports);
|
|
36
|
-
__exportStar(require('./PaymentRequestType'), exports);
|
|
37
|
-
__exportStar(require('./SlugPaymentRequest'), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
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("./PaymentRequest"), exports);
|
|
18
|
+
__exportStar(require("./BasePaymentRequest"), exports);
|
|
19
|
+
__exportStar(require("./ShallowEnrichedPaymentRequest"), exports);
|
|
20
|
+
__exportStar(require("./PaymentRequestType"), exports);
|
|
21
|
+
__exportStar(require("./SlugPaymentRequest"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -3,16 +3,18 @@ import { BasePaystreamTx } from './BasePaystreamTx';
|
|
|
3
3
|
import { Withdrawal } from '../../withdrawal';
|
|
4
4
|
import { TransactionMeta } from '../../transaction-meta';
|
|
5
5
|
import { Contact } from '../../contact';
|
|
6
|
+
import { BlockchainSymbol } from '../../blockchain';
|
|
6
7
|
export declare class PaystreamTx extends BasePaystreamTx {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
paystream: Paystream;
|
|
9
|
+
meta: TransactionMeta;
|
|
10
|
+
withdrawals: Withdrawal[];
|
|
11
|
+
contact?: Contact;
|
|
12
|
+
fee: bigint;
|
|
13
|
+
paymentRequestCreatorId: string;
|
|
14
|
+
paymentRequestName: string;
|
|
15
|
+
paymentRequestImageUrl?: string;
|
|
16
|
+
paymentRequestCurrencySymbol: string;
|
|
17
|
+
paymentRequestBlockchain: BlockchainSymbol;
|
|
18
|
+
totalWithdrawn?: bigint;
|
|
19
|
+
canWithdraw?: boolean;
|
|
18
20
|
}
|
|
@@ -1,72 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
r =
|
|
7
|
-
c < 3
|
|
8
|
-
? target
|
|
9
|
-
: desc === null
|
|
10
|
-
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
-
: desc,
|
|
12
|
-
d;
|
|
13
|
-
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else
|
|
16
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
-
if ((d = decorators[i]))
|
|
18
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
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;
|
|
19
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
-
|
|
21
|
-
var __metadata =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return Reflect.metadata(k, v);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
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 });
|
|
28
12
|
exports.PaystreamTx = void 0;
|
|
29
|
-
const paystream_1 = require(
|
|
30
|
-
const BasePaystreamTx_1 = require(
|
|
31
|
-
const withdrawal_1 = require(
|
|
32
|
-
const class_transformer_1 = require(
|
|
33
|
-
const transaction_meta_1 = require(
|
|
34
|
-
class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
|
|
35
|
-
|
|
36
|
-
|
|
13
|
+
const paystream_1 = require("../../paystream");
|
|
14
|
+
const BasePaystreamTx_1 = require("./BasePaystreamTx");
|
|
15
|
+
const withdrawal_1 = require("../../withdrawal");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const transaction_meta_1 = require("../../transaction-meta");
|
|
18
|
+
class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
37
21
|
(0, class_transformer_1.Type)(() => paystream_1.Paystream),
|
|
38
|
-
__metadata(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
'paystream',
|
|
42
|
-
void 0,
|
|
43
|
-
);
|
|
44
|
-
__decorate(
|
|
45
|
-
[
|
|
22
|
+
__metadata("design:type", paystream_1.Paystream)
|
|
23
|
+
], PaystreamTx.prototype, "paystream", void 0);
|
|
24
|
+
__decorate([
|
|
46
25
|
(0, class_transformer_1.Type)(() => transaction_meta_1.BaseTransactionMeta),
|
|
47
|
-
__metadata(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'meta',
|
|
51
|
-
void 0,
|
|
52
|
-
);
|
|
53
|
-
__decorate(
|
|
54
|
-
[
|
|
26
|
+
__metadata("design:type", transaction_meta_1.TransactionMeta)
|
|
27
|
+
], PaystreamTx.prototype, "meta", void 0);
|
|
28
|
+
__decorate([
|
|
55
29
|
(0, class_transformer_1.Type)(() => withdrawal_1.Withdrawal),
|
|
56
|
-
__metadata(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
'withdrawals',
|
|
60
|
-
void 0,
|
|
61
|
-
);
|
|
62
|
-
__decorate(
|
|
63
|
-
[
|
|
30
|
+
__metadata("design:type", Array)
|
|
31
|
+
], PaystreamTx.prototype, "withdrawals", void 0);
|
|
32
|
+
__decorate([
|
|
64
33
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
65
|
-
__metadata(
|
|
66
|
-
|
|
67
|
-
PaystreamTx.prototype,
|
|
68
|
-
'fee',
|
|
69
|
-
void 0,
|
|
70
|
-
);
|
|
34
|
+
__metadata("design:type", BigInt)
|
|
35
|
+
], PaystreamTx.prototype, "fee", void 0);
|
|
71
36
|
exports.PaystreamTx = PaystreamTx;
|
|
72
|
-
//# sourceMappingURL=PaystreamTx.js.map
|
|
37
|
+
//# sourceMappingURL=PaystreamTx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA4C;AAC5C,uDAAoD;AACpD,iDAA8C;AAC9C,yDAAoD;AACpD,6DAA8E;
|
|
1
|
+
{"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA4C;AAC5C,uDAAoD;AACpD,iDAA8C;AAC9C,yDAAoD;AACpD,6DAA8E;AAI9E,MAAa,WAAY,SAAQ,iCAAe;CA4B/C;AA3BC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAS,CAAC;8BACX,qBAAS;8CAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAmB,CAAC;8BAC1B,kCAAe;yCAAC;AAEtB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;gDACG;AAI1B;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wCAC5B;AAbd,kCA4BC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
|
+
import { FeeProperties } from '../../fee';
|
|
2
3
|
export declare class TokenStreamPayload extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
hash: string;
|
|
5
|
+
requestOrTransactionId: string;
|
|
6
|
+
feeProperties: FeeProperties;
|
|
7
|
+
sessionHash?: string;
|
|
6
8
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TokenStreamPayload = void 0;
|
|
4
|
-
const entity_1 = require(
|
|
5
|
-
class TokenStreamPayload extends entity_1.Entity {
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class TokenStreamPayload extends entity_1.Entity {
|
|
6
|
+
}
|
|
6
7
|
exports.TokenStreamPayload = TokenStreamPayload;
|
|
7
|
-
//# sourceMappingURL=TokenStreamPayload.js.map
|
|
8
|
+
//# sourceMappingURL=TokenStreamPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenStreamPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/TokenStreamPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;
|
|
1
|
+
{"version":3,"file":"TokenStreamPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/TokenStreamPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAK7C;AALD,gDAKC"}
|
|
@@ -1,34 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
-
__exportStar(require('./TokenStreamPayload'), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
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("./TokenStreamPayload"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
|
+
import { FeeProperties } from '../../fee';
|
|
2
3
|
export declare class TokenTransactionPayload extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
hash: string;
|
|
5
|
+
paymentRequestId: string;
|
|
6
|
+
sessionHash?: string;
|
|
7
|
+
feeProperties: FeeProperties;
|
|
6
8
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TokenTransactionPayload = void 0;
|
|
4
|
-
const entity_1 = require(
|
|
5
|
-
class TokenTransactionPayload extends entity_1.Entity {
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class TokenTransactionPayload extends entity_1.Entity {
|
|
6
|
+
}
|
|
6
7
|
exports.TokenTransactionPayload = TokenTransactionPayload;
|
|
7
|
-
//# sourceMappingURL=TokenTransactionPayload.js.map
|
|
8
|
+
//# sourceMappingURL=TokenTransactionPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;
|
|
1
|
+
{"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAKlD;AALD,0DAKC"}
|