@sylphx/sdk 0.27.0 → 0.30.0
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/LICENSE +21 -0
- package/README.md +30 -73
- package/dist/access.d.ts +659 -0
- package/dist/access.js +638 -0
- package/dist/access.js.map +1 -0
- package/dist/ai.d.ts +176 -0
- package/dist/ai.js +112 -0
- package/dist/ai.js.map +1 -0
- package/dist/artifacts.d.ts +165 -0
- package/dist/artifacts.js +129 -0
- package/dist/artifacts.js.map +1 -0
- package/dist/auth.d.ts +896 -0
- package/dist/auth.js +828 -0
- package/dist/auth.js.map +1 -0
- package/dist/billing.d.ts +758 -0
- package/dist/billing.js +553 -0
- package/dist/billing.js.map +1 -0
- package/dist/broker.d.ts +226 -0
- package/dist/broker.js +187 -0
- package/dist/broker.js.map +1 -0
- package/dist/build.d.ts +313 -0
- package/dist/build.js +271 -0
- package/dist/build.js.map +1 -0
- package/dist/common.d.ts +162 -0
- package/dist/common.js +41 -0
- package/dist/common.js.map +1 -0
- package/dist/config.d.ts +198 -0
- package/dist/config.js +168 -0
- package/dist/config.js.map +1 -0
- package/dist/connections.d.ts +354 -0
- package/dist/connections.js +313 -0
- package/dist/connections.js.map +1 -0
- package/dist/data.d.ts +858 -0
- package/dist/data.js +814 -0
- package/dist/data.js.map +1 -0
- package/dist/entitlement.d.ts +172 -0
- package/dist/entitlement.js +116 -0
- package/dist/entitlement.js.map +1 -0
- package/dist/events.d.ts +1324 -0
- package/dist/events.js +1227 -0
- package/dist/events.js.map +1 -0
- package/dist/hosting.d.ts +709 -0
- package/dist/hosting.js +611 -0
- package/dist/hosting.js.map +1 -0
- package/dist/index.d.ts +79 -11493
- package/dist/index.js +113 -0
- package/dist/index.js.map +1 -0
- package/dist/keys.d.ts +438 -0
- package/dist/keys.js +406 -0
- package/dist/keys.js.map +1 -0
- package/dist/methods.d.ts +2 -0
- package/dist/methods.js +3995 -0
- package/dist/methods.js.map +1 -0
- package/dist/network.d.ts +733 -0
- package/dist/network.js +711 -0
- package/dist/network.js.map +1 -0
- package/dist/notify.d.ts +1359 -0
- package/dist/notify.js +1282 -0
- package/dist/notify.js.map +1 -0
- package/dist/observability.d.ts +509 -0
- package/dist/observability.js +437 -0
- package/dist/observability.js.map +1 -0
- package/dist/release.d.ts +303 -0
- package/dist/release.js +214 -0
- package/dist/release.js.map +1 -0
- package/dist/runners.d.ts +262 -0
- package/dist/runners.js +238 -0
- package/dist/runners.js.map +1 -0
- package/dist/runtime.d.ts +88 -0
- package/dist/runtime.js +226 -0
- package/dist/runtime.js.map +1 -0
- package/dist/sandboxes.d.ts +1705 -0
- package/dist/sandboxes.js +1226 -0
- package/dist/sandboxes.js.map +1 -0
- package/dist/secrets.d.ts +508 -0
- package/dist/secrets.js +474 -0
- package/dist/secrets.js.map +1 -0
- package/dist/workflows.d.ts +678 -0
- package/dist/workflows.js +595 -0
- package/dist/workflows.js.map +1 -0
- package/package.json +33 -106
- package/dist/health/index.d.ts +0 -1394
- package/dist/health/index.mjs +0 -1394
- package/dist/health/index.mjs.map +0 -1
- package/dist/index.mjs +0 -10386
- package/dist/index.mjs.map +0 -1
- package/dist/nextjs/index.d.ts +0 -724
- package/dist/nextjs/index.mjs +0 -3329
- package/dist/nextjs/index.mjs.map +0 -1
- package/dist/react/index.d.ts +0 -14168
- package/dist/react/index.mjs +0 -37002
- package/dist/react/index.mjs.map +0 -1
- package/dist/server/index.d.ts +0 -2017
- package/dist/server/index.mjs +0 -3446
- package/dist/server/index.mjs.map +0 -1
- package/dist/tasks.d.ts +0 -1463
- package/dist/tasks.mjs +0 -1907
- package/dist/tasks.mjs.map +0 -1
- package/dist/web-analytics.d.ts +0 -90
- package/dist/web-analytics.mjs +0 -225
- package/dist/web-analytics.mjs.map +0 -1
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import * as runtime from './runtime.js';
|
|
2
|
+
import './common.js';
|
|
3
|
+
import type * as common from './common.js';
|
|
4
|
+
/**
|
|
5
|
+
* A Connection is one installation of a ConnectionProvider on a
|
|
6
|
+
* third-party account, for example the *Sylphx* App installed on a GitHub
|
|
7
|
+
* organization. The Connections controller confirms it with the provider
|
|
8
|
+
* through the Broker before it is Ready.
|
|
9
|
+
*/
|
|
10
|
+
export interface Connection {
|
|
11
|
+
/** `orgs/{org}/connections/{connection}`. */
|
|
12
|
+
name?: string;
|
|
13
|
+
/** `cnx_<cell><ulid>`. */
|
|
14
|
+
readonly uid?: string;
|
|
15
|
+
/** Resource metadata. */
|
|
16
|
+
meta?: common.ResourceMeta;
|
|
17
|
+
/** Desired state. */
|
|
18
|
+
spec?: ConnectionSpec;
|
|
19
|
+
/** Observed state. */
|
|
20
|
+
readonly status?: ConnectionStatus;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A ConnectionProvider is a third-party integration an org operates, for
|
|
24
|
+
* example the *Sylphx* GitHub App owned by `sylphx-platform`. Its signing key
|
|
25
|
+
* is a Kernel Key only the Broker uses; its webhook secret is a Kernel
|
|
26
|
+
* Secret.
|
|
27
|
+
*/
|
|
28
|
+
export interface ConnectionProvider {
|
|
29
|
+
/** `orgs/{org}/connection_providers/{connection_provider}`. */
|
|
30
|
+
name?: string;
|
|
31
|
+
/** `cnp_<cell><ulid>`. */
|
|
32
|
+
readonly uid?: string;
|
|
33
|
+
/** Resource metadata. */
|
|
34
|
+
meta?: common.ResourceMeta;
|
|
35
|
+
/** Desired state. */
|
|
36
|
+
spec?: ConnectionProviderSpec;
|
|
37
|
+
/** Observed state. */
|
|
38
|
+
readonly status?: ConnectionProviderStatus;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* ConnectionProviderSpec is the caller-writable state of a
|
|
42
|
+
* ConnectionProvider.
|
|
43
|
+
*/
|
|
44
|
+
export interface ConnectionProviderSpec {
|
|
45
|
+
/** A GitHub App. */
|
|
46
|
+
githubApp?: GitHubAppConfig;
|
|
47
|
+
}
|
|
48
|
+
/** ConnectionProviderStatus is the observed state of a ConnectionProvider. */
|
|
49
|
+
export interface ConnectionProviderStatus {
|
|
50
|
+
/** The generation this status was computed from. */
|
|
51
|
+
readonly observedGeneration?: string;
|
|
52
|
+
/** Ready, Reconciling, Stalled. */
|
|
53
|
+
readonly conditions?: common.Condition[];
|
|
54
|
+
/** The provider's plugin kind, for example `github_app`. */
|
|
55
|
+
readonly kind?: string;
|
|
56
|
+
/** How many active Connections the provider has. */
|
|
57
|
+
readonly connectionCount?: number;
|
|
58
|
+
}
|
|
59
|
+
/** ConnectionSpec is the caller-writable state of a Connection. */
|
|
60
|
+
export interface ConnectionSpec {
|
|
61
|
+
/** The provider this is an installation of. */
|
|
62
|
+
provider?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The provider's id of the installation, for example a GitHub App
|
|
65
|
+
* installation id.
|
|
66
|
+
*/
|
|
67
|
+
externalId?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* ConnectionStatus is the observed state of a Connection, as last read back
|
|
71
|
+
* from the provider.
|
|
72
|
+
*/
|
|
73
|
+
export interface ConnectionStatus {
|
|
74
|
+
/** The generation this status was computed from. */
|
|
75
|
+
readonly observedGeneration?: string;
|
|
76
|
+
/** Ready, Reconciling, Stalled. */
|
|
77
|
+
readonly conditions?: common.Condition[];
|
|
78
|
+
/** The installation's lifecycle state. */
|
|
79
|
+
readonly state?: ConnectionState;
|
|
80
|
+
/** The third-party account the provider is installed on. */
|
|
81
|
+
readonly account?: ExternalAccount;
|
|
82
|
+
/** Whether the installation covers every repository or a selection. */
|
|
83
|
+
readonly repositorySelection?: RepositorySelection;
|
|
84
|
+
/**
|
|
85
|
+
* The permissions the account granted, for example
|
|
86
|
+
* `{"contents": "read"}`.
|
|
87
|
+
*/
|
|
88
|
+
readonly permissions?: Record<string, string>;
|
|
89
|
+
/** The webhook events the installation delivers. */
|
|
90
|
+
readonly events?: string[];
|
|
91
|
+
/** When the provider says the installation was created. */
|
|
92
|
+
readonly installTime?: string;
|
|
93
|
+
/** When the provider suspended the installation. */
|
|
94
|
+
readonly suspendTime?: string;
|
|
95
|
+
/** When the status was last read back from the provider. */
|
|
96
|
+
readonly verifyTime?: string;
|
|
97
|
+
}
|
|
98
|
+
/** The request of CreateConnectionProvider. */
|
|
99
|
+
export interface CreateConnectionProviderRequest {
|
|
100
|
+
/** The org to create in. */
|
|
101
|
+
parent: string;
|
|
102
|
+
/** The connection provider to create; only spec and caller-writable metadata are read. */
|
|
103
|
+
connectionProvider: ConnectionProvider;
|
|
104
|
+
/**
|
|
105
|
+
* The id of the new connection provider, `^[a-z]([a-z0-9_-]{0,61}[a-z0-9])?$`; the server assigns one when
|
|
106
|
+
* empty.
|
|
107
|
+
*/
|
|
108
|
+
connectionProviderId?: string;
|
|
109
|
+
/** Validate and return the result without writing anything. */
|
|
110
|
+
validateOnly?: boolean;
|
|
111
|
+
}
|
|
112
|
+
/** The request of CreateConnection. */
|
|
113
|
+
export interface CreateConnectionRequest {
|
|
114
|
+
/** The org to create in. */
|
|
115
|
+
parent: string;
|
|
116
|
+
/** The connection to create; only spec and caller-writable metadata are read. */
|
|
117
|
+
connection: Connection;
|
|
118
|
+
/**
|
|
119
|
+
* The id of the new connection, `^[a-z]([a-z0-9_-]{0,61}[a-z0-9])?$`; the server assigns one when
|
|
120
|
+
* empty.
|
|
121
|
+
*/
|
|
122
|
+
connectionId?: string;
|
|
123
|
+
/** Validate and return the result without writing anything. */
|
|
124
|
+
validateOnly?: boolean;
|
|
125
|
+
}
|
|
126
|
+
/** The request of DeleteConnectionProvider. */
|
|
127
|
+
export interface DeleteConnectionProviderRequest {
|
|
128
|
+
/** The name of the connection provider to delete. */
|
|
129
|
+
name: string;
|
|
130
|
+
/** Delete only if the current etag matches. */
|
|
131
|
+
etag?: string;
|
|
132
|
+
/** Validate without deleting anything. */
|
|
133
|
+
validateOnly?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Also delete every child Resource; without it a parent with children
|
|
136
|
+
* fails with FAILED_PRECONDITION.
|
|
137
|
+
*/
|
|
138
|
+
force?: boolean;
|
|
139
|
+
}
|
|
140
|
+
/** The request of DeleteConnection. */
|
|
141
|
+
export interface DeleteConnectionRequest {
|
|
142
|
+
/** The name of the connection to delete. */
|
|
143
|
+
name: string;
|
|
144
|
+
/** Delete only if the current etag matches. */
|
|
145
|
+
etag?: string;
|
|
146
|
+
/** Validate without deleting anything. */
|
|
147
|
+
validateOnly?: boolean;
|
|
148
|
+
}
|
|
149
|
+
/** ExternalAccount is the third-party account an installation lives on. */
|
|
150
|
+
export interface ExternalAccount {
|
|
151
|
+
/** The provider's id of the account. */
|
|
152
|
+
readonly externalId?: string;
|
|
153
|
+
/** The account's login, for example `SylphxAI`. */
|
|
154
|
+
readonly login?: string;
|
|
155
|
+
/** Whether the account is a person or an organization. */
|
|
156
|
+
readonly kind?: ExternalAccountKind;
|
|
157
|
+
}
|
|
158
|
+
/** The request of GetConnectionProvider. */
|
|
159
|
+
export interface GetConnectionProviderRequest {
|
|
160
|
+
/** The name of the connection provider to get. */
|
|
161
|
+
name: string;
|
|
162
|
+
}
|
|
163
|
+
/** The request of GetConnection. */
|
|
164
|
+
export interface GetConnectionRequest {
|
|
165
|
+
/** The name of the connection to get. */
|
|
166
|
+
name: string;
|
|
167
|
+
}
|
|
168
|
+
/** GitHubAppConfig configures the GitHub App provider plugin. */
|
|
169
|
+
export interface GitHubAppConfig {
|
|
170
|
+
/** The App's numeric id. */
|
|
171
|
+
appId?: string;
|
|
172
|
+
/** The App's slug, for example `sylphx`. */
|
|
173
|
+
slug?: string;
|
|
174
|
+
/** The App's OAuth client id. */
|
|
175
|
+
clientId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* The imported, non-exportable SIGN Key (RS256) that signs App
|
|
178
|
+
* assertions; only the Broker may use it.
|
|
179
|
+
*/
|
|
180
|
+
signingKey?: string;
|
|
181
|
+
/** The Secret holding the webhook secret that verifies deliveries. */
|
|
182
|
+
webhookSecret?: string;
|
|
183
|
+
}
|
|
184
|
+
/** The request of ListConnectionProviders. */
|
|
185
|
+
export interface ListConnectionProvidersRequest {
|
|
186
|
+
/** The org to list in. */
|
|
187
|
+
parent: string;
|
|
188
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
189
|
+
pageSize?: number;
|
|
190
|
+
/** `next_page_token` of the previous page. */
|
|
191
|
+
pageToken?: string;
|
|
192
|
+
/** AIP-160 filter over labels and filterable fields. */
|
|
193
|
+
filter?: string;
|
|
194
|
+
/** AIP-132 ordering over filterable fields. */
|
|
195
|
+
orderBy?: string;
|
|
196
|
+
}
|
|
197
|
+
/** The response of ListConnectionProviders. */
|
|
198
|
+
export interface ListConnectionProvidersResponse {
|
|
199
|
+
/** The page. */
|
|
200
|
+
connectionProviders?: ConnectionProvider[];
|
|
201
|
+
/** The token of the next page; empty on the last page. */
|
|
202
|
+
nextPageToken?: string;
|
|
203
|
+
}
|
|
204
|
+
/** The request of ListConnections. */
|
|
205
|
+
export interface ListConnectionsRequest {
|
|
206
|
+
/** The org to list in. */
|
|
207
|
+
parent: string;
|
|
208
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
209
|
+
pageSize?: number;
|
|
210
|
+
/** `next_page_token` of the previous page. */
|
|
211
|
+
pageToken?: string;
|
|
212
|
+
/** AIP-160 filter over labels and filterable fields. */
|
|
213
|
+
filter?: string;
|
|
214
|
+
/** AIP-132 ordering over filterable fields. */
|
|
215
|
+
orderBy?: string;
|
|
216
|
+
}
|
|
217
|
+
/** The response of ListConnections. */
|
|
218
|
+
export interface ListConnectionsResponse {
|
|
219
|
+
/** The page. */
|
|
220
|
+
connections?: Connection[];
|
|
221
|
+
/** The token of the next page; empty on the last page. */
|
|
222
|
+
nextPageToken?: string;
|
|
223
|
+
}
|
|
224
|
+
/** The request of UpdateConnectionProvider. */
|
|
225
|
+
export interface UpdateConnectionProviderRequest {
|
|
226
|
+
/** The connection provider to update; `name` identifies it. */
|
|
227
|
+
connectionProvider: ConnectionProvider;
|
|
228
|
+
/** The fields to write; unset writes every populated field. */
|
|
229
|
+
updateMask?: string;
|
|
230
|
+
/** Validate and return the result without writing anything. */
|
|
231
|
+
validateOnly?: boolean;
|
|
232
|
+
}
|
|
233
|
+
/** The request of UpdateConnection. */
|
|
234
|
+
export interface UpdateConnectionRequest {
|
|
235
|
+
/** The connection to update; `name` identifies it. */
|
|
236
|
+
connection: Connection;
|
|
237
|
+
/** The fields to write; unset writes every populated field. */
|
|
238
|
+
updateMask?: string;
|
|
239
|
+
/** Validate and return the result without writing anything. */
|
|
240
|
+
validateOnly?: boolean;
|
|
241
|
+
}
|
|
242
|
+
/** ConnectionState is the lifecycle state of a Connection. */
|
|
243
|
+
export type ConnectionState = 'pending' | 'active' | 'suspended' | 'removed' | (string & {});
|
|
244
|
+
/** ExternalAccountKind is the kind of a third-party account. */
|
|
245
|
+
export type ExternalAccountKind = 'user' | 'organization' | (string & {});
|
|
246
|
+
/** RepositorySelection is which repositories an installation covers. */
|
|
247
|
+
export type RepositorySelection = 'all' | 'selected' | (string & {});
|
|
248
|
+
/**
|
|
249
|
+
* ConnectionsService is Kernel Connections (owner credentials.md): Connection
|
|
250
|
+
* Providers and their installations as Resources.
|
|
251
|
+
*
|
|
252
|
+
* Namespace of Sylphx Connections on `Sylphx`.
|
|
253
|
+
*/
|
|
254
|
+
export declare class ConnectionsApi {
|
|
255
|
+
/** The `connection_providers` collection. */
|
|
256
|
+
readonly connectionProviders: ConnectionProvidersCollection;
|
|
257
|
+
/** The `connections` collection. */
|
|
258
|
+
readonly connections: ConnectionsCollection;
|
|
259
|
+
constructor(client: runtime.Client);
|
|
260
|
+
}
|
|
261
|
+
/** `connection_providers` of Sylphx Connections: Resource type `connections.sylphx.com/ConnectionProvider`. */
|
|
262
|
+
export declare class ConnectionProvidersCollection {
|
|
263
|
+
private readonly client;
|
|
264
|
+
constructor(client: runtime.Client);
|
|
265
|
+
/**
|
|
266
|
+
* Gets a connection provider.
|
|
267
|
+
*
|
|
268
|
+
* `GET /v1/{name=orgs/*\/connection_providers/*}` · permission `connections:read` · effect `read`
|
|
269
|
+
*
|
|
270
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
271
|
+
*/
|
|
272
|
+
get(request: GetConnectionProviderRequest): Promise<ConnectionProvider>;
|
|
273
|
+
/**
|
|
274
|
+
* Lists an org's connection providers.
|
|
275
|
+
*
|
|
276
|
+
* `GET /v1/{parent=orgs/*}/connection_providers` · permission `connections:read` · effect `read`
|
|
277
|
+
*
|
|
278
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
279
|
+
*/
|
|
280
|
+
list(request: ListConnectionProvidersRequest): Promise<ListConnectionProvidersResponse>;
|
|
281
|
+
/** Every item of every page of `list`. */
|
|
282
|
+
listAll(request: ListConnectionProvidersRequest): AsyncGenerator<ConnectionProvider>;
|
|
283
|
+
/**
|
|
284
|
+
* Creates a connection provider.
|
|
285
|
+
*
|
|
286
|
+
* `POST /v1/{parent=orgs/*}/connection_providers` · permission `connections:admin` · effect `write`
|
|
287
|
+
*
|
|
288
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
|
|
289
|
+
*/
|
|
290
|
+
create(request: CreateConnectionProviderRequest): Promise<ConnectionProvider>;
|
|
291
|
+
/**
|
|
292
|
+
* Updates a connection provider.
|
|
293
|
+
*
|
|
294
|
+
* `PATCH /v1/{connection_provider.name=orgs/*\/connection_providers/*}` · permission `connections:admin` · effect `write`
|
|
295
|
+
*
|
|
296
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
297
|
+
*/
|
|
298
|
+
update(request: UpdateConnectionProviderRequest): Promise<ConnectionProvider>;
|
|
299
|
+
/**
|
|
300
|
+
* Deletes a connection provider; it must have no connections.
|
|
301
|
+
*
|
|
302
|
+
* `DELETE /v1/{name=orgs/*\/connection_providers/*}` · permission `connections:admin` · effect `destructive`
|
|
303
|
+
*
|
|
304
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
305
|
+
*/
|
|
306
|
+
delete(request: DeleteConnectionProviderRequest): Promise<Record<string, never>>;
|
|
307
|
+
}
|
|
308
|
+
/** `connections` of Sylphx Connections: Resource type `connections.sylphx.com/Connection`. */
|
|
309
|
+
export declare class ConnectionsCollection {
|
|
310
|
+
private readonly client;
|
|
311
|
+
constructor(client: runtime.Client);
|
|
312
|
+
/**
|
|
313
|
+
* Gets a connection.
|
|
314
|
+
*
|
|
315
|
+
* `GET /v1/{name=orgs/*\/connections/*}` · permission `connections:read` · effect `read`
|
|
316
|
+
*
|
|
317
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
318
|
+
*/
|
|
319
|
+
get(request: GetConnectionRequest): Promise<Connection>;
|
|
320
|
+
/**
|
|
321
|
+
* Lists an org's connections.
|
|
322
|
+
*
|
|
323
|
+
* `GET /v1/{parent=orgs/*}/connections` · permission `connections:read` · effect `read`
|
|
324
|
+
*
|
|
325
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
326
|
+
*/
|
|
327
|
+
list(request: ListConnectionsRequest): Promise<ListConnectionsResponse>;
|
|
328
|
+
/** Every item of every page of `list`. */
|
|
329
|
+
listAll(request: ListConnectionsRequest): AsyncGenerator<Connection>;
|
|
330
|
+
/**
|
|
331
|
+
* Records an installation; the controller confirms it with the provider.
|
|
332
|
+
*
|
|
333
|
+
* `POST /v1/{parent=orgs/*}/connections` · permission `connections:write` · effect `write`
|
|
334
|
+
*
|
|
335
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
|
|
336
|
+
*/
|
|
337
|
+
create(request: CreateConnectionRequest): Promise<runtime.Operation<Connection>>;
|
|
338
|
+
/**
|
|
339
|
+
* Updates a connection's metadata.
|
|
340
|
+
*
|
|
341
|
+
* `PATCH /v1/{connection.name=orgs/*\/connections/*}` · permission `connections:write` · effect `write`
|
|
342
|
+
*
|
|
343
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
344
|
+
*/
|
|
345
|
+
update(request: UpdateConnectionRequest): Promise<runtime.Operation<Connection>>;
|
|
346
|
+
/**
|
|
347
|
+
* Forgets a connection. The installation itself is removed at the provider.
|
|
348
|
+
*
|
|
349
|
+
* `DELETE /v1/{name=orgs/*\/connections/*}` · permission `connections:write` · effect `destructive`
|
|
350
|
+
*
|
|
351
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
352
|
+
*/
|
|
353
|
+
delete(request: DeleteConnectionRequest): Promise<runtime.Operation<Record<string, never>>>;
|
|
354
|
+
}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
// @generated by sylphx-gen 0.1.0 from contracts@cdf6473b36ca648759a7f4b1fc21554541d52a947477e6e9d1d7a6a9a79bdaa0. Do not edit.
|
|
2
|
+
// `sylphx.connections.v1`.
|
|
3
|
+
import * as runtime from './runtime.js';
|
|
4
|
+
import './common.js';
|
|
5
|
+
runtime.registerSchemas({
|
|
6
|
+
'sylphx.connections.v1.Connection': [
|
|
7
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
8
|
+
['spec', 'spec', 'sylphx.connections.v1.ConnectionSpec'],
|
|
9
|
+
['status', 'status', 'sylphx.connections.v1.ConnectionStatus'],
|
|
10
|
+
],
|
|
11
|
+
'sylphx.connections.v1.ConnectionProvider': [
|
|
12
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
13
|
+
['spec', 'spec', 'sylphx.connections.v1.ConnectionProviderSpec'],
|
|
14
|
+
['status', 'status', 'sylphx.connections.v1.ConnectionProviderStatus'],
|
|
15
|
+
],
|
|
16
|
+
'sylphx.connections.v1.ConnectionProviderSpec': [
|
|
17
|
+
['githubApp', 'github_app', 'sylphx.connections.v1.GitHubAppConfig'],
|
|
18
|
+
],
|
|
19
|
+
'sylphx.connections.v1.ConnectionProviderStatus': [
|
|
20
|
+
['observedGeneration', 'observed_generation'],
|
|
21
|
+
['conditions', 'conditions', 'sylphx.common.v1.Condition'],
|
|
22
|
+
['connectionCount', 'connection_count'],
|
|
23
|
+
],
|
|
24
|
+
'sylphx.connections.v1.ConnectionSpec': [
|
|
25
|
+
['externalId', 'external_id'],
|
|
26
|
+
],
|
|
27
|
+
'sylphx.connections.v1.ConnectionStatus': [
|
|
28
|
+
['observedGeneration', 'observed_generation'],
|
|
29
|
+
['conditions', 'conditions', 'sylphx.common.v1.Condition'],
|
|
30
|
+
['account', 'account', 'sylphx.connections.v1.ExternalAccount'],
|
|
31
|
+
['repositorySelection', 'repository_selection'],
|
|
32
|
+
['permissions', 'permissions', undefined, 'map'],
|
|
33
|
+
['installTime', 'install_time'],
|
|
34
|
+
['suspendTime', 'suspend_time'],
|
|
35
|
+
['verifyTime', 'verify_time'],
|
|
36
|
+
],
|
|
37
|
+
'sylphx.connections.v1.CreateConnectionProviderRequest': [
|
|
38
|
+
['connectionProvider', 'connection_provider', 'sylphx.connections.v1.ConnectionProvider'],
|
|
39
|
+
['connectionProviderId', 'connection_provider_id'],
|
|
40
|
+
['validateOnly', 'validate_only'],
|
|
41
|
+
],
|
|
42
|
+
'sylphx.connections.v1.CreateConnectionRequest': [
|
|
43
|
+
['connection', 'connection', 'sylphx.connections.v1.Connection'],
|
|
44
|
+
['connectionId', 'connection_id'],
|
|
45
|
+
['validateOnly', 'validate_only'],
|
|
46
|
+
],
|
|
47
|
+
'sylphx.connections.v1.DeleteConnectionProviderRequest': [
|
|
48
|
+
['validateOnly', 'validate_only'],
|
|
49
|
+
],
|
|
50
|
+
'sylphx.connections.v1.DeleteConnectionRequest': [
|
|
51
|
+
['validateOnly', 'validate_only'],
|
|
52
|
+
],
|
|
53
|
+
'sylphx.connections.v1.ExternalAccount': [
|
|
54
|
+
['externalId', 'external_id'],
|
|
55
|
+
],
|
|
56
|
+
'sylphx.connections.v1.GetConnectionProviderRequest': [],
|
|
57
|
+
'sylphx.connections.v1.GetConnectionRequest': [],
|
|
58
|
+
'sylphx.connections.v1.GitHubAppConfig': [
|
|
59
|
+
['appId', 'app_id'],
|
|
60
|
+
['clientId', 'client_id'],
|
|
61
|
+
['signingKey', 'signing_key'],
|
|
62
|
+
['webhookSecret', 'webhook_secret'],
|
|
63
|
+
],
|
|
64
|
+
'sylphx.connections.v1.ListConnectionProvidersRequest': [
|
|
65
|
+
['pageSize', 'page_size'],
|
|
66
|
+
['pageToken', 'page_token'],
|
|
67
|
+
['orderBy', 'order_by'],
|
|
68
|
+
],
|
|
69
|
+
'sylphx.connections.v1.ListConnectionProvidersResponse': [
|
|
70
|
+
['connectionProviders', 'connection_providers', 'sylphx.connections.v1.ConnectionProvider'],
|
|
71
|
+
['nextPageToken', 'next_page_token'],
|
|
72
|
+
],
|
|
73
|
+
'sylphx.connections.v1.ListConnectionsRequest': [
|
|
74
|
+
['pageSize', 'page_size'],
|
|
75
|
+
['pageToken', 'page_token'],
|
|
76
|
+
['orderBy', 'order_by'],
|
|
77
|
+
],
|
|
78
|
+
'sylphx.connections.v1.ListConnectionsResponse': [
|
|
79
|
+
['connections', 'connections', 'sylphx.connections.v1.Connection'],
|
|
80
|
+
['nextPageToken', 'next_page_token'],
|
|
81
|
+
],
|
|
82
|
+
'sylphx.connections.v1.UpdateConnectionProviderRequest': [
|
|
83
|
+
['connectionProvider', 'connection_provider', 'sylphx.connections.v1.ConnectionProvider'],
|
|
84
|
+
['updateMask', 'update_mask'],
|
|
85
|
+
['validateOnly', 'validate_only'],
|
|
86
|
+
],
|
|
87
|
+
'sylphx.connections.v1.UpdateConnectionRequest': [
|
|
88
|
+
['connection', 'connection', 'sylphx.connections.v1.Connection'],
|
|
89
|
+
['updateMask', 'update_mask'],
|
|
90
|
+
['validateOnly', 'validate_only'],
|
|
91
|
+
],
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* ConnectionsService is Kernel Connections (owner credentials.md): Connection
|
|
95
|
+
* Providers and their installations as Resources.
|
|
96
|
+
*
|
|
97
|
+
* Namespace of Sylphx Connections on `Sylphx`.
|
|
98
|
+
*/
|
|
99
|
+
export class ConnectionsApi {
|
|
100
|
+
/** The `connection_providers` collection. */
|
|
101
|
+
connectionProviders;
|
|
102
|
+
/** The `connections` collection. */
|
|
103
|
+
connections;
|
|
104
|
+
constructor(client) {
|
|
105
|
+
this.connectionProviders = new ConnectionProvidersCollection(client);
|
|
106
|
+
this.connections = new ConnectionsCollection(client);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/** `connection_providers` of Sylphx Connections: Resource type `connections.sylphx.com/ConnectionProvider`. */
|
|
110
|
+
export class ConnectionProvidersCollection {
|
|
111
|
+
client;
|
|
112
|
+
constructor(client) {
|
|
113
|
+
this.client = client;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Gets a connection provider.
|
|
117
|
+
*
|
|
118
|
+
* `GET /v1/{name=orgs/*\/connection_providers/*}` · permission `connections:read` · effect `read`
|
|
119
|
+
*
|
|
120
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
121
|
+
*/
|
|
122
|
+
async get(request) {
|
|
123
|
+
return this.client.call({
|
|
124
|
+
method: 'GET',
|
|
125
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/connection_providers/*', 'name')}`,
|
|
126
|
+
responseType: 'sylphx.connections.v1.ConnectionProvider',
|
|
127
|
+
mutation: false,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Lists an org's connection providers.
|
|
132
|
+
*
|
|
133
|
+
* `GET /v1/{parent=orgs/*}/connection_providers` · permission `connections:read` · effect `read`
|
|
134
|
+
*
|
|
135
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
136
|
+
*/
|
|
137
|
+
async list(request) {
|
|
138
|
+
return this.client.call({
|
|
139
|
+
method: 'GET',
|
|
140
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*', 'parent')}/connection_providers`,
|
|
141
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
142
|
+
responseType: 'sylphx.connections.v1.ListConnectionProvidersResponse',
|
|
143
|
+
mutation: false,
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/** Every item of every page of `list`. */
|
|
147
|
+
async *listAll(request) {
|
|
148
|
+
let next = request;
|
|
149
|
+
for (;;) {
|
|
150
|
+
const page = await this.list(next);
|
|
151
|
+
yield* page.connectionProviders ?? [];
|
|
152
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
153
|
+
return;
|
|
154
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Creates a connection provider.
|
|
159
|
+
*
|
|
160
|
+
* `POST /v1/{parent=orgs/*}/connection_providers` · permission `connections:admin` · effect `write`
|
|
161
|
+
*
|
|
162
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
|
|
163
|
+
*/
|
|
164
|
+
async create(request) {
|
|
165
|
+
return this.client.call({
|
|
166
|
+
method: 'POST',
|
|
167
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*', 'parent')}/connection_providers`,
|
|
168
|
+
query: { connection_provider_id: request.connectionProviderId, validate_only: request.validateOnly },
|
|
169
|
+
body: request.connectionProvider ?? {},
|
|
170
|
+
bodyType: 'sylphx.connections.v1.ConnectionProvider',
|
|
171
|
+
responseType: 'sylphx.connections.v1.ConnectionProvider',
|
|
172
|
+
mutation: true,
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Updates a connection provider.
|
|
177
|
+
*
|
|
178
|
+
* `PATCH /v1/{connection_provider.name=orgs/*\/connection_providers/*}` · permission `connections:admin` · effect `write`
|
|
179
|
+
*
|
|
180
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
181
|
+
*/
|
|
182
|
+
async update(request) {
|
|
183
|
+
return this.client.call({
|
|
184
|
+
method: 'PATCH',
|
|
185
|
+
path: `/v1/${runtime.pathParam(request.connectionProvider?.name, 'orgs/*/connection_providers/*', 'connection_provider.name')}`,
|
|
186
|
+
query: { update_mask: request.updateMask, validate_only: request.validateOnly },
|
|
187
|
+
body: request.connectionProvider ?? {},
|
|
188
|
+
bodyType: 'sylphx.connections.v1.ConnectionProvider',
|
|
189
|
+
responseType: 'sylphx.connections.v1.ConnectionProvider',
|
|
190
|
+
mutation: true,
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Deletes a connection provider; it must have no connections.
|
|
195
|
+
*
|
|
196
|
+
* `DELETE /v1/{name=orgs/*\/connection_providers/*}` · permission `connections:admin` · effect `destructive`
|
|
197
|
+
*
|
|
198
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
199
|
+
*/
|
|
200
|
+
async delete(request) {
|
|
201
|
+
return this.client.call({
|
|
202
|
+
method: 'DELETE',
|
|
203
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/connection_providers/*', 'name')}`,
|
|
204
|
+
query: { etag: request.etag, validate_only: request.validateOnly, force: request.force },
|
|
205
|
+
mutation: true,
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/** `connections` of Sylphx Connections: Resource type `connections.sylphx.com/Connection`. */
|
|
210
|
+
export class ConnectionsCollection {
|
|
211
|
+
client;
|
|
212
|
+
constructor(client) {
|
|
213
|
+
this.client = client;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Gets a connection.
|
|
217
|
+
*
|
|
218
|
+
* `GET /v1/{name=orgs/*\/connections/*}` · permission `connections:read` · effect `read`
|
|
219
|
+
*
|
|
220
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
221
|
+
*/
|
|
222
|
+
async get(request) {
|
|
223
|
+
return this.client.call({
|
|
224
|
+
method: 'GET',
|
|
225
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/connections/*', 'name')}`,
|
|
226
|
+
responseType: 'sylphx.connections.v1.Connection',
|
|
227
|
+
mutation: false,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Lists an org's connections.
|
|
232
|
+
*
|
|
233
|
+
* `GET /v1/{parent=orgs/*}/connections` · permission `connections:read` · effect `read`
|
|
234
|
+
*
|
|
235
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
236
|
+
*/
|
|
237
|
+
async list(request) {
|
|
238
|
+
return this.client.call({
|
|
239
|
+
method: 'GET',
|
|
240
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*', 'parent')}/connections`,
|
|
241
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
242
|
+
responseType: 'sylphx.connections.v1.ListConnectionsResponse',
|
|
243
|
+
mutation: false,
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
/** Every item of every page of `list`. */
|
|
247
|
+
async *listAll(request) {
|
|
248
|
+
let next = request;
|
|
249
|
+
for (;;) {
|
|
250
|
+
const page = await this.list(next);
|
|
251
|
+
yield* page.connections ?? [];
|
|
252
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
253
|
+
return;
|
|
254
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Records an installation; the controller confirms it with the provider.
|
|
259
|
+
*
|
|
260
|
+
* `POST /v1/{parent=orgs/*}/connections` · permission `connections:write` · effect `write`
|
|
261
|
+
*
|
|
262
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`.
|
|
263
|
+
*/
|
|
264
|
+
async create(request) {
|
|
265
|
+
const operation = await this.client.call({
|
|
266
|
+
method: 'POST',
|
|
267
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*', 'parent')}/connections`,
|
|
268
|
+
query: { connection_id: request.connectionId, validate_only: request.validateOnly },
|
|
269
|
+
body: request.connection ?? {},
|
|
270
|
+
bodyType: 'sylphx.connections.v1.Connection',
|
|
271
|
+
responseType: 'sylphx.common.v1.Operation',
|
|
272
|
+
mutation: true,
|
|
273
|
+
});
|
|
274
|
+
return new runtime.Operation(this.client, operation, 'sylphx.connections.v1.Connection');
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Updates a connection's metadata.
|
|
278
|
+
*
|
|
279
|
+
* `PATCH /v1/{connection.name=orgs/*\/connections/*}` · permission `connections:write` · effect `write`
|
|
280
|
+
*
|
|
281
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
282
|
+
*/
|
|
283
|
+
async update(request) {
|
|
284
|
+
const operation = await this.client.call({
|
|
285
|
+
method: 'PATCH',
|
|
286
|
+
path: `/v1/${runtime.pathParam(request.connection?.name, 'orgs/*/connections/*', 'connection.name')}`,
|
|
287
|
+
query: { update_mask: request.updateMask, validate_only: request.validateOnly },
|
|
288
|
+
body: request.connection ?? {},
|
|
289
|
+
bodyType: 'sylphx.connections.v1.Connection',
|
|
290
|
+
responseType: 'sylphx.common.v1.Operation',
|
|
291
|
+
mutation: true,
|
|
292
|
+
});
|
|
293
|
+
return new runtime.Operation(this.client, operation, 'sylphx.connections.v1.Connection');
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Forgets a connection. The installation itself is removed at the provider.
|
|
297
|
+
*
|
|
298
|
+
* `DELETE /v1/{name=orgs/*\/connections/*}` · permission `connections:write` · effect `destructive`
|
|
299
|
+
*
|
|
300
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
301
|
+
*/
|
|
302
|
+
async delete(request) {
|
|
303
|
+
const operation = await this.client.call({
|
|
304
|
+
method: 'DELETE',
|
|
305
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/connections/*', 'name')}`,
|
|
306
|
+
query: { etag: request.etag, validate_only: request.validateOnly },
|
|
307
|
+
responseType: 'sylphx.common.v1.Operation',
|
|
308
|
+
mutation: true,
|
|
309
|
+
});
|
|
310
|
+
return new runtime.Operation(this.client, operation, undefined);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
//# sourceMappingURL=connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../src/connections.ts"],"names":[],"mappings":"AAAA,+HAA+H;AAC/H,2BAA2B;AAE3B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,aAAa,CAAA;AA8QpB,OAAO,CAAC,eAAe,CAAC;IACvB,kCAAkC,EAAE;QACnC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC;QACjD,CAAC,MAAM,EAAE,MAAM,EAAE,sCAAsC,CAAC;QACxD,CAAC,QAAQ,EAAE,QAAQ,EAAE,wCAAwC,CAAC;KAC9D;IACD,0CAA0C,EAAE;QAC3C,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC;QACjD,CAAC,MAAM,EAAE,MAAM,EAAE,8CAA8C,CAAC;QAChE,CAAC,QAAQ,EAAE,QAAQ,EAAE,gDAAgD,CAAC;KACtE;IACD,8CAA8C,EAAE;QAC/C,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