@silexpert/core 0.4.261 → 0.4.262

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.
@@ -7,5 +7,6 @@ export declare class QueryGeneralLedgerAuxiliary {
7
7
  omitLettering?: boolean;
8
8
  descending?: boolean;
9
9
  search?: string;
10
+ idThirdParty?: number;
10
11
  }
11
12
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, } from 'class-validator';
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
@@ -61,4 +61,10 @@ __decorate([
61
61
  IsOptional(),
62
62
  __metadata("design:type", String)
63
63
  ], QueryGeneralLedgerAuxiliary.prototype, "search", void 0);
64
+ __decorate([
65
+ ApiPropertyOptional(),
66
+ IsNumber(),
67
+ IsOptional(),
68
+ __metadata("design:type", Number)
69
+ ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
64
70
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACpD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;CAuCvC;AApCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG","sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n}"]}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,GAC9D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;CA4CvC;AAzCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACS","sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}"]}
@@ -1,5 +1,6 @@
1
1
  export declare class QueryThirdParty {
2
2
  search?: string;
3
3
  type?: number;
4
+ idThirdParty?: number;
4
5
  }
5
6
  //# sourceMappingURL=QueryThirdParty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":"AAIA,qBAAa,eAAe;IAI1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"QueryThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":"AAMA,qBAAa,eAAe;IAI1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsEnum, IsOptional, IsString } from 'class-validator';
10
+ import { IsEnum, IsNumber, IsOptional, IsString, } from 'class-validator';
11
11
  import { ThirdPartyType } from '../../..';
12
12
  import { ApiPropertyOptional } from '../../../..';
13
13
  export class QueryThirdParty {
@@ -24,4 +24,10 @@ __decorate([
24
24
  IsEnum(ThirdPartyType),
25
25
  __metadata("design:type", Number)
26
26
  ], QueryThirdParty.prototype, "type", void 0);
27
+ __decorate([
28
+ ApiPropertyOptional(),
29
+ IsOptional(),
30
+ IsNumber(),
31
+ __metadata("design:type", Number)
32
+ ], QueryThirdParty.prototype, "idThirdParty", void 0);
27
33
  //# sourceMappingURL=QueryThirdParty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,OAAO,eAAe;CAU3B;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACT","sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n}"]}
1
+ {"version":3,"file":"QueryThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACvC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,OAAO,eAAe;CAe3B;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACT;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACW","sourcesContent":["import {\n IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}"]}
@@ -19,6 +19,7 @@ export interface ILoan {
19
19
  idAccountBenefit: number;
20
20
  idAccountInsurance: number;
21
21
  idAccountCommission: number;
22
+ idAccountReleaseLoanCapital: number;
22
23
  createdAt?: Date | null;
23
24
  updatedAt?: Date | null;
24
25
  society?: ISociety;
@@ -27,6 +28,7 @@ export interface ILoan {
27
28
  accountBenefit?: IAccount;
28
29
  accountInsurance?: IAccount;
29
30
  accountCommission?: IAccount;
31
+ accountReleaseLoanCapital?: IAccount;
30
32
  loanFiles?: ILoanFile[];
31
33
  }
32
34
  //# sourceMappingURL=ILoan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,2BAA2B,EAAE,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,yBAAyB,CAAC,EAAE,QAAQ,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: number;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n loanFiles?: ILoanFile[];\n}\n"]}
1
+ {"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: number;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n idAccountReleaseLoanCapital: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n accountReleaseLoanCapital?: IAccount;\n loanFiles?: ILoanFile[];\n}\n"]}
@@ -51,4 +51,6 @@ __decorate([(0, _utils.ApiPropertyOptional)({
51
51
  }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryGeneralLedgerAuxiliary.prototype, "descending", void 0);
52
52
 
53
53
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryGeneralLedgerAuxiliary.prototype, "search", void 0);
54
+
55
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
54
56
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,2BAAP,CAAkC;;QAA3BA,2B,GAAAA,2B;;AAGXC,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,8BAAP,CACD;;AAKAD,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAMAA,YAJC,gCAAoB;EAAEE,OAAO,EAAE,KAAX;EAAkBC,QAAQ,EAAE;AAA5B,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAH,YAJC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["QueryGeneralLedgerAuxiliary","__decorate","ThirdPartyType","default","describe"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n}"]}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,2BAAP,CAAkC;;QAA3BA,2B,GAAAA,2B;;AAGXC,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,8BAAP,CACD;;AAKAD,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAMAA,YAJC,gCAAoB;EAAEE,OAAO,EAAE,KAAX;EAAkBC,QAAQ,EAAE;AAA5B,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAH,YAJC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["QueryGeneralLedgerAuxiliary","__decorate","ThirdPartyType","default","describe"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}"]}
@@ -30,4 +30,6 @@ exports.QueryThirdParty = QueryThirdParty;
30
30
  __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryThirdParty.prototype, "search", void 0);
31
31
 
32
32
  __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], QueryThirdParty.prototype, "type", void 0);
33
+
34
+ __decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryThirdParty.prototype, "idThirdParty", void 0);
33
35
  //# sourceMappingURL=QueryThirdParty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryThirdParty.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAIXC,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,6BAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD","names":["QueryThirdParty","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n}"]}
1
+ {"version":3,"file":"QueryThirdParty.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAIXC,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,6BAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD","names":["QueryThirdParty","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"sourcesContent":["import {\n IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "0.4.261",
3
+ "version": "0.4.262",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "js/index.js",
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,
2
+ IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -45,4 +45,9 @@ export class QueryGeneralLedgerAuxiliary {
45
45
  @IsString()
46
46
  @IsOptional()
47
47
  search?: string;
48
+
49
+ @ApiPropertyOptional()
50
+ @IsNumber()
51
+ @IsOptional()
52
+ idThirdParty?: number;
48
53
  }
@@ -1,4 +1,6 @@
1
- import { IsEnum, IsOptional, IsString } from 'class-validator';
1
+ import {
2
+ IsEnum, IsNumber, IsOptional, IsString,
3
+ } from 'class-validator';
2
4
  import { ThirdPartyType } from '../../..';
3
5
  import { ApiPropertyOptional } from '../../../..';
4
6
 
@@ -12,4 +14,9 @@ export class QueryThirdParty {
12
14
  @IsOptional()
13
15
  @IsEnum(ThirdPartyType)
14
16
  type?: number;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsNumber()
21
+ idThirdParty?: number;
15
22
  }
@@ -20,6 +20,7 @@ export interface ILoan {
20
20
  idAccountBenefit: number;
21
21
  idAccountInsurance: number;
22
22
  idAccountCommission: number;
23
+ idAccountReleaseLoanCapital: number;
23
24
  createdAt?: Date | null;
24
25
  updatedAt?: Date | null;
25
26
 
@@ -30,5 +31,6 @@ export interface ILoan {
30
31
  accountBenefit?: IAccount;
31
32
  accountInsurance?: IAccount;
32
33
  accountCommission?: IAccount;
34
+ accountReleaseLoanCapital?: IAccount;
33
35
  loanFiles?: ILoanFile[];
34
36
  }