@walkeros/cli 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +91 -85
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -18169,7 +18169,7 @@ function rn2(n3, e4) {
|
|
|
18169
18169
|
}, () => J3({ ok: false }))(), "Push", n3.hooks);
|
|
18170
18170
|
}
|
|
18171
18171
|
async function un2(n3) {
|
|
18172
|
-
const e4 = W({ globalsStatic: {}, sessionStatic: {}, tagging: 0, run: true }, n3, { merge: false, extend: false }), t2 = { level: n3.logger?.level, handler: n3.logger?.handler }, o2 = de(t2), s3 = { ...e4.globalsStatic, ...n3.globals }, a3 = { allowed: false, config: e4, consent: n3.consent || {}, count: 0, custom: n3.custom || {}, destinations: {}, transformers: {}, stores: {}, globals: s3, group: "", hooks: {}, logger: o2, on: {}, queue: [], round: 0, session: void 0, status: { startedAt: Date.now(), in: 0, out: 0, failed: 0, sources: {}, destinations: {} }, timing: Date.now(), user: n3.user || {}, version: "
|
|
18172
|
+
const e4 = W({ globalsStatic: {}, sessionStatic: {}, tagging: 0, run: true }, n3, { merge: false, extend: false }), t2 = { level: n3.logger?.level, handler: n3.logger?.handler }, o2 = de(t2), s3 = { ...e4.globalsStatic, ...n3.globals }, a3 = { allowed: false, config: e4, consent: n3.consent || {}, count: 0, custom: n3.custom || {}, destinations: {}, transformers: {}, stores: {}, globals: s3, group: "", hooks: {}, logger: o2, on: {}, queue: [], round: 0, session: void 0, status: { startedAt: Date.now(), in: 0, out: 0, failed: 0, sources: {}, destinations: {} }, timing: Date.now(), user: n3.user || {}, version: "3.0.0", sources: {}, pending: { sources: {}, destinations: {} }, push: void 0, command: void 0 };
|
|
18173
18173
|
a3.push = rn2(a3, (n4) => ({ timing: Math.round((Date.now() - a3.timing) / 10) / 100, source: { type: "collector", id: "", previous_id: "" }, ...n4 })), a3.command = (function(n4, e5) {
|
|
18174
18174
|
return Te(async (t3, o3, s4) => await he(async () => await e5(n4, t3, o3, s4), () => J3({ ok: false }))(), "Command", n4.hooks);
|
|
18175
18175
|
})(a3, Y3);
|
package/dist/index.d.ts
CHANGED
|
@@ -698,7 +698,7 @@ declare function listFlows(options?: ListFlowsOptions): Promise<{
|
|
|
698
698
|
id: string;
|
|
699
699
|
name: string;
|
|
700
700
|
summary?: string | undefined;
|
|
701
|
-
|
|
701
|
+
settings?: {
|
|
702
702
|
id: string;
|
|
703
703
|
name: string;
|
|
704
704
|
platform: "web" | "server";
|
|
@@ -718,8 +718,9 @@ declare function getFlow(options: {
|
|
|
718
718
|
}): Promise<{
|
|
719
719
|
id: string;
|
|
720
720
|
name: string;
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
config: {
|
|
722
|
+
[x: string]: unknown;
|
|
723
|
+
version: 3;
|
|
723
724
|
$schema?: string | undefined;
|
|
724
725
|
include?: string[] | undefined;
|
|
725
726
|
variables?: {
|
|
@@ -735,7 +736,7 @@ declare function getFlow(options: {
|
|
|
735
736
|
[x: string]: unknown;
|
|
736
737
|
} | undefined;
|
|
737
738
|
};
|
|
738
|
-
|
|
739
|
+
settings?: {
|
|
739
740
|
id: string;
|
|
740
741
|
name: string;
|
|
741
742
|
platform: "web" | "server";
|
|
@@ -763,8 +764,9 @@ declare function createFlow(options: {
|
|
|
763
764
|
}): Promise<{
|
|
764
765
|
id: string;
|
|
765
766
|
name: string;
|
|
766
|
-
|
|
767
|
-
|
|
767
|
+
config: {
|
|
768
|
+
[x: string]: unknown;
|
|
769
|
+
version: 3;
|
|
768
770
|
$schema?: string | undefined;
|
|
769
771
|
include?: string[] | undefined;
|
|
770
772
|
variables?: {
|
|
@@ -780,7 +782,7 @@ declare function createFlow(options: {
|
|
|
780
782
|
[x: string]: unknown;
|
|
781
783
|
} | undefined;
|
|
782
784
|
};
|
|
783
|
-
|
|
785
|
+
settings?: {
|
|
784
786
|
id: string;
|
|
785
787
|
name: string;
|
|
786
788
|
platform: "web" | "server";
|
|
@@ -800,8 +802,9 @@ declare function updateFlow(options: {
|
|
|
800
802
|
}): Promise<{
|
|
801
803
|
id: string;
|
|
802
804
|
name: string;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
+
config: {
|
|
806
|
+
[x: string]: unknown;
|
|
807
|
+
version: 3;
|
|
805
808
|
$schema?: string | undefined;
|
|
806
809
|
include?: string[] | undefined;
|
|
807
810
|
variables?: {
|
|
@@ -833,8 +836,9 @@ declare function duplicateFlow(options: {
|
|
|
833
836
|
}): Promise<{
|
|
834
837
|
id: string;
|
|
835
838
|
name: string;
|
|
836
|
-
|
|
837
|
-
|
|
839
|
+
config: {
|
|
840
|
+
[x: string]: unknown;
|
|
841
|
+
version: 3;
|
|
838
842
|
$schema?: string | undefined;
|
|
839
843
|
include?: string[] | undefined;
|
|
840
844
|
variables?: {
|
|
@@ -850,7 +854,7 @@ declare function duplicateFlow(options: {
|
|
|
850
854
|
[x: string]: unknown;
|
|
851
855
|
} | undefined;
|
|
852
856
|
};
|
|
853
|
-
|
|
857
|
+
settings?: {
|
|
854
858
|
id: string;
|
|
855
859
|
name: string;
|
|
856
860
|
platform: "web" | "server";
|
|
@@ -2071,7 +2075,7 @@ interface paths {
|
|
|
2071
2075
|
get: {
|
|
2072
2076
|
parameters: {
|
|
2073
2077
|
query?: {
|
|
2074
|
-
/** @description Comma-separated dot-paths to select specific fields (e.g., "
|
|
2078
|
+
/** @description Comma-separated dot-paths to select specific fields (e.g., "config.variables,config.flows.web.sources"). Always includes id, createdAt, updatedAt. */
|
|
2075
2079
|
fields?: string;
|
|
2076
2080
|
};
|
|
2077
2081
|
header?: never;
|
|
@@ -2413,7 +2417,7 @@ interface paths {
|
|
|
2413
2417
|
put?: never;
|
|
2414
2418
|
/**
|
|
2415
2419
|
* Start deployment
|
|
2416
|
-
* @description Start a new deployment for a flow. Returns 400
|
|
2420
|
+
* @description Start a new deployment for a flow. Returns 400 AMBIGUOUS_SETTINGS if the flow has multiple named settings — use the per-settings deploy endpoint instead.
|
|
2417
2421
|
*/
|
|
2418
2422
|
post: {
|
|
2419
2423
|
parameters: {
|
|
@@ -2682,7 +2686,7 @@ interface paths {
|
|
|
2682
2686
|
patch?: never;
|
|
2683
2687
|
trace?: never;
|
|
2684
2688
|
};
|
|
2685
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2689
|
+
'/api/projects/{projectId}/flows/{flowId}/settings': {
|
|
2686
2690
|
parameters: {
|
|
2687
2691
|
query?: never;
|
|
2688
2692
|
header?: never;
|
|
@@ -2690,8 +2694,8 @@ interface paths {
|
|
|
2690
2694
|
cookie?: never;
|
|
2691
2695
|
};
|
|
2692
2696
|
/**
|
|
2693
|
-
* List
|
|
2694
|
-
* @description List active named
|
|
2697
|
+
* List settings
|
|
2698
|
+
* @description List active named settings for a flow.
|
|
2695
2699
|
*/
|
|
2696
2700
|
get: {
|
|
2697
2701
|
parameters: {
|
|
@@ -2705,13 +2709,13 @@ interface paths {
|
|
|
2705
2709
|
};
|
|
2706
2710
|
requestBody?: never;
|
|
2707
2711
|
responses: {
|
|
2708
|
-
/** @description List of
|
|
2712
|
+
/** @description List of settings */
|
|
2709
2713
|
200: {
|
|
2710
2714
|
headers: {
|
|
2711
2715
|
[name: string]: unknown;
|
|
2712
2716
|
};
|
|
2713
2717
|
content: {
|
|
2714
|
-
'application/json': components['schemas']['
|
|
2718
|
+
'application/json': components['schemas']['ListSettingsResponse'];
|
|
2715
2719
|
};
|
|
2716
2720
|
};
|
|
2717
2721
|
/** @description Unauthorized */
|
|
@@ -2742,7 +2746,7 @@ interface paths {
|
|
|
2742
2746
|
patch?: never;
|
|
2743
2747
|
trace?: never;
|
|
2744
2748
|
};
|
|
2745
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2749
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}': {
|
|
2746
2750
|
parameters: {
|
|
2747
2751
|
query?: never;
|
|
2748
2752
|
header?: never;
|
|
@@ -2750,8 +2754,8 @@ interface paths {
|
|
|
2750
2754
|
cookie?: never;
|
|
2751
2755
|
};
|
|
2752
2756
|
/**
|
|
2753
|
-
* Get
|
|
2754
|
-
* @description Get a single
|
|
2757
|
+
* Get settings
|
|
2758
|
+
* @description Get a single settings entry with its latest deployment.
|
|
2755
2759
|
*/
|
|
2756
2760
|
get: {
|
|
2757
2761
|
parameters: {
|
|
@@ -2760,19 +2764,19 @@ interface paths {
|
|
|
2760
2764
|
path: {
|
|
2761
2765
|
projectId: string;
|
|
2762
2766
|
flowId: string;
|
|
2763
|
-
|
|
2767
|
+
settingsId: string;
|
|
2764
2768
|
};
|
|
2765
2769
|
cookie?: never;
|
|
2766
2770
|
};
|
|
2767
2771
|
requestBody?: never;
|
|
2768
2772
|
responses: {
|
|
2769
|
-
/** @description
|
|
2773
|
+
/** @description Settings details with deployment */
|
|
2770
2774
|
200: {
|
|
2771
2775
|
headers: {
|
|
2772
2776
|
[name: string]: unknown;
|
|
2773
2777
|
};
|
|
2774
2778
|
content: {
|
|
2775
|
-
'application/json': components['schemas']['
|
|
2779
|
+
'application/json': components['schemas']['FlowSettingsDetail'];
|
|
2776
2780
|
};
|
|
2777
2781
|
};
|
|
2778
2782
|
/** @description Unauthorized */
|
|
@@ -2803,7 +2807,7 @@ interface paths {
|
|
|
2803
2807
|
patch?: never;
|
|
2804
2808
|
trace?: never;
|
|
2805
2809
|
};
|
|
2806
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2810
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/json': {
|
|
2807
2811
|
parameters: {
|
|
2808
2812
|
query?: never;
|
|
2809
2813
|
header?: never;
|
|
@@ -2811,8 +2815,8 @@ interface paths {
|
|
|
2811
2815
|
cookie?: never;
|
|
2812
2816
|
};
|
|
2813
2817
|
/**
|
|
2814
|
-
* Download
|
|
2815
|
-
* @description Download the named flow
|
|
2818
|
+
* Download settings JSON
|
|
2819
|
+
* @description Download the named flow settings as a self-contained Config JSON file. Includes parent variables and definitions.
|
|
2816
2820
|
*/
|
|
2817
2821
|
get: {
|
|
2818
2822
|
parameters: {
|
|
@@ -2821,19 +2825,19 @@ interface paths {
|
|
|
2821
2825
|
path: {
|
|
2822
2826
|
projectId: string;
|
|
2823
2827
|
flowId: string;
|
|
2824
|
-
|
|
2828
|
+
settingsId: string;
|
|
2825
2829
|
};
|
|
2826
2830
|
cookie?: never;
|
|
2827
2831
|
};
|
|
2828
2832
|
requestBody?: never;
|
|
2829
2833
|
responses: {
|
|
2830
|
-
/** @description Flow
|
|
2834
|
+
/** @description Flow Config JSON file */
|
|
2831
2835
|
200: {
|
|
2832
2836
|
headers: {
|
|
2833
2837
|
[name: string]: unknown;
|
|
2834
2838
|
};
|
|
2835
2839
|
content: {
|
|
2836
|
-
'application/json': components['schemas']['
|
|
2840
|
+
'application/json': components['schemas']['FlowConfig'];
|
|
2837
2841
|
};
|
|
2838
2842
|
};
|
|
2839
2843
|
/** @description Unauthorized */
|
|
@@ -2864,7 +2868,7 @@ interface paths {
|
|
|
2864
2868
|
patch?: never;
|
|
2865
2869
|
trace?: never;
|
|
2866
2870
|
};
|
|
2867
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2871
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/bundle': {
|
|
2868
2872
|
parameters: {
|
|
2869
2873
|
query?: never;
|
|
2870
2874
|
header?: never;
|
|
@@ -2872,8 +2876,8 @@ interface paths {
|
|
|
2872
2876
|
cookie?: never;
|
|
2873
2877
|
};
|
|
2874
2878
|
/**
|
|
2875
|
-
* Download
|
|
2876
|
-
* @description Download the compiled JS/MJS for the
|
|
2879
|
+
* Download settings bundle
|
|
2880
|
+
* @description Download the compiled JS/MJS for the settings' latest deployment. Redirects to a presigned download URL.
|
|
2877
2881
|
*/
|
|
2878
2882
|
get: {
|
|
2879
2883
|
parameters: {
|
|
@@ -2882,7 +2886,7 @@ interface paths {
|
|
|
2882
2886
|
path: {
|
|
2883
2887
|
projectId: string;
|
|
2884
2888
|
flowId: string;
|
|
2885
|
-
|
|
2889
|
+
settingsId: string;
|
|
2886
2890
|
};
|
|
2887
2891
|
cookie?: never;
|
|
2888
2892
|
};
|
|
@@ -2932,7 +2936,7 @@ interface paths {
|
|
|
2932
2936
|
patch?: never;
|
|
2933
2937
|
trace?: never;
|
|
2934
2938
|
};
|
|
2935
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
2939
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deploy': {
|
|
2936
2940
|
parameters: {
|
|
2937
2941
|
query?: never;
|
|
2938
2942
|
header?: never;
|
|
@@ -2940,8 +2944,8 @@ interface paths {
|
|
|
2940
2944
|
cookie?: never;
|
|
2941
2945
|
};
|
|
2942
2946
|
/**
|
|
2943
|
-
* Get latest
|
|
2944
|
-
* @description Get the latest deployment for a specific
|
|
2947
|
+
* Get latest settings deployment
|
|
2948
|
+
* @description Get the latest deployment for a specific settings entry.
|
|
2945
2949
|
*/
|
|
2946
2950
|
get: {
|
|
2947
2951
|
parameters: {
|
|
@@ -2950,7 +2954,7 @@ interface paths {
|
|
|
2950
2954
|
path: {
|
|
2951
2955
|
projectId: string;
|
|
2952
2956
|
flowId: string;
|
|
2953
|
-
|
|
2957
|
+
settingsId: string;
|
|
2954
2958
|
};
|
|
2955
2959
|
cookie?: never;
|
|
2956
2960
|
};
|
|
@@ -2962,7 +2966,7 @@ interface paths {
|
|
|
2962
2966
|
[name: string]: unknown;
|
|
2963
2967
|
};
|
|
2964
2968
|
content: {
|
|
2965
|
-
'application/json': components['schemas']['
|
|
2969
|
+
'application/json': components['schemas']['SettingsDeploymentResponse'];
|
|
2966
2970
|
};
|
|
2967
2971
|
};
|
|
2968
2972
|
/** @description Unauthorized */
|
|
@@ -2987,8 +2991,8 @@ interface paths {
|
|
|
2987
2991
|
};
|
|
2988
2992
|
put?: never;
|
|
2989
2993
|
/**
|
|
2990
|
-
* Deploy
|
|
2991
|
-
* @description Start a deployment for a specific
|
|
2994
|
+
* Deploy settings
|
|
2995
|
+
* @description Start a deployment for a specific settings entry. Detects platform from the settings.
|
|
2992
2996
|
*/
|
|
2993
2997
|
post: {
|
|
2994
2998
|
parameters: {
|
|
@@ -2997,7 +3001,7 @@ interface paths {
|
|
|
2997
3001
|
path: {
|
|
2998
3002
|
projectId: string;
|
|
2999
3003
|
flowId: string;
|
|
3000
|
-
|
|
3004
|
+
settingsId: string;
|
|
3001
3005
|
};
|
|
3002
3006
|
cookie?: never;
|
|
3003
3007
|
};
|
|
@@ -3009,7 +3013,7 @@ interface paths {
|
|
|
3009
3013
|
[name: string]: unknown;
|
|
3010
3014
|
};
|
|
3011
3015
|
content: {
|
|
3012
|
-
'application/json': components['schemas']['
|
|
3016
|
+
'application/json': components['schemas']['DeploySettingsResponse'];
|
|
3013
3017
|
};
|
|
3014
3018
|
};
|
|
3015
3019
|
/** @description Unauthorized */
|
|
@@ -3039,7 +3043,7 @@ interface paths {
|
|
|
3039
3043
|
'application/json': components['schemas']['ErrorResponse'];
|
|
3040
3044
|
};
|
|
3041
3045
|
};
|
|
3042
|
-
/** @description
|
|
3046
|
+
/** @description Settings orphaned */
|
|
3043
3047
|
422: {
|
|
3044
3048
|
headers: {
|
|
3045
3049
|
[name: string]: unknown;
|
|
@@ -3065,7 +3069,7 @@ interface paths {
|
|
|
3065
3069
|
patch?: never;
|
|
3066
3070
|
trace?: never;
|
|
3067
3071
|
};
|
|
3068
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
3072
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}': {
|
|
3069
3073
|
parameters: {
|
|
3070
3074
|
query?: never;
|
|
3071
3075
|
header?: never;
|
|
@@ -3073,8 +3077,8 @@ interface paths {
|
|
|
3073
3077
|
cookie?: never;
|
|
3074
3078
|
};
|
|
3075
3079
|
/**
|
|
3076
|
-
* Get
|
|
3077
|
-
* @description Get a specific deployment by ID, scoped to a
|
|
3080
|
+
* Get settings deployment detail
|
|
3081
|
+
* @description Get a specific deployment by ID, scoped to a settings entry.
|
|
3078
3082
|
*/
|
|
3079
3083
|
get: {
|
|
3080
3084
|
parameters: {
|
|
@@ -3083,7 +3087,7 @@ interface paths {
|
|
|
3083
3087
|
path: {
|
|
3084
3088
|
projectId: string;
|
|
3085
3089
|
flowId: string;
|
|
3086
|
-
|
|
3090
|
+
settingsId: string;
|
|
3087
3091
|
deploymentId: string;
|
|
3088
3092
|
};
|
|
3089
3093
|
cookie?: never;
|
|
@@ -3096,7 +3100,7 @@ interface paths {
|
|
|
3096
3100
|
[name: string]: unknown;
|
|
3097
3101
|
};
|
|
3098
3102
|
content: {
|
|
3099
|
-
'application/json': components['schemas']['
|
|
3103
|
+
'application/json': components['schemas']['SettingsDeploymentDetailResponse'];
|
|
3100
3104
|
};
|
|
3101
3105
|
};
|
|
3102
3106
|
/** @description Unauthorized */
|
|
@@ -3127,7 +3131,7 @@ interface paths {
|
|
|
3127
3131
|
patch?: never;
|
|
3128
3132
|
trace?: never;
|
|
3129
3133
|
};
|
|
3130
|
-
'/api/projects/{projectId}/flows/{flowId}/
|
|
3134
|
+
'/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}/advance': {
|
|
3131
3135
|
parameters: {
|
|
3132
3136
|
query?: never;
|
|
3133
3137
|
header?: never;
|
|
@@ -3137,8 +3141,8 @@ interface paths {
|
|
|
3137
3141
|
get?: never;
|
|
3138
3142
|
put?: never;
|
|
3139
3143
|
/**
|
|
3140
|
-
* Advance
|
|
3141
|
-
* @description Advance the deployment state machine for a per-
|
|
3144
|
+
* Advance settings deployment
|
|
3145
|
+
* @description Advance the deployment state machine for a per-settings deployment.
|
|
3142
3146
|
*/
|
|
3143
3147
|
post: {
|
|
3144
3148
|
parameters: {
|
|
@@ -3147,7 +3151,7 @@ interface paths {
|
|
|
3147
3151
|
path: {
|
|
3148
3152
|
projectId: string;
|
|
3149
3153
|
flowId: string;
|
|
3150
|
-
|
|
3154
|
+
settingsId: string;
|
|
3151
3155
|
deploymentId: string;
|
|
3152
3156
|
};
|
|
3153
3157
|
cookie?: never;
|
|
@@ -3160,7 +3164,7 @@ interface paths {
|
|
|
3160
3164
|
[name: string]: unknown;
|
|
3161
3165
|
};
|
|
3162
3166
|
content: {
|
|
3163
|
-
'application/json': components['schemas']['
|
|
3167
|
+
'application/json': components['schemas']['AdvanceSettingsDeploymentResponse'];
|
|
3164
3168
|
};
|
|
3165
3169
|
};
|
|
3166
3170
|
/** @description Unauthorized */
|
|
@@ -3605,12 +3609,12 @@ interface paths {
|
|
|
3605
3609
|
put?: never;
|
|
3606
3610
|
/**
|
|
3607
3611
|
* Trigger flow bundle
|
|
3608
|
-
* @description Start a bundle job for a project flow. For multi-
|
|
3612
|
+
* @description Start a bundle job for a project flow. For multi-settings flows, specify the named flow via ?flow= query parameter.
|
|
3609
3613
|
*/
|
|
3610
3614
|
post: {
|
|
3611
3615
|
parameters: {
|
|
3612
3616
|
query?: {
|
|
3613
|
-
/** @description Named flow to bundle (required for multi-
|
|
3617
|
+
/** @description Named flow to bundle (required for multi-settings flows) */
|
|
3614
3618
|
flow?: string;
|
|
3615
3619
|
};
|
|
3616
3620
|
header?: never;
|
|
@@ -3649,7 +3653,7 @@ interface paths {
|
|
|
3649
3653
|
'application/json': components['schemas']['ErrorResponse'];
|
|
3650
3654
|
};
|
|
3651
3655
|
};
|
|
3652
|
-
/** @description Flow selection required for multi-
|
|
3656
|
+
/** @description Flow selection required for multi-settings flows */
|
|
3653
3657
|
422: {
|
|
3654
3658
|
headers: {
|
|
3655
3659
|
[name: string]: unknown;
|
|
@@ -4291,9 +4295,9 @@ interface components {
|
|
|
4291
4295
|
};
|
|
4292
4296
|
};
|
|
4293
4297
|
};
|
|
4294
|
-
|
|
4298
|
+
FlowConfig: {
|
|
4295
4299
|
/** @enum {number} */
|
|
4296
|
-
version:
|
|
4300
|
+
version: 3;
|
|
4297
4301
|
$schema?: string;
|
|
4298
4302
|
include?: string[];
|
|
4299
4303
|
variables?: {
|
|
@@ -4308,14 +4312,16 @@ interface components {
|
|
|
4308
4312
|
contract?: {
|
|
4309
4313
|
[key: string]: unknown;
|
|
4310
4314
|
};
|
|
4315
|
+
} & {
|
|
4316
|
+
[key: string]: unknown;
|
|
4311
4317
|
};
|
|
4312
4318
|
Flow: {
|
|
4313
4319
|
/** @example flow_a1b2c3d4 */
|
|
4314
4320
|
id: string;
|
|
4315
4321
|
/** @example my-website-flow */
|
|
4316
4322
|
name: string;
|
|
4317
|
-
|
|
4318
|
-
|
|
4323
|
+
config: components['schemas']['FlowConfig'];
|
|
4324
|
+
settings?: components['schemas']['FlowSettingsSummary'][];
|
|
4319
4325
|
/**
|
|
4320
4326
|
* Format: date-time
|
|
4321
4327
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4329,7 +4335,7 @@ interface components {
|
|
|
4329
4335
|
/** Format: date-time */
|
|
4330
4336
|
deletedAt?: string | null;
|
|
4331
4337
|
};
|
|
4332
|
-
|
|
4338
|
+
FlowSettingsSummary: {
|
|
4333
4339
|
/** @example cfg_a1b2c3d4 */
|
|
4334
4340
|
id: string;
|
|
4335
4341
|
name: string;
|
|
@@ -4355,7 +4361,7 @@ interface components {
|
|
|
4355
4361
|
/** @example my-website-flow */
|
|
4356
4362
|
name: string;
|
|
4357
4363
|
summary?: string;
|
|
4358
|
-
|
|
4364
|
+
settings?: components['schemas']['FlowSettingsListItem'][];
|
|
4359
4365
|
/**
|
|
4360
4366
|
* Format: date-time
|
|
4361
4367
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4369,7 +4375,7 @@ interface components {
|
|
|
4369
4375
|
/** Format: date-time */
|
|
4370
4376
|
deletedAt: string | null;
|
|
4371
4377
|
};
|
|
4372
|
-
|
|
4378
|
+
FlowSettingsListItem: {
|
|
4373
4379
|
/** @example cfg_a1b2c3d4 */
|
|
4374
4380
|
id: string;
|
|
4375
4381
|
name: string;
|
|
@@ -4464,7 +4470,7 @@ interface components {
|
|
|
4464
4470
|
*/
|
|
4465
4471
|
revokedAt: string | null;
|
|
4466
4472
|
};
|
|
4467
|
-
|
|
4473
|
+
FlowSettingsDetail: {
|
|
4468
4474
|
/** @example cfg_a1b2c3d4 */
|
|
4469
4475
|
id: string;
|
|
4470
4476
|
name: string;
|
|
@@ -4505,10 +4511,10 @@ interface components {
|
|
|
4505
4511
|
*/
|
|
4506
4512
|
updatedAt: string;
|
|
4507
4513
|
};
|
|
4508
|
-
|
|
4514
|
+
DeploySettingsResponse: {
|
|
4509
4515
|
deploymentId: string;
|
|
4510
4516
|
/** @example cfg_a1b2c3d4 */
|
|
4511
|
-
|
|
4517
|
+
settingsId: string;
|
|
4512
4518
|
status: string;
|
|
4513
4519
|
};
|
|
4514
4520
|
FlowDetailResponse: {
|
|
@@ -4516,8 +4522,8 @@ interface components {
|
|
|
4516
4522
|
id: string;
|
|
4517
4523
|
/** @example my-website-flow */
|
|
4518
4524
|
name: string;
|
|
4519
|
-
|
|
4520
|
-
|
|
4525
|
+
config: components['schemas']['FlowConfig'];
|
|
4526
|
+
settings?: components['schemas']['FlowSettingsEnriched'][];
|
|
4521
4527
|
/**
|
|
4522
4528
|
* Format: date-time
|
|
4523
4529
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4531,7 +4537,7 @@ interface components {
|
|
|
4531
4537
|
/** Format: date-time */
|
|
4532
4538
|
deletedAt: string | null;
|
|
4533
4539
|
};
|
|
4534
|
-
|
|
4540
|
+
FlowSettingsEnriched: {
|
|
4535
4541
|
id: string;
|
|
4536
4542
|
name: string;
|
|
4537
4543
|
/** @enum {string} */
|
|
@@ -4566,7 +4572,7 @@ interface components {
|
|
|
4566
4572
|
id: string;
|
|
4567
4573
|
/** @example my-website-flow */
|
|
4568
4574
|
name: string;
|
|
4569
|
-
|
|
4575
|
+
config: components['schemas']['FlowConfig'];
|
|
4570
4576
|
/**
|
|
4571
4577
|
* Format: date-time
|
|
4572
4578
|
* @example 2026-01-26T14:30:00.000Z
|
|
@@ -4675,7 +4681,7 @@ interface components {
|
|
|
4675
4681
|
source: {
|
|
4676
4682
|
type: string;
|
|
4677
4683
|
flowId?: string;
|
|
4678
|
-
|
|
4684
|
+
flowSettingsId?: string;
|
|
4679
4685
|
configHash?: string;
|
|
4680
4686
|
};
|
|
4681
4687
|
/** Format: date-time */
|
|
@@ -4784,7 +4790,7 @@ interface components {
|
|
|
4784
4790
|
/** @enum {string} */
|
|
4785
4791
|
type: 'flow';
|
|
4786
4792
|
flowId: string;
|
|
4787
|
-
|
|
4793
|
+
flowSettingsName: string;
|
|
4788
4794
|
}
|
|
4789
4795
|
| {
|
|
4790
4796
|
/** @enum {string} */
|
|
@@ -4800,7 +4806,7 @@ interface components {
|
|
|
4800
4806
|
source: {
|
|
4801
4807
|
type: string;
|
|
4802
4808
|
flowId?: string;
|
|
4803
|
-
|
|
4809
|
+
flowSettingsId?: string;
|
|
4804
4810
|
configHash?: string;
|
|
4805
4811
|
};
|
|
4806
4812
|
bundlePath: string | null;
|
|
@@ -4923,12 +4929,12 @@ interface components {
|
|
|
4923
4929
|
CreateFlowRequest: {
|
|
4924
4930
|
/** @example my-website-flow */
|
|
4925
4931
|
name: string;
|
|
4926
|
-
|
|
4932
|
+
config?: components['schemas']['FlowConfig'];
|
|
4927
4933
|
};
|
|
4928
4934
|
UpdateFlowRequest: {
|
|
4929
4935
|
/** @example my-website-flow */
|
|
4930
4936
|
name?: string;
|
|
4931
|
-
|
|
4937
|
+
config?: components['schemas']['FlowConfig'];
|
|
4932
4938
|
};
|
|
4933
4939
|
DuplicateFlowRequest: {
|
|
4934
4940
|
/** @example my-website-flow */
|
|
@@ -4954,13 +4960,13 @@ interface components {
|
|
|
4954
4960
|
type: 'web' | 'server';
|
|
4955
4961
|
status: string;
|
|
4956
4962
|
};
|
|
4957
|
-
|
|
4958
|
-
|
|
4963
|
+
ListSettingsResponse: {
|
|
4964
|
+
settings: components['schemas']['FlowSettingsSummary'][];
|
|
4959
4965
|
};
|
|
4960
|
-
|
|
4966
|
+
SettingsDeploymentResponse: {
|
|
4961
4967
|
id: string;
|
|
4962
4968
|
flowId: string;
|
|
4963
|
-
|
|
4969
|
+
settingsId: string;
|
|
4964
4970
|
/** @enum {string} */
|
|
4965
4971
|
type: 'web' | 'server';
|
|
4966
4972
|
status: string;
|
|
@@ -4972,10 +4978,10 @@ interface components {
|
|
|
4972
4978
|
/** Format: date-time */
|
|
4973
4979
|
updatedAt: string;
|
|
4974
4980
|
} | null;
|
|
4975
|
-
|
|
4981
|
+
SettingsDeploymentDetailResponse: {
|
|
4976
4982
|
id: string;
|
|
4977
4983
|
flowId: string;
|
|
4978
|
-
|
|
4984
|
+
settingsId: string;
|
|
4979
4985
|
status: string;
|
|
4980
4986
|
/** @enum {string} */
|
|
4981
4987
|
type: 'web' | 'server';
|
|
@@ -4987,7 +4993,7 @@ interface components {
|
|
|
4987
4993
|
/** Format: date-time */
|
|
4988
4994
|
updatedAt: string;
|
|
4989
4995
|
};
|
|
4990
|
-
|
|
4996
|
+
AdvanceSettingsDeploymentResponse: {
|
|
4991
4997
|
id: string;
|
|
4992
4998
|
flowId: string;
|
|
4993
4999
|
/** @enum {string} */
|
|
@@ -5010,7 +5016,7 @@ interface components {
|
|
|
5010
5016
|
GetVersionResponse: {
|
|
5011
5017
|
/** @example 1 */
|
|
5012
5018
|
version: number;
|
|
5013
|
-
content: components['schemas']['
|
|
5019
|
+
content: components['schemas']['FlowConfig'];
|
|
5014
5020
|
/**
|
|
5015
5021
|
* Format: date-time
|
|
5016
5022
|
* @example 2026-01-26T14:30:00.000Z
|
package/dist/index.js
CHANGED
|
@@ -2937,7 +2937,7 @@ function rn(n, e2) {
|
|
|
2937
2937
|
}, () => J({ ok: false }))(), "Push", n.hooks);
|
|
2938
2938
|
}
|
|
2939
2939
|
async function un(n) {
|
|
2940
|
-
const e2 = r({ globalsStatic: {}, sessionStatic: {}, tagging: 0, run: true }, n, { merge: false, extend: false }), t2 = { level: n.logger?.level, handler: n.logger?.handler }, o2 = i(t2), s2 = { ...e2.globalsStatic, ...n.globals }, a2 = { allowed: false, config: e2, consent: n.consent || {}, count: 0, custom: n.custom || {}, destinations: {}, transformers: {}, stores: {}, globals: s2, group: "", hooks: {}, logger: o2, on: {}, queue: [], round: 0, session: void 0, status: { startedAt: Date.now(), in: 0, out: 0, failed: 0, sources: {}, destinations: {} }, timing: Date.now(), user: n.user || {}, version: "
|
|
2940
|
+
const e2 = r({ globalsStatic: {}, sessionStatic: {}, tagging: 0, run: true }, n, { merge: false, extend: false }), t2 = { level: n.logger?.level, handler: n.logger?.handler }, o2 = i(t2), s2 = { ...e2.globalsStatic, ...n.globals }, a2 = { allowed: false, config: e2, consent: n.consent || {}, count: 0, custom: n.custom || {}, destinations: {}, transformers: {}, stores: {}, globals: s2, group: "", hooks: {}, logger: o2, on: {}, queue: [], round: 0, session: void 0, status: { startedAt: Date.now(), in: 0, out: 0, failed: 0, sources: {}, destinations: {} }, timing: Date.now(), user: n.user || {}, version: "3.0.0", sources: {}, pending: { sources: {}, destinations: {} }, push: void 0, command: void 0 };
|
|
2941
2941
|
a2.push = rn(a2, (n2) => ({ timing: Math.round((Date.now() - a2.timing) / 10) / 100, source: { type: "collector", id: "", previous_id: "" }, ...n2 })), a2.command = (function(n2, e3) {
|
|
2942
2942
|
return an(async (t3, o3, s3) => await cn(async () => await e3(n2, t3, o3, s3), () => J({ ok: false }))(), "Command", n2.hooks);
|
|
2943
2943
|
})(a2, Y);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "walkerOS CLI - Bundle and deploy walkerOS components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"docker:publish": "bash scripts/publish-docker.sh"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@walkeros/core": "^3.0.
|
|
48
|
-
"@walkeros/server-core": "^3.0.
|
|
47
|
+
"@walkeros/core": "^3.0.1",
|
|
48
|
+
"@walkeros/server-core": "^3.0.1",
|
|
49
49
|
"ajv": "^8.17.1",
|
|
50
50
|
"chalk": "^5.6.2",
|
|
51
51
|
"commander": "^14.0.2",
|