mfance-shark-v1 1.0.66 → 1.0.67

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.
@@ -2,9 +2,11 @@ import { AuditableEntity } from '../../auditable/auditable.entity';
2
2
  import { PaymentMethod } from "./payment-method.entity";
3
3
  import { RateMethod } from "./rateMethod.entity";
4
4
  import { Operation } from "./operation.entity";
5
+ import { PaymentMethodType } from "./payment-method-type.entity";
5
6
  export declare class RateConfig extends AuditableEntity {
6
7
  opsType: Operation;
7
8
  paymentMethod: PaymentMethod;
9
+ paymentMethodType: PaymentMethodType;
8
10
  rateMethod: RateMethod;
9
11
  rate: number;
10
12
  total_fees: number;
@@ -16,6 +16,7 @@ const auditable_entity_1 = require("../../auditable/auditable.entity");
16
16
  const payment_method_entity_1 = require("./payment-method.entity");
17
17
  const rateMethod_entity_1 = require("./rateMethod.entity");
18
18
  const operation_entity_1 = require("./operation.entity");
19
+ const payment_method_type_entity_1 = require("./payment-method-type.entity");
19
20
  let RateConfig = class RateConfig extends auditable_entity_1.AuditableEntity {
20
21
  };
21
22
  exports.RateConfig = RateConfig;
@@ -25,10 +26,15 @@ __decorate([
25
26
  __metadata("design:type", operation_entity_1.Operation)
26
27
  ], RateConfig.prototype, "opsType", void 0);
27
28
  __decorate([
28
- (0, typeorm_1.ManyToOne)(() => payment_method_entity_1.PaymentMethod),
29
+ (0, typeorm_1.ManyToOne)(() => payment_method_entity_1.PaymentMethod, { nullable: true }),
29
30
  (0, typeorm_1.JoinColumn)({ name: "payment_method_id" }),
30
31
  __metadata("design:type", payment_method_entity_1.PaymentMethod)
31
32
  ], RateConfig.prototype, "paymentMethod", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.ManyToOne)(() => payment_method_type_entity_1.PaymentMethodType, { nullable: true }),
35
+ (0, typeorm_1.JoinColumn)({ name: "payment_method_type_id" }),
36
+ __metadata("design:type", payment_method_type_entity_1.PaymentMethodType)
37
+ ], RateConfig.prototype, "paymentMethodType", void 0);
32
38
  __decorate([
33
39
  (0, typeorm_1.ManyToOne)(() => rateMethod_entity_1.RateMethod),
34
40
  (0, typeorm_1.JoinColumn)({ name: "rate_method_id" }),
@@ -1 +1 @@
1
- {"version":3,"file":"rateConfig.entity.js","sourceRoot":"","sources":["../../../src/common/entities/rateConfig.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAKiB;AACjB,kFAAsE;AACtE,uEAAmE;AACnE,mEAAwD;AACxD,2DAAiD;AACjD,yDAA+C;AAGxC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,kCAAe;CAwB9C,CAAA;AAxBY,gCAAU;AAGrB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAS,CAAC;IAC1B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BACxB,4BAAS;2CAAC;AAInB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,CAAC;IAC9B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;8BAC3B,qCAAa;iDAAC;AAI7B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAU,CAAC;IAC3B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAC3B,8BAAU;8CAAC;AAGvB;IADC,IAAA,gBAAM,EAAC,OAAO,CAAC;;wCACH;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAI,IAAI,EAAE,OAAO,EAAE,CAAC;;8CACzB;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAG,IAAI,EAAE,OAAO,EAAE,CAAC;;iDACrB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAG,IAAI,EAAE,OAAO,EAAE,CAAC;;oDAClB;qBAvBd,UAAU;IADtB,IAAA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