@breign/client 1.0.199 → 1.0.201

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 (37) hide show
  1. package/dist/apis/AuthApi.d.ts +18 -5
  2. package/dist/apis/AuthApi.js +31 -4
  3. package/dist/apis/ProjectsApi.d.ts +17 -4
  4. package/dist/apis/ProjectsApi.js +33 -4
  5. package/dist/apis/TicketsApi.d.ts +15 -1
  6. package/dist/apis/TicketsApi.js +34 -0
  7. package/dist/models/ApplicationTokenFormatUio.d.ts +26 -0
  8. package/dist/models/ApplicationTokenFormatUio.js +52 -0
  9. package/dist/models/ApplicationTokenRequestUio.d.ts +18 -3
  10. package/dist/models/ApplicationTokenRequestUio.js +10 -10
  11. package/dist/models/ApplicationTokenResponseUio.d.ts +26 -5
  12. package/dist/models/ApplicationTokenResponseUio.js +10 -7
  13. package/dist/models/ApplicationTokenRevocationRequestUio.d.ts +44 -0
  14. package/dist/models/ApplicationTokenRevocationRequestUio.js +56 -0
  15. package/dist/models/CreateProjectRequestUio.d.ts +6 -0
  16. package/dist/models/CreateProjectRequestUio.js +2 -0
  17. package/dist/models/MoveTicketsRequestUio.d.ts +38 -0
  18. package/dist/models/MoveTicketsRequestUio.js +54 -0
  19. package/dist/models/MoveTicketsResultUio.d.ts +40 -0
  20. package/dist/models/MoveTicketsResultUio.js +56 -0
  21. package/dist/models/MovedTicketUio.d.ts +44 -0
  22. package/dist/models/MovedTicketUio.js +58 -0
  23. package/dist/models/ProjectSummaryUio.d.ts +7 -1
  24. package/dist/models/ProjectSummaryUio.js +4 -0
  25. package/dist/models/ProjectUio.d.ts +7 -1
  26. package/dist/models/ProjectUio.js +4 -0
  27. package/dist/models/RemovedTicketMemberUio.d.ts +39 -0
  28. package/dist/models/RemovedTicketMemberUio.js +55 -0
  29. package/dist/models/TicketEventUio.d.ts +1 -1
  30. package/dist/models/UpdateUserChatPreferencesRequestUio.d.ts +6 -0
  31. package/dist/models/UpdateUserChatPreferencesRequestUio.js +2 -0
  32. package/dist/models/UserChatPreferencesUio.d.ts +6 -0
  33. package/dist/models/UserChatPreferencesUio.js +4 -0
  34. package/dist/models/index.d.ts +6 -0
  35. package/dist/models/index.js +6 -0
  36. package/dist/openapi.json +291 -28
  37. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApplicationTokenRevocationRequestUio
16
+ */
17
+ export interface ApplicationTokenRevocationRequestUio {
18
+ /**
19
+ * The refresh token to revoke.
20
+ * @type {string}
21
+ * @memberof ApplicationTokenRevocationRequestUio
22
+ */
23
+ token: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApplicationTokenRevocationRequestUio
28
+ */
29
+ clientId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApplicationTokenRevocationRequestUio
34
+ */
35
+ tokenTypeHint?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ApplicationTokenRevocationRequestUio interface.
39
+ */
40
+ export declare function instanceOfApplicationTokenRevocationRequestUio(value: object): value is ApplicationTokenRevocationRequestUio;
41
+ export declare function ApplicationTokenRevocationRequestUioFromJSON(json: any): ApplicationTokenRevocationRequestUio;
42
+ export declare function ApplicationTokenRevocationRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationTokenRevocationRequestUio;
43
+ export declare function ApplicationTokenRevocationRequestUioToJSON(json: any): ApplicationTokenRevocationRequestUio;
44
+ export declare function ApplicationTokenRevocationRequestUioToJSONTyped(value?: ApplicationTokenRevocationRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApplicationTokenRevocationRequestUio = instanceOfApplicationTokenRevocationRequestUio;
17
+ exports.ApplicationTokenRevocationRequestUioFromJSON = ApplicationTokenRevocationRequestUioFromJSON;
18
+ exports.ApplicationTokenRevocationRequestUioFromJSONTyped = ApplicationTokenRevocationRequestUioFromJSONTyped;
19
+ exports.ApplicationTokenRevocationRequestUioToJSON = ApplicationTokenRevocationRequestUioToJSON;
20
+ exports.ApplicationTokenRevocationRequestUioToJSONTyped = ApplicationTokenRevocationRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApplicationTokenRevocationRequestUio interface.
23
+ */
24
+ function instanceOfApplicationTokenRevocationRequestUio(value) {
25
+ if (!('token' in value) || value['token'] === undefined)
26
+ return false;
27
+ if (!('clientId' in value) || value['clientId'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function ApplicationTokenRevocationRequestUioFromJSON(json) {
32
+ return ApplicationTokenRevocationRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function ApplicationTokenRevocationRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'token': json['token'],
40
+ 'clientId': json['client_id'],
41
+ 'tokenTypeHint': json['token_type_hint'] == null ? undefined : json['token_type_hint'],
42
+ };
43
+ }
44
+ function ApplicationTokenRevocationRequestUioToJSON(json) {
45
+ return ApplicationTokenRevocationRequestUioToJSONTyped(json, false);
46
+ }
47
+ function ApplicationTokenRevocationRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'token': value['token'],
53
+ 'client_id': value['clientId'],
54
+ 'token_type_hint': value['tokenTypeHint'],
55
+ };
56
+ }
@@ -59,6 +59,12 @@ export interface CreateProjectRequestUio {
59
59
  * @memberof CreateProjectRequestUio
60
60
  */
61
61
  members?: Array<ProjectMemberUio>;
62
+ /**
63
+ * Tickets de l'espace personnel de l'appelant à emporter dans le nouvel espace ; leurs agents assignés ou relecteurs en deviennent membres
64
+ * @type {Array<string>}
65
+ * @memberof CreateProjectRequestUio
66
+ */
67
+ moveTicketIds?: Array<string>;
62
68
  }
63
69
  /**
64
70
  * Check if a given object implements the CreateProjectRequestUio interface.
@@ -45,6 +45,7 @@ function CreateProjectRequestUioFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'dueDate': json['dueDate'] == null ? undefined : json['dueDate'],
46
46
  'settings': json['settings'] == null ? undefined : (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
47
47
  'members': json['members'] == null ? undefined : (json['members'].map(ProjectMemberUio_1.ProjectMemberUioFromJSON)),
48
+ 'moveTicketIds': json['moveTicketIds'] == null ? undefined : json['moveTicketIds'],
48
49
  };
49
50
  }
50
51
  function CreateProjectRequestUioToJSON(json) {
@@ -62,5 +63,6 @@ function CreateProjectRequestUioToJSONTyped(value, ignoreDiscriminator = false)
62
63
  'dueDate': value['dueDate'],
63
64
  'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
64
65
  'members': value['members'] == null ? undefined : (value['members'].map(ProjectMemberUio_1.ProjectMemberUioToJSON)),
66
+ 'moveTicketIds': value['moveTicketIds'],
65
67
  };
66
68
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MoveTicketsRequestUio
16
+ */
17
+ export interface MoveTicketsRequestUio {
18
+ /**
19
+ * L'espace personnel de l'appelant, seul point de départ possible
20
+ * @type {string}
21
+ * @memberof MoveTicketsRequestUio
22
+ */
23
+ fromProjectId: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof MoveTicketsRequestUio
28
+ */
29
+ ticketIds: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the MoveTicketsRequestUio interface.
33
+ */
34
+ export declare function instanceOfMoveTicketsRequestUio(value: object): value is MoveTicketsRequestUio;
35
+ export declare function MoveTicketsRequestUioFromJSON(json: any): MoveTicketsRequestUio;
36
+ export declare function MoveTicketsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveTicketsRequestUio;
37
+ export declare function MoveTicketsRequestUioToJSON(json: any): MoveTicketsRequestUio;
38
+ export declare function MoveTicketsRequestUioToJSONTyped(value?: MoveTicketsRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMoveTicketsRequestUio = instanceOfMoveTicketsRequestUio;
17
+ exports.MoveTicketsRequestUioFromJSON = MoveTicketsRequestUioFromJSON;
18
+ exports.MoveTicketsRequestUioFromJSONTyped = MoveTicketsRequestUioFromJSONTyped;
19
+ exports.MoveTicketsRequestUioToJSON = MoveTicketsRequestUioToJSON;
20
+ exports.MoveTicketsRequestUioToJSONTyped = MoveTicketsRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MoveTicketsRequestUio interface.
23
+ */
24
+ function instanceOfMoveTicketsRequestUio(value) {
25
+ if (!('fromProjectId' in value) || value['fromProjectId'] === undefined)
26
+ return false;
27
+ if (!('ticketIds' in value) || value['ticketIds'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function MoveTicketsRequestUioFromJSON(json) {
32
+ return MoveTicketsRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function MoveTicketsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'fromProjectId': json['fromProjectId'],
40
+ 'ticketIds': json['ticketIds'],
41
+ };
42
+ }
43
+ function MoveTicketsRequestUioToJSON(json) {
44
+ return MoveTicketsRequestUioToJSONTyped(json, false);
45
+ }
46
+ function MoveTicketsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'fromProjectId': value['fromProjectId'],
52
+ 'ticketIds': value['ticketIds'],
53
+ };
54
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MovedTicketUio } from './MovedTicketUio';
13
+ import type { RemovedTicketMemberUio } from './RemovedTicketMemberUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface MoveTicketsResultUio
18
+ */
19
+ export interface MoveTicketsResultUio {
20
+ /**
21
+ *
22
+ * @type {Array<MovedTicketUio>}
23
+ * @memberof MoveTicketsResultUio
24
+ */
25
+ moved: Array<MovedTicketUio>;
26
+ /**
27
+ * Assignés et relecteurs retirés des tickets, faute d'être membres de l'espace d'arrivée
28
+ * @type {Array<RemovedTicketMemberUio>}
29
+ * @memberof MoveTicketsResultUio
30
+ */
31
+ removed: Array<RemovedTicketMemberUio>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the MoveTicketsResultUio interface.
35
+ */
36
+ export declare function instanceOfMoveTicketsResultUio(value: object): value is MoveTicketsResultUio;
37
+ export declare function MoveTicketsResultUioFromJSON(json: any): MoveTicketsResultUio;
38
+ export declare function MoveTicketsResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveTicketsResultUio;
39
+ export declare function MoveTicketsResultUioToJSON(json: any): MoveTicketsResultUio;
40
+ export declare function MoveTicketsResultUioToJSONTyped(value?: MoveTicketsResultUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMoveTicketsResultUio = instanceOfMoveTicketsResultUio;
17
+ exports.MoveTicketsResultUioFromJSON = MoveTicketsResultUioFromJSON;
18
+ exports.MoveTicketsResultUioFromJSONTyped = MoveTicketsResultUioFromJSONTyped;
19
+ exports.MoveTicketsResultUioToJSON = MoveTicketsResultUioToJSON;
20
+ exports.MoveTicketsResultUioToJSONTyped = MoveTicketsResultUioToJSONTyped;
21
+ const MovedTicketUio_1 = require("./MovedTicketUio");
22
+ const RemovedTicketMemberUio_1 = require("./RemovedTicketMemberUio");
23
+ /**
24
+ * Check if a given object implements the MoveTicketsResultUio interface.
25
+ */
26
+ function instanceOfMoveTicketsResultUio(value) {
27
+ if (!('moved' in value) || value['moved'] === undefined)
28
+ return false;
29
+ if (!('removed' in value) || value['removed'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function MoveTicketsResultUioFromJSON(json) {
34
+ return MoveTicketsResultUioFromJSONTyped(json, false);
35
+ }
36
+ function MoveTicketsResultUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'moved': (json['moved'].map(MovedTicketUio_1.MovedTicketUioFromJSON)),
42
+ 'removed': (json['removed'].map(RemovedTicketMemberUio_1.RemovedTicketMemberUioFromJSON)),
43
+ };
44
+ }
45
+ function MoveTicketsResultUioToJSON(json) {
46
+ return MoveTicketsResultUioToJSONTyped(json, false);
47
+ }
48
+ function MoveTicketsResultUioToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'moved': (value['moved'].map(MovedTicketUio_1.MovedTicketUioToJSON)),
54
+ 'removed': (value['removed'].map(RemovedTicketMemberUio_1.RemovedTicketMemberUioToJSON)),
55
+ };
56
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MovedTicketUio
16
+ */
17
+ export interface MovedTicketUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MovedTicketUio
22
+ */
23
+ ticketId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MovedTicketUio
28
+ */
29
+ fromKey: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof MovedTicketUio
34
+ */
35
+ toKey: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the MovedTicketUio interface.
39
+ */
40
+ export declare function instanceOfMovedTicketUio(value: object): value is MovedTicketUio;
41
+ export declare function MovedTicketUioFromJSON(json: any): MovedTicketUio;
42
+ export declare function MovedTicketUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MovedTicketUio;
43
+ export declare function MovedTicketUioToJSON(json: any): MovedTicketUio;
44
+ export declare function MovedTicketUioToJSONTyped(value?: MovedTicketUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMovedTicketUio = instanceOfMovedTicketUio;
17
+ exports.MovedTicketUioFromJSON = MovedTicketUioFromJSON;
18
+ exports.MovedTicketUioFromJSONTyped = MovedTicketUioFromJSONTyped;
19
+ exports.MovedTicketUioToJSON = MovedTicketUioToJSON;
20
+ exports.MovedTicketUioToJSONTyped = MovedTicketUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MovedTicketUio interface.
23
+ */
24
+ function instanceOfMovedTicketUio(value) {
25
+ if (!('ticketId' in value) || value['ticketId'] === undefined)
26
+ return false;
27
+ if (!('fromKey' in value) || value['fromKey'] === undefined)
28
+ return false;
29
+ if (!('toKey' in value) || value['toKey'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function MovedTicketUioFromJSON(json) {
34
+ return MovedTicketUioFromJSONTyped(json, false);
35
+ }
36
+ function MovedTicketUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'ticketId': json['ticketId'],
42
+ 'fromKey': json['fromKey'],
43
+ 'toKey': json['toKey'],
44
+ };
45
+ }
46
+ function MovedTicketUioToJSON(json) {
47
+ return MovedTicketUioToJSONTyped(json, false);
48
+ }
49
+ function MovedTicketUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'ticketId': value['ticketId'],
55
+ 'fromKey': value['fromKey'],
56
+ 'toKey': value['toKey'],
57
+ };
58
+ }
@@ -34,7 +34,7 @@ export interface ProjectSummaryUio {
34
34
  */
35
35
  organizationId: string;
36
36
  /**
37
- * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation
37
+ * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation sauf PERSO, la clé de tous les espaces personnels
38
38
  * @type {string}
39
39
  * @memberof ProjectSummaryUio
40
40
  */
@@ -75,6 +75,12 @@ export interface ProjectSummaryUio {
75
75
  * @memberof ProjectSummaryUio
76
76
  */
77
77
  archivedAt: string | null;
78
+ /**
79
+ * Espace de travail personnel de l'appelant (clé PERSO), visible par lui seul ; ni partageable, ni renommable, ni archivable. Ses membres sont l'appelant et les agents qui lui sont accessibles.
80
+ * @type {boolean}
81
+ * @memberof ProjectSummaryUio
82
+ */
83
+ personal: boolean;
78
84
  /**
79
85
  *
80
86
  * @type {ActorRefUio}
@@ -46,6 +46,8 @@ function instanceOfProjectSummaryUio(value) {
46
46
  return false;
47
47
  if (!('archivedAt' in value) || value['archivedAt'] === undefined)
48
48
  return false;
49
+ if (!('personal' in value) || value['personal'] === undefined)
50
+ return false;
49
51
  if (!('createdBy' in value) || value['createdBy'] === undefined)
50
52
  return false;
51
53
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -79,6 +81,7 @@ function ProjectSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
79
81
  'dueDate': json['dueDate'],
80
82
  'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
81
83
  'archivedAt': json['archivedAt'],
84
+ 'personal': json['personal'],
82
85
  'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
83
86
  'createdAt': json['createdAt'],
84
87
  'updatedAt': json['updatedAt'],
@@ -105,6 +108,7 @@ function ProjectSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
105
108
  'dueDate': value['dueDate'],
106
109
  'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
107
110
  'archivedAt': value['archivedAt'],
111
+ 'personal': value['personal'],
108
112
  'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
109
113
  'createdAt': value['createdAt'],
110
114
  'updatedAt': value['updatedAt'],
@@ -30,7 +30,7 @@ export interface ProjectUio {
30
30
  */
31
31
  organizationId: string;
32
32
  /**
33
- * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation
33
+ * Préfixe des identifiants de tickets (BRN donne BRN-142), unique dans l'organisation sauf PERSO, la clé de tous les espaces personnels
34
34
  * @type {string}
35
35
  * @memberof ProjectUio
36
36
  */
@@ -71,6 +71,12 @@ export interface ProjectUio {
71
71
  * @memberof ProjectUio
72
72
  */
73
73
  archivedAt: string | null;
74
+ /**
75
+ * Espace de travail personnel de l'appelant (clé PERSO), visible par lui seul ; ni partageable, ni renommable, ni archivable. Ses membres sont l'appelant et les agents qui lui sont accessibles.
76
+ * @type {boolean}
77
+ * @memberof ProjectUio
78
+ */
79
+ personal: boolean;
74
80
  /**
75
81
  *
76
82
  * @type {ActorRefUio}
@@ -42,6 +42,8 @@ function instanceOfProjectUio(value) {
42
42
  return false;
43
43
  if (!('archivedAt' in value) || value['archivedAt'] === undefined)
44
44
  return false;
45
+ if (!('personal' in value) || value['personal'] === undefined)
46
+ return false;
45
47
  if (!('createdBy' in value) || value['createdBy'] === undefined)
46
48
  return false;
47
49
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -67,6 +69,7 @@ function ProjectUioFromJSONTyped(json, ignoreDiscriminator) {
67
69
  'dueDate': json['dueDate'],
68
70
  'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioFromJSON)(json['settings']),
69
71
  'archivedAt': json['archivedAt'],
72
+ 'personal': json['personal'],
70
73
  'createdBy': (0, ActorRefUio_1.ActorRefUioFromJSON)(json['createdBy']),
71
74
  'createdAt': json['createdAt'],
72
75
  'updatedAt': json['updatedAt'],
@@ -89,6 +92,7 @@ function ProjectUioToJSONTyped(value, ignoreDiscriminator = false) {
89
92
  'dueDate': value['dueDate'],
90
93
  'settings': (0, ProjectSettingsUio_1.ProjectSettingsUioToJSON)(value['settings']),
91
94
  'archivedAt': value['archivedAt'],
95
+ 'personal': value['personal'],
92
96
  'createdBy': (0, ActorRefUio_1.ActorRefUioToJSON)(value['createdBy']),
93
97
  'createdAt': value['createdAt'],
94
98
  'updatedAt': value['updatedAt'],
@@ -0,0 +1,39 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MemberRefUio } from './MemberRefUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RemovedTicketMemberUio
17
+ */
18
+ export interface RemovedTicketMemberUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RemovedTicketMemberUio
23
+ */
24
+ ticketId: string;
25
+ /**
26
+ *
27
+ * @type {MemberRefUio}
28
+ * @memberof RemovedTicketMemberUio
29
+ */
30
+ member: MemberRefUio;
31
+ }
32
+ /**
33
+ * Check if a given object implements the RemovedTicketMemberUio interface.
34
+ */
35
+ export declare function instanceOfRemovedTicketMemberUio(value: object): value is RemovedTicketMemberUio;
36
+ export declare function RemovedTicketMemberUioFromJSON(json: any): RemovedTicketMemberUio;
37
+ export declare function RemovedTicketMemberUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemovedTicketMemberUio;
38
+ export declare function RemovedTicketMemberUioToJSON(json: any): RemovedTicketMemberUio;
39
+ export declare function RemovedTicketMemberUioToJSONTyped(value?: RemovedTicketMemberUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRemovedTicketMemberUio = instanceOfRemovedTicketMemberUio;
17
+ exports.RemovedTicketMemberUioFromJSON = RemovedTicketMemberUioFromJSON;
18
+ exports.RemovedTicketMemberUioFromJSONTyped = RemovedTicketMemberUioFromJSONTyped;
19
+ exports.RemovedTicketMemberUioToJSON = RemovedTicketMemberUioToJSON;
20
+ exports.RemovedTicketMemberUioToJSONTyped = RemovedTicketMemberUioToJSONTyped;
21
+ const MemberRefUio_1 = require("./MemberRefUio");
22
+ /**
23
+ * Check if a given object implements the RemovedTicketMemberUio interface.
24
+ */
25
+ function instanceOfRemovedTicketMemberUio(value) {
26
+ if (!('ticketId' in value) || value['ticketId'] === undefined)
27
+ return false;
28
+ if (!('member' in value) || value['member'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function RemovedTicketMemberUioFromJSON(json) {
33
+ return RemovedTicketMemberUioFromJSONTyped(json, false);
34
+ }
35
+ function RemovedTicketMemberUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'ticketId': json['ticketId'],
41
+ 'member': (0, MemberRefUio_1.MemberRefUioFromJSON)(json['member']),
42
+ };
43
+ }
44
+ function RemovedTicketMemberUioToJSON(json) {
45
+ return RemovedTicketMemberUioToJSONTyped(json, false);
46
+ }
47
+ function RemovedTicketMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'ticketId': value['ticketId'],
53
+ 'member': (0, MemberRefUio_1.MemberRefUioToJSON)(value['member']),
54
+ };
55
+ }
@@ -48,7 +48,7 @@ export interface TicketEventUio {
48
48
  */
49
49
  body: string | null;
50
50
  /**
51
- * Détails selon le type : pour event, { action, from?, to?, member? } ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.
51
+ * Détails selon le type : pour event, { action, from?, to?, member? } (action moved : from et to valent { projectId, key }) ; pour report, { title } ; pour question, { humanRequest: TicketQuestion } ; pour approval, { approval: TicketApproval } ; mentions dans { mentions: MemberRef[] }.
52
52
  * @type {{ [key: string]: any; }}
53
53
  * @memberof TicketEventUio
54
54
  */
@@ -33,6 +33,12 @@ export interface UpdateUserChatPreferencesRequestUio {
33
33
  * @memberof UpdateUserChatPreferencesRequestUio
34
34
  */
35
35
  railOpen?: boolean;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof UpdateUserChatPreferencesRequestUio
40
+ */
41
+ dismissedHints?: Array<string>;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the UpdateUserChatPreferencesRequestUio interface.
@@ -35,6 +35,7 @@ function UpdateUserChatPreferencesRequestUioFromJSONTyped(json, ignoreDiscrimina
35
35
  'pinnedAgentIds': json['pinnedAgentIds'] == null ? undefined : json['pinnedAgentIds'],
36
36
  'pinnedProjectIds': json['pinnedProjectIds'] == null ? undefined : json['pinnedProjectIds'],
37
37
  'railOpen': json['railOpen'] == null ? undefined : json['railOpen'],
38
+ 'dismissedHints': json['dismissedHints'] == null ? undefined : json['dismissedHints'],
38
39
  };
39
40
  }
40
41
  function UpdateUserChatPreferencesRequestUioToJSON(json) {
@@ -48,5 +49,6 @@ function UpdateUserChatPreferencesRequestUioToJSONTyped(value, ignoreDiscriminat
48
49
  'pinnedAgentIds': value['pinnedAgentIds'],
49
50
  'pinnedProjectIds': value['pinnedProjectIds'],
50
51
  'railOpen': value['railOpen'],
52
+ 'dismissedHints': value['dismissedHints'],
51
53
  };
52
54
  }
@@ -34,6 +34,12 @@ export interface UserChatPreferencesUio {
34
34
  * @memberof UserChatPreferencesUio
35
35
  */
36
36
  railOpen: boolean;
37
+ /**
38
+ * Aides et appels à l'action refermés par l'utilisateur (personal-workspace-cta)
39
+ * @type {Array<string>}
40
+ * @memberof UserChatPreferencesUio
41
+ */
42
+ dismissedHints: Array<string>;
37
43
  /**
38
44
  * Conversation en cours avec chaque agent de l'organisation
39
45
  * @type {Array<UserAgentConversationUio>}