@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
|
@@ -0,0 +1,44 @@
|
|
|
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.InvoiceItemDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class InvoiceItemDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], InvoiceItemDto.prototype, "price", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], InvoiceItemDto.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], InvoiceItemDto.prototype, "image", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], InvoiceItemDto.prototype, "quantity", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], InvoiceItemDto.prototype, "description", void 0);
|
|
43
|
+
exports.InvoiceItemDto = InvoiceItemDto;
|
|
44
|
+
//# sourceMappingURL=invoiceItem.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoiceItem.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/dtos/invoiceItem.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AACnE,yDAA8C;AAE9C,MAAa,cAAc;CAqB1B;AApBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6CAC1B;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AApBvB,wCAqBC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.InvoiceItem = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class InvoiceItem {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
18
|
+
__metadata("design:type", BigInt)
|
|
19
|
+
], InvoiceItem.prototype, "price", void 0);
|
|
20
|
+
exports.InvoiceItem = InvoiceItem;
|
|
21
|
+
//# sourceMappingURL=InvoiceItem.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoiceItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/entities/InvoiceItem.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAE9C,MAAa,WAAW;CAWvB;AAVC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC1B;AAFhB,kCAWC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InvoiceItem.entity';
|
|
@@ -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.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -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/invoiceItem/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { BasePaylinkTx } from './BasePaylinkTx';
|
|
2
2
|
import { ShallowEnrichedTransactionMeta } from '../../transaction-meta';
|
|
3
3
|
import { ShallowEnrichedPaylink } from '../../paylink';
|
|
4
|
+
import { Contact } from '../../contact';
|
|
4
5
|
export declare class PaylinkTxWithShallowEnrichedPaylink extends BasePaylinkTx {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
meta: ShallowEnrichedTransactionMeta;
|
|
7
|
+
paylink: ShallowEnrichedPaylink;
|
|
8
|
+
contact?: Contact;
|
|
9
|
+
paymentRequestCreatorId: string;
|
|
10
|
+
paymentRequestName: string;
|
|
11
|
+
paymentRequestImageUrl?: string;
|
|
12
|
+
paymentRequestCurrencySymbol: string;
|
|
11
13
|
}
|
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;AAGzC,MAAa,mCAAoC,SAAQ,6BAAa;CAgBrE;AAfC;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,kFAgBC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
export declare class BasePaymentRequest extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
normalizedPrice: bigint;
|
|
8
|
+
maxTransactions?: number;
|
|
9
|
+
notifySenderByEmail: boolean;
|
|
10
|
+
notifyReceiverByEmail: boolean;
|
|
11
|
+
addDiscordRole: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
createdAt?: string;
|
|
14
|
+
updatedAt?: string;
|
|
15
|
+
dynamic: boolean;
|
|
16
|
+
nftCollectionAddress?: string;
|
|
17
17
|
}
|
|
@@ -3,23 +3,23 @@ import { IntervalType } from '../entities';
|
|
|
3
3
|
import { ProductDto } from '../../product';
|
|
4
4
|
import { ContentDto } from '../../content';
|
|
5
5
|
export declare class CreatePaystreamDto {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
company: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
normalizedPrice?: string;
|
|
11
|
+
notifySenderByEmail?: boolean;
|
|
12
|
+
notifyReceiverByEmail?: boolean;
|
|
13
|
+
addDiscordRole?: boolean;
|
|
14
|
+
currency?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
wallet: string;
|
|
17
|
+
content?: ContentDto;
|
|
18
|
+
features?: StreamFeaturesDto;
|
|
19
|
+
interval: IntervalType;
|
|
20
|
+
maxTime: number;
|
|
21
|
+
maxTransactions?: number;
|
|
22
|
+
dynamic?: boolean;
|
|
23
|
+
product?: ProductDto | null;
|
|
24
|
+
nftCollectionAddress?: string;
|
|
25
25
|
}
|
|
@@ -3,22 +3,22 @@ import { ProductDto } from '../../product';
|
|
|
3
3
|
import { ContentDto } from '../../content';
|
|
4
4
|
import { IntervalType } from '../entities';
|
|
5
5
|
export declare class UpdatePaystreamDto {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
6
|
+
company?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
normalizedPrice?: string;
|
|
11
|
+
notifySenderByEmail?: boolean;
|
|
12
|
+
notifyReceiverByEmail?: boolean;
|
|
13
|
+
addDiscordRole?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
wallet?: string;
|
|
16
|
+
dynamic?: boolean;
|
|
17
|
+
content?: ContentDto;
|
|
18
|
+
features?: StreamFeaturesDto;
|
|
19
|
+
interval?: IntervalType;
|
|
20
|
+
maxTime?: number;
|
|
21
|
+
maxTransactions?: number;
|
|
22
|
+
product?: ProductDto | null;
|
|
23
|
+
nftCollectionAddress?: string;
|
|
24
24
|
}
|
|
@@ -2,7 +2,7 @@ import type { StreamFeatures } from '../../stream-features';
|
|
|
2
2
|
import { BasePaymentRequest } from '../../payment-request';
|
|
3
3
|
import { IntervalType } from './IntervalType';
|
|
4
4
|
export declare class BasePaystream extends BasePaymentRequest {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
maxTime: number;
|
|
6
|
+
interval: IntervalType;
|
|
7
|
+
features: StreamFeatures;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { PaymentRequest } from '../../payment-request';
|
|
|
2
2
|
import { StreamFeatures } from '../../stream-features';
|
|
3
3
|
import { IntervalType } from './IntervalType';
|
|
4
4
|
export declare class Paystream extends PaymentRequest {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
maxTime: number;
|
|
6
|
+
interval: IntervalType;
|
|
7
|
+
features: StreamFeatures;
|
|
8
8
|
}
|
|
@@ -3,8 +3,8 @@ import { ShallowEnrichedPaymentRequest } from '../../payment-request';
|
|
|
3
3
|
import { IntervalType } from './IntervalType';
|
|
4
4
|
import { Content } from '../../content';
|
|
5
5
|
export declare class ShallowEnrichedPaystream extends ShallowEnrichedPaymentRequest {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
maxTime: number;
|
|
7
|
+
interval: IntervalType;
|
|
8
|
+
content: Content;
|
|
9
|
+
features: StreamFeatures;
|
|
10
10
|
}
|
|
@@ -2,13 +2,15 @@ import { Paystream } from '../../paystream';
|
|
|
2
2
|
import { BasePaystreamTx } from './BasePaystreamTx';
|
|
3
3
|
import { Withdrawal } from '../../withdrawal';
|
|
4
4
|
import { TransactionMeta } from '../../transaction-meta';
|
|
5
|
+
import { Contact } from '../../contact';
|
|
5
6
|
export declare class PaystreamTx extends BasePaystreamTx {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
paystream: Paystream;
|
|
8
|
+
meta: TransactionMeta;
|
|
9
|
+
withdrawals: Withdrawal[];
|
|
10
|
+
contact?: Contact;
|
|
11
|
+
fee: bigint;
|
|
12
|
+
paymentRequestCreatorId: string;
|
|
13
|
+
paymentRequestName: string;
|
|
14
|
+
paymentRequestImageUrl?: string;
|
|
15
|
+
paymentRequestCurrencySymbol: string;
|
|
14
16
|
}
|
|
@@ -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;AAG9E,MAAa,WAAY,SAAQ,iCAAe;CAsB/C;AArBC;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,kCAsBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BasePaystreamTx } from './BasePaystreamTx';
|
|
2
|
+
import { Withdrawal } from '../../withdrawal';
|
|
3
|
+
import { TransactionMeta } from '../../transaction-meta';
|
|
4
|
+
export declare class PaystreamTxWithMeta extends BasePaystreamTx {
|
|
5
|
+
meta: TransactionMeta;
|
|
6
|
+
withdrawals: Withdrawal[];
|
|
7
|
+
fee: bigint;
|
|
8
|
+
paystream: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.PaystreamTxWithMeta = void 0;
|
|
13
|
+
const BasePaystreamTx_1 = require("./BasePaystreamTx");
|
|
14
|
+
const withdrawal_1 = require("../../withdrawal");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const transaction_meta_1 = require("../../transaction-meta");
|
|
17
|
+
class PaystreamTxWithMeta extends BasePaystreamTx_1.BasePaystreamTx {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Type)(() => transaction_meta_1.BaseTransactionMeta),
|
|
21
|
+
__metadata("design:type", transaction_meta_1.TransactionMeta)
|
|
22
|
+
], PaystreamTxWithMeta.prototype, "meta", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Type)(() => withdrawal_1.Withdrawal),
|
|
25
|
+
__metadata("design:type", Array)
|
|
26
|
+
], PaystreamTxWithMeta.prototype, "withdrawals", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
29
|
+
__metadata("design:type", BigInt)
|
|
30
|
+
], PaystreamTxWithMeta.prototype, "fee", void 0);
|
|
31
|
+
exports.PaystreamTxWithMeta = PaystreamTxWithMeta;
|
|
32
|
+
//# sourceMappingURL=PaystreamTxWithMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaystreamTxWithMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/PaystreamTxWithMeta.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAoD;AACpD,iDAA8C;AAC9C,yDAAoD;AACpD,6DAA8E;AAE9E,MAAa,mBAAoB,SAAQ,iCAAe;CAWvD;AAVC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAmB,CAAC;8BAC1B,kCAAe;iDAAC;AAEtB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;wDACG;AAE1B;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;gDAC5B;AARd,kDAWC"}
|
|
@@ -18,4 +18,5 @@ __exportStar(require("./PaystreamTx"), exports);
|
|
|
18
18
|
__exportStar(require("./BasePaystreamTx"), exports);
|
|
19
19
|
__exportStar(require("./PaystreamTxWithContent"), exports);
|
|
20
20
|
__exportStar(require("./BasePaystreamTxWithTransaction"), exports);
|
|
21
|
+
__exportStar(require("./PaystreamTxWithMeta"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,2DAAyC;AACzC,mEAAiD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,2DAAyC;AACzC,mEAAiD;AACjD,wDAAsC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./paylink-transaction-hook"), exports);
|
|
18
|
+
__exportStar(require("./stream-transaction-hook"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.CreateStreamTransactionHookDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entities_1 = require("../entities");
|
|
15
|
+
class CreateStreamTransactionHookDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateStreamTransactionHookDto.prototype, "streamId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateStreamTransactionHookDto.prototype, "targetUrl", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsEnum)(entities_1.StreamTransactionEvent, { each: true }),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], CreateStreamTransactionHookDto.prototype, "events", void 0);
|
|
30
|
+
exports.CreateStreamTransactionHookDto = CreateStreamTransactionHookDto;
|
|
31
|
+
//# sourceMappingURL=CreateStreamTransactionHook.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateStreamTransactionHook.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/dtos/CreateStreamTransactionHook.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,0CAAqD;AAErD,MAAa,8BAA8B;CAU1C;AATC;IAAC,IAAA,0BAAQ,GAAE;;gEACM;AAEjB;IAAC,IAAA,0BAAQ,GAAE;;iEACO;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAsB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACb;AATpC,wEAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CreateStreamTransactionHook.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("./CreateStreamTransactionHook.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD"}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StreamTransactionEvent } from './StreamTransactionEvent.entity';
|
|
2
|
+
import { PaystreamTxWithMeta } from '../../../paystream-tx';
|
|
3
|
+
import { StreamEventPayload } from './StreamEventPayload';
|
|
4
|
+
export declare class EndStreamEventPayload extends StreamEventPayload {
|
|
5
|
+
event: StreamTransactionEvent;
|
|
6
|
+
transaction: PaystreamTxWithMeta;
|
|
7
|
+
}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EndStreamEventPayload = void 0;
|
|
4
|
+
const StreamTransactionEvent_entity_1 = require("./StreamTransactionEvent.entity");
|
|
5
|
+
const StreamEventPayload_1 = require("./StreamEventPayload");
|
|
6
|
+
class EndStreamEventPayload extends StreamEventPayload_1.StreamEventPayload {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.event = StreamTransactionEvent_entity_1.StreamTransactionEvent.ENDED;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EndStreamEventPayload = EndStreamEventPayload;
|
|
13
|
+
//# sourceMappingURL=EndStreamEventPayload.js.map
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EndStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,qBAAsB,SAAQ,uCAAkB;IAA7D;;QACE,UAAK,GAAG,sDAAsB,CAAC,KAAK,CAAC;IAEvC,CAAC;CAAA;AAHD,sDAGC"}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StreamTransactionEvent } from './StreamTransactionEvent.entity';
|
|
2
|
+
import { PaystreamTxWithMeta } from '../../../paystream-tx';
|
|
3
|
+
import { StreamEventPayload } from './StreamEventPayload';
|
|
4
|
+
export declare class StartStreamEventPayload extends StreamEventPayload {
|
|
5
|
+
event: StreamTransactionEvent;
|
|
6
|
+
transaction: PaystreamTxWithMeta;
|
|
7
|
+
}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartStreamEventPayload = void 0;
|
|
4
|
+
const StreamTransactionEvent_entity_1 = require("./StreamTransactionEvent.entity");
|
|
5
|
+
const StreamEventPayload_1 = require("./StreamEventPayload");
|
|
6
|
+
class StartStreamEventPayload extends StreamEventPayload_1.StreamEventPayload {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.event = StreamTransactionEvent_entity_1.StreamTransactionEvent.STARTED;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.StartStreamEventPayload = StartStreamEventPayload;
|
|
13
|
+
//# sourceMappingURL=StartStreamEventPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StartStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,uBAAwB,SAAQ,uCAAkB;IAA/D;;QACE,UAAK,GAAG,sDAAsB,CAAC,OAAO,CAAC;IAEzC,CAAC;CAAA;AAHD,0DAGC"}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Entity } from '../../../entity';
|
|
2
|
+
import { StreamTransactionEvent } from './StreamTransactionEvent.entity';
|
|
3
|
+
import { PaystreamTxWithMeta } from '../../../paystream-tx';
|
|
4
|
+
export declare class StreamEventPayload extends Entity {
|
|
5
|
+
event: StreamTransactionEvent;
|
|
6
|
+
transaction: PaystreamTxWithMeta;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamEventPayload = void 0;
|
|
4
|
+
const entity_1 = require("../../../entity");
|
|
5
|
+
class StreamEventPayload extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.StreamEventPayload = StreamEventPayload;
|
|
8
|
+
//# sourceMappingURL=StreamEventPayload.js.map
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAIzC,MAAa,kBAAmB,SAAQ,eAAM;CAG7C;AAHD,gDAGC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamTransactionEvent = void 0;
|
|
4
|
+
var StreamTransactionEvent;
|
|
5
|
+
(function (StreamTransactionEvent) {
|
|
6
|
+
StreamTransactionEvent["STARTED"] = "STARTED";
|
|
7
|
+
StreamTransactionEvent["ENDED"] = "ENDED";
|
|
8
|
+
})(StreamTransactionEvent = exports.StreamTransactionEvent || (exports.StreamTransactionEvent = {}));
|
|
9
|
+
//# sourceMappingURL=StreamTransactionEvent.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamTransactionEvent.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionEvent.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC"}
|