@heliofi/common 0.2.28 → 0.2.29

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.
@@ -4,6 +4,6 @@ import { CreatePayoutWalletDto } from '../../../payout-wallet/dtos/createPayoutW
4
4
  export declare class ExternalAuthSignUpDto {
5
5
  id: string;
6
6
  wallets: CreatePayoutWalletDto[];
7
- user: CreateUserDto;
8
- company: CreateCompanyDto;
7
+ user?: CreateUserDto;
8
+ company?: CreateCompanyDto;
9
9
  }
@@ -29,13 +29,13 @@ __decorate([
29
29
  __metadata("design:type", Array)
30
30
  ], ExternalAuthSignUpDto.prototype, "wallets", void 0);
31
31
  __decorate([
32
- (0, class_validator_1.IsNotEmpty)(),
32
+ (0, class_validator_1.IsOptional)(),
33
33
  (0, class_transformer_1.Type)(() => createUser_dto_1.CreateUserDto),
34
34
  (0, class_validator_1.ValidateNested)(),
35
35
  __metadata("design:type", createUser_dto_1.CreateUserDto)
36
36
  ], ExternalAuthSignUpDto.prototype, "user", void 0);
37
37
  __decorate([
38
- (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.IsOptional)(),
39
39
  (0, class_transformer_1.Type)(() => createCompany_dto_1.CreateCompanyDto),
40
40
  (0, class_validator_1.ValidateNested)(),
41
41
  __metadata("design:type", createCompany_dto_1.CreateCompanyDto)
@@ -1 +1 @@
1
- {"version":3,"file":"externalAuthSignUp.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/dtos/external/externalAuthSignUp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAMyB;AACzB,+EAA2E;AAC3E,sEAAkE;AAClE,+FAA2F;AAE3F,MAAa,qBAAqB;CAmBjC;AAlBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACA;AAEX;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8CAAqB,CAAC;IACjC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACE;AAEjC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;8BACX,8BAAa;mDAAC;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACR,oCAAgB;sDAAC;AAlB5B,sDAmBC"}
1
+ {"version":3,"file":"externalAuthSignUp.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/dtos/external/externalAuthSignUp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAMyB;AACzB,+EAA2E;AAC3E,sEAAkE;AAClE,+FAA2F;AAE3F,MAAa,qBAAqB;CAmBjC;AAlBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACA;AAEX;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8CAAqB,CAAC;IACjC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACE;AAEjC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;8BACV,8BAAa;mDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACP,oCAAgB;sDAAC;AAlB7B,sDAmBC"}
@@ -1,9 +1,10 @@
1
1
  import { Charge } from './Charge.entity';
2
2
  import { Paylink } from '../../paylink';
3
3
  import { PaylinkTxWithPublicMeta } from '../../paylink-tx';
4
+ import { DisabledPaymentRequest } from '../../payment-request';
4
5
  export declare class EnrichedCharge extends Charge {
5
6
  pricingCurrencyRequestAmount: bigint;
6
- paylink: Paylink;
7
+ paylink: Paylink | DisabledPaymentRequest;
7
8
  paylinkTx: PaylinkTxWithPublicMeta | null;
8
9
  isSubscriptionRenewal: boolean;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EnrichedCharge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/EnrichedCharge.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,mDAAyC;AAIzC,MAAa,cAAe,SAAQ,sBAAM;CASzC;AARC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oEACH;AAFvC,wCASC"}
1
+ {"version":3,"file":"EnrichedCharge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/EnrichedCharge.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,mDAAyC;AAKzC,MAAa,cAAe,SAAQ,sBAAM;CASzC;AARC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oEACH;AAFvC,wCASC"}
@@ -0,0 +1,4 @@
1
+ export declare class DisabledPaymentRequest {
2
+ id: string;
3
+ disabled: true;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisabledPaymentRequest = void 0;
4
+ class DisabledPaymentRequest {
5
+ }
6
+ exports.DisabledPaymentRequest = DisabledPaymentRequest;
7
+ //# sourceMappingURL=DisabledPaymentRequest.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisabledPaymentRequest.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/DisabledPaymentRequest.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC"}
@@ -1,6 +1,7 @@
1
1
  import { PaymentRequest } from './PaymentRequest';
2
2
  import { SlugObjectType } from '../../slug';
3
+ import { DisabledPaymentRequest } from './DisabledPaymentRequest.entity';
3
4
  export declare class SlugPaymentRequest {
4
5
  type: SlugObjectType;
5
- paymentRequest: PaymentRequest;
6
+ paymentRequest: PaymentRequest | DisabledPaymentRequest;
6
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SlugPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/SlugPaymentRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
1
+ {"version":3,"file":"SlugPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/SlugPaymentRequest.ts"],"names":[],"mappings":";;;AAIA,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
@@ -6,3 +6,4 @@ export * from './SlugPaymentRequest';
6
6
  export * from './PaymentRequestPreview.entity';
7
7
  export * from './ShopifyMerchantPaymentRequest.entity';
8
8
  export * from './PaymentRequestStats';
9
+ export * from './DisabledPaymentRequest.entity';
@@ -22,4 +22,5 @@ __exportStar(require("./SlugPaymentRequest"), exports);
22
22
  __exportStar(require("./PaymentRequestPreview.entity"), exports);
23
23
  __exportStar(require("./ShopifyMerchantPaymentRequest.entity"), exports);
24
24
  __exportStar(require("./PaymentRequestStats"), exports);
25
+ __exportStar(require("./DisabledPaymentRequest.entity"), exports);
25
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,uDAAqC;AACrC,kEAAgD;AAChD,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,yEAAuD;AACvD,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,uDAAqC;AACrC,kEAAgD;AAChD,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,yEAAuD;AACvD,wDAAsC;AACtC,kEAAgD"}