@silexpert/core 1.3.80-2 → 1.3.80-4

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.
@@ -16,6 +16,7 @@ export interface IAttestation {
16
16
  idPaymentExpectation: number | null;
17
17
  idFile: number | null;
18
18
  annoted: boolean;
19
+ factured: number;
19
20
  sendDate: Date | null;
20
21
  textPdf: string | null;
21
22
  isSign: boolean | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IAttestation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC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AC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,qBAAqB,CAAC,EAAE,KAAK,CAAC;IAC9B,qBAAqB,CAAC,EAAE,KAAK,CAAC;IAC9B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,6BAA6B,CAAC,EAAE,mBAAmB,CAAC;IACpD,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAttestation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand: number | null;\n idPaymentExpectation: number | null;\n idFile: number | null;\n annoted: boolean;\n sendDate: Date | null;\n textPdf: string | null;\n isSign: boolean | null;\n done: boolean | null;\n idMailPayment: number | null;\n idMailValidation: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attestationSupervisor?: IUser;\n attestationUserDemand?: IUser;\n prestationsList?: IPrestationList;\n attestationPaymentExpectation?: IPaymentExpectation;\n attestationFiles?: IFile;\n society?: ISociety;\n exercices?: IExercice;\n paymentMail?: IMail;\n validationMail?: IMail;\n}\n"]}
1
+ {"version":3,"file":"IAttestation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand: number | null;\n idPaymentExpectation: number | null;\n idFile: number | null;\n annoted: boolean;\n factured: number;\n sendDate: Date | null;\n textPdf: string | null;\n isSign: boolean | null;\n done: boolean | null;\n idMailPayment: number | null;\n idMailValidation: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attestationSupervisor?: IUser;\n attestationUserDemand?: IUser;\n prestationsList?: IPrestationList;\n attestationPaymentExpectation?: IPaymentExpectation;\n attestationFiles?: IFile;\n society?: ISociety;\n exercices?: IExercice;\n paymentMail?: IMail;\n validationMail?: IMail;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.80-2",
3
+ "version": "1.3.80-4",
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,11 +1,11 @@
1
- import { BasePaginate, ISupervision, QueryBalanceSheetReportPaginated } from '../../types';
1
+ import { BasePaginate, IAttestation, QueryBalanceSheetReportPaginated } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
 
4
4
  export class BalanceSheetReport extends Resource {
5
5
  public getPaginated(
6
6
  params: QueryBalanceSheetReportPaginated,
7
7
  signal?: AbortSignal,
8
- ): Promise<BasePaginate<ISupervision>> {
8
+ ): Promise<BasePaginate<IAttestation>> {
9
9
  return this.axios.$get('balance-sheet/report/paginated', {
10
10
  ...(signal ? { signal } : {}),
11
11
  params,
@@ -1739,7 +1739,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1739
1739
  },
1740
1740
  ATTESTATION_SALAIRE: {
1741
1741
  id: 82,
1742
- name: 'Attestation de salaire',
1742
+ name: 'Rapportde salaire',
1743
1743
  isComptable: false,
1744
1744
  isJuridique: false,
1745
1745
  isSocial: true,
@@ -1967,7 +1967,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1967
1967
  },
1968
1968
  ATTESTATION_REMUNERATION: {
1969
1969
  id: 95,
1970
- name: 'Attestation de rémunération',
1970
+ name: 'Rapportde rémunération',
1971
1971
  isComptable: true,
1972
1972
  isJuridique: false,
1973
1973
  isSocial: false,
@@ -1987,7 +1987,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1987
1987
  // FIXME: Doublon ?
1988
1988
  ATTESTATION_NON_REMUNERATION: {
1989
1989
  id: 96,
1990
- name: 'Attestation de non-rémunération',
1990
+ name: 'Rapportde non-rémunération',
1991
1991
  isComptable: true,
1992
1992
  isJuridique: false,
1993
1993
  isSocial: false,
@@ -2006,7 +2006,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2006
2006
  },
2007
2007
  ATTESTATION_CA: {
2008
2008
  id: 97,
2009
- name: "Attestation de chiffre d'affaires",
2009
+ name: "Rapportde chiffre d'affaires",
2010
2010
  isComptable: true,
2011
2011
  isJuridique: false,
2012
2012
  isSocial: false,
@@ -2025,7 +2025,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2025
2025
  },
2026
2026
  ATTESTATION_COMPTE_COURANT: {
2027
2027
  id: 98,
2028
- name: 'Attestation de compte-courant',
2028
+ name: 'Rapportde compte-courant',
2029
2029
  isComptable: true,
2030
2030
  isJuridique: false,
2031
2031
  isSocial: false,
@@ -2310,7 +2310,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2310
2310
  },
2311
2311
  ATTESTATION_DE_SALAIRE_MALADIE: {
2312
2312
  id: 116,
2313
- name: 'Attestation de salaire maladie',
2313
+ name: 'Rapportde salaire maladie',
2314
2314
  isComptable: true,
2315
2315
  isJuridique: false,
2316
2316
  isSocial: false,
@@ -2538,7 +2538,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2538
2538
  },
2539
2539
  ATTESTATION_MASSE_SALARIALE: {
2540
2540
  id: 128,
2541
- name: 'Attestation de masse salariale',
2541
+ name: 'Rapportde masse salariale',
2542
2542
  isComptable: true,
2543
2543
  isJuridique: false,
2544
2544
  isSocial: false,
@@ -3184,7 +3184,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3184
3184
  },
3185
3185
  ATTESTATION_NON_REMUNERATION_RECURRENTE: {
3186
3186
  id: 200,
3187
- name: 'Attestation non remunération recurrente',
3187
+ name: 'Rapportnon remunération recurrente',
3188
3188
  isComptable: true,
3189
3189
  isJuridique: false,
3190
3190
  isSocial: false,
@@ -18,6 +18,7 @@ export interface IAttestation {
18
18
  idPaymentExpectation: number | null;
19
19
  idFile: number | null;
20
20
  annoted: boolean;
21
+ factured: number;
21
22
  sendDate: Date | null;
22
23
  textPdf: string | null;
23
24
  isSign: boolean | null;