@heliofi/common 0.1.514 → 0.1.515

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 (51) hide show
  1. package/dist/src/domain/model/auth/dtos/btcProperties.dto.js +1 -1
  2. package/dist/src/domain/model/auth/dtos/btcProperties.dto.js.map +1 -1
  3. package/dist/src/domain/model/charge/dtos/createCharge.dto.d.ts +2 -2
  4. package/dist/src/domain/model/charge/dtos/createCharge.dto.js +4 -4
  5. package/dist/src/domain/model/charge/dtos/createCharge.dto.js.map +1 -1
  6. package/dist/src/domain/model/charge/dtos/shopifyPaymentDetails.dto.d.ts +4 -0
  7. package/dist/src/domain/model/charge/dtos/shopifyPaymentDetails.dto.js +27 -0
  8. package/dist/src/domain/model/charge/dtos/shopifyPaymentDetails.dto.js.map +1 -0
  9. package/dist/src/domain/model/charge/entities/Charge.entity.d.ts +3 -2
  10. package/dist/src/domain/model/charge/entities/Charge.entity.js.map +1 -1
  11. package/dist/src/domain/model/company/entities/Company.entity.d.ts +1 -1
  12. package/dist/src/domain/model/index.d.ts +1 -0
  13. package/dist/src/domain/model/index.js +1 -0
  14. package/dist/src/domain/model/index.js.map +1 -1
  15. package/dist/src/domain/model/kyb-details/entities/KYBDetails.entity.d.ts +2 -1
  16. package/dist/src/domain/model/kyb-details/entities/KYBDetails.entity.js.map +1 -1
  17. package/dist/src/domain/model/kyb-details/entities/KYBStatus.entity.d.ts +6 -0
  18. package/dist/src/domain/model/kyb-details/entities/KYBStatus.entity.js +11 -0
  19. package/dist/src/domain/model/kyb-details/entities/KYBStatus.entity.js.map +1 -0
  20. package/dist/src/domain/model/kyb-details/entities/index.d.ts +1 -0
  21. package/dist/src/domain/model/kyb-details/entities/index.js +1 -0
  22. package/dist/src/domain/model/kyb-details/entities/index.js.map +1 -1
  23. package/dist/src/domain/model/shopify-payment-details/entities/ShopifyPaymentDetails.entity.d.ts +5 -0
  24. package/dist/src/domain/model/shopify-payment-details/entities/ShopifyPaymentDetails.entity.js +8 -0
  25. package/dist/src/domain/model/shopify-payment-details/entities/ShopifyPaymentDetails.entity.js.map +1 -0
  26. package/dist/src/domain/model/shopify-payment-details/entities/index.d.ts +1 -0
  27. package/dist/src/domain/model/shopify-payment-details/entities/index.js +18 -0
  28. package/dist/src/domain/model/shopify-payment-details/entities/index.js.map +1 -0
  29. package/dist/src/domain/model/shopify-payment-details/index.d.ts +1 -0
  30. package/dist/src/domain/model/shopify-payment-details/index.js +18 -0
  31. package/dist/src/domain/model/shopify-payment-details/index.js.map +1 -0
  32. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.entity.d.ts +2 -0
  33. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.entity.js.map +1 -1
  34. package/dist/src/domain/model/transaction-meta/entities/CreateTransactionMeta.d.ts +2 -0
  35. package/dist/src/domain/model/transaction-meta/entities/CreateTransactionMeta.js.map +1 -1
  36. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.d.ts +4 -0
  37. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.entity.d.ts +4 -0
  38. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.entity.js +7 -0
  39. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.entity.js.map +1 -0
  40. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.js +7 -0
  41. package/dist/src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.js.map +1 -0
  42. package/dist/src/domain/model/transaction-meta/entities/index.d.ts +1 -0
  43. package/dist/src/domain/model/transaction-meta/entities/index.js +1 -0
  44. package/dist/src/domain/model/transaction-meta/entities/index.js.map +1 -1
  45. package/dist/src/domain/model/wallet/dtos/btcProperties.dto.js +1 -1
  46. package/dist/src/domain/model/wallet/dtos/btcProperties.dto.js.map +1 -1
  47. package/dist/tsconfig.tsbuildinfo +1 -1
  48. package/index.ts +0 -0
  49. package/package.json +2 -2
  50. package/tsconfig.build.json +0 -0
  51. package/tsconfig.json +0 -0
@@ -20,7 +20,7 @@ __decorate([
20
20
  ], BTCPropertiesDto.prototype, "paymentAddress", void 0);
21
21
  __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsNotEmpty)(),
23
+ (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", String)
25
25
  ], BTCPropertiesDto.prototype, "ordinalsAddress", void 0);
26
26
  exports.BTCPropertiesDto = BTCPropertiesDto;
@@ -1 +1 @@
1
- {"version":3,"file":"btcProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/btcProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACW;AAP1B,4CAQC"}
1
+ {"version":3,"file":"btcProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/btcProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACW;AAP1B,4CAQC"}
@@ -1,5 +1,5 @@
1
1
  import { PrepareTransactionFromChargeDto } from './prepareRequestBodyFromCharge.dto';
2
- import { ShopifyDetailsDto } from './shopifyDetails.dto';
2
+ import { ShopifyPaymentDetailsDto } from './shopifyPaymentDetails.dto';
3
3
  export declare class CreateChargeDto {
4
4
  paymentRequestId: string;
5
5
  paylink: string;
@@ -8,5 +8,5 @@ export declare class CreateChargeDto {
8
8
  currencySymbol: string;
9
9
  usdcAmount?: string;
10
10
  redirectUrl?: bigint;
11
- shopifyDetails: ShopifyDetailsDto;
11
+ shopifyPaymentDetails: ShopifyPaymentDetailsDto;
12
12
  }
@@ -13,7 +13,7 @@ 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 shopifyDetails_dto_1 = require("./shopifyDetails.dto");
16
+ const shopifyPaymentDetails_dto_1 = require("./shopifyPaymentDetails.dto");
17
17
  class CreateChargeDto {
18
18
  }
19
19
  __decorate([
@@ -53,10 +53,10 @@ __decorate([
53
53
  __metadata("design:type", BigInt)
54
54
  ], CreateChargeDto.prototype, "redirectUrl", void 0);
55
55
  __decorate([
56
- (0, class_transformer_1.Type)(() => shopifyDetails_dto_1.ShopifyDetailsDto),
56
+ (0, class_transformer_1.Type)(() => shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto),
57
57
  (0, class_validator_1.IsNotEmpty)(),
58
58
  (0, class_validator_1.ValidateNested)(),
59
- __metadata("design:type", shopifyDetails_dto_1.ShopifyDetailsDto)
60
- ], CreateChargeDto.prototype, "shopifyDetails", void 0);
59
+ __metadata("design:type", shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto)
60
+ ], CreateChargeDto.prototype, "shopifyPaymentDetails", void 0);
61
61
  exports.CreateChargeDto = CreateChargeDto;
62
62
  //# 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,6DAAyD;AAEzD,MAAa,eAAe;CAkC3B;AAjCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,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;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACM,oDAAwB;8DAAC;AAjClD,0CAkCC"}
@@ -0,0 +1,4 @@
1
+ export declare class ShopifyPaymentDetailsDto {
2
+ shopifyPaymentId: string;
3
+ shopifyPaymentGid: 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.ShopifyPaymentDetailsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ShopifyPaymentDetailsDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], ShopifyPaymentDetailsDto.prototype, "shopifyPaymentId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], ShopifyPaymentDetailsDto.prototype, "shopifyPaymentGid", void 0);
26
+ exports.ShopifyPaymentDetailsDto = ShopifyPaymentDetailsDto;
27
+ //# sourceMappingURL=shopifyPaymentDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopifyPaymentDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/shopifyPaymentDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;CAQpC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACa;AAP5B,4DAQC"}
@@ -1,6 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { PrepareRequestBodyFromCharge } from './PrepareRequestBodyFromCharge.entity';
3
- import { ShopifyDetails } from './ShopifyDetails.entity';
3
+ import { ShopifyPaymentDetails } from '../../shopify-payment-details';
4
4
  export declare class Charge extends Entity {
5
5
  id: string;
6
6
  prepareRequestBody: PrepareRequestBodyFromCharge;
@@ -9,5 +9,6 @@ export declare class Charge extends Entity {
9
9
  token: string;
10
10
  currencySymbol: string;
11
11
  redirectUrl: string;
12
- shopifyDetails: ShopifyDetails;
12
+ expiresAt?: string;
13
+ shopifyPaymentDetails: ShopifyPaymentDetails;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Charge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/Charge.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,MAAO,SAAQ,eAAM;CAgBjC;AAhBD,wBAgBC"}
1
+ {"version":3,"file":"Charge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/Charge.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,MAAO,SAAQ,eAAM;CAkBjC;AAlBD,wBAkBC"}
@@ -6,6 +6,6 @@ import { ShopifyMerchantDetails } from '../../shopify-merchant-details';
6
6
  export declare class Company extends BaseCompany {
7
7
  logo?: BaseAttachment;
8
8
  apiKeys?: ApiKey[];
9
- KYBDetails?: KYBDetails;
9
+ kybDetails?: KYBDetails;
10
10
  shopifyMerchantDetails?: ShopifyMerchantDetails;
11
11
  }
@@ -100,6 +100,7 @@ export * from './raffle-entry';
100
100
  export * from './charge';
101
101
  export * from './integrations-details';
102
102
  export * from './shopify-merchant-details';
103
+ export * from './shopify-payment-details';
103
104
  export * from './shopify-merchant';
104
105
  export * from './kyb-details';
105
106
  export * from './email-send';
@@ -116,6 +116,7 @@ __exportStar(require("./raffle-entry"), exports);
116
116
  __exportStar(require("./charge"), exports);
117
117
  __exportStar(require("./integrations-details"), exports);
118
118
  __exportStar(require("./shopify-merchant-details"), exports);
119
+ __exportStar(require("./shopify-payment-details"), exports);
119
120
  __exportStar(require("./shopify-merchant"), exports);
120
121
  __exportStar(require("./kyb-details"), exports);
121
122
  __exportStar(require("./email-send"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,qEAAmD;AACnD,oEAAkD;AAClD,oDAAkC;AAClC,yDAAuC;AACvC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,kDAAgC;AAChC,0CAAwB;AACxB,8CAA4B;AAC5B,kDAAgC;AAChC,sDAAoC;AACpC,0CAAwB;AACxB,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,yDAAuC;AACvC,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;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C,sDAAoC;AACpC,0CAAwB;AACxB,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,mDAAiC"}
@@ -1,5 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
+ import { KYBStatus } from './KYBStatus.entity';
2
3
  export declare class KYBDetails extends Entity {
3
4
  kybInquiry: string;
4
- verified: boolean;
5
+ status: KYBStatus;
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"KYBDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/kyb-details/entities/KYBDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,UAAW,SAAQ,eAAM;CAIrC;AAJD,gCAIC"}
1
+ {"version":3,"file":"KYBDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/kyb-details/entities/KYBDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,UAAW,SAAQ,eAAM;CAIrC;AAJD,gCAIC"}
@@ -0,0 +1,6 @@
1
+ export declare enum KYBStatus {
2
+ NOT_STARTED = "NOT_STARTED",
3
+ PENDING = "PENDING",
4
+ APPROVED = "APPROVED",
5
+ REJECTED = "REJECTED"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KYBStatus = void 0;
4
+ var KYBStatus;
5
+ (function (KYBStatus) {
6
+ KYBStatus["NOT_STARTED"] = "NOT_STARTED";
7
+ KYBStatus["PENDING"] = "PENDING";
8
+ KYBStatus["APPROVED"] = "APPROVED";
9
+ KYBStatus["REJECTED"] = "REJECTED";
10
+ })(KYBStatus = exports.KYBStatus || (exports.KYBStatus = {}));
11
+ //# sourceMappingURL=KYBStatus.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KYBStatus.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/kyb-details/entities/KYBStatus.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,wCAA2B,CAAA;IAC3B,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
@@ -1 +1,2 @@
1
1
  export * from './KYBDetails.entity';
2
+ export * from './KYBStatus.entity';
@@ -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("./KYBDetails.entity"), exports);
18
+ __exportStar(require("./KYBStatus.entity"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/kyb-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/kyb-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,qDAAmC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class ShopifyPaymentDetails extends Entity {
3
+ shopifyPaymentId: string;
4
+ shopifyPaymentGid: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShopifyPaymentDetails = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class ShopifyPaymentDetails extends entity_1.Entity {
6
+ }
7
+ exports.ShopifyPaymentDetails = ShopifyPaymentDetails;
8
+ //# sourceMappingURL=ShopifyPaymentDetails.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyPaymentDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-payment-details/entities/ShopifyPaymentDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAIhD;AAJD,sDAIC"}
@@ -0,0 +1 @@
1
+ export * from './ShopifyPaymentDetails.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("./ShopifyPaymentDetails.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-payment-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C"}
@@ -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/shopify-payment-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -4,6 +4,7 @@ import { ProductDetails } from '../../product-details';
4
4
  import { SplitAccount } from '../../split-account';
5
5
  import { TransactionStatus, TransactionType } from '../constants';
6
6
  import { TokenQuoteMeta } from './TokenQuoteMeta';
7
+ import { ShopifyPaymentDetails } from '../../shopify-payment-details';
7
8
  export declare class BaseTransactionMeta extends Entity {
8
9
  amount: bigint;
9
10
  totalAmount: bigint;
@@ -22,4 +23,5 @@ export declare class BaseTransactionMeta extends Entity {
22
23
  affiliateCode?: string;
23
24
  affiliatePublicKey?: string;
24
25
  tokenQuote?: TokenQuoteMeta;
26
+ shopifyPaymentDetails?: ShopifyPaymentDetails;
25
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTransactionMeta.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/BaseTransactionMeta.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAE9C,yCAAsC;AAMtC,MAAa,mBAAoB,SAAQ,eAAM;CAqC9C;AApCC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDACzB;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4DACf;AAR3B,kDAqCC"}
1
+ {"version":3,"file":"BaseTransactionMeta.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/BaseTransactionMeta.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAE9C,yCAAsC;AAOtC,MAAa,mBAAoB,SAAQ,eAAM;CAuC9C;AAtCC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDACzB;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4DACf;AAR3B,kDAuCC"}
@@ -6,6 +6,7 @@ import { TransactionStatus, TransactionType } from '../constants';
6
6
  import { Platform } from '../../../constants';
7
7
  import { SourceMeta } from './SourceMeta';
8
8
  import { TokenQuoteMeta } from './TokenQuoteMeta';
9
+ import { ShopifyPaymentDetailsMeta } from './ShopifyPaymentDetailsMeta.entity';
9
10
  export declare class CreateTransactionMeta {
10
11
  transactionSignature: string;
11
12
  tokenQuote?: TokenQuoteMeta;
@@ -28,4 +29,5 @@ export declare class CreateTransactionMeta {
28
29
  affiliatePublicKey?: string;
29
30
  source?: SourceMeta;
30
31
  isDirectTransfer?: boolean;
32
+ shopifyPaymentDetails?: ShopifyPaymentDetailsMeta;
31
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CreateTransactionMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/CreateTransactionMeta.ts"],"names":[],"mappings":";;;AASA,MAAa,qBAAqB;CA0CjC;AA1CD,sDA0CC"}
1
+ {"version":3,"file":"CreateTransactionMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/CreateTransactionMeta.ts"],"names":[],"mappings":";;;AAUA,MAAa,qBAAqB;CA4CjC;AA5CD,sDA4CC"}
@@ -0,0 +1,4 @@
1
+ export declare class ShopifyPaymentDetailsMeta {
2
+ shopifyPaymentId: string;
3
+ shopifyPaymentGid: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare class ShopifyPaymentDetailsMeta {
2
+ shopifyPaymentId: string;
3
+ shopifyPaymentGid: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShopifyPaymentDetailsMeta = void 0;
4
+ class ShopifyPaymentDetailsMeta {
5
+ }
6
+ exports.ShopifyPaymentDetailsMeta = ShopifyPaymentDetailsMeta;
7
+ //# sourceMappingURL=ShopifyPaymentDetailsMeta.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyPaymentDetailsMeta.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAIrC;AAJD,8DAIC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShopifyPaymentDetailsMeta = void 0;
4
+ class ShopifyPaymentDetailsMeta {
5
+ }
6
+ exports.ShopifyPaymentDetailsMeta = ShopifyPaymentDetailsMeta;
7
+ //# sourceMappingURL=ShopifyPaymentDetailsMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyPaymentDetailsMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/ShopifyPaymentDetailsMeta.ts"],"names":[],"mappings":";;;AACA,MAAa,yBAAyB;CAGrC;AAHD,8DAGC"}
@@ -7,3 +7,4 @@ export * from './UpdateTransactionMeta';
7
7
  export * from './TokenQuoteMeta';
8
8
  export * from './sourceIntegration.enum';
9
9
  export * from './PublicTransactionMeta.entity';
10
+ export * from './ShopifyPaymentDetailsMeta.entity';
@@ -23,4 +23,5 @@ __exportStar(require("./UpdateTransactionMeta"), exports);
23
23
  __exportStar(require("./TokenQuoteMeta"), exports);
24
24
  __exportStar(require("./sourceIntegration.enum"), exports);
25
25
  __exportStar(require("./PublicTransactionMeta.entity"), exports);
26
+ __exportStar(require("./ShopifyPaymentDetailsMeta.entity"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+DAA6C;AAC7C,mEAAiD;AACjD,0DAAwC;AACxC,iEAA+C;AAC/C,0DAAwC;AACxC,mDAAiC;AACjC,2DAAyC;AACzC,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+DAA6C;AAC7C,mEAAiD;AACjD,0DAAwC;AACxC,iEAA+C;AAC/C,0DAAwC;AACxC,mDAAiC;AACjC,2DAAyC;AACzC,iEAA+C;AAC/C,qEAAmD"}
@@ -20,7 +20,7 @@ __decorate([
20
20
  ], BTCPropertiesDto.prototype, "paymentAddress", void 0);
21
21
  __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsNotEmpty)(),
23
+ (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", String)
25
25
  ], BTCPropertiesDto.prototype, "ordinalsAddress", void 0);
26
26
  exports.BTCPropertiesDto = BTCPropertiesDto;
@@ -1 +1 @@
1
- {"version":3,"file":"btcProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/btcProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACW;AAP1B,4CAQC"}
1
+ {"version":3,"file":"btcProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/btcProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACW;AAP1B,4CAQC"}