@metarisc/metarisc-js 0.0.1-alpha.46 → 0.0.1-alpha.47

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.
@@ -95,7 +95,7 @@ class TournesDECIAPI extends core_1.Core {
95
95
  endpoint: utils_1.Utils.constructPath(pathVariable, '/tournees_deci'),
96
96
  headers: {},
97
97
  params: {},
98
- body: { 'libelle': postTourneeDeciRequest?.libelle, 'description': postTourneeDeciRequest?.description }
98
+ body: { 'libelle': postTourneeDeciRequest?.libelle, 'description': postTourneeDeciRequest?.description, 'date_de_debut': postTourneeDeciRequest?.date_de_debut, 'date_de_fin': postTourneeDeciRequest?.date_de_fin }
99
99
  });
100
100
  }
101
101
  /**
@@ -1,4 +1,6 @@
1
1
  export type PostTourneeDeciRequest = {
2
2
  'libelle'?: string;
3
3
  'description'?: string;
4
+ 'date_de_debut'?: Date;
5
+ 'date_de_fin'?: Date;
4
6
  };
@@ -5,4 +5,6 @@ export type TourneeDeci = {
5
5
  'date_creation'?: Date;
6
6
  'pourcentage'?: number;
7
7
  'est_terminee'?: boolean;
8
+ 'date_de_debut'?: Date;
9
+ 'date_de_fin'?: Date;
8
10
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@metarisc/metarisc-js",
3
3
  "main": "lib/index.js",
4
4
  "types": "lib/index.d.ts",
5
- "version": "0.0.1-alpha.46",
5
+ "version": "0.0.1-alpha.47",
6
6
  "scripts": {
7
7
  "lint": "eslint . --ext .ts --fix",
8
8
  "compile": "tsc",
@@ -113,7 +113,7 @@ export class TournesDECIAPI extends Core {
113
113
  endpoint: Utils.constructPath(pathVariable, '/tournees_deci'),
114
114
  headers: { },
115
115
  params: { },
116
- body: { 'libelle': postTourneeDeciRequest?.libelle, 'description': postTourneeDeciRequest?.description }
116
+ body: { 'libelle': postTourneeDeciRequest?.libelle, 'description': postTourneeDeciRequest?.description, 'date_de_debut': postTourneeDeciRequest?.date_de_debut, 'date_de_fin': postTourneeDeciRequest?.date_de_fin }
117
117
  });
118
118
  }
119
119
 
@@ -1,4 +1,6 @@
1
1
  export type PostTourneeDeciRequest = {
2
2
  'libelle'?: string;
3
3
  'description'?: string;
4
+ 'date_de_debut'?: Date;
5
+ 'date_de_fin'?: Date;
4
6
  };
@@ -5,4 +5,6 @@ export type TourneeDeci = {
5
5
  'date_creation'?: Date;
6
6
  'pourcentage'?: number;
7
7
  'est_terminee'?: boolean;
8
+ 'date_de_debut'?: Date;
9
+ 'date_de_fin'?: Date;
8
10
  };