@heliofi/common 0.1.56 → 0.1.57

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.
Files changed (24) hide show
  1. package/dist/src/domain/model/link-features/dtos/index.js +18 -34
  2. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +15 -12
  3. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +65 -125
  4. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js.map +1 -1
  5. package/dist/src/domain/model/link-features/entities/LinkFeatures.d.ts +3 -2
  6. package/dist/src/domain/model/link-features/entities/LinkFeatures.js +6 -5
  7. package/dist/src/domain/model/link-features/entities/LinkFeatures.js.map +1 -1
  8. package/dist/src/domain/model/link-features/entities/index.js +18 -34
  9. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +21 -22
  10. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +82 -173
  11. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
  12. package/dist/src/domain/model/paylink/dtos/index.js +19 -35
  13. package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -1
  14. package/dist/src/domain/model/paylink/entities/BasePaylink.js +6 -5
  15. package/dist/src/domain/model/paylink/entities/BasePaylink.js.map +1 -1
  16. package/dist/src/domain/model/paylink/entities/Paylink.d.ts +3 -1
  17. package/dist/src/domain/model/paylink/entities/Paylink.js +6 -5
  18. package/dist/src/domain/model/paylink/entities/Paylink.js.map +1 -1
  19. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +4 -2
  20. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js +6 -5
  21. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js.map +1 -1
  22. package/dist/src/domain/model/paylink/entities/index.js +22 -38
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +2 -2
@@ -1,215 +1,124 @@
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;
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;
19
6
  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 });
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 });
28
12
  exports.CreatePaylinkDto = void 0;
29
- const class_validator_1 = require('class-validator');
30
- const class_transformer_1 = require('class-transformer');
31
- const content_1 = require('../../content');
32
- const link_features_1 = require('../../link-features');
33
- const product_1 = require('../../product');
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const content_1 = require("../../content");
16
+ const link_features_1 = require("../../link-features");
17
+ const product_1 = require("../../product");
34
18
  class CreatePaylinkDto {
35
- constructor() {
36
- this.notifySenderByEmail = false;
37
- this.notifyReceiverByEmail = false;
38
- this.addDiscordRole = false;
39
- }
19
+ constructor() {
20
+ this.notifySenderByEmail = false;
21
+ this.notifyReceiverByEmail = false;
22
+ this.addDiscordRole = false;
23
+ }
40
24
  }
41
- __decorate(
42
- [
25
+ __decorate([
43
26
  (0, class_validator_1.IsString)(),
44
27
  (0, class_validator_1.IsNotEmpty)(),
45
- __metadata('design:type', String),
46
- ],
47
- CreatePaylinkDto.prototype,
48
- 'company',
49
- void 0,
50
- );
51
- __decorate(
52
- [
28
+ __metadata("design:type", String)
29
+ ], CreatePaylinkDto.prototype, "company", void 0);
30
+ __decorate([
53
31
  (0, class_validator_1.IsString)(),
54
32
  (0, class_validator_1.IsNotEmpty)(),
55
- __metadata('design:type', String),
56
- ],
57
- CreatePaylinkDto.prototype,
58
- 'name',
59
- void 0,
60
- );
61
- __decorate(
62
- [
33
+ __metadata("design:type", String)
34
+ ], CreatePaylinkDto.prototype, "name", void 0);
35
+ __decorate([
63
36
  (0, class_validator_1.IsString)(),
64
37
  (0, class_validator_1.IsOptional)(),
65
- __metadata('design:type', String),
66
- ],
67
- CreatePaylinkDto.prototype,
68
- 'description',
69
- void 0,
70
- );
71
- __decorate(
72
- [
38
+ __metadata("design:type", String)
39
+ ], CreatePaylinkDto.prototype, "description", void 0);
40
+ __decorate([
73
41
  (0, class_validator_1.IsString)(),
74
42
  (0, class_validator_1.IsOptional)(),
75
- __metadata('design:type', String),
76
- ],
77
- CreatePaylinkDto.prototype,
78
- 'image',
79
- void 0,
80
- );
81
- __decorate(
82
- [
43
+ __metadata("design:type", String)
44
+ ], CreatePaylinkDto.prototype, "image", void 0);
45
+ __decorate([
83
46
  (0, class_validator_1.IsOptional)(),
84
47
  (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
85
- __metadata('design:type', String),
86
- ],
87
- CreatePaylinkDto.prototype,
88
- 'normalizedPrice',
89
- void 0,
90
- );
91
- __decorate(
92
- [
48
+ __metadata("design:type", String)
49
+ ], CreatePaylinkDto.prototype, "normalizedPrice", void 0);
50
+ __decorate([
93
51
  (0, class_validator_1.IsBoolean)(),
94
52
  (0, class_validator_1.IsOptional)(),
95
- __metadata('design:type', Boolean),
96
- ],
97
- CreatePaylinkDto.prototype,
98
- 'notifySenderByEmail',
99
- void 0,
100
- );
101
- __decorate(
102
- [
53
+ __metadata("design:type", Boolean)
54
+ ], CreatePaylinkDto.prototype, "notifySenderByEmail", void 0);
55
+ __decorate([
103
56
  (0, class_validator_1.IsBoolean)(),
104
57
  (0, class_validator_1.IsOptional)(),
105
- __metadata('design:type', Boolean),
106
- ],
107
- CreatePaylinkDto.prototype,
108
- 'notifyReceiverByEmail',
109
- void 0,
110
- );
111
- __decorate(
112
- [
58
+ __metadata("design:type", Boolean)
59
+ ], CreatePaylinkDto.prototype, "notifyReceiverByEmail", void 0);
60
+ __decorate([
113
61
  (0, class_validator_1.IsBoolean)(),
114
62
  (0, class_validator_1.IsOptional)(),
115
- __metadata('design:type', Boolean),
116
- ],
117
- CreatePaylinkDto.prototype,
118
- 'addDiscordRole',
119
- void 0,
120
- );
121
- __decorate(
122
- [
63
+ __metadata("design:type", Boolean)
64
+ ], CreatePaylinkDto.prototype, "addDiscordRole", void 0);
65
+ __decorate([
123
66
  (0, class_validator_1.IsString)(),
124
67
  (0, class_validator_1.IsOptional)(),
125
- __metadata('design:type', String),
126
- ],
127
- CreatePaylinkDto.prototype,
128
- 'currency',
129
- void 0,
130
- );
131
- __decorate(
132
- [
68
+ __metadata("design:type", String)
69
+ ], CreatePaylinkDto.prototype, "currency", void 0);
70
+ __decorate([
133
71
  (0, class_validator_1.IsBoolean)(),
134
72
  (0, class_validator_1.IsOptional)(),
135
- __metadata('design:type', Boolean),
136
- ],
137
- CreatePaylinkDto.prototype,
138
- 'disabled',
139
- void 0,
140
- );
141
- __decorate(
142
- [
73
+ __metadata("design:type", Boolean)
74
+ ], CreatePaylinkDto.prototype, "disabled", void 0);
75
+ __decorate([
143
76
  (0, class_validator_1.IsBoolean)(),
144
77
  (0, class_validator_1.IsOptional)(),
145
- __metadata('design:type', Boolean),
146
- ],
147
- CreatePaylinkDto.prototype,
148
- 'dynamic',
149
- void 0,
150
- );
151
- __decorate(
152
- [
78
+ __metadata("design:type", Boolean)
79
+ ], CreatePaylinkDto.prototype, "dynamic", void 0);
80
+ __decorate([
153
81
  (0, class_validator_1.IsString)(),
154
82
  (0, class_validator_1.IsNotEmpty)(),
155
- __metadata('design:type', String),
156
- ],
157
- CreatePaylinkDto.prototype,
158
- 'wallet',
159
- void 0,
160
- );
161
- __decorate(
162
- [
83
+ __metadata("design:type", String)
84
+ ], CreatePaylinkDto.prototype, "wallet", void 0);
85
+ __decorate([
163
86
  (0, class_validator_1.IsOptional)(),
164
87
  (0, class_transformer_1.Type)(() => content_1.ContentDto),
165
88
  (0, class_validator_1.ValidateNested)(),
166
- __metadata('design:type', content_1.ContentDto),
167
- ],
168
- CreatePaylinkDto.prototype,
169
- 'content',
170
- void 0,
171
- );
172
- __decorate(
173
- [
89
+ __metadata("design:type", content_1.ContentDto)
90
+ ], CreatePaylinkDto.prototype, "content", void 0);
91
+ __decorate([
174
92
  (0, class_validator_1.IsOptional)(),
175
93
  (0, class_transformer_1.Type)(() => link_features_1.LinkFeaturesDto),
176
94
  (0, class_validator_1.ValidateNested)(),
177
- __metadata('design:type', link_features_1.LinkFeaturesDto),
178
- ],
179
- CreatePaylinkDto.prototype,
180
- 'features',
181
- void 0,
182
- );
183
- __decorate(
184
- [
95
+ __metadata("design:type", link_features_1.LinkFeaturesDto)
96
+ ], CreatePaylinkDto.prototype, "features", void 0);
97
+ __decorate([
185
98
  (0, class_validator_1.IsNumber)(),
186
99
  (0, class_validator_1.IsOptional)(),
187
- __metadata('design:type', Number),
188
- ],
189
- CreatePaylinkDto.prototype,
190
- 'maxTransactions',
191
- void 0,
192
- );
193
- __decorate(
194
- [
100
+ __metadata("design:type", Number)
101
+ ], CreatePaylinkDto.prototype, "maxTransactions", void 0);
102
+ __decorate([
195
103
  (0, class_validator_1.IsOptional)(),
196
104
  (0, class_transformer_1.Type)(() => product_1.ProductDto),
197
105
  (0, class_validator_1.ValidateNested)(),
198
- __metadata('design:type', product_1.ProductDto),
199
- ],
200
- CreatePaylinkDto.prototype,
201
- 'product',
202
- void 0,
203
- );
204
- __decorate(
205
- [
106
+ __metadata("design:type", product_1.ProductDto)
107
+ ], CreatePaylinkDto.prototype, "product", void 0);
108
+ __decorate([
206
109
  (0, class_validator_1.IsString)(),
207
110
  (0, class_validator_1.IsOptional)(),
208
- __metadata('design:type', String),
209
- ],
210
- CreatePaylinkDto.prototype,
211
- 'nftCollectionAddress',
212
- void 0,
213
- );
111
+ __metadata("design:type", String)
112
+ ], CreatePaylinkDto.prototype, "nftCollectionAddress", void 0);
113
+ __decorate([
114
+ (0, class_validator_1.IsNumber)(),
115
+ (0, class_validator_1.IsOptional)(),
116
+ __metadata("design:type", Number)
117
+ ], CreatePaylinkDto.prototype, "minQuantity", void 0);
118
+ __decorate([
119
+ (0, class_validator_1.IsNumber)(),
120
+ (0, class_validator_1.IsOptional)(),
121
+ __metadata("design:type", Number)
122
+ ], CreatePaylinkDto.prototype, "maxQuantity", void 0);
214
123
  exports.CreatePaylinkDto = CreatePaylinkDto;
215
- //# sourceMappingURL=createPaylink.dto.js.map
124
+ //# sourceMappingURL=createPaylink.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;AAO3C,MAAa,gBAAgB;IAA7B;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAwCnC,CAAC;CAAA;AAtEC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;yDACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACoB;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAtEhC,4CAuEC"}
1
+ {"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;AAO3C,MAAa,gBAAgB;IAA7B;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAgDnC,CAAC;CAAA;AA9EC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;yDACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACoB;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AA9EvB,4CA+EC"}
@@ -1,35 +1,19 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
32
- Object.defineProperty(exports, '__esModule', { value: true });
33
- __exportStar(require('./createPaylink.dto'), exports);
34
- __exportStar(require('./updatePaylink.dto'), exports);
35
- //# sourceMappingURL=index.js.map
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("./createPaylink.dto"), exports);
18
+ __exportStar(require("./updatePaylink.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,7 @@
1
1
  import type { LinkFeatures } from '../../link-features';
2
2
  import { BasePaymentRequest } from '../../payment-request';
3
3
  export declare class BasePaylink extends BasePaymentRequest {
4
- features: LinkFeatures;
4
+ features: LinkFeatures;
5
+ minQuantity?: number;
6
+ maxQuantity?: number;
5
7
  }
@@ -1,7 +1,8 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BasePaylink = void 0;
4
- const payment_request_1 = require('../../payment-request');
5
- class BasePaylink extends payment_request_1.BasePaymentRequest {}
4
+ const payment_request_1 = require("../../payment-request");
5
+ class BasePaylink extends payment_request_1.BasePaymentRequest {
6
+ }
6
7
  exports.BasePaylink = BasePaylink;
7
- //# sourceMappingURL=BasePaylink.js.map
8
+ //# sourceMappingURL=BasePaylink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AACA,2DAA2D;AAE3D,MAAa,WAAY,SAAQ,oCAAkB;CAElD;AAFD,kCAEC"}
1
+ {"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AACA,2DAA2D;AAE3D,MAAa,WAAY,SAAQ,oCAAkB;CAMlD;AAND,kCAMC"}
@@ -1,5 +1,7 @@
1
1
  import { LinkFeaturesDto } from '../../link-features';
2
2
  import { PaymentRequest } from '../../payment-request';
3
3
  export declare class Paylink extends PaymentRequest {
4
- features: LinkFeaturesDto;
4
+ features: LinkFeaturesDto;
5
+ minQuantity?: number;
6
+ maxQuantity?: number;
5
7
  }
@@ -1,7 +1,8 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Paylink = void 0;
4
- const payment_request_1 = require('../../payment-request');
5
- class Paylink extends payment_request_1.PaymentRequest {}
4
+ const payment_request_1 = require("../../payment-request");
5
+ class Paylink extends payment_request_1.PaymentRequest {
6
+ }
6
7
  exports.Paylink = Paylink;
7
- //# sourceMappingURL=Paylink.js.map
8
+ //# sourceMappingURL=Paylink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Paylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/Paylink.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AAEvD,MAAa,OAAQ,SAAQ,gCAAc;CAE1C;AAFD,0BAEC"}
1
+ {"version":3,"file":"Paylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/Paylink.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AAEvD,MAAa,OAAQ,SAAQ,gCAAc;CAM1C;AAND,0BAMC"}
@@ -2,6 +2,8 @@ import { ShallowEnrichedPaymentRequest } from '../../payment-request';
2
2
  import type { Content } from '../../content';
3
3
  import type { LinkFeatures } from '../../link-features';
4
4
  export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
5
- content: Content;
6
- features: LinkFeatures;
5
+ content: Content;
6
+ minQuantity?: number;
7
+ maxQuantity?: number;
8
+ features: LinkFeatures;
7
9
  }
@@ -1,7 +1,8 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ShallowEnrichedPaylink = void 0;
4
- const payment_request_1 = require('../../payment-request');
5
- class ShallowEnrichedPaylink extends payment_request_1.ShallowEnrichedPaymentRequest {}
4
+ const payment_request_1 = require("../../payment-request");
5
+ class ShallowEnrichedPaylink extends payment_request_1.ShallowEnrichedPaymentRequest {
6
+ }
6
7
  exports.ShallowEnrichedPaylink = ShallowEnrichedPaylink;
7
- //# sourceMappingURL=ShallowEnrichedPaylink.js.map
8
+ //# sourceMappingURL=ShallowEnrichedPaylink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAItE,MAAa,sBAAuB,SAAQ,+CAA6B;CAIxE;AAJD,wDAIC"}
1
+ {"version":3,"file":"ShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAItE,MAAa,sBAAuB,SAAQ,+CAA6B;CAQxE;AARD,wDAQC"}
@@ -1,38 +1,22 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
32
- Object.defineProperty(exports, '__esModule', { value: true });
33
- __exportStar(require('./Paylink'), exports);
34
- __exportStar(require('./BasePaylink'), exports);
35
- __exportStar(require('./ShallowEnrichedPaylink'), exports);
36
- __exportStar(require('./OnlyContentPaylink'), exports);
37
- __exportStar(require('./PaylinkStats'), exports);
38
- //# sourceMappingURL=index.js.map
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("./Paylink"), exports);
18
+ __exportStar(require("./BasePaylink"), exports);
19
+ __exportStar(require("./ShallowEnrichedPaylink"), exports);
20
+ __exportStar(require("./OnlyContentPaylink"), exports);
21
+ __exportStar(require("./PaylinkStats"), exports);
22
+ //# sourceMappingURL=index.js.map