@silexpert/core 1.3.155 → 1.3.156-2

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.
@@ -13,6 +13,12 @@ export declare class ExercicePrestation extends Resource {
13
13
  * @returns { IExercicePrestation }
14
14
  */
15
15
  get(params: QueryGetExercicePrestation): Promise<IExercicePrestation>;
16
+ /**
17
+ * Récupère toutes les prestations d'un exercice
18
+ * @param { QueryGetExercicePrestation } params
19
+ * @returns { IExercicePrestation[] }
20
+ */
21
+ getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]>;
16
22
  /**
17
23
  * Update un exercicePrestation tous les éléments lié à celle-ci.
18
24
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
1
+ {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIjF;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
@@ -19,6 +19,14 @@ class ExercicePrestation extends Resource_1.Resource {
19
19
  get(params) {
20
20
  return this.axios.$get('/exercice-prestation', { params });
21
21
  }
22
+ /**
23
+ * Récupère toutes les prestations d'un exercice
24
+ * @param { QueryGetExercicePrestation } params
25
+ * @returns { IExercicePrestation[] }
26
+ */
27
+ getAll(params) {
28
+ return this.axios.$get('/exercice-prestation/all', { params });
29
+ }
22
30
  /**
23
31
  * Update un exercicePrestation tous les éléments lié à celle-ci.
24
32
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,kBAAmB,SAAQ,mBAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,oBAAO,MAAM,EAAG,CAAC;IACtE,CAAC;CACF;AA5BD,gDA4BC","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
1
+ {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,kBAAmB,SAAQ,mBAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,oBAAO,MAAM,EAAG,CAAC;IACtE,CAAC;CACF;AArCD,gDAqCC","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Récupère toutes les prestations d'un exercice\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation[] }\n */\n public getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]> {\n return this.axios.$get('/exercice-prestation/all', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
@@ -13,6 +13,12 @@ export declare class ExercicePrestation extends Resource {
13
13
  * @returns { IExercicePrestation }
14
14
  */
15
15
  get(params: QueryGetExercicePrestation): Promise<IExercicePrestation>;
16
+ /**
17
+ * Récupère toutes les prestations d'un exercice
18
+ * @param { QueryGetExercicePrestation } params
19
+ * @returns { IExercicePrestation[] }
20
+ */
21
+ getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]>;
16
22
  /**
17
23
  * Update un exercicePrestation tous les éléments lié à celle-ci.
18
24
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
1
+ {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIjF;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
@@ -16,6 +16,14 @@ export class ExercicePrestation extends Resource {
16
16
  get(params) {
17
17
  return this.axios.$get('/exercice-prestation', { params });
18
18
  }
19
+ /**
20
+ * Récupère toutes les prestations d'un exercice
21
+ * @param { QueryGetExercicePrestation } params
22
+ * @returns { IExercicePrestation[] }
23
+ */
24
+ getAll(params) {
25
+ return this.axios.$get('/exercice-prestation/all', { params });
26
+ }
19
27
  /**
20
28
  * Update un exercicePrestation tous les éléments lié à celle-ci.
21
29
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
1
+ {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Récupère toutes les prestations d'un exercice\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation[] }\n */\n public getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]> {\n return this.axios.$get('/exercice-prestation/all', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.155",
3
+ "version": "1.3.156-2",
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",
@@ -20,6 +20,15 @@ export class ExercicePrestation extends Resource {
20
20
  return this.axios.$get('/exercice-prestation', { params });
21
21
  }
22
22
 
23
+ /**
24
+ * Récupère toutes les prestations d'un exercice
25
+ * @param { QueryGetExercicePrestation } params
26
+ * @returns { IExercicePrestation[] }
27
+ */
28
+ public getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]> {
29
+ return this.axios.$get('/exercice-prestation/all', { params });
30
+ }
31
+
23
32
  /**
24
33
  * Update un exercicePrestation tous les éléments lié à celle-ci.
25
34
  * @param { number } params