@silexpert/core 1.1.181 → 1.1.182

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 (22) hide show
  1. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  2. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +2 -0
  3. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  4. package/dist/cjs/types/Interface/models/ICard.d.ts +0 -1
  5. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  6. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  7. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  8. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  9. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  10. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  11. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +2 -0
  12. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  13. package/dist/mjs/types/Interface/models/ICard.d.ts +0 -1
  14. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  15. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  16. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +1 -0
  17. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  18. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  19. package/package.json +1 -1
  20. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +2 -0
  21. package/ts/types/Interface/models/ICard.ts +0 -1
  22. package/ts/types/Interface/models/ICustomerVat.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,qBAAa,0BAA0B;IAEnC,YAAY,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAGA,qBAAa,0BAA0B;IAGnC,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -10,11 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QueryGetPaymentExpectation = void 0;
13
+ const class_validator_1 = require("class-validator");
13
14
  const utils_1 = require("../../../../utils");
14
15
  class QueryGetPaymentExpectation {
15
16
  }
16
17
  __decorate([
17
18
  (0, utils_1.ApiProperty)(),
19
+ (0, class_validator_1.IsInt)(),
18
20
  __metadata("design:type", Number)
19
21
  ], QueryGetPaymentExpectation.prototype, "idPrestation", void 0);
20
22
  exports.QueryGetPaymentExpectation = QueryGetPaymentExpectation;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,0BAA0B;CAGtC;AAFC;IAAC,IAAA,mBAAW,GAAE;;gEACS;AAFzB,gEAGC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n idPrestation: number;\n}"]}
1
+ {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwC;AACxC,6CAAgD;AAEhD,MAAa,0BAA0B;CAItC;AAHC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gEACe;AAHzB,gEAIC","sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}"]}
@@ -8,7 +8,6 @@ import { ICardHistory } from './ICardHistory';
8
8
  import { IComment } from './IComment';
9
9
  export interface ICard {
10
10
  id?: number;
11
- ref: string;
12
11
  type: CardType;
13
12
  state: CardState;
14
13
  isManual: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ICard.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,O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,CAAC;IAC3B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICard.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"","sourcesContent":["import { CardType, CardState } from '../../Enum/Card';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ICardHistory } from './ICardHistory';\nimport { IComment } from './IComment';\n\nexport interface ICard {\n id?: number;\n ref: string;\n type: CardType;\n state: CardState;\n isManual: boolean;\n plannedAt?: Date;\n idUser: number;\n idSociety: number;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n\n // Associations\n user?: IUser;\n society?: ISociety;\n balanceSheet?: IBalanceSheet;\n customerVat?: ICustomerVat;\n events?: ICalendarEvent[];\n history?: ICardHistory[];\n comment?: IComment;\n}\n"]}
1
+ {"version":3,"file":"ICard.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"","sourcesContent":["import { CardType, CardState } from '../../Enum/Card';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ICardHistory } from './ICardHistory';\nimport { IComment } from './IComment';\n\nexport interface ICard {\n id?: number;\n type: CardType;\n state: CardState;\n isManual: boolean;\n plannedAt?: Date;\n idUser: number;\n idSociety: number;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n\n // Associations\n user?: IUser;\n society?: ISociety;\n balanceSheet?: IBalanceSheet;\n customerVat?: ICustomerVat;\n events?: ICalendarEvent[];\n history?: ICardHistory[];\n comment?: IComment;\n}\n"]}
@@ -19,6 +19,7 @@ export interface ICustomerVat {
19
19
  acceptation: boolean | null;
20
20
  acceptationDate: Date | null;
21
21
  idMail: number | null;
22
+ idCard: number | null;
22
23
  idVatDeclaration?: number | null;
23
24
  createdAt?: Date | null;
24
25
  updatedAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG3E,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,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AE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,cAAc,CAAC,EAAE,eAAe,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IMail } from './IMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\nimport { CustomerVatState, CustomerVatType } from '../../Enum/CustomerVat';\n\n// customersTva\nexport interface ICustomerVat {\n id?: number;\n stateAmount: number;\n amount: number;\n type: CustomerVatType;\n state: CustomerVatState;\n status: number | null;\n idExercice: number;\n vatDate: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idMail: number | null;\n idVatDeclaration?: number | null; // Obsolète\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n mail?: IMail;\n checklist?: IChecklist;\n vatDeclaration?: IVatDeclaration;\n}\n"]}
1
+ {"version":3,"file":"ICustomerVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IMail } from './IMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\nimport { CustomerVatState, CustomerVatType } from '../../Enum/CustomerVat';\n\n// customersTva\nexport interface ICustomerVat {\n id?: number;\n stateAmount: number;\n amount: number;\n type: CustomerVatType;\n state: CustomerVatState;\n status: number | null;\n idExercice: number;\n vatDate: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idMail: number | null;\n idCard: number | null;\n idVatDeclaration?: number | null; // Obsolète\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n mail?: IMail;\n checklist?: IChecklist;\n vatDeclaration?: IVatDeclaration;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,qBAAa,0BAA0B;IAEnC,YAAY,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAGA,qBAAa,0BAA0B;IAGnC,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -7,12 +7,14 @@ 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 { IsInt } from 'class-validator';
10
11
  import { ApiProperty } from '../../../../utils';
11
12
  export class QueryGetPaymentExpectation {
12
13
  idPrestation;
13
14
  }
14
15
  __decorate([
15
16
  ApiProperty(),
17
+ IsInt(),
16
18
  __metadata("design:type", Number)
17
19
  ], QueryGetPaymentExpectation.prototype, "idPrestation", void 0);
18
20
  //# sourceMappingURL=QueryPaymentExpectation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,0BAA0B;IAEnC,YAAY,CAAS;CACxB;AAFC;IAAC,WAAW,EAAE;;gEACS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n idPrestation: number;\n}"]}
1
+ {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,0BAA0B;IAGnC,YAAY,CAAS;CACxB;AAHC;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;gEACe","sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}"]}
@@ -8,7 +8,6 @@ import { ICardHistory } from './ICardHistory';
8
8
  import { IComment } from './IComment';
9
9
  export interface ICard {
10
10
  id?: number;
11
- ref: string;
12
11
  type: CardType;
13
12
  state: CardState;
14
13
  isManual: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ICard.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EA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EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICard.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"","sourcesContent":["import { CardType, CardState } from '../../Enum/Card';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ICardHistory } from './ICardHistory';\nimport { IComment } from './IComment';\n\nexport interface ICard {\n id?: number;\n ref: string;\n type: CardType;\n state: CardState;\n isManual: boolean;\n plannedAt?: Date;\n idUser: number;\n idSociety: number;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n\n // Associations\n user?: IUser;\n society?: ISociety;\n balanceSheet?: IBalanceSheet;\n customerVat?: ICustomerVat;\n events?: ICalendarEvent[];\n history?: ICardHistory[];\n comment?: IComment;\n}\n"]}
1
+ {"version":3,"file":"ICard.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICard.ts"],"names":[],"mappings":"","sourcesContent":["import { CardType, CardState } from '../../Enum/Card';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ICardHistory } from './ICardHistory';\nimport { IComment } from './IComment';\n\nexport interface ICard {\n id?: number;\n type: CardType;\n state: CardState;\n isManual: boolean;\n plannedAt?: Date;\n idUser: number;\n idSociety: number;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n\n // Associations\n user?: IUser;\n society?: ISociety;\n balanceSheet?: IBalanceSheet;\n customerVat?: ICustomerVat;\n events?: ICalendarEvent[];\n history?: ICardHistory[];\n comment?: IComment;\n}\n"]}
@@ -19,6 +19,7 @@ export interface ICustomerVat {
19
19
  acceptation: boolean | null;
20
20
  acceptationDate: Date | null;
21
21
  idMail: number | null;
22
+ idCard: number | null;
22
23
  idVatDeclaration?: number | null;
23
24
  createdAt?: Date | null;
24
25
  updatedAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG3E,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM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ACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,cAAc,CAAC,EAAE,eAAe,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IMail } from './IMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\nimport { CustomerVatState, CustomerVatType } from '../../Enum/CustomerVat';\n\n// customersTva\nexport interface ICustomerVat {\n id?: number;\n stateAmount: number;\n amount: number;\n type: CustomerVatType;\n state: CustomerVatState;\n status: number | null;\n idExercice: number;\n vatDate: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idMail: number | null;\n idVatDeclaration?: number | null; // Obsolète\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n mail?: IMail;\n checklist?: IChecklist;\n vatDeclaration?: IVatDeclaration;\n}\n"]}
1
+ {"version":3,"file":"ICustomerVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerVat.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IMail } from './IMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\nimport { CustomerVatState, CustomerVatType } from '../../Enum/CustomerVat';\n\n// customersTva\nexport interface ICustomerVat {\n id?: number;\n stateAmount: number;\n amount: number;\n type: CustomerVatType;\n state: CustomerVatState;\n status: number | null;\n idExercice: number;\n vatDate: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idMail: number | null;\n idCard: number | null;\n idVatDeclaration?: number | null; // Obsolète\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n mail?: IMail;\n checklist?: IChecklist;\n vatDeclaration?: IVatDeclaration;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.181",
3
+ "version": "1.1.182",
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": "dist/cjs/index.js",
@@ -1,6 +1,8 @@
1
+ import { IsInt } from 'class-validator';
1
2
  import { ApiProperty } from '../../../../utils';
2
3
 
3
4
  export class QueryGetPaymentExpectation {
4
5
  @ApiProperty()
6
+ @IsInt()
5
7
  idPrestation: number;
6
8
  }
@@ -9,7 +9,6 @@ import { IComment } from './IComment';
9
9
 
10
10
  export interface ICard {
11
11
  id?: number;
12
- ref: string;
13
12
  type: CardType;
14
13
  state: CardState;
15
14
  isManual: boolean;
@@ -21,6 +21,7 @@ export interface ICustomerVat {
21
21
  acceptation: boolean | null;
22
22
  acceptationDate: Date | null;
23
23
  idMail: number | null;
24
+ idCard: number | null;
24
25
  idVatDeclaration?: number | null; // Obsolète
25
26
  createdAt?: Date | null;
26
27
  updatedAt?: Date | null;