@devcycle/cli 6.0.1 → 6.0.2
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/api/apiClient.d.ts +120 -120
- package/dist/api/features.js +2 -2
- package/dist/api/schemas.d.ts +68 -68
- package/dist/api/variables.d.ts +15 -15
- package/dist/api/variations.d.ts +3 -3
- package/dist/api/zodClient.d.ts +1036 -1036
- package/dist/api/zodClient.js +2 -2
- package/dist/api/zodClient.js.map +1 -1
- package/dist/auth/ApiAuth.js +1 -1
- package/dist/auth/ApiAuth.js.map +1 -1
- package/dist/auth/TokenCache.js +2 -2
- package/dist/auth/TokenCache.js.map +1 -1
- package/dist/auth/utils/getTokenPayload.js +1 -1
- package/dist/auth/utils/getTokenPayload.js.map +1 -1
- package/dist/commands/cleanup/index.d.ts.map +1 -1
- package/dist/commands/cleanup/index.js.map +1 -1
- package/dist/commands/keys/get.d.ts.map +1 -1
- package/dist/commands/keys/get.js +1 -3
- package/dist/commands/keys/get.js.map +1 -1
- package/dist/commands/overrides/get.js.map +1 -1
- package/dist/commands/targeting/update.js +0 -1
- package/dist/commands/targeting/update.js.map +1 -1
- package/dist/commands/updateCommand.d.ts.map +1 -1
- package/dist/commands/updateCommand.js.map +1 -1
- package/dist/flags/var-alias/index.js +1 -1
- package/dist/flags/var-alias/index.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +11 -0
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools/customPropertiesTools.d.ts.map +1 -1
- package/dist/mcp/tools/customPropertiesTools.js +1 -0
- package/dist/mcp/tools/customPropertiesTools.js.map +1 -1
- package/dist/mcp/tools/environmentTools.d.ts +1 -1
- package/dist/mcp/tools/environmentTools.d.ts.map +1 -1
- package/dist/mcp/tools/environmentTools.js +41 -30
- package/dist/mcp/tools/environmentTools.js.map +1 -1
- package/dist/mcp/tools/featureTools.d.ts +18 -18
- package/dist/mcp/tools/featureTools.d.ts.map +1 -1
- package/dist/mcp/tools/featureTools.js +29 -7
- package/dist/mcp/tools/featureTools.js.map +1 -1
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +8 -6
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/installGuides.generated.d.ts +3 -0
- package/dist/mcp/tools/installGuides.generated.d.ts.map +1 -0
- package/dist/mcp/tools/installGuides.generated.js +36 -0
- package/dist/mcp/tools/installGuides.generated.js.map +1 -0
- package/dist/mcp/tools/installTools.d.ts +3 -0
- package/dist/mcp/tools/installTools.d.ts.map +1 -0
- package/dist/mcp/tools/installTools.js +35 -0
- package/dist/mcp/tools/installTools.js.map +1 -0
- package/dist/mcp/tools/localProjectTools.d.ts.map +1 -1
- package/dist/mcp/tools/localProjectTools.js +6 -2
- package/dist/mcp/tools/localProjectTools.js.map +1 -1
- package/dist/mcp/tools/projectTools.d.ts.map +1 -1
- package/dist/mcp/tools/projectTools.js +22 -15
- package/dist/mcp/tools/projectTools.js.map +1 -1
- package/dist/mcp/tools/resultsTools.d.ts.map +1 -1
- package/dist/mcp/tools/resultsTools.js +3 -1
- package/dist/mcp/tools/resultsTools.js.map +1 -1
- package/dist/mcp/tools/selfTargetingTools.d.ts.map +1 -1
- package/dist/mcp/tools/selfTargetingTools.js +8 -3
- package/dist/mcp/tools/selfTargetingTools.js.map +1 -1
- package/dist/mcp/tools/variableTools.d.ts +9 -9
- package/dist/mcp/tools/variableTools.d.ts.map +1 -1
- package/dist/mcp/tools/variableTools.js +2 -1
- package/dist/mcp/tools/variableTools.js.map +1 -1
- package/dist/mcp/types.d.ts +107 -81
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/mcp/types.js +120 -166
- package/dist/mcp/types.js.map +1 -1
- package/dist/mcp/utils/github.d.ts +2 -0
- package/dist/mcp/utils/github.d.ts.map +1 -0
- package/dist/mcp/utils/github.js +26 -0
- package/dist/mcp/utils/github.js.map +1 -0
- package/dist/ui/prompts/environmentPrompts.js +0 -1
- package/dist/ui/prompts/environmentPrompts.js.map +1 -1
- package/dist/ui/prompts/featurePrompts.js +0 -1
- package/dist/ui/prompts/featurePrompts.js.map +1 -1
- package/dist/ui/prompts/listPrompts/targetingListPrompt.d.ts.map +1 -1
- package/dist/ui/prompts/listPrompts/targetingListPrompt.js.map +1 -1
- package/dist/ui/prompts/listPrompts/variablesListPrompt.d.ts +3 -3
- package/dist/ui/prompts/listPrompts/variationsListPrompt.d.ts.map +1 -1
- package/dist/ui/prompts/listPrompts/variationsListPrompt.js.map +1 -1
- package/dist/ui/prompts/types.d.ts.map +1 -1
- package/dist/ui/prompts/variablePrompts.js +1 -2
- package/dist/ui/prompts/variablePrompts.js.map +1 -1
- package/dist/ui/prompts/variationPrompts.d.ts +3 -3
- package/dist/ui/targetingTree.d.ts.map +1 -1
- package/dist/ui/targetingTree.js +2 -4
- package/dist/ui/targetingTree.js.map +1 -1
- package/dist/ui/togglebot.d.ts.map +1 -1
- package/dist/ui/togglebot.js +0 -1
- package/dist/ui/togglebot.js.map +1 -1
- package/dist/utils/audiences/index.d.ts.map +1 -1
- package/dist/utils/audiences/index.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +14 -6
package/dist/api/apiClient.d.ts
CHANGED
|
@@ -31,25 +31,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
31
31
|
type: import("zod").ZodEnum<["String", "Boolean", "Number", "JSON"]>;
|
|
32
32
|
defaultValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
33
33
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
34
|
-
schemaType: import("zod").
|
|
35
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
34
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
35
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
36
36
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
37
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
38
|
description: import("zod").ZodString;
|
|
39
39
|
exampleValue: import("zod").ZodAny;
|
|
40
40
|
}, "strip", import("zod").ZodTypeAny, {
|
|
41
41
|
description: string;
|
|
42
|
-
schemaType:
|
|
43
|
-
enumValues?: string[] | undefined;
|
|
44
|
-
regexPattern?: string | undefined;
|
|
42
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
45
43
|
jsonSchema?: string | undefined;
|
|
44
|
+
enumValues?: string[] | number[] | undefined;
|
|
45
|
+
regexPattern?: string | undefined;
|
|
46
46
|
exampleValue?: any;
|
|
47
47
|
}, {
|
|
48
48
|
description: string;
|
|
49
|
-
schemaType:
|
|
50
|
-
enumValues?: string[] | undefined;
|
|
51
|
-
regexPattern?: string | undefined;
|
|
49
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
52
50
|
jsonSchema?: string | undefined;
|
|
51
|
+
enumValues?: string[] | number[] | undefined;
|
|
52
|
+
regexPattern?: string | undefined;
|
|
53
53
|
exampleValue?: any;
|
|
54
54
|
}>>;
|
|
55
55
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -61,10 +61,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
61
61
|
defaultValue?: any;
|
|
62
62
|
validationSchema?: {
|
|
63
63
|
description: string;
|
|
64
|
-
schemaType:
|
|
65
|
-
enumValues?: string[] | undefined;
|
|
66
|
-
regexPattern?: string | undefined;
|
|
64
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
67
65
|
jsonSchema?: string | undefined;
|
|
66
|
+
enumValues?: string[] | number[] | undefined;
|
|
67
|
+
regexPattern?: string | undefined;
|
|
68
68
|
exampleValue?: any;
|
|
69
69
|
} | undefined;
|
|
70
70
|
}, {
|
|
@@ -76,10 +76,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
76
76
|
defaultValue?: any;
|
|
77
77
|
validationSchema?: {
|
|
78
78
|
description: string;
|
|
79
|
-
schemaType:
|
|
80
|
-
enumValues?: string[] | undefined;
|
|
81
|
-
regexPattern?: string | undefined;
|
|
79
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
82
80
|
jsonSchema?: string | undefined;
|
|
81
|
+
enumValues?: string[] | number[] | undefined;
|
|
82
|
+
regexPattern?: string | undefined;
|
|
83
83
|
exampleValue?: any;
|
|
84
84
|
} | undefined;
|
|
85
85
|
}>, import("zod").ZodObject<{
|
|
@@ -164,10 +164,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
164
164
|
defaultValue?: any;
|
|
165
165
|
validationSchema?: {
|
|
166
166
|
description: string;
|
|
167
|
-
schemaType:
|
|
168
|
-
enumValues?: string[] | undefined;
|
|
169
|
-
regexPattern?: string | undefined;
|
|
167
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
170
168
|
jsonSchema?: string | undefined;
|
|
169
|
+
enumValues?: string[] | number[] | undefined;
|
|
170
|
+
regexPattern?: string | undefined;
|
|
171
171
|
exampleValue?: any;
|
|
172
172
|
} | undefined;
|
|
173
173
|
} | {
|
|
@@ -209,10 +209,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
209
209
|
defaultValue?: any;
|
|
210
210
|
validationSchema?: {
|
|
211
211
|
description: string;
|
|
212
|
-
schemaType:
|
|
213
|
-
enumValues?: string[] | undefined;
|
|
214
|
-
regexPattern?: string | undefined;
|
|
212
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
215
213
|
jsonSchema?: string | undefined;
|
|
214
|
+
enumValues?: string[] | number[] | undefined;
|
|
215
|
+
regexPattern?: string | undefined;
|
|
216
216
|
exampleValue?: any;
|
|
217
217
|
} | undefined;
|
|
218
218
|
} | {
|
|
@@ -979,25 +979,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
979
979
|
createdAt: import("zod").ZodString;
|
|
980
980
|
updatedAt: import("zod").ZodString;
|
|
981
981
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
982
|
-
schemaType: import("zod").
|
|
983
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
982
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
983
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
984
984
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
985
985
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
986
986
|
description: import("zod").ZodString;
|
|
987
987
|
exampleValue: import("zod").ZodAny;
|
|
988
988
|
}, "strip", import("zod").ZodTypeAny, {
|
|
989
989
|
description: string;
|
|
990
|
-
schemaType:
|
|
991
|
-
enumValues?: string[] | undefined;
|
|
992
|
-
regexPattern?: string | undefined;
|
|
990
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
993
991
|
jsonSchema?: string | undefined;
|
|
992
|
+
enumValues?: string[] | number[] | undefined;
|
|
993
|
+
regexPattern?: string | undefined;
|
|
994
994
|
exampleValue?: any;
|
|
995
995
|
}, {
|
|
996
996
|
description: string;
|
|
997
|
-
schemaType:
|
|
998
|
-
enumValues?: string[] | undefined;
|
|
999
|
-
regexPattern?: string | undefined;
|
|
997
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1000
998
|
jsonSchema?: string | undefined;
|
|
999
|
+
enumValues?: string[] | number[] | undefined;
|
|
1000
|
+
regexPattern?: string | undefined;
|
|
1001
1001
|
exampleValue?: any;
|
|
1002
1002
|
}>>;
|
|
1003
1003
|
persistent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1017,10 +1017,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
1017
1017
|
defaultValue?: any;
|
|
1018
1018
|
validationSchema?: {
|
|
1019
1019
|
description: string;
|
|
1020
|
-
schemaType:
|
|
1021
|
-
enumValues?: string[] | undefined;
|
|
1022
|
-
regexPattern?: string | undefined;
|
|
1020
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1023
1021
|
jsonSchema?: string | undefined;
|
|
1022
|
+
enumValues?: string[] | number[] | undefined;
|
|
1023
|
+
regexPattern?: string | undefined;
|
|
1024
1024
|
exampleValue?: any;
|
|
1025
1025
|
} | undefined;
|
|
1026
1026
|
persistent?: boolean | undefined;
|
|
@@ -1040,10 +1040,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
1040
1040
|
defaultValue?: any;
|
|
1041
1041
|
validationSchema?: {
|
|
1042
1042
|
description: string;
|
|
1043
|
-
schemaType:
|
|
1044
|
-
enumValues?: string[] | undefined;
|
|
1045
|
-
regexPattern?: string | undefined;
|
|
1043
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1046
1044
|
jsonSchema?: string | undefined;
|
|
1045
|
+
enumValues?: string[] | number[] | undefined;
|
|
1046
|
+
regexPattern?: string | undefined;
|
|
1047
1047
|
exampleValue?: any;
|
|
1048
1048
|
} | undefined;
|
|
1049
1049
|
persistent?: boolean | undefined;
|
|
@@ -1124,10 +1124,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
1124
1124
|
defaultValue?: any;
|
|
1125
1125
|
validationSchema?: {
|
|
1126
1126
|
description: string;
|
|
1127
|
-
schemaType:
|
|
1128
|
-
enumValues?: string[] | undefined;
|
|
1129
|
-
regexPattern?: string | undefined;
|
|
1127
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1130
1128
|
jsonSchema?: string | undefined;
|
|
1129
|
+
enumValues?: string[] | number[] | undefined;
|
|
1130
|
+
regexPattern?: string | undefined;
|
|
1131
1131
|
exampleValue?: any;
|
|
1132
1132
|
} | undefined;
|
|
1133
1133
|
persistent?: boolean | undefined;
|
|
@@ -1269,10 +1269,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
1269
1269
|
defaultValue?: any;
|
|
1270
1270
|
validationSchema?: {
|
|
1271
1271
|
description: string;
|
|
1272
|
-
schemaType:
|
|
1273
|
-
enumValues?: string[] | undefined;
|
|
1274
|
-
regexPattern?: string | undefined;
|
|
1272
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1275
1273
|
jsonSchema?: string | undefined;
|
|
1274
|
+
enumValues?: string[] | number[] | undefined;
|
|
1275
|
+
regexPattern?: string | undefined;
|
|
1276
1276
|
exampleValue?: any;
|
|
1277
1277
|
} | undefined;
|
|
1278
1278
|
persistent?: boolean | undefined;
|
|
@@ -2235,25 +2235,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2235
2235
|
createdAt: import("zod").ZodString;
|
|
2236
2236
|
updatedAt: import("zod").ZodString;
|
|
2237
2237
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2238
|
-
schemaType: import("zod").
|
|
2239
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
2238
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
2239
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
2240
2240
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2241
2241
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2242
2242
|
description: import("zod").ZodString;
|
|
2243
2243
|
exampleValue: import("zod").ZodAny;
|
|
2244
2244
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2245
2245
|
description: string;
|
|
2246
|
-
schemaType:
|
|
2247
|
-
enumValues?: string[] | undefined;
|
|
2248
|
-
regexPattern?: string | undefined;
|
|
2246
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2249
2247
|
jsonSchema?: string | undefined;
|
|
2248
|
+
enumValues?: string[] | number[] | undefined;
|
|
2249
|
+
regexPattern?: string | undefined;
|
|
2250
2250
|
exampleValue?: any;
|
|
2251
2251
|
}, {
|
|
2252
2252
|
description: string;
|
|
2253
|
-
schemaType:
|
|
2254
|
-
enumValues?: string[] | undefined;
|
|
2255
|
-
regexPattern?: string | undefined;
|
|
2253
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2256
2254
|
jsonSchema?: string | undefined;
|
|
2255
|
+
enumValues?: string[] | number[] | undefined;
|
|
2256
|
+
regexPattern?: string | undefined;
|
|
2257
2257
|
exampleValue?: any;
|
|
2258
2258
|
}>>;
|
|
2259
2259
|
persistent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2273,10 +2273,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2273
2273
|
defaultValue?: any;
|
|
2274
2274
|
validationSchema?: {
|
|
2275
2275
|
description: string;
|
|
2276
|
-
schemaType:
|
|
2277
|
-
enumValues?: string[] | undefined;
|
|
2278
|
-
regexPattern?: string | undefined;
|
|
2276
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2279
2277
|
jsonSchema?: string | undefined;
|
|
2278
|
+
enumValues?: string[] | number[] | undefined;
|
|
2279
|
+
regexPattern?: string | undefined;
|
|
2280
2280
|
exampleValue?: any;
|
|
2281
2281
|
} | undefined;
|
|
2282
2282
|
persistent?: boolean | undefined;
|
|
@@ -2296,10 +2296,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2296
2296
|
defaultValue?: any;
|
|
2297
2297
|
validationSchema?: {
|
|
2298
2298
|
description: string;
|
|
2299
|
-
schemaType:
|
|
2300
|
-
enumValues?: string[] | undefined;
|
|
2301
|
-
regexPattern?: string | undefined;
|
|
2299
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2302
2300
|
jsonSchema?: string | undefined;
|
|
2301
|
+
enumValues?: string[] | number[] | undefined;
|
|
2302
|
+
regexPattern?: string | undefined;
|
|
2303
2303
|
exampleValue?: any;
|
|
2304
2304
|
} | undefined;
|
|
2305
2305
|
persistent?: boolean | undefined;
|
|
@@ -2380,10 +2380,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2380
2380
|
defaultValue?: any;
|
|
2381
2381
|
validationSchema?: {
|
|
2382
2382
|
description: string;
|
|
2383
|
-
schemaType:
|
|
2384
|
-
enumValues?: string[] | undefined;
|
|
2385
|
-
regexPattern?: string | undefined;
|
|
2383
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2386
2384
|
jsonSchema?: string | undefined;
|
|
2385
|
+
enumValues?: string[] | number[] | undefined;
|
|
2386
|
+
regexPattern?: string | undefined;
|
|
2387
2387
|
exampleValue?: any;
|
|
2388
2388
|
} | undefined;
|
|
2389
2389
|
persistent?: boolean | undefined;
|
|
@@ -2525,10 +2525,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2525
2525
|
defaultValue?: any;
|
|
2526
2526
|
validationSchema?: {
|
|
2527
2527
|
description: string;
|
|
2528
|
-
schemaType:
|
|
2529
|
-
enumValues?: string[] | undefined;
|
|
2530
|
-
regexPattern?: string | undefined;
|
|
2528
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2531
2529
|
jsonSchema?: string | undefined;
|
|
2530
|
+
enumValues?: string[] | number[] | undefined;
|
|
2531
|
+
regexPattern?: string | undefined;
|
|
2532
2532
|
exampleValue?: any;
|
|
2533
2533
|
} | undefined;
|
|
2534
2534
|
persistent?: boolean | undefined;
|
|
@@ -2689,25 +2689,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2689
2689
|
type: import("zod").ZodEnum<["String", "Boolean", "Number", "JSON"]>;
|
|
2690
2690
|
defaultValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
2691
2691
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2692
|
-
schemaType: import("zod").
|
|
2693
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
2692
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
2693
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
2694
2694
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2695
2695
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2696
2696
|
description: import("zod").ZodString;
|
|
2697
2697
|
exampleValue: import("zod").ZodAny;
|
|
2698
2698
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2699
2699
|
description: string;
|
|
2700
|
-
schemaType:
|
|
2701
|
-
enumValues?: string[] | undefined;
|
|
2702
|
-
regexPattern?: string | undefined;
|
|
2700
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2703
2701
|
jsonSchema?: string | undefined;
|
|
2702
|
+
enumValues?: string[] | number[] | undefined;
|
|
2703
|
+
regexPattern?: string | undefined;
|
|
2704
2704
|
exampleValue?: any;
|
|
2705
2705
|
}, {
|
|
2706
2706
|
description: string;
|
|
2707
|
-
schemaType:
|
|
2708
|
-
enumValues?: string[] | undefined;
|
|
2709
|
-
regexPattern?: string | undefined;
|
|
2707
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2710
2708
|
jsonSchema?: string | undefined;
|
|
2709
|
+
enumValues?: string[] | number[] | undefined;
|
|
2710
|
+
regexPattern?: string | undefined;
|
|
2711
2711
|
exampleValue?: any;
|
|
2712
2712
|
}>>;
|
|
2713
2713
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -2719,10 +2719,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2719
2719
|
defaultValue?: any;
|
|
2720
2720
|
validationSchema?: {
|
|
2721
2721
|
description: string;
|
|
2722
|
-
schemaType:
|
|
2723
|
-
enumValues?: string[] | undefined;
|
|
2724
|
-
regexPattern?: string | undefined;
|
|
2722
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2725
2723
|
jsonSchema?: string | undefined;
|
|
2724
|
+
enumValues?: string[] | number[] | undefined;
|
|
2725
|
+
regexPattern?: string | undefined;
|
|
2726
2726
|
exampleValue?: any;
|
|
2727
2727
|
} | undefined;
|
|
2728
2728
|
}, {
|
|
@@ -2734,10 +2734,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2734
2734
|
defaultValue?: any;
|
|
2735
2735
|
validationSchema?: {
|
|
2736
2736
|
description: string;
|
|
2737
|
-
schemaType:
|
|
2738
|
-
enumValues?: string[] | undefined;
|
|
2739
|
-
regexPattern?: string | undefined;
|
|
2737
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2740
2738
|
jsonSchema?: string | undefined;
|
|
2739
|
+
enumValues?: string[] | number[] | undefined;
|
|
2740
|
+
regexPattern?: string | undefined;
|
|
2741
2741
|
exampleValue?: any;
|
|
2742
2742
|
} | undefined;
|
|
2743
2743
|
}>, import("zod").ZodObject<{
|
|
@@ -2812,10 +2812,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2812
2812
|
defaultValue?: any;
|
|
2813
2813
|
validationSchema?: {
|
|
2814
2814
|
description: string;
|
|
2815
|
-
schemaType:
|
|
2816
|
-
enumValues?: string[] | undefined;
|
|
2817
|
-
regexPattern?: string | undefined;
|
|
2815
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2818
2816
|
jsonSchema?: string | undefined;
|
|
2817
|
+
enumValues?: string[] | number[] | undefined;
|
|
2818
|
+
regexPattern?: string | undefined;
|
|
2819
2819
|
exampleValue?: any;
|
|
2820
2820
|
} | undefined;
|
|
2821
2821
|
} | {
|
|
@@ -2853,10 +2853,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
2853
2853
|
defaultValue?: any;
|
|
2854
2854
|
validationSchema?: {
|
|
2855
2855
|
description: string;
|
|
2856
|
-
schemaType:
|
|
2857
|
-
enumValues?: string[] | undefined;
|
|
2858
|
-
regexPattern?: string | undefined;
|
|
2856
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
2859
2857
|
jsonSchema?: string | undefined;
|
|
2858
|
+
enumValues?: string[] | number[] | undefined;
|
|
2859
|
+
regexPattern?: string | undefined;
|
|
2860
2860
|
exampleValue?: any;
|
|
2861
2861
|
} | undefined;
|
|
2862
2862
|
} | {
|
|
@@ -3623,25 +3623,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
3623
3623
|
createdAt: import("zod").ZodString;
|
|
3624
3624
|
updatedAt: import("zod").ZodString;
|
|
3625
3625
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3626
|
-
schemaType: import("zod").
|
|
3627
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
3626
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
3627
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
3628
3628
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3629
3629
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3630
3630
|
description: import("zod").ZodString;
|
|
3631
3631
|
exampleValue: import("zod").ZodAny;
|
|
3632
3632
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3633
3633
|
description: string;
|
|
3634
|
-
schemaType:
|
|
3635
|
-
enumValues?: string[] | undefined;
|
|
3636
|
-
regexPattern?: string | undefined;
|
|
3634
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3637
3635
|
jsonSchema?: string | undefined;
|
|
3636
|
+
enumValues?: string[] | number[] | undefined;
|
|
3637
|
+
regexPattern?: string | undefined;
|
|
3638
3638
|
exampleValue?: any;
|
|
3639
3639
|
}, {
|
|
3640
3640
|
description: string;
|
|
3641
|
-
schemaType:
|
|
3642
|
-
enumValues?: string[] | undefined;
|
|
3643
|
-
regexPattern?: string | undefined;
|
|
3641
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3644
3642
|
jsonSchema?: string | undefined;
|
|
3643
|
+
enumValues?: string[] | number[] | undefined;
|
|
3644
|
+
regexPattern?: string | undefined;
|
|
3645
3645
|
exampleValue?: any;
|
|
3646
3646
|
}>>;
|
|
3647
3647
|
persistent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -3661,10 +3661,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
3661
3661
|
defaultValue?: any;
|
|
3662
3662
|
validationSchema?: {
|
|
3663
3663
|
description: string;
|
|
3664
|
-
schemaType:
|
|
3665
|
-
enumValues?: string[] | undefined;
|
|
3666
|
-
regexPattern?: string | undefined;
|
|
3664
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3667
3665
|
jsonSchema?: string | undefined;
|
|
3666
|
+
enumValues?: string[] | number[] | undefined;
|
|
3667
|
+
regexPattern?: string | undefined;
|
|
3668
3668
|
exampleValue?: any;
|
|
3669
3669
|
} | undefined;
|
|
3670
3670
|
persistent?: boolean | undefined;
|
|
@@ -3684,10 +3684,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
3684
3684
|
defaultValue?: any;
|
|
3685
3685
|
validationSchema?: {
|
|
3686
3686
|
description: string;
|
|
3687
|
-
schemaType:
|
|
3688
|
-
enumValues?: string[] | undefined;
|
|
3689
|
-
regexPattern?: string | undefined;
|
|
3687
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3690
3688
|
jsonSchema?: string | undefined;
|
|
3689
|
+
enumValues?: string[] | number[] | undefined;
|
|
3690
|
+
regexPattern?: string | undefined;
|
|
3691
3691
|
exampleValue?: any;
|
|
3692
3692
|
} | undefined;
|
|
3693
3693
|
persistent?: boolean | undefined;
|
|
@@ -3768,10 +3768,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
3768
3768
|
defaultValue?: any;
|
|
3769
3769
|
validationSchema?: {
|
|
3770
3770
|
description: string;
|
|
3771
|
-
schemaType:
|
|
3772
|
-
enumValues?: string[] | undefined;
|
|
3773
|
-
regexPattern?: string | undefined;
|
|
3771
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3774
3772
|
jsonSchema?: string | undefined;
|
|
3773
|
+
enumValues?: string[] | number[] | undefined;
|
|
3774
|
+
regexPattern?: string | undefined;
|
|
3775
3775
|
exampleValue?: any;
|
|
3776
3776
|
} | undefined;
|
|
3777
3777
|
persistent?: boolean | undefined;
|
|
@@ -3913,10 +3913,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
3913
3913
|
defaultValue?: any;
|
|
3914
3914
|
validationSchema?: {
|
|
3915
3915
|
description: string;
|
|
3916
|
-
schemaType:
|
|
3917
|
-
enumValues?: string[] | undefined;
|
|
3918
|
-
regexPattern?: string | undefined;
|
|
3916
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
3919
3917
|
jsonSchema?: string | undefined;
|
|
3918
|
+
enumValues?: string[] | number[] | undefined;
|
|
3919
|
+
regexPattern?: string | undefined;
|
|
3920
3920
|
exampleValue?: any;
|
|
3921
3921
|
} | undefined;
|
|
3922
3922
|
persistent?: boolean | undefined;
|
|
@@ -4858,25 +4858,25 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
4858
4858
|
createdAt: import("zod").ZodString;
|
|
4859
4859
|
updatedAt: import("zod").ZodString;
|
|
4860
4860
|
validationSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4861
|
-
schemaType: import("zod").
|
|
4862
|
-
enumValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
4861
|
+
schemaType: import("zod").ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
4862
|
+
enumValues: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodArray<import("zod").ZodNumber, "many">]>>;
|
|
4863
4863
|
regexPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4864
4864
|
jsonSchema: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4865
4865
|
description: import("zod").ZodString;
|
|
4866
4866
|
exampleValue: import("zod").ZodAny;
|
|
4867
4867
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4868
4868
|
description: string;
|
|
4869
|
-
schemaType:
|
|
4870
|
-
enumValues?: string[] | undefined;
|
|
4871
|
-
regexPattern?: string | undefined;
|
|
4869
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
4872
4870
|
jsonSchema?: string | undefined;
|
|
4871
|
+
enumValues?: string[] | number[] | undefined;
|
|
4872
|
+
regexPattern?: string | undefined;
|
|
4873
4873
|
exampleValue?: any;
|
|
4874
4874
|
}, {
|
|
4875
4875
|
description: string;
|
|
4876
|
-
schemaType:
|
|
4877
|
-
enumValues?: string[] | undefined;
|
|
4878
|
-
regexPattern?: string | undefined;
|
|
4876
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
4879
4877
|
jsonSchema?: string | undefined;
|
|
4878
|
+
enumValues?: string[] | number[] | undefined;
|
|
4879
|
+
regexPattern?: string | undefined;
|
|
4880
4880
|
exampleValue?: any;
|
|
4881
4881
|
}>>;
|
|
4882
4882
|
persistent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -4896,10 +4896,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
4896
4896
|
defaultValue?: any;
|
|
4897
4897
|
validationSchema?: {
|
|
4898
4898
|
description: string;
|
|
4899
|
-
schemaType:
|
|
4900
|
-
enumValues?: string[] | undefined;
|
|
4901
|
-
regexPattern?: string | undefined;
|
|
4899
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
4902
4900
|
jsonSchema?: string | undefined;
|
|
4901
|
+
enumValues?: string[] | number[] | undefined;
|
|
4902
|
+
regexPattern?: string | undefined;
|
|
4903
4903
|
exampleValue?: any;
|
|
4904
4904
|
} | undefined;
|
|
4905
4905
|
persistent?: boolean | undefined;
|
|
@@ -4919,10 +4919,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
4919
4919
|
defaultValue?: any;
|
|
4920
4920
|
validationSchema?: {
|
|
4921
4921
|
description: string;
|
|
4922
|
-
schemaType:
|
|
4923
|
-
enumValues?: string[] | undefined;
|
|
4924
|
-
regexPattern?: string | undefined;
|
|
4922
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
4925
4923
|
jsonSchema?: string | undefined;
|
|
4924
|
+
enumValues?: string[] | number[] | undefined;
|
|
4925
|
+
regexPattern?: string | undefined;
|
|
4926
4926
|
exampleValue?: any;
|
|
4927
4927
|
} | undefined;
|
|
4928
4928
|
persistent?: boolean | undefined;
|
|
@@ -5003,10 +5003,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
5003
5003
|
defaultValue?: any;
|
|
5004
5004
|
validationSchema?: {
|
|
5005
5005
|
description: string;
|
|
5006
|
-
schemaType:
|
|
5007
|
-
enumValues?: string[] | undefined;
|
|
5008
|
-
regexPattern?: string | undefined;
|
|
5006
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
5009
5007
|
jsonSchema?: string | undefined;
|
|
5008
|
+
enumValues?: string[] | number[] | undefined;
|
|
5009
|
+
regexPattern?: string | undefined;
|
|
5010
5010
|
exampleValue?: any;
|
|
5011
5011
|
} | undefined;
|
|
5012
5012
|
persistent?: boolean | undefined;
|
|
@@ -5148,10 +5148,10 @@ export declare const v2ApiClient: import("@zodios/core").ZodiosInstance<[{
|
|
|
5148
5148
|
defaultValue?: any;
|
|
5149
5149
|
validationSchema?: {
|
|
5150
5150
|
description: string;
|
|
5151
|
-
schemaType:
|
|
5152
|
-
enumValues?: string[] | undefined;
|
|
5153
|
-
regexPattern?: string | undefined;
|
|
5151
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
5154
5152
|
jsonSchema?: string | undefined;
|
|
5153
|
+
enumValues?: string[] | number[] | undefined;
|
|
5154
|
+
regexPattern?: string | undefined;
|
|
5155
5155
|
exampleValue?: any;
|
|
5156
5156
|
} | undefined;
|
|
5157
5157
|
persistent?: boolean | undefined;
|
package/dist/api/features.js
CHANGED
|
@@ -56,7 +56,7 @@ const updateFeature = async (token, project_id, feature_id, params) => {
|
|
|
56
56
|
};
|
|
57
57
|
exports.updateFeature = updateFeature;
|
|
58
58
|
const updateFeatureStatus = async (token, project_id, feature_id, params) => {
|
|
59
|
-
const response = await apiClient_1.axiosClient.patch(`/
|
|
59
|
+
const response = await apiClient_1.axiosClient.patch(`/v2/projects/${project_id}/features/${feature_id}/status`, params, {
|
|
60
60
|
headers: (0, common_1.buildHeaders)(token),
|
|
61
61
|
});
|
|
62
62
|
return response.data;
|
|
@@ -100,7 +100,7 @@ const fetchAllCompletedOrArchivedFeatures = async (token, project_id) => {
|
|
|
100
100
|
};
|
|
101
101
|
exports.fetchAllCompletedOrArchivedFeatures = fetchAllCompletedOrArchivedFeatures;
|
|
102
102
|
const generatePaginatedFeatureUrl = (project_id, page, perPage, status) => {
|
|
103
|
-
return `/
|
|
103
|
+
return `/v2/projects/${project_id}/features?perPage=${perPage}&page=${page}&status=${status}`;
|
|
104
104
|
};
|
|
105
105
|
const getFeatureAuditLogHistory = async (token, projectKey, featureKey, options = {}) => {
|
|
106
106
|
try {
|