@heliofi/common 0.2.92 → 0.2.94-alpha.0
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/link-features/dtos/createLinkFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js +5 -0
- package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +1 -0
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +1 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +6 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +1 -0
- package/dist/src/domain/model/paylink/entities/BasePaylink.js.map +1 -1
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.d.ts +5 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js +37 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js.map +1 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.d.ts +4 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js +26 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js.map +1 -0
- package/dist/src/domain/model/stripe-details/index.d.ts +2 -1
- package/dist/src/domain/model/stripe-details/index.js +2 -1
- package/dist/src/domain/model/stripe-details/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -11
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -57
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +0 -1
|
@@ -84,5 +84,10 @@ __decorate([
|
|
|
84
84
|
(0, class_validator_1.IsOptional)(),
|
|
85
85
|
__metadata("design:type", Boolean)
|
|
86
86
|
], CreateLinkFeaturesDto.prototype, "isSubscription", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsBoolean)(),
|
|
89
|
+
(0, class_validator_1.IsOptional)(),
|
|
90
|
+
__metadata("design:type", Boolean)
|
|
91
|
+
], CreateLinkFeaturesDto.prototype, "hasStripeApiKey", void 0);
|
|
87
92
|
exports.CreateLinkFeaturesDto = CreateLinkFeaturesDto;
|
|
88
93
|
//# sourceMappingURL=createLinkFeatures.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;
|
|
1
|
+
{"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CA4DzE;AA3DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAElC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AA3D5B,sDA4DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;
|
|
1
|
+
{"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAsBvD;AAtBD,oCAsBC"}
|
|
@@ -29,6 +29,7 @@ export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
|
|
|
29
29
|
airdropDetailsId?: string;
|
|
30
30
|
creationSource?: PayLinkCreationSource;
|
|
31
31
|
subscriptionDetails?: SubscriptionDetailsDto;
|
|
32
|
+
stripeApiKeyId?: string;
|
|
32
33
|
addTelegramGroup?: boolean;
|
|
33
34
|
telegramGroupIds?: string[];
|
|
34
35
|
}
|
|
@@ -112,6 +112,12 @@ __decorate([
|
|
|
112
112
|
(0, class_validator_1.ValidateNested)(),
|
|
113
113
|
__metadata("design:type", subscription_details_1.SubscriptionDetailsDto)
|
|
114
114
|
], CreatePaylinkDto.prototype, "subscriptionDetails", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_validator_1.IsString)(),
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
118
|
+
(0, class_validator_1.IsMongoId)(),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], CreatePaylinkDto.prototype, "stripeApiKeyId", void 0);
|
|
115
121
|
__decorate([
|
|
116
122
|
(0, class_validator_1.IsBoolean)(),
|
|
117
123
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAWyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AACxD,0CAAoD;AACpD,qEAAoE;AAMpE,MAAa,gBAAiB,SAAQ,yCAAuB;
|
|
1
|
+
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAWyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AACxD,0CAAoD;AACpD,qEAAoE;AAMpE,MAAa,gBAAiB,SAAQ,yCAAuB;CAqF5D;AApFC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,G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AS,GAAE;;0DACc;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDAC0B;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,6CAAsB;6DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;wDACY;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACc;AAE3B;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACe;AApF9B,4CAqFC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAM3D,MAAa,WAAY,SAAQ,oCAAkB;
|
|
1
|
+
{"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAM3D,MAAa,WAAY,SAAQ,oCAAkB;CAsBlD;AAtBD,kCAsBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.StripeApiKeyDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class StripeApiKeyDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsOptional)(),
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], StripeApiKeyDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.MaxLength)(100),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], StripeApiKeyDto.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.MaxLength)(200),
|
|
31
|
+
(0, class_validator_1.Matches)(/^rk_/, {
|
|
32
|
+
message: 'Stripe API key must be a restricted key starting with "rk_"',
|
|
33
|
+
}),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], StripeApiKeyDto.prototype, "newSecretKey", void 0);
|
|
36
|
+
exports.StripeApiKeyDto = StripeApiKeyDto;
|
|
37
|
+
//# sourceMappingURL=StripeApiKey.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeApiKey.dto.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,MAAa,eAAe;CAiB3B;AAhBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACA;AAEZ;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;6CACD;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,yBAAO,EAAC,MAAM,EAAE;QACf,OAAO,EAAE,6DAA6D;KACvE,CAAC;;qDACoB;AAhBxB,0CAiBC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.StripeApiKeysDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const StripeApiKey_dto_1 = require("./StripeApiKey.dto");
|
|
16
|
+
class StripeApiKeysDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Type)(() => StripeApiKey_dto_1.StripeApiKeyDto),
|
|
20
|
+
(0, class_validator_1.IsArray)(),
|
|
21
|
+
(0, class_validator_1.IsDefined)(),
|
|
22
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], StripeApiKeysDto.prototype, "apiKeys", void 0);
|
|
25
|
+
exports.StripeApiKeysDto = StripeApiKeysDto;
|
|
26
|
+
//# sourceMappingURL=StripeApiKeys.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeApiKeys.dto.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeApiKeys.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqE;AACrE,yDAAyC;AACzC,yDAAqD;AAErD,MAAa,gBAAgB;CAM5B;AALC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,yBAAO,GAAE;IACT,IAAA,2BAAS,GAAE;IACX,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAL7B,4CAMC"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./StripeDetails.entity"), exports);
|
|
18
17
|
__exportStar(require("./StripeApiKey.entity"), exports);
|
|
18
|
+
__exportStar(require("./StripeApiKey.dto"), exports);
|
|
19
|
+
__exportStar(require("./StripeApiKeys.dto"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC"}
|