@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.
@@ -5059,9 +5059,14 @@ export interface CostumProjectActionRequestNewData {
5059
5059
  */
5060
5060
  credits: number;
5061
5061
  /**
5062
- * ID du jalon associé
5062
+ * Jalon associé à l'action
5063
5063
  */
5064
- "milestone[milestoneId]": string;
5064
+ milestone: {
5065
+ /**
5066
+ * ID du jalon associé
5067
+ */
5068
+ milestoneId: string;
5069
+ };
5065
5070
  [k: string]: unknown;
5066
5071
  }
5067
5072
  export interface LinkDiscourseAccountData {
@@ -8,6 +8,11 @@ type ObjectID = InstanceType<ObjectIDCtor>;
8
8
  export interface AnswerLinksBlock {
9
9
  answered: string[];
10
10
  }
11
+ export interface AnswerProjectRef {
12
+ id?: string;
13
+ type?: string;
14
+ name?: string;
15
+ }
11
16
  export interface AnswerItemJson {
12
17
  _id: IdObject;
13
18
  collection: "answers";
@@ -21,10 +26,11 @@ export interface AnswerItemJson {
21
26
  form?: string;
22
27
  modified?: DateValue;
23
28
  voteCount?: Record<string, number>;
24
- vote: Record<string, {
29
+ vote?: Record<string, {
25
30
  status: string;
26
31
  date: DateValue;
27
32
  }>;
33
+ project?: AnswerProjectRef;
28
34
  [key: string]: unknown;
29
35
  }
30
36
  export interface AnswerItemNormalized {
@@ -41,10 +47,11 @@ export interface AnswerItemNormalized {
41
47
  form?: string;
42
48
  modified?: Date;
43
49
  voteCount?: Record<string, number>;
44
- vote: Record<string, {
50
+ vote?: Record<string, {
45
51
  status: string;
46
52
  date: Date;
47
53
  }>;
54
+ project?: AnswerProjectRef;
48
55
  [key: string]: unknown;
49
56
  }
50
57
  export {};
@@ -38,6 +38,7 @@ export interface ProjectItemJson {
38
38
  socialNetwork?: SocialNetwork;
39
39
  email?: string;
40
40
  url?: string;
41
+ answer?: string;
41
42
  [key: string]: unknown;
42
43
  }
43
44
  export interface ProjectItemNormalized {
@@ -66,6 +67,7 @@ export interface ProjectItemNormalized {
66
67
  socialNetwork?: SocialNetwork;
67
68
  email?: string;
68
69
  url?: string;
70
+ answer?: string;
69
71
  [key: string]: unknown;
70
72
  }
71
73
  export {};