@communecter/cocolight-api-client 1.0.125 → 1.0.126

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@communecter/cocolight-api-client",
3
- "version": "1.0.125",
3
+ "version": "1.0.126",
4
4
  "description": "Client Axios simplifié pour l'API cocolight",
5
5
  "repository": {
6
6
  "type": "git",
@@ -5516,9 +5516,14 @@ export interface CostumProjectActionRequestNewData {
5516
5516
  */
5517
5517
  credits: number;
5518
5518
  /**
5519
- * ID du jalon associé
5519
+ * Jalon associé à l'action
5520
5520
  */
5521
- "milestone[milestoneId]": string;
5521
+ milestone: {
5522
+ /**
5523
+ * ID du jalon associé
5524
+ */
5525
+ milestoneId: string;
5526
+ };
5522
5527
  [k: string]: unknown;
5523
5528
  }
5524
5529
 
@@ -12,6 +12,12 @@ export interface AnswerLinksBlock {
12
12
  answered: string[];
13
13
  }
14
14
 
15
+ export interface AnswerProjectRef {
16
+ id?: string;
17
+ type?: string;
18
+ name?: string;
19
+ }
20
+
15
21
  export interface AnswerItemJson {
16
22
  _id: IdObject;
17
23
  collection: "answers";
@@ -25,10 +31,11 @@ export interface AnswerItemJson {
25
31
  form?: string;
26
32
  modified?: DateValue;
27
33
  voteCount?: Record<string, number>;
28
- vote: Record<string, {
34
+ vote?: Record<string, {
29
35
  status: string;
30
36
  date: DateValue;
31
37
  }>;
38
+ project?: AnswerProjectRef;
32
39
  [key: string]: unknown;
33
40
  }
34
41
 
@@ -46,9 +53,10 @@ export interface AnswerItemNormalized {
46
53
  form?: string;
47
54
  modified?: Date;
48
55
  voteCount?: Record<string, number>;
49
- vote: Record<string, {
56
+ vote?: Record<string, {
50
57
  status: string;
51
58
  date: Date;
52
59
  }>;
60
+ project?: AnswerProjectRef;
53
61
  [key: string]: unknown;
54
62
  }
@@ -65,6 +65,7 @@ export interface ProjectItemJson {
65
65
  socialNetwork?: SocialNetwork;
66
66
  email?: string;
67
67
  url?: string;
68
+ answer?: string;
68
69
  [key: string]: unknown;
69
70
  }
70
71
 
@@ -94,5 +95,6 @@ export interface ProjectItemNormalized {
94
95
  socialNetwork?: SocialNetwork;
95
96
  email?: string;
96
97
  url?: string;
98
+ answer?: string;
97
99
  [key: string]: unknown;
98
100
  }