@xoxno/types 1.0.271 → 1.0.274
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.
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ExternalPayment = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const external_payment_request_1 = require("./external-payment-request");
|
|
14
15
|
const external_payment_status_enum_1 = require("../../../enums/external-payment-status.enum");
|
|
15
16
|
const payment_provider_enum_1 = require("../../../enums/payment-provider.enum");
|
|
16
17
|
const purchase_type_enum_1 = require("../../../enums/purchase-type.enum");
|
|
@@ -101,9 +102,9 @@ __decorate([
|
|
|
101
102
|
(0, swagger_1.ApiProperty)({
|
|
102
103
|
description: 'Custom data specific to the purchase type',
|
|
103
104
|
oneOf: [
|
|
104
|
-
{ $ref:
|
|
105
|
-
{ $ref:
|
|
106
|
-
{ $ref:
|
|
105
|
+
{ $ref: (0, swagger_1.getSchemaPath)(external_payment_request_1.MarketplaceCustomData) },
|
|
106
|
+
{ $ref: (0, swagger_1.getSchemaPath)(external_payment_request_1.LaunchpadCustomData) },
|
|
107
|
+
{ $ref: (0, swagger_1.getSchemaPath)(external_payment_request_1.TwispayEventTicketCustomData) },
|
|
107
108
|
],
|
|
108
109
|
}),
|
|
109
110
|
__metadata("design:type", Object)
|
|
@@ -45,8 +45,8 @@ __decorate([
|
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, swagger_1.ApiProperty)({
|
|
47
47
|
oneOf: [
|
|
48
|
-
{ $ref:
|
|
49
|
-
{ $ref:
|
|
48
|
+
{ $ref: (0, swagger_1.getSchemaPath)(TwispayPaymentFormData) },
|
|
49
|
+
{ $ref: (0, swagger_1.getSchemaPath)(StripePaymentFormData) },
|
|
50
50
|
],
|
|
51
51
|
}),
|
|
52
52
|
__metadata("design:type", Object)
|
|
@@ -29,10 +29,14 @@ __decorate([
|
|
|
29
29
|
(0, swagger_1.ApiProperty)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], PerpCoin.prototype, "coin", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], PerpCoin.prototype, "againstCoin", void 0);
|
|
32
36
|
__decorate([
|
|
33
37
|
(0, swagger_1.ApiProperty)(),
|
|
34
38
|
__metadata("design:type", Number)
|
|
35
|
-
], PerpCoin.prototype, "
|
|
39
|
+
], PerpCoin.prototype, "price", void 0);
|
|
36
40
|
__decorate([
|
|
37
41
|
(0, swagger_1.ApiProperty)(),
|
|
38
42
|
__metadata("design:type", Array)
|