@walkeros/cli 2.2.0-next-1772811722420 → 2.2.0-next-1773136823705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -7
- package/README.md +2 -2
- package/dist/cli.js +13117 -11794
- package/dist/examples/README.md +1 -1
- package/dist/index.d.ts +101 -122
- package/dist/index.js +1528 -850
- package/dist/index.js.map +1 -1
- package/examples/README.md +1 -1
- package/package.json +8 -5
- package/dist/runtime/main.js +0 -17484
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as openapi_fetch from 'openapi-fetch';
|
|
|
8
8
|
* CLI Build Configuration
|
|
9
9
|
*
|
|
10
10
|
* CLI-specific build options for walkerOS bundle generation.
|
|
11
|
-
* Uses Flow.
|
|
11
|
+
* Uses Flow.Config and Flow.Settings from @walkeros/core for config structure.
|
|
12
12
|
*
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
*/
|
|
@@ -18,7 +18,7 @@ import * as openapi_fetch from 'openapi-fetch';
|
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
20
|
* These are CLI-only options not part of the config file.
|
|
21
|
-
* The config file uses Flow.
|
|
21
|
+
* The config file uses Flow.Config from @walkeros/core.
|
|
22
22
|
*
|
|
23
23
|
* Platform-derived defaults:
|
|
24
24
|
* - web: format=iife, target=es2020, platform=browser
|
|
@@ -171,7 +171,7 @@ declare function bundleCommand(options: BundleCommandOptions): Promise<void>;
|
|
|
171
171
|
*
|
|
172
172
|
* Handles configuration loading, parsing, and logger creation internally.
|
|
173
173
|
*
|
|
174
|
-
* @param configOrPath - Bundle configuration (Flow.
|
|
174
|
+
* @param configOrPath - Bundle configuration (Flow.Config) or path to config file
|
|
175
175
|
* @param options - Bundle options
|
|
176
176
|
* @param options.silent - Suppress all output (default: false)
|
|
177
177
|
* @param options.verbose - Enable verbose logging (default: false)
|
|
@@ -182,7 +182,7 @@ declare function bundleCommand(options: BundleCommandOptions): Promise<void>;
|
|
|
182
182
|
*
|
|
183
183
|
* @example
|
|
184
184
|
* ```typescript
|
|
185
|
-
* // With Flow.
|
|
185
|
+
* // With Flow.Config config object
|
|
186
186
|
* await bundle({
|
|
187
187
|
* version: 1,
|
|
188
188
|
* flows: {
|
|
@@ -339,7 +339,7 @@ interface ExampleLookupResult {
|
|
|
339
339
|
* @param stepTarget - Optional step target in "type.name" format
|
|
340
340
|
* @returns The found example with its location
|
|
341
341
|
*/
|
|
342
|
-
declare function findExample(config: Flow.
|
|
342
|
+
declare function findExample(config: Flow.Settings, exampleName: string, stepTarget?: string): ExampleLookupResult;
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* Compare simulation output against expected example output.
|
|
@@ -472,49 +472,47 @@ declare function push(configOrPath: string | unknown, event: unknown, options?:
|
|
|
472
472
|
/**
|
|
473
473
|
* Run Command Types
|
|
474
474
|
*
|
|
475
|
-
* Types for running walkerOS flows via CLI
|
|
475
|
+
* Types for running walkerOS flows via CLI or Docker.
|
|
476
476
|
*/
|
|
477
477
|
/**
|
|
478
478
|
* CLI command options for `walkeros run`
|
|
479
479
|
*/
|
|
480
480
|
interface RunCommandOptions {
|
|
481
481
|
/** Flow configuration file path (.json or pre-built .mjs) */
|
|
482
|
-
config
|
|
482
|
+
config?: string;
|
|
483
483
|
/** Server port (overrides flow config) */
|
|
484
484
|
port?: number;
|
|
485
|
-
/**
|
|
486
|
-
|
|
485
|
+
/** Flow name for multi-flow configs */
|
|
486
|
+
flow?: string;
|
|
487
|
+
/** API flow ID (enables heartbeat, polling, secrets) */
|
|
488
|
+
flowId?: string;
|
|
489
|
+
/** Project ID */
|
|
490
|
+
project?: string;
|
|
487
491
|
/** Enable JSON output */
|
|
488
492
|
json?: boolean;
|
|
489
493
|
/** Verbose logging */
|
|
490
494
|
verbose?: boolean;
|
|
491
495
|
/** Suppress output */
|
|
492
496
|
silent?: boolean;
|
|
493
|
-
/** Deployment slug (enables heartbeat to walkerOS app) */
|
|
494
|
-
deployment?: string;
|
|
495
|
-
/** Project ID (used with --deploy) */
|
|
496
|
-
project?: string;
|
|
497
|
-
/** Public URL of this server (used with --deploy) */
|
|
498
|
-
url?: string;
|
|
499
|
-
/** Health check endpoint path (used with --deploy, default: /health) */
|
|
500
|
-
healthEndpoint?: string;
|
|
501
|
-
/** Heartbeat interval in seconds (used with --deploy, default: 60) */
|
|
502
|
-
heartbeatInterval?: number;
|
|
503
497
|
}
|
|
504
498
|
/**
|
|
505
|
-
* Programmatic run options
|
|
499
|
+
* Programmatic run options
|
|
506
500
|
*/
|
|
507
501
|
interface RunOptions {
|
|
508
502
|
/** Flow configuration file path (.json or pre-built .mjs) */
|
|
509
|
-
config
|
|
503
|
+
config?: string;
|
|
510
504
|
/** Server port */
|
|
511
505
|
port?: number;
|
|
512
|
-
/**
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
|
|
506
|
+
/** Flow name for multi-flow configs */
|
|
507
|
+
flow?: string;
|
|
508
|
+
/** API flow ID (enables heartbeat, polling, secrets) */
|
|
509
|
+
flowId?: string;
|
|
510
|
+
/** Project ID */
|
|
511
|
+
project?: string;
|
|
516
512
|
/** Verbose logging */
|
|
517
513
|
verbose?: boolean;
|
|
514
|
+
/** Suppress output */
|
|
515
|
+
silent?: boolean;
|
|
518
516
|
}
|
|
519
517
|
/**
|
|
520
518
|
* Result from running a flow
|
|
@@ -533,35 +531,16 @@ interface RunResult {
|
|
|
533
531
|
/**
|
|
534
532
|
* Run Command
|
|
535
533
|
*
|
|
536
|
-
*
|
|
534
|
+
* Unified entry point for running walkerOS flows.
|
|
535
|
+
* Used by both `walkeros run` (CLI) and Docker containers.
|
|
537
536
|
*/
|
|
538
537
|
|
|
539
538
|
/**
|
|
540
539
|
* CLI command function for `walkeros run`
|
|
541
|
-
*
|
|
542
|
-
* @param options - Command options
|
|
543
540
|
*/
|
|
544
541
|
declare function runCommand(options: RunCommandOptions): Promise<void>;
|
|
545
542
|
/**
|
|
546
543
|
* Programmatic run function
|
|
547
|
-
*
|
|
548
|
-
* @param options - Run options
|
|
549
|
-
* @returns Run result
|
|
550
|
-
*
|
|
551
|
-
* @example
|
|
552
|
-
* ```typescript
|
|
553
|
-
* // Run with JSON config (bundles automatically)
|
|
554
|
-
* await run({
|
|
555
|
-
* config: './flow.json',
|
|
556
|
-
* port: 8080
|
|
557
|
-
* });
|
|
558
|
-
*
|
|
559
|
-
* // Run with pre-built bundle
|
|
560
|
-
* await run({
|
|
561
|
-
* config: './flow.mjs',
|
|
562
|
-
* port: 8080
|
|
563
|
-
* });
|
|
564
|
-
* ```
|
|
565
544
|
*/
|
|
566
545
|
declare function run(options: RunOptions): Promise<RunResult>;
|
|
567
546
|
|
|
@@ -719,7 +698,7 @@ declare function listFlows(options?: ListFlowsOptions): Promise<{
|
|
|
719
698
|
id: string;
|
|
720
699
|
name: string;
|
|
721
700
|
summary?: string | undefined;
|
|
722
|
-
|
|
701
|
+
settings?: {
|
|
723
702
|
id: string;
|
|
724
703
|
name: string;
|
|
725
704
|
platform: "web" | "server";
|
|
@@ -739,7 +718,7 @@ declare function getFlow(options: {
|
|
|
739
718
|
}): Promise<{
|
|
740
719
|
id: string;
|
|
741
720
|
name: string;
|
|
742
|
-
|
|
721
|
+
config: {
|
|
743
722
|
version: 2;
|
|
744
723
|
$schema?: string | undefined;
|
|
745
724
|
include?: string[] | undefined;
|
|
@@ -756,7 +735,7 @@ declare function getFlow(options: {
|
|
|
756
735
|
[x: string]: unknown;
|
|
757
736
|
} | undefined;
|
|
758
737
|
};
|
|
759
|
-
|
|
738
|
+
settings?: {
|
|
760
739
|
id: string;
|
|
761
740
|
name: string;
|
|
762
741
|
platform: "web" | "server";
|
|
@@ -784,7 +763,7 @@ declare function createFlow(options: {
|
|
|
784
763
|
}): Promise<{
|
|
785
764
|
id: string;
|
|
786
765
|
name: string;
|
|
787
|
-
|
|
766
|
+
config: {
|
|
788
767
|
version: 2;
|
|
789
768
|
$schema?: string | undefined;
|
|
790
769
|
include?: string[] | undefined;
|
|
@@ -801,7 +780,7 @@ declare function createFlow(options: {
|
|
|
801
780
|
[x: string]: unknown;
|
|
802
781
|
} | undefined;
|
|
803
782
|
};
|
|
804
|
-
|
|
783
|
+
settings?: {
|
|
805
784
|
id: string;
|
|
806
785
|
name: string;
|
|
807
786
|
platform: "web" | "server";
|
|
@@ -821,7 +800,7 @@ declare function updateFlow(options: {
|
|
|
821
800
|
}): Promise<{
|
|
822
801
|
id: string;
|
|
823
802
|
name: string;
|
|
824
|
-
|
|
803
|
+
config: {
|
|
825
804
|
version: 2;
|
|
826
805
|
$schema?: string | undefined;
|
|
827
806
|
include?: string[] | undefined;
|
|
@@ -854,7 +833,7 @@ declare function duplicateFlow(options: {
|
|
|
854
833
|
}): Promise<{
|
|
855
834
|
id: string;
|
|
856
835
|
name: string;
|
|
857
|
-
|
|
836
|
+
config: {
|
|
858
837
|
version: 2;
|
|
859
838
|
$schema?: string | undefined;
|
|
860
839
|
include?: string[] | undefined;
|
|
@@ -871,7 +850,7 @@ declare function duplicateFlow(options: {
|
|
|
871
850
|
[x: string]: unknown;
|
|
872
851
|
} | undefined;
|
|
873
852
|
};
|
|
874
|
-
|
|
853
|
+
settings?: {
|
|
875
854
|
id: string;
|
|
876
855
|
name: string;
|
|
877
856
|
platform: "web" | "server";
|
|
@@ -2434,7 +2413,7 @@ interface paths {
|
|
|
2434
2413
|
put?: never;
|
|
2435
2414
|
/**
|
|
2436
2415
|
* Start deployment
|
|
2437
|
-
* @description Start a new deployment for a flow. Returns 400 AMBIGUOUS_CONFIG if the flow has multiple named
|
|
2416
|
+
* @description Start a new deployment for a flow. Returns 400 AMBIGUOUS_CONFIG if the flow has multiple named settings — use the per-settings deploy endpoint instead.
|
|
2438
2417
|
*/
|
|
2439
2418
|
post: {
|
|
2440
2419
|
parameters: {
|
|
@@ -2703,7 +2682,7 @@ interface paths {
|
|
|
2703
2682
|
patch?: never;
|
|
2704
2683
|
trace?: never;
|
|
2705
2684
|
};
|
|
2706
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2685
|
+
'/api/projects/{projectId}/flows/{flowId}/settings': {
|
|
2707
2686
|
parameters: {
|
|
2708
2687
|
query?: never;
|
|
2709
2688
|
header?: never;
|
|
@@ -2711,8 +2690,8 @@ interface paths {
|
|
|
2711
2690
|
cookie?: never;
|
|
2712
2691
|
};
|
|
2713
2692
|
/**
|
|
2714
|
-
* List
|
|
2715
|
-
* @description List active named
|
|
2693
|
+
* List settings
|
|
2694
|
+
* @description List active named settings for a flow.
|
|
2716
2695
|
*/
|
|
2717
2696
|
get: {
|
|
2718
2697
|
parameters: {
|
|
@@ -2726,13 +2705,13 @@ interface paths {
|
|
|
2726
2705
|
};
|
|
2727
2706
|
requestBody?: never;
|
|
2728
2707
|
responses: {
|
|
2729
|
-
/** @description List of
|
|
2708
|
+
/** @description List of settings */
|
|
2730
2709
|
200: {
|
|
2731
2710
|
headers: {
|
|
2732
2711
|
[name: string]: unknown;
|
|
2733
2712
|
};
|
|
2734
2713
|
content: {
|
|
2735
|
-
'application/json': components['schemas']['
|
|
2714
|
+
'application/json': components['schemas']['ListSettingsResponse'];
|
|
2736
2715
|
};
|
|
2737
2716
|
};
|
|
2738
2717
|
/** @description Unauthorized */
|
|
@@ -2763,7 +2742,7 @@ interface paths {
|
|
|
2763
2742
|
patch?: never;
|
|
2764
2743
|
trace?: never;
|
|
2765
2744
|
};
|
|
2766
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2745
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}': {
|
|
2767
2746
|
parameters: {
|
|
2768
2747
|
query?: never;
|
|
2769
2748
|
header?: never;
|
|
@@ -2771,8 +2750,8 @@ interface paths {
|
|
|
2771
2750
|
cookie?: never;
|
|
2772
2751
|
};
|
|
2773
2752
|
/**
|
|
2774
|
-
* Get
|
|
2775
|
-
* @description Get a single
|
|
2753
|
+
* Get settings
|
|
2754
|
+
* @description Get a single settings entry with its latest deployment.
|
|
2776
2755
|
*/
|
|
2777
2756
|
get: {
|
|
2778
2757
|
parameters: {
|
|
@@ -2781,19 +2760,19 @@ interface paths {
|
|
|
2781
2760
|
path: {
|
|
2782
2761
|
projectId: string;
|
|
2783
2762
|
flowId: string;
|
|
2784
|
-
|
|
2763
|
+
settingsId: string;
|
|
2785
2764
|
};
|
|
2786
2765
|
cookie?: never;
|
|
2787
2766
|
};
|
|
2788
2767
|
requestBody?: never;
|
|
2789
2768
|
responses: {
|
|
2790
|
-
/** @description
|
|
2769
|
+
/** @description Settings details with deployment */
|
|
2791
2770
|
200: {
|
|
2792
2771
|
headers: {
|
|
2793
2772
|
[name: string]: unknown;
|
|
2794
2773
|
};
|
|
2795
2774
|
content: {
|
|
2796
|
-
'application/json': components['schemas']['
|
|
2775
|
+
'application/json': components['schemas']['FlowSettingsDetail'];
|
|
2797
2776
|
};
|
|
2798
2777
|
};
|
|
2799
2778
|
/** @description Unauthorized */
|
|
@@ -2824,7 +2803,7 @@ interface paths {
|
|
|
2824
2803
|
patch?: never;
|
|
2825
2804
|
trace?: never;
|
|
2826
2805
|
};
|
|
2827
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2806
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/json': {
|
|
2828
2807
|
parameters: {
|
|
2829
2808
|
query?: never;
|
|
2830
2809
|
header?: never;
|
|
@@ -2832,8 +2811,8 @@ interface paths {
|
|
|
2832
2811
|
cookie?: never;
|
|
2833
2812
|
};
|
|
2834
2813
|
/**
|
|
2835
|
-
* Download
|
|
2836
|
-
* @description Download the named flow
|
|
2814
|
+
* Download settings JSON
|
|
2815
|
+
* @description Download the named flow settings as a self-contained Setup JSON file. Includes parent variables and definitions.
|
|
2837
2816
|
*/
|
|
2838
2817
|
get: {
|
|
2839
2818
|
parameters: {
|
|
@@ -2842,7 +2821,7 @@ interface paths {
|
|
|
2842
2821
|
path: {
|
|
2843
2822
|
projectId: string;
|
|
2844
2823
|
flowId: string;
|
|
2845
|
-
|
|
2824
|
+
settingsId: string;
|
|
2846
2825
|
};
|
|
2847
2826
|
cookie?: never;
|
|
2848
2827
|
};
|
|
@@ -2885,7 +2864,7 @@ interface paths {
|
|
|
2885
2864
|
patch?: never;
|
|
2886
2865
|
trace?: never;
|
|
2887
2866
|
};
|
|
2888
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2867
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/bundle': {
|
|
2889
2868
|
parameters: {
|
|
2890
2869
|
query?: never;
|
|
2891
2870
|
header?: never;
|
|
@@ -2893,8 +2872,8 @@ interface paths {
|
|
|
2893
2872
|
cookie?: never;
|
|
2894
2873
|
};
|
|
2895
2874
|
/**
|
|
2896
|
-
* Download
|
|
2897
|
-
* @description Download the compiled JS/MJS for the
|
|
2875
|
+
* Download settings bundle
|
|
2876
|
+
* @description Download the compiled JS/MJS for the settings' latest deployment. Redirects to a presigned download URL.
|
|
2898
2877
|
*/
|
|
2899
2878
|
get: {
|
|
2900
2879
|
parameters: {
|
|
@@ -2903,7 +2882,7 @@ interface paths {
|
|
|
2903
2882
|
path: {
|
|
2904
2883
|
projectId: string;
|
|
2905
2884
|
flowId: string;
|
|
2906
|
-
|
|
2885
|
+
settingsId: string;
|
|
2907
2886
|
};
|
|
2908
2887
|
cookie?: never;
|
|
2909
2888
|
};
|
|
@@ -2953,7 +2932,7 @@ interface paths {
|
|
|
2953
2932
|
patch?: never;
|
|
2954
2933
|
trace?: never;
|
|
2955
2934
|
};
|
|
2956
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2935
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deploy': {
|
|
2957
2936
|
parameters: {
|
|
2958
2937
|
query?: never;
|
|
2959
2938
|
header?: never;
|
|
@@ -2961,8 +2940,8 @@ interface paths {
|
|
|
2961
2940
|
cookie?: never;
|
|
2962
2941
|
};
|
|
2963
2942
|
/**
|
|
2964
|
-
* Get latest
|
|
2965
|
-
* @description Get the latest deployment for a specific
|
|
2943
|
+
* Get latest settings deployment
|
|
2944
|
+
* @description Get the latest deployment for a specific settings entry.
|
|
2966
2945
|
*/
|
|
2967
2946
|
get: {
|
|
2968
2947
|
parameters: {
|
|
@@ -2971,7 +2950,7 @@ interface paths {
|
|
|
2971
2950
|
path: {
|
|
2972
2951
|
projectId: string;
|
|
2973
2952
|
flowId: string;
|
|
2974
|
-
|
|
2953
|
+
settingsId: string;
|
|
2975
2954
|
};
|
|
2976
2955
|
cookie?: never;
|
|
2977
2956
|
};
|
|
@@ -2983,7 +2962,7 @@ interface paths {
|
|
|
2983
2962
|
[name: string]: unknown;
|
|
2984
2963
|
};
|
|
2985
2964
|
content: {
|
|
2986
|
-
'application/json': components['schemas']['
|
|
2965
|
+
'application/json': components['schemas']['SettingsDeploymentResponse'];
|
|
2987
2966
|
};
|
|
2988
2967
|
};
|
|
2989
2968
|
/** @description Unauthorized */
|
|
@@ -3008,8 +2987,8 @@ interface paths {
|
|
|
3008
2987
|
};
|
|
3009
2988
|
put?: never;
|
|
3010
2989
|
/**
|
|
3011
|
-
* Deploy
|
|
3012
|
-
* @description Start a deployment for a specific
|
|
2990
|
+
* Deploy settings
|
|
2991
|
+
* @description Start a deployment for a specific settings entry. Detects platform from the settings.
|
|
3013
2992
|
*/
|
|
3014
2993
|
post: {
|
|
3015
2994
|
parameters: {
|
|
@@ -3018,7 +2997,7 @@ interface paths {
|
|
|
3018
2997
|
path: {
|
|
3019
2998
|
projectId: string;
|
|
3020
2999
|
flowId: string;
|
|
3021
|
-
|
|
3000
|
+
settingsId: string;
|
|
3022
3001
|
};
|
|
3023
3002
|
cookie?: never;
|
|
3024
3003
|
};
|
|
@@ -3030,7 +3009,7 @@ interface paths {
|
|
|
3030
3009
|
[name: string]: unknown;
|
|
3031
3010
|
};
|
|
3032
3011
|
content: {
|
|
3033
|
-
'application/json': components['schemas']['
|
|
3012
|
+
'application/json': components['schemas']['DeploySettingsResponse'];
|
|
3034
3013
|
};
|
|
3035
3014
|
};
|
|
3036
3015
|
/** @description Unauthorized */
|
|
@@ -3060,7 +3039,7 @@ interface paths {
|
|
|
3060
3039
|
'application/json': components['schemas']['ErrorResponse'];
|
|
3061
3040
|
};
|
|
3062
3041
|
};
|
|
3063
|
-
/** @description
|
|
3042
|
+
/** @description Settings orphaned */
|
|
3064
3043
|
422: {
|
|
3065
3044
|
headers: {
|
|
3066
3045
|
[name: string]: unknown;
|
|
@@ -3086,7 +3065,7 @@ interface paths {
|
|
|
3086
3065
|
patch?: never;
|
|
3087
3066
|
trace?: never;
|
|
3088
3067
|
};
|
|
3089
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
3068
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}': {
|
|
3090
3069
|
parameters: {
|
|
3091
3070
|
query?: never;
|
|
3092
3071
|
header?: never;
|
|
@@ -3094,8 +3073,8 @@ interface paths {
|
|
|
3094
3073
|
cookie?: never;
|
|
3095
3074
|
};
|
|
3096
3075
|
/**
|
|
3097
|
-
* Get
|
|
3098
|
-
* @description Get a specific deployment by ID, scoped to a
|
|
3076
|
+
* Get settings deployment detail
|
|
3077
|
+
* @description Get a specific deployment by ID, scoped to a settings entry.
|
|
3099
3078
|
*/
|
|
3100
3079
|
get: {
|
|
3101
3080
|
parameters: {
|
|
@@ -3104,7 +3083,7 @@ interface paths {
|
|
|
3104
3083
|
path: {
|
|
3105
3084
|
projectId: string;
|
|
3106
3085
|
flowId: string;
|
|
3107
|
-
|
|
3086
|
+
settingsId: string;
|
|
3108
3087
|
deploymentId: string;
|
|
3109
3088
|
};
|
|
3110
3089
|
cookie?: never;
|
|
@@ -3117,7 +3096,7 @@ interface paths {
|
|
|
3117
3096
|
[name: string]: unknown;
|
|
3118
3097
|
};
|
|
3119
3098
|
content: {
|
|
3120
|
-
'application/json': components['schemas']['
|
|
3099
|
+
'application/json': components['schemas']['SettingsDeploymentDetailResponse'];
|
|
3121
3100
|
};
|
|
3122
3101
|
};
|
|
3123
3102
|
/** @description Unauthorized */
|
|
@@ -3148,7 +3127,7 @@ interface paths {
|
|
|
3148
3127
|
patch?: never;
|
|
3149
3128
|
trace?: never;
|
|
3150
3129
|
};
|
|
3151
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
3130
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}/advance': {
|
|
3152
3131
|
parameters: {
|
|
3153
3132
|
query?: never;
|
|
3154
3133
|
header?: never;
|
|
@@ -3158,8 +3137,8 @@ interface paths {
|
|
|
3158
3137
|
get?: never;
|
|
3159
3138
|
put?: never;
|
|
3160
3139
|
/**
|
|
3161
|
-
* Advance
|
|
3162
|
-
* @description Advance the deployment state machine for a per-
|
|
3140
|
+
* Advance settings deployment
|
|
3141
|
+
* @description Advance the deployment state machine for a per-settings deployment.
|
|
3163
3142
|
*/
|
|
3164
3143
|
post: {
|
|
3165
3144
|
parameters: {
|
|
@@ -3168,7 +3147,7 @@ interface paths {
|
|
|
3168
3147
|
path: {
|
|
3169
3148
|
projectId: string;
|
|
3170
3149
|
flowId: string;
|
|
3171
|
-
|
|
3150
|
+
settingsId: string;
|
|
3172
3151
|
deploymentId: string;
|
|
3173
3152
|
};
|
|
3174
3153
|
cookie?: never;
|
|
@@ -3181,7 +3160,7 @@ interface paths {
|
|
|
3181
3160
|
[name: string]: unknown;
|
|
3182
3161
|
};
|
|
3183
3162
|
content: {
|
|
3184
|
-
'application/json': components['schemas']['
|
|
3163
|
+
'application/json': components['schemas']['AdvanceSettingsDeploymentResponse'];
|
|
3185
3164
|
};
|
|
3186
3165
|
};
|
|
3187
3166
|
/** @description Unauthorized */
|
|
@@ -3626,12 +3605,12 @@ interface paths {
|
|
|
3626
3605
|
put?: never;
|
|
3627
3606
|
/**
|
|
3628
3607
|
* Trigger flow bundle
|
|
3629
|
-
* @description Start a bundle job for a project flow. For multi-
|
|
3608
|
+
* @description Start a bundle job for a project flow. For multi-settings flows, specify the named flow via ?flow= query parameter.
|
|
3630
3609
|
*/
|
|
3631
3610
|
post: {
|
|
3632
3611
|
parameters: {
|
|
3633
3612
|
query?: {
|
|
3634
|
-
/** @description Named flow to bundle (required for multi-
|
|
3613
|
+
/** @description Named flow to bundle (required for multi-settings flows) */
|
|
3635
3614
|
flow?: string;
|
|
3636
3615
|
};
|
|
3637
3616
|
header?: never;
|
|
@@ -3670,7 +3649,7 @@ interface paths {
|
|
|
3670
3649
|
'application/json': components['schemas']['ErrorResponse'];
|
|
3671
3650
|
};
|
|
3672
3651
|
};
|
|
3673
|
-
/** @description Flow selection required for multi-
|
|
3652
|
+
/** @description Flow selection required for multi-settings flows */
|
|
3674
3653
|
422: {
|
|
3675
3654
|
headers: {
|
|
3676
3655
|
[name: string]: unknown;
|
|
@@ -4335,8 +4314,8 @@ interface components {
|
|
|
4335
4314
|
id: string;
|
|
4336
4315
|
/** @example my-website-flow */
|
|
4337
4316
|
name: string;
|
|
4338
|
-
|
|
4339
|
-
|
|
4317
|
+
config: components['schemas']['FlowContent'];
|
|
4318
|
+
settings?: components['schemas']['FlowSettingsSummary'][];
|
|
4340
4319
|
/**
|
|
4341
4320
|
* Format: date-time
|
|
4342
4321
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4350,7 +4329,7 @@ interface components {
|
|
|
4350
4329
|
/** Format: date-time */
|
|
4351
4330
|
deletedAt?: string | null;
|
|
4352
4331
|
};
|
|
4353
|
-
|
|
4332
|
+
FlowSettingsSummary: {
|
|
4354
4333
|
/** @example cfg_a1b2c3d4 */
|
|
4355
4334
|
id: string;
|
|
4356
4335
|
name: string;
|
|
@@ -4376,7 +4355,7 @@ interface components {
|
|
|
4376
4355
|
/** @example my-website-flow */
|
|
4377
4356
|
name: string;
|
|
4378
4357
|
summary?: string;
|
|
4379
|
-
|
|
4358
|
+
settings?: components['schemas']['FlowSettingsListItem'][];
|
|
4380
4359
|
/**
|
|
4381
4360
|
* Format: date-time
|
|
4382
4361
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4390,7 +4369,7 @@ interface components {
|
|
|
4390
4369
|
/** Format: date-time */
|
|
4391
4370
|
deletedAt: string | null;
|
|
4392
4371
|
};
|
|
4393
|
-
|
|
4372
|
+
FlowSettingsListItem: {
|
|
4394
4373
|
/** @example cfg_a1b2c3d4 */
|
|
4395
4374
|
id: string;
|
|
4396
4375
|
name: string;
|
|
@@ -4485,7 +4464,7 @@ interface components {
|
|
|
4485
4464
|
*/
|
|
4486
4465
|
revokedAt: string | null;
|
|
4487
4466
|
};
|
|
4488
|
-
|
|
4467
|
+
FlowSettingsDetail: {
|
|
4489
4468
|
/** @example cfg_a1b2c3d4 */
|
|
4490
4469
|
id: string;
|
|
4491
4470
|
name: string;
|
|
@@ -4526,10 +4505,10 @@ interface components {
|
|
|
4526
4505
|
*/
|
|
4527
4506
|
updatedAt: string;
|
|
4528
4507
|
};
|
|
4529
|
-
|
|
4508
|
+
DeploySettingsResponse: {
|
|
4530
4509
|
deploymentId: string;
|
|
4531
4510
|
/** @example cfg_a1b2c3d4 */
|
|
4532
|
-
|
|
4511
|
+
settingsId: string;
|
|
4533
4512
|
status: string;
|
|
4534
4513
|
};
|
|
4535
4514
|
FlowDetailResponse: {
|
|
@@ -4537,8 +4516,8 @@ interface components {
|
|
|
4537
4516
|
id: string;
|
|
4538
4517
|
/** @example my-website-flow */
|
|
4539
4518
|
name: string;
|
|
4540
|
-
|
|
4541
|
-
|
|
4519
|
+
config: components['schemas']['FlowContent'];
|
|
4520
|
+
settings?: components['schemas']['FlowSettingsEnriched'][];
|
|
4542
4521
|
/**
|
|
4543
4522
|
* Format: date-time
|
|
4544
4523
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4552,7 +4531,7 @@ interface components {
|
|
|
4552
4531
|
/** Format: date-time */
|
|
4553
4532
|
deletedAt: string | null;
|
|
4554
4533
|
};
|
|
4555
|
-
|
|
4534
|
+
FlowSettingsEnriched: {
|
|
4556
4535
|
id: string;
|
|
4557
4536
|
name: string;
|
|
4558
4537
|
/** @enum {string} */
|
|
@@ -4587,7 +4566,7 @@ interface components {
|
|
|
4587
4566
|
id: string;
|
|
4588
4567
|
/** @example my-website-flow */
|
|
4589
4568
|
name: string;
|
|
4590
|
-
|
|
4569
|
+
config: components['schemas']['FlowContent'];
|
|
4591
4570
|
/**
|
|
4592
4571
|
* Format: date-time
|
|
4593
4572
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4696,7 +4675,7 @@ interface components {
|
|
|
4696
4675
|
source: {
|
|
4697
4676
|
type: string;
|
|
4698
4677
|
flowId?: string;
|
|
4699
|
-
|
|
4678
|
+
flowSettingsId?: string;
|
|
4700
4679
|
configHash?: string;
|
|
4701
4680
|
};
|
|
4702
4681
|
/** Format: date-time */
|
|
@@ -4805,7 +4784,7 @@ interface components {
|
|
|
4805
4784
|
/** @enum {string} */
|
|
4806
4785
|
type: 'flow';
|
|
4807
4786
|
flowId: string;
|
|
4808
|
-
|
|
4787
|
+
flowSettingsName: string;
|
|
4809
4788
|
}
|
|
4810
4789
|
| {
|
|
4811
4790
|
/** @enum {string} */
|
|
@@ -4821,7 +4800,7 @@ interface components {
|
|
|
4821
4800
|
source: {
|
|
4822
4801
|
type: string;
|
|
4823
4802
|
flowId?: string;
|
|
4824
|
-
|
|
4803
|
+
flowSettingsId?: string;
|
|
4825
4804
|
configHash?: string;
|
|
4826
4805
|
};
|
|
4827
4806
|
bundlePath: string | null;
|
|
@@ -4944,12 +4923,12 @@ interface components {
|
|
|
4944
4923
|
CreateFlowRequest: {
|
|
4945
4924
|
/** @example my-website-flow */
|
|
4946
4925
|
name: string;
|
|
4947
|
-
|
|
4926
|
+
config?: components['schemas']['FlowContent'];
|
|
4948
4927
|
};
|
|
4949
4928
|
UpdateFlowRequest: {
|
|
4950
4929
|
/** @example my-website-flow */
|
|
4951
4930
|
name?: string;
|
|
4952
|
-
|
|
4931
|
+
config?: components['schemas']['FlowContent'];
|
|
4953
4932
|
};
|
|
4954
4933
|
DuplicateFlowRequest: {
|
|
4955
4934
|
/** @example my-website-flow */
|
|
@@ -4975,13 +4954,13 @@ interface components {
|
|
|
4975
4954
|
type: 'web' | 'server';
|
|
4976
4955
|
status: string;
|
|
4977
4956
|
};
|
|
4978
|
-
|
|
4979
|
-
|
|
4957
|
+
ListSettingsResponse: {
|
|
4958
|
+
settings: components['schemas']['FlowSettingsSummary'][];
|
|
4980
4959
|
};
|
|
4981
|
-
|
|
4960
|
+
SettingsDeploymentResponse: {
|
|
4982
4961
|
id: string;
|
|
4983
4962
|
flowId: string;
|
|
4984
|
-
|
|
4963
|
+
settingsId: string;
|
|
4985
4964
|
/** @enum {string} */
|
|
4986
4965
|
type: 'web' | 'server';
|
|
4987
4966
|
status: string;
|
|
@@ -4993,10 +4972,10 @@ interface components {
|
|
|
4993
4972
|
/** Format: date-time */
|
|
4994
4973
|
updatedAt: string;
|
|
4995
4974
|
} | null;
|
|
4996
|
-
|
|
4975
|
+
SettingsDeploymentDetailResponse: {
|
|
4997
4976
|
id: string;
|
|
4998
4977
|
flowId: string;
|
|
4999
|
-
|
|
4978
|
+
settingsId: string;
|
|
5000
4979
|
status: string;
|
|
5001
4980
|
/** @enum {string} */
|
|
5002
4981
|
type: 'web' | 'server';
|
|
@@ -5008,7 +4987,7 @@ interface components {
|
|
|
5008
4987
|
/** Format: date-time */
|
|
5009
4988
|
updatedAt: string;
|
|
5010
4989
|
};
|
|
5011
|
-
|
|
4990
|
+
AdvanceSettingsDeploymentResponse: {
|
|
5012
4991
|
id: string;
|
|
5013
4992
|
flowId: string;
|
|
5014
4993
|
/** @enum {string} */
|
|
@@ -5031,7 +5010,7 @@ interface components {
|
|
|
5031
5010
|
GetVersionResponse: {
|
|
5032
5011
|
/** @example 1 */
|
|
5033
5012
|
version: number;
|
|
5034
|
-
|
|
5013
|
+
config: components['schemas']['FlowContent'];
|
|
5035
5014
|
/**
|
|
5036
5015
|
* Format: date-time
|
|
5037
5016
|
* @example 2026-01-26T14:30:00.000Z
|