@octonodes/sdk 0.2.26 → 0.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/PLUGINS.md +7 -1
  2. package/README.md +12 -2
  3. package/dist/constants.d.ts +1 -1
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js +1 -1
  6. package/dist/constants.js.map +1 -1
  7. package/dist/data-tables/table.d.ts.map +1 -1
  8. package/dist/gen/index.d.ts +2 -2
  9. package/dist/gen/index.d.ts.map +1 -1
  10. package/dist/gen/index.js +3 -3
  11. package/dist/gen/index.js.map +1 -1
  12. package/dist/gen/sdk.gen.d.ts +19 -11
  13. package/dist/gen/sdk.gen.d.ts.map +1 -1
  14. package/dist/gen/sdk.gen.js +51 -21
  15. package/dist/gen/sdk.gen.js.map +1 -1
  16. package/dist/gen/types.gen.d.ts +344 -97
  17. package/dist/gen/types.gen.d.ts.map +1 -1
  18. package/dist/octonode-client.d.ts.map +1 -1
  19. package/dist/plugins/schema/app/contributions.d.ts +2 -2
  20. package/dist/plugins/schema/app-contributions.d.ts +2 -2
  21. package/dist/plugins/schema/app.d.ts +69 -69
  22. package/dist/plugins/schema/app.d.ts.map +1 -1
  23. package/dist/plugins/schema/app.js +4 -3
  24. package/dist/plugins/schema/app.js.map +1 -1
  25. package/dist/plugins/schema/constants.d.ts +30 -2
  26. package/dist/plugins/schema/constants.d.ts.map +1 -1
  27. package/dist/plugins/schema/constants.js +74 -1
  28. package/dist/plugins/schema/constants.js.map +1 -1
  29. package/dist/plugins/schema/ipc/envelope.d.ts +25 -25
  30. package/dist/plugins/schema/ipc-envelope.d.ts +25 -25
  31. package/dist/plugins/schema/plugin/execution.d.ts +112 -112
  32. package/dist/plugins/schema/plugin/plugin.d.ts +97 -97
  33. package/dist/plugins/schema/plugin/publishing.d.ts +129 -70
  34. package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
  35. package/dist/plugins/schema/plugin/publishing.js +18 -1
  36. package/dist/plugins/schema/plugin/publishing.js.map +1 -1
  37. package/dist/plugins/schema/plugin-publishing.d.ts +70 -70
  38. package/dist/plugins/schema/plugin.d.ts +32 -32
  39. package/dist/plugins/sdk/constants.d.ts +3 -0
  40. package/dist/plugins/sdk/constants.d.ts.map +1 -1
  41. package/dist/plugins/sdk/constants.js +4 -1
  42. package/dist/plugins/sdk/constants.js.map +1 -1
  43. package/dist/plugins/sdk/definitions/npm/types.d.ts +5 -2
  44. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
  45. package/dist/plugins/sdk/json/schema.d.ts +2 -2
  46. package/dist/plugins/sdk/json/schema.js +15 -4
  47. package/dist/plugins/sdk/json/schema.js.map +1 -1
  48. package/dist/plugins/sdk/plugins/index.d.ts +1 -0
  49. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
  50. package/dist/plugins/sdk/plugins/index.js +4 -1
  51. package/dist/plugins/sdk/plugins/index.js.map +1 -1
  52. package/package.json +6 -3
@@ -12,18 +12,18 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
12
12
  workflow: z.ZodDefault<z.ZodString>;
13
13
  }, "strict", z.ZodTypeAny, {
14
14
  workflow: string;
15
+ id: string;
15
16
  version: string;
16
17
  scope: "user" | "team" | "public" | "organization";
17
- id: string;
18
18
  apiVersion: "octonode.plugin/v1";
19
19
  icon?: string | undefined;
20
20
  contributors?: string[] | undefined;
21
21
  teamId?: string | undefined;
22
22
  orgId?: string | undefined;
23
23
  }, {
24
+ id: string;
24
25
  version: string;
25
26
  scope: "user" | "team" | "public" | "organization";
26
- id: string;
27
27
  apiVersion: "octonode.plugin/v1";
28
28
  workflow?: string | undefined;
29
29
  icon?: string | undefined;
@@ -32,18 +32,18 @@ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
32
32
  orgId?: string | undefined;
33
33
  }>, {
34
34
  workflow: string;
35
+ id: string;
35
36
  version: string;
36
37
  scope: "user" | "team" | "public" | "organization";
37
- id: string;
38
38
  apiVersion: "octonode.plugin/v1";
39
39
  icon?: string | undefined;
40
40
  contributors?: string[] | undefined;
41
41
  teamId?: string | undefined;
42
42
  orgId?: string | undefined;
43
43
  }, {
44
+ id: string;
44
45
  version: string;
45
46
  scope: "user" | "team" | "public" | "organization";
46
- id: string;
47
47
  apiVersion: "octonode.plugin/v1";
48
48
  workflow?: string | undefined;
49
49
  icon?: string | undefined;
@@ -111,18 +111,18 @@ export declare const PluginPublisherPreview: z.ZodObject<{
111
111
  workflow: z.ZodDefault<z.ZodString>;
112
112
  }, "strict", z.ZodTypeAny, {
113
113
  workflow: string;
114
+ id: string;
114
115
  version: string;
115
116
  scope: "user" | "team" | "public" | "organization";
116
- id: string;
117
117
  apiVersion: "octonode.plugin/v1";
118
118
  icon?: string | undefined;
119
119
  contributors?: string[] | undefined;
120
120
  teamId?: string | undefined;
121
121
  orgId?: string | undefined;
122
122
  }, {
123
+ id: string;
123
124
  version: string;
124
125
  scope: "user" | "team" | "public" | "organization";
125
- id: string;
126
126
  apiVersion: "octonode.plugin/v1";
127
127
  workflow?: string | undefined;
128
128
  icon?: string | undefined;
@@ -131,18 +131,18 @@ export declare const PluginPublisherPreview: z.ZodObject<{
131
131
  orgId?: string | undefined;
132
132
  }>, {
133
133
  workflow: string;
134
+ id: string;
134
135
  version: string;
135
136
  scope: "user" | "team" | "public" | "organization";
136
- id: string;
137
137
  apiVersion: "octonode.plugin/v1";
138
138
  icon?: string | undefined;
139
139
  contributors?: string[] | undefined;
140
140
  teamId?: string | undefined;
141
141
  orgId?: string | undefined;
142
142
  }, {
143
+ id: string;
143
144
  version: string;
144
145
  scope: "user" | "team" | "public" | "organization";
145
- id: string;
146
146
  apiVersion: "octonode.plugin/v1";
147
147
  workflow?: string | undefined;
148
148
  icon?: string | undefined;
@@ -157,9 +157,9 @@ export declare const PluginPublisherPreview: z.ZodObject<{
157
157
  repository: string;
158
158
  config: {
159
159
  workflow: string;
160
+ id: string;
160
161
  version: string;
161
162
  scope: "user" | "team" | "public" | "organization";
162
- id: string;
163
163
  apiVersion: "octonode.plugin/v1";
164
164
  icon?: string | undefined;
165
165
  contributors?: string[] | undefined;
@@ -171,9 +171,9 @@ export declare const PluginPublisherPreview: z.ZodObject<{
171
171
  }, {
172
172
  repository: string;
173
173
  config: {
174
+ id: string;
174
175
  version: string;
175
176
  scope: "user" | "team" | "public" | "organization";
176
- id: string;
177
177
  apiVersion: "octonode.plugin/v1";
178
178
  workflow?: string | undefined;
179
179
  icon?: string | undefined;
@@ -197,18 +197,18 @@ export declare const PluginPublisherConnection: z.ZodObject<{
197
197
  workflow: z.ZodDefault<z.ZodString>;
198
198
  }, "strict", z.ZodTypeAny, {
199
199
  workflow: string;
200
+ id: string;
200
201
  version: string;
201
202
  scope: "user" | "team" | "public" | "organization";
202
- id: string;
203
203
  apiVersion: "octonode.plugin/v1";
204
204
  icon?: string | undefined;
205
205
  contributors?: string[] | undefined;
206
206
  teamId?: string | undefined;
207
207
  orgId?: string | undefined;
208
208
  }, {
209
+ id: string;
209
210
  version: string;
210
211
  scope: "user" | "team" | "public" | "organization";
211
- id: string;
212
212
  apiVersion: "octonode.plugin/v1";
213
213
  workflow?: string | undefined;
214
214
  icon?: string | undefined;
@@ -217,18 +217,18 @@ export declare const PluginPublisherConnection: z.ZodObject<{
217
217
  orgId?: string | undefined;
218
218
  }>, {
219
219
  workflow: string;
220
+ id: string;
220
221
  version: string;
221
222
  scope: "user" | "team" | "public" | "organization";
222
- id: string;
223
223
  apiVersion: "octonode.plugin/v1";
224
224
  icon?: string | undefined;
225
225
  contributors?: string[] | undefined;
226
226
  teamId?: string | undefined;
227
227
  orgId?: string | undefined;
228
228
  }, {
229
+ id: string;
229
230
  version: string;
230
231
  scope: "user" | "team" | "public" | "organization";
231
- id: string;
232
232
  apiVersion: "octonode.plugin/v1";
233
233
  workflow?: string | undefined;
234
234
  icon?: string | undefined;
@@ -248,18 +248,18 @@ export declare const PluginPublisherConnection: z.ZodObject<{
248
248
  lastPublishedAt: z.ZodNullable<z.ZodNumber>;
249
249
  }, "strip", z.ZodTypeAny, {
250
250
  repository: string;
251
+ id: string;
251
252
  config: {
252
253
  workflow: string;
254
+ id: string;
253
255
  version: string;
254
256
  scope: "user" | "team" | "public" | "organization";
255
- id: string;
256
257
  apiVersion: "octonode.plugin/v1";
257
258
  icon?: string | undefined;
258
259
  contributors?: string[] | undefined;
259
260
  teamId?: string | undefined;
260
261
  orgId?: string | undefined;
261
262
  };
262
- id: string;
263
263
  sha256: string;
264
264
  repositoryId: number;
265
265
  configPath: string;
@@ -269,10 +269,11 @@ export declare const PluginPublisherConnection: z.ZodObject<{
269
269
  lastPublishedAt: number | null;
270
270
  }, {
271
271
  repository: string;
272
+ id: string;
272
273
  config: {
274
+ id: string;
273
275
  version: string;
274
276
  scope: "user" | "team" | "public" | "organization";
275
- id: string;
276
277
  apiVersion: "octonode.plugin/v1";
277
278
  workflow?: string | undefined;
278
279
  icon?: string | undefined;
@@ -280,7 +281,6 @@ export declare const PluginPublisherConnection: z.ZodObject<{
280
281
  teamId?: string | undefined;
281
282
  orgId?: string | undefined;
282
283
  };
283
- id: string;
284
284
  sha256: string;
285
285
  repositoryId: number;
286
286
  configPath: string;
@@ -303,18 +303,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
303
303
  workflow: z.ZodDefault<z.ZodString>;
304
304
  }, "strict", z.ZodTypeAny, {
305
305
  workflow: string;
306
+ id: string;
306
307
  version: string;
307
308
  scope: "user" | "team" | "public" | "organization";
308
- id: string;
309
309
  apiVersion: "octonode.plugin/v1";
310
310
  icon?: string | undefined;
311
311
  contributors?: string[] | undefined;
312
312
  teamId?: string | undefined;
313
313
  orgId?: string | undefined;
314
314
  }, {
315
+ id: string;
315
316
  version: string;
316
317
  scope: "user" | "team" | "public" | "organization";
317
- id: string;
318
318
  apiVersion: "octonode.plugin/v1";
319
319
  workflow?: string | undefined;
320
320
  icon?: string | undefined;
@@ -323,18 +323,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
323
323
  orgId?: string | undefined;
324
324
  }>, {
325
325
  workflow: string;
326
+ id: string;
326
327
  version: string;
327
328
  scope: "user" | "team" | "public" | "organization";
328
- id: string;
329
329
  apiVersion: "octonode.plugin/v1";
330
330
  icon?: string | undefined;
331
331
  contributors?: string[] | undefined;
332
332
  teamId?: string | undefined;
333
333
  orgId?: string | undefined;
334
334
  }, {
335
+ id: string;
335
336
  version: string;
336
337
  scope: "user" | "team" | "public" | "organization";
337
- id: string;
338
338
  apiVersion: "octonode.plugin/v1";
339
339
  workflow?: string | undefined;
340
340
  icon?: string | undefined;
@@ -354,18 +354,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
354
354
  lastPublishedAt: z.ZodNullable<z.ZodNumber>;
355
355
  }, "strip", z.ZodTypeAny, {
356
356
  repository: string;
357
+ id: string;
357
358
  config: {
358
359
  workflow: string;
360
+ id: string;
359
361
  version: string;
360
362
  scope: "user" | "team" | "public" | "organization";
361
- id: string;
362
363
  apiVersion: "octonode.plugin/v1";
363
364
  icon?: string | undefined;
364
365
  contributors?: string[] | undefined;
365
366
  teamId?: string | undefined;
366
367
  orgId?: string | undefined;
367
368
  };
368
- id: string;
369
369
  sha256: string;
370
370
  repositoryId: number;
371
371
  configPath: string;
@@ -375,10 +375,11 @@ export declare const PluginPublisherConnections: z.ZodObject<{
375
375
  lastPublishedAt: number | null;
376
376
  }, {
377
377
  repository: string;
378
+ id: string;
378
379
  config: {
380
+ id: string;
379
381
  version: string;
380
382
  scope: "user" | "team" | "public" | "organization";
381
- id: string;
382
383
  apiVersion: "octonode.plugin/v1";
383
384
  workflow?: string | undefined;
384
385
  icon?: string | undefined;
@@ -386,7 +387,6 @@ export declare const PluginPublisherConnections: z.ZodObject<{
386
387
  teamId?: string | undefined;
387
388
  orgId?: string | undefined;
388
389
  };
389
- id: string;
390
390
  sha256: string;
391
391
  repositoryId: number;
392
392
  configPath: string;
@@ -398,18 +398,18 @@ export declare const PluginPublisherConnections: z.ZodObject<{
398
398
  }, "strip", z.ZodTypeAny, {
399
399
  items: {
400
400
  repository: string;
401
+ id: string;
401
402
  config: {
402
403
  workflow: string;
404
+ id: string;
403
405
  version: string;
404
406
  scope: "user" | "team" | "public" | "organization";
405
- id: string;
406
407
  apiVersion: "octonode.plugin/v1";
407
408
  icon?: string | undefined;
408
409
  contributors?: string[] | undefined;
409
410
  teamId?: string | undefined;
410
411
  orgId?: string | undefined;
411
412
  };
412
- id: string;
413
413
  sha256: string;
414
414
  repositoryId: number;
415
415
  configPath: string;
@@ -421,10 +421,11 @@ export declare const PluginPublisherConnections: z.ZodObject<{
421
421
  }, {
422
422
  items: {
423
423
  repository: string;
424
+ id: string;
424
425
  config: {
426
+ id: string;
425
427
  version: string;
426
428
  scope: "user" | "team" | "public" | "organization";
427
- id: string;
428
429
  apiVersion: "octonode.plugin/v1";
429
430
  workflow?: string | undefined;
430
431
  icon?: string | undefined;
@@ -432,7 +433,6 @@ export declare const PluginPublisherConnections: z.ZodObject<{
432
433
  teamId?: string | undefined;
433
434
  orgId?: string | undefined;
434
435
  };
435
- id: string;
436
436
  sha256: string;
437
437
  repositoryId: number;
438
438
  configPath: string;
@@ -442,6 +442,65 @@ export declare const PluginPublisherConnections: z.ZodObject<{
442
442
  lastPublishedAt: number | null;
443
443
  }[];
444
444
  }>;
445
+ export declare const PluginPublisherRepositoryQuery: z.ZodObject<{
446
+ search: z.ZodDefault<z.ZodString>;
447
+ scope: z.ZodDefault<z.ZodEnum<["all", "user", "team", "organization", "public"]>>;
448
+ sort: z.ZodDefault<z.ZodEnum<["name", "-name"]>>;
449
+ limit: z.ZodDefault<z.ZodNumber>;
450
+ offset: z.ZodDefault<z.ZodNumber>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ search: string;
453
+ sort: "name" | "-name";
454
+ offset: number;
455
+ limit: number;
456
+ scope: "user" | "team" | "public" | "all" | "organization";
457
+ }, {
458
+ search?: string | undefined;
459
+ sort?: "name" | "-name" | undefined;
460
+ offset?: number | undefined;
461
+ limit?: number | undefined;
462
+ scope?: "user" | "team" | "public" | "all" | "organization" | undefined;
463
+ }>;
464
+ export declare const PluginPublisherRepositoryPage: z.ZodObject<{
465
+ items: z.ZodArray<z.ZodObject<{
466
+ repositoryId: z.ZodNumber;
467
+ repository: z.ZodString;
468
+ branch: z.ZodString;
469
+ plugins: z.ZodArray<z.ZodString, "many">;
470
+ scopes: z.ZodArray<z.ZodEnum<["user", "team", "organization", "public"]>, "many">;
471
+ }, "strip", z.ZodTypeAny, {
472
+ repository: string;
473
+ plugins: string[];
474
+ repositoryId: number;
475
+ branch: string;
476
+ scopes: ("user" | "team" | "public" | "organization")[];
477
+ }, {
478
+ repository: string;
479
+ plugins: string[];
480
+ repositoryId: number;
481
+ branch: string;
482
+ scopes: ("user" | "team" | "public" | "organization")[];
483
+ }>, "many">;
484
+ total: z.ZodNumber;
485
+ }, "strip", z.ZodTypeAny, {
486
+ items: {
487
+ repository: string;
488
+ plugins: string[];
489
+ repositoryId: number;
490
+ branch: string;
491
+ scopes: ("user" | "team" | "public" | "organization")[];
492
+ }[];
493
+ total: number;
494
+ }, {
495
+ items: {
496
+ repository: string;
497
+ plugins: string[];
498
+ repositoryId: number;
499
+ branch: string;
500
+ scopes: ("user" | "team" | "public" | "organization")[];
501
+ }[];
502
+ total: number;
503
+ }>;
445
504
  export declare const PluginPublisherOperation: z.ZodEnum<["create", "update", "delete"]>;
446
505
  export declare const PluginPublisherReviewItem: z.ZodObject<{
447
506
  configPath: z.ZodEffects<z.ZodString, string, string>;
@@ -457,18 +516,18 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
457
516
  workflow: z.ZodDefault<z.ZodString>;
458
517
  }, "strict", z.ZodTypeAny, {
459
518
  workflow: string;
519
+ id: string;
460
520
  version: string;
461
521
  scope: "user" | "team" | "public" | "organization";
462
- id: string;
463
522
  apiVersion: "octonode.plugin/v1";
464
523
  icon?: string | undefined;
465
524
  contributors?: string[] | undefined;
466
525
  teamId?: string | undefined;
467
526
  orgId?: string | undefined;
468
527
  }, {
528
+ id: string;
469
529
  version: string;
470
530
  scope: "user" | "team" | "public" | "organization";
471
- id: string;
472
531
  apiVersion: "octonode.plugin/v1";
473
532
  workflow?: string | undefined;
474
533
  icon?: string | undefined;
@@ -477,18 +536,18 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
477
536
  orgId?: string | undefined;
478
537
  }>, {
479
538
  workflow: string;
539
+ id: string;
480
540
  version: string;
481
541
  scope: "user" | "team" | "public" | "organization";
482
- id: string;
483
542
  apiVersion: "octonode.plugin/v1";
484
543
  icon?: string | undefined;
485
544
  contributors?: string[] | undefined;
486
545
  teamId?: string | undefined;
487
546
  orgId?: string | undefined;
488
547
  }, {
548
+ id: string;
489
549
  version: string;
490
550
  scope: "user" | "team" | "public" | "organization";
491
- id: string;
492
551
  apiVersion: "octonode.plugin/v1";
493
552
  workflow?: string | undefined;
494
553
  icon?: string | undefined;
@@ -500,12 +559,11 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
500
559
  connectionId: z.ZodNullable<z.ZodString>;
501
560
  missing: z.ZodBoolean;
502
561
  }, "strip", z.ZodTypeAny, {
503
- missing: boolean;
504
562
  config: {
505
563
  workflow: string;
564
+ id: string;
506
565
  version: string;
507
566
  scope: "user" | "team" | "public" | "organization";
508
- id: string;
509
567
  apiVersion: "octonode.plugin/v1";
510
568
  icon?: string | undefined;
511
569
  contributors?: string[] | undefined;
@@ -515,12 +573,12 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
515
573
  sha256: string;
516
574
  configPath: string;
517
575
  connectionId: string | null;
518
- }, {
519
576
  missing: boolean;
577
+ }, {
520
578
  config: {
579
+ id: string;
521
580
  version: string;
522
581
  scope: "user" | "team" | "public" | "organization";
523
- id: string;
524
582
  apiVersion: "octonode.plugin/v1";
525
583
  workflow?: string | undefined;
526
584
  icon?: string | undefined;
@@ -531,6 +589,7 @@ export declare const PluginPublisherReviewItem: z.ZodObject<{
531
589
  sha256: string;
532
590
  configPath: string;
533
591
  connectionId: string | null;
592
+ missing: boolean;
534
593
  }>;
535
594
  export declare const PluginPublisherReview: z.ZodObject<{
536
595
  repositoryId: z.ZodNumber;
@@ -552,18 +611,18 @@ export declare const PluginPublisherReview: z.ZodObject<{
552
611
  workflow: z.ZodDefault<z.ZodString>;
553
612
  }, "strict", z.ZodTypeAny, {
554
613
  workflow: string;
614
+ id: string;
555
615
  version: string;
556
616
  scope: "user" | "team" | "public" | "organization";
557
- id: string;
558
617
  apiVersion: "octonode.plugin/v1";
559
618
  icon?: string | undefined;
560
619
  contributors?: string[] | undefined;
561
620
  teamId?: string | undefined;
562
621
  orgId?: string | undefined;
563
622
  }, {
623
+ id: string;
564
624
  version: string;
565
625
  scope: "user" | "team" | "public" | "organization";
566
- id: string;
567
626
  apiVersion: "octonode.plugin/v1";
568
627
  workflow?: string | undefined;
569
628
  icon?: string | undefined;
@@ -572,18 +631,18 @@ export declare const PluginPublisherReview: z.ZodObject<{
572
631
  orgId?: string | undefined;
573
632
  }>, {
574
633
  workflow: string;
634
+ id: string;
575
635
  version: string;
576
636
  scope: "user" | "team" | "public" | "organization";
577
- id: string;
578
637
  apiVersion: "octonode.plugin/v1";
579
638
  icon?: string | undefined;
580
639
  contributors?: string[] | undefined;
581
640
  teamId?: string | undefined;
582
641
  orgId?: string | undefined;
583
642
  }, {
643
+ id: string;
584
644
  version: string;
585
645
  scope: "user" | "team" | "public" | "organization";
586
- id: string;
587
646
  apiVersion: "octonode.plugin/v1";
588
647
  workflow?: string | undefined;
589
648
  icon?: string | undefined;
@@ -595,12 +654,11 @@ export declare const PluginPublisherReview: z.ZodObject<{
595
654
  connectionId: z.ZodNullable<z.ZodString>;
596
655
  missing: z.ZodBoolean;
597
656
  }, "strip", z.ZodTypeAny, {
598
- missing: boolean;
599
657
  config: {
600
658
  workflow: string;
659
+ id: string;
601
660
  version: string;
602
661
  scope: "user" | "team" | "public" | "organization";
603
- id: string;
604
662
  apiVersion: "octonode.plugin/v1";
605
663
  icon?: string | undefined;
606
664
  contributors?: string[] | undefined;
@@ -610,12 +668,12 @@ export declare const PluginPublisherReview: z.ZodObject<{
610
668
  sha256: string;
611
669
  configPath: string;
612
670
  connectionId: string | null;
613
- }, {
614
671
  missing: boolean;
672
+ }, {
615
673
  config: {
674
+ id: string;
616
675
  version: string;
617
676
  scope: "user" | "team" | "public" | "organization";
618
- id: string;
619
677
  apiVersion: "octonode.plugin/v1";
620
678
  workflow?: string | undefined;
621
679
  icon?: string | undefined;
@@ -626,17 +684,17 @@ export declare const PluginPublisherReview: z.ZodObject<{
626
684
  sha256: string;
627
685
  configPath: string;
628
686
  connectionId: string | null;
687
+ missing: boolean;
629
688
  }>, "many">;
630
689
  }, "strip", z.ZodTypeAny, {
631
690
  repository: string;
632
691
  revision: string;
633
692
  items: {
634
- missing: boolean;
635
693
  config: {
636
694
  workflow: string;
695
+ id: string;
637
696
  version: string;
638
697
  scope: "user" | "team" | "public" | "organization";
639
- id: string;
640
698
  apiVersion: "octonode.plugin/v1";
641
699
  icon?: string | undefined;
642
700
  contributors?: string[] | undefined;
@@ -646,6 +704,7 @@ export declare const PluginPublisherReview: z.ZodObject<{
646
704
  sha256: string;
647
705
  configPath: string;
648
706
  connectionId: string | null;
707
+ missing: boolean;
649
708
  }[];
650
709
  repositoryId: number;
651
710
  branch: string;
@@ -654,11 +713,10 @@ export declare const PluginPublisherReview: z.ZodObject<{
654
713
  repository: string;
655
714
  revision: string;
656
715
  items: {
657
- missing: boolean;
658
716
  config: {
717
+ id: string;
659
718
  version: string;
660
719
  scope: "user" | "team" | "public" | "organization";
661
- id: string;
662
720
  apiVersion: "octonode.plugin/v1";
663
721
  workflow?: string | undefined;
664
722
  icon?: string | undefined;
@@ -669,6 +727,7 @@ export declare const PluginPublisherReview: z.ZodObject<{
669
727
  sha256: string;
670
728
  configPath: string;
671
729
  connectionId: string | null;
730
+ missing: boolean;
672
731
  }[];
673
732
  repositoryId: number;
674
733
  branch: string;
@@ -759,16 +818,17 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
759
818
  sha: z.ZodDefault<z.ZodString>;
760
819
  }, "strip", z.ZodTypeAny, {
761
820
  search: string;
821
+ page: number;
762
822
  sort: "name" | "status" | "branch" | "sha" | "newest" | "oldest";
763
823
  status: "" | "queued" | "in_progress" | "success" | "failure";
764
824
  direction: "asc" | "desc";
765
825
  limit: number;
766
826
  branch: string;
767
827
  sha: string;
768
- page: number;
769
828
  repositoryId?: number | undefined;
770
829
  }, {
771
830
  search?: string | undefined;
831
+ page?: number | undefined;
772
832
  sort?: "name" | "status" | "branch" | "sha" | "newest" | "oldest" | undefined;
773
833
  status?: "" | "queued" | "in_progress" | "success" | "failure" | undefined;
774
834
  direction?: "asc" | "desc" | undefined;
@@ -776,7 +836,6 @@ export declare const PluginPublisherBuildQuery: z.ZodObject<{
776
836
  repositoryId?: number | undefined;
777
837
  branch?: string | undefined;
778
838
  sha?: string | undefined;
779
- page?: number | undefined;
780
839
  }>;
781
840
  export type PluginPublisherBuildQuery = z.infer<typeof PluginPublisherBuildQuery>;
782
841
  export declare const PluginPublisherBuilds: z.ZodObject<{
@@ -799,9 +858,9 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
799
858
  updatedAt: z.ZodString;
800
859
  }, "strip", z.ZodTypeAny, {
801
860
  number: number;
861
+ id: number;
802
862
  url: string;
803
863
  status: string;
804
- id: number;
805
864
  attempt: number;
806
865
  title: string;
807
866
  repositoryId: number;
@@ -812,9 +871,9 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
812
871
  updatedAt: string;
813
872
  }, {
814
873
  number: number;
874
+ id: number;
815
875
  url: string;
816
876
  status: string;
817
- id: number;
818
877
  attempt: number;
819
878
  title: string;
820
879
  repositoryId: number;
@@ -825,12 +884,13 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
825
884
  updatedAt: string;
826
885
  }>, "many">;
827
886
  }, "strip", z.ZodTypeAny, {
887
+ page: number;
828
888
  limit: number;
829
889
  items: {
830
890
  number: number;
891
+ id: number;
831
892
  url: string;
832
893
  status: string;
833
- id: number;
834
894
  attempt: number;
835
895
  title: string;
836
896
  repositoryId: number;
@@ -840,16 +900,16 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
840
900
  createdAt: string;
841
901
  updatedAt: string;
842
902
  }[];
843
- page: number;
844
903
  total: number;
845
904
  hasMore: boolean;
846
905
  }, {
906
+ page: number;
847
907
  limit: number;
848
908
  items: {
849
909
  number: number;
910
+ id: number;
850
911
  url: string;
851
912
  status: string;
852
- id: number;
853
913
  attempt: number;
854
914
  title: string;
855
915
  repositoryId: number;
@@ -859,7 +919,6 @@ export declare const PluginPublisherBuilds: z.ZodObject<{
859
919
  createdAt: string;
860
920
  updatedAt: string;
861
921
  }[];
862
- page: number;
863
922
  total: number;
864
923
  hasMore: boolean;
865
924
  }>;
@@ -956,18 +1015,18 @@ export declare const PluginCloudBuild: z.ZodObject<{
956
1015
  workflow: z.ZodDefault<z.ZodString>;
957
1016
  }, "strict", z.ZodTypeAny, {
958
1017
  workflow: string;
1018
+ id: string;
959
1019
  version: string;
960
1020
  scope: "user" | "team" | "public" | "organization";
961
- id: string;
962
1021
  apiVersion: "octonode.plugin/v1";
963
1022
  icon?: string | undefined;
964
1023
  contributors?: string[] | undefined;
965
1024
  teamId?: string | undefined;
966
1025
  orgId?: string | undefined;
967
1026
  }, {
1027
+ id: string;
968
1028
  version: string;
969
1029
  scope: "user" | "team" | "public" | "organization";
970
- id: string;
971
1030
  apiVersion: "octonode.plugin/v1";
972
1031
  workflow?: string | undefined;
973
1032
  icon?: string | undefined;
@@ -976,18 +1035,18 @@ export declare const PluginCloudBuild: z.ZodObject<{
976
1035
  orgId?: string | undefined;
977
1036
  }>, {
978
1037
  workflow: string;
1038
+ id: string;
979
1039
  version: string;
980
1040
  scope: "user" | "team" | "public" | "organization";
981
- id: string;
982
1041
  apiVersion: "octonode.plugin/v1";
983
1042
  icon?: string | undefined;
984
1043
  contributors?: string[] | undefined;
985
1044
  teamId?: string | undefined;
986
1045
  orgId?: string | undefined;
987
1046
  }, {
1047
+ id: string;
988
1048
  version: string;
989
1049
  scope: "user" | "team" | "public" | "organization";
990
- id: string;
991
1050
  apiVersion: "octonode.plugin/v1";
992
1051
  workflow?: string | undefined;
993
1052
  icon?: string | undefined;
@@ -998,25 +1057,26 @@ export declare const PluginCloudBuild: z.ZodObject<{
998
1057
  operation: z.ZodEnum<["create", "update", "delete"]>;
999
1058
  status: z.ZodString;
1000
1059
  }, "strip", z.ZodTypeAny, {
1060
+ status: string;
1001
1061
  config: {
1002
1062
  workflow: string;
1063
+ id: string;
1003
1064
  version: string;
1004
1065
  scope: "user" | "team" | "public" | "organization";
1005
- id: string;
1006
1066
  apiVersion: "octonode.plugin/v1";
1007
1067
  icon?: string | undefined;
1008
1068
  contributors?: string[] | undefined;
1009
1069
  teamId?: string | undefined;
1010
1070
  orgId?: string | undefined;
1011
1071
  };
1012
- status: string;
1013
1072
  configPath: string;
1014
1073
  operation: "update" | "delete" | "create";
1015
1074
  }, {
1075
+ status: string;
1016
1076
  config: {
1077
+ id: string;
1017
1078
  version: string;
1018
1079
  scope: "user" | "team" | "public" | "organization";
1019
- id: string;
1020
1080
  apiVersion: "octonode.plugin/v1";
1021
1081
  workflow?: string | undefined;
1022
1082
  icon?: string | undefined;
@@ -1024,7 +1084,6 @@ export declare const PluginCloudBuild: z.ZodObject<{
1024
1084
  teamId?: string | undefined;
1025
1085
  orgId?: string | undefined;
1026
1086
  };
1027
- status: string;
1028
1087
  configPath: string;
1029
1088
  operation: "update" | "delete" | "create";
1030
1089
  }>, "many">;
@@ -1032,18 +1091,18 @@ export declare const PluginCloudBuild: z.ZodObject<{
1032
1091
  id: number;
1033
1092
  active: boolean;
1034
1093
  items: {
1094
+ status: string;
1035
1095
  config: {
1036
1096
  workflow: string;
1097
+ id: string;
1037
1098
  version: string;
1038
1099
  scope: "user" | "team" | "public" | "organization";
1039
- id: string;
1040
1100
  apiVersion: "octonode.plugin/v1";
1041
1101
  icon?: string | undefined;
1042
1102
  contributors?: string[] | undefined;
1043
1103
  teamId?: string | undefined;
1044
1104
  orgId?: string | undefined;
1045
1105
  };
1046
- status: string;
1047
1106
  configPath: string;
1048
1107
  operation: "update" | "delete" | "create";
1049
1108
  }[];
@@ -1052,10 +1111,11 @@ export declare const PluginCloudBuild: z.ZodObject<{
1052
1111
  id: number;
1053
1112
  active: boolean;
1054
1113
  items: {
1114
+ status: string;
1055
1115
  config: {
1116
+ id: string;
1056
1117
  version: string;
1057
1118
  scope: "user" | "team" | "public" | "organization";
1058
- id: string;
1059
1119
  apiVersion: "octonode.plugin/v1";
1060
1120
  workflow?: string | undefined;
1061
1121
  icon?: string | undefined;
@@ -1063,7 +1123,6 @@ export declare const PluginCloudBuild: z.ZodObject<{
1063
1123
  teamId?: string | undefined;
1064
1124
  orgId?: string | undefined;
1065
1125
  };
1066
- status: string;
1067
1126
  configPath: string;
1068
1127
  operation: "update" | "delete" | "create";
1069
1128
  }[];