windmill-client 1.309.2 → 1.310.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/core/OpenAPI.js +1 -1
- package/dist/schemas.gen.d.ts +0 -415
- package/dist/schemas.gen.js +1 -422
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -2738,418 +2738,3 @@ export declare const $FlowStatusModule: {
|
|
|
2738
2738
|
};
|
|
2739
2739
|
readonly required: readonly ["type"];
|
|
2740
2740
|
};
|
|
2741
|
-
export declare const $Key: {
|
|
2742
|
-
readonly name: "key";
|
|
2743
|
-
readonly in: "path";
|
|
2744
|
-
readonly required: true;
|
|
2745
|
-
readonly schema: {
|
|
2746
|
-
readonly type: "string";
|
|
2747
|
-
};
|
|
2748
|
-
};
|
|
2749
|
-
export declare const $WorkspaceId: {
|
|
2750
|
-
readonly name: "workspace";
|
|
2751
|
-
readonly in: "path";
|
|
2752
|
-
readonly required: true;
|
|
2753
|
-
readonly schema: {
|
|
2754
|
-
readonly type: "string";
|
|
2755
|
-
};
|
|
2756
|
-
};
|
|
2757
|
-
export declare const $VersionId: {
|
|
2758
|
-
readonly name: "version";
|
|
2759
|
-
readonly in: "path";
|
|
2760
|
-
readonly required: true;
|
|
2761
|
-
readonly schema: {
|
|
2762
|
-
readonly type: "number";
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
export declare const $Token: {
|
|
2766
|
-
readonly name: "token";
|
|
2767
|
-
readonly in: "path";
|
|
2768
|
-
readonly required: true;
|
|
2769
|
-
readonly schema: {
|
|
2770
|
-
readonly type: "string";
|
|
2771
|
-
};
|
|
2772
|
-
};
|
|
2773
|
-
export declare const $AccountId: {
|
|
2774
|
-
readonly name: "id";
|
|
2775
|
-
readonly in: "path";
|
|
2776
|
-
readonly required: true;
|
|
2777
|
-
readonly schema: {
|
|
2778
|
-
readonly type: "integer";
|
|
2779
|
-
};
|
|
2780
|
-
};
|
|
2781
|
-
export declare const $ClientName: {
|
|
2782
|
-
readonly name: "client_name";
|
|
2783
|
-
readonly in: "path";
|
|
2784
|
-
readonly required: true;
|
|
2785
|
-
readonly schema: {
|
|
2786
|
-
readonly type: "string";
|
|
2787
|
-
};
|
|
2788
|
-
};
|
|
2789
|
-
export declare const $ScriptPath: {
|
|
2790
|
-
readonly name: "path";
|
|
2791
|
-
readonly in: "path";
|
|
2792
|
-
readonly required: true;
|
|
2793
|
-
readonly schema: {
|
|
2794
|
-
readonly type: "string";
|
|
2795
|
-
};
|
|
2796
|
-
};
|
|
2797
|
-
export declare const $ScriptHash: {
|
|
2798
|
-
readonly name: "hash";
|
|
2799
|
-
readonly in: "path";
|
|
2800
|
-
readonly required: true;
|
|
2801
|
-
readonly schema: {
|
|
2802
|
-
readonly type: "string";
|
|
2803
|
-
};
|
|
2804
|
-
};
|
|
2805
|
-
export declare const $JobId: {
|
|
2806
|
-
readonly name: "id";
|
|
2807
|
-
readonly in: "path";
|
|
2808
|
-
readonly required: true;
|
|
2809
|
-
readonly schema: {
|
|
2810
|
-
readonly type: "string";
|
|
2811
|
-
readonly format: "uuid";
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
export declare const $Path: {
|
|
2815
|
-
readonly name: "path";
|
|
2816
|
-
readonly in: "path";
|
|
2817
|
-
readonly required: true;
|
|
2818
|
-
readonly schema: {
|
|
2819
|
-
readonly type: "string";
|
|
2820
|
-
};
|
|
2821
|
-
};
|
|
2822
|
-
export declare const $PathId: {
|
|
2823
|
-
readonly name: "id";
|
|
2824
|
-
readonly in: "path";
|
|
2825
|
-
readonly required: true;
|
|
2826
|
-
readonly schema: {
|
|
2827
|
-
readonly type: "integer";
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
|
-
export declare const $PathVersion: {
|
|
2831
|
-
readonly name: "version";
|
|
2832
|
-
readonly in: "path";
|
|
2833
|
-
readonly required: true;
|
|
2834
|
-
readonly schema: {
|
|
2835
|
-
readonly type: "integer";
|
|
2836
|
-
};
|
|
2837
|
-
};
|
|
2838
|
-
export declare const $Name: {
|
|
2839
|
-
readonly name: "name";
|
|
2840
|
-
readonly in: "path";
|
|
2841
|
-
readonly required: true;
|
|
2842
|
-
readonly schema: {
|
|
2843
|
-
readonly type: "string";
|
|
2844
|
-
};
|
|
2845
|
-
};
|
|
2846
|
-
export declare const $Page: {
|
|
2847
|
-
readonly name: "page";
|
|
2848
|
-
readonly description: "which page to return (start at 1, default 1)";
|
|
2849
|
-
readonly in: "query";
|
|
2850
|
-
readonly schema: {
|
|
2851
|
-
readonly type: "integer";
|
|
2852
|
-
};
|
|
2853
|
-
};
|
|
2854
|
-
export declare const $PerPage: {
|
|
2855
|
-
readonly name: "per_page";
|
|
2856
|
-
readonly description: "number of items to return for a given page (default 30, max 100)";
|
|
2857
|
-
readonly in: "query";
|
|
2858
|
-
readonly schema: {
|
|
2859
|
-
readonly type: "integer";
|
|
2860
|
-
};
|
|
2861
|
-
};
|
|
2862
|
-
export declare const $OrderDesc: {
|
|
2863
|
-
readonly name: "order_desc";
|
|
2864
|
-
readonly description: "order by desc order (default true)";
|
|
2865
|
-
readonly in: "query";
|
|
2866
|
-
readonly schema: {
|
|
2867
|
-
readonly type: "boolean";
|
|
2868
|
-
};
|
|
2869
|
-
};
|
|
2870
|
-
export declare const $CreatedBy: {
|
|
2871
|
-
readonly name: "created_by";
|
|
2872
|
-
readonly description: "mask to filter exact matching user creator";
|
|
2873
|
-
readonly in: "query";
|
|
2874
|
-
readonly schema: {
|
|
2875
|
-
readonly type: "string";
|
|
2876
|
-
};
|
|
2877
|
-
};
|
|
2878
|
-
export declare const $ParentJob: {
|
|
2879
|
-
readonly name: "parent_job";
|
|
2880
|
-
readonly description: "The parent job that is at the origin and responsible for the execution of this script if any";
|
|
2881
|
-
readonly in: "query";
|
|
2882
|
-
readonly schema: {
|
|
2883
|
-
readonly type: "string";
|
|
2884
|
-
readonly format: "uuid";
|
|
2885
|
-
};
|
|
2886
|
-
};
|
|
2887
|
-
export declare const $WorkerTag: {
|
|
2888
|
-
readonly name: "tag";
|
|
2889
|
-
readonly description: "Override the tag to use";
|
|
2890
|
-
readonly in: "query";
|
|
2891
|
-
readonly schema: {
|
|
2892
|
-
readonly type: "string";
|
|
2893
|
-
};
|
|
2894
|
-
};
|
|
2895
|
-
export declare const $CacheTtl: {
|
|
2896
|
-
readonly name: "cache_ttl";
|
|
2897
|
-
readonly description: "Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl";
|
|
2898
|
-
readonly in: "query";
|
|
2899
|
-
readonly schema: {
|
|
2900
|
-
readonly type: "string";
|
|
2901
|
-
};
|
|
2902
|
-
};
|
|
2903
|
-
export declare const $NewJobId: {
|
|
2904
|
-
readonly name: "job_id";
|
|
2905
|
-
readonly description: "The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)";
|
|
2906
|
-
readonly in: "query";
|
|
2907
|
-
readonly schema: {
|
|
2908
|
-
readonly type: "string";
|
|
2909
|
-
readonly format: "uuid";
|
|
2910
|
-
};
|
|
2911
|
-
};
|
|
2912
|
-
export declare const $IncludeHeader: {
|
|
2913
|
-
readonly name: "include_header";
|
|
2914
|
-
readonly description: "List of headers's keys (separated with ',') whove value are added to the args\nHeader's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key\n";
|
|
2915
|
-
readonly in: "query";
|
|
2916
|
-
readonly schema: {
|
|
2917
|
-
readonly type: "string";
|
|
2918
|
-
};
|
|
2919
|
-
};
|
|
2920
|
-
export declare const $QueueLimit: {
|
|
2921
|
-
readonly name: "queue_limit";
|
|
2922
|
-
readonly description: "The maximum size of the queue for which the request would get rejected if that job would push it above that limit\n";
|
|
2923
|
-
readonly in: "query";
|
|
2924
|
-
readonly schema: {
|
|
2925
|
-
readonly type: "string";
|
|
2926
|
-
};
|
|
2927
|
-
};
|
|
2928
|
-
export declare const $Payload: {
|
|
2929
|
-
readonly name: "payload";
|
|
2930
|
-
readonly description: "The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent\n`encodeURIComponent(btoa(JSON.stringify({a: 2})))`\n";
|
|
2931
|
-
readonly in: "query";
|
|
2932
|
-
readonly schema: {
|
|
2933
|
-
readonly type: "string";
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
export declare const $ScriptStartPath: {
|
|
2937
|
-
readonly name: "script_path_start";
|
|
2938
|
-
readonly description: "mask to filter matching starting path";
|
|
2939
|
-
readonly in: "query";
|
|
2940
|
-
readonly schema: {
|
|
2941
|
-
readonly type: "string";
|
|
2942
|
-
};
|
|
2943
|
-
};
|
|
2944
|
-
export declare const $SchedulePath: {
|
|
2945
|
-
readonly name: "schedule_path";
|
|
2946
|
-
readonly description: "mask to filter by schedule path";
|
|
2947
|
-
readonly in: "query";
|
|
2948
|
-
readonly schema: {
|
|
2949
|
-
readonly type: "string";
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
export declare const $ScriptExactPath: {
|
|
2953
|
-
readonly name: "script_path_exact";
|
|
2954
|
-
readonly description: "mask to filter exact matching path";
|
|
2955
|
-
readonly in: "query";
|
|
2956
|
-
readonly schema: {
|
|
2957
|
-
readonly type: "string";
|
|
2958
|
-
};
|
|
2959
|
-
};
|
|
2960
|
-
export declare const $ScriptExactHash: {
|
|
2961
|
-
readonly name: "script_hash";
|
|
2962
|
-
readonly description: "mask to filter exact matching path";
|
|
2963
|
-
readonly in: "query";
|
|
2964
|
-
readonly schema: {
|
|
2965
|
-
readonly type: "string";
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
export declare const $StartedBefore: {
|
|
2969
|
-
readonly name: "started_before";
|
|
2970
|
-
readonly description: "filter on started before (inclusive) timestamp";
|
|
2971
|
-
readonly in: "query";
|
|
2972
|
-
readonly schema: {
|
|
2973
|
-
readonly type: "string";
|
|
2974
|
-
readonly format: "date-time";
|
|
2975
|
-
};
|
|
2976
|
-
};
|
|
2977
|
-
export declare const $StartedAfter: {
|
|
2978
|
-
readonly name: "started_after";
|
|
2979
|
-
readonly description: "filter on started after (exclusive) timestamp";
|
|
2980
|
-
readonly in: "query";
|
|
2981
|
-
readonly schema: {
|
|
2982
|
-
readonly type: "string";
|
|
2983
|
-
readonly format: "date-time";
|
|
2984
|
-
};
|
|
2985
|
-
};
|
|
2986
|
-
export declare const $CreatedOrStartedAfter: {
|
|
2987
|
-
readonly name: "created_or_started_after";
|
|
2988
|
-
readonly description: "filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp";
|
|
2989
|
-
readonly in: "query";
|
|
2990
|
-
readonly schema: {
|
|
2991
|
-
readonly type: "string";
|
|
2992
|
-
readonly format: "date-time";
|
|
2993
|
-
};
|
|
2994
|
-
};
|
|
2995
|
-
export declare const $CreatedOrStartedBefore: {
|
|
2996
|
-
readonly name: "created_or_started_before";
|
|
2997
|
-
readonly description: "filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp";
|
|
2998
|
-
readonly in: "query";
|
|
2999
|
-
readonly schema: {
|
|
3000
|
-
readonly type: "string";
|
|
3001
|
-
readonly format: "date-time";
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
|
-
export declare const $Success: {
|
|
3005
|
-
readonly name: "success";
|
|
3006
|
-
readonly description: "filter on successful jobs";
|
|
3007
|
-
readonly in: "query";
|
|
3008
|
-
readonly schema: {
|
|
3009
|
-
readonly type: "boolean";
|
|
3010
|
-
};
|
|
3011
|
-
};
|
|
3012
|
-
export declare const $ScheduledForBeforeNow: {
|
|
3013
|
-
readonly name: "scheduled_for_before_now";
|
|
3014
|
-
readonly description: "filter on jobs scheduled_for before now (hence waitinf for a worker)";
|
|
3015
|
-
readonly in: "query";
|
|
3016
|
-
readonly schema: {
|
|
3017
|
-
readonly type: "boolean";
|
|
3018
|
-
};
|
|
3019
|
-
};
|
|
3020
|
-
export declare const $Suspended: {
|
|
3021
|
-
readonly name: "suspended";
|
|
3022
|
-
readonly description: "filter on suspended jobs";
|
|
3023
|
-
readonly in: "query";
|
|
3024
|
-
readonly schema: {
|
|
3025
|
-
readonly type: "boolean";
|
|
3026
|
-
};
|
|
3027
|
-
};
|
|
3028
|
-
export declare const $Running: {
|
|
3029
|
-
readonly name: "running";
|
|
3030
|
-
readonly description: "filter on running jobs";
|
|
3031
|
-
readonly in: "query";
|
|
3032
|
-
readonly schema: {
|
|
3033
|
-
readonly type: "boolean";
|
|
3034
|
-
};
|
|
3035
|
-
};
|
|
3036
|
-
export declare const $ArgsFilter: {
|
|
3037
|
-
readonly name: "args";
|
|
3038
|
-
readonly description: "filter on jobs containing those args as a json subset (@> in postgres)";
|
|
3039
|
-
readonly in: "query";
|
|
3040
|
-
readonly schema: {
|
|
3041
|
-
readonly type: "string";
|
|
3042
|
-
};
|
|
3043
|
-
};
|
|
3044
|
-
export declare const $Tag: {
|
|
3045
|
-
readonly name: "tag";
|
|
3046
|
-
readonly description: "filter on jobs with a given tag/worker group";
|
|
3047
|
-
readonly in: "query";
|
|
3048
|
-
readonly schema: {
|
|
3049
|
-
readonly type: "string";
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
export declare const $ResultFilter: {
|
|
3053
|
-
readonly name: "result";
|
|
3054
|
-
readonly description: "filter on jobs containing those result as a json subset (@> in postgres)";
|
|
3055
|
-
readonly in: "query";
|
|
3056
|
-
readonly schema: {
|
|
3057
|
-
readonly type: "string";
|
|
3058
|
-
};
|
|
3059
|
-
};
|
|
3060
|
-
export declare const $After: {
|
|
3061
|
-
readonly name: "after";
|
|
3062
|
-
readonly description: "filter on created after (exclusive) timestamp";
|
|
3063
|
-
readonly in: "query";
|
|
3064
|
-
readonly schema: {
|
|
3065
|
-
readonly type: "string";
|
|
3066
|
-
readonly format: "date-time";
|
|
3067
|
-
};
|
|
3068
|
-
};
|
|
3069
|
-
export declare const $Before: {
|
|
3070
|
-
readonly name: "before";
|
|
3071
|
-
readonly description: "filter on created before (exclusive) timestamp";
|
|
3072
|
-
readonly in: "query";
|
|
3073
|
-
readonly schema: {
|
|
3074
|
-
readonly type: "string";
|
|
3075
|
-
readonly format: "date-time";
|
|
3076
|
-
};
|
|
3077
|
-
};
|
|
3078
|
-
export declare const $Username: {
|
|
3079
|
-
readonly name: "username";
|
|
3080
|
-
readonly description: "filter on exact username of user";
|
|
3081
|
-
readonly in: "query";
|
|
3082
|
-
readonly schema: {
|
|
3083
|
-
readonly type: "string";
|
|
3084
|
-
};
|
|
3085
|
-
};
|
|
3086
|
-
export declare const $Operation: {
|
|
3087
|
-
readonly name: "operation";
|
|
3088
|
-
readonly description: "filter on exact or prefix name of operation";
|
|
3089
|
-
readonly in: "query";
|
|
3090
|
-
readonly schema: {
|
|
3091
|
-
readonly type: "string";
|
|
3092
|
-
};
|
|
3093
|
-
};
|
|
3094
|
-
export declare const $ResourceName: {
|
|
3095
|
-
readonly name: "resource";
|
|
3096
|
-
readonly description: "filter on exact or prefix name of resource";
|
|
3097
|
-
readonly in: "query";
|
|
3098
|
-
readonly schema: {
|
|
3099
|
-
readonly type: "string";
|
|
3100
|
-
};
|
|
3101
|
-
};
|
|
3102
|
-
export declare const $ActionKind: {
|
|
3103
|
-
readonly name: "action_kind";
|
|
3104
|
-
readonly description: "filter on type of operation";
|
|
3105
|
-
readonly in: "query";
|
|
3106
|
-
readonly schema: {
|
|
3107
|
-
readonly type: "string";
|
|
3108
|
-
readonly enum: readonly ["Create", "Update", "Delete", "Execute"];
|
|
3109
|
-
};
|
|
3110
|
-
};
|
|
3111
|
-
export declare const $JobKinds: {
|
|
3112
|
-
readonly name: "job_kinds";
|
|
3113
|
-
readonly description: "filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,";
|
|
3114
|
-
readonly in: "query";
|
|
3115
|
-
readonly schema: {
|
|
3116
|
-
readonly type: "string";
|
|
3117
|
-
};
|
|
3118
|
-
};
|
|
3119
|
-
export declare const $RunnableId: {
|
|
3120
|
-
readonly name: "runnable_id";
|
|
3121
|
-
readonly in: "query";
|
|
3122
|
-
readonly schema: {
|
|
3123
|
-
readonly type: "string";
|
|
3124
|
-
};
|
|
3125
|
-
};
|
|
3126
|
-
export declare const $RunnableTypeQuery: {
|
|
3127
|
-
readonly name: "runnable_type";
|
|
3128
|
-
readonly in: "query";
|
|
3129
|
-
readonly schema: {
|
|
3130
|
-
readonly $ref: "#/components/schemas/RunnableType";
|
|
3131
|
-
};
|
|
3132
|
-
};
|
|
3133
|
-
export declare const $InputId: {
|
|
3134
|
-
readonly name: "input";
|
|
3135
|
-
readonly in: "path";
|
|
3136
|
-
readonly required: true;
|
|
3137
|
-
readonly schema: {
|
|
3138
|
-
readonly type: "string";
|
|
3139
|
-
};
|
|
3140
|
-
};
|
|
3141
|
-
export declare const $GetStarted: {
|
|
3142
|
-
readonly name: "get_started";
|
|
3143
|
-
readonly in: "query";
|
|
3144
|
-
readonly schema: {
|
|
3145
|
-
readonly type: "boolean";
|
|
3146
|
-
};
|
|
3147
|
-
};
|
|
3148
|
-
export declare const $ConcurrencyId: {
|
|
3149
|
-
readonly name: "concurrency_id";
|
|
3150
|
-
readonly in: "path";
|
|
3151
|
-
readonly required: true;
|
|
3152
|
-
readonly schema: {
|
|
3153
|
-
readonly type: "string";
|
|
3154
|
-
};
|
|
3155
|
-
};
|
package/dist/schemas.gen.js
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
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.$
|
|
6
|
-
exports.$ConcurrencyId = exports.$GetStarted = exports.$InputId = exports.$RunnableTypeQuery = exports.$RunnableId = exports.$JobKinds = exports.$ActionKind = exports.$ResourceName = exports.$Operation = exports.$Username = exports.$Before = exports.$After = exports.$ResultFilter = exports.$Tag = exports.$ArgsFilter = exports.$Running = exports.$Suspended = exports.$ScheduledForBeforeNow = exports.$Success = exports.$CreatedOrStartedBefore = exports.$CreatedOrStartedAfter = exports.$StartedAfter = exports.$StartedBefore = exports.$ScriptExactHash = exports.$ScriptExactPath = exports.$SchedulePath = exports.$ScriptStartPath = exports.$Payload = exports.$QueueLimit = exports.$IncludeHeader = exports.$NewJobId = exports.$CacheTtl = exports.$WorkerTag = exports.$ParentJob = exports.$CreatedBy = exports.$OrderDesc = exports.$PerPage = exports.$Page = exports.$Name = exports.$PathVersion = exports.$PathId = exports.$Path = exports.$JobId = exports.$ScriptHash = exports.$ScriptPath = exports.$ClientName = exports.$AccountId = exports.$Token = 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;
|
|
7
6
|
exports.$Script = {
|
|
8
7
|
type: 'object',
|
|
9
8
|
properties: {
|
|
@@ -2800,423 +2799,3 @@ exports.$FlowStatusModule = {
|
|
|
2800
2799
|
},
|
|
2801
2800
|
required: ['type']
|
|
2802
2801
|
};
|
|
2803
|
-
exports.$Key = {
|
|
2804
|
-
name: 'key',
|
|
2805
|
-
in: 'path',
|
|
2806
|
-
required: true,
|
|
2807
|
-
schema: {
|
|
2808
|
-
type: 'string'
|
|
2809
|
-
}
|
|
2810
|
-
};
|
|
2811
|
-
exports.$WorkspaceId = {
|
|
2812
|
-
name: 'workspace',
|
|
2813
|
-
in: 'path',
|
|
2814
|
-
required: true,
|
|
2815
|
-
schema: {
|
|
2816
|
-
type: 'string'
|
|
2817
|
-
}
|
|
2818
|
-
};
|
|
2819
|
-
exports.$VersionId = {
|
|
2820
|
-
name: 'version',
|
|
2821
|
-
in: 'path',
|
|
2822
|
-
required: true,
|
|
2823
|
-
schema: {
|
|
2824
|
-
type: 'number'
|
|
2825
|
-
}
|
|
2826
|
-
};
|
|
2827
|
-
exports.$Token = {
|
|
2828
|
-
name: 'token',
|
|
2829
|
-
in: 'path',
|
|
2830
|
-
required: true,
|
|
2831
|
-
schema: {
|
|
2832
|
-
type: 'string'
|
|
2833
|
-
}
|
|
2834
|
-
};
|
|
2835
|
-
exports.$AccountId = {
|
|
2836
|
-
name: 'id',
|
|
2837
|
-
in: 'path',
|
|
2838
|
-
required: true,
|
|
2839
|
-
schema: {
|
|
2840
|
-
type: 'integer'
|
|
2841
|
-
}
|
|
2842
|
-
};
|
|
2843
|
-
exports.$ClientName = {
|
|
2844
|
-
name: 'client_name',
|
|
2845
|
-
in: 'path',
|
|
2846
|
-
required: true,
|
|
2847
|
-
schema: {
|
|
2848
|
-
type: 'string'
|
|
2849
|
-
}
|
|
2850
|
-
};
|
|
2851
|
-
exports.$ScriptPath = {
|
|
2852
|
-
name: 'path',
|
|
2853
|
-
in: 'path',
|
|
2854
|
-
required: true,
|
|
2855
|
-
schema: {
|
|
2856
|
-
type: 'string'
|
|
2857
|
-
}
|
|
2858
|
-
};
|
|
2859
|
-
exports.$ScriptHash = {
|
|
2860
|
-
name: 'hash',
|
|
2861
|
-
in: 'path',
|
|
2862
|
-
required: true,
|
|
2863
|
-
schema: {
|
|
2864
|
-
type: 'string'
|
|
2865
|
-
}
|
|
2866
|
-
};
|
|
2867
|
-
exports.$JobId = {
|
|
2868
|
-
name: 'id',
|
|
2869
|
-
in: 'path',
|
|
2870
|
-
required: true,
|
|
2871
|
-
schema: {
|
|
2872
|
-
type: 'string',
|
|
2873
|
-
format: 'uuid'
|
|
2874
|
-
}
|
|
2875
|
-
};
|
|
2876
|
-
exports.$Path = {
|
|
2877
|
-
name: 'path',
|
|
2878
|
-
in: 'path',
|
|
2879
|
-
required: true,
|
|
2880
|
-
schema: {
|
|
2881
|
-
type: 'string'
|
|
2882
|
-
}
|
|
2883
|
-
};
|
|
2884
|
-
exports.$PathId = {
|
|
2885
|
-
name: 'id',
|
|
2886
|
-
in: 'path',
|
|
2887
|
-
required: true,
|
|
2888
|
-
schema: {
|
|
2889
|
-
type: 'integer'
|
|
2890
|
-
}
|
|
2891
|
-
};
|
|
2892
|
-
exports.$PathVersion = {
|
|
2893
|
-
name: 'version',
|
|
2894
|
-
in: 'path',
|
|
2895
|
-
required: true,
|
|
2896
|
-
schema: {
|
|
2897
|
-
type: 'integer'
|
|
2898
|
-
}
|
|
2899
|
-
};
|
|
2900
|
-
exports.$Name = {
|
|
2901
|
-
name: 'name',
|
|
2902
|
-
in: 'path',
|
|
2903
|
-
required: true,
|
|
2904
|
-
schema: {
|
|
2905
|
-
type: 'string'
|
|
2906
|
-
}
|
|
2907
|
-
};
|
|
2908
|
-
exports.$Page = {
|
|
2909
|
-
name: 'page',
|
|
2910
|
-
description: 'which page to return (start at 1, default 1)',
|
|
2911
|
-
in: 'query',
|
|
2912
|
-
schema: {
|
|
2913
|
-
type: 'integer'
|
|
2914
|
-
}
|
|
2915
|
-
};
|
|
2916
|
-
exports.$PerPage = {
|
|
2917
|
-
name: 'per_page',
|
|
2918
|
-
description: 'number of items to return for a given page (default 30, max 100)',
|
|
2919
|
-
in: 'query',
|
|
2920
|
-
schema: {
|
|
2921
|
-
type: 'integer'
|
|
2922
|
-
}
|
|
2923
|
-
};
|
|
2924
|
-
exports.$OrderDesc = {
|
|
2925
|
-
name: 'order_desc',
|
|
2926
|
-
description: 'order by desc order (default true)',
|
|
2927
|
-
in: 'query',
|
|
2928
|
-
schema: {
|
|
2929
|
-
type: 'boolean'
|
|
2930
|
-
}
|
|
2931
|
-
};
|
|
2932
|
-
exports.$CreatedBy = {
|
|
2933
|
-
name: 'created_by',
|
|
2934
|
-
description: 'mask to filter exact matching user creator',
|
|
2935
|
-
in: 'query',
|
|
2936
|
-
schema: {
|
|
2937
|
-
type: 'string'
|
|
2938
|
-
}
|
|
2939
|
-
};
|
|
2940
|
-
exports.$ParentJob = {
|
|
2941
|
-
name: 'parent_job',
|
|
2942
|
-
description: 'The parent job that is at the origin and responsible for the execution of this script if any',
|
|
2943
|
-
in: 'query',
|
|
2944
|
-
schema: {
|
|
2945
|
-
type: 'string',
|
|
2946
|
-
format: 'uuid'
|
|
2947
|
-
}
|
|
2948
|
-
};
|
|
2949
|
-
exports.$WorkerTag = {
|
|
2950
|
-
name: 'tag',
|
|
2951
|
-
description: 'Override the tag to use',
|
|
2952
|
-
in: 'query',
|
|
2953
|
-
schema: {
|
|
2954
|
-
type: 'string'
|
|
2955
|
-
}
|
|
2956
|
-
};
|
|
2957
|
-
exports.$CacheTtl = {
|
|
2958
|
-
name: 'cache_ttl',
|
|
2959
|
-
description: 'Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl',
|
|
2960
|
-
in: 'query',
|
|
2961
|
-
schema: {
|
|
2962
|
-
type: 'string'
|
|
2963
|
-
}
|
|
2964
|
-
};
|
|
2965
|
-
exports.$NewJobId = {
|
|
2966
|
-
name: 'job_id',
|
|
2967
|
-
description: 'The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)',
|
|
2968
|
-
in: 'query',
|
|
2969
|
-
schema: {
|
|
2970
|
-
type: 'string',
|
|
2971
|
-
format: 'uuid'
|
|
2972
|
-
}
|
|
2973
|
-
};
|
|
2974
|
-
exports.$IncludeHeader = {
|
|
2975
|
-
name: 'include_header',
|
|
2976
|
-
description: `List of headers's keys (separated with ',') whove value are added to the args
|
|
2977
|
-
Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
2978
|
-
`,
|
|
2979
|
-
in: 'query',
|
|
2980
|
-
schema: {
|
|
2981
|
-
type: 'string'
|
|
2982
|
-
}
|
|
2983
|
-
};
|
|
2984
|
-
exports.$QueueLimit = {
|
|
2985
|
-
name: 'queue_limit',
|
|
2986
|
-
description: `The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
2987
|
-
`,
|
|
2988
|
-
in: 'query',
|
|
2989
|
-
schema: {
|
|
2990
|
-
type: 'string'
|
|
2991
|
-
}
|
|
2992
|
-
};
|
|
2993
|
-
exports.$Payload = {
|
|
2994
|
-
name: 'payload',
|
|
2995
|
-
description: `The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
2996
|
-
\`encodeURIComponent(btoa(JSON.stringify({a: 2})))\`
|
|
2997
|
-
`,
|
|
2998
|
-
in: 'query',
|
|
2999
|
-
schema: {
|
|
3000
|
-
type: 'string'
|
|
3001
|
-
}
|
|
3002
|
-
};
|
|
3003
|
-
exports.$ScriptStartPath = {
|
|
3004
|
-
name: 'script_path_start',
|
|
3005
|
-
description: 'mask to filter matching starting path',
|
|
3006
|
-
in: 'query',
|
|
3007
|
-
schema: {
|
|
3008
|
-
type: 'string'
|
|
3009
|
-
}
|
|
3010
|
-
};
|
|
3011
|
-
exports.$SchedulePath = {
|
|
3012
|
-
name: 'schedule_path',
|
|
3013
|
-
description: 'mask to filter by schedule path',
|
|
3014
|
-
in: 'query',
|
|
3015
|
-
schema: {
|
|
3016
|
-
type: 'string'
|
|
3017
|
-
}
|
|
3018
|
-
};
|
|
3019
|
-
exports.$ScriptExactPath = {
|
|
3020
|
-
name: 'script_path_exact',
|
|
3021
|
-
description: 'mask to filter exact matching path',
|
|
3022
|
-
in: 'query',
|
|
3023
|
-
schema: {
|
|
3024
|
-
type: 'string'
|
|
3025
|
-
}
|
|
3026
|
-
};
|
|
3027
|
-
exports.$ScriptExactHash = {
|
|
3028
|
-
name: 'script_hash',
|
|
3029
|
-
description: 'mask to filter exact matching path',
|
|
3030
|
-
in: 'query',
|
|
3031
|
-
schema: {
|
|
3032
|
-
type: 'string'
|
|
3033
|
-
}
|
|
3034
|
-
};
|
|
3035
|
-
exports.$StartedBefore = {
|
|
3036
|
-
name: 'started_before',
|
|
3037
|
-
description: 'filter on started before (inclusive) timestamp',
|
|
3038
|
-
in: 'query',
|
|
3039
|
-
schema: {
|
|
3040
|
-
type: 'string',
|
|
3041
|
-
format: 'date-time'
|
|
3042
|
-
}
|
|
3043
|
-
};
|
|
3044
|
-
exports.$StartedAfter = {
|
|
3045
|
-
name: 'started_after',
|
|
3046
|
-
description: 'filter on started after (exclusive) timestamp',
|
|
3047
|
-
in: 'query',
|
|
3048
|
-
schema: {
|
|
3049
|
-
type: 'string',
|
|
3050
|
-
format: 'date-time'
|
|
3051
|
-
}
|
|
3052
|
-
};
|
|
3053
|
-
exports.$CreatedOrStartedAfter = {
|
|
3054
|
-
name: 'created_or_started_after',
|
|
3055
|
-
description: 'filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp',
|
|
3056
|
-
in: 'query',
|
|
3057
|
-
schema: {
|
|
3058
|
-
type: 'string',
|
|
3059
|
-
format: 'date-time'
|
|
3060
|
-
}
|
|
3061
|
-
};
|
|
3062
|
-
exports.$CreatedOrStartedBefore = {
|
|
3063
|
-
name: 'created_or_started_before',
|
|
3064
|
-
description: 'filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp',
|
|
3065
|
-
in: 'query',
|
|
3066
|
-
schema: {
|
|
3067
|
-
type: 'string',
|
|
3068
|
-
format: 'date-time'
|
|
3069
|
-
}
|
|
3070
|
-
};
|
|
3071
|
-
exports.$Success = {
|
|
3072
|
-
name: 'success',
|
|
3073
|
-
description: 'filter on successful jobs',
|
|
3074
|
-
in: 'query',
|
|
3075
|
-
schema: {
|
|
3076
|
-
type: 'boolean'
|
|
3077
|
-
}
|
|
3078
|
-
};
|
|
3079
|
-
exports.$ScheduledForBeforeNow = {
|
|
3080
|
-
name: 'scheduled_for_before_now',
|
|
3081
|
-
description: 'filter on jobs scheduled_for before now (hence waitinf for a worker)',
|
|
3082
|
-
in: 'query',
|
|
3083
|
-
schema: {
|
|
3084
|
-
type: 'boolean'
|
|
3085
|
-
}
|
|
3086
|
-
};
|
|
3087
|
-
exports.$Suspended = {
|
|
3088
|
-
name: 'suspended',
|
|
3089
|
-
description: 'filter on suspended jobs',
|
|
3090
|
-
in: 'query',
|
|
3091
|
-
schema: {
|
|
3092
|
-
type: 'boolean'
|
|
3093
|
-
}
|
|
3094
|
-
};
|
|
3095
|
-
exports.$Running = {
|
|
3096
|
-
name: 'running',
|
|
3097
|
-
description: 'filter on running jobs',
|
|
3098
|
-
in: 'query',
|
|
3099
|
-
schema: {
|
|
3100
|
-
type: 'boolean'
|
|
3101
|
-
}
|
|
3102
|
-
};
|
|
3103
|
-
exports.$ArgsFilter = {
|
|
3104
|
-
name: 'args',
|
|
3105
|
-
description: 'filter on jobs containing those args as a json subset (@> in postgres)',
|
|
3106
|
-
in: 'query',
|
|
3107
|
-
schema: {
|
|
3108
|
-
type: 'string'
|
|
3109
|
-
}
|
|
3110
|
-
};
|
|
3111
|
-
exports.$Tag = {
|
|
3112
|
-
name: 'tag',
|
|
3113
|
-
description: 'filter on jobs with a given tag/worker group',
|
|
3114
|
-
in: 'query',
|
|
3115
|
-
schema: {
|
|
3116
|
-
type: 'string'
|
|
3117
|
-
}
|
|
3118
|
-
};
|
|
3119
|
-
exports.$ResultFilter = {
|
|
3120
|
-
name: 'result',
|
|
3121
|
-
description: 'filter on jobs containing those result as a json subset (@> in postgres)',
|
|
3122
|
-
in: 'query',
|
|
3123
|
-
schema: {
|
|
3124
|
-
type: 'string'
|
|
3125
|
-
}
|
|
3126
|
-
};
|
|
3127
|
-
exports.$After = {
|
|
3128
|
-
name: 'after',
|
|
3129
|
-
description: 'filter on created after (exclusive) timestamp',
|
|
3130
|
-
in: 'query',
|
|
3131
|
-
schema: {
|
|
3132
|
-
type: 'string',
|
|
3133
|
-
format: 'date-time'
|
|
3134
|
-
}
|
|
3135
|
-
};
|
|
3136
|
-
exports.$Before = {
|
|
3137
|
-
name: 'before',
|
|
3138
|
-
description: 'filter on created before (exclusive) timestamp',
|
|
3139
|
-
in: 'query',
|
|
3140
|
-
schema: {
|
|
3141
|
-
type: 'string',
|
|
3142
|
-
format: 'date-time'
|
|
3143
|
-
}
|
|
3144
|
-
};
|
|
3145
|
-
exports.$Username = {
|
|
3146
|
-
name: 'username',
|
|
3147
|
-
description: 'filter on exact username of user',
|
|
3148
|
-
in: 'query',
|
|
3149
|
-
schema: {
|
|
3150
|
-
type: 'string'
|
|
3151
|
-
}
|
|
3152
|
-
};
|
|
3153
|
-
exports.$Operation = {
|
|
3154
|
-
name: 'operation',
|
|
3155
|
-
description: 'filter on exact or prefix name of operation',
|
|
3156
|
-
in: 'query',
|
|
3157
|
-
schema: {
|
|
3158
|
-
type: 'string'
|
|
3159
|
-
}
|
|
3160
|
-
};
|
|
3161
|
-
exports.$ResourceName = {
|
|
3162
|
-
name: 'resource',
|
|
3163
|
-
description: 'filter on exact or prefix name of resource',
|
|
3164
|
-
in: 'query',
|
|
3165
|
-
schema: {
|
|
3166
|
-
type: 'string'
|
|
3167
|
-
}
|
|
3168
|
-
};
|
|
3169
|
-
exports.$ActionKind = {
|
|
3170
|
-
name: 'action_kind',
|
|
3171
|
-
description: 'filter on type of operation',
|
|
3172
|
-
in: 'query',
|
|
3173
|
-
schema: {
|
|
3174
|
-
type: 'string',
|
|
3175
|
-
enum: ['Create', 'Update', 'Delete', 'Execute']
|
|
3176
|
-
}
|
|
3177
|
-
};
|
|
3178
|
-
exports.$JobKinds = {
|
|
3179
|
-
name: 'job_kinds',
|
|
3180
|
-
description: "filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,",
|
|
3181
|
-
in: 'query',
|
|
3182
|
-
schema: {
|
|
3183
|
-
type: 'string'
|
|
3184
|
-
}
|
|
3185
|
-
};
|
|
3186
|
-
exports.$RunnableId = {
|
|
3187
|
-
name: 'runnable_id',
|
|
3188
|
-
in: 'query',
|
|
3189
|
-
schema: {
|
|
3190
|
-
type: 'string'
|
|
3191
|
-
}
|
|
3192
|
-
};
|
|
3193
|
-
exports.$RunnableTypeQuery = {
|
|
3194
|
-
name: 'runnable_type',
|
|
3195
|
-
in: 'query',
|
|
3196
|
-
schema: {
|
|
3197
|
-
'$ref': '#/components/schemas/RunnableType'
|
|
3198
|
-
}
|
|
3199
|
-
};
|
|
3200
|
-
exports.$InputId = {
|
|
3201
|
-
name: 'input',
|
|
3202
|
-
in: 'path',
|
|
3203
|
-
required: true,
|
|
3204
|
-
schema: {
|
|
3205
|
-
type: 'string'
|
|
3206
|
-
}
|
|
3207
|
-
};
|
|
3208
|
-
exports.$GetStarted = {
|
|
3209
|
-
name: 'get_started',
|
|
3210
|
-
in: 'query',
|
|
3211
|
-
schema: {
|
|
3212
|
-
type: 'boolean'
|
|
3213
|
-
}
|
|
3214
|
-
};
|
|
3215
|
-
exports.$ConcurrencyId = {
|
|
3216
|
-
name: 'concurrency_id',
|
|
3217
|
-
in: 'path',
|
|
3218
|
-
required: true,
|
|
3219
|
-
schema: {
|
|
3220
|
-
type: 'string'
|
|
3221
|
-
}
|
|
3222
|
-
};
|