@heliofi/common 0.1.436 → 0.1.438

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 (55) hide show
  1. package/dist/src/domain/constants/template.d.ts +0 -1
  2. package/dist/src/domain/constants/template.js +0 -1
  3. package/dist/src/domain/constants/template.js.map +1 -1
  4. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.d.ts +4 -0
  5. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.js +29 -0
  6. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.js.map +1 -0
  7. package/dist/src/domain/model/eventDetails/dtos/index.d.ts +1 -0
  8. package/dist/src/domain/model/eventDetails/dtos/index.js +18 -0
  9. package/dist/src/domain/model/eventDetails/dtos/index.js.map +1 -0
  10. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.d.ts +4 -0
  11. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.js +7 -0
  12. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.js.map +1 -0
  13. package/dist/src/domain/model/eventDetails/entities/index.d.ts +1 -0
  14. package/dist/src/domain/model/eventDetails/entities/index.js +18 -0
  15. package/dist/src/domain/model/eventDetails/entities/index.js.map +1 -0
  16. package/dist/src/domain/model/eventDetails/index.d.ts +2 -0
  17. package/dist/src/domain/model/eventDetails/index.js +19 -0
  18. package/dist/src/domain/model/eventDetails/index.js.map +1 -0
  19. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +14 -0
  20. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +73 -0
  21. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js.map +1 -0
  22. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +16 -0
  23. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js +8 -0
  24. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js.map +1 -0
  25. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +22 -0
  26. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +117 -0
  27. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +1 -0
  28. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.entity.d.ts +1 -0
  29. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.entity.js.map +1 -1
  30. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +4 -0
  31. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +23 -0
  32. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js.map +1 -0
  33. package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.d.ts +1 -0
  34. package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.js +6 -0
  35. package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.js.map +1 -1
  36. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.d.ts +6 -0
  37. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.js +33 -0
  38. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.js.map +1 -0
  39. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.d.ts +5 -0
  40. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.js +28 -0
  41. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.js.map +1 -0
  42. package/dist/src/domain/model/transaction/entities/Claim.entity.d.ts +11 -0
  43. package/dist/src/domain/model/transaction/entities/Claim.entity.js +7 -0
  44. package/dist/src/domain/model/transaction/entities/Claim.entity.js.map +1 -0
  45. package/dist/src/domain/model/transaction-meta/entities/StatusAudit.d.ts +4 -0
  46. package/dist/src/domain/model/transaction-meta/entities/StatusAudit.js +7 -0
  47. package/dist/src/domain/model/transaction-meta/entities/StatusAudit.js.map +1 -0
  48. package/dist/src/domain/services/SerializeService.d.ts +6 -0
  49. package/dist/src/domain/services/SerializeService.js +27 -0
  50. package/dist/src/domain/services/SerializeService.js.map +1 -0
  51. package/dist/src/domain/services/index.d.ts +1 -0
  52. package/dist/src/domain/services/index.js +1 -0
  53. package/dist/src/domain/services/index.js.map +1 -1
  54. package/dist/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +2 -2
@@ -11,6 +11,5 @@ export declare enum Template {
11
11
  TRADING_VIEW = "TRADING_VIEW",
12
12
  EVENT = "EVENT",
13
13
  OTHER = "OTHER",
14
- WOO = "WOO",
15
14
  LEGACY = "LEGACY"
16
15
  }
@@ -15,7 +15,6 @@ var Template;
15
15
  Template["TRADING_VIEW"] = "TRADING_VIEW";
16
16
  Template["EVENT"] = "EVENT";
17
17
  Template["OTHER"] = "OTHER";
18
- Template["WOO"] = "WOO";
19
18
  Template["LEGACY"] = "LEGACY";
20
19
  })(Template = exports.Template || (exports.Template = {}));
21
20
  //# sourceMappingURL=template.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../src/domain/constants/template.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;IAC7B,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,qDAAyC,CAAA;IACzC,+BAAmB,CAAA;IACnB,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,yCAA6B,CAAA;IAC7B,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;AACnB,CAAC,EAfW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAenB"}
1
+ {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../src/domain/constants/template.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAcX;AAdD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;IAC7B,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,qDAAyC,CAAA;IACzC,+BAAmB,CAAA;IACnB,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,yCAA6B,CAAA;IAC7B,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,6BAAiB,CAAA;AACnB,CAAC,EAdW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAcnB"}
@@ -0,0 +1,4 @@
1
+ export declare class EventDetailsDto {
2
+ datetime: Date;
3
+ location?: string;
4
+ }
@@ -0,0 +1,29 @@
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.EventDetailsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ class EventDetailsDto {
16
+ }
17
+ __decorate([
18
+ (0, class_transformer_1.Type)(() => Date),
19
+ (0, class_validator_1.IsDate)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", Date)
22
+ ], EventDetailsDto.prototype, "datetime", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", String)
27
+ ], EventDetailsDto.prototype, "location", void 0);
28
+ exports.EventDetailsDto = EventDetailsDto;
29
+ //# sourceMappingURL=eventDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/eventDetails/dtos/eventDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,yDAAyC;AAEzC,MAAa,eAAe;CAS3B;AARC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;iDAAC;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACK;AARpB,0CASC"}
@@ -0,0 +1 @@
1
+ export * from './eventDetails.dto';
@@ -0,0 +1,18 @@
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("./eventDetails.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/eventDetails/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -0,0 +1,4 @@
1
+ export declare class EventDetails {
2
+ datetime: Date;
3
+ location?: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventDetails = void 0;
4
+ class EventDetails {
5
+ }
6
+ exports.EventDetails = EventDetails;
7
+ //# sourceMappingURL=EventDetails.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/eventDetails/entities/EventDetails.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;CAIxB;AAJD,oCAIC"}
@@ -0,0 +1 @@
1
+ export * from './EventDetails.entity';
@@ -0,0 +1,18 @@
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("./EventDetails.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/eventDetails/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
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("./dtos"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/eventDetails/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -0,0 +1,14 @@
1
+ import { PaymentRequestFeaturesDto } from '../../payment-request-features';
2
+ export declare class LinkFeaturesDto extends PaymentRequestFeaturesDto {
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
+ }
@@ -0,0 +1,73 @@
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.LinkFeaturesDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const payment_request_features_1 = require("../../payment-request-features");
15
+ class LinkFeaturesDto extends payment_request_features_1.PaymentRequestFeaturesDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsBoolean)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", Boolean)
21
+ ], LinkFeaturesDto.prototype, "splitRevenue", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsBoolean)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", Boolean)
26
+ ], LinkFeaturesDto.prototype, "splitEqually", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsBoolean)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", Boolean)
31
+ ], LinkFeaturesDto.prototype, "canChangeQuantity", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsBoolean)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", Boolean)
36
+ ], LinkFeaturesDto.prototype, "requireQuantityLimits", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsBoolean)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", Boolean)
41
+ ], LinkFeaturesDto.prototype, "canChangePrice", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsBoolean)(),
44
+ (0, class_validator_1.IsOptional)(),
45
+ __metadata("design:type", Boolean)
46
+ ], LinkFeaturesDto.prototype, "isHelioPlay", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_validator_1.IsBoolean)(),
50
+ __metadata("design:type", Boolean)
51
+ ], LinkFeaturesDto.prototype, "isEscrowed", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsBoolean)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", Boolean)
56
+ ], LinkFeaturesDto.prototype, "showDiscountCode", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsBoolean)(),
59
+ (0, class_validator_1.IsOptional)(),
60
+ __metadata("design:type", Boolean)
61
+ ], LinkFeaturesDto.prototype, "requireDiscordQuantityLimit", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsBoolean)(),
64
+ (0, class_validator_1.IsOptional)(),
65
+ __metadata("design:type", Boolean)
66
+ ], LinkFeaturesDto.prototype, "requireAllowlist", void 0);
67
+ __decorate([
68
+ (0, class_validator_1.IsBoolean)(),
69
+ (0, class_validator_1.IsOptional)(),
70
+ __metadata("design:type", Boolean)
71
+ ], LinkFeaturesDto.prototype, "requireAirdrop", void 0);
72
+ exports.LinkFeaturesDto = LinkFeaturesDto;
73
+ //# sourceMappingURL=linkFeatures.dto.js.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,16 @@
1
+ import { ShallowEnrichedPaymentRequest } from '../../payment-request';
2
+ import type { ContentResponse } from '../../content';
3
+ import type { LinkFeatures } from '../../link-features';
4
+ import { HelioPlayProperties } from '../../helio-play';
5
+ import { LimitSaleType } from '../../../constants';
6
+ import { AffiliateDetails } from '../../affiliates';
7
+ export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
8
+ content: ContentResponse;
9
+ limitSaleType?: LimitSaleType;
10
+ minQuantity?: number;
11
+ maxQuantity?: number;
12
+ features: LinkFeatures;
13
+ helioPlayProperties?: HelioPlayProperties;
14
+ affiliateDetails?: AffiliateDetails;
15
+ airdropConfigured?: boolean;
16
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShallowEnrichedPaylink = void 0;
4
+ const payment_request_1 = require("../../payment-request");
5
+ class ShallowEnrichedPaylink extends payment_request_1.ShallowEnrichedPaymentRequest {
6
+ }
7
+ exports.ShallowEnrichedPaylink = ShallowEnrichedPaylink;
8
+ //# sourceMappingURL=ShallowEnrichedPaylink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAOtE,MAAa,sBAAuB,SAAQ,+CAA6B;CAgBxE;AAhBD,wDAgBC"}
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,117 @@
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
@@ -0,0 +1 @@
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"}
@@ -2,4 +2,5 @@ import { PrepareTransaction } from './PrepareTransaction.entity';
2
2
  export declare class PrepareSwapTransaction {
3
3
  standardTransaction: PrepareTransaction;
4
4
  swapTransaction: string;
5
+ swapAddressLookupTableAccounts?: string[];
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrepareSwapTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC"}
1
+ {"version":3,"file":"PrepareSwapTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAMlC;AAND,wDAMC"}
@@ -0,0 +1,4 @@
1
+ import { PaymentRequestFeaturesDto } from '../../payment-request-features';
2
+ export declare class StreamFeaturesDto extends PaymentRequestFeaturesDto {
3
+ isHelioPlay?: boolean;
4
+ }
@@ -0,0 +1,23 @@
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.StreamFeaturesDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const payment_request_features_1 = require("../../payment-request-features");
15
+ class StreamFeaturesDto extends payment_request_features_1.PaymentRequestFeaturesDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsBoolean)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", Boolean)
21
+ ], StreamFeaturesDto.prototype, "isHelioPlay", void 0);
22
+ exports.StreamFeaturesDto = StreamFeaturesDto;
23
+ //# sourceMappingURL=streamFeaturesDto.js.map
@@ -0,0 +1 @@
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"}
@@ -1,4 +1,5 @@
1
1
  import { SubmitTransactionDto } from './submitTransaction.dto';
2
2
  export declare class SubmitSwapTransactionDto extends SubmitTransactionDto {
3
3
  signedSwapTransaction: string;
4
+ addressLookupTableAccountsAddresses: string[];
4
5
  }
@@ -19,5 +19,11 @@ __decorate([
19
19
  (0, class_validator_1.IsNotEmpty)(),
20
20
  __metadata("design:type", String)
21
21
  ], SubmitSwapTransactionDto.prototype, "signedSwapTransaction", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsArray)(),
24
+ (0, class_validator_1.IsString)({ each: true }),
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", Array)
27
+ ], SubmitSwapTransactionDto.prototype, "addressLookupTableAccountsAddresses", void 0);
22
28
  exports.SubmitSwapTransactionDto = SubmitSwapTransactionDto;
23
29
  //# sourceMappingURL=submitSwapTransaction.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"submitSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,4CAAoB;CAIjE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACiB;AAHhC,4DAIC"}
1
+ {"version":3,"file":"submitSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAC5E,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,4CAAoB;CASjE;AARC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACiB;AAE9B;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;qFACiC;AARhD,4DASC"}
@@ -0,0 +1,6 @@
1
+ import { PaymentRequestType } from '../../payment-request';
2
+ export declare class ClaimTransactionDto {
3
+ txId: string;
4
+ txType: PaymentRequestType;
5
+ username?: string;
6
+ }
@@ -0,0 +1,33 @@
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.ClaimTransactionDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const payment_request_1 = require("../../payment-request");
15
+ class ClaimTransactionDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], ClaimTransactionDto.prototype, "txId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], ClaimTransactionDto.prototype, "txType", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], ClaimTransactionDto.prototype, "username", void 0);
32
+ exports.ClaimTransactionDto = ClaimTransactionDto;
33
+ //# sourceMappingURL=claimTransaction.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claimTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/dtos/claimTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,2DAA2D;AAE3D,MAAa,mBAAmB;CAY/B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACA;AAEb;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;mDACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAXpB,kDAYC"}
@@ -0,0 +1,5 @@
1
+ import { PaymentRequestType } from '../../payment-request';
2
+ export declare class GenerateDiscordLinkDto {
3
+ txId: string;
4
+ txType: PaymentRequestType;
5
+ }
@@ -0,0 +1,28 @@
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.GenerateDiscordLinkDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const payment_request_1 = require("../../payment-request");
15
+ class GenerateDiscordLinkDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GenerateDiscordLinkDto.prototype, "txId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], GenerateDiscordLinkDto.prototype, "txType", void 0);
27
+ exports.GenerateDiscordLinkDto = GenerateDiscordLinkDto;
28
+ //# sourceMappingURL=generateDiscordLink.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateDiscordLink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/dtos/generateDiscordLink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2DAA2D;AAE3D,MAAa,sBAAsB;CAQlC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACA;AAEb;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACc;AAP7B,wDAQC"}
@@ -0,0 +1,11 @@
1
+ import { ClaimDetails } from '../../claim-details';
2
+ import { PaymentRequestType } from '../../payment-request';
3
+ export declare class Claim {
4
+ txId: string;
5
+ paymentRequestName: string;
6
+ paymentRequestType: PaymentRequestType;
7
+ companyLogoUrl: string;
8
+ requireTradingViewUsername: boolean;
9
+ claimDetails: ClaimDetails;
10
+ createdAt: string;
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Claim = void 0;
4
+ class Claim {
5
+ }
6
+ exports.Claim = Claim;
7
+ //# sourceMappingURL=Claim.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Claim.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/entities/Claim.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,KAAK;CAcjB;AAdD,sBAcC"}
@@ -0,0 +1,4 @@
1
+ import { TransactionStatus } from '../constants';
2
+ export declare class StatusAudit {
3
+ transactionStatus: TransactionStatus;
4
+ }