@kya-os/contracts 1.6.19 → 1.7.1
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/dist/agentshield-api/schemas.d.ts +154 -154
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +26 -26
- package/dist/consent/index.d.ts +8 -2
- package/dist/consent/index.js +73 -17
- package/dist/consent/schemas.d.ts +123 -123
- package/dist/consent/schemas.js +1 -1
- package/dist/consent/types.d.ts +1 -1
- package/dist/dashboard-config/schemas.d.ts +2241 -2241
- package/dist/delegation/schemas.d.ts +34 -34
- package/dist/deploy/schemas.d.ts +110 -110
- package/dist/handshake.d.ts +4 -4
- package/dist/handshake.js +2 -2
- package/dist/proof.d.ts +12 -12
- package/dist/registry.d.ts +8 -8
- package/dist/reputation/api.d.ts +146 -146
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/reputation/schemas.d.ts +24 -24
- package/dist/test.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +18 -18
- package/dist/verifier.d.ts +8 -8
- package/dist/well-known/index.d.ts +716 -11
- package/dist/well-known/index.js +169 -1
- package/package.json +2 -1
package/dist/deploy/schemas.d.ts
CHANGED
|
@@ -31,13 +31,13 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
|
|
|
31
31
|
type: z.ZodEnum<["User", "Organization"]>;
|
|
32
32
|
id: z.ZodNumber;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
id: number;
|
|
35
34
|
type: "User" | "Organization";
|
|
35
|
+
id: number;
|
|
36
36
|
login: string;
|
|
37
37
|
avatarUrl: string;
|
|
38
38
|
}, {
|
|
39
|
-
id: number;
|
|
40
39
|
type: "User" | "Organization";
|
|
40
|
+
id: number;
|
|
41
41
|
login: string;
|
|
42
42
|
avatarUrl: string;
|
|
43
43
|
}>;
|
|
@@ -46,29 +46,29 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
|
|
|
46
46
|
createdAt: z.ZodString;
|
|
47
47
|
updatedAt: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
createdAt: string;
|
|
49
50
|
id: string;
|
|
50
51
|
installationId: number;
|
|
51
52
|
account: {
|
|
52
|
-
id: number;
|
|
53
53
|
type: "User" | "Organization";
|
|
54
|
+
id: number;
|
|
54
55
|
login: string;
|
|
55
56
|
avatarUrl: string;
|
|
56
57
|
};
|
|
57
58
|
permissions: string[];
|
|
58
|
-
createdAt: string;
|
|
59
59
|
updatedAt: string;
|
|
60
60
|
suspendedAt?: string | null | undefined;
|
|
61
61
|
}, {
|
|
62
|
+
createdAt: string;
|
|
62
63
|
id: string;
|
|
63
64
|
installationId: number;
|
|
64
65
|
account: {
|
|
65
|
-
id: number;
|
|
66
66
|
type: "User" | "Organization";
|
|
67
|
+
id: number;
|
|
67
68
|
login: string;
|
|
68
69
|
avatarUrl: string;
|
|
69
70
|
};
|
|
70
71
|
permissions: string[];
|
|
71
|
-
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
73
|
suspendedAt?: string | null | undefined;
|
|
74
74
|
}>;
|
|
@@ -83,15 +83,15 @@ export declare const gitHubRepositorySchema: z.ZodObject<{
|
|
|
83
83
|
defaultBranch: z.ZodString;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
name: string;
|
|
86
|
+
url: string;
|
|
86
87
|
fullName: string;
|
|
87
88
|
private: boolean;
|
|
88
|
-
url: string;
|
|
89
89
|
defaultBranch: string;
|
|
90
90
|
}, {
|
|
91
91
|
name: string;
|
|
92
|
+
url: string;
|
|
92
93
|
fullName: string;
|
|
93
94
|
private: boolean;
|
|
94
|
-
url: string;
|
|
95
95
|
defaultBranch: string;
|
|
96
96
|
}>;
|
|
97
97
|
/**
|
|
@@ -137,13 +137,13 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
137
137
|
type: z.ZodEnum<["User", "Organization"]>;
|
|
138
138
|
id: z.ZodNumber;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
id: number;
|
|
141
140
|
type: "User" | "Organization";
|
|
141
|
+
id: number;
|
|
142
142
|
login: string;
|
|
143
143
|
avatarUrl: string;
|
|
144
144
|
}, {
|
|
145
|
-
id: number;
|
|
146
145
|
type: "User" | "Organization";
|
|
146
|
+
id: number;
|
|
147
147
|
login: string;
|
|
148
148
|
avatarUrl: string;
|
|
149
149
|
}>;
|
|
@@ -152,61 +152,61 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
152
152
|
createdAt: z.ZodString;
|
|
153
153
|
updatedAt: z.ZodString;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
createdAt: string;
|
|
155
156
|
id: string;
|
|
156
157
|
installationId: number;
|
|
157
158
|
account: {
|
|
158
|
-
id: number;
|
|
159
159
|
type: "User" | "Organization";
|
|
160
|
+
id: number;
|
|
160
161
|
login: string;
|
|
161
162
|
avatarUrl: string;
|
|
162
163
|
};
|
|
163
164
|
permissions: string[];
|
|
164
|
-
createdAt: string;
|
|
165
165
|
updatedAt: string;
|
|
166
166
|
suspendedAt?: string | null | undefined;
|
|
167
167
|
}, {
|
|
168
|
+
createdAt: string;
|
|
168
169
|
id: string;
|
|
169
170
|
installationId: number;
|
|
170
171
|
account: {
|
|
171
|
-
id: number;
|
|
172
172
|
type: "User" | "Organization";
|
|
173
|
+
id: number;
|
|
173
174
|
login: string;
|
|
174
175
|
avatarUrl: string;
|
|
175
176
|
};
|
|
176
177
|
permissions: string[];
|
|
177
|
-
createdAt: string;
|
|
178
178
|
updatedAt: string;
|
|
179
179
|
suspendedAt?: string | null | undefined;
|
|
180
180
|
}>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
182
|
success: true;
|
|
183
183
|
installation: {
|
|
184
|
+
createdAt: string;
|
|
184
185
|
id: string;
|
|
185
186
|
installationId: number;
|
|
186
187
|
account: {
|
|
187
|
-
id: number;
|
|
188
188
|
type: "User" | "Organization";
|
|
189
|
+
id: number;
|
|
189
190
|
login: string;
|
|
190
191
|
avatarUrl: string;
|
|
191
192
|
};
|
|
192
193
|
permissions: string[];
|
|
193
|
-
createdAt: string;
|
|
194
194
|
updatedAt: string;
|
|
195
195
|
suspendedAt?: string | null | undefined;
|
|
196
196
|
};
|
|
197
197
|
}, {
|
|
198
198
|
success: true;
|
|
199
199
|
installation: {
|
|
200
|
+
createdAt: string;
|
|
200
201
|
id: string;
|
|
201
202
|
installationId: number;
|
|
202
203
|
account: {
|
|
203
|
-
id: number;
|
|
204
204
|
type: "User" | "Organization";
|
|
205
|
+
id: number;
|
|
205
206
|
login: string;
|
|
206
207
|
avatarUrl: string;
|
|
207
208
|
};
|
|
208
209
|
permissions: string[];
|
|
209
|
-
createdAt: string;
|
|
210
210
|
updatedAt: string;
|
|
211
211
|
suspendedAt?: string | null | undefined;
|
|
212
212
|
};
|
|
@@ -227,13 +227,13 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
227
227
|
type: z.ZodEnum<["User", "Organization"]>;
|
|
228
228
|
id: z.ZodNumber;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
id: number;
|
|
231
230
|
type: "User" | "Organization";
|
|
231
|
+
id: number;
|
|
232
232
|
login: string;
|
|
233
233
|
avatarUrl: string;
|
|
234
234
|
}, {
|
|
235
|
-
id: number;
|
|
236
235
|
type: "User" | "Organization";
|
|
236
|
+
id: number;
|
|
237
237
|
login: string;
|
|
238
238
|
avatarUrl: string;
|
|
239
239
|
}>;
|
|
@@ -242,29 +242,29 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
242
242
|
createdAt: z.ZodString;
|
|
243
243
|
updatedAt: z.ZodString;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
createdAt: string;
|
|
245
246
|
id: string;
|
|
246
247
|
installationId: number;
|
|
247
248
|
account: {
|
|
248
|
-
id: number;
|
|
249
249
|
type: "User" | "Organization";
|
|
250
|
+
id: number;
|
|
250
251
|
login: string;
|
|
251
252
|
avatarUrl: string;
|
|
252
253
|
};
|
|
253
254
|
permissions: string[];
|
|
254
|
-
createdAt: string;
|
|
255
255
|
updatedAt: string;
|
|
256
256
|
suspendedAt?: string | null | undefined;
|
|
257
257
|
}, {
|
|
258
|
+
createdAt: string;
|
|
258
259
|
id: string;
|
|
259
260
|
installationId: number;
|
|
260
261
|
account: {
|
|
261
|
-
id: number;
|
|
262
262
|
type: "User" | "Organization";
|
|
263
|
+
id: number;
|
|
263
264
|
login: string;
|
|
264
265
|
avatarUrl: string;
|
|
265
266
|
};
|
|
266
267
|
permissions: string[];
|
|
267
|
-
createdAt: string;
|
|
268
268
|
updatedAt: string;
|
|
269
269
|
suspendedAt?: string | null | undefined;
|
|
270
270
|
}>>;
|
|
@@ -276,116 +276,116 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
276
276
|
defaultBranch: z.ZodString;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
name: string;
|
|
279
|
+
url: string;
|
|
279
280
|
fullName: string;
|
|
280
281
|
private: boolean;
|
|
281
|
-
url: string;
|
|
282
282
|
defaultBranch: string;
|
|
283
283
|
}, {
|
|
284
284
|
name: string;
|
|
285
|
+
url: string;
|
|
285
286
|
fullName: string;
|
|
286
287
|
private: boolean;
|
|
287
|
-
url: string;
|
|
288
288
|
defaultBranch: string;
|
|
289
289
|
}>, "many">>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
291
|
connected: boolean;
|
|
292
292
|
installation?: {
|
|
293
|
+
createdAt: string;
|
|
293
294
|
id: string;
|
|
294
295
|
installationId: number;
|
|
295
296
|
account: {
|
|
296
|
-
id: number;
|
|
297
297
|
type: "User" | "Organization";
|
|
298
|
+
id: number;
|
|
298
299
|
login: string;
|
|
299
300
|
avatarUrl: string;
|
|
300
301
|
};
|
|
301
302
|
permissions: string[];
|
|
302
|
-
createdAt: string;
|
|
303
303
|
updatedAt: string;
|
|
304
304
|
suspendedAt?: string | null | undefined;
|
|
305
305
|
} | undefined;
|
|
306
306
|
repositories?: {
|
|
307
307
|
name: string;
|
|
308
|
+
url: string;
|
|
308
309
|
fullName: string;
|
|
309
310
|
private: boolean;
|
|
310
|
-
url: string;
|
|
311
311
|
defaultBranch: string;
|
|
312
312
|
}[] | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
connected: boolean;
|
|
315
315
|
installation?: {
|
|
316
|
+
createdAt: string;
|
|
316
317
|
id: string;
|
|
317
318
|
installationId: number;
|
|
318
319
|
account: {
|
|
319
|
-
id: number;
|
|
320
320
|
type: "User" | "Organization";
|
|
321
|
+
id: number;
|
|
321
322
|
login: string;
|
|
322
323
|
avatarUrl: string;
|
|
323
324
|
};
|
|
324
325
|
permissions: string[];
|
|
325
|
-
createdAt: string;
|
|
326
326
|
updatedAt: string;
|
|
327
327
|
suspendedAt?: string | null | undefined;
|
|
328
328
|
} | undefined;
|
|
329
329
|
repositories?: {
|
|
330
330
|
name: string;
|
|
331
|
+
url: string;
|
|
331
332
|
fullName: string;
|
|
332
333
|
private: boolean;
|
|
333
|
-
url: string;
|
|
334
334
|
defaultBranch: string;
|
|
335
335
|
}[] | undefined;
|
|
336
336
|
}>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
success: true;
|
|
338
339
|
data: {
|
|
339
340
|
connected: boolean;
|
|
340
341
|
installation?: {
|
|
342
|
+
createdAt: string;
|
|
341
343
|
id: string;
|
|
342
344
|
installationId: number;
|
|
343
345
|
account: {
|
|
344
|
-
id: number;
|
|
345
346
|
type: "User" | "Organization";
|
|
347
|
+
id: number;
|
|
346
348
|
login: string;
|
|
347
349
|
avatarUrl: string;
|
|
348
350
|
};
|
|
349
351
|
permissions: string[];
|
|
350
|
-
createdAt: string;
|
|
351
352
|
updatedAt: string;
|
|
352
353
|
suspendedAt?: string | null | undefined;
|
|
353
354
|
} | undefined;
|
|
354
355
|
repositories?: {
|
|
355
356
|
name: string;
|
|
357
|
+
url: string;
|
|
356
358
|
fullName: string;
|
|
357
359
|
private: boolean;
|
|
358
|
-
url: string;
|
|
359
360
|
defaultBranch: string;
|
|
360
361
|
}[] | undefined;
|
|
361
362
|
};
|
|
362
|
-
success: true;
|
|
363
363
|
}, {
|
|
364
|
+
success: true;
|
|
364
365
|
data: {
|
|
365
366
|
connected: boolean;
|
|
366
367
|
installation?: {
|
|
368
|
+
createdAt: string;
|
|
367
369
|
id: string;
|
|
368
370
|
installationId: number;
|
|
369
371
|
account: {
|
|
370
|
-
id: number;
|
|
371
372
|
type: "User" | "Organization";
|
|
373
|
+
id: number;
|
|
372
374
|
login: string;
|
|
373
375
|
avatarUrl: string;
|
|
374
376
|
};
|
|
375
377
|
permissions: string[];
|
|
376
|
-
createdAt: string;
|
|
377
378
|
updatedAt: string;
|
|
378
379
|
suspendedAt?: string | null | undefined;
|
|
379
380
|
} | undefined;
|
|
380
381
|
repositories?: {
|
|
381
382
|
name: string;
|
|
383
|
+
url: string;
|
|
382
384
|
fullName: string;
|
|
383
385
|
private: boolean;
|
|
384
|
-
url: string;
|
|
385
386
|
defaultBranch: string;
|
|
386
387
|
}[] | undefined;
|
|
387
388
|
};
|
|
388
|
-
success: true;
|
|
389
389
|
}>;
|
|
390
390
|
/**
|
|
391
391
|
* GitHub disconnect response schema
|
|
@@ -421,15 +421,15 @@ export declare const deployToGitHubRequestSchema: z.ZodObject<{
|
|
|
421
421
|
isPrivate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
422
422
|
description: z.ZodOptional<z.ZodString>;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
+
platform: "cloudflare" | "vercel";
|
|
424
425
|
repoName: string;
|
|
425
426
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
426
|
-
platform: "cloudflare" | "vercel";
|
|
427
427
|
isPrivate: boolean;
|
|
428
428
|
description?: string | undefined;
|
|
429
429
|
}, {
|
|
430
|
+
platform: "cloudflare" | "vercel";
|
|
430
431
|
repoName: string;
|
|
431
432
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
432
|
-
platform: "cloudflare" | "vercel";
|
|
433
433
|
isPrivate?: boolean | undefined;
|
|
434
434
|
description?: string | undefined;
|
|
435
435
|
}>;
|
|
@@ -442,12 +442,12 @@ export declare const deployedProjectSchema: z.ZodObject<{
|
|
|
442
442
|
apiKey: z.ZodString;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
444
|
id: string;
|
|
445
|
-
friendlyId: string;
|
|
446
445
|
apiKey: string;
|
|
446
|
+
friendlyId: string;
|
|
447
447
|
}, {
|
|
448
448
|
id: string;
|
|
449
|
-
friendlyId: string;
|
|
450
449
|
apiKey: string;
|
|
450
|
+
friendlyId: string;
|
|
451
451
|
}>;
|
|
452
452
|
/**
|
|
453
453
|
* Deploy to GitHub data schema
|
|
@@ -461,12 +461,12 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
461
461
|
apiKey: z.ZodString;
|
|
462
462
|
}, "strip", z.ZodTypeAny, {
|
|
463
463
|
id: string;
|
|
464
|
-
friendlyId: string;
|
|
465
464
|
apiKey: string;
|
|
465
|
+
friendlyId: string;
|
|
466
466
|
}, {
|
|
467
467
|
id: string;
|
|
468
|
-
friendlyId: string;
|
|
469
468
|
apiKey: string;
|
|
469
|
+
friendlyId: string;
|
|
470
470
|
}>;
|
|
471
471
|
deployUrl: z.ZodString;
|
|
472
472
|
nextSteps: z.ZodArray<z.ZodString, "many">;
|
|
@@ -475,8 +475,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
475
475
|
repoFullName: string;
|
|
476
476
|
project: {
|
|
477
477
|
id: string;
|
|
478
|
-
friendlyId: string;
|
|
479
478
|
apiKey: string;
|
|
479
|
+
friendlyId: string;
|
|
480
480
|
};
|
|
481
481
|
deployUrl: string;
|
|
482
482
|
nextSteps: string[];
|
|
@@ -485,8 +485,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
485
485
|
repoFullName: string;
|
|
486
486
|
project: {
|
|
487
487
|
id: string;
|
|
488
|
-
friendlyId: string;
|
|
489
488
|
apiKey: string;
|
|
489
|
+
friendlyId: string;
|
|
490
490
|
};
|
|
491
491
|
deployUrl: string;
|
|
492
492
|
nextSteps: string[];
|
|
@@ -505,12 +505,12 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
505
505
|
apiKey: z.ZodString;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
507
|
id: string;
|
|
508
|
-
friendlyId: string;
|
|
509
508
|
apiKey: string;
|
|
509
|
+
friendlyId: string;
|
|
510
510
|
}, {
|
|
511
511
|
id: string;
|
|
512
|
-
friendlyId: string;
|
|
513
512
|
apiKey: string;
|
|
513
|
+
friendlyId: string;
|
|
514
514
|
}>;
|
|
515
515
|
deployUrl: z.ZodString;
|
|
516
516
|
nextSteps: z.ZodArray<z.ZodString, "many">;
|
|
@@ -519,8 +519,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
519
519
|
repoFullName: string;
|
|
520
520
|
project: {
|
|
521
521
|
id: string;
|
|
522
|
-
friendlyId: string;
|
|
523
522
|
apiKey: string;
|
|
523
|
+
friendlyId: string;
|
|
524
524
|
};
|
|
525
525
|
deployUrl: string;
|
|
526
526
|
nextSteps: string[];
|
|
@@ -529,38 +529,38 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
529
529
|
repoFullName: string;
|
|
530
530
|
project: {
|
|
531
531
|
id: string;
|
|
532
|
-
friendlyId: string;
|
|
533
532
|
apiKey: string;
|
|
533
|
+
friendlyId: string;
|
|
534
534
|
};
|
|
535
535
|
deployUrl: string;
|
|
536
536
|
nextSteps: string[];
|
|
537
537
|
}>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
+
success: true;
|
|
539
540
|
data: {
|
|
540
541
|
repoUrl: string;
|
|
541
542
|
repoFullName: string;
|
|
542
543
|
project: {
|
|
543
544
|
id: string;
|
|
544
|
-
friendlyId: string;
|
|
545
545
|
apiKey: string;
|
|
546
|
+
friendlyId: string;
|
|
546
547
|
};
|
|
547
548
|
deployUrl: string;
|
|
548
549
|
nextSteps: string[];
|
|
549
550
|
};
|
|
550
|
-
success: true;
|
|
551
551
|
}, {
|
|
552
|
+
success: true;
|
|
552
553
|
data: {
|
|
553
554
|
repoUrl: string;
|
|
554
555
|
repoFullName: string;
|
|
555
556
|
project: {
|
|
556
557
|
id: string;
|
|
557
|
-
friendlyId: string;
|
|
558
558
|
apiKey: string;
|
|
559
|
+
friendlyId: string;
|
|
559
560
|
};
|
|
560
561
|
deployUrl: string;
|
|
561
562
|
nextSteps: string[];
|
|
562
563
|
};
|
|
563
|
-
success: true;
|
|
564
564
|
}>;
|
|
565
565
|
/**
|
|
566
566
|
* Deploy error response schema
|
|
@@ -609,12 +609,12 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
609
609
|
apiKey: z.ZodString;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
611
|
id: string;
|
|
612
|
-
friendlyId: string;
|
|
613
612
|
apiKey: string;
|
|
613
|
+
friendlyId: string;
|
|
614
614
|
}, {
|
|
615
615
|
id: string;
|
|
616
|
-
friendlyId: string;
|
|
617
616
|
apiKey: string;
|
|
617
|
+
friendlyId: string;
|
|
618
618
|
}>;
|
|
619
619
|
deployUrl: z.ZodString;
|
|
620
620
|
nextSteps: z.ZodArray<z.ZodString, "many">;
|
|
@@ -623,8 +623,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
623
623
|
repoFullName: string;
|
|
624
624
|
project: {
|
|
625
625
|
id: string;
|
|
626
|
-
friendlyId: string;
|
|
627
626
|
apiKey: string;
|
|
627
|
+
friendlyId: string;
|
|
628
628
|
};
|
|
629
629
|
deployUrl: string;
|
|
630
630
|
nextSteps: string[];
|
|
@@ -633,38 +633,38 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
633
633
|
repoFullName: string;
|
|
634
634
|
project: {
|
|
635
635
|
id: string;
|
|
636
|
-
friendlyId: string;
|
|
637
636
|
apiKey: string;
|
|
637
|
+
friendlyId: string;
|
|
638
638
|
};
|
|
639
639
|
deployUrl: string;
|
|
640
640
|
nextSteps: string[];
|
|
641
641
|
}>;
|
|
642
642
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
+
success: true;
|
|
643
644
|
data: {
|
|
644
645
|
repoUrl: string;
|
|
645
646
|
repoFullName: string;
|
|
646
647
|
project: {
|
|
647
648
|
id: string;
|
|
648
|
-
friendlyId: string;
|
|
649
649
|
apiKey: string;
|
|
650
|
+
friendlyId: string;
|
|
650
651
|
};
|
|
651
652
|
deployUrl: string;
|
|
652
653
|
nextSteps: string[];
|
|
653
654
|
};
|
|
654
|
-
success: true;
|
|
655
655
|
}, {
|
|
656
|
+
success: true;
|
|
656
657
|
data: {
|
|
657
658
|
repoUrl: string;
|
|
658
659
|
repoFullName: string;
|
|
659
660
|
project: {
|
|
660
661
|
id: string;
|
|
661
|
-
friendlyId: string;
|
|
662
662
|
apiKey: string;
|
|
663
|
+
friendlyId: string;
|
|
663
664
|
};
|
|
664
665
|
deployUrl: string;
|
|
665
666
|
nextSteps: string[];
|
|
666
667
|
};
|
|
667
|
-
success: true;
|
|
668
668
|
}>, z.ZodObject<{
|
|
669
669
|
success: z.ZodLiteral<false>;
|
|
670
670
|
error: z.ZodObject<{
|
|
@@ -712,29 +712,29 @@ export declare const deployedRepositorySchema: z.ZodObject<{
|
|
|
712
712
|
createdAt: z.ZodString;
|
|
713
713
|
updatedAt: z.ZodString;
|
|
714
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
userId: string;
|
|
716
|
+
createdAt: string;
|
|
717
|
+
platform: "cloudflare" | "vercel";
|
|
715
718
|
id: string;
|
|
719
|
+
projectId: string;
|
|
716
720
|
installationId: string;
|
|
717
|
-
createdAt: string;
|
|
718
721
|
updatedAt: string;
|
|
719
722
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
720
|
-
platform: "cloudflare" | "vercel";
|
|
721
723
|
repoUrl: string;
|
|
722
724
|
repoFullName: string;
|
|
723
|
-
userId: string;
|
|
724
|
-
projectId: string;
|
|
725
725
|
cloudflareDeployed: boolean;
|
|
726
726
|
cloudflareUrl?: string | null | undefined;
|
|
727
727
|
}, {
|
|
728
|
+
userId: string;
|
|
729
|
+
createdAt: string;
|
|
730
|
+
platform: "cloudflare" | "vercel";
|
|
728
731
|
id: string;
|
|
732
|
+
projectId: string;
|
|
729
733
|
installationId: string;
|
|
730
|
-
createdAt: string;
|
|
731
734
|
updatedAt: string;
|
|
732
735
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
733
|
-
platform: "cloudflare" | "vercel";
|
|
734
736
|
repoUrl: string;
|
|
735
737
|
repoFullName: string;
|
|
736
|
-
userId: string;
|
|
737
|
-
projectId: string;
|
|
738
738
|
cloudflareDeployed: boolean;
|
|
739
739
|
cloudflareUrl?: string | null | undefined;
|
|
740
740
|
}>;
|
|
@@ -757,64 +757,64 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
|
|
|
757
757
|
createdAt: z.ZodString;
|
|
758
758
|
updatedAt: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
+
userId: string;
|
|
761
|
+
createdAt: string;
|
|
762
|
+
platform: "cloudflare" | "vercel";
|
|
760
763
|
id: string;
|
|
764
|
+
projectId: string;
|
|
761
765
|
installationId: string;
|
|
762
|
-
createdAt: string;
|
|
763
766
|
updatedAt: string;
|
|
764
767
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
765
|
-
platform: "cloudflare" | "vercel";
|
|
766
768
|
repoUrl: string;
|
|
767
769
|
repoFullName: string;
|
|
768
|
-
userId: string;
|
|
769
|
-
projectId: string;
|
|
770
770
|
cloudflareDeployed: boolean;
|
|
771
771
|
cloudflareUrl?: string | null | undefined;
|
|
772
772
|
}, {
|
|
773
|
+
userId: string;
|
|
774
|
+
createdAt: string;
|
|
775
|
+
platform: "cloudflare" | "vercel";
|
|
773
776
|
id: string;
|
|
777
|
+
projectId: string;
|
|
774
778
|
installationId: string;
|
|
775
|
-
createdAt: string;
|
|
776
779
|
updatedAt: string;
|
|
777
780
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
778
|
-
platform: "cloudflare" | "vercel";
|
|
779
781
|
repoUrl: string;
|
|
780
782
|
repoFullName: string;
|
|
781
|
-
userId: string;
|
|
782
|
-
projectId: string;
|
|
783
783
|
cloudflareDeployed: boolean;
|
|
784
784
|
cloudflareUrl?: string | null | undefined;
|
|
785
785
|
}>, "many">;
|
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
success: true;
|
|
787
788
|
data: {
|
|
789
|
+
userId: string;
|
|
790
|
+
createdAt: string;
|
|
791
|
+
platform: "cloudflare" | "vercel";
|
|
788
792
|
id: string;
|
|
793
|
+
projectId: string;
|
|
789
794
|
installationId: string;
|
|
790
|
-
createdAt: string;
|
|
791
795
|
updatedAt: string;
|
|
792
796
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
793
|
-
platform: "cloudflare" | "vercel";
|
|
794
797
|
repoUrl: string;
|
|
795
798
|
repoFullName: string;
|
|
796
|
-
userId: string;
|
|
797
|
-
projectId: string;
|
|
798
799
|
cloudflareDeployed: boolean;
|
|
799
800
|
cloudflareUrl?: string | null | undefined;
|
|
800
801
|
}[];
|
|
801
|
-
success: true;
|
|
802
802
|
}, {
|
|
803
|
+
success: true;
|
|
803
804
|
data: {
|
|
805
|
+
userId: string;
|
|
806
|
+
createdAt: string;
|
|
807
|
+
platform: "cloudflare" | "vercel";
|
|
804
808
|
id: string;
|
|
809
|
+
projectId: string;
|
|
805
810
|
installationId: string;
|
|
806
|
-
createdAt: string;
|
|
807
811
|
updatedAt: string;
|
|
808
812
|
template: "blank" | "ecommerce" | "hardware-world";
|
|
809
|
-
platform: "cloudflare" | "vercel";
|
|
810
813
|
repoUrl: string;
|
|
811
814
|
repoFullName: string;
|
|
812
|
-
userId: string;
|
|
813
|
-
projectId: string;
|
|
814
815
|
cloudflareDeployed: boolean;
|
|
815
816
|
cloudflareUrl?: string | null | undefined;
|
|
816
817
|
}[];
|
|
817
|
-
success: true;
|
|
818
818
|
}>;
|
|
819
819
|
/**
|
|
820
820
|
* Generated file schema
|
|
@@ -843,16 +843,16 @@ export declare const scaffolderOptionsSchema: z.ZodObject<{
|
|
|
843
843
|
agentShieldApiKey: z.ZodOptional<z.ZodString>;
|
|
844
844
|
skipIdentity: z.ZodOptional<z.ZodBoolean>;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
template: "blank" | "ecommerce" | "hardware-world";
|
|
847
|
-
platform: "cloudflare" | "vercel";
|
|
848
846
|
projectName: string;
|
|
847
|
+
platform: "cloudflare" | "vercel";
|
|
848
|
+
template: "blank" | "ecommerce" | "hardware-world";
|
|
849
849
|
agentShieldProjectId?: string | undefined;
|
|
850
850
|
agentShieldApiKey?: string | undefined;
|
|
851
851
|
skipIdentity?: boolean | undefined;
|
|
852
852
|
}, {
|
|
853
|
-
template: "blank" | "ecommerce" | "hardware-world";
|
|
854
|
-
platform: "cloudflare" | "vercel";
|
|
855
853
|
projectName: string;
|
|
854
|
+
platform: "cloudflare" | "vercel";
|
|
855
|
+
template: "blank" | "ecommerce" | "hardware-world";
|
|
856
856
|
agentShieldProjectId?: string | undefined;
|
|
857
857
|
agentShieldApiKey?: string | undefined;
|
|
858
858
|
skipIdentity?: boolean | undefined;
|
|
@@ -896,12 +896,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
|
|
|
896
896
|
content: string;
|
|
897
897
|
isBase64?: boolean | undefined;
|
|
898
898
|
}[];
|
|
899
|
+
warnings?: string[] | undefined;
|
|
899
900
|
identity?: {
|
|
900
901
|
did: string;
|
|
901
902
|
publicKey: string;
|
|
902
903
|
privateKey: string;
|
|
903
904
|
} | undefined;
|
|
904
|
-
warnings?: string[] | undefined;
|
|
905
905
|
}, {
|
|
906
906
|
success: boolean;
|
|
907
907
|
files: {
|
|
@@ -909,12 +909,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
|
|
|
909
909
|
content: string;
|
|
910
910
|
isBase64?: boolean | undefined;
|
|
911
911
|
}[];
|
|
912
|
+
warnings?: string[] | undefined;
|
|
912
913
|
identity?: {
|
|
913
914
|
did: string;
|
|
914
915
|
publicKey: string;
|
|
915
916
|
privateKey: string;
|
|
916
917
|
} | undefined;
|
|
917
|
-
warnings?: string[] | undefined;
|
|
918
918
|
}>;
|
|
919
919
|
/**
|
|
920
920
|
* Deploy step status schema
|
|
@@ -931,16 +931,16 @@ export declare const deployStepSchema: z.ZodObject<{
|
|
|
931
931
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
932
932
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
933
933
|
}, "strip", z.ZodTypeAny, {
|
|
934
|
-
|
|
935
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
934
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
936
935
|
name: string;
|
|
936
|
+
id: string;
|
|
937
937
|
message?: string | undefined;
|
|
938
938
|
startedAt?: string | undefined;
|
|
939
939
|
completedAt?: string | undefined;
|
|
940
940
|
}, {
|
|
941
|
-
|
|
942
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
941
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
943
942
|
name: string;
|
|
943
|
+
id: string;
|
|
944
944
|
message?: string | undefined;
|
|
945
945
|
startedAt?: string | undefined;
|
|
946
946
|
completedAt?: string | undefined;
|
|
@@ -957,16 +957,16 @@ export declare const deploymentProgressSchema: z.ZodObject<{
|
|
|
957
957
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
958
958
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
960
|
-
|
|
961
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
960
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
962
961
|
name: string;
|
|
962
|
+
id: string;
|
|
963
963
|
message?: string | undefined;
|
|
964
964
|
startedAt?: string | undefined;
|
|
965
965
|
completedAt?: string | undefined;
|
|
966
966
|
}, {
|
|
967
|
-
|
|
968
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
967
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
969
968
|
name: string;
|
|
969
|
+
id: string;
|
|
970
970
|
message?: string | undefined;
|
|
971
971
|
startedAt?: string | undefined;
|
|
972
972
|
completedAt?: string | undefined;
|
|
@@ -976,26 +976,26 @@ export declare const deploymentProgressSchema: z.ZodObject<{
|
|
|
976
976
|
overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
|
|
977
977
|
}, "strip", z.ZodTypeAny, {
|
|
978
978
|
steps: {
|
|
979
|
-
|
|
980
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
979
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
981
980
|
name: string;
|
|
981
|
+
id: string;
|
|
982
982
|
message?: string | undefined;
|
|
983
983
|
startedAt?: string | undefined;
|
|
984
984
|
completedAt?: string | undefined;
|
|
985
985
|
}[];
|
|
986
986
|
currentStep: number;
|
|
987
987
|
totalSteps: number;
|
|
988
|
-
overallStatus: "pending" | "
|
|
988
|
+
overallStatus: "pending" | "failed" | "in_progress" | "completed";
|
|
989
989
|
}, {
|
|
990
990
|
steps: {
|
|
991
|
-
|
|
992
|
-
status: "pending" | "in_progress" | "completed" | "failed";
|
|
991
|
+
status: "pending" | "failed" | "in_progress" | "completed";
|
|
993
992
|
name: string;
|
|
993
|
+
id: string;
|
|
994
994
|
message?: string | undefined;
|
|
995
995
|
startedAt?: string | undefined;
|
|
996
996
|
completedAt?: string | undefined;
|
|
997
997
|
}[];
|
|
998
998
|
currentStep: number;
|
|
999
999
|
totalSteps: number;
|
|
1000
|
-
overallStatus: "pending" | "
|
|
1000
|
+
overallStatus: "pending" | "failed" | "in_progress" | "completed";
|
|
1001
1001
|
}>;
|