@heliofi/common 0.1.401 → 0.1.402

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/common",
3
3
  "private": false,
4
- "version": "0.1.401",
4
+ "version": "0.1.402",
5
5
  "description": "Common package",
6
6
  "main": "dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -29,5 +29,5 @@
29
29
  "ts-loader": "^9.3.1",
30
30
  "typescript": "^4.8.2"
31
31
  },
32
- "gitHead": "ccd5c456d1ddf290c9f9d8b16e940b0cc32ec1ab"
32
+ "gitHead": "c08e6470934687c33b8e2c0ef0e5274e478820fa"
33
33
  }
@@ -1,14 +0,0 @@
1
- import { BasePaymentRequestFeaturesDto } from '../../payment-request-features';
2
- export declare class LinkFeaturesDto extends BasePaymentRequestFeaturesDto {
3
- splitRevenue?: boolean;
4
- splitEqually?: boolean;
5
- canChangeQuantity?: boolean;
6
- requireQuantityLimits?: boolean;
7
- canChangePrice?: boolean;
8
- isHelioPlay?: boolean;
9
- isEscrowed?: boolean;
10
- showDiscountCode?: boolean;
11
- requireDiscordQuantityLimit?: boolean;
12
- requireAllowlist?: boolean;
13
- requireAirdrop?: boolean;
14
- }
@@ -1,143 +0,0 @@
1
- 'use strict';
2
- var __decorate =
3
- (this && this.__decorate) ||
4
- function (decorators, target, key, desc) {
5
- var c = arguments.length,
6
- r =
7
- c < 3
8
- ? target
9
- : desc === null
10
- ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
- : desc,
12
- d;
13
- if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
- r = Reflect.decorate(decorators, target, key, desc);
15
- else
16
- for (var i = decorators.length - 1; i >= 0; i--)
17
- if ((d = decorators[i]))
18
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
19
- return c > 3 && r && Object.defineProperty(target, key, r), r;
20
- };
21
- var __metadata =
22
- (this && this.__metadata) ||
23
- function (k, v) {
24
- if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
- return Reflect.metadata(k, v);
26
- };
27
- Object.defineProperty(exports, '__esModule', { value: true });
28
- exports.LinkFeaturesDto = void 0;
29
- const class_validator_1 = require('class-validator');
30
- const payment_request_features_1 = require('../../payment-request-features');
31
- class LinkFeaturesDto extends payment_request_features_1.BasePaymentRequestFeaturesDto {}
32
- __decorate(
33
- [
34
- (0, class_validator_1.IsBoolean)(),
35
- (0, class_validator_1.IsOptional)(),
36
- __metadata('design:type', Boolean),
37
- ],
38
- LinkFeaturesDto.prototype,
39
- 'splitRevenue',
40
- void 0,
41
- );
42
- __decorate(
43
- [
44
- (0, class_validator_1.IsBoolean)(),
45
- (0, class_validator_1.IsOptional)(),
46
- __metadata('design:type', Boolean),
47
- ],
48
- LinkFeaturesDto.prototype,
49
- 'splitEqually',
50
- void 0,
51
- );
52
- __decorate(
53
- [
54
- (0, class_validator_1.IsBoolean)(),
55
- (0, class_validator_1.IsOptional)(),
56
- __metadata('design:type', Boolean),
57
- ],
58
- LinkFeaturesDto.prototype,
59
- 'canChangeQuantity',
60
- void 0,
61
- );
62
- __decorate(
63
- [
64
- (0, class_validator_1.IsBoolean)(),
65
- (0, class_validator_1.IsOptional)(),
66
- __metadata('design:type', Boolean),
67
- ],
68
- LinkFeaturesDto.prototype,
69
- 'requireQuantityLimits',
70
- void 0,
71
- );
72
- __decorate(
73
- [
74
- (0, class_validator_1.IsBoolean)(),
75
- (0, class_validator_1.IsOptional)(),
76
- __metadata('design:type', Boolean),
77
- ],
78
- LinkFeaturesDto.prototype,
79
- 'canChangePrice',
80
- void 0,
81
- );
82
- __decorate(
83
- [
84
- (0, class_validator_1.IsBoolean)(),
85
- (0, class_validator_1.IsOptional)(),
86
- __metadata('design:type', Boolean),
87
- ],
88
- LinkFeaturesDto.prototype,
89
- 'isHelioPlay',
90
- void 0,
91
- );
92
- __decorate(
93
- [
94
- (0, class_validator_1.IsOptional)(),
95
- (0, class_validator_1.IsBoolean)(),
96
- __metadata('design:type', Boolean),
97
- ],
98
- LinkFeaturesDto.prototype,
99
- 'isEscrowed',
100
- void 0,
101
- );
102
- __decorate(
103
- [
104
- (0, class_validator_1.IsBoolean)(),
105
- (0, class_validator_1.IsOptional)(),
106
- __metadata('design:type', Boolean),
107
- ],
108
- LinkFeaturesDto.prototype,
109
- 'showDiscountCode',
110
- void 0,
111
- );
112
- __decorate(
113
- [
114
- (0, class_validator_1.IsBoolean)(),
115
- (0, class_validator_1.IsOptional)(),
116
- __metadata('design:type', Boolean),
117
- ],
118
- LinkFeaturesDto.prototype,
119
- 'requireDiscordQuantityLimit',
120
- void 0,
121
- );
122
- __decorate(
123
- [
124
- (0, class_validator_1.IsBoolean)(),
125
- (0, class_validator_1.IsOptional)(),
126
- __metadata('design:type', Boolean),
127
- ],
128
- LinkFeaturesDto.prototype,
129
- 'requireAllowlist',
130
- void 0,
131
- );
132
- __decorate(
133
- [
134
- (0, class_validator_1.IsBoolean)(),
135
- (0, class_validator_1.IsOptional)(),
136
- __metadata('design:type', Boolean),
137
- ],
138
- LinkFeaturesDto.prototype,
139
- 'requireAirdrop',
140
- void 0,
141
- );
142
- exports.LinkFeaturesDto = LinkFeaturesDto;
143
- //# sourceMappingURL=linkFeatures.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,eAAgB,SAAQ,oDAAyB;CA4C7D;AA3CC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AA3C3B,0CA4CC"}
@@ -1,22 +0,0 @@
1
- export declare class PaymentRequestFeaturesDto {
2
- requireEmail?: boolean;
3
- requireDiscordUsername?: boolean;
4
- requireDiscordLogin?: boolean;
5
- requireFullName?: boolean;
6
- requireTwitterUsername?: boolean;
7
- requireCountry?: boolean;
8
- requireDeliveryAddress?: boolean;
9
- requirePhoneNumber?: boolean;
10
- requireProductDetails?: boolean;
11
- requireMaxTransactions?: boolean;
12
- requireNftGate?: boolean;
13
- requireDiscordAuth?: boolean;
14
- requireAccessCode?: boolean;
15
- requireFixedCurrency?: boolean;
16
- canSwapTokens?: boolean;
17
- isHelioPlay?: boolean;
18
- isTransparentWallet?: boolean;
19
- nftDropEnabled?: boolean;
20
- requireTradingViewUsername?: boolean;
21
- allowAffiliate?: boolean;
22
- }
@@ -1,117 +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.PaymentRequestFeaturesDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class PaymentRequestFeaturesDto {
15
- }
16
- __decorate([
17
- (0, class_validator_1.IsBoolean)(),
18
- (0, class_validator_1.IsOptional)(),
19
- __metadata("design:type", Boolean)
20
- ], PaymentRequestFeaturesDto.prototype, "requireEmail", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsBoolean)(),
23
- (0, class_validator_1.IsOptional)(),
24
- __metadata("design:type", Boolean)
25
- ], PaymentRequestFeaturesDto.prototype, "requireDiscordUsername", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsBoolean)(),
28
- (0, class_validator_1.IsOptional)(),
29
- __metadata("design:type", Boolean)
30
- ], PaymentRequestFeaturesDto.prototype, "requireDiscordLogin", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsBoolean)(),
33
- (0, class_validator_1.IsOptional)(),
34
- __metadata("design:type", Boolean)
35
- ], PaymentRequestFeaturesDto.prototype, "requireFullName", void 0);
36
- __decorate([
37
- (0, class_validator_1.IsBoolean)(),
38
- (0, class_validator_1.IsOptional)(),
39
- __metadata("design:type", Boolean)
40
- ], PaymentRequestFeaturesDto.prototype, "requireTwitterUsername", void 0);
41
- __decorate([
42
- (0, class_validator_1.IsBoolean)(),
43
- (0, class_validator_1.IsOptional)(),
44
- __metadata("design:type", Boolean)
45
- ], PaymentRequestFeaturesDto.prototype, "requireCountry", void 0);
46
- __decorate([
47
- (0, class_validator_1.IsBoolean)(),
48
- (0, class_validator_1.IsOptional)(),
49
- __metadata("design:type", Boolean)
50
- ], PaymentRequestFeaturesDto.prototype, "requireDeliveryAddress", void 0);
51
- __decorate([
52
- (0, class_validator_1.IsBoolean)(),
53
- (0, class_validator_1.IsOptional)(),
54
- __metadata("design:type", Boolean)
55
- ], PaymentRequestFeaturesDto.prototype, "requirePhoneNumber", void 0);
56
- __decorate([
57
- (0, class_validator_1.IsBoolean)(),
58
- (0, class_validator_1.IsOptional)(),
59
- __metadata("design:type", Boolean)
60
- ], PaymentRequestFeaturesDto.prototype, "requireProductDetails", void 0);
61
- __decorate([
62
- (0, class_validator_1.IsBoolean)(),
63
- (0, class_validator_1.IsOptional)(),
64
- __metadata("design:type", Boolean)
65
- ], PaymentRequestFeaturesDto.prototype, "requireMaxTransactions", void 0);
66
- __decorate([
67
- (0, class_validator_1.IsBoolean)(),
68
- (0, class_validator_1.IsOptional)(),
69
- __metadata("design:type", Boolean)
70
- ], PaymentRequestFeaturesDto.prototype, "requireNftGate", void 0);
71
- __decorate([
72
- (0, class_validator_1.IsBoolean)(),
73
- (0, class_validator_1.IsOptional)(),
74
- __metadata("design:type", Boolean)
75
- ], PaymentRequestFeaturesDto.prototype, "requireDiscordAuth", void 0);
76
- __decorate([
77
- (0, class_validator_1.IsBoolean)(),
78
- (0, class_validator_1.IsOptional)(),
79
- __metadata("design:type", Boolean)
80
- ], PaymentRequestFeaturesDto.prototype, "requireAccessCode", void 0);
81
- __decorate([
82
- (0, class_validator_1.IsBoolean)(),
83
- (0, class_validator_1.IsOptional)(),
84
- __metadata("design:type", Boolean)
85
- ], PaymentRequestFeaturesDto.prototype, "requireFixedCurrency", void 0);
86
- __decorate([
87
- (0, class_validator_1.IsBoolean)(),
88
- (0, class_validator_1.IsOptional)(),
89
- __metadata("design:type", Boolean)
90
- ], PaymentRequestFeaturesDto.prototype, "canSwapTokens", void 0);
91
- __decorate([
92
- (0, class_validator_1.IsBoolean)(),
93
- (0, class_validator_1.IsOptional)(),
94
- __metadata("design:type", Boolean)
95
- ], PaymentRequestFeaturesDto.prototype, "isHelioPlay", void 0);
96
- __decorate([
97
- (0, class_validator_1.IsBoolean)(),
98
- (0, class_validator_1.IsOptional)(),
99
- __metadata("design:type", Boolean)
100
- ], PaymentRequestFeaturesDto.prototype, "isTransparentWallet", void 0);
101
- __decorate([
102
- (0, class_validator_1.IsBoolean)(),
103
- (0, class_validator_1.IsOptional)(),
104
- __metadata("design:type", Boolean)
105
- ], PaymentRequestFeaturesDto.prototype, "nftDropEnabled", void 0);
106
- __decorate([
107
- (0, class_validator_1.IsBoolean)(),
108
- (0, class_validator_1.IsOptional)(),
109
- __metadata("design:type", Boolean)
110
- ], PaymentRequestFeaturesDto.prototype, "requireTradingViewUsername", void 0);
111
- __decorate([
112
- (0, class_validator_1.IsBoolean)(),
113
- (0, class_validator_1.IsOptional)(),
114
- __metadata("design:type", Boolean)
115
- ], PaymentRequestFeaturesDto.prototype, "allowAffiliate", void 0);
116
- exports.PaymentRequestFeaturesDto = PaymentRequestFeaturesDto;
117
- //# sourceMappingURL=paymentRequestFeatures.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CAgFrC;AA/EC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6EACwB;AAErC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AA/E3B,8DAgFC"}
@@ -1,4 +0,0 @@
1
- import { BasePaymentRequestFeaturesDto } from '../../payment-request-features';
2
- export declare class StreamFeaturesDto extends BasePaymentRequestFeaturesDto {
3
- isHelioPlay?: boolean;
4
- }
@@ -1,43 +0,0 @@
1
- 'use strict';
2
- var __decorate =
3
- (this && this.__decorate) ||
4
- function (decorators, target, key, desc) {
5
- var c = arguments.length,
6
- r =
7
- c < 3
8
- ? target
9
- : desc === null
10
- ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
- : desc,
12
- d;
13
- if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
- r = Reflect.decorate(decorators, target, key, desc);
15
- else
16
- for (var i = decorators.length - 1; i >= 0; i--)
17
- if ((d = decorators[i]))
18
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
19
- return c > 3 && r && Object.defineProperty(target, key, r), r;
20
- };
21
- var __metadata =
22
- (this && this.__metadata) ||
23
- function (k, v) {
24
- if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
- return Reflect.metadata(k, v);
26
- };
27
- Object.defineProperty(exports, '__esModule', { value: true });
28
- exports.StreamFeaturesDto = void 0;
29
- const class_validator_1 = require('class-validator');
30
- const payment_request_features_1 = require('../../payment-request-features');
31
- class StreamFeaturesDto extends payment_request_features_1.BasePaymentRequestFeaturesDto {}
32
- __decorate(
33
- [
34
- (0, class_validator_1.IsBoolean)(),
35
- (0, class_validator_1.IsOptional)(),
36
- __metadata('design:type', Boolean),
37
- ],
38
- StreamFeaturesDto.prototype,
39
- 'isHelioPlay',
40
- void 0,
41
- );
42
- exports.StreamFeaturesDto = StreamFeaturesDto;
43
- //# sourceMappingURL=streamFeaturesDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streamFeaturesDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-features/dtos/streamFeaturesDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,iBAAkB,SAAQ,oDAAyB;CAI/D;AAHC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sDACS;AAHxB,8CAIC"}