@heliofi/common 0.1.528 → 0.1.529

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.
@@ -1,5 +1,5 @@
1
1
  export declare class CustomerDto {
2
- id?: number;
2
+ id: number;
3
3
  email: string;
4
- phone?: string;
4
+ phone?: string | null;
5
5
  }
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
14
14
  class CustomerDto {
15
15
  }
16
16
  __decorate([
17
+ (0, class_validator_1.IsNotEmpty)(),
17
18
  (0, class_validator_1.IsNumber)(),
18
19
  __metadata("design:type", Number)
19
20
  ], CustomerDto.prototype, "id", void 0);
@@ -24,7 +25,7 @@ __decorate([
24
25
  ], CustomerDto.prototype, "email", void 0);
25
26
  __decorate([
26
27
  (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
+ __metadata("design:type", Object)
28
29
  ], CustomerDto.prototype, "phone", void 0);
29
30
  exports.CustomerDto = CustomerDto;
30
31
  //# sourceMappingURL=Customer.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-gdpr/dtos/Customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,WAAW;CAUvB;AATC;IAAC,IAAA,0BAAQ,GAAE;;uCACC;AAEZ;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;;0CACI;AATjB,kCAUC"}
1
+ {"version":3,"file":"Customer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-gdpr/dtos/Customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,WAAW;CAWvB;AAVC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACA;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;;0CACW;AAVxB,kCAWC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class ShopifyMerchantDetailsPublic extends Entity {
3
+ id: string;
4
+ name?: string;
5
+ shopUrl: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShopifyMerchantDetailsPublic = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class ShopifyMerchantDetailsPublic extends entity_1.Entity {
6
+ }
7
+ exports.ShopifyMerchantDetailsPublic = ShopifyMerchantDetailsPublic;
8
+ //# sourceMappingURL=ShopifyMerchantDetailsPublic.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShopifyMerchantDetailsPublic.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-merchant-details/entities/ShopifyMerchantDetailsPublic.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,4BAA6B,SAAQ,eAAM;CAMvD;AAND,oEAMC"}
@@ -1 +1,2 @@
1
1
  export * from './ShopifyMerchantDetails.entity';
2
+ export * from './ShopifyMerchantDetailsPublic.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("./ShopifyMerchantDetails.entity"), exports);
18
+ __exportStar(require("./ShopifyMerchantDetailsPublic.entity"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-merchant-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-merchant-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,wEAAsD"}