@silexpert/core 1.1.143 → 1.1.145

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 (33) hide show
  1. package/dist/cjs/api/resources/Authenticate.d.ts +5 -2
  2. package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Authenticate.js +5 -0
  4. package/dist/cjs/api/resources/Authenticate.js.map +1 -1
  5. package/dist/cjs/api/resources/BudgetInsight.d.ts +3 -1
  6. package/dist/cjs/api/resources/BudgetInsight.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/BudgetInsight.js +6 -0
  8. package/dist/cjs/api/resources/BudgetInsight.js.map +1 -1
  9. package/dist/cjs/api/resources/Exercice.d.ts +1 -0
  10. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Exercice.js +3 -0
  12. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  13. package/dist/cjs/types/Enum/PrestationType.js +1 -1
  14. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  15. package/dist/mjs/api/resources/Authenticate.d.ts +5 -2
  16. package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
  17. package/dist/mjs/api/resources/Authenticate.js +3 -0
  18. package/dist/mjs/api/resources/Authenticate.js.map +1 -1
  19. package/dist/mjs/api/resources/BudgetInsight.d.ts +3 -1
  20. package/dist/mjs/api/resources/BudgetInsight.d.ts.map +1 -1
  21. package/dist/mjs/api/resources/BudgetInsight.js +6 -0
  22. package/dist/mjs/api/resources/BudgetInsight.js.map +1 -1
  23. package/dist/mjs/api/resources/Exercice.d.ts +1 -0
  24. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  25. package/dist/mjs/api/resources/Exercice.js +3 -0
  26. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  27. package/dist/mjs/types/Enum/PrestationType.js +1 -1
  28. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  29. package/package.json +1 -1
  30. package/ts/api/resources/Authenticate.ts +6 -2
  31. package/ts/api/resources/BudgetInsight.ts +9 -1
  32. package/ts/api/resources/Exercice.ts +4 -0
  33. package/ts/types/Enum/PrestationType.ts +1 -1
@@ -1,7 +1,10 @@
1
- import { FormAuthenticate, ReadConnectAs } from '../../types';
1
+ import { FormAuthenticate, ReadAuthenticateCollaborater, ReadConnectAs } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class Authenticate extends Resource {
4
- authentificateCollaborater(payload: FormAuthenticate): Promise<import("axios").AxiosResponse<FormAuthenticate>>;
4
+ authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater>;
5
+ authentificate(payload: FormAuthenticate): Promise<{
6
+ token: string;
7
+ }>;
5
8
  connectAs(idSociety: number): Promise<ReadConnectAs>;
6
9
  }
7
10
  //# sourceMappingURL=Authenticate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB;IAIpD,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAG3D"}
1
+ {"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAI5F,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIrE,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAG3D"}
@@ -3,6 +3,9 @@ export class Authenticate extends Resource {
3
3
  async authentificateCollaborater(payload) {
4
4
  return this.axios.$post('/authenticate/collaborater', payload);
5
5
  }
6
+ async authentificate(payload) {
7
+ return this.axios.$post('/authenticate', payload);
8
+ }
6
9
  async connectAs(idSociety) {
7
10
  return this.axios.$post(`/authenticate/societies/${idSociety}`);
8
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,KAAK,CAAC,0BAA0B,CAAC,OAAyB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;IAClE,CAAC;CACF","sourcesContent":["import { FormAuthenticate, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate) {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n}"]}
1
+ {"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,KAAK,CAAC,0BAA0B,CAAC,OAAyB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAAyB;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;IAClE,CAAC;CACF","sourcesContent":["import { FormAuthenticate, ReadAuthenticateCollaborater, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater> {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async authentificate(payload: FormAuthenticate): Promise<{ token: string }> {\n return this.axios.$post('/authenticate', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n}"]}
@@ -1,8 +1,10 @@
1
1
  import { Resource } from '../Resource';
2
- import { CreateOrUpdateAccessToken, IAccessToken } from '../../types';
2
+ import { CreateOrUpdateAccessToken, IAccessToken, ReadUserConnection } from '../../types';
3
3
  export declare class BudgetInsight extends Resource {
4
4
  getTokens(): Promise<IAccessToken | null>;
5
+ getTemporaryToken(): Promise<IAccessToken | null>;
5
6
  updateOrCreateToken(payload: CreateOrUpdateAccessToken): Promise<IAccessToken>;
6
7
  authentificate(): Promise<IAccessToken>;
8
+ getAllConnections(): Promise<ReadUserConnection>;
7
9
  }
8
10
  //# sourceMappingURL=BudgetInsight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BudgetInsight.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BudgetInsight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEtE,qBAAa,aAAc,SAAQ,QAAQ;IACzC,SAAS,IAAI,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAIzC,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC;IAI9E,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;CAGxC"}
1
+ {"version":3,"file":"BudgetInsight.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BudgetInsight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE1F,qBAAa,aAAc,SAAQ,QAAQ;IACzC,SAAS,IAAI,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAIzC,iBAAiB,IAAI,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAIjD,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC;IAI9E,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAIvC,iBAAiB,IAAI,OAAO,CAAC,kBAAkB,CAAC;CAGjD"}
@@ -3,11 +3,17 @@ export class BudgetInsight extends Resource {
3
3
  getTokens() {
4
4
  return this.axios.$get('/connectors/budget-insight/tokens');
5
5
  }
6
+ getTemporaryToken() {
7
+ return this.axios.$get('/connectors/budget-insight/tokens/temporary');
8
+ }
6
9
  updateOrCreateToken(payload) {
7
10
  return this.axios.$post('/connectors/budget-insight/tokens', payload);
8
11
  }
9
12
  authentificate() {
10
13
  return this.axios.$post('/connectors/budget-insight/authentificate');
11
14
  }
15
+ getAllConnections() {
16
+ return this.axios.$get('/connectors/budget-insight/connections');
17
+ }
12
18
  }
13
19
  //# sourceMappingURL=BudgetInsight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BudgetInsight.js","sourceRoot":"","sources":["../../../../ts/api/resources/BudgetInsight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,SAAS;QACP,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;IAC9D,CAAC;IAED,mBAAmB,CAAC,OAAkC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC;IACvE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateOrUpdateAccessToken, IAccessToken } from '../../types';\n\nexport class BudgetInsight extends Resource {\n getTokens(): Promise<IAccessToken | null> {\n return this.axios.$get('/connectors/budget-insight/tokens');\n }\n\n updateOrCreateToken(payload: CreateOrUpdateAccessToken): Promise<IAccessToken> {\n return this.axios.$post('/connectors/budget-insight/tokens', payload);\n }\n\n authentificate(): Promise<IAccessToken> {\n return this.axios.$post('/connectors/budget-insight/authentificate');\n }\n}"]}
1
+ {"version":3,"file":"BudgetInsight.js","sourceRoot":"","sources":["../../../../ts/api/resources/BudgetInsight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,SAAS;QACP,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;IAC9D,CAAC;IAED,iBAAiB;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IACxE,CAAC;IAED,mBAAmB,CAAC,OAAkC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC;IACvE,CAAC;IAED,iBAAiB;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAC;IACnE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateOrUpdateAccessToken, IAccessToken, ReadUserConnection } from '../../types';\n\nexport class BudgetInsight extends Resource {\n getTokens(): Promise<IAccessToken | null> {\n return this.axios.$get('/connectors/budget-insight/tokens');\n }\n\n getTemporaryToken(): Promise<IAccessToken | null> {\n return this.axios.$get('/connectors/budget-insight/tokens/temporary');\n }\n\n updateOrCreateToken(payload: CreateOrUpdateAccessToken): Promise<IAccessToken> {\n return this.axios.$post('/connectors/budget-insight/tokens', payload);\n }\n\n authentificate(): Promise<IAccessToken> {\n return this.axios.$post('/connectors/budget-insight/authentificate');\n }\n\n getAllConnections(): Promise<ReadUserConnection> {\n return this.axios.$get('/connectors/budget-insight/connections');\n }\n}"]}
@@ -7,5 +7,6 @@ export declare class Exercice extends Resource {
7
7
  getAllBalanceSheets(id: number): Promise<IBalanceSheet[]>;
8
8
  updateOrCreateAdjustment(idExercice: number, params: UpdateOrCreateAdjustment): Promise<IAdjustment>;
9
9
  getAllAdjustments(id: number): Promise<IAdjustment[]>;
10
+ delete(id: number): Promise<boolean>;
10
11
  }
11
12
  //# sourceMappingURL=Exercice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Exercice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAChG,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAIlD,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAInD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAI9D,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAIzD,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,WAAW,CAAC;IAIpG,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAGtD"}
1
+ {"version":3,"file":"Exercice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAChG,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAIlD,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAInD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAI9D,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAIzD,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,WAAW,CAAC;IAIpG,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAIrD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAGrC"}
@@ -18,5 +18,8 @@ export class Exercice extends Resource {
18
18
  getAllAdjustments(id) {
19
19
  return this.axios.$get(`/exercices/${id}/adjustments`);
20
20
  }
21
+ delete(id) {
22
+ return this.axios.$delete(`/exercices/${id}`);
23
+ }
21
24
  }
22
25
  //# sourceMappingURL=Exercice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Exercice.js","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAED,iBAAiB,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAAsB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;IAED,mBAAmB,CAAC,EAAU;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;IAC5D,CAAC;IAED,wBAAwB,CAAC,UAAkB,EAAE,MAAgC;QAC3E,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,cAAc,EAAE,MAAM,CAAC,CAAC;IAC1E,CAAC;IAED,iBAAiB,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IACzD,CAAC;CACF","sourcesContent":["import {\n CreateExercice, IAdjustment, IBalanceSheet, IExercice, UpdateExercice, UpdateOrCreateAdjustment,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Exercice extends Resource {\n create(params: CreateExercice): Promise<IExercice> {\n return this.axios.$post('/exercices', params);\n }\n\n getAllBySocietyId(id: number): Promise<IExercice[]> {\n return this.axios.$get(`/societies/${id}/exercices`);\n }\n\n update(id: number, params: UpdateExercice): Promise<IExercice> {\n return this.axios.$put(`/exercices/${id}`, params);\n }\n\n getAllBalanceSheets(id: number): Promise<IBalanceSheet[]> {\n return this.axios.$get(`/exercices/${id}/balance-sheets`);\n }\n\n updateOrCreateAdjustment(idExercice: number, params: UpdateOrCreateAdjustment): Promise<IAdjustment> {\n return this.axios.$post(`/exercices/${idExercice}/adjustments`, params);\n }\n\n getAllAdjustments(id: number): Promise<IAdjustment[]> {\n return this.axios.$get(`/exercices/${id}/adjustments`);\n }\n}"]}
1
+ {"version":3,"file":"Exercice.js","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,QAAS,SAAQ,QAAQ;IACpC,MAAM,CAAC,MAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAED,iBAAiB,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAAsB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;IAED,mBAAmB,CAAC,EAAU;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;IAC5D,CAAC;IAED,wBAAwB,CAAC,UAAkB,EAAE,MAAgC;QAC3E,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,cAAc,EAAE,MAAM,CAAC,CAAC;IAC1E,CAAC;IAED,iBAAiB,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;CACF","sourcesContent":["import {\n CreateExercice, IAdjustment, IBalanceSheet, IExercice, UpdateExercice, UpdateOrCreateAdjustment,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Exercice extends Resource {\n create(params: CreateExercice): Promise<IExercice> {\n return this.axios.$post('/exercices', params);\n }\n\n getAllBySocietyId(id: number): Promise<IExercice[]> {\n return this.axios.$get(`/societies/${id}/exercices`);\n }\n\n update(id: number, params: UpdateExercice): Promise<IExercice> {\n return this.axios.$put(`/exercices/${id}`, params);\n }\n\n getAllBalanceSheets(id: number): Promise<IBalanceSheet[]> {\n return this.axios.$get(`/exercices/${id}/balance-sheets`);\n }\n\n updateOrCreateAdjustment(idExercice: number, params: UpdateOrCreateAdjustment): Promise<IAdjustment> {\n return this.axios.$post(`/exercices/${idExercice}/adjustments`, params);\n }\n\n getAllAdjustments(id: number): Promise<IAdjustment[]> {\n return this.axios.$get(`/exercices/${id}/adjustments`);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/exercices/${id}`);\n }\n}"]}
@@ -2984,7 +2984,7 @@ export const PrestationDetail = {
2984
2984
  inAverageCart: true,
2985
2985
  isBack: false,
2986
2986
  price: 299,
2987
- isCatalog: false,
2987
+ isCatalog: true,
2988
2988
  hidden: false,
2989
2989
  isComplementary: false,
2990
2990
  signaturePosition: '',