@octonodes/sdk 0.0.3 → 0.1.5

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 (129) hide show
  1. package/PLUGINS.md +265 -0
  2. package/README.md +107 -9
  3. package/dist/constants.d.ts +1 -0
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js +2 -1
  6. package/dist/constants.js.map +1 -1
  7. package/dist/gen/index.d.ts +2 -2
  8. package/dist/gen/index.d.ts.map +1 -1
  9. package/dist/gen/index.js +4 -3
  10. package/dist/gen/index.js.map +1 -1
  11. package/dist/gen/sdk.gen.d.ts +9 -1
  12. package/dist/gen/sdk.gen.d.ts.map +1 -1
  13. package/dist/gen/sdk.gen.js +21 -3
  14. package/dist/gen/sdk.gen.js.map +1 -1
  15. package/dist/gen/types.gen.d.ts +379 -1
  16. package/dist/gen/types.gen.d.ts.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +2 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/plugins/index.d.ts +2 -0
  22. package/dist/plugins/index.d.ts.map +1 -0
  23. package/dist/plugins/index.js +19 -0
  24. package/dist/plugins/index.js.map +1 -0
  25. package/dist/plugins/schema/constants.d.ts +33 -0
  26. package/dist/plugins/schema/constants.d.ts.map +1 -0
  27. package/dist/plugins/schema/constants.js +207 -0
  28. package/dist/plugins/schema/constants.js.map +1 -0
  29. package/dist/plugins/schema/icons.d.ts +5 -0
  30. package/dist/plugins/schema/icons.d.ts.map +1 -0
  31. package/dist/plugins/schema/icons.js +62 -0
  32. package/dist/plugins/schema/icons.js.map +1 -0
  33. package/dist/plugins/schema/ipc-envelope.d.ts +923 -0
  34. package/dist/plugins/schema/ipc-envelope.d.ts.map +1 -0
  35. package/dist/plugins/schema/ipc-envelope.js +210 -0
  36. package/dist/plugins/schema/ipc-envelope.js.map +1 -0
  37. package/dist/plugins/schema/plugin-sdk/index.d.ts +5 -0
  38. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -0
  39. package/dist/plugins/schema/plugin-sdk/index.js +25 -0
  40. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -0
  41. package/dist/plugins/schema/plugin.d.ts +808 -0
  42. package/dist/plugins/schema/plugin.d.ts.map +1 -0
  43. package/dist/plugins/schema/plugin.js +196 -0
  44. package/dist/plugins/schema/plugin.js.map +1 -0
  45. package/dist/plugins/sdk/define-node.d.ts +103 -0
  46. package/dist/plugins/sdk/define-node.d.ts.map +1 -0
  47. package/dist/plugins/sdk/define-node.js +58 -0
  48. package/dist/plugins/sdk/define-node.js.map +1 -0
  49. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts +3 -0
  50. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -0
  51. package/dist/plugins/sdk/definitions/compiler/catalog.js +133 -0
  52. package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -0
  53. package/dist/plugins/sdk/definitions/compiler/constants.d.ts +6 -0
  54. package/dist/plugins/sdk/definitions/compiler/constants.d.ts.map +1 -0
  55. package/dist/plugins/sdk/definitions/compiler/constants.js +10 -0
  56. package/dist/plugins/sdk/definitions/compiler/constants.js.map +1 -0
  57. package/dist/plugins/sdk/definitions/compiler/index.d.ts +7 -0
  58. package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -0
  59. package/dist/plugins/sdk/definitions/compiler/index.js +411 -0
  60. package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -0
  61. package/dist/plugins/sdk/definitions/compiler/literals.d.ts +5 -0
  62. package/dist/plugins/sdk/definitions/compiler/literals.d.ts.map +1 -0
  63. package/dist/plugins/sdk/definitions/compiler/literals.js +78 -0
  64. package/dist/plugins/sdk/definitions/compiler/literals.js.map +1 -0
  65. package/dist/plugins/sdk/definitions/compiler/schemas.d.ts +4 -0
  66. package/dist/plugins/sdk/definitions/compiler/schemas.d.ts.map +1 -0
  67. package/dist/plugins/sdk/definitions/compiler/schemas.js +95 -0
  68. package/dist/plugins/sdk/definitions/compiler/schemas.js.map +1 -0
  69. package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -0
  70. package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -0
  71. package/dist/plugins/sdk/definitions/compiler/types.js +3 -0
  72. package/dist/plugins/sdk/definitions/compiler/types.js.map +1 -0
  73. package/dist/plugins/sdk/definitions/index.d.ts +7 -0
  74. package/dist/plugins/sdk/definitions/index.d.ts.map +1 -0
  75. package/dist/plugins/sdk/definitions/index.js +16 -0
  76. package/dist/plugins/sdk/definitions/index.js.map +1 -0
  77. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +4 -0
  78. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -0
  79. package/dist/plugins/sdk/definitions/npm/emit/js.js +190 -0
  80. package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -0
  81. package/dist/plugins/sdk/definitions/npm/types.d.ts +63 -0
  82. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -0
  83. package/dist/plugins/sdk/definitions/npm/types.js +3 -0
  84. package/dist/plugins/sdk/definitions/npm/types.js.map +1 -0
  85. package/dist/plugins/sdk/definitions/types.d.ts +43 -0
  86. package/dist/plugins/sdk/definitions/types.d.ts.map +1 -0
  87. package/dist/plugins/sdk/definitions/types.js +3 -0
  88. package/dist/plugins/sdk/definitions/types.js.map +1 -0
  89. package/dist/plugins/sdk/json-schema.d.ts +17 -0
  90. package/dist/plugins/sdk/json-schema.d.ts.map +1 -0
  91. package/dist/plugins/sdk/json-schema.js +79 -0
  92. package/dist/plugins/sdk/json-schema.js.map +1 -0
  93. package/dist/plugins/sdk/nodes/index.d.ts +5 -0
  94. package/dist/plugins/sdk/nodes/index.d.ts.map +1 -0
  95. package/dist/plugins/sdk/nodes/index.js +12 -0
  96. package/dist/plugins/sdk/nodes/index.js.map +1 -0
  97. package/dist/plugins/sdk/plugin/index.d.ts +3 -0
  98. package/dist/plugins/sdk/plugin/index.d.ts.map +1 -0
  99. package/dist/plugins/sdk/plugin/index.js +8 -0
  100. package/dist/plugins/sdk/plugin/index.js.map +1 -0
  101. package/dist/plugins/sdk/plugin.d.ts +7 -0
  102. package/dist/plugins/sdk/plugin.d.ts.map +1 -0
  103. package/dist/plugins/sdk/plugin.js +74 -0
  104. package/dist/plugins/sdk/plugin.js.map +1 -0
  105. package/dist/plugins/sdk/plugin.types.d.ts +15 -0
  106. package/dist/plugins/sdk/plugin.types.d.ts.map +1 -0
  107. package/dist/plugins/sdk/plugin.types.js +3 -0
  108. package/dist/plugins/sdk/plugin.types.js.map +1 -0
  109. package/dist/plugins/sdk/plugins/define-node.d.ts +29 -0
  110. package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -0
  111. package/dist/plugins/sdk/plugins/define-node.js +16 -0
  112. package/dist/plugins/sdk/plugins/define-node.js.map +1 -0
  113. package/dist/plugins/sdk/plugins/index.d.ts +10 -0
  114. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -0
  115. package/dist/plugins/sdk/plugins/index.js +23 -0
  116. package/dist/plugins/sdk/plugins/index.js.map +1 -0
  117. package/dist/plugins/sdk/plugins/types.d.ts +34 -0
  118. package/dist/plugins/sdk/plugins/types.d.ts.map +1 -0
  119. package/dist/plugins/sdk/plugins/types.js +3 -0
  120. package/dist/plugins/sdk/plugins/types.js.map +1 -0
  121. package/dist/plugins/sdk/project/index.d.ts +5 -0
  122. package/dist/plugins/sdk/project/index.d.ts.map +1 -0
  123. package/dist/plugins/sdk/project/index.js +10 -0
  124. package/dist/plugins/sdk/project/index.js.map +1 -0
  125. package/dist/plugins/sdk/runner.d.ts +36 -0
  126. package/dist/plugins/sdk/runner.d.ts.map +1 -0
  127. package/dist/plugins/sdk/runner.js +324 -0
  128. package/dist/plugins/sdk/runner.js.map +1 -0
  129. package/package.json +65 -5
@@ -1199,10 +1199,87 @@ export type GetApiProjectsTrashResponses = {
1199
1199
  }>;
1200
1200
  };
1201
1201
  export type GetApiProjectsTrashResponse = GetApiProjectsTrashResponses[keyof GetApiProjectsTrashResponses];
1202
+ export type GetApiProjectsCatalogData = {
1203
+ body?: never;
1204
+ path?: never;
1205
+ query?: never;
1206
+ url: '/api/projects/catalog';
1207
+ };
1208
+ export type GetApiProjectsCatalogErrors = {
1209
+ /**
1210
+ * Error
1211
+ */
1212
+ 403: {
1213
+ error: string;
1214
+ };
1215
+ };
1216
+ export type GetApiProjectsCatalogError = GetApiProjectsCatalogErrors[keyof GetApiProjectsCatalogErrors];
1217
+ export type GetApiProjectsCatalogResponses = {
1218
+ /**
1219
+ * Success
1220
+ */
1221
+ 200: {
1222
+ projects: Array<{
1223
+ id: string;
1224
+ name: string;
1225
+ path?: string;
1226
+ workflowCount: number;
1227
+ environments?: Array<string>;
1228
+ readOnly?: true;
1229
+ legacyLanguage?: string;
1230
+ local?: false;
1231
+ cloudAction?: 'install' | 'sync';
1232
+ hosted?: true;
1233
+ unavailable?: true;
1234
+ sourceKind?: 'repository' | 'managed' | 'standalone';
1235
+ sourceRepositoryId?: string | null;
1236
+ configLocator?: string;
1237
+ }>;
1238
+ repositories: Array<{
1239
+ generation: number;
1240
+ sourceRepository: {
1241
+ sourceRepositoryId: string;
1242
+ displayName: string;
1243
+ rootLocator: string;
1244
+ canonicalRootFingerprint: string;
1245
+ remote: {
1246
+ fetchUrl: string;
1247
+ provider?: 'github';
1248
+ githubRepositoryId?: number;
1249
+ } | null;
1250
+ recovery: {
1251
+ kind: 'reclone';
1252
+ head: string;
1253
+ branch?: string;
1254
+ } | {
1255
+ kind: 'relink';
1256
+ };
1257
+ status: 'ready' | 'missing' | 'conflict';
1258
+ revision: number;
1259
+ };
1260
+ projects: Array<{
1261
+ projectId: string;
1262
+ sourceKind: 'repository' | 'managed' | 'standalone';
1263
+ sourceRepositoryId: string | null;
1264
+ configLocator: string;
1265
+ projectRootLocator: string;
1266
+ configFormat: 'yaml' | 'json';
1267
+ configFingerprint: string;
1268
+ storeKey: string;
1269
+ identitySource: 'new' | 'legacy' | 'config';
1270
+ status: 'ready' | 'missing' | 'conflict' | 'invalid';
1271
+ revision: number;
1272
+ }>;
1273
+ }>;
1274
+ hiddenIds: Array<string>;
1275
+ };
1276
+ };
1277
+ export type GetApiProjectsCatalogResponse = GetApiProjectsCatalogResponses[keyof GetApiProjectsCatalogResponses];
1202
1278
  export type GetApiProjectsSearchData = {
1203
1279
  body?: never;
1204
1280
  path?: never;
1205
1281
  query?: {
1282
+ summary?: 'true';
1206
1283
  q?: string;
1207
1284
  offset?: number;
1208
1285
  limit?: number;
@@ -3090,6 +3167,7 @@ export type GetApiWorkflowsData = {
3090
3167
  body?: never;
3091
3168
  path?: never;
3092
3169
  query?: {
3170
+ view?: string;
3093
3171
  archived?: 'true' | 'false';
3094
3172
  scope?: string;
3095
3173
  q?: string;
@@ -3107,7 +3185,35 @@ export type GetApiWorkflowsResponses = {
3107
3185
  * Success
3108
3186
  */
3109
3187
  200: {
3188
+ navigation?: {
3189
+ collapsedPaths?: Array<string>;
3190
+ };
3191
+ hiddenCount?: number;
3192
+ settingsRevision?: string;
3193
+ view?: string;
3194
+ views?: Array<{
3195
+ id: string;
3196
+ label: string;
3197
+ }>;
3198
+ groupBy?: 'source' | 'folder' | 'flat' | 'architecture';
3199
+ architectureLayers?: Array<{
3200
+ id: string;
3201
+ label: string;
3202
+ workflowIds: Array<string>;
3203
+ }>;
3204
+ detail?: {
3205
+ level?: 'files' | 'workflows' | 'steps';
3206
+ maxCallDepth?: number;
3207
+ maxDirectoryDepth?: number;
3208
+ };
3209
+ diagnostics?: Array<string>;
3110
3210
  items: Array<{
3211
+ icon?: string;
3212
+ color?: string;
3213
+ style?: {
3214
+ density?: 'compact' | 'comfortable';
3215
+ radius?: 'sharp' | 'soft';
3216
+ };
3111
3217
  source?: {
3112
3218
  path: string;
3113
3219
  symbol: string;
@@ -3236,6 +3342,7 @@ export type GetApiWorkflowsByWorkflowIdGraphData = {
3236
3342
  query?: {
3237
3343
  project?: string;
3238
3344
  workspace?: string;
3345
+ view?: string;
3239
3346
  };
3240
3347
  url: '/api/workflows/{workflowId}/graph';
3241
3348
  };
@@ -3253,6 +3360,17 @@ export type GetApiWorkflowsByWorkflowIdGraphResponses = {
3253
3360
  * Success
3254
3361
  */
3255
3362
  200: {
3363
+ revealed?: boolean;
3364
+ presentation?: {
3365
+ revision: string;
3366
+ view?: string;
3367
+ detail?: {
3368
+ level?: 'files' | 'workflows' | 'steps';
3369
+ maxCallDepth?: number;
3370
+ maxDirectoryDepth?: number;
3371
+ };
3372
+ diagnostics: Array<string>;
3373
+ };
3256
3374
  triggers?: Array<{
3257
3375
  id: string;
3258
3376
  name: string;
@@ -3289,6 +3407,37 @@ export type GetApiWorkflowsByWorkflowIdGraphResponses = {
3289
3407
  };
3290
3408
  };
3291
3409
  nodes: Array<{
3410
+ plugin?: string;
3411
+ pluginVersion?: string;
3412
+ pluginUi?: {
3413
+ apiVersion: '1';
3414
+ renderers: {
3415
+ [key: string]: {
3416
+ label: string;
3417
+ targets: {
3418
+ [key: string]: string;
3419
+ };
3420
+ };
3421
+ };
3422
+ };
3423
+ renderer?: string;
3424
+ hiddenReason?: string;
3425
+ color?: string;
3426
+ style?: {
3427
+ density?: 'compact' | 'comfortable';
3428
+ radius?: 'sharp' | 'soft';
3429
+ };
3430
+ workflowId?: string;
3431
+ recursion?: Array<{
3432
+ via: Array<string>;
3433
+ location: {
3434
+ path: string;
3435
+ start: number;
3436
+ end: number;
3437
+ line: number;
3438
+ column: number;
3439
+ };
3440
+ }>;
3292
3441
  role?: 'entry' | 'step';
3293
3442
  symbol?: string;
3294
3443
  description?: string;
@@ -3500,6 +3649,17 @@ export type PostApiWorkflowsByWorkflowIdTopologyErrors = {
3500
3649
  conflict: true;
3501
3650
  error: string;
3502
3651
  graph: {
3652
+ revealed?: boolean;
3653
+ presentation?: {
3654
+ revision: string;
3655
+ view?: string;
3656
+ detail?: {
3657
+ level?: 'files' | 'workflows' | 'steps';
3658
+ maxCallDepth?: number;
3659
+ maxDirectoryDepth?: number;
3660
+ };
3661
+ diagnostics: Array<string>;
3662
+ };
3503
3663
  triggers?: Array<{
3504
3664
  id: string;
3505
3665
  name: string;
@@ -3536,6 +3696,37 @@ export type PostApiWorkflowsByWorkflowIdTopologyErrors = {
3536
3696
  };
3537
3697
  };
3538
3698
  nodes: Array<{
3699
+ plugin?: string;
3700
+ pluginVersion?: string;
3701
+ pluginUi?: {
3702
+ apiVersion: '1';
3703
+ renderers: {
3704
+ [key: string]: {
3705
+ label: string;
3706
+ targets: {
3707
+ [key: string]: string;
3708
+ };
3709
+ };
3710
+ };
3711
+ };
3712
+ renderer?: string;
3713
+ hiddenReason?: string;
3714
+ color?: string;
3715
+ style?: {
3716
+ density?: 'compact' | 'comfortable';
3717
+ radius?: 'sharp' | 'soft';
3718
+ };
3719
+ workflowId?: string;
3720
+ recursion?: Array<{
3721
+ via: Array<string>;
3722
+ location: {
3723
+ path: string;
3724
+ start: number;
3725
+ end: number;
3726
+ line: number;
3727
+ column: number;
3728
+ };
3729
+ }>;
3539
3730
  role?: 'entry' | 'step';
3540
3731
  symbol?: string;
3541
3732
  description?: string;
@@ -3640,6 +3831,17 @@ export type PostApiWorkflowsByWorkflowIdTopologyResponses = {
3640
3831
  */
3641
3832
  200: {
3642
3833
  graph: {
3834
+ revealed?: boolean;
3835
+ presentation?: {
3836
+ revision: string;
3837
+ view?: string;
3838
+ detail?: {
3839
+ level?: 'files' | 'workflows' | 'steps';
3840
+ maxCallDepth?: number;
3841
+ maxDirectoryDepth?: number;
3842
+ };
3843
+ diagnostics: Array<string>;
3844
+ };
3643
3845
  triggers?: Array<{
3644
3846
  id: string;
3645
3847
  name: string;
@@ -3676,6 +3878,37 @@ export type PostApiWorkflowsByWorkflowIdTopologyResponses = {
3676
3878
  };
3677
3879
  };
3678
3880
  nodes: Array<{
3881
+ plugin?: string;
3882
+ pluginVersion?: string;
3883
+ pluginUi?: {
3884
+ apiVersion: '1';
3885
+ renderers: {
3886
+ [key: string]: {
3887
+ label: string;
3888
+ targets: {
3889
+ [key: string]: string;
3890
+ };
3891
+ };
3892
+ };
3893
+ };
3894
+ renderer?: string;
3895
+ hiddenReason?: string;
3896
+ color?: string;
3897
+ style?: {
3898
+ density?: 'compact' | 'comfortable';
3899
+ radius?: 'sharp' | 'soft';
3900
+ };
3901
+ workflowId?: string;
3902
+ recursion?: Array<{
3903
+ via: Array<string>;
3904
+ location: {
3905
+ path: string;
3906
+ start: number;
3907
+ end: number;
3908
+ line: number;
3909
+ column: number;
3910
+ };
3911
+ }>;
3679
3912
  role?: 'entry' | 'step';
3680
3913
  symbol?: string;
3681
3914
  description?: string;
@@ -3850,6 +4083,16 @@ export type GetApiMarketplaceResponses = {
3850
4083
  */
3851
4084
  200: {
3852
4085
  items: Array<{
4086
+ official?: boolean;
4087
+ installCount?: number;
4088
+ ratingCount?: number;
4089
+ score?: number | null;
4090
+ sourceKind?: 'sdk' | 'npm';
4091
+ npm?: {
4092
+ package: string;
4093
+ version: string;
4094
+ spec: string;
4095
+ } | null;
3853
4096
  id: string;
3854
4097
  name: string;
3855
4098
  version: string;
@@ -3861,6 +4104,7 @@ export type GetApiMarketplaceResponses = {
3861
4104
  tags: Array<string>;
3862
4105
  nodes?: Array<{
3863
4106
  id: string;
4107
+ icon?: string;
3864
4108
  label?: string;
3865
4109
  symbol?: string;
3866
4110
  description?: string;
@@ -3874,6 +4118,17 @@ export type GetApiMarketplaceResponses = {
3874
4118
  [key: string]: unknown;
3875
4119
  };
3876
4120
  connections?: Array<string>;
4121
+ ui?: {
4122
+ apiVersion: '1';
4123
+ renderers: {
4124
+ [key: string]: {
4125
+ label: string;
4126
+ targets: {
4127
+ [key: string]: string;
4128
+ };
4129
+ };
4130
+ };
4131
+ };
3877
4132
  }>;
3878
4133
  installed: boolean;
3879
4134
  scope?: 'user' | 'group' | 'org' | 'public';
@@ -3933,6 +4188,7 @@ export type GetApiMarketplacePluginsByIdResponses = {
3933
4188
  tags: Array<string>;
3934
4189
  nodes: Array<{
3935
4190
  id: string;
4191
+ icon?: string;
3936
4192
  label?: string;
3937
4193
  symbol?: string;
3938
4194
  description?: string;
@@ -3946,6 +4202,38 @@ export type GetApiMarketplacePluginsByIdResponses = {
3946
4202
  [key: string]: unknown;
3947
4203
  };
3948
4204
  connections?: Array<string>;
4205
+ ui?: {
4206
+ apiVersion: '1';
4207
+ renderers: {
4208
+ [key: string]: {
4209
+ label: string;
4210
+ targets: {
4211
+ [key: string]: string;
4212
+ };
4213
+ };
4214
+ };
4215
+ };
4216
+ }>;
4217
+ official?: boolean;
4218
+ installCount?: number;
4219
+ ratingCount?: number;
4220
+ score?: number | null;
4221
+ sourceKind?: 'sdk' | 'npm';
4222
+ npm?: {
4223
+ package: string;
4224
+ version: string;
4225
+ spec: string;
4226
+ } | null;
4227
+ installedVersion?: string;
4228
+ versions: Array<{
4229
+ version: string;
4230
+ scope: Array<'user' | 'group' | 'org' | 'public'>;
4231
+ permissions: Array<{
4232
+ resource: string;
4233
+ access: string;
4234
+ }>;
4235
+ sha256: string;
4236
+ publishedAt: string;
3949
4237
  }>;
3950
4238
  connections?: {
3951
4239
  [key: string]: {
@@ -4002,6 +4290,7 @@ export type GetApiPluginsResponses = {
4002
4290
  tags: Array<string>;
4003
4291
  nodes?: Array<{
4004
4292
  id: string;
4293
+ icon?: string;
4005
4294
  label?: string;
4006
4295
  symbol?: string;
4007
4296
  description?: string;
@@ -4015,6 +4304,17 @@ export type GetApiPluginsResponses = {
4015
4304
  [key: string]: unknown;
4016
4305
  };
4017
4306
  connections?: Array<string>;
4307
+ ui?: {
4308
+ apiVersion: '1';
4309
+ renderers: {
4310
+ [key: string]: {
4311
+ label: string;
4312
+ targets: {
4313
+ [key: string]: string;
4314
+ };
4315
+ };
4316
+ };
4317
+ };
4018
4318
  }>;
4019
4319
  }>;
4020
4320
  };
@@ -4051,6 +4351,7 @@ export type GetApiPluginsSearchResponses = {
4051
4351
  tags: Array<string>;
4052
4352
  nodes?: Array<{
4053
4353
  id: string;
4354
+ icon?: string;
4054
4355
  label?: string;
4055
4356
  symbol?: string;
4056
4357
  description?: string;
@@ -4064,6 +4365,17 @@ export type GetApiPluginsSearchResponses = {
4064
4365
  [key: string]: unknown;
4065
4366
  };
4066
4367
  connections?: Array<string>;
4368
+ ui?: {
4369
+ apiVersion: '1';
4370
+ renderers: {
4371
+ [key: string]: {
4372
+ label: string;
4373
+ targets: {
4374
+ [key: string]: string;
4375
+ };
4376
+ };
4377
+ };
4378
+ };
4067
4379
  }>;
4068
4380
  }>;
4069
4381
  total: number;
@@ -4099,6 +4411,7 @@ export type GetApiPluginsNodesResponses = {
4099
4411
  200: {
4100
4412
  items: Array<{
4101
4413
  id: string;
4414
+ icon?: string;
4102
4415
  label?: string;
4103
4416
  symbol?: string;
4104
4417
  description?: string;
@@ -4112,6 +4425,17 @@ export type GetApiPluginsNodesResponses = {
4112
4425
  [key: string]: unknown;
4113
4426
  };
4114
4427
  connections?: Array<string>;
4428
+ ui?: {
4429
+ apiVersion: '1';
4430
+ renderers: {
4431
+ [key: string]: {
4432
+ label: string;
4433
+ targets: {
4434
+ [key: string]: string;
4435
+ };
4436
+ };
4437
+ };
4438
+ };
4115
4439
  pluginId: string;
4116
4440
  pluginName: string;
4117
4441
  pluginVersion: string;
@@ -4163,6 +4487,7 @@ export type GetApiPluginsByPluginIdResponses = {
4163
4487
  tags: Array<string>;
4164
4488
  nodes: Array<{
4165
4489
  id: string;
4490
+ icon?: string;
4166
4491
  label?: string;
4167
4492
  symbol?: string;
4168
4493
  description?: string;
@@ -4176,9 +4501,19 @@ export type GetApiPluginsByPluginIdResponses = {
4176
4501
  [key: string]: unknown;
4177
4502
  };
4178
4503
  connections?: Array<string>;
4504
+ ui?: {
4505
+ apiVersion: '1';
4506
+ renderers: {
4507
+ [key: string]: {
4508
+ label: string;
4509
+ targets: {
4510
+ [key: string]: string;
4511
+ };
4512
+ };
4513
+ };
4514
+ };
4179
4515
  language?: string;
4180
4516
  command: string;
4181
- icon?: string;
4182
4517
  trigger?: boolean;
4183
4518
  env?: Array<string>;
4184
4519
  }>;
@@ -4258,6 +4593,37 @@ export type PostApiPluginsByPluginIdNodesByNodeIdAddResponses = {
4258
4593
  200: {
4259
4594
  instanceId: string;
4260
4595
  node: {
4596
+ plugin?: string;
4597
+ pluginVersion?: string;
4598
+ pluginUi?: {
4599
+ apiVersion: '1';
4600
+ renderers: {
4601
+ [key: string]: {
4602
+ label: string;
4603
+ targets: {
4604
+ [key: string]: string;
4605
+ };
4606
+ };
4607
+ };
4608
+ };
4609
+ renderer?: string;
4610
+ hiddenReason?: string;
4611
+ color?: string;
4612
+ style?: {
4613
+ density?: 'compact' | 'comfortable';
4614
+ radius?: 'sharp' | 'soft';
4615
+ };
4616
+ workflowId?: string;
4617
+ recursion?: Array<{
4618
+ via: Array<string>;
4619
+ location: {
4620
+ path: string;
4621
+ start: number;
4622
+ end: number;
4623
+ line: number;
4624
+ column: number;
4625
+ };
4626
+ }>;
4261
4627
  role?: 'entry' | 'step';
4262
4628
  symbol?: string;
4263
4629
  description?: string;
@@ -4456,6 +4822,7 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
4456
4822
  * Success
4457
4823
  */
4458
4824
  200: {
4825
+ native: string;
4459
4826
  role: 'entry' | 'step';
4460
4827
  ok: true;
4461
4828
  instanceId: string;
@@ -4477,6 +4844,16 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
4477
4844
  column: number;
4478
4845
  content: string;
4479
4846
  };
4847
+ recursion?: Array<{
4848
+ via: Array<string>;
4849
+ location: {
4850
+ path: string;
4851
+ start: number;
4852
+ end: number;
4853
+ line: number;
4854
+ column: number;
4855
+ };
4856
+ }>;
4480
4857
  defaults?: {
4481
4858
  [key: string]: unknown;
4482
4859
  };
@@ -4507,6 +4884,7 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
4507
4884
  symbol?: string;
4508
4885
  description?: string;
4509
4886
  color?: string;
4887
+ renderer?: string;
4510
4888
  position?: {
4511
4889
  x: number;
4512
4890
  y: number;