windmill-client 1.329.0 → 1.330.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.
@@ -1,2834 +0,0 @@
1
- "use strict";
2
- // This file is auto-generated by @hey-api/openapi-ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.$ExtraPerms = exports.$Flow = exports.$GlobalUserInfo = exports.$WorkspaceInvite = exports.$Workspace = exports.$CreateWorkspace = exports.$UserWorkspaceList = exports.$WorkerPing = exports.$Folder = exports.$InstanceGroup = exports.$Group = exports.$EditSchedule = exports.$NewSchedule = exports.$ScheduleWJobs = exports.$Schedule = exports.$EditResourceType = exports.$ResourceType = exports.$ListableResource = exports.$Resource = exports.$EditResource = exports.$CreateResource = exports.$WorkflowStatus = exports.$WorkflowStatusRecord = exports.$WorkflowTask = exports.$Preview = exports.$MainArgSignature = exports.$AuditLog = exports.$EditVariable = exports.$CreateVariable = exports.$ContextualVariable = exports.$ListableVariable = exports.$NewTokenImpersonate = exports.$NewToken = exports.$TruncatedToken = exports.$EditWorkspaceUser = exports.$Login = exports.$UserUsage = exports.$User = exports.$Job = exports.$CompletedJob = exports.$QueuedJob = exports.$RunnableType = exports.$UpdateInput = exports.$CreateInput = exports.$Input = exports.$ScriptArgs = exports.$ScriptHistory = exports.$NewScriptWithDraft = exports.$NewScript = exports.$Script = void 0;
5
- exports.$FlowStatusModule = exports.$FlowStatus = exports.$Identity = exports.$BranchAll = exports.$BranchOne = exports.$WhileloopFlow = exports.$ForloopFlow = exports.$PathFlow = exports.$PathScript = exports.$RawScript = exports.$FlowModuleValue = exports.$JavascriptTransform = exports.$StaticTransform = exports.$InputTransform = exports.$FlowModule = exports.$Retry = exports.$FlowValue = exports.$OpenFlow = exports.$ConcurrencyGroup = exports.$RawScriptForDependencies = exports.$MetricDataPoint = exports.$TimeseriesMetric = exports.$ScalarMetric = exports.$MetricMetadata = exports.$UploadFilePart = exports.$GitRepositorySettings = exports.$WorkspaceDefaultScripts = exports.$WorkspaceGitSyncSettings = exports.$S3Resource = exports.$WindmillFilePreview = exports.$WindmillFileMetadata = exports.$WindmillLargeFile = exports.$LargeFileStorage = exports.$PolarsClientKwargs = exports.$HubScriptKind = exports.$TokenResponse = exports.$SlackToken = exports.$AppHistory = exports.$AppWithLastVersionWDraft = exports.$AppWithLastVersion = exports.$ListableRawApp = exports.$ListableApp = exports.$Policy = exports.$RestartedFrom = exports.$FlowPreview = exports.$OpenFlowWPath = exports.$FlowMetadata = void 0;
6
- exports.$Script = {
7
- type: 'object',
8
- properties: {
9
- workspace_id: {
10
- type: 'string'
11
- },
12
- hash: {
13
- type: 'string'
14
- },
15
- path: {
16
- type: 'string'
17
- },
18
- parent_hashes: {
19
- type: 'array',
20
- description: `The first element is the direct parent of the script, the second is the parent of the first, etc
21
- `,
22
- items: {
23
- type: 'string'
24
- }
25
- },
26
- summary: {
27
- type: 'string'
28
- },
29
- description: {
30
- type: 'string'
31
- },
32
- content: {
33
- type: 'string'
34
- },
35
- created_by: {
36
- type: 'string'
37
- },
38
- created_at: {
39
- type: 'string',
40
- format: 'date-time'
41
- },
42
- archived: {
43
- type: 'boolean'
44
- },
45
- schema: {
46
- type: 'object'
47
- },
48
- deleted: {
49
- type: 'boolean'
50
- },
51
- is_template: {
52
- type: 'boolean'
53
- },
54
- extra_perms: {
55
- type: 'object',
56
- additionalProperties: {
57
- type: 'boolean'
58
- }
59
- },
60
- lock: {
61
- type: 'string'
62
- },
63
- lock_error_logs: {
64
- type: 'string'
65
- },
66
- language: {
67
- type: 'string',
68
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
69
- },
70
- kind: {
71
- type: 'string',
72
- enum: ['script', 'failure', 'trigger', 'command', 'approval']
73
- },
74
- starred: {
75
- type: 'boolean'
76
- },
77
- tag: {
78
- type: 'string'
79
- },
80
- has_draft: {
81
- type: 'boolean'
82
- },
83
- draft_only: {
84
- type: 'boolean'
85
- },
86
- envs: {
87
- type: 'array',
88
- items: {
89
- type: 'string'
90
- }
91
- },
92
- concurrent_limit: {
93
- type: 'integer'
94
- },
95
- concurrency_time_window_s: {
96
- type: 'integer'
97
- },
98
- cache_ttl: {
99
- type: 'number'
100
- },
101
- dedicated_worker: {
102
- type: 'boolean'
103
- },
104
- ws_error_handler_muted: {
105
- type: 'boolean'
106
- },
107
- priority: {
108
- type: 'integer'
109
- },
110
- restart_unless_cancelled: {
111
- type: 'boolean'
112
- },
113
- timeout: {
114
- type: 'integer'
115
- },
116
- delete_after_use: {
117
- type: 'boolean'
118
- },
119
- visible_to_runner_only: {
120
- type: 'boolean'
121
- },
122
- no_main_func: {
123
- type: 'boolean'
124
- },
125
- codebase: {
126
- type: 'string'
127
- }
128
- },
129
- required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', 'no_main_func']
130
- };
131
- exports.$NewScript = {
132
- type: 'object',
133
- properties: {
134
- path: {
135
- type: 'string'
136
- },
137
- parent_hash: {
138
- type: 'string'
139
- },
140
- summary: {
141
- type: 'string'
142
- },
143
- description: {
144
- type: 'string'
145
- },
146
- content: {
147
- type: 'string'
148
- },
149
- schema: {
150
- type: 'object'
151
- },
152
- is_template: {
153
- type: 'boolean'
154
- },
155
- lock: {
156
- type: 'string'
157
- },
158
- language: {
159
- type: 'string',
160
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
161
- },
162
- kind: {
163
- type: 'string',
164
- enum: ['script', 'failure', 'trigger', 'command', 'approval']
165
- },
166
- tag: {
167
- type: 'string'
168
- },
169
- draft_only: {
170
- type: 'boolean'
171
- },
172
- envs: {
173
- type: 'array',
174
- items: {
175
- type: 'string'
176
- }
177
- },
178
- concurrent_limit: {
179
- type: 'integer'
180
- },
181
- concurrency_time_window_s: {
182
- type: 'integer'
183
- },
184
- cache_ttl: {
185
- type: 'number'
186
- },
187
- dedicated_worker: {
188
- type: 'boolean'
189
- },
190
- ws_error_handler_muted: {
191
- type: 'boolean'
192
- },
193
- priority: {
194
- type: 'integer'
195
- },
196
- restart_unless_cancelled: {
197
- type: 'boolean'
198
- },
199
- timeout: {
200
- type: 'integer'
201
- },
202
- delete_after_use: {
203
- type: 'boolean'
204
- },
205
- deployment_message: {
206
- type: 'string'
207
- },
208
- concurrency_key: {
209
- type: 'string'
210
- },
211
- visible_to_runner_only: {
212
- type: 'boolean'
213
- },
214
- no_main_func: {
215
- type: 'boolean'
216
- },
217
- codebase: {
218
- type: 'string'
219
- }
220
- },
221
- required: ['path', 'summary', 'description', 'content', 'language']
222
- };
223
- exports.$NewScriptWithDraft = {
224
- allOf: [
225
- {
226
- '$ref': '#/components/schemas/NewScript'
227
- },
228
- {
229
- type: 'object',
230
- properties: {
231
- draft: {
232
- '$ref': '#/components/schemas/NewScript'
233
- },
234
- hash: {
235
- type: 'string'
236
- }
237
- },
238
- required: ['hash']
239
- }
240
- ]
241
- };
242
- exports.$ScriptHistory = {
243
- type: 'object',
244
- properties: {
245
- script_hash: {
246
- type: 'string'
247
- },
248
- deployment_msg: {
249
- type: 'string'
250
- }
251
- },
252
- required: ['script_hash']
253
- };
254
- exports.$ScriptArgs = {
255
- type: 'object',
256
- additionalProperties: {}
257
- };
258
- exports.$Input = {
259
- type: 'object',
260
- properties: {
261
- id: {
262
- type: 'string'
263
- },
264
- name: {
265
- type: 'string'
266
- },
267
- args: {
268
- type: 'object'
269
- },
270
- created_by: {
271
- type: 'string'
272
- },
273
- created_at: {
274
- type: 'string',
275
- format: 'date-time'
276
- },
277
- is_public: {
278
- type: 'boolean'
279
- },
280
- success: {
281
- type: 'boolean'
282
- }
283
- },
284
- required: ['id', 'name', 'args', 'created_by', 'created_at', 'is_public']
285
- };
286
- exports.$CreateInput = {
287
- type: 'object',
288
- properties: {
289
- name: {
290
- type: 'string'
291
- },
292
- args: {
293
- type: 'object'
294
- }
295
- },
296
- required: ['name', 'args', 'created_by']
297
- };
298
- exports.$UpdateInput = {
299
- type: 'object',
300
- properties: {
301
- id: {
302
- type: 'string'
303
- },
304
- name: {
305
- type: 'string'
306
- },
307
- is_public: {
308
- type: 'boolean'
309
- }
310
- },
311
- required: ['id', 'name', 'is_public']
312
- };
313
- exports.$RunnableType = {
314
- type: 'string',
315
- enum: ['ScriptHash', 'ScriptPath', 'FlowPath']
316
- };
317
- exports.$QueuedJob = {
318
- type: 'object',
319
- properties: {
320
- workspace_id: {
321
- type: 'string'
322
- },
323
- id: {
324
- type: 'string',
325
- format: 'uuid'
326
- },
327
- parent_job: {
328
- type: 'string',
329
- format: 'uuid'
330
- },
331
- created_by: {
332
- type: 'string'
333
- },
334
- created_at: {
335
- type: 'string',
336
- format: 'date-time'
337
- },
338
- started_at: {
339
- type: 'string',
340
- format: 'date-time'
341
- },
342
- scheduled_for: {
343
- type: 'string',
344
- format: 'date-time'
345
- },
346
- running: {
347
- type: 'boolean'
348
- },
349
- script_path: {
350
- type: 'string'
351
- },
352
- script_hash: {
353
- type: 'string'
354
- },
355
- args: {
356
- '$ref': '#/components/schemas/ScriptArgs'
357
- },
358
- logs: {
359
- type: 'string'
360
- },
361
- raw_code: {
362
- type: 'string'
363
- },
364
- canceled: {
365
- type: 'boolean'
366
- },
367
- canceled_by: {
368
- type: 'string'
369
- },
370
- canceled_reason: {
371
- type: 'string'
372
- },
373
- last_ping: {
374
- type: 'string',
375
- format: 'date-time'
376
- },
377
- job_kind: {
378
- type: 'string',
379
- enum: ['script', 'preview', 'dependencies', 'flowdependencies', 'appdependencies', 'flow', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow']
380
- },
381
- schedule_path: {
382
- type: 'string'
383
- },
384
- permissioned_as: {
385
- type: 'string',
386
- description: `The user (u/userfoo) or group (g/groupfoo) whom
387
- the execution of this script will be permissioned_as and by extension its DT_TOKEN.
388
- `
389
- },
390
- flow_status: {
391
- '$ref': '#/components/schemas/FlowStatus'
392
- },
393
- raw_flow: {
394
- '$ref': '#/components/schemas/FlowValue'
395
- },
396
- is_flow_step: {
397
- type: 'boolean'
398
- },
399
- language: {
400
- type: 'string',
401
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
402
- },
403
- email: {
404
- type: 'string'
405
- },
406
- visible_to_owner: {
407
- type: 'boolean'
408
- },
409
- mem_peak: {
410
- type: 'integer'
411
- },
412
- tag: {
413
- type: 'string'
414
- },
415
- priority: {
416
- type: 'integer'
417
- }
418
- },
419
- required: ['id', 'running', 'canceled', 'job_kind', 'permissioned_as', 'is_flow_step', 'email', 'visible_to_owner', 'tag']
420
- };
421
- exports.$CompletedJob = {
422
- type: 'object',
423
- properties: {
424
- workspace_id: {
425
- type: 'string'
426
- },
427
- id: {
428
- type: 'string',
429
- format: 'uuid'
430
- },
431
- parent_job: {
432
- type: 'string',
433
- format: 'uuid'
434
- },
435
- created_by: {
436
- type: 'string'
437
- },
438
- created_at: {
439
- type: 'string',
440
- format: 'date-time'
441
- },
442
- started_at: {
443
- type: 'string',
444
- format: 'date-time'
445
- },
446
- duration_ms: {
447
- type: 'integer'
448
- },
449
- success: {
450
- type: 'boolean'
451
- },
452
- script_path: {
453
- type: 'string'
454
- },
455
- script_hash: {
456
- type: 'string'
457
- },
458
- args: {
459
- '$ref': '#/components/schemas/ScriptArgs'
460
- },
461
- result: {},
462
- logs: {
463
- type: 'string'
464
- },
465
- deleted: {
466
- type: 'boolean'
467
- },
468
- raw_code: {
469
- type: 'string'
470
- },
471
- canceled: {
472
- type: 'boolean'
473
- },
474
- canceled_by: {
475
- type: 'string'
476
- },
477
- canceled_reason: {
478
- type: 'string'
479
- },
480
- job_kind: {
481
- type: 'string',
482
- enum: ['script', 'preview', 'dependencies', 'flow', 'flowdependencies', 'appdependencies', 'flowpreview', 'script_hub', 'identity', 'deploymentcallback', 'singlescriptflow']
483
- },
484
- schedule_path: {
485
- type: 'string'
486
- },
487
- permissioned_as: {
488
- type: 'string',
489
- description: `The user (u/userfoo) or group (g/groupfoo) whom
490
- the execution of this script will be permissioned_as and by extension its DT_TOKEN.
491
- `
492
- },
493
- flow_status: {
494
- '$ref': '#/components/schemas/FlowStatus'
495
- },
496
- raw_flow: {
497
- '$ref': '#/components/schemas/FlowValue'
498
- },
499
- is_flow_step: {
500
- type: 'boolean'
501
- },
502
- language: {
503
- type: 'string',
504
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
505
- },
506
- is_skipped: {
507
- type: 'boolean'
508
- },
509
- email: {
510
- type: 'string'
511
- },
512
- visible_to_owner: {
513
- type: 'boolean'
514
- },
515
- mem_peak: {
516
- type: 'integer'
517
- },
518
- tag: {
519
- type: 'string'
520
- },
521
- priority: {
522
- type: 'integer'
523
- },
524
- labels: {
525
- type: 'array',
526
- items: {
527
- type: 'string'
528
- }
529
- }
530
- },
531
- required: ['id', 'created_by', 'duration_ms', 'created_at', 'started_at', 'success', 'canceled', 'job_kind', 'permissioned_as', 'is_flow_step', 'is_skipped', 'email', 'visible_to_owner', 'tag']
532
- };
533
- exports.$Job = {
534
- oneOf: [
535
- {
536
- allOf: [
537
- {
538
- '$ref': '#/components/schemas/CompletedJob'
539
- },
540
- {
541
- type: 'object',
542
- properties: {
543
- type: {
544
- type: 'string',
545
- enum: ['CompletedJob']
546
- }
547
- }
548
- }
549
- ]
550
- },
551
- {
552
- allOf: [
553
- {
554
- '$ref': '#/components/schemas/QueuedJob'
555
- },
556
- {
557
- type: 'object',
558
- properties: {
559
- type: {
560
- type: 'string',
561
- enum: ['QueuedJob']
562
- }
563
- }
564
- }
565
- ]
566
- }
567
- ],
568
- discriminator: {
569
- propertyName: 'type'
570
- }
571
- };
572
- exports.$User = {
573
- type: 'object',
574
- properties: {
575
- email: {
576
- type: 'string'
577
- },
578
- username: {
579
- type: 'string'
580
- },
581
- is_admin: {
582
- type: 'boolean'
583
- },
584
- is_super_admin: {
585
- type: 'boolean'
586
- },
587
- created_at: {
588
- type: 'string',
589
- format: 'date-time'
590
- },
591
- operator: {
592
- type: 'boolean'
593
- },
594
- disabled: {
595
- type: 'boolean'
596
- },
597
- groups: {
598
- type: 'array',
599
- items: {
600
- type: 'string'
601
- }
602
- },
603
- folders: {
604
- type: 'array',
605
- items: {
606
- type: 'string'
607
- }
608
- },
609
- folders_owners: {
610
- type: 'array',
611
- items: {
612
- type: 'string'
613
- }
614
- }
615
- },
616
- required: ['email', 'username', 'is_admin', 'is_super_admin', 'created_at', 'operator', 'disabled', 'folders', 'folders_owners']
617
- };
618
- exports.$UserUsage = {
619
- type: 'object',
620
- properties: {
621
- email: {
622
- type: 'string'
623
- },
624
- executions: {
625
- type: 'number'
626
- }
627
- }
628
- };
629
- exports.$Login = {
630
- type: 'object',
631
- properties: {
632
- email: {
633
- type: 'string'
634
- },
635
- password: {
636
- type: 'string'
637
- }
638
- },
639
- required: ['email', 'password']
640
- };
641
- exports.$EditWorkspaceUser = {
642
- type: 'object',
643
- properties: {
644
- is_admin: {
645
- type: 'boolean'
646
- },
647
- operator: {
648
- type: 'boolean'
649
- },
650
- disabled: {
651
- type: 'boolean'
652
- }
653
- }
654
- };
655
- exports.$TruncatedToken = {
656
- type: 'object',
657
- properties: {
658
- label: {
659
- type: 'string'
660
- },
661
- expiration: {
662
- type: 'string',
663
- format: 'date-time'
664
- },
665
- token_prefix: {
666
- type: 'string'
667
- },
668
- created_at: {
669
- type: 'string',
670
- format: 'date-time'
671
- },
672
- last_used_at: {
673
- type: 'string',
674
- format: 'date-time'
675
- },
676
- scopes: {
677
- type: 'array',
678
- items: {
679
- type: 'string'
680
- }
681
- }
682
- },
683
- required: ['token_prefix', 'created_at', 'last_used_at']
684
- };
685
- exports.$NewToken = {
686
- type: 'object',
687
- properties: {
688
- label: {
689
- type: 'string'
690
- },
691
- expiration: {
692
- type: 'string',
693
- format: 'date-time'
694
- },
695
- scopes: {
696
- type: 'array',
697
- items: {
698
- type: 'string'
699
- }
700
- }
701
- }
702
- };
703
- exports.$NewTokenImpersonate = {
704
- type: 'object',
705
- properties: {
706
- label: {
707
- type: 'string'
708
- },
709
- expiration: {
710
- type: 'string',
711
- format: 'date-time'
712
- },
713
- impersonate_email: {
714
- type: 'string'
715
- }
716
- },
717
- required: ['impersonate_email']
718
- };
719
- exports.$ListableVariable = {
720
- type: 'object',
721
- properties: {
722
- workspace_id: {
723
- type: 'string'
724
- },
725
- path: {
726
- type: 'string'
727
- },
728
- value: {
729
- type: 'string'
730
- },
731
- is_secret: {
732
- type: 'boolean'
733
- },
734
- description: {
735
- type: 'string'
736
- },
737
- account: {
738
- type: 'integer'
739
- },
740
- is_oauth: {
741
- type: 'boolean'
742
- },
743
- extra_perms: {
744
- type: 'object',
745
- additionalProperties: {
746
- type: 'boolean'
747
- }
748
- },
749
- is_expired: {
750
- type: 'boolean'
751
- },
752
- refresh_error: {
753
- type: 'string'
754
- },
755
- is_linked: {
756
- type: 'boolean'
757
- },
758
- is_refreshed: {
759
- type: 'boolean'
760
- }
761
- },
762
- required: ['workspace_id', 'path', 'is_secret', 'extra_perms']
763
- };
764
- exports.$ContextualVariable = {
765
- type: 'object',
766
- properties: {
767
- name: {
768
- type: 'string'
769
- },
770
- value: {
771
- type: 'string'
772
- },
773
- description: {
774
- type: 'string'
775
- },
776
- is_custom: {
777
- type: 'boolean'
778
- }
779
- },
780
- required: ['name', 'value', 'description', 'is_custom']
781
- };
782
- exports.$CreateVariable = {
783
- type: 'object',
784
- properties: {
785
- path: {
786
- type: 'string'
787
- },
788
- value: {
789
- type: 'string'
790
- },
791
- is_secret: {
792
- type: 'boolean'
793
- },
794
- description: {
795
- type: 'string'
796
- },
797
- account: {
798
- type: 'integer'
799
- },
800
- is_oauth: {
801
- type: 'boolean'
802
- }
803
- },
804
- required: ['path', 'value', 'is_secret', 'description']
805
- };
806
- exports.$EditVariable = {
807
- type: 'object',
808
- properties: {
809
- path: {
810
- type: 'string'
811
- },
812
- value: {
813
- type: 'string'
814
- },
815
- is_secret: {
816
- type: 'boolean'
817
- },
818
- description: {
819
- type: 'string'
820
- }
821
- }
822
- };
823
- exports.$AuditLog = {
824
- type: 'object',
825
- properties: {
826
- id: {
827
- type: 'integer'
828
- },
829
- timestamp: {
830
- type: 'string',
831
- format: 'date-time'
832
- },
833
- username: {
834
- type: 'string'
835
- },
836
- operation: {
837
- type: 'string',
838
- enum: ['jobs.run', 'jobs.run.script', 'jobs.run.preview', 'jobs.run.flow', 'jobs.run.flow_preview', 'jobs.run.script_hub', 'jobs.run.dependencies', 'jobs.run.identity', 'jobs.run.noop', 'jobs.flow_dependencies', 'jobs', 'jobs.cancel', 'jobs.force_cancel', 'jobs.disapproval', 'jobs.delete', 'account.delete', 'openai.request', 'resources.create', 'resources.update', 'resources.delete', 'resource_types.create', 'resource_types.update', 'resource_types.delete', 'schedule.create', 'schedule.setenabled', 'schedule.edit', 'schedule.delete', 'scripts.create', 'scripts.update', 'scripts.archive', 'scripts.delete', 'users.create', 'users.delete', 'users.update', 'users.login', 'users.logout', 'users.accept_invite', 'users.decline_invite', 'users.token.create', 'users.token.delete', 'users.add_to_workspace', 'users.add_global', 'users.setpassword', 'users.impersonate', 'users.leave_workspace', 'oauth.login', 'oauth.signup', 'variables.create', 'variables.delete', 'variables.update', 'flows.create', 'flows.update', 'flows.delete', 'flows.archive', 'apps.create', 'apps.update', 'apps.delete', 'folder.create', 'folder.update', 'folder.delete', 'folder.add_owner', 'folder.remove_owner', 'group.create', 'group.delete', 'group.edit', 'group.adduser', 'group.removeuser', 'igroup.create', 'igroup.delete', 'igroup.adduser', 'igroup.removeuser', 'variables.decrypt_secret', 'workspaces.edit_command_script', 'workspaces.edit_deploy_to', 'workspaces.edit_auto_invite_domain', 'workspaces.edit_webhook', 'workspaces.edit_copilot_config', 'workspaces.edit_error_handler', 'workspaces.create', 'workspaces.update', 'workspaces.archive', 'workspaces.unarchive', 'workspaces.delete']
839
- },
840
- action_kind: {
841
- type: 'string',
842
- enum: ['Created', 'Updated', 'Delete', 'Execute']
843
- },
844
- resource: {
845
- type: 'string'
846
- },
847
- parameters: {
848
- type: 'object'
849
- }
850
- },
851
- required: ['id', 'timestamp', 'username', 'operation', 'action_kind']
852
- };
853
- exports.$MainArgSignature = {
854
- type: 'object',
855
- properties: {
856
- type: {
857
- type: 'string',
858
- enum: ['Valid', 'Invalid']
859
- },
860
- error: {
861
- type: 'string'
862
- },
863
- star_args: {
864
- type: 'boolean'
865
- },
866
- star_kwargs: {
867
- type: 'boolean'
868
- },
869
- args: {
870
- type: 'array',
871
- items: {
872
- type: 'object',
873
- properties: {
874
- name: {
875
- type: 'string'
876
- },
877
- typ: {
878
- oneOf: [
879
- {
880
- type: 'string',
881
- enum: ['float', 'int', 'bool', 'email', 'unknown', 'bytes', 'dict', 'datetime', 'sql']
882
- },
883
- {
884
- type: 'object',
885
- properties: {
886
- resource: {
887
- type: 'string',
888
- nullable: true
889
- }
890
- },
891
- required: ['resource']
892
- },
893
- {
894
- type: 'object',
895
- properties: {
896
- str: {
897
- type: 'array',
898
- items: {
899
- type: 'string'
900
- },
901
- nullable: true
902
- }
903
- },
904
- required: ['str']
905
- },
906
- {
907
- type: 'object',
908
- properties: {
909
- object: {
910
- type: 'array',
911
- items: {
912
- type: 'object',
913
- properties: {
914
- key: {
915
- type: 'string'
916
- },
917
- typ: {
918
- oneOf: [
919
- {
920
- type: 'string',
921
- enum: ['float', 'int', 'bool', 'email', 'unknown', 'bytes', 'dict', 'datetime', 'sql']
922
- },
923
- {
924
- type: 'object',
925
- properties: {
926
- str: {}
927
- },
928
- required: ['str']
929
- }
930
- ]
931
- }
932
- },
933
- required: ['key', 'typ']
934
- }
935
- }
936
- },
937
- required: ['object']
938
- },
939
- {
940
- type: 'object',
941
- properties: {
942
- list: {
943
- oneOf: [
944
- {
945
- type: 'string',
946
- enum: ['float', 'int', 'bool', 'email', 'unknown', 'bytes', 'dict', 'datetime', 'sql']
947
- },
948
- {
949
- type: 'object',
950
- properties: {
951
- str: {}
952
- },
953
- required: ['str']
954
- }
955
- ],
956
- nullable: true
957
- }
958
- },
959
- required: ['list']
960
- }
961
- ]
962
- },
963
- has_default: {
964
- type: 'boolean'
965
- },
966
- default: {}
967
- },
968
- required: ['name', 'typ']
969
- }
970
- }
971
- },
972
- required: ['star_args', 'start_kwargs', 'args', 'type', 'error']
973
- };
974
- exports.$Preview = {
975
- type: 'object',
976
- properties: {
977
- content: {
978
- type: 'string'
979
- },
980
- path: {
981
- type: 'string'
982
- },
983
- args: {
984
- '$ref': '#/components/schemas/ScriptArgs'
985
- },
986
- language: {
987
- type: 'string',
988
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
989
- },
990
- tag: {
991
- type: 'string'
992
- },
993
- kind: {
994
- type: 'string',
995
- enum: ['code', 'identity', 'http']
996
- },
997
- dedicated_worker: {
998
- type: 'boolean'
999
- },
1000
- lock: {
1001
- type: 'string'
1002
- }
1003
- },
1004
- required: ['args']
1005
- };
1006
- exports.$WorkflowTask = {
1007
- type: 'object',
1008
- properties: {
1009
- args: {
1010
- '$ref': '#/components/schemas/ScriptArgs'
1011
- }
1012
- },
1013
- required: ['args']
1014
- };
1015
- exports.$WorkflowStatusRecord = {
1016
- type: 'object',
1017
- additionalProperties: {
1018
- '$ref': '#/components/schemas/WorkflowStatus'
1019
- }
1020
- };
1021
- exports.$WorkflowStatus = {
1022
- type: 'object',
1023
- properties: {
1024
- scheduled_for: {
1025
- type: 'string',
1026
- format: 'date-time'
1027
- },
1028
- started_at: {
1029
- type: 'string',
1030
- format: 'date-time'
1031
- },
1032
- duration_ms: {
1033
- type: 'number'
1034
- },
1035
- name: {
1036
- type: 'string'
1037
- }
1038
- }
1039
- };
1040
- exports.$CreateResource = {
1041
- type: 'object',
1042
- properties: {
1043
- path: {
1044
- type: 'string'
1045
- },
1046
- value: {},
1047
- description: {
1048
- type: 'string'
1049
- },
1050
- resource_type: {
1051
- type: 'string'
1052
- }
1053
- },
1054
- required: ['path', 'value', 'resource_type']
1055
- };
1056
- exports.$EditResource = {
1057
- type: 'object',
1058
- properties: {
1059
- path: {
1060
- type: 'string'
1061
- },
1062
- description: {
1063
- type: 'string'
1064
- },
1065
- value: {}
1066
- }
1067
- };
1068
- exports.$Resource = {
1069
- type: 'object',
1070
- properties: {
1071
- workspace_id: {
1072
- type: 'string'
1073
- },
1074
- path: {
1075
- type: 'string'
1076
- },
1077
- description: {
1078
- type: 'string'
1079
- },
1080
- resource_type: {
1081
- type: 'string'
1082
- },
1083
- value: {},
1084
- is_oauth: {
1085
- type: 'boolean'
1086
- },
1087
- extra_perms: {
1088
- type: 'object',
1089
- additionalProperties: {
1090
- type: 'boolean'
1091
- }
1092
- }
1093
- },
1094
- required: ['path', 'resource_type', 'is_oauth']
1095
- };
1096
- exports.$ListableResource = {
1097
- type: 'object',
1098
- properties: {
1099
- workspace_id: {
1100
- type: 'string'
1101
- },
1102
- path: {
1103
- type: 'string'
1104
- },
1105
- description: {
1106
- type: 'string'
1107
- },
1108
- resource_type: {
1109
- type: 'string'
1110
- },
1111
- value: {},
1112
- is_oauth: {
1113
- type: 'boolean'
1114
- },
1115
- extra_perms: {
1116
- type: 'object',
1117
- additionalProperties: {
1118
- type: 'boolean'
1119
- }
1120
- },
1121
- is_expired: {
1122
- type: 'boolean'
1123
- },
1124
- refresh_error: {
1125
- type: 'string'
1126
- },
1127
- is_linked: {
1128
- type: 'boolean'
1129
- },
1130
- is_refreshed: {
1131
- type: 'boolean'
1132
- },
1133
- account: {
1134
- type: 'number'
1135
- }
1136
- },
1137
- required: ['path', 'resource_type', 'is_oauth', 'is_linked', 'is_refreshed']
1138
- };
1139
- exports.$ResourceType = {
1140
- type: 'object',
1141
- properties: {
1142
- workspace_id: {
1143
- type: 'string'
1144
- },
1145
- name: {
1146
- type: 'string'
1147
- },
1148
- schema: {},
1149
- description: {
1150
- type: 'string'
1151
- }
1152
- },
1153
- required: ['name']
1154
- };
1155
- exports.$EditResourceType = {
1156
- type: 'object',
1157
- properties: {
1158
- schema: {},
1159
- description: {
1160
- type: 'string'
1161
- }
1162
- }
1163
- };
1164
- exports.$Schedule = {
1165
- type: 'object',
1166
- properties: {
1167
- path: {
1168
- type: 'string'
1169
- },
1170
- edited_by: {
1171
- type: 'string'
1172
- },
1173
- edited_at: {
1174
- type: 'string',
1175
- format: 'date-time'
1176
- },
1177
- schedule: {
1178
- type: 'string'
1179
- },
1180
- timezone: {
1181
- type: 'string'
1182
- },
1183
- enabled: {
1184
- type: 'boolean'
1185
- },
1186
- script_path: {
1187
- type: 'string'
1188
- },
1189
- is_flow: {
1190
- type: 'boolean'
1191
- },
1192
- args: {
1193
- '$ref': '#/components/schemas/ScriptArgs'
1194
- },
1195
- extra_perms: {
1196
- type: 'object',
1197
- additionalProperties: {
1198
- type: 'boolean'
1199
- }
1200
- },
1201
- email: {
1202
- type: 'string'
1203
- },
1204
- error: {
1205
- type: 'string'
1206
- },
1207
- on_failure: {
1208
- type: 'string'
1209
- },
1210
- on_failure_times: {
1211
- type: 'number'
1212
- },
1213
- on_failure_exact: {
1214
- type: 'boolean'
1215
- },
1216
- on_failure_extra_args: {
1217
- '$ref': '#/components/schemas/ScriptArgs'
1218
- },
1219
- on_recovery: {
1220
- type: 'string'
1221
- },
1222
- on_recovery_times: {
1223
- type: 'number'
1224
- },
1225
- on_recovery_extra_args: {
1226
- '$ref': '#/components/schemas/ScriptArgs'
1227
- },
1228
- ws_error_handler_muted: {
1229
- type: 'boolean'
1230
- },
1231
- retry: {
1232
- '$ref': '#/components/schemas/Retry'
1233
- },
1234
- summary: {
1235
- type: 'string'
1236
- },
1237
- no_flow_overlap: {
1238
- type: 'boolean'
1239
- },
1240
- tag: {
1241
- type: 'string'
1242
- }
1243
- },
1244
- required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
1245
- };
1246
- exports.$ScheduleWJobs = {
1247
- allOf: [
1248
- {
1249
- '$ref': '#/components/schemas/Schedule'
1250
- },
1251
- {
1252
- type: 'object',
1253
- properties: {
1254
- jobs: {
1255
- type: 'array',
1256
- items: {
1257
- type: 'object',
1258
- properties: {
1259
- id: {
1260
- type: 'string'
1261
- },
1262
- success: {
1263
- type: 'boolean'
1264
- },
1265
- duration_ms: {
1266
- type: 'number'
1267
- }
1268
- },
1269
- required: ['id', 'success', 'duration_ms']
1270
- }
1271
- }
1272
- }
1273
- }
1274
- ]
1275
- };
1276
- exports.$NewSchedule = {
1277
- type: 'object',
1278
- properties: {
1279
- path: {
1280
- type: 'string'
1281
- },
1282
- schedule: {
1283
- type: 'string'
1284
- },
1285
- timezone: {
1286
- type: 'string'
1287
- },
1288
- script_path: {
1289
- type: 'string'
1290
- },
1291
- is_flow: {
1292
- type: 'boolean'
1293
- },
1294
- args: {
1295
- '$ref': '#/components/schemas/ScriptArgs'
1296
- },
1297
- enabled: {
1298
- type: 'boolean'
1299
- },
1300
- on_failure: {
1301
- type: 'string'
1302
- },
1303
- on_failure_times: {
1304
- type: 'number'
1305
- },
1306
- on_failure_exact: {
1307
- type: 'boolean'
1308
- },
1309
- on_failure_extra_args: {
1310
- '$ref': '#/components/schemas/ScriptArgs'
1311
- },
1312
- on_recovery: {
1313
- type: 'string'
1314
- },
1315
- on_recovery_times: {
1316
- type: 'number'
1317
- },
1318
- on_recovery_extra_args: {
1319
- '$ref': '#/components/schemas/ScriptArgs'
1320
- },
1321
- ws_error_handler_muted: {
1322
- type: 'boolean'
1323
- },
1324
- retry: {
1325
- '$ref': '#/components/schemas/Retry'
1326
- },
1327
- no_flow_overlap: {
1328
- type: 'boolean'
1329
- },
1330
- summary: {
1331
- type: 'string'
1332
- },
1333
- tag: {
1334
- type: 'string'
1335
- }
1336
- },
1337
- required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
1338
- };
1339
- exports.$EditSchedule = {
1340
- type: 'object',
1341
- properties: {
1342
- schedule: {
1343
- type: 'string'
1344
- },
1345
- timezone: {
1346
- type: 'string'
1347
- },
1348
- args: {
1349
- '$ref': '#/components/schemas/ScriptArgs'
1350
- },
1351
- on_failure: {
1352
- type: 'string'
1353
- },
1354
- on_failure_times: {
1355
- type: 'number'
1356
- },
1357
- on_failure_exact: {
1358
- type: 'boolean'
1359
- },
1360
- on_failure_extra_args: {
1361
- '$ref': '#/components/schemas/ScriptArgs'
1362
- },
1363
- on_recovery: {
1364
- type: 'string'
1365
- },
1366
- on_recovery_times: {
1367
- type: 'number'
1368
- },
1369
- on_recovery_extra_args: {
1370
- '$ref': '#/components/schemas/ScriptArgs'
1371
- },
1372
- ws_error_handler_muted: {
1373
- type: 'boolean'
1374
- },
1375
- retry: {
1376
- '$ref': '#/components/schemas/Retry'
1377
- },
1378
- no_flow_overlap: {
1379
- type: 'boolean'
1380
- },
1381
- summary: {
1382
- type: 'string'
1383
- },
1384
- tag: {
1385
- type: 'string'
1386
- }
1387
- },
1388
- required: ['schedule', 'timezone', 'script_path', 'is_flow', 'args']
1389
- };
1390
- exports.$Group = {
1391
- type: 'object',
1392
- properties: {
1393
- name: {
1394
- type: 'string'
1395
- },
1396
- summary: {
1397
- type: 'string'
1398
- },
1399
- members: {
1400
- type: 'array',
1401
- items: {
1402
- type: 'string'
1403
- }
1404
- },
1405
- extra_perms: {
1406
- type: 'object',
1407
- additionalProperties: {
1408
- type: 'boolean'
1409
- }
1410
- }
1411
- },
1412
- required: ['name']
1413
- };
1414
- exports.$InstanceGroup = {
1415
- type: 'object',
1416
- properties: {
1417
- name: {
1418
- type: 'string'
1419
- },
1420
- summary: {
1421
- type: 'string'
1422
- },
1423
- emails: {
1424
- type: 'array',
1425
- items: {
1426
- type: 'string'
1427
- }
1428
- }
1429
- },
1430
- required: ['name']
1431
- };
1432
- exports.$Folder = {
1433
- type: 'object',
1434
- properties: {
1435
- name: {
1436
- type: 'string'
1437
- },
1438
- owners: {
1439
- type: 'array',
1440
- items: {
1441
- type: 'string'
1442
- }
1443
- },
1444
- extra_perms: {
1445
- type: 'object',
1446
- additionalProperties: {
1447
- type: 'boolean'
1448
- }
1449
- }
1450
- },
1451
- required: ['name', 'owners', 'extra_perms']
1452
- };
1453
- exports.$WorkerPing = {
1454
- type: 'object',
1455
- properties: {
1456
- worker: {
1457
- type: 'string'
1458
- },
1459
- worker_instance: {
1460
- type: 'string'
1461
- },
1462
- last_ping: {
1463
- type: 'number'
1464
- },
1465
- started_at: {
1466
- type: 'string',
1467
- format: 'date-time'
1468
- },
1469
- ip: {
1470
- type: 'string'
1471
- },
1472
- jobs_executed: {
1473
- type: 'integer'
1474
- },
1475
- custom_tags: {
1476
- type: 'array',
1477
- items: {
1478
- type: 'string'
1479
- }
1480
- },
1481
- worker_group: {
1482
- type: 'string'
1483
- },
1484
- wm_version: {
1485
- type: 'string'
1486
- },
1487
- current_job_id: {
1488
- type: 'string'
1489
- },
1490
- current_job_workspace_id: {
1491
- type: 'string'
1492
- },
1493
- occupancy_rate: {
1494
- type: 'number'
1495
- }
1496
- },
1497
- required: ['worker', 'worker_instance', 'ping_at', 'started_at', 'ip', 'jobs_executed', 'worker_group', 'wm_version']
1498
- };
1499
- exports.$UserWorkspaceList = {
1500
- type: 'object',
1501
- properties: {
1502
- email: {
1503
- type: 'string'
1504
- },
1505
- workspaces: {
1506
- type: 'array',
1507
- items: {
1508
- type: 'object',
1509
- properties: {
1510
- id: {
1511
- type: 'string'
1512
- },
1513
- name: {
1514
- type: 'string'
1515
- },
1516
- username: {
1517
- type: 'string'
1518
- }
1519
- },
1520
- required: ['id', 'name', 'username']
1521
- }
1522
- }
1523
- },
1524
- required: ['email', 'workspaces']
1525
- };
1526
- exports.$CreateWorkspace = {
1527
- type: 'object',
1528
- properties: {
1529
- id: {
1530
- type: 'string'
1531
- },
1532
- name: {
1533
- type: 'string'
1534
- },
1535
- username: {
1536
- type: 'string'
1537
- }
1538
- },
1539
- required: ['id', 'name']
1540
- };
1541
- exports.$Workspace = {
1542
- type: 'object',
1543
- properties: {
1544
- id: {
1545
- type: 'string'
1546
- },
1547
- name: {
1548
- type: 'string'
1549
- },
1550
- owner: {
1551
- type: 'string'
1552
- },
1553
- domain: {
1554
- type: 'string'
1555
- }
1556
- },
1557
- required: ['id', 'name', 'owner']
1558
- };
1559
- exports.$WorkspaceInvite = {
1560
- type: 'object',
1561
- properties: {
1562
- workspace_id: {
1563
- type: 'string'
1564
- },
1565
- email: {
1566
- type: 'string'
1567
- },
1568
- is_admin: {
1569
- type: 'boolean'
1570
- },
1571
- operator: {
1572
- type: 'boolean'
1573
- }
1574
- },
1575
- required: ['workspace_id', 'email', 'is_admin', 'operator']
1576
- };
1577
- exports.$GlobalUserInfo = {
1578
- type: 'object',
1579
- properties: {
1580
- email: {
1581
- type: 'string'
1582
- },
1583
- login_type: {
1584
- type: 'string',
1585
- enum: ['password', 'github']
1586
- },
1587
- super_admin: {
1588
- type: 'boolean'
1589
- },
1590
- verified: {
1591
- type: 'boolean'
1592
- },
1593
- name: {
1594
- type: 'string'
1595
- },
1596
- company: {
1597
- type: 'string'
1598
- },
1599
- username: {
1600
- type: 'string'
1601
- }
1602
- },
1603
- required: ['email', 'login_type', 'super_admin', 'verified']
1604
- };
1605
- exports.$Flow = {
1606
- allOf: [
1607
- {
1608
- '$ref': '#/components/schemas/OpenFlow'
1609
- },
1610
- {
1611
- '$ref': '#/components/schemas/FlowMetadata'
1612
- }
1613
- ]
1614
- };
1615
- exports.$ExtraPerms = {
1616
- type: 'object',
1617
- additionalProperties: {
1618
- type: 'boolean'
1619
- }
1620
- };
1621
- exports.$FlowMetadata = {
1622
- type: 'object',
1623
- properties: {
1624
- workspace_id: {
1625
- type: 'string'
1626
- },
1627
- path: {
1628
- type: 'string'
1629
- },
1630
- edited_by: {
1631
- type: 'string'
1632
- },
1633
- edited_at: {
1634
- type: 'string',
1635
- format: 'date-time'
1636
- },
1637
- archived: {
1638
- type: 'boolean'
1639
- },
1640
- extra_perms: {
1641
- '$ref': '#/components/schemas/ExtraPerms'
1642
- },
1643
- starred: {
1644
- type: 'boolean'
1645
- },
1646
- draft_only: {
1647
- type: 'boolean'
1648
- },
1649
- tag: {
1650
- type: 'string'
1651
- },
1652
- ws_error_handler_muted: {
1653
- type: 'boolean'
1654
- },
1655
- priority: {
1656
- type: 'integer'
1657
- },
1658
- dedicated_worker: {
1659
- type: 'boolean'
1660
- },
1661
- timeout: {
1662
- type: 'number'
1663
- },
1664
- visible_to_runner_only: {
1665
- type: 'boolean'
1666
- }
1667
- },
1668
- required: ['path', 'edited_by', 'edited_at', 'archived', 'extra_perms']
1669
- };
1670
- exports.$OpenFlowWPath = {
1671
- allOf: [
1672
- {
1673
- '$ref': '#/components/schemas/OpenFlow'
1674
- },
1675
- {
1676
- type: 'object',
1677
- properties: {
1678
- path: {
1679
- type: 'string'
1680
- },
1681
- tag: {
1682
- type: 'string'
1683
- },
1684
- ws_error_handler_muted: {
1685
- type: 'boolean'
1686
- },
1687
- priority: {
1688
- type: 'integer'
1689
- },
1690
- dedicated_worker: {
1691
- type: 'boolean'
1692
- },
1693
- timeout: {
1694
- type: 'number'
1695
- },
1696
- visible_to_runner_only: {
1697
- type: 'boolean'
1698
- }
1699
- },
1700
- required: ['path']
1701
- }
1702
- ]
1703
- };
1704
- exports.$FlowPreview = {
1705
- type: 'object',
1706
- properties: {
1707
- value: {
1708
- '$ref': '#/components/schemas/FlowValue'
1709
- },
1710
- path: {
1711
- type: 'string'
1712
- },
1713
- args: {
1714
- '$ref': '#/components/schemas/ScriptArgs'
1715
- },
1716
- tag: {
1717
- type: 'string'
1718
- },
1719
- restarted_from: {
1720
- '$ref': '#/components/schemas/RestartedFrom'
1721
- }
1722
- },
1723
- required: ['value', 'content', 'args']
1724
- };
1725
- exports.$RestartedFrom = {
1726
- type: 'object',
1727
- properties: {
1728
- flow_job_id: {
1729
- type: 'string',
1730
- format: 'uuid'
1731
- },
1732
- step_id: {
1733
- type: 'string'
1734
- },
1735
- branch_or_iteration_n: {
1736
- type: 'integer'
1737
- }
1738
- }
1739
- };
1740
- exports.$Policy = {
1741
- type: 'object',
1742
- properties: {
1743
- triggerables: {
1744
- type: 'object',
1745
- additionalProperties: {
1746
- type: 'object'
1747
- }
1748
- },
1749
- triggerables_v2: {
1750
- type: 'object',
1751
- additionalProperties: {
1752
- type: 'object'
1753
- }
1754
- },
1755
- execution_mode: {
1756
- type: 'string',
1757
- enum: ['viewer', 'publisher', 'anonymous']
1758
- },
1759
- on_behalf_of: {
1760
- type: 'string'
1761
- },
1762
- on_behalf_of_email: {
1763
- type: 'string'
1764
- }
1765
- }
1766
- };
1767
- exports.$ListableApp = {
1768
- type: 'object',
1769
- properties: {
1770
- id: {
1771
- type: 'integer'
1772
- },
1773
- workspace_id: {
1774
- type: 'string'
1775
- },
1776
- path: {
1777
- type: 'string'
1778
- },
1779
- summary: {
1780
- type: 'string'
1781
- },
1782
- version: {
1783
- type: 'integer'
1784
- },
1785
- extra_perms: {
1786
- type: 'object',
1787
- additionalProperties: {
1788
- type: 'boolean'
1789
- }
1790
- },
1791
- starred: {
1792
- type: 'boolean'
1793
- },
1794
- edited_at: {
1795
- type: 'string',
1796
- format: 'date-time'
1797
- },
1798
- execution_mode: {
1799
- type: 'string',
1800
- enum: ['viewer', 'publisher', 'anonymous']
1801
- }
1802
- },
1803
- required: ['id', 'workspace_id', 'path', 'summary', 'version', 'extra_perms', 'edited_at', 'execution_mode']
1804
- };
1805
- exports.$ListableRawApp = {
1806
- type: 'object',
1807
- properties: {
1808
- workspace_id: {
1809
- type: 'string'
1810
- },
1811
- path: {
1812
- type: 'string'
1813
- },
1814
- summary: {
1815
- type: 'string'
1816
- },
1817
- extra_perms: {
1818
- type: 'object',
1819
- additionalProperties: {
1820
- type: 'boolean'
1821
- }
1822
- },
1823
- starred: {
1824
- type: 'boolean'
1825
- },
1826
- version: {
1827
- type: 'number'
1828
- },
1829
- edited_at: {
1830
- type: 'string',
1831
- format: 'date-time'
1832
- }
1833
- },
1834
- required: ['workspace_id', 'path', 'summary', 'extra_perms', 'version', 'edited_at']
1835
- };
1836
- exports.$AppWithLastVersion = {
1837
- type: 'object',
1838
- properties: {
1839
- id: {
1840
- type: 'integer'
1841
- },
1842
- workspace_id: {
1843
- type: 'string'
1844
- },
1845
- path: {
1846
- type: 'string'
1847
- },
1848
- summary: {
1849
- type: 'string'
1850
- },
1851
- versions: {
1852
- type: 'array',
1853
- items: {
1854
- type: 'integer'
1855
- }
1856
- },
1857
- created_by: {
1858
- type: 'string'
1859
- },
1860
- created_at: {
1861
- type: 'string',
1862
- format: 'date-time'
1863
- },
1864
- value: {
1865
- type: 'object'
1866
- },
1867
- policy: {
1868
- '$ref': '#/components/schemas/Policy'
1869
- },
1870
- execution_mode: {
1871
- type: 'string',
1872
- enum: ['viewer', 'publisher', 'anonymous']
1873
- },
1874
- extra_perms: {
1875
- type: 'object',
1876
- additionalProperties: {
1877
- type: 'boolean'
1878
- }
1879
- }
1880
- },
1881
- required: ['id', 'workspace_id', 'path', 'summary', 'versions', 'created_by', 'created_at', 'value', 'policy', 'execution_mode', 'extra_perms']
1882
- };
1883
- exports.$AppWithLastVersionWDraft = {
1884
- allOf: [
1885
- {
1886
- '$ref': '#/components/schemas/AppWithLastVersion'
1887
- },
1888
- {
1889
- type: 'object',
1890
- properties: {
1891
- draft_only: {
1892
- type: 'boolean'
1893
- },
1894
- draft: {}
1895
- }
1896
- }
1897
- ]
1898
- };
1899
- exports.$AppHistory = {
1900
- type: 'object',
1901
- properties: {
1902
- version: {
1903
- type: 'integer'
1904
- },
1905
- deployment_msg: {
1906
- type: 'string'
1907
- }
1908
- },
1909
- required: ['version']
1910
- };
1911
- exports.$SlackToken = {
1912
- type: 'object',
1913
- properties: {
1914
- access_token: {
1915
- type: 'string'
1916
- },
1917
- team_id: {
1918
- type: 'string'
1919
- },
1920
- team_name: {
1921
- type: 'string'
1922
- },
1923
- bot: {
1924
- type: 'object',
1925
- properties: {
1926
- bot_access_token: {
1927
- type: 'string'
1928
- }
1929
- }
1930
- }
1931
- },
1932
- required: ['access_token', 'team_id', 'team_name', 'bot']
1933
- };
1934
- exports.$TokenResponse = {
1935
- type: 'object',
1936
- properties: {
1937
- access_token: {
1938
- type: 'string'
1939
- },
1940
- expires_in: {
1941
- type: 'integer'
1942
- },
1943
- refresh_token: {
1944
- type: 'string'
1945
- },
1946
- scope: {
1947
- type: 'array',
1948
- items: {
1949
- type: 'string'
1950
- }
1951
- }
1952
- },
1953
- required: ['access_token']
1954
- };
1955
- exports.$HubScriptKind = {
1956
- name: 'kind',
1957
- schema: {
1958
- type: 'string',
1959
- enum: ['script', 'failure', 'trigger', 'approval']
1960
- }
1961
- };
1962
- exports.$PolarsClientKwargs = {
1963
- type: 'object',
1964
- properties: {
1965
- region_name: {
1966
- type: 'string'
1967
- }
1968
- },
1969
- required: ['region_name']
1970
- };
1971
- exports.$LargeFileStorage = {
1972
- type: 'object',
1973
- properties: {
1974
- type: {
1975
- type: 'string',
1976
- enum: ['S3Storage', 'AzureBlobStorage', 'AzureWorkloadIdentity', 'S3AwsOidc']
1977
- },
1978
- s3_resource_path: {
1979
- type: 'string'
1980
- },
1981
- azure_blob_resource_path: {
1982
- type: 'string'
1983
- },
1984
- public_resource: {
1985
- type: 'boolean'
1986
- }
1987
- }
1988
- };
1989
- exports.$WindmillLargeFile = {
1990
- type: 'object',
1991
- properties: {
1992
- s3: {
1993
- type: 'string'
1994
- }
1995
- },
1996
- required: ['s3']
1997
- };
1998
- exports.$WindmillFileMetadata = {
1999
- type: 'object',
2000
- properties: {
2001
- mime_type: {
2002
- type: 'string'
2003
- },
2004
- size_in_bytes: {
2005
- type: 'integer'
2006
- },
2007
- last_modified: {
2008
- type: 'string',
2009
- format: 'date-time'
2010
- },
2011
- expires: {
2012
- type: 'string',
2013
- format: 'date-time'
2014
- },
2015
- version_id: {
2016
- type: 'string'
2017
- }
2018
- }
2019
- };
2020
- exports.$WindmillFilePreview = {
2021
- type: 'object',
2022
- properties: {
2023
- msg: {
2024
- type: 'string'
2025
- },
2026
- content: {
2027
- type: 'string'
2028
- },
2029
- content_type: {
2030
- type: 'string',
2031
- enum: ['RawText', 'Csv', 'Parquet', 'Unknown']
2032
- }
2033
- },
2034
- required: ['content_type']
2035
- };
2036
- exports.$S3Resource = {
2037
- type: 'object',
2038
- properties: {
2039
- bucket: {
2040
- type: 'string'
2041
- },
2042
- region: {
2043
- type: 'string'
2044
- },
2045
- endPoint: {
2046
- type: 'string'
2047
- },
2048
- useSSL: {
2049
- type: 'boolean'
2050
- },
2051
- accessKey: {
2052
- type: 'string'
2053
- },
2054
- secretKey: {
2055
- type: 'string'
2056
- },
2057
- pathStyle: {
2058
- type: 'boolean'
2059
- }
2060
- },
2061
- required: ['bucket', 'region', 'endPoint', 'useSSL', 'pathStyle']
2062
- };
2063
- exports.$WorkspaceGitSyncSettings = {
2064
- type: 'object',
2065
- properties: {
2066
- include_path: {
2067
- type: 'array',
2068
- items: {
2069
- type: 'string'
2070
- }
2071
- },
2072
- include_type: {
2073
- type: 'array',
2074
- items: {
2075
- type: 'string',
2076
- enum: ['script', 'flow', 'app', 'folder', 'resource', 'variable', 'secret', 'resourcetype', 'schedule', 'user', 'group']
2077
- }
2078
- },
2079
- repositories: {
2080
- type: 'array',
2081
- items: {
2082
- '$ref': '#/components/schemas/GitRepositorySettings'
2083
- }
2084
- }
2085
- }
2086
- };
2087
- exports.$WorkspaceDefaultScripts = {
2088
- type: 'object',
2089
- properties: {
2090
- order: {
2091
- type: 'array',
2092
- items: {
2093
- type: 'string'
2094
- }
2095
- },
2096
- hidden: {
2097
- type: 'array',
2098
- items: {
2099
- type: 'string'
2100
- }
2101
- },
2102
- default_script_content: {
2103
- additionalProperties: {
2104
- type: 'string'
2105
- }
2106
- }
2107
- }
2108
- };
2109
- exports.$GitRepositorySettings = {
2110
- type: 'object',
2111
- properties: {
2112
- script_path: {
2113
- type: 'string'
2114
- },
2115
- git_repo_resource_path: {
2116
- type: 'string'
2117
- },
2118
- use_individual_branch: {
2119
- type: 'boolean'
2120
- },
2121
- group_by_folder: {
2122
- type: 'boolean'
2123
- },
2124
- exclude_types_override: {
2125
- type: 'array',
2126
- items: {
2127
- type: 'string',
2128
- enum: ['script', 'flow', 'app', 'folder', 'resource', 'variable', 'secret', 'resourcetype', 'schedule', 'user', 'group']
2129
- }
2130
- }
2131
- },
2132
- required: ['script_path', 'git_repo_resource_path']
2133
- };
2134
- exports.$UploadFilePart = {
2135
- type: 'object',
2136
- properties: {
2137
- part_number: {
2138
- type: 'integer'
2139
- },
2140
- tag: {
2141
- type: 'string'
2142
- }
2143
- },
2144
- required: ['part_number', 'tag']
2145
- };
2146
- exports.$MetricMetadata = {
2147
- type: 'object',
2148
- properties: {
2149
- id: {
2150
- type: 'string'
2151
- },
2152
- name: {
2153
- type: 'string'
2154
- }
2155
- },
2156
- required: ['id']
2157
- };
2158
- exports.$ScalarMetric = {
2159
- type: 'object',
2160
- properties: {
2161
- metric_id: {
2162
- type: 'string'
2163
- },
2164
- value: {
2165
- type: 'number'
2166
- }
2167
- },
2168
- required: ['id', 'value']
2169
- };
2170
- exports.$TimeseriesMetric = {
2171
- type: 'object',
2172
- properties: {
2173
- metric_id: {
2174
- type: 'string'
2175
- },
2176
- values: {
2177
- type: 'array',
2178
- items: {
2179
- '$ref': '#/components/schemas/MetricDataPoint'
2180
- }
2181
- }
2182
- },
2183
- required: ['id', 'values']
2184
- };
2185
- exports.$MetricDataPoint = {
2186
- type: 'object',
2187
- properties: {
2188
- timestamp: {
2189
- type: 'string',
2190
- format: 'date-time'
2191
- },
2192
- value: {
2193
- type: 'number'
2194
- }
2195
- },
2196
- required: ['timestamp', 'value']
2197
- };
2198
- exports.$RawScriptForDependencies = {
2199
- type: 'object',
2200
- properties: {
2201
- raw_code: {
2202
- type: 'string'
2203
- },
2204
- path: {
2205
- type: 'string'
2206
- },
2207
- language: {
2208
- type: 'string',
2209
- enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets', 'bun']
2210
- }
2211
- },
2212
- required: ['raw_code', 'path', 'language']
2213
- };
2214
- exports.$ConcurrencyGroup = {
2215
- type: 'object',
2216
- properties: {
2217
- concurrency_id: {
2218
- type: 'string'
2219
- },
2220
- job_uuids: {
2221
- type: 'array',
2222
- items: {
2223
- type: 'string'
2224
- }
2225
- }
2226
- },
2227
- required: ['concurrency_id', 'job_uuids']
2228
- };
2229
- exports.$OpenFlow = {
2230
- type: 'object',
2231
- properties: {
2232
- summary: {
2233
- type: 'string'
2234
- },
2235
- description: {
2236
- type: 'string'
2237
- },
2238
- value: {
2239
- '$ref': '#/components/schemas/FlowValue'
2240
- },
2241
- schema: {
2242
- type: 'object'
2243
- }
2244
- },
2245
- required: ['summary', 'value']
2246
- };
2247
- exports.$FlowValue = {
2248
- type: 'object',
2249
- properties: {
2250
- modules: {
2251
- type: 'array',
2252
- items: {
2253
- '$ref': '#/components/schemas/FlowModule'
2254
- }
2255
- },
2256
- failure_module: {
2257
- '$ref': '#/components/schemas/FlowModule'
2258
- },
2259
- same_worker: {
2260
- type: 'boolean'
2261
- },
2262
- concurrent_limit: {
2263
- type: 'number'
2264
- },
2265
- concurrency_key: {
2266
- type: 'string'
2267
- },
2268
- concurrency_time_window_s: {
2269
- type: 'number'
2270
- },
2271
- skip_expr: {
2272
- type: 'string'
2273
- },
2274
- cache_ttl: {
2275
- type: 'number'
2276
- },
2277
- priority: {
2278
- type: 'number'
2279
- },
2280
- early_return: {
2281
- type: 'string'
2282
- }
2283
- },
2284
- required: ['modules']
2285
- };
2286
- exports.$Retry = {
2287
- type: 'object',
2288
- properties: {
2289
- constant: {
2290
- type: 'object',
2291
- properties: {
2292
- attempts: {
2293
- type: 'integer'
2294
- },
2295
- seconds: {
2296
- type: 'integer'
2297
- }
2298
- }
2299
- },
2300
- exponential: {
2301
- type: 'object',
2302
- properties: {
2303
- attempts: {
2304
- type: 'integer'
2305
- },
2306
- multiplier: {
2307
- type: 'integer'
2308
- },
2309
- seconds: {
2310
- type: 'integer'
2311
- },
2312
- random_factor: {
2313
- type: 'integer',
2314
- minimum: 0,
2315
- maximum: 100
2316
- }
2317
- }
2318
- }
2319
- }
2320
- };
2321
- exports.$FlowModule = {
2322
- type: 'object',
2323
- properties: {
2324
- id: {
2325
- type: 'string'
2326
- },
2327
- value: {
2328
- '$ref': '#/components/schemas/FlowModuleValue'
2329
- },
2330
- stop_after_if: {
2331
- type: 'object',
2332
- properties: {
2333
- skip_if_stopped: {
2334
- type: 'boolean'
2335
- },
2336
- expr: {
2337
- type: 'string'
2338
- }
2339
- },
2340
- required: ['expr']
2341
- },
2342
- sleep: {
2343
- '$ref': '#/components/schemas/InputTransform'
2344
- },
2345
- cache_ttl: {
2346
- type: 'number'
2347
- },
2348
- timeout: {
2349
- type: 'number'
2350
- },
2351
- delete_after_use: {
2352
- type: 'boolean'
2353
- },
2354
- summary: {
2355
- type: 'string'
2356
- },
2357
- mock: {
2358
- type: 'object',
2359
- properties: {
2360
- enabled: {
2361
- type: 'boolean'
2362
- },
2363
- return_value: {}
2364
- }
2365
- },
2366
- suspend: {
2367
- type: 'object',
2368
- properties: {
2369
- required_events: {
2370
- type: 'integer'
2371
- },
2372
- timeout: {
2373
- type: 'integer'
2374
- },
2375
- resume_form: {
2376
- type: 'object',
2377
- properties: {
2378
- schema: {
2379
- type: 'object'
2380
- }
2381
- }
2382
- },
2383
- user_auth_required: {
2384
- type: 'boolean'
2385
- },
2386
- user_groups_required: {
2387
- '$ref': '#/components/schemas/InputTransform'
2388
- },
2389
- self_approval_disabled: {
2390
- type: 'boolean'
2391
- },
2392
- hide_cancel: {
2393
- type: 'boolean'
2394
- }
2395
- }
2396
- },
2397
- priority: {
2398
- type: 'number'
2399
- },
2400
- continue_on_error: {
2401
- type: 'boolean'
2402
- },
2403
- retry: {
2404
- '$ref': '#/components/schemas/Retry'
2405
- }
2406
- },
2407
- required: ['value', 'id']
2408
- };
2409
- exports.$InputTransform = {
2410
- oneOf: [
2411
- {
2412
- '$ref': '#/components/schemas/StaticTransform'
2413
- },
2414
- {
2415
- '$ref': '#/components/schemas/JavascriptTransform'
2416
- }
2417
- ],
2418
- discriminator: {
2419
- propertyName: 'type',
2420
- mapping: {
2421
- static: '#/components/schemas/StaticTransform',
2422
- javascript: '#/components/schemas/JavascriptTransform'
2423
- }
2424
- }
2425
- };
2426
- exports.$StaticTransform = {
2427
- type: 'object',
2428
- properties: {
2429
- value: {},
2430
- type: {
2431
- type: 'string',
2432
- enum: ['javascript']
2433
- }
2434
- },
2435
- required: ['expr', 'type']
2436
- };
2437
- exports.$JavascriptTransform = {
2438
- type: 'object',
2439
- properties: {
2440
- expr: {
2441
- type: 'string'
2442
- },
2443
- type: {
2444
- type: 'string',
2445
- enum: ['javascript']
2446
- }
2447
- },
2448
- required: ['expr', 'type']
2449
- };
2450
- exports.$FlowModuleValue = {
2451
- oneOf: [
2452
- {
2453
- '$ref': '#/components/schemas/RawScript'
2454
- },
2455
- {
2456
- '$ref': '#/components/schemas/PathScript'
2457
- },
2458
- {
2459
- '$ref': '#/components/schemas/PathFlow'
2460
- },
2461
- {
2462
- '$ref': '#/components/schemas/ForloopFlow'
2463
- },
2464
- {
2465
- '$ref': '#/components/schemas/WhileloopFlow'
2466
- },
2467
- {
2468
- '$ref': '#/components/schemas/BranchOne'
2469
- },
2470
- {
2471
- '$ref': '#/components/schemas/BranchAll'
2472
- },
2473
- {
2474
- '$ref': '#/components/schemas/Identity'
2475
- }
2476
- ],
2477
- discriminator: {
2478
- propertyName: 'type',
2479
- mapping: {
2480
- rawscript: '#/components/schemas/RawScript',
2481
- script: '#/components/schemas/PathScript',
2482
- flow: '#/components/schemas/PathFlow',
2483
- forloopflow: '#/components/schemas/ForloopFlow',
2484
- whileloopflow: '#/components/schemas/WhileloopFlow',
2485
- branchone: '#/components/schemas/BranchOne',
2486
- branchall: '#/components/schemas/BranchAll',
2487
- identity: '#/components/schemas/Identity'
2488
- }
2489
- }
2490
- };
2491
- exports.$RawScript = {
2492
- type: 'object',
2493
- properties: {
2494
- input_transforms: {
2495
- type: 'object',
2496
- additionalProperties: {
2497
- '$ref': '#/components/schemas/InputTransform'
2498
- }
2499
- },
2500
- content: {
2501
- type: 'string'
2502
- },
2503
- language: {
2504
- type: 'string',
2505
- enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'graphql', 'nativets']
2506
- },
2507
- path: {
2508
- type: 'string'
2509
- },
2510
- lock: {
2511
- type: 'string'
2512
- },
2513
- type: {
2514
- type: 'string',
2515
- enum: ['rawscript']
2516
- },
2517
- tag: {
2518
- type: 'string'
2519
- },
2520
- concurrent_limit: {
2521
- type: 'number'
2522
- },
2523
- concurrency_time_window_s: {
2524
- type: 'number'
2525
- }
2526
- },
2527
- required: ['type', 'content', 'language', 'input_transforms']
2528
- };
2529
- exports.$PathScript = {
2530
- type: 'object',
2531
- properties: {
2532
- input_transforms: {
2533
- type: 'object',
2534
- additionalProperties: {
2535
- '$ref': '#/components/schemas/InputTransform'
2536
- }
2537
- },
2538
- path: {
2539
- type: 'string'
2540
- },
2541
- hash: {
2542
- type: 'string'
2543
- },
2544
- type: {
2545
- type: 'string',
2546
- enum: ['script']
2547
- }
2548
- },
2549
- required: ['type', 'path', 'input_transforms']
2550
- };
2551
- exports.$PathFlow = {
2552
- type: 'object',
2553
- properties: {
2554
- input_transforms: {
2555
- type: 'object',
2556
- additionalProperties: {
2557
- '$ref': '#/components/schemas/InputTransform'
2558
- }
2559
- },
2560
- path: {
2561
- type: 'string'
2562
- },
2563
- type: {
2564
- type: 'string',
2565
- enum: ['flow']
2566
- }
2567
- },
2568
- required: ['type', 'path', 'input_transforms']
2569
- };
2570
- exports.$ForloopFlow = {
2571
- type: 'object',
2572
- properties: {
2573
- modules: {
2574
- type: 'array',
2575
- items: {
2576
- '$ref': '#/components/schemas/FlowModule'
2577
- }
2578
- },
2579
- iterator: {
2580
- '$ref': '#/components/schemas/InputTransform'
2581
- },
2582
- skip_failures: {
2583
- type: 'boolean'
2584
- },
2585
- type: {
2586
- type: 'string',
2587
- enum: ['forloopflow']
2588
- },
2589
- parallel: {
2590
- type: 'boolean'
2591
- },
2592
- parallelism: {
2593
- type: 'integer'
2594
- }
2595
- },
2596
- required: ['modules', 'iterator', 'skip_failures', 'type']
2597
- };
2598
- exports.$WhileloopFlow = {
2599
- type: 'object',
2600
- properties: {
2601
- modules: {
2602
- type: 'array',
2603
- items: {
2604
- '$ref': '#/components/schemas/FlowModule'
2605
- }
2606
- },
2607
- skip_failures: {
2608
- type: 'boolean'
2609
- },
2610
- type: {
2611
- type: 'string',
2612
- enum: ['forloopflow']
2613
- },
2614
- parallel: {
2615
- type: 'boolean'
2616
- },
2617
- parallelism: {
2618
- type: 'integer'
2619
- }
2620
- },
2621
- required: ['modules', 'skip_failures', 'type']
2622
- };
2623
- exports.$BranchOne = {
2624
- type: 'object',
2625
- properties: {
2626
- branches: {
2627
- type: 'array',
2628
- items: {
2629
- type: 'object',
2630
- properties: {
2631
- summary: {
2632
- type: 'string'
2633
- },
2634
- expr: {
2635
- type: 'string'
2636
- },
2637
- modules: {
2638
- type: 'array',
2639
- items: {
2640
- '$ref': '#/components/schemas/FlowModule'
2641
- }
2642
- }
2643
- },
2644
- required: ['modules', 'expr']
2645
- }
2646
- },
2647
- default: {
2648
- type: 'array',
2649
- items: {
2650
- '$ref': '#/components/schemas/FlowModule'
2651
- },
2652
- required: ['modules']
2653
- },
2654
- type: {
2655
- type: 'string',
2656
- enum: ['branchone']
2657
- }
2658
- },
2659
- required: ['branches', 'default', 'type']
2660
- };
2661
- exports.$BranchAll = {
2662
- type: 'object',
2663
- properties: {
2664
- branches: {
2665
- type: 'array',
2666
- items: {
2667
- type: 'object',
2668
- properties: {
2669
- summary: {
2670
- type: 'string'
2671
- },
2672
- skip_failure: {
2673
- type: 'boolean'
2674
- },
2675
- modules: {
2676
- type: 'array',
2677
- items: {
2678
- '$ref': '#/components/schemas/FlowModule'
2679
- }
2680
- }
2681
- },
2682
- required: ['modules', 'expr']
2683
- }
2684
- },
2685
- type: {
2686
- type: 'string',
2687
- enum: ['branchall']
2688
- },
2689
- parallel: {
2690
- type: 'boolean'
2691
- }
2692
- },
2693
- required: ['branches', 'type']
2694
- };
2695
- exports.$Identity = {
2696
- type: 'object',
2697
- properties: {
2698
- type: {
2699
- type: 'string',
2700
- enum: ['identity']
2701
- },
2702
- flow: {
2703
- type: 'boolean'
2704
- }
2705
- },
2706
- required: ['type']
2707
- };
2708
- exports.$FlowStatus = {
2709
- type: 'object',
2710
- properties: {
2711
- step: {
2712
- type: 'integer'
2713
- },
2714
- modules: {
2715
- type: 'array',
2716
- items: {
2717
- '$ref': '#/components/schemas/FlowStatusModule'
2718
- }
2719
- },
2720
- user_states: {
2721
- additionalProperties: true
2722
- },
2723
- failure_module: {
2724
- allOf: [
2725
- {
2726
- '$ref': '#/components/schemas/FlowStatusModule'
2727
- },
2728
- {
2729
- type: 'object',
2730
- properties: {
2731
- parent_module: {
2732
- type: 'string'
2733
- }
2734
- }
2735
- }
2736
- ]
2737
- },
2738
- retry: {
2739
- type: 'object',
2740
- properties: {
2741
- fail_count: {
2742
- type: 'integer'
2743
- },
2744
- failed_jobs: {
2745
- type: 'array',
2746
- items: {
2747
- type: 'string',
2748
- format: 'uuid'
2749
- }
2750
- }
2751
- }
2752
- }
2753
- },
2754
- required: ['step', 'modules', 'failure_module']
2755
- };
2756
- exports.$FlowStatusModule = {
2757
- type: 'object',
2758
- properties: {
2759
- type: {
2760
- type: 'string',
2761
- enum: ['WaitingForPriorSteps', 'WaitingForEvents', 'WaitingForExecutor', 'InProgress', 'Success', 'Failure']
2762
- },
2763
- id: {
2764
- type: 'string'
2765
- },
2766
- job: {
2767
- type: 'string',
2768
- format: 'uuid'
2769
- },
2770
- count: {
2771
- type: 'integer'
2772
- },
2773
- iterator: {
2774
- type: 'object',
2775
- properties: {
2776
- index: {
2777
- type: 'integer'
2778
- },
2779
- itered: {
2780
- type: 'array',
2781
- items: {}
2782
- },
2783
- args: {}
2784
- }
2785
- },
2786
- flow_jobs: {
2787
- type: 'array',
2788
- items: {
2789
- type: 'string'
2790
- }
2791
- },
2792
- branch_chosen: {
2793
- type: 'object',
2794
- properties: {
2795
- type: {
2796
- type: 'string',
2797
- enum: ['branch', 'default']
2798
- },
2799
- branch: {
2800
- type: 'integer'
2801
- }
2802
- },
2803
- required: ['type']
2804
- },
2805
- branchall: {
2806
- type: 'object',
2807
- properties: {
2808
- branch: {
2809
- type: 'integer'
2810
- },
2811
- len: {
2812
- type: 'integer'
2813
- }
2814
- },
2815
- required: ['branch', 'len']
2816
- },
2817
- approvers: {
2818
- type: 'array',
2819
- items: {
2820
- type: 'object',
2821
- properties: {
2822
- resume_id: {
2823
- type: 'integer'
2824
- },
2825
- approver: {
2826
- type: 'string'
2827
- }
2828
- },
2829
- required: ['resume_id', 'approver']
2830
- }
2831
- }
2832
- },
2833
- required: ['type']
2834
- };