@detergent-software/atk 7.7.0 → 7.8.0-dev.2
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/README.md +13 -11
- package/build/commands/browse.js +3 -3
- package/build/commands/browse.js.map +1 -1
- package/build/commands/cache.d.ts +1 -1
- package/build/commands/info.d.ts.map +1 -1
- package/build/commands/info.js +7 -4
- package/build/commands/info.js.map +1 -1
- package/build/commands/list.js +1 -1
- package/build/commands/list.js.map +1 -1
- package/build/commands/publish.d.ts +1 -1
- package/build/commands/publish.d.ts.map +1 -1
- package/build/commands/publish.js +2 -1
- package/build/commands/publish.js.map +1 -1
- package/build/commands/reviewer.js +1 -1
- package/build/commands/reviewer.js.map +1 -1
- package/build/commands/search.js +1 -1
- package/build/commands/search.js.map +1 -1
- package/build/components/AssetDetail.js +1 -1
- package/build/components/AssetDetail.js.map +1 -1
- package/build/components/BundleDetail.d.ts +7 -1
- package/build/components/BundleDetail.d.ts.map +1 -1
- package/build/components/BundleDetail.js +2 -2
- package/build/components/BundleDetail.js.map +1 -1
- package/build/hooks/useBrowseState.d.ts.map +1 -1
- package/build/hooks/useBrowseState.js +8 -1
- package/build/hooks/useBrowseState.js.map +1 -1
- package/build/hooks/usePublishState.d.ts.map +1 -1
- package/build/hooks/usePublishState.js +5 -7
- package/build/hooks/usePublishState.js.map +1 -1
- package/build/lib/api/client/client.gen.d.ts +3 -0
- package/build/lib/api/client/client.gen.d.ts.map +1 -0
- package/build/lib/api/client/client.gen.js +217 -0
- package/build/lib/api/client/client.gen.js.map +1 -0
- package/build/lib/api/client/index.d.ts +11 -0
- package/build/lib/api/client/index.d.ts.map +1 -0
- package/build/lib/api/client/index.js +7 -0
- package/build/lib/api/client/index.js.map +1 -0
- package/build/lib/api/client/types.gen.d.ts +121 -0
- package/build/lib/api/client/types.gen.d.ts.map +1 -0
- package/build/lib/api/client/types.gen.js +3 -0
- package/build/lib/api/client/types.gen.js.map +1 -0
- package/build/lib/api/client/utils.gen.d.ts +38 -0
- package/build/lib/api/client/utils.gen.d.ts.map +1 -0
- package/build/lib/api/client/utils.gen.js +229 -0
- package/build/lib/api/client/utils.gen.js.map +1 -0
- package/build/lib/api/client.gen.d.ts +13 -0
- package/build/lib/api/client.gen.d.ts.map +1 -0
- package/build/lib/api/client.gen.js +4 -0
- package/build/lib/api/client.gen.js.map +1 -0
- package/build/lib/api/core/auth.gen.d.ts +26 -0
- package/build/lib/api/core/auth.gen.d.ts.map +1 -0
- package/build/lib/api/core/auth.gen.js +15 -0
- package/build/lib/api/core/auth.gen.js.map +1 -0
- package/build/lib/api/core/bodySerializer.gen.d.ts +26 -0
- package/build/lib/api/core/bodySerializer.gen.d.ts.map +1 -0
- package/build/lib/api/core/bodySerializer.gen.js +58 -0
- package/build/lib/api/core/bodySerializer.gen.js.map +1 -0
- package/build/lib/api/core/params.gen.d.ts +44 -0
- package/build/lib/api/core/params.gen.d.ts.map +1 -0
- package/build/lib/api/core/params.gen.js +110 -0
- package/build/lib/api/core/params.gen.js.map +1 -0
- package/build/lib/api/core/pathSerializer.gen.d.ts +34 -0
- package/build/lib/api/core/pathSerializer.gen.d.ts.map +1 -0
- package/build/lib/api/core/pathSerializer.gen.js +107 -0
- package/build/lib/api/core/pathSerializer.gen.js.map +1 -0
- package/build/lib/api/core/queryKeySerializer.gen.d.ts +19 -0
- package/build/lib/api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/build/lib/api/core/queryKeySerializer.gen.js +93 -0
- package/build/lib/api/core/queryKeySerializer.gen.js.map +1 -0
- package/build/lib/api/core/serverSentEvents.gen.d.ts +72 -0
- package/build/lib/api/core/serverSentEvents.gen.d.ts.map +1 -0
- package/build/lib/api/core/serverSentEvents.gen.js +133 -0
- package/build/lib/api/core/serverSentEvents.gen.js.map +1 -0
- package/build/lib/api/core/types.gen.d.ts +84 -0
- package/build/lib/api/core/types.gen.d.ts.map +1 -0
- package/build/lib/api/core/types.gen.js +3 -0
- package/build/lib/api/core/types.gen.js.map +1 -0
- package/build/lib/api/core/utils.gen.d.ts +20 -0
- package/build/lib/api/core/utils.gen.d.ts.map +1 -0
- package/build/lib/api/core/utils.gen.js +88 -0
- package/build/lib/api/core/utils.gen.js.map +1 -0
- package/build/lib/api/index.d.ts +3 -0
- package/build/lib/api/index.d.ts.map +1 -0
- package/build/lib/api/index.js +3 -0
- package/build/lib/api/index.js.map +1 -0
- package/build/lib/api/sdk.gen.d.ts +80 -0
- package/build/lib/api/sdk.gen.d.ts.map +1 -0
- package/build/lib/api/sdk.gen.js +134 -0
- package/build/lib/api/sdk.gen.js.map +1 -0
- package/build/lib/api/types.gen.d.ts +924 -0
- package/build/lib/api/types.gen.d.ts.map +1 -0
- package/build/lib/api/types.gen.js +3 -0
- package/build/lib/api/types.gen.js.map +1 -0
- package/build/lib/api-client.d.ts +91 -0
- package/build/lib/api-client.d.ts.map +1 -0
- package/build/lib/api-client.js +198 -0
- package/build/lib/api-client.js.map +1 -0
- package/build/lib/auth.d.ts +6 -2
- package/build/lib/auth.d.ts.map +1 -1
- package/build/lib/auth.js +18 -10
- package/build/lib/auth.js.map +1 -1
- package/build/lib/diagnostics.d.ts.map +1 -1
- package/build/lib/diagnostics.js +33 -22
- package/build/lib/diagnostics.js.map +1 -1
- package/build/lib/diff-command.d.ts.map +1 -1
- package/build/lib/diff-command.js +14 -12
- package/build/lib/diff-command.js.map +1 -1
- package/build/lib/fetch-retry.d.ts +7 -3
- package/build/lib/fetch-retry.d.ts.map +1 -1
- package/build/lib/fetch-retry.js +9 -5
- package/build/lib/fetch-retry.js.map +1 -1
- package/build/lib/installer.d.ts +0 -2
- package/build/lib/installer.d.ts.map +1 -1
- package/build/lib/installer.js +30 -29
- package/build/lib/installer.js.map +1 -1
- package/build/lib/manifest-diff.d.ts +1 -1
- package/build/lib/manifest-diff.d.ts.map +1 -1
- package/build/lib/manifest-diff.js +3 -3
- package/build/lib/manifest-diff.js.map +1 -1
- package/build/lib/publisher.d.ts +38 -1
- package/build/lib/publisher.d.ts.map +1 -1
- package/build/lib/publisher.js +133 -145
- package/build/lib/publisher.js.map +1 -1
- package/build/lib/registry-mutate.js +1 -1
- package/build/lib/registry-mutate.js.map +1 -1
- package/build/lib/registry-repo.d.ts +34 -0
- package/build/lib/registry-repo.d.ts.map +1 -0
- package/build/lib/registry-repo.js +35 -0
- package/build/lib/registry-repo.js.map +1 -0
- package/build/lib/registry.d.ts +45 -1
- package/build/lib/registry.d.ts.map +1 -1
- package/build/lib/registry.js +226 -53
- package/build/lib/registry.js.map +1 -1
- package/build/lib/release-notes.d.ts.map +1 -1
- package/build/lib/release-notes.js +27 -1
- package/build/lib/release-notes.js.map +1 -1
- package/build/lib/reviewers.d.ts +19 -0
- package/build/lib/reviewers.d.ts.map +1 -0
- package/build/lib/reviewers.js +46 -0
- package/build/lib/reviewers.js.map +1 -0
- package/build/lib/schemas/config.d.ts +1 -1
- package/build/lib/schemas/config.d.ts.map +1 -1
- package/build/lib/schemas/config.js +4 -1
- package/build/lib/schemas/config.js.map +1 -1
- package/build/lib/schemas/lockfile.d.ts +0 -1
- package/build/lib/schemas/lockfile.d.ts.map +1 -1
- package/build/lib/schemas/lockfile.js +0 -1
- package/build/lib/schemas/lockfile.js.map +1 -1
- package/package.json +4 -1
- package/build/lib/github.d.ts +0 -140
- package/build/lib/github.d.ts.map +0 -1
- package/build/lib/github.js +0 -230
- package/build/lib/github.js.map +0 -1
|
@@ -0,0 +1,924 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://func-atk-prod.azurewebsites.net' | 'https://func-atk-dev.azurewebsites.net' | 'http://localhost:7071' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Error envelope
|
|
6
|
+
*/
|
|
7
|
+
export type ApiError = {
|
|
8
|
+
/**
|
|
9
|
+
* Machine-readable error code
|
|
10
|
+
*/
|
|
11
|
+
error: string;
|
|
12
|
+
/**
|
|
13
|
+
* Human-readable message
|
|
14
|
+
*/
|
|
15
|
+
message: string;
|
|
16
|
+
/**
|
|
17
|
+
* Per-item problems for validation failures
|
|
18
|
+
*/
|
|
19
|
+
details?: Array<ApiErrorDetail> | null;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* One problem
|
|
23
|
+
*/
|
|
24
|
+
export type ApiErrorDetail = {
|
|
25
|
+
/**
|
|
26
|
+
* What is wrong
|
|
27
|
+
*/
|
|
28
|
+
message: string;
|
|
29
|
+
/**
|
|
30
|
+
* JSON pointer into the payload, when applicable
|
|
31
|
+
*/
|
|
32
|
+
path?: string | null;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* One file with content
|
|
36
|
+
*/
|
|
37
|
+
export type CheckoutFile = {
|
|
38
|
+
/**
|
|
39
|
+
* Path relative to the version directory
|
|
40
|
+
*/
|
|
41
|
+
path: string;
|
|
42
|
+
/**
|
|
43
|
+
* Always `base64`
|
|
44
|
+
*/
|
|
45
|
+
encoding: string;
|
|
46
|
+
/**
|
|
47
|
+
* Base64 bytes
|
|
48
|
+
*/
|
|
49
|
+
content: string;
|
|
50
|
+
/**
|
|
51
|
+
* Decoded size in bytes
|
|
52
|
+
*/
|
|
53
|
+
size: number;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* A working copy of one asset version
|
|
57
|
+
*/
|
|
58
|
+
export type CheckoutResponse = {
|
|
59
|
+
/**
|
|
60
|
+
* Asset name
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* Org scope
|
|
65
|
+
*/
|
|
66
|
+
org?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Asset type
|
|
69
|
+
*/
|
|
70
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
71
|
+
/**
|
|
72
|
+
* Resolved version
|
|
73
|
+
*/
|
|
74
|
+
version: string;
|
|
75
|
+
/**
|
|
76
|
+
* Every file including manifest.json and README.md
|
|
77
|
+
*/
|
|
78
|
+
files: Array<CheckoutFile>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* A file in a version directory
|
|
82
|
+
*/
|
|
83
|
+
export type FileEntry = {
|
|
84
|
+
/**
|
|
85
|
+
* Path relative to the version directory
|
|
86
|
+
*/
|
|
87
|
+
path: string;
|
|
88
|
+
/**
|
|
89
|
+
* Git blob sha
|
|
90
|
+
*/
|
|
91
|
+
sha: string;
|
|
92
|
+
/**
|
|
93
|
+
* Size in bytes
|
|
94
|
+
*/
|
|
95
|
+
size: number;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Directory listing
|
|
99
|
+
*/
|
|
100
|
+
export type FileListResponse = {
|
|
101
|
+
/**
|
|
102
|
+
* Asset name
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
* Org scope
|
|
107
|
+
*/
|
|
108
|
+
org?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* Asset type
|
|
111
|
+
*/
|
|
112
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
113
|
+
/**
|
|
114
|
+
* Resolved version
|
|
115
|
+
*/
|
|
116
|
+
version: string;
|
|
117
|
+
/**
|
|
118
|
+
* Files, sorted by path
|
|
119
|
+
*/
|
|
120
|
+
files: Array<FileEntry>;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Liveness
|
|
124
|
+
*/
|
|
125
|
+
export type HealthResponse = {
|
|
126
|
+
/**
|
|
127
|
+
* Always `ok`
|
|
128
|
+
*/
|
|
129
|
+
status: string;
|
|
130
|
+
/**
|
|
131
|
+
* Assembly version
|
|
132
|
+
*/
|
|
133
|
+
version: string;
|
|
134
|
+
/**
|
|
135
|
+
* `Development` or `Production`
|
|
136
|
+
*/
|
|
137
|
+
environment: string;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* OAuth code exchange
|
|
141
|
+
*/
|
|
142
|
+
export type OAuthExchangeRequest = {
|
|
143
|
+
/**
|
|
144
|
+
* Authorization code from the GitHub redirect
|
|
145
|
+
*/
|
|
146
|
+
code: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* GitHub's token response, forwarded as-is
|
|
150
|
+
*/
|
|
151
|
+
export type OAuthTokenResponse = {
|
|
152
|
+
/**
|
|
153
|
+
* The user's GitHub token
|
|
154
|
+
*/
|
|
155
|
+
access_token: string;
|
|
156
|
+
/**
|
|
157
|
+
* Granted scopes
|
|
158
|
+
*/
|
|
159
|
+
scope?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
* `bearer`
|
|
162
|
+
*/
|
|
163
|
+
token_type?: string | null;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* The authenticated caller
|
|
167
|
+
*/
|
|
168
|
+
export type Principal = {
|
|
169
|
+
/**
|
|
170
|
+
* Auth scheme that validated the token (`github`)
|
|
171
|
+
*/
|
|
172
|
+
scheme: string;
|
|
173
|
+
/**
|
|
174
|
+
* GitHub login
|
|
175
|
+
*/
|
|
176
|
+
login: string;
|
|
177
|
+
/**
|
|
178
|
+
* Display name
|
|
179
|
+
*/
|
|
180
|
+
name?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Avatar URL
|
|
183
|
+
*/
|
|
184
|
+
avatarUrl?: string | null;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* A file to commit
|
|
188
|
+
*/
|
|
189
|
+
export type PublishFile = {
|
|
190
|
+
/**
|
|
191
|
+
* Path relative to the version directory (no dotfiles, no `..`)
|
|
192
|
+
*/
|
|
193
|
+
path: string;
|
|
194
|
+
/**
|
|
195
|
+
* File content, text or base64 per `encoding`
|
|
196
|
+
*/
|
|
197
|
+
content: string;
|
|
198
|
+
/**
|
|
199
|
+
* Defaults to `utf8`
|
|
200
|
+
*/
|
|
201
|
+
encoding?: 'utf8' | 'base64';
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* What a publish would do
|
|
205
|
+
*/
|
|
206
|
+
export type PublishPlan = {
|
|
207
|
+
/**
|
|
208
|
+
* asset or bundle
|
|
209
|
+
*/
|
|
210
|
+
kind: 'asset' | 'bundle';
|
|
211
|
+
/**
|
|
212
|
+
* Name
|
|
213
|
+
*/
|
|
214
|
+
name: string;
|
|
215
|
+
/**
|
|
216
|
+
* Org scope
|
|
217
|
+
*/
|
|
218
|
+
org?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* Asset type (assets only)
|
|
221
|
+
*/
|
|
222
|
+
assetType?: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
223
|
+
/**
|
|
224
|
+
* Version being published
|
|
225
|
+
*/
|
|
226
|
+
version: string;
|
|
227
|
+
/**
|
|
228
|
+
* True when the registry already has this asset or bundle
|
|
229
|
+
*/
|
|
230
|
+
isUpdate: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* The registry's current latest when isUpdate
|
|
233
|
+
*/
|
|
234
|
+
previousVersion?: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* Branch that will be pushed
|
|
237
|
+
*/
|
|
238
|
+
branchName: string;
|
|
239
|
+
/**
|
|
240
|
+
* Directory in the registry, with trailing slash
|
|
241
|
+
*/
|
|
242
|
+
registryPath: string;
|
|
243
|
+
/**
|
|
244
|
+
* Pull request title
|
|
245
|
+
*/
|
|
246
|
+
prTitle: string;
|
|
247
|
+
/**
|
|
248
|
+
* Pull request body (markdown)
|
|
249
|
+
*/
|
|
250
|
+
prBody: string;
|
|
251
|
+
/**
|
|
252
|
+
* Files that will be committed, in order
|
|
253
|
+
*/
|
|
254
|
+
files: Array<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Reviewers that will be requested
|
|
257
|
+
*/
|
|
258
|
+
reviewers: Array<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Non-blocking advice (missing README, tags, unlisted files)
|
|
261
|
+
*/
|
|
262
|
+
warnings: Array<string>;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Publish payload
|
|
266
|
+
*/
|
|
267
|
+
export type PublishRequest = {
|
|
268
|
+
/**
|
|
269
|
+
* What is being published
|
|
270
|
+
*/
|
|
271
|
+
kind: 'asset' | 'bundle';
|
|
272
|
+
/**
|
|
273
|
+
* The exact `manifest.json` (kind=asset) or `bundle.json` (kind=bundle) to commit. Validated against the registry's JSON Schema; `files` must be a concrete array.
|
|
274
|
+
*/
|
|
275
|
+
manifest: {
|
|
276
|
+
[key: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* All other files: entrypoint, listed files, README.md. Bundles may only add README.md.
|
|
280
|
+
*/
|
|
281
|
+
files?: Array<PublishFile> | null;
|
|
282
|
+
/**
|
|
283
|
+
* Optional notes appended to the PR body
|
|
284
|
+
*/
|
|
285
|
+
message?: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* Reviewers to request. Only allowed for org-scoped targets; global targets always get the default reviewers.
|
|
288
|
+
*/
|
|
289
|
+
reviewers?: Array<string> | null;
|
|
290
|
+
/**
|
|
291
|
+
* Delete and recreate the publish branch if it already exists (the CLI's retry behaviour). Default false → 409 `branch_exists`.
|
|
292
|
+
*/
|
|
293
|
+
replaceExistingBranch?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* Which client is publishing; only affects the PR footer
|
|
296
|
+
*/
|
|
297
|
+
client?: 'cli' | 'web' | 'api';
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Result of a publish
|
|
301
|
+
*/
|
|
302
|
+
export type PublishResponse = {
|
|
303
|
+
/**
|
|
304
|
+
* Pull request URL
|
|
305
|
+
*/
|
|
306
|
+
prUrl: string;
|
|
307
|
+
/**
|
|
308
|
+
* Pull request number
|
|
309
|
+
*/
|
|
310
|
+
prNumber: number;
|
|
311
|
+
/**
|
|
312
|
+
* Branch pushed
|
|
313
|
+
*/
|
|
314
|
+
branchName: string;
|
|
315
|
+
/**
|
|
316
|
+
* Commit created
|
|
317
|
+
*/
|
|
318
|
+
commitSha: string;
|
|
319
|
+
/**
|
|
320
|
+
* Reviewers requested (the author is skipped)
|
|
321
|
+
*/
|
|
322
|
+
reviewers: Array<string>;
|
|
323
|
+
/**
|
|
324
|
+
* Set when the reviewer request failed; the PR still exists
|
|
325
|
+
*/
|
|
326
|
+
reviewerWarning?: string | null;
|
|
327
|
+
/**
|
|
328
|
+
* Non-blocking advice from validation
|
|
329
|
+
*/
|
|
330
|
+
warnings: Array<string>;
|
|
331
|
+
};
|
|
332
|
+
export type HealthData = {
|
|
333
|
+
body?: never;
|
|
334
|
+
path?: never;
|
|
335
|
+
query?: never;
|
|
336
|
+
url: '/health';
|
|
337
|
+
};
|
|
338
|
+
export type HealthResponses = {
|
|
339
|
+
/**
|
|
340
|
+
* Service is up
|
|
341
|
+
*/
|
|
342
|
+
200: HealthResponse;
|
|
343
|
+
};
|
|
344
|
+
export type HealthResponse2 = HealthResponses[keyof HealthResponses];
|
|
345
|
+
export type OpenApiData = {
|
|
346
|
+
body?: never;
|
|
347
|
+
path?: never;
|
|
348
|
+
query?: never;
|
|
349
|
+
url: '/openapi.json';
|
|
350
|
+
};
|
|
351
|
+
export type OpenApiResponses = {
|
|
352
|
+
/**
|
|
353
|
+
* OpenAPI 3.1 document
|
|
354
|
+
*/
|
|
355
|
+
200: {
|
|
356
|
+
[key: string]: unknown;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
export type OpenApiResponse = OpenApiResponses[keyof OpenApiResponses];
|
|
360
|
+
export type AuthGitHubExchangeData = {
|
|
361
|
+
body: OAuthExchangeRequest;
|
|
362
|
+
path?: never;
|
|
363
|
+
query?: never;
|
|
364
|
+
url: '/auth/github/exchange';
|
|
365
|
+
};
|
|
366
|
+
export type AuthGitHubExchangeErrors = {
|
|
367
|
+
/**
|
|
368
|
+
* Missing code, or GitHub rejected it (`error` carries GitHub's OAuth error code)
|
|
369
|
+
*/
|
|
370
|
+
400: ApiError;
|
|
371
|
+
/**
|
|
372
|
+
* OAuth app not configured
|
|
373
|
+
*/
|
|
374
|
+
500: ApiError;
|
|
375
|
+
/**
|
|
376
|
+
* GitHub unreachable or returned an unusable response
|
|
377
|
+
*/
|
|
378
|
+
502: ApiError;
|
|
379
|
+
};
|
|
380
|
+
export type AuthGitHubExchangeError = AuthGitHubExchangeErrors[keyof AuthGitHubExchangeErrors];
|
|
381
|
+
export type AuthGitHubExchangeResponses = {
|
|
382
|
+
/**
|
|
383
|
+
* GitHub token response
|
|
384
|
+
*/
|
|
385
|
+
200: OAuthTokenResponse;
|
|
386
|
+
};
|
|
387
|
+
export type AuthGitHubExchangeResponse = AuthGitHubExchangeResponses[keyof AuthGitHubExchangeResponses];
|
|
388
|
+
export type MeData = {
|
|
389
|
+
body?: never;
|
|
390
|
+
path?: never;
|
|
391
|
+
query?: never;
|
|
392
|
+
url: '/me';
|
|
393
|
+
};
|
|
394
|
+
export type MeErrors = {
|
|
395
|
+
/**
|
|
396
|
+
* Missing or invalid token
|
|
397
|
+
*/
|
|
398
|
+
401: ApiError;
|
|
399
|
+
/**
|
|
400
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
401
|
+
*/
|
|
402
|
+
403: ApiError;
|
|
403
|
+
};
|
|
404
|
+
export type MeError = MeErrors[keyof MeErrors];
|
|
405
|
+
export type MeResponses = {
|
|
406
|
+
/**
|
|
407
|
+
* Principal
|
|
408
|
+
*/
|
|
409
|
+
200: Principal;
|
|
410
|
+
};
|
|
411
|
+
export type MeResponse = MeResponses[keyof MeResponses];
|
|
412
|
+
export type GetRegistryData = {
|
|
413
|
+
body?: never;
|
|
414
|
+
path?: never;
|
|
415
|
+
query?: never;
|
|
416
|
+
url: '/registry';
|
|
417
|
+
};
|
|
418
|
+
export type GetRegistryErrors = {
|
|
419
|
+
/**
|
|
420
|
+
* Missing or invalid token
|
|
421
|
+
*/
|
|
422
|
+
401: ApiError;
|
|
423
|
+
/**
|
|
424
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
425
|
+
*/
|
|
426
|
+
403: ApiError;
|
|
427
|
+
};
|
|
428
|
+
export type GetRegistryError = GetRegistryErrors[keyof GetRegistryErrors];
|
|
429
|
+
export type GetRegistryResponses = {
|
|
430
|
+
/**
|
|
431
|
+
* registry.json
|
|
432
|
+
*/
|
|
433
|
+
200: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
export type GetRegistryResponse = GetRegistryResponses[keyof GetRegistryResponses];
|
|
438
|
+
export type GetAssetManifestData = {
|
|
439
|
+
body?: never;
|
|
440
|
+
path: {
|
|
441
|
+
/**
|
|
442
|
+
* Asset type
|
|
443
|
+
*/
|
|
444
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
445
|
+
/**
|
|
446
|
+
* Asset name (bare, no @org prefix)
|
|
447
|
+
*/
|
|
448
|
+
name: string;
|
|
449
|
+
/**
|
|
450
|
+
* Exact semver version, or `latest`
|
|
451
|
+
*/
|
|
452
|
+
version: string;
|
|
453
|
+
};
|
|
454
|
+
query?: {
|
|
455
|
+
/**
|
|
456
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
457
|
+
*/
|
|
458
|
+
org?: string;
|
|
459
|
+
};
|
|
460
|
+
url: '/assets/{type}/{name}/{version}/manifest';
|
|
461
|
+
};
|
|
462
|
+
export type GetAssetManifestErrors = {
|
|
463
|
+
/**
|
|
464
|
+
* Missing or invalid token
|
|
465
|
+
*/
|
|
466
|
+
401: ApiError;
|
|
467
|
+
/**
|
|
468
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
469
|
+
*/
|
|
470
|
+
403: ApiError;
|
|
471
|
+
/**
|
|
472
|
+
* Unknown asset, version, or file
|
|
473
|
+
*/
|
|
474
|
+
404: ApiError;
|
|
475
|
+
};
|
|
476
|
+
export type GetAssetManifestError = GetAssetManifestErrors[keyof GetAssetManifestErrors];
|
|
477
|
+
export type GetAssetManifestResponses = {
|
|
478
|
+
/**
|
|
479
|
+
* manifest.json
|
|
480
|
+
*/
|
|
481
|
+
200: {
|
|
482
|
+
[key: string]: unknown;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
export type GetAssetManifestResponse = GetAssetManifestResponses[keyof GetAssetManifestResponses];
|
|
486
|
+
export type GetAssetReadmeData = {
|
|
487
|
+
body?: never;
|
|
488
|
+
path: {
|
|
489
|
+
/**
|
|
490
|
+
* Asset type
|
|
491
|
+
*/
|
|
492
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
493
|
+
/**
|
|
494
|
+
* Asset name (bare, no @org prefix)
|
|
495
|
+
*/
|
|
496
|
+
name: string;
|
|
497
|
+
/**
|
|
498
|
+
* Exact semver version, or `latest`
|
|
499
|
+
*/
|
|
500
|
+
version: string;
|
|
501
|
+
};
|
|
502
|
+
query?: {
|
|
503
|
+
/**
|
|
504
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
505
|
+
*/
|
|
506
|
+
org?: string;
|
|
507
|
+
};
|
|
508
|
+
url: '/assets/{type}/{name}/{version}/readme';
|
|
509
|
+
};
|
|
510
|
+
export type GetAssetReadmeErrors = {
|
|
511
|
+
/**
|
|
512
|
+
* Missing or invalid token
|
|
513
|
+
*/
|
|
514
|
+
401: ApiError;
|
|
515
|
+
/**
|
|
516
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
517
|
+
*/
|
|
518
|
+
403: ApiError;
|
|
519
|
+
/**
|
|
520
|
+
* Unknown asset, version, or file
|
|
521
|
+
*/
|
|
522
|
+
404: ApiError;
|
|
523
|
+
};
|
|
524
|
+
export type GetAssetReadmeError = GetAssetReadmeErrors[keyof GetAssetReadmeErrors];
|
|
525
|
+
export type GetAssetReadmeResponses = {
|
|
526
|
+
/**
|
|
527
|
+
* Markdown
|
|
528
|
+
*/
|
|
529
|
+
200: string;
|
|
530
|
+
};
|
|
531
|
+
export type GetAssetReadmeResponse = GetAssetReadmeResponses[keyof GetAssetReadmeResponses];
|
|
532
|
+
export type ListAssetFilesData = {
|
|
533
|
+
body?: never;
|
|
534
|
+
path: {
|
|
535
|
+
/**
|
|
536
|
+
* Asset type
|
|
537
|
+
*/
|
|
538
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
539
|
+
/**
|
|
540
|
+
* Asset name (bare, no @org prefix)
|
|
541
|
+
*/
|
|
542
|
+
name: string;
|
|
543
|
+
/**
|
|
544
|
+
* Exact semver version, or `latest`
|
|
545
|
+
*/
|
|
546
|
+
version: string;
|
|
547
|
+
};
|
|
548
|
+
query?: {
|
|
549
|
+
/**
|
|
550
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
551
|
+
*/
|
|
552
|
+
org?: string;
|
|
553
|
+
};
|
|
554
|
+
url: '/assets/{type}/{name}/{version}/files';
|
|
555
|
+
};
|
|
556
|
+
export type ListAssetFilesErrors = {
|
|
557
|
+
/**
|
|
558
|
+
* Missing or invalid token
|
|
559
|
+
*/
|
|
560
|
+
401: ApiError;
|
|
561
|
+
/**
|
|
562
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
563
|
+
*/
|
|
564
|
+
403: ApiError;
|
|
565
|
+
/**
|
|
566
|
+
* Unknown asset, version, or file
|
|
567
|
+
*/
|
|
568
|
+
404: ApiError;
|
|
569
|
+
};
|
|
570
|
+
export type ListAssetFilesError = ListAssetFilesErrors[keyof ListAssetFilesErrors];
|
|
571
|
+
export type ListAssetFilesResponses = {
|
|
572
|
+
/**
|
|
573
|
+
* File list
|
|
574
|
+
*/
|
|
575
|
+
200: FileListResponse;
|
|
576
|
+
};
|
|
577
|
+
export type ListAssetFilesResponse = ListAssetFilesResponses[keyof ListAssetFilesResponses];
|
|
578
|
+
export type GetAssetFileData = {
|
|
579
|
+
body?: never;
|
|
580
|
+
path: {
|
|
581
|
+
/**
|
|
582
|
+
* Asset type
|
|
583
|
+
*/
|
|
584
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
585
|
+
/**
|
|
586
|
+
* Asset name (bare, no @org prefix)
|
|
587
|
+
*/
|
|
588
|
+
name: string;
|
|
589
|
+
/**
|
|
590
|
+
* Exact semver version, or `latest`
|
|
591
|
+
*/
|
|
592
|
+
version: string;
|
|
593
|
+
/**
|
|
594
|
+
* File path relative to the version directory, e.g. `SKILL.md` or `reference/guide.md`
|
|
595
|
+
*/
|
|
596
|
+
path: string;
|
|
597
|
+
};
|
|
598
|
+
query?: {
|
|
599
|
+
/**
|
|
600
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
601
|
+
*/
|
|
602
|
+
org?: string;
|
|
603
|
+
};
|
|
604
|
+
url: '/assets/{type}/{name}/{version}/file/{path}';
|
|
605
|
+
};
|
|
606
|
+
export type GetAssetFileErrors = {
|
|
607
|
+
/**
|
|
608
|
+
* Missing or invalid token
|
|
609
|
+
*/
|
|
610
|
+
401: ApiError;
|
|
611
|
+
/**
|
|
612
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
613
|
+
*/
|
|
614
|
+
403: ApiError;
|
|
615
|
+
/**
|
|
616
|
+
* Unknown asset, version, or file
|
|
617
|
+
*/
|
|
618
|
+
404: ApiError;
|
|
619
|
+
};
|
|
620
|
+
export type GetAssetFileError = GetAssetFileErrors[keyof GetAssetFileErrors];
|
|
621
|
+
export type GetAssetFileResponses = {
|
|
622
|
+
/**
|
|
623
|
+
* File content
|
|
624
|
+
*/
|
|
625
|
+
200: Blob | File;
|
|
626
|
+
};
|
|
627
|
+
export type GetAssetFileResponse = GetAssetFileResponses[keyof GetAssetFileResponses];
|
|
628
|
+
export type DownloadAssetData = {
|
|
629
|
+
body?: never;
|
|
630
|
+
path: {
|
|
631
|
+
/**
|
|
632
|
+
* Asset type
|
|
633
|
+
*/
|
|
634
|
+
type: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
635
|
+
/**
|
|
636
|
+
* Asset name (bare, no @org prefix)
|
|
637
|
+
*/
|
|
638
|
+
name: string;
|
|
639
|
+
/**
|
|
640
|
+
* Exact semver version, or `latest`
|
|
641
|
+
*/
|
|
642
|
+
version: string;
|
|
643
|
+
};
|
|
644
|
+
query?: {
|
|
645
|
+
/**
|
|
646
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
647
|
+
*/
|
|
648
|
+
org?: string;
|
|
649
|
+
/**
|
|
650
|
+
* Archive variant
|
|
651
|
+
*/
|
|
652
|
+
format?: 'zip' | 'skill';
|
|
653
|
+
};
|
|
654
|
+
url: '/assets/{type}/{name}/{version}/download';
|
|
655
|
+
};
|
|
656
|
+
export type DownloadAssetErrors = {
|
|
657
|
+
/**
|
|
658
|
+
* Missing or invalid token
|
|
659
|
+
*/
|
|
660
|
+
401: ApiError;
|
|
661
|
+
/**
|
|
662
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
663
|
+
*/
|
|
664
|
+
403: ApiError;
|
|
665
|
+
/**
|
|
666
|
+
* Unknown asset, version, or file
|
|
667
|
+
*/
|
|
668
|
+
404: ApiError;
|
|
669
|
+
};
|
|
670
|
+
export type DownloadAssetError = DownloadAssetErrors[keyof DownloadAssetErrors];
|
|
671
|
+
export type DownloadAssetResponses = {
|
|
672
|
+
/**
|
|
673
|
+
* Archive
|
|
674
|
+
*/
|
|
675
|
+
200: Blob | File;
|
|
676
|
+
};
|
|
677
|
+
export type DownloadAssetResponse = DownloadAssetResponses[keyof DownloadAssetResponses];
|
|
678
|
+
export type GetBundleManifestData = {
|
|
679
|
+
body?: never;
|
|
680
|
+
path: {
|
|
681
|
+
/**
|
|
682
|
+
* Bundle name (bare, no @org prefix)
|
|
683
|
+
*/
|
|
684
|
+
name: string;
|
|
685
|
+
/**
|
|
686
|
+
* Exact version, or `latest`
|
|
687
|
+
*/
|
|
688
|
+
version: string;
|
|
689
|
+
};
|
|
690
|
+
query?: {
|
|
691
|
+
/**
|
|
692
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
693
|
+
*/
|
|
694
|
+
org?: string;
|
|
695
|
+
};
|
|
696
|
+
url: '/bundles/{name}/{version}/manifest';
|
|
697
|
+
};
|
|
698
|
+
export type GetBundleManifestErrors = {
|
|
699
|
+
/**
|
|
700
|
+
* Missing or invalid token
|
|
701
|
+
*/
|
|
702
|
+
401: ApiError;
|
|
703
|
+
/**
|
|
704
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
705
|
+
*/
|
|
706
|
+
403: ApiError;
|
|
707
|
+
/**
|
|
708
|
+
* Unknown asset, version, or file
|
|
709
|
+
*/
|
|
710
|
+
404: ApiError;
|
|
711
|
+
};
|
|
712
|
+
export type GetBundleManifestError = GetBundleManifestErrors[keyof GetBundleManifestErrors];
|
|
713
|
+
export type GetBundleManifestResponses = {
|
|
714
|
+
/**
|
|
715
|
+
* bundle.json
|
|
716
|
+
*/
|
|
717
|
+
200: {
|
|
718
|
+
[key: string]: unknown;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
export type GetBundleManifestResponse = GetBundleManifestResponses[keyof GetBundleManifestResponses];
|
|
722
|
+
export type GetBundleReadmeData = {
|
|
723
|
+
body?: never;
|
|
724
|
+
path: {
|
|
725
|
+
/**
|
|
726
|
+
* Bundle name (bare, no @org prefix)
|
|
727
|
+
*/
|
|
728
|
+
name: string;
|
|
729
|
+
/**
|
|
730
|
+
* Exact version, or `latest`
|
|
731
|
+
*/
|
|
732
|
+
version: string;
|
|
733
|
+
};
|
|
734
|
+
query?: {
|
|
735
|
+
/**
|
|
736
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
737
|
+
*/
|
|
738
|
+
org?: string;
|
|
739
|
+
};
|
|
740
|
+
url: '/bundles/{name}/{version}/readme';
|
|
741
|
+
};
|
|
742
|
+
export type GetBundleReadmeErrors = {
|
|
743
|
+
/**
|
|
744
|
+
* Missing or invalid token
|
|
745
|
+
*/
|
|
746
|
+
401: ApiError;
|
|
747
|
+
/**
|
|
748
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
749
|
+
*/
|
|
750
|
+
403: ApiError;
|
|
751
|
+
/**
|
|
752
|
+
* Unknown asset, version, or file
|
|
753
|
+
*/
|
|
754
|
+
404: ApiError;
|
|
755
|
+
};
|
|
756
|
+
export type GetBundleReadmeError = GetBundleReadmeErrors[keyof GetBundleReadmeErrors];
|
|
757
|
+
export type GetBundleReadmeResponses = {
|
|
758
|
+
/**
|
|
759
|
+
* Markdown
|
|
760
|
+
*/
|
|
761
|
+
200: string;
|
|
762
|
+
};
|
|
763
|
+
export type GetBundleReadmeResponse = GetBundleReadmeResponses[keyof GetBundleReadmeResponses];
|
|
764
|
+
export type DownloadBundleData = {
|
|
765
|
+
body?: never;
|
|
766
|
+
path: {
|
|
767
|
+
/**
|
|
768
|
+
* Bundle name (bare, no @org prefix)
|
|
769
|
+
*/
|
|
770
|
+
name: string;
|
|
771
|
+
/**
|
|
772
|
+
* Exact version, or `latest`
|
|
773
|
+
*/
|
|
774
|
+
version: string;
|
|
775
|
+
};
|
|
776
|
+
query?: {
|
|
777
|
+
/**
|
|
778
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
779
|
+
*/
|
|
780
|
+
org?: string;
|
|
781
|
+
/**
|
|
782
|
+
* Archive variant
|
|
783
|
+
*/
|
|
784
|
+
format?: 'zip' | 'skill';
|
|
785
|
+
};
|
|
786
|
+
url: '/bundles/{name}/{version}/download';
|
|
787
|
+
};
|
|
788
|
+
export type DownloadBundleErrors = {
|
|
789
|
+
/**
|
|
790
|
+
* Missing or invalid token
|
|
791
|
+
*/
|
|
792
|
+
401: ApiError;
|
|
793
|
+
/**
|
|
794
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
795
|
+
*/
|
|
796
|
+
403: ApiError;
|
|
797
|
+
/**
|
|
798
|
+
* Unknown asset, version, or file
|
|
799
|
+
*/
|
|
800
|
+
404: ApiError;
|
|
801
|
+
};
|
|
802
|
+
export type DownloadBundleError = DownloadBundleErrors[keyof DownloadBundleErrors];
|
|
803
|
+
export type DownloadBundleResponses = {
|
|
804
|
+
/**
|
|
805
|
+
* Archive
|
|
806
|
+
*/
|
|
807
|
+
200: Blob | File;
|
|
808
|
+
};
|
|
809
|
+
export type DownloadBundleResponse = DownloadBundleResponses[keyof DownloadBundleResponses];
|
|
810
|
+
export type CheckoutData = {
|
|
811
|
+
body?: never;
|
|
812
|
+
path: {
|
|
813
|
+
/**
|
|
814
|
+
* Asset name (bare)
|
|
815
|
+
*/
|
|
816
|
+
name: string;
|
|
817
|
+
};
|
|
818
|
+
query?: {
|
|
819
|
+
/**
|
|
820
|
+
* Org scope (bare name, no `@`). Omit for global assets.
|
|
821
|
+
*/
|
|
822
|
+
org?: string;
|
|
823
|
+
/**
|
|
824
|
+
* Asset type; required only when the name exists as more than one type
|
|
825
|
+
*/
|
|
826
|
+
type?: 'skill' | 'agent' | 'rule' | 'hook' | 'memory-template' | 'mcp-config';
|
|
827
|
+
/**
|
|
828
|
+
* Exact version; defaults to `latest`
|
|
829
|
+
*/
|
|
830
|
+
version?: string;
|
|
831
|
+
};
|
|
832
|
+
url: '/checkout/{name}';
|
|
833
|
+
};
|
|
834
|
+
export type CheckoutErrors = {
|
|
835
|
+
/**
|
|
836
|
+
* Ambiguous name (exists as several types) or bad type
|
|
837
|
+
*/
|
|
838
|
+
400: ApiError;
|
|
839
|
+
/**
|
|
840
|
+
* Missing or invalid token
|
|
841
|
+
*/
|
|
842
|
+
401: ApiError;
|
|
843
|
+
/**
|
|
844
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
845
|
+
*/
|
|
846
|
+
403: ApiError;
|
|
847
|
+
/**
|
|
848
|
+
* Unknown asset, version, or file
|
|
849
|
+
*/
|
|
850
|
+
404: ApiError;
|
|
851
|
+
};
|
|
852
|
+
export type CheckoutError = CheckoutErrors[keyof CheckoutErrors];
|
|
853
|
+
export type CheckoutResponses = {
|
|
854
|
+
/**
|
|
855
|
+
* Working copy
|
|
856
|
+
*/
|
|
857
|
+
200: CheckoutResponse;
|
|
858
|
+
};
|
|
859
|
+
export type CheckoutResponse2 = CheckoutResponses[keyof CheckoutResponses];
|
|
860
|
+
export type PublishPlanData = {
|
|
861
|
+
body: PublishRequest;
|
|
862
|
+
path?: never;
|
|
863
|
+
query?: never;
|
|
864
|
+
url: '/publish/plan';
|
|
865
|
+
};
|
|
866
|
+
export type PublishPlanErrors = {
|
|
867
|
+
/**
|
|
868
|
+
* Payload failed schema or rule validation (`validation_failed`, `schema_invalid`, `invalid_reviewer`, `reviewers_not_allowed`)
|
|
869
|
+
*/
|
|
870
|
+
400: ApiError;
|
|
871
|
+
/**
|
|
872
|
+
* Missing or invalid token
|
|
873
|
+
*/
|
|
874
|
+
401: ApiError;
|
|
875
|
+
/**
|
|
876
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
877
|
+
*/
|
|
878
|
+
403: ApiError;
|
|
879
|
+
/**
|
|
880
|
+
* `version_not_bumped`, `version_exists`, or `branch_exists`
|
|
881
|
+
*/
|
|
882
|
+
409: ApiError;
|
|
883
|
+
};
|
|
884
|
+
export type PublishPlanError = PublishPlanErrors[keyof PublishPlanErrors];
|
|
885
|
+
export type PublishPlanResponses = {
|
|
886
|
+
/**
|
|
887
|
+
* Plan
|
|
888
|
+
*/
|
|
889
|
+
200: PublishPlan;
|
|
890
|
+
};
|
|
891
|
+
export type PublishPlanResponse = PublishPlanResponses[keyof PublishPlanResponses];
|
|
892
|
+
export type PublishData = {
|
|
893
|
+
body: PublishRequest;
|
|
894
|
+
path?: never;
|
|
895
|
+
query?: never;
|
|
896
|
+
url: '/publish';
|
|
897
|
+
};
|
|
898
|
+
export type PublishErrors = {
|
|
899
|
+
/**
|
|
900
|
+
* Payload failed schema or rule validation (`validation_failed`, `schema_invalid`, `invalid_reviewer`, `reviewers_not_allowed`)
|
|
901
|
+
*/
|
|
902
|
+
400: ApiError;
|
|
903
|
+
/**
|
|
904
|
+
* Missing or invalid token
|
|
905
|
+
*/
|
|
906
|
+
401: ApiError;
|
|
907
|
+
/**
|
|
908
|
+
* Not an active EmergentSoftware member, or membership unverifiable (`not_org_member`, `org_membership_unverifiable`)
|
|
909
|
+
*/
|
|
910
|
+
403: ApiError;
|
|
911
|
+
/**
|
|
912
|
+
* `version_not_bumped`, `version_exists`, or `branch_exists`
|
|
913
|
+
*/
|
|
914
|
+
409: ApiError;
|
|
915
|
+
};
|
|
916
|
+
export type PublishError = PublishErrors[keyof PublishErrors];
|
|
917
|
+
export type PublishResponses = {
|
|
918
|
+
/**
|
|
919
|
+
* Pull request opened
|
|
920
|
+
*/
|
|
921
|
+
201: PublishResponse;
|
|
922
|
+
};
|
|
923
|
+
export type PublishResponse2 = PublishResponses[keyof PublishResponses];
|
|
924
|
+
//# sourceMappingURL=types.gen.d.ts.map
|