@heliofi/common 0.1.619 → 0.1.620

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 (122) hide show
  1. package/dist/src/domain/model/blink/dtos/index.d.ts +1 -0
  2. package/dist/src/domain/model/blink/dtos/index.js +1 -0
  3. package/dist/src/domain/model/blink/dtos/index.js.map +1 -1
  4. package/dist/src/domain/model/charge/dtos/createCharge.dto.d.ts +0 -2
  5. package/dist/src/domain/model/charge/dtos/createCharge.dto.js +0 -7
  6. package/dist/src/domain/model/charge/dtos/createCharge.dto.js.map +1 -1
  7. package/dist/src/domain/model/charge/dtos/createChargeWithOptionalShopify.dto.d.ts +6 -0
  8. package/dist/src/domain/model/charge/dtos/createChargeWithOptionalShopify.dto.js +26 -0
  9. package/dist/src/domain/model/charge/dtos/createChargeWithOptionalShopify.dto.js.map +1 -0
  10. package/dist/src/domain/model/charge/dtos/index.d.ts +1 -0
  11. package/dist/src/domain/model/charge/dtos/index.js +1 -0
  12. package/dist/src/domain/model/charge/dtos/index.js.map +1 -1
  13. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.d.ts +5 -0
  14. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js +32 -0
  15. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js.map +1 -0
  16. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.d.ts +4 -0
  17. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js +27 -0
  18. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js.map +1 -0
  19. package/dist/src/domain/model/charge/dtos/updateCharge.dto.d.ts +2 -4
  20. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js +2 -16
  21. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js.map +1 -1
  22. package/dist/src/domain/model/geoblock/entities/ipGeoblock.entity.d.ts +4 -0
  23. package/dist/src/domain/model/geoblock/entities/ipGeoblock.entity.js +8 -0
  24. package/dist/src/domain/model/geoblock/entities/ipGeoblock.entity.js.map +1 -0
  25. package/dist/src/domain/model/geoblock/entities/ipGeoblockAllowed.entity.d.ts +4 -0
  26. package/dist/src/domain/model/geoblock/entities/ipGeoblockAllowed.entity.js +8 -0
  27. package/dist/src/domain/model/geoblock/entities/ipGeoblockAllowed.entity.js.map +1 -0
  28. package/dist/src/domain/model/on-ramps/dtos/moonpaySignedUrl.d.ts +3 -0
  29. package/dist/src/domain/model/on-ramps/dtos/moonpaySignedUrl.js +22 -0
  30. package/dist/src/domain/model/on-ramps/dtos/moonpaySignedUrl.js.map +1 -0
  31. package/dist/src/domain/model/on-ramps/entities/MoonPaySignedWalletAddress.entity.d.ts +4 -0
  32. package/dist/src/domain/model/on-ramps/entities/MoonPaySignedWalletAddress.entity.js +8 -0
  33. package/dist/src/domain/model/on-ramps/entities/MoonPaySignedWalletAddress.entity.js.map +1 -0
  34. package/dist/src/domain/model/on-ramps/entities/MoonPayUrlWithSignature.entity.d.ts +4 -0
  35. package/dist/src/domain/model/on-ramps/entities/MoonPayUrlWithSignature.entity.js +8 -0
  36. package/dist/src/domain/model/on-ramps/entities/MoonPayUrlWithSignature.entity.js.map +1 -0
  37. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +2 -0
  38. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +6 -0
  39. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
  40. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +2 -0
  41. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +6 -0
  42. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
  43. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.d.ts +4 -0
  44. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.js +9 -0
  45. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.js.map +1 -0
  46. package/dist/src/domain/model/paylink/entities/index.d.ts +6 -5
  47. package/dist/src/domain/model/paylink/entities/index.js +6 -5
  48. package/dist/src/domain/model/paylink/entities/index.js.map +1 -1
  49. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.d.ts +4 -0
  50. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js +8 -0
  51. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js.map +1 -0
  52. package/dist/src/domain/model/prepare-refund/shopify/entities/index.d.ts +1 -0
  53. package/dist/src/domain/model/prepare-refund/shopify/entities/index.js +18 -0
  54. package/dist/src/domain/model/prepare-refund/shopify/entities/index.js.map +1 -0
  55. package/dist/src/domain/model/prepare-refund/shopify/index.d.ts +1 -0
  56. package/dist/src/domain/model/prepare-refund/shopify/index.js +18 -0
  57. package/dist/src/domain/model/prepare-refund/shopify/index.js.map +1 -0
  58. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +6 -0
  59. package/dist/src/domain/model/role/dtos/createRole.dto.js +33 -0
  60. package/dist/src/domain/model/role/dtos/createRole.dto.js.map +1 -0
  61. package/dist/src/domain/model/role/dtos/index.d.ts +2 -0
  62. package/dist/src/domain/model/role/dtos/index.js +19 -0
  63. package/dist/src/domain/model/role/dtos/index.js.map +1 -0
  64. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +4 -0
  65. package/dist/src/domain/model/role/dtos/updateRole.dto.js +23 -0
  66. package/dist/src/domain/model/role/dtos/updateRole.dto.js.map +1 -0
  67. package/dist/src/domain/model/shopify-api/mockAccessToken.d.ts +1 -0
  68. package/dist/src/domain/model/shopify-api/mockAccessToken.js +5 -0
  69. package/dist/src/domain/model/shopify-api/mockAccessToken.js.map +1 -0
  70. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.d.ts +5 -0
  71. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js +32 -0
  72. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js.map +1 -0
  73. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.d.ts +9 -0
  74. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js +45 -0
  75. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js.map +1 -0
  76. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.d.ts +7 -0
  77. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js +39 -0
  78. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js.map +1 -0
  79. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.d.ts +3 -0
  80. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js +22 -0
  81. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js.map +1 -0
  82. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.d.ts +4 -0
  83. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js +27 -0
  84. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js.map +1 -0
  85. package/dist/src/domain/model/shopify-gdpr/dtos/index.d.ts +5 -0
  86. package/dist/src/domain/model/shopify-gdpr/dtos/index.js +22 -0
  87. package/dist/src/domain/model/shopify-gdpr/dtos/index.js.map +1 -0
  88. package/dist/src/domain/model/shopify-gdpr/index.d.ts +1 -0
  89. package/dist/src/domain/model/shopify-gdpr/index.js +18 -0
  90. package/dist/src/domain/model/shopify-gdpr/index.js.map +1 -0
  91. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.d.ts +7 -0
  92. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js +41 -0
  93. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js.map +1 -0
  94. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.d.ts +8 -0
  95. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.js +47 -0
  96. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.js.map +1 -0
  97. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.d.ts +4 -0
  98. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.js +7 -0
  99. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.js.map +1 -0
  100. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.d.ts +0 -1
  101. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js +0 -1
  102. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
  103. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.d.ts +6 -0
  104. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js +31 -0
  105. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js.map +1 -0
  106. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.d.ts +1 -0
  107. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js +18 -0
  108. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js.map +1 -0
  109. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.d.ts +3 -0
  110. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js +8 -0
  111. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js.map +1 -0
  112. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.d.ts +11 -0
  113. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js +8 -0
  114. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js.map +1 -0
  115. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.d.ts +2 -0
  116. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js +19 -0
  117. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js.map +1 -0
  118. package/dist/src/domain/model/webhook/blink-transaction-hook/index.d.ts +2 -0
  119. package/dist/src/domain/model/webhook/blink-transaction-hook/index.js +19 -0
  120. package/dist/src/domain/model/webhook/blink-transaction-hook/index.js.map +1 -0
  121. package/dist/tsconfig.tsbuildinfo +1 -1
  122. package/package.json +2 -2
@@ -1 +1,2 @@
1
1
  export * from './createBlink.dto';
2
+ export * from './createBlinkFeatures.dto';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./createBlink.dto"), exports);
18
+ __exportStar(require("./createBlinkFeatures.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4DAA0C"}
@@ -1,5 +1,4 @@
1
1
  import { PrepareTransactionFromChargeDto } from './prepareRequestBodyFromCharge.dto';
2
- import { ShopifyPaymentDetailsDto } from './shopifyPaymentDetails.dto';
3
2
  export declare class CreateChargeDto {
4
3
  paymentRequestId: string;
5
4
  paylink: string;
@@ -9,5 +8,4 @@ export declare class CreateChargeDto {
9
8
  usdcAmount?: string;
10
9
  redirectUrl?: string;
11
10
  token?: string;
12
- shopifyPaymentDetails?: ShopifyPaymentDetailsDto;
13
11
  }
@@ -13,7 +13,6 @@ exports.CreateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const prepareRequestBodyFromCharge_dto_1 = require("./prepareRequestBodyFromCharge.dto");
16
- const shopifyPaymentDetails_dto_1 = require("./shopifyPaymentDetails.dto");
17
16
  class CreateChargeDto {
18
17
  }
19
18
  __decorate([
@@ -57,11 +56,5 @@ __decorate([
57
56
  (0, class_validator_1.IsOptional)(),
58
57
  __metadata("design:type", String)
59
58
  ], CreateChargeDto.prototype, "token", void 0);
60
- __decorate([
61
- (0, class_transformer_1.Type)(() => shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto),
62
- (0, class_validator_1.IsOptional)(),
63
- (0, class_validator_1.ValidateNested)(),
64
- __metadata("design:type", shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto)
65
- ], CreateChargeDto.prototype, "shopifyPaymentDetails", void 0);
66
59
  exports.CreateChargeDto = CreateChargeDto;
67
60
  //# sourceMappingURL=createCharge.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;AACrF,2EAAuE;AAEvE,MAAa,eAAe;CAsC3B;AArCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACG,kEAA+B;2DAAC;AAEpD;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,oDAAwB;8DAAC;AArCnD,0CAsCC"}
1
+ {"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;AAErF,MAAa,eAAe;CAiC3B;AAhCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACG,kEAA+B;2DAAC;AAEpD;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAhCjB,0CAiCC"}
@@ -0,0 +1,6 @@
1
+ import { CreateChargeDto } from './createCharge.dto';
2
+ import { ShopifyPaymentDetailsDto } from './shopifyPaymentDetails.dto';
3
+ export declare class CreateChargeWithOptionalShopifyDto extends CreateChargeDto {
4
+ shopifyPaymentDetails?: ShopifyPaymentDetailsDto;
5
+ }
6
+ export declare type CreateChargeWithRequiredShopifyDto = Exclude<CreateChargeWithOptionalShopifyDto, 'shopifyPaymentDetails'> & Required<Pick<CreateChargeWithOptionalShopifyDto, 'shopifyPaymentDetails'>>;
@@ -0,0 +1,26 @@
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.CreateChargeWithOptionalShopifyDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const createCharge_dto_1 = require("./createCharge.dto");
16
+ const shopifyPaymentDetails_dto_1 = require("./shopifyPaymentDetails.dto");
17
+ class CreateChargeWithOptionalShopifyDto extends createCharge_dto_1.CreateChargeDto {
18
+ }
19
+ __decorate([
20
+ (0, class_transformer_1.Type)(() => shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.ValidateNested)(),
23
+ __metadata("design:type", shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto)
24
+ ], CreateChargeWithOptionalShopifyDto.prototype, "shopifyPaymentDetails", void 0);
25
+ exports.CreateChargeWithOptionalShopifyDto = CreateChargeWithOptionalShopifyDto;
26
+ //# sourceMappingURL=createChargeWithOptionalShopify.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createChargeWithOptionalShopify.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createChargeWithOptionalShopify.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,yDAAyC;AACzC,yDAAqD;AACrD,2EAAuE;AAEvE,MAAa,kCAAmC,SAAQ,kCAAe;CAKtE;AAJC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,oDAAwB;iFAAC;AAJnD,gFAKC"}
@@ -2,6 +2,7 @@ export * from './createCharge.dto';
2
2
  export * from './prepareRequestBodyFromCharge.dto';
3
3
  export * from './prepareTransactionFromCharge.dto';
4
4
  export * from './prepareSwapTransactionCharge.dto';
5
+ export * from './partialUpdateCharge.dto';
5
6
  export * from './updateCharge.dto';
6
7
  export * from './createChargeByApiKey.dto';
7
8
  export * from './prepareRequestBodyFromApiKeyCharge.dto';
@@ -18,6 +18,7 @@ __exportStar(require("./createCharge.dto"), exports);
18
18
  __exportStar(require("./prepareRequestBodyFromCharge.dto"), exports);
19
19
  __exportStar(require("./prepareTransactionFromCharge.dto"), exports);
20
20
  __exportStar(require("./prepareSwapTransactionCharge.dto"), exports);
21
+ __exportStar(require("./partialUpdateCharge.dto"), exports);
21
22
  __exportStar(require("./updateCharge.dto"), exports);
22
23
  __exportStar(require("./createChargeByApiKey.dto"), exports);
23
24
  __exportStar(require("./prepareRequestBodyFromApiKeyCharge.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,qDAAmC;AACnC,6DAA2C;AAC3C,2EAAyD;AACzD,wEAAsD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,4DAA0C;AAC1C,qDAAmC;AACnC,6DAA2C;AAC3C,2EAAyD;AACzD,wEAAsD"}
@@ -0,0 +1,5 @@
1
+ export declare class PartialUpdateChargeDto {
2
+ currency: string;
3
+ paymentRequestId: string;
4
+ quantity?: number;
5
+ }
@@ -0,0 +1,32 @@
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.PartialUpdateChargeDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class PartialUpdateChargeDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], PartialUpdateChargeDto.prototype, "currency", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], PartialUpdateChargeDto.prototype, "paymentRequestId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], PartialUpdateChargeDto.prototype, "quantity", void 0);
31
+ exports.PartialUpdateChargeDto = PartialUpdateChargeDto;
32
+ //# sourceMappingURL=partialUpdateCharge.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partialUpdateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/partialUpdateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,sBAAsB;CAYlC;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO;AAXpB,wDAYC"}
@@ -0,0 +1,4 @@
1
+ export declare class ShopifyDetailsDto {
2
+ shopId: string;
3
+ shopGid: string;
4
+ }
@@ -0,0 +1,27 @@
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.ShopifyDetailsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ShopifyDetailsDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], ShopifyDetailsDto.prototype, "shopId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], ShopifyDetailsDto.prototype, "shopGid", void 0);
26
+ exports.ShopifyDetailsDto = ShopifyDetailsDto;
27
+ //# sourceMappingURL=shopifyDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopifyDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/shopifyDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iBAAiB;CAQ7B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAPlB,8CAQC"}
@@ -1,7 +1,5 @@
1
- export declare class UpdateChargeDto {
2
- currency: string;
1
+ import { PartialUpdateChargeDto } from './partialUpdateCharge.dto';
2
+ export declare class UpdateChargeDto extends PartialUpdateChargeDto {
3
3
  amount: string;
4
- paymentRequestId: string;
5
- quantity?: number;
6
4
  pricingCurrencyRateToken: string;
7
5
  }
@@ -11,28 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UpdateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class UpdateChargeDto {
14
+ const partialUpdateCharge_dto_1 = require("./partialUpdateCharge.dto");
15
+ class UpdateChargeDto extends partialUpdateCharge_dto_1.PartialUpdateChargeDto {
15
16
  }
16
- __decorate([
17
- (0, class_validator_1.IsString)(),
18
- (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", String)
20
- ], UpdateChargeDto.prototype, "currency", void 0);
21
17
  __decorate([
22
18
  (0, class_validator_1.IsString)(),
23
19
  (0, class_validator_1.IsNotEmpty)(),
24
20
  __metadata("design:type", String)
25
21
  ], UpdateChargeDto.prototype, "amount", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsString)(),
28
- (0, class_validator_1.IsNotEmpty)(),
29
- __metadata("design:type", String)
30
- ], UpdateChargeDto.prototype, "paymentRequestId", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsNumber)(),
34
- __metadata("design:type", Number)
35
- ], UpdateChargeDto.prototype, "quantity", void 0);
36
22
  __decorate([
37
23
  (0, class_validator_1.IsString)(),
38
24
  (0, class_validator_1.IsNotEmpty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,eAAe;CAoB3B;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACO;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAnBnC,0CAoBC"}
1
+ {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,uEAAmE;AAEnE,MAAa,eAAgB,SAAQ,gDAAsB;CAQ1D;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAPnC,0CAQC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class IpGeoblockAllowed extends Entity {
3
+ isAllowed: boolean;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IpGeoblockAllowed = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class IpGeoblockAllowed extends entity_1.Entity {
6
+ }
7
+ exports.IpGeoblockAllowed = IpGeoblockAllowed;
8
+ //# sourceMappingURL=ipGeoblock.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipGeoblock.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/geoblock/entities/ipGeoblock.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,iBAAkB,SAAQ,eAAM;CAE5C;AAFD,8CAEC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class IpGeoblockAllowed extends Entity {
3
+ isAllowed: boolean;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IpGeoblockAllowed = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class IpGeoblockAllowed extends entity_1.Entity {
6
+ }
7
+ exports.IpGeoblockAllowed = IpGeoblockAllowed;
8
+ //# sourceMappingURL=ipGeoblockAllowed.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipGeoblockAllowed.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/geoblock/entities/ipGeoblockAllowed.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,iBAAkB,SAAQ,eAAM;CAE5C;AAFD,8CAEC"}
@@ -0,0 +1,3 @@
1
+ export declare class MoonpaySignedUrlDto {
2
+ url: string;
3
+ }
@@ -0,0 +1,22 @@
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.MoonpaySignedUrlDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MoonpaySignedUrlDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], MoonpaySignedUrlDto.prototype, "url", void 0);
21
+ exports.MoonpaySignedUrlDto = MoonpaySignedUrlDto;
22
+ //# sourceMappingURL=moonpaySignedUrl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moonpaySignedUrl.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/moonpaySignedUrl.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,mBAAmB;CAI/B;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACD;AAHd,kDAIC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class MoonPaySignedWalletAddress extends Entity {
3
+ signed: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoonPaySignedWalletAddress = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class MoonPaySignedWalletAddress extends entity_1.Entity {
6
+ }
7
+ exports.MoonPaySignedWalletAddress = MoonPaySignedWalletAddress;
8
+ //# sourceMappingURL=MoonPaySignedWalletAddress.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPaySignedWalletAddress.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/MoonPaySignedWalletAddress.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,0BAA2B,SAAQ,eAAM;CAErD;AAFD,gEAEC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class MoonPayUrlWithSignature extends Entity {
3
+ urlWithSignature: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoonPayUrlWithSignature = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class MoonPayUrlWithSignature extends entity_1.Entity {
6
+ }
7
+ exports.MoonPayUrlWithSignature = MoonPayUrlWithSignature;
8
+ //# sourceMappingURL=MoonPayUrlWithSignature.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayUrlWithSignature.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/MoonPayUrlWithSignature.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAElD;AAFD,0DAEC"}
@@ -7,6 +7,7 @@ import { LimitSaleType } from '../../../constants';
7
7
  import { AffiliateDetailsDto } from '../../affiliates';
8
8
  import { SourceIntegration } from '../../transaction-meta';
9
9
  import { RaffleDetailsDto } from '../../raffle-details';
10
+ import { PayLinkCreationSource } from '../entities/CreatePaylinkSourse.enum';
10
11
  export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'price'> & {
11
12
  price: bigint;
12
13
  };
@@ -25,4 +26,5 @@ export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
25
26
  sourceIntegrationVersion?: string;
26
27
  redirectUrl?: string;
27
28
  airdropDetailsId?: string;
29
+ creationSource?: PayLinkCreationSource;
28
30
  }
@@ -21,6 +21,7 @@ const constants_1 = require("../../../constants");
21
21
  const affiliates_1 = require("../../affiliates");
22
22
  const transaction_meta_1 = require("../../transaction-meta");
23
23
  const raffle_details_1 = require("../../raffle-details");
24
+ const CreatePaylinkSourse_enum_1 = require("../entities/CreatePaylinkSourse.enum");
24
25
  class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
25
26
  }
26
27
  __decorate([
@@ -99,5 +100,10 @@ __decorate([
99
100
  (0, class_validator_1.IsMongoId)(),
100
101
  __metadata("design:type", String)
101
102
  ], CreatePaylinkDto.prototype, "airdropDetailsId", void 0);
103
+ __decorate([
104
+ (0, class_validator_1.IsString)(),
105
+ (0, class_validator_1.IsOptional)(),
106
+ __metadata("design:type", String)
107
+ ], CreatePaylinkDto.prototype, "creationSource", void 0);
102
108
  exports.CreatePaylinkDto = CreatePaylinkDto;
103
109
  //# 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,qDASyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AAMxD,MAAa,gBAAiB,SAAQ,yCAAuB;CA8D5D;AA7DC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;uDAAC;AAEjC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;2DACyB;AAEtC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kEACmB;AAElC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AA7D5B,4CA8DC"}
1
+ {"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AACxD,mFAA6E;AAM7E,MAAa,gBAAiB,SAAQ,yCAAuB;CAkE5D;AAjEC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;uDAAC;AAEjC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;2DACyB;AAEtC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kEACmB;AAElC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDAC0B;AAjEzC,4CAkEC"}
@@ -6,6 +6,7 @@ import { LimitSaleType } from '../../../constants';
6
6
  import { HelioPlayPropertiesDto } from '../../helio-play';
7
7
  import { AffiliateDetailsDto } from '../../affiliates';
8
8
  import { RaffleDetailsDto } from '../../raffle-details';
9
+ import { PayLinkCreationSource } from '../entities/CreatePaylinkSourse.enum';
9
10
  export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
10
11
  features: CreateLinkFeaturesDto;
11
12
  splitWallets?: SplitWalletDto[];
@@ -18,4 +19,5 @@ export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApi
18
19
  raffleDetails?: RaffleDetailsDto;
19
20
  redirectUrl?: string;
20
21
  airdropDetailsId?: string;
22
+ creationSource?: PayLinkCreationSource;
21
23
  }
@@ -20,6 +20,7 @@ const constants_1 = require("../../../constants");
20
20
  const helio_play_1 = require("../../helio-play");
21
21
  const affiliates_1 = require("../../affiliates");
22
22
  const raffle_details_1 = require("../../raffle-details");
23
+ const CreatePaylinkSourse_enum_1 = require("../entities/CreatePaylinkSourse.enum");
23
24
  class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
24
25
  }
25
26
  __decorate([
@@ -82,5 +83,10 @@ __decorate([
82
83
  (0, class_validator_1.IsMongoId)(),
83
84
  __metadata("design:type", String)
84
85
  ], CreatePaylinkWithApiDto.prototype, "airdropDetailsId", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsString)(),
88
+ (0, class_validator_1.IsOptional)(),
89
+ __metadata("design:type", String)
90
+ ], CreatePaylinkWithApiDto.prototype, "creationSource", void 0);
85
91
  exports.CreatePaylinkWithApiDto = CreatePaylinkWithApiDto;
86
92
  //# sourceMappingURL=createPaylinkWithApi.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AACvD,yDAAwD;AAExD,MAAa,uBAAwB,SAAQ,gDAA8B;CAiD1E;AAhDC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;yDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;8DACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;oEAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iEACc;AAhD5B,0DAiDC"}
1
+ {"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AACvD,yDAAwD;AACxD,mFAA6E;AAE7E,MAAa,uBAAwB,SAAQ,gDAA8B;CAqD1E;AApDC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;yDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;8DACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;oEAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iEACc;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DAC0B;AApDzC,0DAqDC"}
@@ -0,0 +1,4 @@
1
+ export declare enum PayLinkCreationSource {
2
+ PRIVATE = "PRIVATE_API",
3
+ PUBLIC = "PUBLIC_API"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayLinkCreationSource = void 0;
4
+ var PayLinkCreationSource;
5
+ (function (PayLinkCreationSource) {
6
+ PayLinkCreationSource["PRIVATE"] = "PRIVATE_API";
7
+ PayLinkCreationSource["PUBLIC"] = "PUBLIC_API";
8
+ })(PayLinkCreationSource = exports.PayLinkCreationSource || (exports.PayLinkCreationSource = {}));
9
+ //# sourceMappingURL=CreatePaylinkSourse.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePaylinkSourse.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/CreatePaylinkSourse.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;AACvB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
@@ -1,9 +1,10 @@
1
- export * from './Paylink';
2
1
  export * from './BasePaylink';
3
- export * from './ShallowEnrichedPaylink.entity';
4
- export * from './OnlyContentPaylink';
5
- export * from './PaylinkStats';
2
+ export * from './CreatePaylinkSourse.enum';
3
+ export * from './Integration.enum';
6
4
  export * from './OnlyContentAndSwapTransactionPaylink.entity';
7
5
  export * from './OnlyContentAndTransactionPaylink.entity';
8
- export * from './Integration.enum';
6
+ export * from './OnlyContentPaylink';
7
+ export * from './Paylink';
8
+ export * from './PaylinkStats';
9
+ export * from './ShallowEnrichedPaylink.entity';
9
10
  export * from './ShopifyMerchentPaylink.entity';
@@ -14,13 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Paylink"), exports);
18
17
  __exportStar(require("./BasePaylink"), exports);
19
- __exportStar(require("./ShallowEnrichedPaylink.entity"), exports);
20
- __exportStar(require("./OnlyContentPaylink"), exports);
21
- __exportStar(require("./PaylinkStats"), exports);
18
+ __exportStar(require("./CreatePaylinkSourse.enum"), exports);
19
+ __exportStar(require("./Integration.enum"), exports);
22
20
  __exportStar(require("./OnlyContentAndSwapTransactionPaylink.entity"), exports);
23
21
  __exportStar(require("./OnlyContentAndTransactionPaylink.entity"), exports);
24
- __exportStar(require("./Integration.enum"), exports);
22
+ __exportStar(require("./OnlyContentPaylink"), exports);
23
+ __exportStar(require("./Paylink"), exports);
24
+ __exportStar(require("./PaylinkStats"), exports);
25
+ __exportStar(require("./ShallowEnrichedPaylink.entity"), exports);
25
26
  __exportStar(require("./ShopifyMerchentPaylink.entity"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,kEAAgD;AAChD,uDAAqC;AACrC,iDAA+B;AAC/B,gFAA8D;AAC9D,4EAA0D;AAC1D,qDAAmC;AACnC,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,gFAA8D;AAC9D,4EAA0D;AAC1D,uDAAqC;AACrC,4CAA0B;AAC1B,iDAA+B;AAC/B,kEAAgD;AAChD,kEAAgD"}
@@ -0,0 +1,4 @@
1
+ import { PrepareTransaction } from '../../../prepare-transaction';
2
+ export declare class PreparePartialAmountRefundTransaction extends PrepareTransaction {
3
+ refundRequestId: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparePartialAmountRefundTransaction = void 0;
4
+ const prepare_transaction_1 = require("../../../prepare-transaction");
5
+ class PreparePartialAmountRefundTransaction extends prepare_transaction_1.PrepareTransaction {
6
+ }
7
+ exports.PreparePartialAmountRefundTransaction = PreparePartialAmountRefundTransaction;
8
+ //# sourceMappingURL=PreparePartialAmountRefundTransaction.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreparePartialAmountRefundTransaction.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,sEAAkE;AAElE,MAAa,qCAAsC,SAAQ,wCAAkB;CAE5E;AAFD,sFAEC"}
@@ -0,0 +1 @@
1
+ export * from './PreparePartialAmountRefundTransaction.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("./PreparePartialAmountRefundTransaction.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/prepare-refund/shopify/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iFAA+D"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -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("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-refund/shopify/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,6 @@
1
+ import { RoleType } from '../entities';
2
+ export declare class CreateRoleDto {
3
+ company: string;
4
+ type: RoleType;
5
+ user: string;
6
+ }