resurgence-data 1.1.29 → 1.1.30
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/integration/flutterwave/payloads.d.ts +4 -0
- package/dist/payment/payment-request/payment-request.dto.d.ts +4 -0
- package/dist/payment/payment-request/payment-request.dto.js +14 -1
- package/package.json +1 -1
- package/src/integration/flutterwave/payloads.ts +4 -0
- package/src/payment/payment-request/payment-request.dto.ts +10 -0
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.CardChargeAuthorizationDto = exports.CardChargeDTO = exports.APIPaymentRequestDto = exports.PaymentRequestDto = exports.TransactionSplitDto = void 0;
|
12
|
+
exports.CardValidationPayload = exports.CardChargeAuthorizationDto = exports.CardChargeDTO = exports.APIPaymentRequestDto = exports.PaymentRequestDto = exports.TransactionSplitDto = void 0;
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
14
14
|
const class_validator_1 = require("class-validator");
|
15
15
|
class TransactionSplitDto {
|
@@ -336,3 +336,16 @@ __decorate([
|
|
336
336
|
(0, class_validator_1.IsString)({ message: "Please enter your zip code" }),
|
337
337
|
__metadata("design:type", String)
|
338
338
|
], CardChargeAuthorizationDto.prototype, "zipcode", void 0);
|
339
|
+
class CardValidationPayload {
|
340
|
+
}
|
341
|
+
exports.CardValidationPayload = CardValidationPayload;
|
342
|
+
__decorate([
|
343
|
+
(0, swagger_1.ApiProperty)({ description: "Transaction reference" }),
|
344
|
+
(0, class_validator_1.IsNotEmpty)({ message: "Transaction reference is required" }),
|
345
|
+
__metadata("design:type", String)
|
346
|
+
], CardValidationPayload.prototype, "transactionReference", void 0);
|
347
|
+
__decorate([
|
348
|
+
(0, swagger_1.ApiProperty)({ description: "OTP sent to the customer" }),
|
349
|
+
(0, class_validator_1.IsNotEmpty)({ message: "OTP is required" }),
|
350
|
+
__metadata("design:type", String)
|
351
|
+
], CardValidationPayload.prototype, "otp", void 0);
|
package/package.json
CHANGED
@@ -271,3 +271,13 @@ export class CardChargeAuthorizationDto {
|
|
271
271
|
@IsString({ message: "Please enter your zip code" })
|
272
272
|
zipcode?: string;
|
273
273
|
}
|
274
|
+
|
275
|
+
export class CardValidationPayload {
|
276
|
+
@ApiProperty({ description: "Transaction reference" })
|
277
|
+
@IsNotEmpty({ message: "Transaction reference is required" })
|
278
|
+
transactionReference: string;
|
279
|
+
|
280
|
+
@ApiProperty({ description: "OTP sent to the customer" })
|
281
|
+
@IsNotEmpty({ message: "OTP is required" })
|
282
|
+
otp: string;
|
283
|
+
}
|