@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"}
@@ -17,6 +17,11 @@ class Authenticate extends Resource_1.Resource {
17
17
  return this.axios.$post('/authenticate/collaborater', payload);
18
18
  });
19
19
  }
20
+ authentificate(payload) {
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ return this.axios.$post('/authenticate', payload);
23
+ });
24
+ }
20
25
  connectAs(idSociety) {
21
26
  return __awaiter(this, void 0, void 0, function* () {
22
27
  return this.axios.$post(`/authenticate/societies/${idSociety}`);
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,0CAAuC;AAEvC,MAAa,YAAa,SAAQ,mBAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;IAEK,SAAS,CAAC,SAAiB;;YAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;QAClE,CAAC;KAAA;CACF;AARD,oCAQC","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,0CAAuC;AAEvC,MAAa,YAAa,SAAQ,mBAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;IAEK,cAAc,CAAC,OAAyB;;YAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;QACpD,CAAC;KAAA;IAEK,SAAS,CAAC,SAAiB;;YAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;QAClE,CAAC;KAAA;CACF;AAZD,oCAYC","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"}
@@ -6,12 +6,18 @@ class BudgetInsight extends Resource_1.Resource {
6
6
  getTokens() {
7
7
  return this.axios.$get('/connectors/budget-insight/tokens');
8
8
  }
9
+ getTemporaryToken() {
10
+ return this.axios.$get('/connectors/budget-insight/tokens/temporary');
11
+ }
9
12
  updateOrCreateToken(payload) {
10
13
  return this.axios.$post('/connectors/budget-insight/tokens', payload);
11
14
  }
12
15
  authentificate() {
13
16
  return this.axios.$post('/connectors/budget-insight/authentificate');
14
17
  }
18
+ getAllConnections() {
19
+ return this.axios.$get('/connectors/budget-insight/connections');
20
+ }
15
21
  }
16
22
  exports.BudgetInsight = BudgetInsight;
17
23
  //# sourceMappingURL=BudgetInsight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BudgetInsight.js","sourceRoot":"","sources":["../../../../ts/api/resources/BudgetInsight.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,aAAc,SAAQ,mBAAQ;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;AAZD,sCAYC","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,0CAAuC;AAGvC,MAAa,aAAc,SAAQ,mBAAQ;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;AApBD,sCAoBC","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"}
@@ -21,6 +21,9 @@ class Exercice extends Resource_1.Resource {
21
21
  getAllAdjustments(id) {
22
22
  return this.axios.$get(`/exercices/${id}/adjustments`);
23
23
  }
24
+ delete(id) {
25
+ return this.axios.$delete(`/exercices/${id}`);
26
+ }
24
27
  }
25
28
  exports.Exercice = Exercice;
26
29
  //# sourceMappingURL=Exercice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Exercice.js","sourceRoot":"","sources":["../../../../ts/api/resources/Exercice.ts"],"names":[],"mappings":";;;AAGA,0CAAuC;AAEvC,MAAa,QAAS,SAAQ,mBAAQ;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;AAxBD,4BAwBC","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,0CAAuC;AAEvC,MAAa,QAAS,SAAQ,mBAAQ;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;AA5BD,4BA4BC","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}"]}
@@ -2987,7 +2987,7 @@ exports.PrestationDetail = {
2987
2987
  inAverageCart: true,
2988
2988
  isBack: false,
2989
2989
  price: 299,
2990
- isCatalog: false,
2990
+ isCatalog: true,
2991
2991
  hidden: false,
2992
2992
  isComplementary: false,
2993
2993
  signaturePosition: '',