@breign/client 1.0.213 → 1.0.215

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 (99) hide show
  1. package/README.md +1 -5
  2. package/dist/apis/AiGatewayApi.d.ts +15 -1
  3. package/dist/apis/AiGatewayApi.js +34 -0
  4. package/dist/apis/GitApi.d.ts +166 -0
  5. package/dist/apis/GitApi.js +406 -0
  6. package/dist/apis/MeetingsApi.d.ts +136 -0
  7. package/dist/apis/MeetingsApi.js +329 -0
  8. package/dist/apis/index.d.ts +2 -0
  9. package/dist/apis/index.js +2 -0
  10. package/dist/models/AgentExecutionGroupChoiceUio.d.ts +6 -0
  11. package/dist/models/AgentExecutionGroupChoiceUio.js +2 -0
  12. package/dist/models/AgentExecutionNodeChoiceUio.d.ts +6 -0
  13. package/dist/models/AgentExecutionNodeChoiceUio.js +2 -0
  14. package/dist/models/AgentExecutionUio.d.ts +7 -0
  15. package/dist/models/AgentExecutionUio.js +3 -0
  16. package/dist/models/AgentMeetingConfigurationUio.d.ts +62 -0
  17. package/dist/models/AgentMeetingConfigurationUio.js +58 -0
  18. package/dist/models/AgentPatchUio.d.ts +14 -0
  19. package/dist/models/AgentPatchUio.js +6 -0
  20. package/dist/models/AgentSubtaskConfigurationUio.d.ts +39 -0
  21. package/dist/models/AgentSubtaskConfigurationUio.js +51 -0
  22. package/dist/models/AgentSubtaskModelUio.d.ts +38 -0
  23. package/dist/models/AgentSubtaskModelUio.js +54 -0
  24. package/dist/models/AgentUio.d.ts +14 -0
  25. package/dist/models/AgentUio.js +6 -0
  26. package/dist/models/GitBotConnectionCreateUio.d.ts +38 -0
  27. package/dist/models/GitBotConnectionCreateUio.js +52 -0
  28. package/dist/models/GitConnectionKindUio.d.ts +26 -0
  29. package/dist/models/GitConnectionKindUio.js +52 -0
  30. package/dist/models/GitConnectionUio.d.ts +115 -0
  31. package/dist/models/GitConnectionUio.js +101 -0
  32. package/dist/models/GitGithubAppConnectionCreateUio.d.ts +56 -0
  33. package/dist/models/GitGithubAppConnectionCreateUio.js +62 -0
  34. package/dist/models/GitOAuthAppCreateUio.d.ts +51 -0
  35. package/dist/models/GitOAuthAppCreateUio.js +63 -0
  36. package/dist/models/GitOAuthAppUio.d.ts +81 -0
  37. package/dist/models/GitOAuthAppUio.js +77 -0
  38. package/dist/models/GitOAuthAppUpdateUio.d.ts +38 -0
  39. package/dist/models/GitOAuthAppUpdateUio.js +50 -0
  40. package/dist/models/GitOAuthAuthorizeRequestUio.d.ts +32 -0
  41. package/dist/models/GitOAuthAuthorizeRequestUio.js +48 -0
  42. package/dist/models/GitOAuthAuthorizeResponseUio.d.ts +32 -0
  43. package/dist/models/GitOAuthAuthorizeResponseUio.js +50 -0
  44. package/dist/models/GitOAuthCompleteRequestUio.d.ts +38 -0
  45. package/dist/models/GitOAuthCompleteRequestUio.js +54 -0
  46. package/dist/models/GitOAuthCompleteResponseUio.d.ts +39 -0
  47. package/dist/models/GitOAuthCompleteResponseUio.js +55 -0
  48. package/dist/models/GitOAuthConfigUio.d.ts +32 -0
  49. package/dist/models/GitOAuthConfigUio.js +50 -0
  50. package/dist/models/GitProviderUio.d.ts +25 -0
  51. package/dist/models/GitProviderUio.js +51 -0
  52. package/dist/models/MeetingCreateRequestUio.d.ts +38 -0
  53. package/dist/models/MeetingCreateRequestUio.js +50 -0
  54. package/dist/models/MeetingHighlightKindUio.d.ts +28 -0
  55. package/dist/models/MeetingHighlightKindUio.js +54 -0
  56. package/dist/models/MeetingHighlightUio.d.ts +69 -0
  57. package/dist/models/MeetingHighlightUio.js +69 -0
  58. package/dist/models/MeetingMessageRequestUio.d.ts +32 -0
  59. package/dist/models/MeetingMessageRequestUio.js +50 -0
  60. package/dist/models/MeetingMessageResponseUio.d.ts +38 -0
  61. package/dist/models/MeetingMessageResponseUio.js +54 -0
  62. package/dist/models/MeetingNotesUio.d.ts +50 -0
  63. package/dist/models/MeetingNotesUio.js +62 -0
  64. package/dist/models/MeetingSegmentUio.d.ts +82 -0
  65. package/dist/models/MeetingSegmentUio.js +84 -0
  66. package/dist/models/MeetingSessionResponseUio.d.ts +40 -0
  67. package/dist/models/MeetingSessionResponseUio.js +56 -0
  68. package/dist/models/MeetingSettingsUio.d.ts +38 -0
  69. package/dist/models/MeetingSettingsUio.js +54 -0
  70. package/dist/models/MeetingSpeechToTextUio.d.ts +45 -0
  71. package/dist/models/MeetingSpeechToTextUio.js +59 -0
  72. package/dist/models/MeetingUio.d.ts +134 -0
  73. package/dist/models/MeetingUio.js +120 -0
  74. package/dist/models/ModelDefinitionUio.d.ts +12 -0
  75. package/dist/models/ModelDefinitionUio.js +4 -0
  76. package/dist/models/NodeAgentGitConfigAuthorUio.d.ts +38 -0
  77. package/dist/models/NodeAgentGitConfigAuthorUio.js +54 -0
  78. package/dist/models/NodeAgentGitConfigUio.d.ts +46 -0
  79. package/dist/models/NodeAgentGitConfigUio.js +56 -0
  80. package/dist/models/NodeGitRepositoryConnectionUio.d.ts +46 -0
  81. package/dist/models/NodeGitRepositoryConnectionUio.js +60 -0
  82. package/dist/models/NodeGitRepositoryUio.d.ts +79 -0
  83. package/dist/models/NodeGitRepositoryUio.js +82 -0
  84. package/dist/models/RealtimeTranscriptionModeUio.d.ts +25 -0
  85. package/dist/models/RealtimeTranscriptionModeUio.js +51 -0
  86. package/dist/models/RealtimeTranscriptionPurposeUio.d.ts +26 -0
  87. package/dist/models/RealtimeTranscriptionPurposeUio.js +52 -0
  88. package/dist/models/SetAgentExecutionRequestUio.d.ts +8 -1
  89. package/dist/models/SetAgentExecutionRequestUio.js +3 -0
  90. package/dist/models/SpeechToTextProviderModelsInnerUio.d.ts +6 -0
  91. package/dist/models/SpeechToTextProviderModelsInnerUio.js +2 -0
  92. package/dist/models/TranscriptionSessionRequestUio.d.ts +51 -0
  93. package/dist/models/TranscriptionSessionRequestUio.js +57 -0
  94. package/dist/models/TranscriptionSessionUio.d.ts +63 -0
  95. package/dist/models/TranscriptionSessionUio.js +71 -0
  96. package/dist/models/index.d.ts +35 -0
  97. package/dist/models/index.js +35 -0
  98. package/dist/openapi.json +1681 -43
  99. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @breign/client
1
+ # Breign Client SDK @breign/client
2
2
 
3
3
  TypeScript client library for interacting with the Brain API. This package provides a strongly-typed interface generated from OpenAPI specifications.
4
4
 
@@ -45,7 +45,3 @@ import { ... } from '@breign/client';
45
45
  - `src/resources/openapi/` - OpenAPI specifications
46
46
  - `dist/` - Compiled output
47
47
  - `target/` - Generated source files
48
-
49
- ## TODO
50
- - [ ] Generate API for mobile development (Swift, Kotlin)?
51
- - [ ] Decide if we should use date-time format for dates or strings?
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AiGatewayChatCompletionRequestUio, AiGatewayChatCompletionResponseUio, AiGatewayEmbeddingRequestUio, AiGatewayEmbeddingResponseUio, AiGatewayModelListUio, AiGatewayModelUio, AiGatewayRequestLogStatusUio, AiGatewayRequestLogUio, AiGatewayRequestLogsResponseUio, AiGatewaySettingsUio, AiGatewaySettingsUpdateRequestUio, AiGatewaySystemOneRequestUio, AiGatewaySystemOneResponseUio, AiGatewayUsageUio, AiGatewayV1CreditsUio, AiGatewayV1GenerationUio, AiGatewayV1ModelEndpointsUio, AiGatewayV1ModelListUio, AiGatewayV1ReportUio, OpenAiChatCompletionRequestUio, OpenAiChatCompletionResponseUio } from '../models/index';
13
+ import type { AiGatewayChatCompletionRequestUio, AiGatewayChatCompletionResponseUio, AiGatewayEmbeddingRequestUio, AiGatewayEmbeddingResponseUio, AiGatewayModelListUio, AiGatewayModelUio, AiGatewayRequestLogStatusUio, AiGatewayRequestLogUio, AiGatewayRequestLogsResponseUio, AiGatewaySettingsUio, AiGatewaySettingsUpdateRequestUio, AiGatewaySystemOneRequestUio, AiGatewaySystemOneResponseUio, AiGatewayUsageUio, AiGatewayV1CreditsUio, AiGatewayV1GenerationUio, AiGatewayV1ModelEndpointsUio, AiGatewayV1ModelListUio, AiGatewayV1ReportUio, OpenAiChatCompletionRequestUio, OpenAiChatCompletionResponseUio, TranscriptionSessionRequestUio, TranscriptionSessionUio } from '../models/index';
14
14
  export interface CreateAiGatewayChatCompletionRequest {
15
15
  organizationId: string;
16
16
  aiGatewayChatCompletionRequestUio: AiGatewayChatCompletionRequestUio;
@@ -23,6 +23,10 @@ export interface CreateAiGatewaySystemOneDecisionRequest {
23
23
  organizationId: string;
24
24
  aiGatewaySystemOneRequestUio: AiGatewaySystemOneRequestUio;
25
25
  }
26
+ export interface CreateAiGatewayTranscriptionSessionRequest {
27
+ organizationId: string;
28
+ transcriptionSessionRequestUio: TranscriptionSessionRequestUio;
29
+ }
26
30
  export interface CreateOpenAiChatCompletionRequest {
27
31
  organizationId: string;
28
32
  openAiChatCompletionRequestUio: OpenAiChatCompletionRequestUio;
@@ -134,6 +138,16 @@ export declare class AiGatewayApi extends runtime.BaseAPI {
134
138
  * Ask a decision model through the AI gateway
135
139
  */
136
140
  createAiGatewaySystemOneDecision(organizationId: string, aiGatewaySystemOneRequestUio: AiGatewaySystemOneRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiGatewaySystemOneResponseUio>;
141
+ /**
142
+ * Crée une session de transcription en flux sur un modèle speech-to-text de l\'organisation. Le client ouvre ensuite le WebSocket `wsUrl`, s\'authentifie avec le ticket (premier message `{\"type\":\"auth\",\"ticket\":\"…\"}`) puis envoie l\'audio en trames binaires PCM16 mono au format annoncé par `session.ready`. Le texte revient en `transcript.partial` et `transcript.final`. Aussi disponible sous `/ai-gateway/v1/realtime/transcription-sessions`.
143
+ * Open a realtime transcription session
144
+ */
145
+ createAiGatewayTranscriptionSessionRaw(requestParameters: CreateAiGatewayTranscriptionSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TranscriptionSessionUio>>;
146
+ /**
147
+ * Crée une session de transcription en flux sur un modèle speech-to-text de l\'organisation. Le client ouvre ensuite le WebSocket `wsUrl`, s\'authentifie avec le ticket (premier message `{\"type\":\"auth\",\"ticket\":\"…\"}`) puis envoie l\'audio en trames binaires PCM16 mono au format annoncé par `session.ready`. Le texte revient en `transcript.partial` et `transcript.final`. Aussi disponible sous `/ai-gateway/v1/realtime/transcription-sessions`.
148
+ * Open a realtime transcription session
149
+ */
150
+ createAiGatewayTranscriptionSession(organizationId: string, transcriptionSessionRequestUio: TranscriptionSessionRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TranscriptionSessionUio>;
137
151
  /**
138
152
  * OpenAI-compatible chat completion. Contrairement à `/ai-gateway/chat/completions`, la réponse OpenAI native est relayée sans transformation, `stream_options` est accepté, et la consommation de tokens est enregistrée dans les métriques de l\'organisation. Toutes les erreurs utilisent l\'enveloppe OpenAI `{ error: { message } }`.
139
153
  * Create a chat completion using the native OpenAI client
@@ -155,6 +155,40 @@ class AiGatewayApi extends runtime.BaseAPI {
155
155
  const response = await this.createAiGatewaySystemOneDecisionRaw({ organizationId: organizationId, aiGatewaySystemOneRequestUio: aiGatewaySystemOneRequestUio }, initOverrides);
156
156
  return await response.value();
157
157
  }
158
+ /**
159
+ * Crée une session de transcription en flux sur un modèle speech-to-text de l\'organisation. Le client ouvre ensuite le WebSocket `wsUrl`, s\'authentifie avec le ticket (premier message `{\"type\":\"auth\",\"ticket\":\"…\"}`) puis envoie l\'audio en trames binaires PCM16 mono au format annoncé par `session.ready`. Le texte revient en `transcript.partial` et `transcript.final`. Aussi disponible sous `/ai-gateway/v1/realtime/transcription-sessions`.
160
+ * Open a realtime transcription session
161
+ */
162
+ async createAiGatewayTranscriptionSessionRaw(requestParameters, initOverrides) {
163
+ if (requestParameters['organizationId'] == null) {
164
+ throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling createAiGatewayTranscriptionSession().');
165
+ }
166
+ if (requestParameters['transcriptionSessionRequestUio'] == null) {
167
+ throw new runtime.RequiredError('transcriptionSessionRequestUio', 'Required parameter "transcriptionSessionRequestUio" was null or undefined when calling createAiGatewayTranscriptionSession().');
168
+ }
169
+ const queryParameters = {};
170
+ const headerParameters = {};
171
+ headerParameters['Content-Type'] = 'application/json';
172
+ if (this.configuration && this.configuration.apiKey) {
173
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
174
+ }
175
+ const response = await this.request({
176
+ path: `/organizations/{organizationId}/ai-gateway/realtime/transcription-sessions`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
177
+ method: 'POST',
178
+ headers: headerParameters,
179
+ query: queryParameters,
180
+ body: (0, index_1.TranscriptionSessionRequestUioToJSON)(requestParameters['transcriptionSessionRequestUio']),
181
+ }, initOverrides);
182
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TranscriptionSessionUioFromJSON)(jsonValue));
183
+ }
184
+ /**
185
+ * Crée une session de transcription en flux sur un modèle speech-to-text de l\'organisation. Le client ouvre ensuite le WebSocket `wsUrl`, s\'authentifie avec le ticket (premier message `{\"type\":\"auth\",\"ticket\":\"…\"}`) puis envoie l\'audio en trames binaires PCM16 mono au format annoncé par `session.ready`. Le texte revient en `transcript.partial` et `transcript.final`. Aussi disponible sous `/ai-gateway/v1/realtime/transcription-sessions`.
186
+ * Open a realtime transcription session
187
+ */
188
+ async createAiGatewayTranscriptionSession(organizationId, transcriptionSessionRequestUio, initOverrides) {
189
+ const response = await this.createAiGatewayTranscriptionSessionRaw({ organizationId: organizationId, transcriptionSessionRequestUio: transcriptionSessionRequestUio }, initOverrides);
190
+ return await response.value();
191
+ }
158
192
  /**
159
193
  * OpenAI-compatible chat completion. Contrairement à `/ai-gateway/chat/completions`, la réponse OpenAI native est relayée sans transformation, `stream_options` est accepté, et la consommation de tokens est enregistrée dans les métriques de l\'organisation. Toutes les erreurs utilisent l\'enveloppe OpenAI `{ error: { message } }`.
160
194
  * Create a chat completion using the native OpenAI client
@@ -0,0 +1,166 @@
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 * as runtime from '../runtime';
13
+ import type { GitBotConnectionCreateUio, GitConnectionUio, GitGithubAppConnectionCreateUio, GitOAuthAppCreateUio, GitOAuthAppUio, GitOAuthAppUpdateUio, GitOAuthAuthorizeRequestUio, GitOAuthAuthorizeResponseUio, GitOAuthCompleteRequestUio, GitOAuthCompleteResponseUio, GitOAuthConfigUio } from '../models/index';
14
+ export interface AuthorizeGitOAuthAppRequest {
15
+ organizationId: string;
16
+ appId: string;
17
+ gitOAuthAuthorizeRequestUio?: GitOAuthAuthorizeRequestUio;
18
+ }
19
+ export interface CompleteGitOAuthRequest {
20
+ gitOAuthCompleteRequestUio: GitOAuthCompleteRequestUio;
21
+ }
22
+ export interface CreateGitBotConnectionRequest {
23
+ organizationId: string;
24
+ gitBotConnectionCreateUio: GitBotConnectionCreateUio;
25
+ }
26
+ export interface CreateGitGithubAppConnectionRequest {
27
+ organizationId: string;
28
+ gitGithubAppConnectionCreateUio: GitGithubAppConnectionCreateUio;
29
+ }
30
+ export interface CreateGitOAuthAppRequest {
31
+ organizationId: string;
32
+ gitOAuthAppCreateUio: GitOAuthAppCreateUio;
33
+ }
34
+ export interface DeleteGitConnectionRequest {
35
+ organizationId: string;
36
+ connectionId: string;
37
+ }
38
+ export interface DeleteGitOAuthAppRequest {
39
+ organizationId: string;
40
+ appId: string;
41
+ }
42
+ export interface GetGitOAuthConfigRequest {
43
+ organizationId: string;
44
+ }
45
+ export interface ListGitConnectionsRequest {
46
+ organizationId: string;
47
+ }
48
+ export interface ListGitOAuthAppsRequest {
49
+ organizationId: string;
50
+ }
51
+ export interface UpdateGitOAuthAppRequest {
52
+ organizationId: string;
53
+ appId: string;
54
+ gitOAuthAppUpdateUio: GitOAuthAppUpdateUio;
55
+ }
56
+ /**
57
+ *
58
+ */
59
+ export declare class GitApi extends runtime.BaseAPI {
60
+ /**
61
+ * Rend l\'adresse de la forge où envoyer le membre (OAuth avec PKCE). La forge le renvoie vers Breign App, qui relaie le code à `POST /git/oauth/complete`.
62
+ * Start connecting the current member\'s Git account
63
+ */
64
+ authorizeGitOAuthAppRaw(requestParameters: AuthorizeGitOAuthAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitOAuthAuthorizeResponseUio>>;
65
+ /**
66
+ * Rend l\'adresse de la forge où envoyer le membre (OAuth avec PKCE). La forge le renvoie vers Breign App, qui relaie le code à `POST /git/oauth/complete`.
67
+ * Start connecting the current member\'s Git account
68
+ */
69
+ authorizeGitOAuthApp(organizationId: string, appId: string, gitOAuthAuthorizeRequestUio?: GitOAuthAuthorizeRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitOAuthAuthorizeResponseUio>;
70
+ /**
71
+ * Relaie le retour de la forge (`code`, `state`) : la connexion du membre à cette forge est créée, ou remplacée.
72
+ * Finish connecting the current member\'s Git account
73
+ */
74
+ completeGitOAuthRaw(requestParameters: CompleteGitOAuthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitOAuthCompleteResponseUio>>;
75
+ /**
76
+ * Relaie le retour de la forge (`code`, `state`) : la connexion du membre à cette forge est créée, ou remplacée.
77
+ * Finish connecting the current member\'s Git account
78
+ */
79
+ completeGitOAuth(gitOAuthCompleteRequestUio: GitOAuthCompleteRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitOAuthCompleteResponseUio>;
80
+ /**
81
+ * Use a GitLab bot account as a Git connection of the organization
82
+ */
83
+ createGitBotConnectionRaw(requestParameters: CreateGitBotConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitConnectionUio>>;
84
+ /**
85
+ * Use a GitLab bot account as a Git connection of the organization
86
+ */
87
+ createGitBotConnection(organizationId: string, gitBotConnectionCreateUio: GitBotConnectionCreateUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitConnectionUio>;
88
+ /**
89
+ * Réservé aux admins. L\'installation est vérifiée avec la clé de l\'App ; les agents reçoivent ensuite des jetons d\'installation restreints au dépôt sur lequel ils travaillent.
90
+ * Use an installed GitHub App as a Git connection of the organization
91
+ */
92
+ createGitGithubAppConnectionRaw(requestParameters: CreateGitGithubAppConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitConnectionUio>>;
93
+ /**
94
+ * Réservé aux admins. L\'installation est vérifiée avec la clé de l\'App ; les agents reçoivent ensuite des jetons d\'installation restreints au dépôt sur lequel ils travaillent.
95
+ * Use an installed GitHub App as a Git connection of the organization
96
+ */
97
+ createGitGithubAppConnection(organizationId: string, gitGithubAppConnectionCreateUio: GitGithubAppConnectionCreateUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitConnectionUio>;
98
+ /**
99
+ * Réservé aux admins. Une application par forge et par organisation.
100
+ * Declare the OAuth application of a Git forge
101
+ */
102
+ createGitOAuthAppRaw(requestParameters: CreateGitOAuthAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitOAuthAppUio>>;
103
+ /**
104
+ * Réservé aux admins. Une application par forge et par organisation.
105
+ * Declare the OAuth application of a Git forge
106
+ */
107
+ createGitOAuthApp(organizationId: string, gitOAuthAppCreateUio: GitOAuthAppCreateUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitOAuthAppUio>;
108
+ /**
109
+ * Un membre retire la sienne ; un admin, n\'importe laquelle.
110
+ * Delete a Git connection
111
+ */
112
+ deleteGitConnectionRaw(requestParameters: DeleteGitConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
113
+ /**
114
+ * Un membre retire la sienne ; un admin, n\'importe laquelle.
115
+ * Delete a Git connection
116
+ */
117
+ deleteGitConnection(organizationId: string, connectionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
118
+ /**
119
+ * Supprime aussi les comptes que les membres y ont connectés.
120
+ * Delete the OAuth application of a Git forge
121
+ */
122
+ deleteGitOAuthAppRaw(requestParameters: DeleteGitOAuthAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
123
+ /**
124
+ * Supprime aussi les comptes que les membres y ont connectés.
125
+ * Delete the OAuth application of a Git forge
126
+ */
127
+ deleteGitOAuthApp(organizationId: string, appId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
128
+ /**
129
+ * L\'adresse de retour configurée côté serveur (`git.oauthRedirectUrl`), à déclarer dans l\'application OAuth de chaque forge.
130
+ * Get the OAuth redirect address of the Git forges
131
+ */
132
+ getGitOAuthConfigRaw(requestParameters: GetGitOAuthConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitOAuthConfigUio>>;
133
+ /**
134
+ * L\'adresse de retour configurée côté serveur (`git.oauthRedirectUrl`), à déclarer dans l\'application OAuth de chaque forge.
135
+ * Get the OAuth redirect address of the Git forges
136
+ */
137
+ getGitOAuthConfig(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitOAuthConfigUio>;
138
+ /**
139
+ * Pour un admin, toutes les connexions de l\'organisation ; pour un membre, les siennes et les connexions d\'organisation (à choisir pour un dépôt).
140
+ * List the Git connections
141
+ */
142
+ listGitConnectionsRaw(requestParameters: ListGitConnectionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GitConnectionUio>>>;
143
+ /**
144
+ * Pour un admin, toutes les connexions de l\'organisation ; pour un membre, les siennes et les connexions d\'organisation (à choisir pour un dépôt).
145
+ * List the Git connections
146
+ */
147
+ listGitConnections(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GitConnectionUio>>;
148
+ /**
149
+ * Les forges où les membres peuvent connecter leur compte Git. L\'identifiant de l\'application n\'est rendu qu\'aux admins ; le secret jamais.
150
+ * List the OAuth applications of the Git forges
151
+ */
152
+ listGitOAuthAppsRaw(requestParameters: ListGitOAuthAppsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GitOAuthAppUio>>>;
153
+ /**
154
+ * Les forges où les membres peuvent connecter leur compte Git. L\'identifiant de l\'application n\'est rendu qu\'aux admins ; le secret jamais.
155
+ * List the OAuth applications of the Git forges
156
+ */
157
+ listGitOAuthApps(organizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GitOAuthAppUio>>;
158
+ /**
159
+ * Update the OAuth application of a Git forge
160
+ */
161
+ updateGitOAuthAppRaw(requestParameters: UpdateGitOAuthAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GitOAuthAppUio>>;
162
+ /**
163
+ * Update the OAuth application of a Git forge
164
+ */
165
+ updateGitOAuthApp(organizationId: string, appId: string, gitOAuthAppUpdateUio: GitOAuthAppUpdateUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GitOAuthAppUio>;
166
+ }