@heliofi/common 0.2.302 → 0.2.304
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/sumsub.d.ts +15 -0
- package/dist/src/domain/constants/sumsub.js +18 -1
- package/dist/src/domain/constants/sumsub.js.map +1 -1
- package/dist/src/domain/constants/template.js.map +1 -1
- package/dist/src/domain/model/deposit-wallet-incoming-transaction/entities/DepositWalletIncomingTransaction.entity.d.ts +1 -0
- package/dist/src/domain/model/deposit-wallet-incoming-transaction/entities/DepositWalletIncomingTransaction.entity.js.map +1 -1
- package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.d.ts +3 -1
- package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.js +2 -0
- package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +0 -1
- package/dist/src/domain/model/index.js +0 -1
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/kyb-details/entities/KYBDetails.entity.d.ts +8 -0
- package/dist/src/domain/model/kyb-details/entities/KYBDetails.entity.js.map +1 -1
- package/dist/src/domain/model/paylink/query/getPublicPaylinkQuery.dto.d.ts +4 -0
- package/dist/src/domain/model/{blink/entities/BaseBlink.entity.js → paylink/query/getPublicPaylinkQuery.dto.js} +10 -9
- package/dist/src/domain/model/paylink/query/getPublicPaylinkQuery.dto.js.map +1 -0
- package/dist/src/domain/model/paylink/query/index.d.ts +1 -0
- package/dist/src/domain/model/paylink/query/index.js +1 -0
- package/dist/src/domain/model/paylink/query/index.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/constants/TransactionType.js.map +1 -1
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
- package/dist/src/domain/model/webhook/index.d.ts +0 -1
- package/dist/src/domain/model/webhook/index.js +0 -1
- package/dist/src/domain/model/webhook/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/blink/dtos/createBlink.dto.d.ts +0 -19
- package/dist/src/domain/model/blink/dtos/createBlink.dto.js +0 -94
- package/dist/src/domain/model/blink/dtos/createBlink.dto.js.map +0 -1
- package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.d.ts +0 -11
- package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.js +0 -62
- package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.js.map +0 -1
- package/dist/src/domain/model/blink/dtos/index.d.ts +0 -3
- package/dist/src/domain/model/blink/dtos/index.js +0 -20
- package/dist/src/domain/model/blink/dtos/index.js.map +0 -1
- package/dist/src/domain/model/blink/dtos/updateBlink.dto.d.ts +0 -19
- package/dist/src/domain/model/blink/dtos/updateBlink.dto.js +0 -94
- package/dist/src/domain/model/blink/dtos/updateBlink.dto.js.map +0 -1
- package/dist/src/domain/model/blink/entities/BaseBlink.entity.d.ts +0 -17
- package/dist/src/domain/model/blink/entities/BaseBlink.entity.js.map +0 -1
- package/dist/src/domain/model/blink/entities/Blink.entity.d.ts +0 -15
- package/dist/src/domain/model/blink/entities/Blink.entity.js +0 -8
- package/dist/src/domain/model/blink/entities/Blink.entity.js.map +0 -1
- package/dist/src/domain/model/blink/entities/BlinkFeatures.entity.d.ts +0 -12
- package/dist/src/domain/model/blink/entities/BlinkFeatures.entity.js +0 -8
- package/dist/src/domain/model/blink/entities/BlinkFeatures.entity.js.map +0 -1
- package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.d.ts +0 -17
- package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.js +0 -22
- package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.js.map +0 -1
- package/dist/src/domain/model/blink/entities/index.d.ts +0 -4
- package/dist/src/domain/model/blink/entities/index.js +0 -21
- package/dist/src/domain/model/blink/entities/index.js.map +0 -1
- package/dist/src/domain/model/blink/index.d.ts +0 -2
- package/dist/src/domain/model/blink/index.js +0 -19
- package/dist/src/domain/model/blink/index.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.d.ts +0 -6
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js +0 -33
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js +0 -18
- package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.d.ts +0 -3
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js +0 -8
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.d.ts +0 -11
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js +0 -8
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.d.ts +0 -2
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js +0 -19
- package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js.map +0 -1
- package/dist/src/domain/model/webhook/blink-transaction-hook/index.d.ts +0 -2
- package/dist/src/domain/model/webhook/blink-transaction-hook/index.js +0 -19
- package/dist/src/domain/model/webhook/blink-transaction-hook/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heliofi/common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.304",
|
|
5
5
|
"description": "Common package",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"typescript": "5.*"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "46dfd795649e52498bf29daece5038d90eeec470"
|
|
36
36
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CreateBlinkFeaturesDto } from './createBlinkFeatures.dto';
|
|
2
|
-
import { RecipientDto } from '../../recipient';
|
|
3
|
-
import { ContentDto } from '../../content';
|
|
4
|
-
import { ProductDto } from '../../product';
|
|
5
|
-
export declare class CreateBlinkDto {
|
|
6
|
-
features: CreateBlinkFeaturesDto;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
bannerImage: string;
|
|
10
|
-
price: string;
|
|
11
|
-
buttonText: string;
|
|
12
|
-
disabledButtonText?: string;
|
|
13
|
-
creatorPK?: string;
|
|
14
|
-
recipients: RecipientDto[];
|
|
15
|
-
content?: ContentDto;
|
|
16
|
-
limit?: number;
|
|
17
|
-
product?: ProductDto | null;
|
|
18
|
-
additionalProducts?: ProductDto[];
|
|
19
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
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.CreateBlinkDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const createBlinkFeatures_dto_1 = require("./createBlinkFeatures.dto");
|
|
16
|
-
const recipient_1 = require("../../recipient");
|
|
17
|
-
const content_1 = require("../../content");
|
|
18
|
-
const product_1 = require("../../product");
|
|
19
|
-
class CreateBlinkDto {
|
|
20
|
-
}
|
|
21
|
-
exports.CreateBlinkDto = CreateBlinkDto;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
(0, class_transformer_1.Type)(() => createBlinkFeatures_dto_1.CreateBlinkFeaturesDto),
|
|
25
|
-
(0, class_validator_1.ValidateNested)(),
|
|
26
|
-
__metadata("design:type", createBlinkFeatures_dto_1.CreateBlinkFeaturesDto)
|
|
27
|
-
], CreateBlinkDto.prototype, "features", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateBlinkDto.prototype, "name", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreateBlinkDto.prototype, "description", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], CreateBlinkDto.prototype, "bannerImage", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsString)(),
|
|
45
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], CreateBlinkDto.prototype, "price", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], CreateBlinkDto.prototype, "buttonText", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsString)(),
|
|
55
|
-
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], CreateBlinkDto.prototype, "disabledButtonText", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsString)(),
|
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], CreateBlinkDto.prototype, "creatorPK", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.IsArray)(),
|
|
65
|
-
(0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
|
|
66
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
67
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
68
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
69
|
-
__metadata("design:type", Array)
|
|
70
|
-
], CreateBlinkDto.prototype, "recipients", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, class_transformer_1.Type)(() => content_1.ContentDto),
|
|
73
|
-
(0, class_validator_1.IsOptional)(),
|
|
74
|
-
(0, class_validator_1.ValidateNested)(),
|
|
75
|
-
__metadata("design:type", content_1.ContentDto)
|
|
76
|
-
], CreateBlinkDto.prototype, "content", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_validator_1.IsNumber)(),
|
|
79
|
-
(0, class_validator_1.IsOptional)(),
|
|
80
|
-
__metadata("design:type", Number)
|
|
81
|
-
], CreateBlinkDto.prototype, "limit", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
85
|
-
(0, class_validator_1.ValidateNested)(),
|
|
86
|
-
__metadata("design:type", Object)
|
|
87
|
-
], CreateBlinkDto.prototype, "product", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, class_validator_1.IsOptional)(),
|
|
90
|
-
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
91
|
-
(0, class_validator_1.ValidateNested)(),
|
|
92
|
-
__metadata("design:type", Array)
|
|
93
|
-
], CreateBlinkDto.prototype, "additionalProducts", void 0);
|
|
94
|
-
//# sourceMappingURL=createBlink.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createBlink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,+CAA+C;AAC/C,2CAA2C;AAC3C,2CAA2C;AAE3C,MAAa,cAAc;CA4D1B;AA5DD,wCA4DC;AAxDC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACP,gDAAsB;gDAAC;AAIjC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACe;AAK5B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACM;AAOnB;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACJ;AAK3B;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;+CAAC;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;+CACW;AAK5B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;0DACiB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class CreateBlinkFeaturesDto {
|
|
2
|
-
requireEmail?: boolean;
|
|
3
|
-
requireDiscordUsername?: boolean;
|
|
4
|
-
requireFullName?: boolean;
|
|
5
|
-
requireTwitterUsername?: boolean;
|
|
6
|
-
requireDeliveryAddress?: boolean;
|
|
7
|
-
requirePhoneNumber?: boolean;
|
|
8
|
-
requireProductDetails?: boolean;
|
|
9
|
-
requireAdditionalProductDetails?: boolean;
|
|
10
|
-
requireMaxTransactions?: boolean;
|
|
11
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
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.CreateBlinkFeaturesDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CreateBlinkFeaturesDto {
|
|
15
|
-
}
|
|
16
|
-
exports.CreateBlinkFeaturesDto = CreateBlinkFeaturesDto;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsBoolean)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
__metadata("design:type", Boolean)
|
|
21
|
-
], CreateBlinkFeaturesDto.prototype, "requireEmail", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsBoolean)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
__metadata("design:type", Boolean)
|
|
26
|
-
], CreateBlinkFeaturesDto.prototype, "requireDiscordUsername", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsBoolean)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], CreateBlinkFeaturesDto.prototype, "requireFullName", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsBoolean)(),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
__metadata("design:type", Boolean)
|
|
36
|
-
], CreateBlinkFeaturesDto.prototype, "requireTwitterUsername", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsBoolean)(),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", Boolean)
|
|
41
|
-
], CreateBlinkFeaturesDto.prototype, "requireDeliveryAddress", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsBoolean)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type", Boolean)
|
|
46
|
-
], CreateBlinkFeaturesDto.prototype, "requirePhoneNumber", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsBoolean)(),
|
|
49
|
-
(0, class_validator_1.IsOptional)(),
|
|
50
|
-
__metadata("design:type", Boolean)
|
|
51
|
-
], CreateBlinkFeaturesDto.prototype, "requireProductDetails", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.IsBoolean)(),
|
|
54
|
-
(0, class_validator_1.IsOptional)(),
|
|
55
|
-
__metadata("design:type", Boolean)
|
|
56
|
-
], CreateBlinkFeaturesDto.prototype, "requireAdditionalProductDetails", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, class_validator_1.IsBoolean)(),
|
|
59
|
-
(0, class_validator_1.IsOptional)(),
|
|
60
|
-
__metadata("design:type", Boolean)
|
|
61
|
-
], CreateBlinkFeaturesDto.prototype, "requireMaxTransactions", void 0);
|
|
62
|
-
//# sourceMappingURL=createBlinkFeatures.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createBlinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,sBAAsB;CAoClC;AApCD,wDAoCC;AAjCC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACa;AAI1B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACgB;AAI7B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+EAC6B;AAI1C;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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("./createBlink.dto"), exports);
|
|
18
|
-
__exportStar(require("./createBlinkFeatures.dto"), exports);
|
|
19
|
-
__exportStar(require("./updateBlink.dto"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4DAA0C;AAC1C,oDAAkC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CreateBlinkFeaturesDto } from './createBlinkFeatures.dto';
|
|
2
|
-
import { RecipientDto } from '../../recipient';
|
|
3
|
-
import { ContentDto } from '../../content';
|
|
4
|
-
import { ProductDto } from '../../product';
|
|
5
|
-
export declare class UpdateBlinkDto {
|
|
6
|
-
features?: CreateBlinkFeaturesDto;
|
|
7
|
-
name?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
bannerImage?: string;
|
|
10
|
-
price?: string;
|
|
11
|
-
buttonText?: string;
|
|
12
|
-
disabledButtonText?: string;
|
|
13
|
-
recipients?: RecipientDto[];
|
|
14
|
-
content?: ContentDto;
|
|
15
|
-
limit?: number;
|
|
16
|
-
product?: ProductDto | null;
|
|
17
|
-
additionalProducts?: ProductDto[];
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
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.UpdateBlinkDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const createBlinkFeatures_dto_1 = require("./createBlinkFeatures.dto");
|
|
16
|
-
const recipient_1 = require("../../recipient");
|
|
17
|
-
const content_1 = require("../../content");
|
|
18
|
-
const product_1 = require("../../product");
|
|
19
|
-
class UpdateBlinkDto {
|
|
20
|
-
}
|
|
21
|
-
exports.UpdateBlinkDto = UpdateBlinkDto;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
(0, class_transformer_1.Type)(() => createBlinkFeatures_dto_1.CreateBlinkFeaturesDto),
|
|
25
|
-
(0, class_validator_1.ValidateNested)(),
|
|
26
|
-
__metadata("design:type", createBlinkFeatures_dto_1.CreateBlinkFeaturesDto)
|
|
27
|
-
], UpdateBlinkDto.prototype, "features", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsOptional)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UpdateBlinkDto.prototype, "name", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], UpdateBlinkDto.prototype, "description", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], UpdateBlinkDto.prototype, "bannerImage", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsString)(),
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], UpdateBlinkDto.prototype, "price", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsString)(),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UpdateBlinkDto.prototype, "buttonText", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsString)(),
|
|
55
|
-
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], UpdateBlinkDto.prototype, "disabledButtonText", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsArray)(),
|
|
60
|
-
(0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
|
|
61
|
-
(0, class_validator_1.IsOptional)(),
|
|
62
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
63
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
64
|
-
__metadata("design:type", Array)
|
|
65
|
-
], UpdateBlinkDto.prototype, "recipients", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_transformer_1.Type)(() => content_1.ContentDto),
|
|
68
|
-
(0, class_validator_1.IsOptional)(),
|
|
69
|
-
(0, class_validator_1.ValidateNested)(),
|
|
70
|
-
__metadata("design:type", content_1.ContentDto)
|
|
71
|
-
], UpdateBlinkDto.prototype, "content", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsNumber)(),
|
|
74
|
-
(0, class_validator_1.IsOptional)(),
|
|
75
|
-
__metadata("design:type", Number)
|
|
76
|
-
], UpdateBlinkDto.prototype, "limit", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
79
|
-
(0, class_validator_1.IsOptional)(),
|
|
80
|
-
(0, class_validator_1.ValidateNested)(),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], UpdateBlinkDto.prototype, "product", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, class_validator_1.IsOptional)(),
|
|
85
|
-
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
86
|
-
(0, class_validator_1.ValidateNested)(),
|
|
87
|
-
__metadata("design:type", Array)
|
|
88
|
-
], UpdateBlinkDto.prototype, "additionalProducts", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsBoolean)(),
|
|
91
|
-
(0, class_validator_1.IsOptional)(),
|
|
92
|
-
__metadata("design:type", Boolean)
|
|
93
|
-
], UpdateBlinkDto.prototype, "disabled", void 0);
|
|
94
|
-
//# sourceMappingURL=updateBlink.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateBlink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/updateBlink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,+CAA+C;AAC/C,2CAA2C;AAC3C,2CAA2C;AAE3C,MAAa,cAAc;CA2D1B;AA3DD,wCA2DC;AAvDC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACN,gDAAsB;gDAAC;AAIlC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACQ;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACQ;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACO;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACe;AAO5B;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACH;AAK5B;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;+CAAC;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAKf;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;;+CACW;AAK5B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;0DACiB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gDACM"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entity } from '../../entity';
|
|
2
|
-
import { BlinkFeatures } from './BlinkFeatures.entity';
|
|
3
|
-
import { Platform } from '../../../constants';
|
|
4
|
-
export declare class BaseBlink extends Entity {
|
|
5
|
-
price: bigint;
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
buttonText: string;
|
|
10
|
-
disabledButtonText: string;
|
|
11
|
-
features: BlinkFeatures;
|
|
12
|
-
maxTransactions?: number;
|
|
13
|
-
platform: Platform;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseBlink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/BaseBlink.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,SAAU,SAAQ,eAAM;CAyBpC;AAzBD,8BAyBC;AAvBC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wCAC1B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { User } from '../../user';
|
|
2
|
-
import { BaseCompany } from '../../company';
|
|
3
|
-
import { Currency } from '../../currency';
|
|
4
|
-
import { Product } from '../../product';
|
|
5
|
-
import { Recipient } from '../../recipient';
|
|
6
|
-
import { BaseBlink } from './BaseBlink.entity';
|
|
7
|
-
export declare class Blink extends BaseBlink {
|
|
8
|
-
bannerImageUrl: string;
|
|
9
|
-
creator: User;
|
|
10
|
-
company: BaseCompany;
|
|
11
|
-
currency: Currency;
|
|
12
|
-
product: Product;
|
|
13
|
-
additionalProducts?: Product[];
|
|
14
|
-
recipients: Recipient[];
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Blink = void 0;
|
|
4
|
-
const BaseBlink_entity_1 = require("./BaseBlink.entity");
|
|
5
|
-
class Blink extends BaseBlink_entity_1.BaseBlink {
|
|
6
|
-
}
|
|
7
|
-
exports.Blink = Blink;
|
|
8
|
-
//# sourceMappingURL=Blink.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/Blink.entity.ts"],"names":[],"mappings":";;;AAKA,yDAA+C;AAE/C,MAAa,KAAM,SAAQ,4BAAS;CAcnC;AAdD,sBAcC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Entity } from '../../entity';
|
|
2
|
-
export declare class BlinkFeatures extends Entity {
|
|
3
|
-
requireEmail: boolean;
|
|
4
|
-
requireDiscordUsername: boolean;
|
|
5
|
-
requireFullName: boolean;
|
|
6
|
-
requireTwitterUsername: boolean;
|
|
7
|
-
requireDeliveryAddress: boolean;
|
|
8
|
-
requirePhoneNumber: boolean;
|
|
9
|
-
requireProductDetails: boolean;
|
|
10
|
-
requireAdditionalProductDetails?: boolean;
|
|
11
|
-
requireMaxTransactions: boolean;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BlinkFeatures = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class BlinkFeatures extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.BlinkFeatures = BlinkFeatures;
|
|
8
|
-
//# sourceMappingURL=BlinkFeatures.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/BlinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,aAAc,SAAQ,eAAM;CAkBxC;AAlBD,sCAkBC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseBlink } from './BaseBlink.entity';
|
|
2
|
-
import type { BaseUser } from '../../user';
|
|
3
|
-
import { BaseCompany } from '../../company';
|
|
4
|
-
import { Currency } from '../../currency';
|
|
5
|
-
import { Recipient } from '../../recipient';
|
|
6
|
-
import { Product } from '../../product';
|
|
7
|
-
export declare class ShallowEnrichedBlink extends BaseBlink {
|
|
8
|
-
sales: bigint;
|
|
9
|
-
creator: BaseUser;
|
|
10
|
-
company: BaseCompany;
|
|
11
|
-
currency: Currency;
|
|
12
|
-
product: Product;
|
|
13
|
-
additionalProducts?: Product[];
|
|
14
|
-
recipients: Recipient[];
|
|
15
|
-
bannerImageUrl: string;
|
|
16
|
-
volume: number;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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.ShallowEnrichedBlink = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const BaseBlink_entity_1 = require("./BaseBlink.entity");
|
|
15
|
-
class ShallowEnrichedBlink extends BaseBlink_entity_1.BaseBlink {
|
|
16
|
-
}
|
|
17
|
-
exports.ShallowEnrichedBlink = ShallowEnrichedBlink;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
-
__metadata("design:type", BigInt)
|
|
21
|
-
], ShallowEnrichedBlink.prototype, "sales", void 0);
|
|
22
|
-
//# sourceMappingURL=ShallowEnrichedBlink.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedBlink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/ShallowEnrichedBlink.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yDAA+C;AAO/C,MAAa,oBAAqB,SAAQ,4BAAS;CAmBlD;AAnBD,oDAmBC;AAjBC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDAC1B"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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("./BaseBlink.entity"), exports);
|
|
18
|
-
__exportStar(require("./Blink.entity"), exports);
|
|
19
|
-
__exportStar(require("./BlinkFeatures.entity"), exports);
|
|
20
|
-
__exportStar(require("./ShallowEnrichedBlink.entity"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,iDAA+B;AAC/B,yDAAuC;AACvC,gEAA8C"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./dtos"), exports);
|
|
18
|
-
__exportStar(require("./entities"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/blink/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
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.CreateBlinkTransactionHookDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const entities_1 = require("../entities");
|
|
15
|
-
class CreateBlinkTransactionHookDto {
|
|
16
|
-
}
|
|
17
|
-
exports.CreateBlinkTransactionHookDto = CreateBlinkTransactionHookDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreateBlinkTransactionHookDto.prototype, "blinkId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsUrl)(),
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateBlinkTransactionHookDto.prototype, "targetUrl", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
(0, class_validator_1.IsEnum)(entities_1.BlinkTransactionEvent, { each: true }),
|
|
31
|
-
__metadata("design:type", Array)
|
|
32
|
-
], CreateBlinkTransactionHookDto.prototype, "events", void 0);
|
|
33
|
-
//# sourceMappingURL=createBlinkTransactionHook.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createBlinkTransactionHook.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,0CAAoD;AAEpD,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AATC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACG;AAIhB;IAFC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;gEACK;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gCAAqB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './createBlinkTransactionHook.dto';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./createBlinkTransactionHook.dto"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD"}
|