@walkeros/cli 2.2.0-next-1773136823705 → 3.0.0

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/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
- settings?: {
701
+ configs?: {
702
702
  id: string;
703
703
  name: string;
704
704
  platform: "web" | "server";
@@ -718,7 +718,7 @@ declare function getFlow(options: {
718
718
  }): Promise<{
719
719
  id: string;
720
720
  name: string;
721
- config: {
721
+ content: {
722
722
  version: 2;
723
723
  $schema?: string | undefined;
724
724
  include?: string[] | undefined;
@@ -735,7 +735,7 @@ declare function getFlow(options: {
735
735
  [x: string]: unknown;
736
736
  } | undefined;
737
737
  };
738
- settings?: {
738
+ configs?: {
739
739
  id: string;
740
740
  name: string;
741
741
  platform: "web" | "server";
@@ -763,7 +763,7 @@ declare function createFlow(options: {
763
763
  }): Promise<{
764
764
  id: string;
765
765
  name: string;
766
- config: {
766
+ content: {
767
767
  version: 2;
768
768
  $schema?: string | undefined;
769
769
  include?: string[] | undefined;
@@ -780,7 +780,7 @@ declare function createFlow(options: {
780
780
  [x: string]: unknown;
781
781
  } | undefined;
782
782
  };
783
- settings?: {
783
+ configs?: {
784
784
  id: string;
785
785
  name: string;
786
786
  platform: "web" | "server";
@@ -800,7 +800,7 @@ declare function updateFlow(options: {
800
800
  }): Promise<{
801
801
  id: string;
802
802
  name: string;
803
- config: {
803
+ content: {
804
804
  version: 2;
805
805
  $schema?: string | undefined;
806
806
  include?: string[] | undefined;
@@ -833,7 +833,7 @@ declare function duplicateFlow(options: {
833
833
  }): Promise<{
834
834
  id: string;
835
835
  name: string;
836
- config: {
836
+ content: {
837
837
  version: 2;
838
838
  $schema?: string | undefined;
839
839
  include?: string[] | undefined;
@@ -850,7 +850,7 @@ declare function duplicateFlow(options: {
850
850
  [x: string]: unknown;
851
851
  } | undefined;
852
852
  };
853
- settings?: {
853
+ configs?: {
854
854
  id: string;
855
855
  name: string;
856
856
  platform: "web" | "server";
@@ -2413,7 +2413,7 @@ interface paths {
2413
2413
  put?: never;
2414
2414
  /**
2415
2415
  * Start deployment
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.
2416
+ * @description Start a new deployment for a flow. Returns 400 AMBIGUOUS_CONFIG if the flow has multiple named configs — use the per-config deploy endpoint instead.
2417
2417
  */
2418
2418
  post: {
2419
2419
  parameters: {
@@ -2682,7 +2682,7 @@ interface paths {
2682
2682
  patch?: never;
2683
2683
  trace?: never;
2684
2684
  };
2685
- '/api/projects/{projectId}/flows/{flowId}/settings': {
2685
+ '/api/projects/{projectId}/flows/{flowId}/configs': {
2686
2686
  parameters: {
2687
2687
  query?: never;
2688
2688
  header?: never;
@@ -2690,8 +2690,8 @@ interface paths {
2690
2690
  cookie?: never;
2691
2691
  };
2692
2692
  /**
2693
- * List settings
2694
- * @description List active named settings for a flow.
2693
+ * List configs
2694
+ * @description List active named configs for a flow.
2695
2695
  */
2696
2696
  get: {
2697
2697
  parameters: {
@@ -2705,13 +2705,13 @@ interface paths {
2705
2705
  };
2706
2706
  requestBody?: never;
2707
2707
  responses: {
2708
- /** @description List of settings */
2708
+ /** @description List of configs */
2709
2709
  200: {
2710
2710
  headers: {
2711
2711
  [name: string]: unknown;
2712
2712
  };
2713
2713
  content: {
2714
- 'application/json': components['schemas']['ListSettingsResponse'];
2714
+ 'application/json': components['schemas']['ListConfigsResponse'];
2715
2715
  };
2716
2716
  };
2717
2717
  /** @description Unauthorized */
@@ -2742,7 +2742,7 @@ interface paths {
2742
2742
  patch?: never;
2743
2743
  trace?: never;
2744
2744
  };
2745
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}': {
2745
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}': {
2746
2746
  parameters: {
2747
2747
  query?: never;
2748
2748
  header?: never;
@@ -2750,8 +2750,8 @@ interface paths {
2750
2750
  cookie?: never;
2751
2751
  };
2752
2752
  /**
2753
- * Get settings
2754
- * @description Get a single settings entry with its latest deployment.
2753
+ * Get config
2754
+ * @description Get a single config with its latest deployment.
2755
2755
  */
2756
2756
  get: {
2757
2757
  parameters: {
@@ -2760,19 +2760,19 @@ interface paths {
2760
2760
  path: {
2761
2761
  projectId: string;
2762
2762
  flowId: string;
2763
- settingsId: string;
2763
+ configId: string;
2764
2764
  };
2765
2765
  cookie?: never;
2766
2766
  };
2767
2767
  requestBody?: never;
2768
2768
  responses: {
2769
- /** @description Settings details with deployment */
2769
+ /** @description Config details with deployment */
2770
2770
  200: {
2771
2771
  headers: {
2772
2772
  [name: string]: unknown;
2773
2773
  };
2774
2774
  content: {
2775
- 'application/json': components['schemas']['FlowSettingsDetail'];
2775
+ 'application/json': components['schemas']['FlowConfigDetail'];
2776
2776
  };
2777
2777
  };
2778
2778
  /** @description Unauthorized */
@@ -2803,7 +2803,7 @@ interface paths {
2803
2803
  patch?: never;
2804
2804
  trace?: never;
2805
2805
  };
2806
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/json': {
2806
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}/json': {
2807
2807
  parameters: {
2808
2808
  query?: never;
2809
2809
  header?: never;
@@ -2811,8 +2811,8 @@ interface paths {
2811
2811
  cookie?: never;
2812
2812
  };
2813
2813
  /**
2814
- * Download settings JSON
2815
- * @description Download the named flow settings as a self-contained Setup JSON file. Includes parent variables and definitions.
2814
+ * Download config JSON
2815
+ * @description Download the named flow config as a self-contained Setup JSON file. Includes parent variables and definitions.
2816
2816
  */
2817
2817
  get: {
2818
2818
  parameters: {
@@ -2821,7 +2821,7 @@ interface paths {
2821
2821
  path: {
2822
2822
  projectId: string;
2823
2823
  flowId: string;
2824
- settingsId: string;
2824
+ configId: string;
2825
2825
  };
2826
2826
  cookie?: never;
2827
2827
  };
@@ -2864,7 +2864,7 @@ interface paths {
2864
2864
  patch?: never;
2865
2865
  trace?: never;
2866
2866
  };
2867
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/bundle': {
2867
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}/bundle': {
2868
2868
  parameters: {
2869
2869
  query?: never;
2870
2870
  header?: never;
@@ -2872,8 +2872,8 @@ interface paths {
2872
2872
  cookie?: never;
2873
2873
  };
2874
2874
  /**
2875
- * Download settings bundle
2876
- * @description Download the compiled JS/MJS for the settings' latest deployment. Redirects to a presigned download URL.
2875
+ * Download config bundle
2876
+ * @description Download the compiled JS/MJS for the config's latest deployment. Redirects to a presigned download URL.
2877
2877
  */
2878
2878
  get: {
2879
2879
  parameters: {
@@ -2882,7 +2882,7 @@ interface paths {
2882
2882
  path: {
2883
2883
  projectId: string;
2884
2884
  flowId: string;
2885
- settingsId: string;
2885
+ configId: string;
2886
2886
  };
2887
2887
  cookie?: never;
2888
2888
  };
@@ -2932,7 +2932,7 @@ interface paths {
2932
2932
  patch?: never;
2933
2933
  trace?: never;
2934
2934
  };
2935
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deploy': {
2935
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}/deploy': {
2936
2936
  parameters: {
2937
2937
  query?: never;
2938
2938
  header?: never;
@@ -2940,8 +2940,8 @@ interface paths {
2940
2940
  cookie?: never;
2941
2941
  };
2942
2942
  /**
2943
- * Get latest settings deployment
2944
- * @description Get the latest deployment for a specific settings entry.
2943
+ * Get latest config deployment
2944
+ * @description Get the latest deployment for a specific config.
2945
2945
  */
2946
2946
  get: {
2947
2947
  parameters: {
@@ -2950,7 +2950,7 @@ interface paths {
2950
2950
  path: {
2951
2951
  projectId: string;
2952
2952
  flowId: string;
2953
- settingsId: string;
2953
+ configId: string;
2954
2954
  };
2955
2955
  cookie?: never;
2956
2956
  };
@@ -2962,7 +2962,7 @@ interface paths {
2962
2962
  [name: string]: unknown;
2963
2963
  };
2964
2964
  content: {
2965
- 'application/json': components['schemas']['SettingsDeploymentResponse'];
2965
+ 'application/json': components['schemas']['ConfigDeploymentResponse'];
2966
2966
  };
2967
2967
  };
2968
2968
  /** @description Unauthorized */
@@ -2987,8 +2987,8 @@ interface paths {
2987
2987
  };
2988
2988
  put?: never;
2989
2989
  /**
2990
- * Deploy settings
2991
- * @description Start a deployment for a specific settings entry. Detects platform from the settings.
2990
+ * Deploy config
2991
+ * @description Start a deployment for a specific config. Detects platform from the config.
2992
2992
  */
2993
2993
  post: {
2994
2994
  parameters: {
@@ -2997,7 +2997,7 @@ interface paths {
2997
2997
  path: {
2998
2998
  projectId: string;
2999
2999
  flowId: string;
3000
- settingsId: string;
3000
+ configId: string;
3001
3001
  };
3002
3002
  cookie?: never;
3003
3003
  };
@@ -3009,7 +3009,7 @@ interface paths {
3009
3009
  [name: string]: unknown;
3010
3010
  };
3011
3011
  content: {
3012
- 'application/json': components['schemas']['DeploySettingsResponse'];
3012
+ 'application/json': components['schemas']['DeployConfigResponse'];
3013
3013
  };
3014
3014
  };
3015
3015
  /** @description Unauthorized */
@@ -3039,7 +3039,7 @@ interface paths {
3039
3039
  'application/json': components['schemas']['ErrorResponse'];
3040
3040
  };
3041
3041
  };
3042
- /** @description Settings orphaned */
3042
+ /** @description Config orphaned */
3043
3043
  422: {
3044
3044
  headers: {
3045
3045
  [name: string]: unknown;
@@ -3065,7 +3065,7 @@ interface paths {
3065
3065
  patch?: never;
3066
3066
  trace?: never;
3067
3067
  };
3068
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}': {
3068
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}/deployments/{deploymentId}': {
3069
3069
  parameters: {
3070
3070
  query?: never;
3071
3071
  header?: never;
@@ -3073,8 +3073,8 @@ interface paths {
3073
3073
  cookie?: never;
3074
3074
  };
3075
3075
  /**
3076
- * Get settings deployment detail
3077
- * @description Get a specific deployment by ID, scoped to a settings entry.
3076
+ * Get config deployment detail
3077
+ * @description Get a specific deployment by ID, scoped to a config.
3078
3078
  */
3079
3079
  get: {
3080
3080
  parameters: {
@@ -3083,7 +3083,7 @@ interface paths {
3083
3083
  path: {
3084
3084
  projectId: string;
3085
3085
  flowId: string;
3086
- settingsId: string;
3086
+ configId: string;
3087
3087
  deploymentId: string;
3088
3088
  };
3089
3089
  cookie?: never;
@@ -3096,7 +3096,7 @@ interface paths {
3096
3096
  [name: string]: unknown;
3097
3097
  };
3098
3098
  content: {
3099
- 'application/json': components['schemas']['SettingsDeploymentDetailResponse'];
3099
+ 'application/json': components['schemas']['ConfigDeploymentDetailResponse'];
3100
3100
  };
3101
3101
  };
3102
3102
  /** @description Unauthorized */
@@ -3127,7 +3127,7 @@ interface paths {
3127
3127
  patch?: never;
3128
3128
  trace?: never;
3129
3129
  };
3130
- '/api/projects/{projectId}/flows/{flowId}/settings/{settingsId}/deployments/{deploymentId}/advance': {
3130
+ '/api/projects/{projectId}/flows/{flowId}/configs/{configId}/deployments/{deploymentId}/advance': {
3131
3131
  parameters: {
3132
3132
  query?: never;
3133
3133
  header?: never;
@@ -3137,8 +3137,8 @@ interface paths {
3137
3137
  get?: never;
3138
3138
  put?: never;
3139
3139
  /**
3140
- * Advance settings deployment
3141
- * @description Advance the deployment state machine for a per-settings deployment.
3140
+ * Advance config deployment
3141
+ * @description Advance the deployment state machine for a per-config deployment.
3142
3142
  */
3143
3143
  post: {
3144
3144
  parameters: {
@@ -3147,7 +3147,7 @@ interface paths {
3147
3147
  path: {
3148
3148
  projectId: string;
3149
3149
  flowId: string;
3150
- settingsId: string;
3150
+ configId: string;
3151
3151
  deploymentId: string;
3152
3152
  };
3153
3153
  cookie?: never;
@@ -3160,7 +3160,7 @@ interface paths {
3160
3160
  [name: string]: unknown;
3161
3161
  };
3162
3162
  content: {
3163
- 'application/json': components['schemas']['AdvanceSettingsDeploymentResponse'];
3163
+ 'application/json': components['schemas']['AdvanceConfigDeploymentResponse'];
3164
3164
  };
3165
3165
  };
3166
3166
  /** @description Unauthorized */
@@ -3605,12 +3605,12 @@ interface paths {
3605
3605
  put?: never;
3606
3606
  /**
3607
3607
  * Trigger flow bundle
3608
- * @description Start a bundle job for a project flow. For multi-settings flows, specify the named flow via ?flow= query parameter.
3608
+ * @description Start a bundle job for a project flow. For multi-config flows, specify the named flow via ?flow= query parameter.
3609
3609
  */
3610
3610
  post: {
3611
3611
  parameters: {
3612
3612
  query?: {
3613
- /** @description Named flow to bundle (required for multi-settings flows) */
3613
+ /** @description Named flow to bundle (required for multi-config flows) */
3614
3614
  flow?: string;
3615
3615
  };
3616
3616
  header?: never;
@@ -3649,7 +3649,7 @@ interface paths {
3649
3649
  'application/json': components['schemas']['ErrorResponse'];
3650
3650
  };
3651
3651
  };
3652
- /** @description Flow selection required for multi-settings flows */
3652
+ /** @description Flow selection required for multi-config flows */
3653
3653
  422: {
3654
3654
  headers: {
3655
3655
  [name: string]: unknown;
@@ -4314,8 +4314,8 @@ interface components {
4314
4314
  id: string;
4315
4315
  /** @example my-website-flow */
4316
4316
  name: string;
4317
- config: components['schemas']['FlowContent'];
4318
- settings?: components['schemas']['FlowSettingsSummary'][];
4317
+ content: components['schemas']['FlowContent'];
4318
+ configs?: components['schemas']['FlowConfigSummary'][];
4319
4319
  /**
4320
4320
  * Format: date-time
4321
4321
  * @example 2026-01-26T14:30:00.000Z
@@ -4329,7 +4329,7 @@ interface components {
4329
4329
  /** Format: date-time */
4330
4330
  deletedAt?: string | null;
4331
4331
  };
4332
- FlowSettingsSummary: {
4332
+ FlowConfigSummary: {
4333
4333
  /** @example cfg_a1b2c3d4 */
4334
4334
  id: string;
4335
4335
  name: string;
@@ -4355,7 +4355,7 @@ interface components {
4355
4355
  /** @example my-website-flow */
4356
4356
  name: string;
4357
4357
  summary?: string;
4358
- settings?: components['schemas']['FlowSettingsListItem'][];
4358
+ configs?: components['schemas']['FlowConfigListItem'][];
4359
4359
  /**
4360
4360
  * Format: date-time
4361
4361
  * @example 2026-01-26T14:30:00.000Z
@@ -4369,7 +4369,7 @@ interface components {
4369
4369
  /** Format: date-time */
4370
4370
  deletedAt: string | null;
4371
4371
  };
4372
- FlowSettingsListItem: {
4372
+ FlowConfigListItem: {
4373
4373
  /** @example cfg_a1b2c3d4 */
4374
4374
  id: string;
4375
4375
  name: string;
@@ -4464,7 +4464,7 @@ interface components {
4464
4464
  */
4465
4465
  revokedAt: string | null;
4466
4466
  };
4467
- FlowSettingsDetail: {
4467
+ FlowConfigDetail: {
4468
4468
  /** @example cfg_a1b2c3d4 */
4469
4469
  id: string;
4470
4470
  name: string;
@@ -4505,10 +4505,10 @@ interface components {
4505
4505
  */
4506
4506
  updatedAt: string;
4507
4507
  };
4508
- DeploySettingsResponse: {
4508
+ DeployConfigResponse: {
4509
4509
  deploymentId: string;
4510
4510
  /** @example cfg_a1b2c3d4 */
4511
- settingsId: string;
4511
+ configId: string;
4512
4512
  status: string;
4513
4513
  };
4514
4514
  FlowDetailResponse: {
@@ -4516,8 +4516,8 @@ interface components {
4516
4516
  id: string;
4517
4517
  /** @example my-website-flow */
4518
4518
  name: string;
4519
- config: components['schemas']['FlowContent'];
4520
- settings?: components['schemas']['FlowSettingsEnriched'][];
4519
+ content: components['schemas']['FlowContent'];
4520
+ configs?: components['schemas']['FlowConfigEnriched'][];
4521
4521
  /**
4522
4522
  * Format: date-time
4523
4523
  * @example 2026-01-26T14:30:00.000Z
@@ -4531,7 +4531,7 @@ interface components {
4531
4531
  /** Format: date-time */
4532
4532
  deletedAt: string | null;
4533
4533
  };
4534
- FlowSettingsEnriched: {
4534
+ FlowConfigEnriched: {
4535
4535
  id: string;
4536
4536
  name: string;
4537
4537
  /** @enum {string} */
@@ -4566,7 +4566,7 @@ interface components {
4566
4566
  id: string;
4567
4567
  /** @example my-website-flow */
4568
4568
  name: string;
4569
- config: components['schemas']['FlowContent'];
4569
+ content: components['schemas']['FlowContent'];
4570
4570
  /**
4571
4571
  * Format: date-time
4572
4572
  * @example 2026-01-26T14:30:00.000Z
@@ -4675,7 +4675,7 @@ interface components {
4675
4675
  source: {
4676
4676
  type: string;
4677
4677
  flowId?: string;
4678
- flowSettingsId?: string;
4678
+ flowConfigId?: string;
4679
4679
  configHash?: string;
4680
4680
  };
4681
4681
  /** Format: date-time */
@@ -4784,7 +4784,7 @@ interface components {
4784
4784
  /** @enum {string} */
4785
4785
  type: 'flow';
4786
4786
  flowId: string;
4787
- flowSettingsName: string;
4787
+ flowConfigName: string;
4788
4788
  }
4789
4789
  | {
4790
4790
  /** @enum {string} */
@@ -4800,7 +4800,7 @@ interface components {
4800
4800
  source: {
4801
4801
  type: string;
4802
4802
  flowId?: string;
4803
- flowSettingsId?: string;
4803
+ flowConfigId?: string;
4804
4804
  configHash?: string;
4805
4805
  };
4806
4806
  bundlePath: string | null;
@@ -4923,12 +4923,12 @@ interface components {
4923
4923
  CreateFlowRequest: {
4924
4924
  /** @example my-website-flow */
4925
4925
  name: string;
4926
- config?: components['schemas']['FlowContent'];
4926
+ content?: components['schemas']['FlowContent'];
4927
4927
  };
4928
4928
  UpdateFlowRequest: {
4929
4929
  /** @example my-website-flow */
4930
4930
  name?: string;
4931
- config?: components['schemas']['FlowContent'];
4931
+ content?: components['schemas']['FlowContent'];
4932
4932
  };
4933
4933
  DuplicateFlowRequest: {
4934
4934
  /** @example my-website-flow */
@@ -4954,13 +4954,13 @@ interface components {
4954
4954
  type: 'web' | 'server';
4955
4955
  status: string;
4956
4956
  };
4957
- ListSettingsResponse: {
4958
- settings: components['schemas']['FlowSettingsSummary'][];
4957
+ ListConfigsResponse: {
4958
+ configs: components['schemas']['FlowConfigSummary'][];
4959
4959
  };
4960
- SettingsDeploymentResponse: {
4960
+ ConfigDeploymentResponse: {
4961
4961
  id: string;
4962
4962
  flowId: string;
4963
- settingsId: string;
4963
+ configId: string;
4964
4964
  /** @enum {string} */
4965
4965
  type: 'web' | 'server';
4966
4966
  status: string;
@@ -4972,10 +4972,10 @@ interface components {
4972
4972
  /** Format: date-time */
4973
4973
  updatedAt: string;
4974
4974
  } | null;
4975
- SettingsDeploymentDetailResponse: {
4975
+ ConfigDeploymentDetailResponse: {
4976
4976
  id: string;
4977
4977
  flowId: string;
4978
- settingsId: string;
4978
+ configId: string;
4979
4979
  status: string;
4980
4980
  /** @enum {string} */
4981
4981
  type: 'web' | 'server';
@@ -4987,7 +4987,7 @@ interface components {
4987
4987
  /** Format: date-time */
4988
4988
  updatedAt: string;
4989
4989
  };
4990
- AdvanceSettingsDeploymentResponse: {
4990
+ AdvanceConfigDeploymentResponse: {
4991
4991
  id: string;
4992
4992
  flowId: string;
4993
4993
  /** @enum {string} */
@@ -5010,7 +5010,7 @@ interface components {
5010
5010
  GetVersionResponse: {
5011
5011
  /** @example 1 */
5012
5012
  version: number;
5013
- config: components['schemas']['FlowContent'];
5013
+ content: components['schemas']['FlowContent'];
5014
5014
  /**
5015
5015
  * Format: date-time
5016
5016
  * @example 2026-01-26T14:30:00.000Z