@devcycle/cli 6.0.1 → 6.1.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.
Files changed (421) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/api/apiClient.js +3 -3
  5. package/dist/api/apiClient.js.map +1 -1
  6. package/dist/api/features.js +2 -2
  7. package/dist/api/schemas.js +23 -27
  8. package/dist/api/schemas.js.map +1 -1
  9. package/dist/api/{zodClient.js → zodClientAPI.js} +188 -1070
  10. package/dist/api/zodClientAPI.js.map +1 -0
  11. package/dist/api/zodSchemas.js +1406 -0
  12. package/dist/api/zodSchemas.js.map +1 -0
  13. package/dist/auth/ApiAuth.js +1 -1
  14. package/dist/auth/ApiAuth.js.map +1 -1
  15. package/dist/auth/TokenCache.js +2 -2
  16. package/dist/auth/TokenCache.js.map +1 -1
  17. package/dist/auth/utils/getTokenPayload.js +1 -1
  18. package/dist/auth/utils/getTokenPayload.js.map +1 -1
  19. package/dist/commands/authCommand.js.map +1 -1
  20. package/dist/commands/base.js.map +1 -1
  21. package/dist/commands/cleanup/index.js.map +1 -1
  22. package/dist/commands/environments/list.js.map +1 -1
  23. package/dist/commands/keys/get.js +1 -3
  24. package/dist/commands/keys/get.js.map +1 -1
  25. package/dist/commands/overrides/get.js.map +1 -1
  26. package/dist/commands/projects/get.js +2 -2
  27. package/dist/commands/projects/get.js.map +1 -1
  28. package/dist/commands/projects/list.js.map +1 -1
  29. package/dist/commands/projects/select.js.map +1 -1
  30. package/dist/commands/targeting/update.js +0 -1
  31. package/dist/commands/targeting/update.js.map +1 -1
  32. package/dist/commands/updateCommand.js.map +1 -1
  33. package/dist/commands/variables/create.js +2 -2
  34. package/dist/commands/variables/create.js.map +1 -1
  35. package/dist/commands/variables/list.js.map +1 -1
  36. package/dist/flags/var-alias/index.js +1 -1
  37. package/dist/flags/var-alias/index.js.map +1 -1
  38. package/dist/mcp/server.js +11 -0
  39. package/dist/mcp/server.js.map +1 -1
  40. package/dist/mcp/tools/customPropertiesTools.js +1 -0
  41. package/dist/mcp/tools/customPropertiesTools.js.map +1 -1
  42. package/dist/mcp/tools/environmentTools.js +41 -30
  43. package/dist/mcp/tools/environmentTools.js.map +1 -1
  44. package/dist/mcp/tools/featureTools.js +36 -158
  45. package/dist/mcp/tools/featureTools.js.map +1 -1
  46. package/dist/mcp/tools/index.js +8 -6
  47. package/dist/mcp/tools/index.js.map +1 -1
  48. package/dist/mcp/tools/installGuides.generated.js +36 -0
  49. package/dist/mcp/tools/installGuides.generated.js.map +1 -0
  50. package/dist/mcp/tools/installTools.js +35 -0
  51. package/dist/mcp/tools/installTools.js.map +1 -0
  52. package/dist/mcp/tools/localProjectTools.js +6 -2
  53. package/dist/mcp/tools/localProjectTools.js.map +1 -1
  54. package/dist/mcp/tools/projectTools.js +22 -15
  55. package/dist/mcp/tools/projectTools.js.map +1 -1
  56. package/dist/mcp/tools/resultsTools.js +3 -1
  57. package/dist/mcp/tools/resultsTools.js.map +1 -1
  58. package/dist/mcp/tools/selfTargetingTools.js +8 -3
  59. package/dist/mcp/tools/selfTargetingTools.js.map +1 -1
  60. package/dist/mcp/tools/variableTools.js +3 -2
  61. package/dist/mcp/tools/variableTools.js.map +1 -1
  62. package/dist/mcp/types.js +169 -223
  63. package/dist/mcp/types.js.map +1 -1
  64. package/dist/mcp/utils/github.js +26 -0
  65. package/dist/mcp/utils/github.js.map +1 -0
  66. package/dist/ui/prompts/environmentPrompts.js +0 -1
  67. package/dist/ui/prompts/environmentPrompts.js.map +1 -1
  68. package/dist/ui/prompts/featurePrompts.js +0 -1
  69. package/dist/ui/prompts/featurePrompts.js.map +1 -1
  70. package/dist/ui/prompts/listPrompts/targetingListPrompt.js.map +1 -1
  71. package/dist/ui/prompts/listPrompts/variationsListPrompt.js.map +1 -1
  72. package/dist/ui/prompts/targetingPrompts.js +1 -1
  73. package/dist/ui/prompts/targetingPrompts.js.map +1 -1
  74. package/dist/ui/prompts/variablePrompts.js +1 -2
  75. package/dist/ui/prompts/variablePrompts.js.map +1 -1
  76. package/dist/ui/targetingTree.js +2 -4
  77. package/dist/ui/targetingTree.js.map +1 -1
  78. package/dist/ui/togglebot.js +0 -1
  79. package/dist/ui/togglebot.js.map +1 -1
  80. package/dist/utils/audiences/index.js.map +1 -1
  81. package/oclif.manifest.json +1 -1
  82. package/package.json +18 -6
  83. package/dist/api/apiClient.d.ts +0 -5292
  84. package/dist/api/apiClient.d.ts.map +0 -1
  85. package/dist/api/audiences.d.ts +0 -57
  86. package/dist/api/audiences.d.ts.map +0 -1
  87. package/dist/api/common.d.ts +0 -7
  88. package/dist/api/common.d.ts.map +0 -1
  89. package/dist/api/customProperties.d.ts +0 -78
  90. package/dist/api/customProperties.d.ts.map +0 -1
  91. package/dist/api/environments.d.ts +0 -139
  92. package/dist/api/environments.d.ts.map +0 -1
  93. package/dist/api/features.d.ts +0 -23
  94. package/dist/api/features.d.ts.map +0 -1
  95. package/dist/api/members.d.ts +0 -8
  96. package/dist/api/members.d.ts.map +0 -1
  97. package/dist/api/organizations.d.ts +0 -7
  98. package/dist/api/organizations.d.ts.map +0 -1
  99. package/dist/api/overrides.d.ts +0 -19
  100. package/dist/api/overrides.d.ts.map +0 -1
  101. package/dist/api/projects.d.ts +0 -154
  102. package/dist/api/projects.d.ts.map +0 -1
  103. package/dist/api/results.d.ts +0 -23
  104. package/dist/api/results.d.ts.map +0 -1
  105. package/dist/api/schemas.d.ts +0 -2387
  106. package/dist/api/schemas.d.ts.map +0 -1
  107. package/dist/api/targeting.d.ts +0 -340
  108. package/dist/api/targeting.d.ts.map +0 -1
  109. package/dist/api/userProfile.d.ts +0 -20
  110. package/dist/api/userProfile.d.ts.map +0 -1
  111. package/dist/api/variables.d.ts +0 -132
  112. package/dist/api/variables.d.ts.map +0 -1
  113. package/dist/api/variations.d.ts +0 -158
  114. package/dist/api/variations.d.ts.map +0 -1
  115. package/dist/api/zodClient.d.ts +0 -65412
  116. package/dist/api/zodClient.d.ts.map +0 -1
  117. package/dist/api/zodClient.js.map +0 -1
  118. package/dist/auth/ApiAuth.d.ts +0 -22
  119. package/dist/auth/ApiAuth.d.ts.map +0 -1
  120. package/dist/auth/SSOAuth.d.ts +0 -34
  121. package/dist/auth/SSOAuth.d.ts.map +0 -1
  122. package/dist/auth/TokenCache.d.ts +0 -8
  123. package/dist/auth/TokenCache.d.ts.map +0 -1
  124. package/dist/auth/config.d.ts +0 -16
  125. package/dist/auth/config.d.ts.map +0 -1
  126. package/dist/auth/utils/getOrgIdFromToken.d.ts +0 -2
  127. package/dist/auth/utils/getOrgIdFromToken.d.ts.map +0 -1
  128. package/dist/auth/utils/getTokenExpiry.d.ts +0 -2
  129. package/dist/auth/utils/getTokenExpiry.d.ts.map +0 -1
  130. package/dist/auth/utils/getTokenPayload.d.ts +0 -8
  131. package/dist/auth/utils/getTokenPayload.d.ts.map +0 -1
  132. package/dist/auth/utils/index.d.ts +0 -5
  133. package/dist/auth/utils/index.d.ts.map +0 -1
  134. package/dist/auth/utils/shouldRefreshToken.d.ts +0 -2
  135. package/dist/auth/utils/shouldRefreshToken.d.ts.map +0 -1
  136. package/dist/commands/alias/add.d.ts +0 -22
  137. package/dist/commands/alias/add.d.ts.map +0 -1
  138. package/dist/commands/authCommand.d.ts +0 -30
  139. package/dist/commands/authCommand.d.ts.map +0 -1
  140. package/dist/commands/base.d.ts +0 -59
  141. package/dist/commands/base.d.ts.map +0 -1
  142. package/dist/commands/cleanup/index.d.ts +0 -29
  143. package/dist/commands/cleanup/index.d.ts.map +0 -1
  144. package/dist/commands/createCommand.d.ts +0 -21
  145. package/dist/commands/createCommand.d.ts.map +0 -1
  146. package/dist/commands/diff/index.d.ts +0 -43
  147. package/dist/commands/diff/index.d.ts.map +0 -1
  148. package/dist/commands/environments/create.d.ts +0 -29
  149. package/dist/commands/environments/create.d.ts.map +0 -1
  150. package/dist/commands/environments/get.d.ts +0 -26
  151. package/dist/commands/environments/get.d.ts.map +0 -1
  152. package/dist/commands/environments/list.d.ts +0 -8
  153. package/dist/commands/environments/list.d.ts.map +0 -1
  154. package/dist/commands/environments/update.d.ts +0 -24
  155. package/dist/commands/environments/update.d.ts.map +0 -1
  156. package/dist/commands/features/create.d.ts +0 -28
  157. package/dist/commands/features/create.d.ts.map +0 -1
  158. package/dist/commands/features/delete.d.ts +0 -11
  159. package/dist/commands/features/delete.d.ts.map +0 -1
  160. package/dist/commands/features/get.d.ts +0 -29
  161. package/dist/commands/features/get.d.ts.map +0 -1
  162. package/dist/commands/features/list.d.ts +0 -24
  163. package/dist/commands/features/list.d.ts.map +0 -1
  164. package/dist/commands/features/update.d.ts +0 -27
  165. package/dist/commands/features/update.d.ts.map +0 -1
  166. package/dist/commands/generate/types.d.ts +0 -55
  167. package/dist/commands/generate/types.d.ts.map +0 -1
  168. package/dist/commands/getCommand.d.ts +0 -19
  169. package/dist/commands/getCommand.d.ts.map +0 -1
  170. package/dist/commands/identity/get.d.ts +0 -8
  171. package/dist/commands/identity/get.d.ts.map +0 -1
  172. package/dist/commands/identity/update.d.ts +0 -29
  173. package/dist/commands/identity/update.d.ts.map +0 -1
  174. package/dist/commands/keys/get.d.ts +0 -25
  175. package/dist/commands/keys/get.d.ts.map +0 -1
  176. package/dist/commands/login/again.d.ts +0 -9
  177. package/dist/commands/login/again.d.ts.map +0 -1
  178. package/dist/commands/login/sso.d.ts +0 -9
  179. package/dist/commands/login/sso.d.ts.map +0 -1
  180. package/dist/commands/logout/index.d.ts +0 -8
  181. package/dist/commands/logout/index.d.ts.map +0 -1
  182. package/dist/commands/organizations/get.d.ts +0 -8
  183. package/dist/commands/organizations/get.d.ts.map +0 -1
  184. package/dist/commands/organizations/list.d.ts +0 -9
  185. package/dist/commands/organizations/list.d.ts.map +0 -1
  186. package/dist/commands/organizations/select.d.ts +0 -8
  187. package/dist/commands/organizations/select.d.ts.map +0 -1
  188. package/dist/commands/overrides/clear.d.ts +0 -25
  189. package/dist/commands/overrides/clear.d.ts.map +0 -1
  190. package/dist/commands/overrides/get.d.ts +0 -34
  191. package/dist/commands/overrides/get.d.ts.map +0 -1
  192. package/dist/commands/overrides/list.d.ts +0 -31
  193. package/dist/commands/overrides/list.d.ts.map +0 -1
  194. package/dist/commands/overrides/update.d.ts +0 -25
  195. package/dist/commands/overrides/update.d.ts.map +0 -1
  196. package/dist/commands/projects/create.d.ts +0 -23
  197. package/dist/commands/projects/create.d.ts.map +0 -1
  198. package/dist/commands/projects/current.d.ts +0 -7
  199. package/dist/commands/projects/current.d.ts.map +0 -1
  200. package/dist/commands/projects/get.d.ts +0 -22
  201. package/dist/commands/projects/get.d.ts.map +0 -1
  202. package/dist/commands/projects/list.d.ts +0 -9
  203. package/dist/commands/projects/list.d.ts.map +0 -1
  204. package/dist/commands/projects/select.d.ts +0 -10
  205. package/dist/commands/projects/select.d.ts.map +0 -1
  206. package/dist/commands/repo/init.d.ts +0 -10
  207. package/dist/commands/repo/init.d.ts.map +0 -1
  208. package/dist/commands/status/index.d.ts +0 -8
  209. package/dist/commands/status/index.d.ts.map +0 -1
  210. package/dist/commands/targeting/disable.d.ts +0 -25
  211. package/dist/commands/targeting/disable.d.ts.map +0 -1
  212. package/dist/commands/targeting/enable.d.ts +0 -25
  213. package/dist/commands/targeting/enable.d.ts.map +0 -1
  214. package/dist/commands/targeting/get.d.ts +0 -36
  215. package/dist/commands/targeting/get.d.ts.map +0 -1
  216. package/dist/commands/targeting/update.d.ts +0 -30
  217. package/dist/commands/targeting/update.d.ts.map +0 -1
  218. package/dist/commands/updateCommand.d.ts +0 -7
  219. package/dist/commands/updateCommand.d.ts.map +0 -1
  220. package/dist/commands/updateCommandWithCommonProperties.d.ts +0 -20
  221. package/dist/commands/updateCommandWithCommonProperties.d.ts.map +0 -1
  222. package/dist/commands/usages/index.d.ts +0 -34
  223. package/dist/commands/usages/index.d.ts.map +0 -1
  224. package/dist/commands/variables/create.d.ts +0 -26
  225. package/dist/commands/variables/create.d.ts.map +0 -1
  226. package/dist/commands/variables/get.d.ts +0 -29
  227. package/dist/commands/variables/get.d.ts.map +0 -1
  228. package/dist/commands/variables/list.d.ts +0 -23
  229. package/dist/commands/variables/list.d.ts.map +0 -1
  230. package/dist/commands/variables/update.d.ts +0 -22
  231. package/dist/commands/variables/update.d.ts.map +0 -1
  232. package/dist/commands/variations/create.d.ts +0 -27
  233. package/dist/commands/variations/create.d.ts.map +0 -1
  234. package/dist/commands/variations/get.d.ts +0 -11
  235. package/dist/commands/variations/get.d.ts.map +0 -1
  236. package/dist/commands/variations/list.d.ts +0 -12
  237. package/dist/commands/variations/list.d.ts.map +0 -1
  238. package/dist/commands/variations/update.d.ts +0 -28
  239. package/dist/commands/variations/update.d.ts.map +0 -1
  240. package/dist/commands/wink.d.ts +0 -6
  241. package/dist/commands/wink.d.ts.map +0 -1
  242. package/dist/flags/client-name/index.d.ts +0 -5
  243. package/dist/flags/client-name/index.d.ts.map +0 -1
  244. package/dist/flags/match-pattern/index.d.ts +0 -5
  245. package/dist/flags/match-pattern/index.d.ts.map +0 -1
  246. package/dist/flags/show-regex/index.d.ts +0 -4
  247. package/dist/flags/show-regex/index.d.ts.map +0 -1
  248. package/dist/flags/var-alias/index.d.ts +0 -7
  249. package/dist/flags/var-alias/index.d.ts.map +0 -1
  250. package/dist/help.d.ts +0 -13
  251. package/dist/help.d.ts.map +0 -1
  252. package/dist/index.d.ts +0 -2
  253. package/dist/index.d.ts.map +0 -1
  254. package/dist/mcp/api/interface.d.ts +0 -125
  255. package/dist/mcp/api/interface.d.ts.map +0 -1
  256. package/dist/mcp/index.d.ts +0 -3
  257. package/dist/mcp/index.d.ts.map +0 -1
  258. package/dist/mcp/server.d.ts +0 -29
  259. package/dist/mcp/server.d.ts.map +0 -1
  260. package/dist/mcp/tools/customPropertiesTools.d.ts +0 -90
  261. package/dist/mcp/tools/customPropertiesTools.d.ts.map +0 -1
  262. package/dist/mcp/tools/environmentTools.d.ts +0 -146
  263. package/dist/mcp/tools/environmentTools.d.ts.map +0 -1
  264. package/dist/mcp/tools/featureTools.d.ts +0 -1096
  265. package/dist/mcp/tools/featureTools.d.ts.map +0 -1
  266. package/dist/mcp/tools/index.d.ts +0 -12
  267. package/dist/mcp/tools/index.d.ts.map +0 -1
  268. package/dist/mcp/tools/localProjectTools.d.ts +0 -51
  269. package/dist/mcp/tools/localProjectTools.d.ts.map +0 -1
  270. package/dist/mcp/tools/projectTools.d.ts +0 -156
  271. package/dist/mcp/tools/projectTools.d.ts.map +0 -1
  272. package/dist/mcp/tools/resultsTools.d.ts +0 -35
  273. package/dist/mcp/tools/resultsTools.d.ts.map +0 -1
  274. package/dist/mcp/tools/selfTargetingTools.d.ts +0 -67
  275. package/dist/mcp/tools/selfTargetingTools.d.ts.map +0 -1
  276. package/dist/mcp/tools/variableTools.d.ts +0 -96
  277. package/dist/mcp/tools/variableTools.d.ts.map +0 -1
  278. package/dist/mcp/types.d.ts +0 -2080
  279. package/dist/mcp/types.d.ts.map +0 -1
  280. package/dist/mcp/utils/api.d.ts +0 -26
  281. package/dist/mcp/utils/api.d.ts.map +0 -1
  282. package/dist/mcp/utils/auth.d.ts +0 -26
  283. package/dist/mcp/utils/auth.d.ts.map +0 -1
  284. package/dist/mcp/utils/dashboardLinks.d.ts +0 -29
  285. package/dist/mcp/utils/dashboardLinks.d.ts.map +0 -1
  286. package/dist/mcp/utils/errorHandling.d.ts +0 -9
  287. package/dist/mcp/utils/errorHandling.d.ts.map +0 -1
  288. package/dist/mcp/utils/headers.d.ts +0 -13
  289. package/dist/mcp/utils/headers.d.ts.map +0 -1
  290. package/dist/mcp/utils/projectFormatting.d.ts +0 -29
  291. package/dist/mcp/utils/projectFormatting.d.ts.map +0 -1
  292. package/dist/types/configFile.d.ts +0 -32
  293. package/dist/types/configFile.d.ts.map +0 -1
  294. package/dist/types/index.d.ts +0 -2
  295. package/dist/types/index.d.ts.map +0 -1
  296. package/dist/ui/autocomplete.d.ts +0 -4
  297. package/dist/ui/autocomplete.d.ts.map +0 -1
  298. package/dist/ui/constants/colors.d.ts +0 -7
  299. package/dist/ui/constants/colors.d.ts.map +0 -1
  300. package/dist/ui/promptForOrganization.d.ts +0 -3
  301. package/dist/ui/promptForOrganization.d.ts.map +0 -1
  302. package/dist/ui/promptForProject.d.ts +0 -3
  303. package/dist/ui/promptForProject.d.ts.map +0 -1
  304. package/dist/ui/prompts/commonPrompts.d.ts +0 -16
  305. package/dist/ui/prompts/commonPrompts.d.ts.map +0 -1
  306. package/dist/ui/prompts/environmentPrompts.d.ts +0 -29
  307. package/dist/ui/prompts/environmentPrompts.d.ts.map +0 -1
  308. package/dist/ui/prompts/featurePrompts.d.ts +0 -42
  309. package/dist/ui/prompts/featurePrompts.d.ts.map +0 -1
  310. package/dist/ui/prompts/identityPrompts.d.ts +0 -5
  311. package/dist/ui/prompts/identityPrompts.d.ts.map +0 -1
  312. package/dist/ui/prompts/index.d.ts +0 -7
  313. package/dist/ui/prompts/index.d.ts.map +0 -1
  314. package/dist/ui/prompts/listPrompts/filterListPrompt.d.ts +0 -18
  315. package/dist/ui/prompts/listPrompts/filterListPrompt.d.ts.map +0 -1
  316. package/dist/ui/prompts/listPrompts/listOptionsPrompt.d.ts +0 -70
  317. package/dist/ui/prompts/listPrompts/listOptionsPrompt.d.ts.map +0 -1
  318. package/dist/ui/prompts/listPrompts/promptOptions.d.ts +0 -25
  319. package/dist/ui/prompts/listPrompts/promptOptions.d.ts.map +0 -1
  320. package/dist/ui/prompts/listPrompts/targetingListPrompt.d.ts +0 -97
  321. package/dist/ui/prompts/listPrompts/targetingListPrompt.d.ts.map +0 -1
  322. package/dist/ui/prompts/listPrompts/variablesListPrompt.d.ts +0 -48
  323. package/dist/ui/prompts/listPrompts/variablesListPrompt.d.ts.map +0 -1
  324. package/dist/ui/prompts/listPrompts/variationsListPrompt.d.ts +0 -30
  325. package/dist/ui/prompts/listPrompts/variationsListPrompt.d.ts.map +0 -1
  326. package/dist/ui/prompts/overridePrompts.d.ts +0 -23
  327. package/dist/ui/prompts/overridePrompts.d.ts.map +0 -1
  328. package/dist/ui/prompts/targetingPrompts.d.ts +0 -129
  329. package/dist/ui/prompts/targetingPrompts.d.ts.map +0 -1
  330. package/dist/ui/prompts/types.d.ts +0 -30
  331. package/dist/ui/prompts/types.d.ts.map +0 -1
  332. package/dist/ui/prompts/variablePrompts.d.ts +0 -46
  333. package/dist/ui/prompts/variablePrompts.d.ts.map +0 -1
  334. package/dist/ui/prompts/variationPrompts.d.ts +0 -48
  335. package/dist/ui/prompts/variationPrompts.d.ts.map +0 -1
  336. package/dist/ui/tableOutput.d.ts +0 -8
  337. package/dist/ui/tableOutput.d.ts.map +0 -1
  338. package/dist/ui/targetingTree.d.ts +0 -10
  339. package/dist/ui/targetingTree.d.ts.map +0 -1
  340. package/dist/ui/togglebot.d.ts +0 -6
  341. package/dist/ui/togglebot.d.ts.map +0 -1
  342. package/dist/ui/writer.d.ts +0 -21
  343. package/dist/ui/writer.d.ts.map +0 -1
  344. package/dist/utils/FileFilters.d.ts +0 -14
  345. package/dist/utils/FileFilters.d.ts.map +0 -1
  346. package/dist/utils/audiences/index.d.ts +0 -4
  347. package/dist/utils/audiences/index.d.ts.map +0 -1
  348. package/dist/utils/batchRequests.d.ts +0 -2
  349. package/dist/utils/batchRequests.d.ts.map +0 -1
  350. package/dist/utils/configManager.d.ts +0 -37
  351. package/dist/utils/configManager.d.ts.map +0 -1
  352. package/dist/utils/diff/diff.d.ts +0 -3
  353. package/dist/utils/diff/diff.d.ts.map +0 -1
  354. package/dist/utils/diff/fileDiff.d.ts +0 -3
  355. package/dist/utils/diff/fileDiff.d.ts.map +0 -1
  356. package/dist/utils/diff/parse.d.ts +0 -4
  357. package/dist/utils/diff/parse.d.ts.map +0 -1
  358. package/dist/utils/environments/index.d.ts +0 -3
  359. package/dist/utils/environments/index.d.ts.map +0 -1
  360. package/dist/utils/features/quickCreateFeatureUtils.d.ts +0 -4
  361. package/dist/utils/features/quickCreateFeatureUtils.d.ts.map +0 -1
  362. package/dist/utils/fileSystem.d.ts +0 -7
  363. package/dist/utils/fileSystem.d.ts.map +0 -1
  364. package/dist/utils/git/ls-files.d.ts +0 -2
  365. package/dist/utils/git/ls-files.d.ts.map +0 -1
  366. package/dist/utils/overrides/index.d.ts +0 -10
  367. package/dist/utils/overrides/index.d.ts.map +0 -1
  368. package/dist/utils/parseKeysFromArgs.d.ts +0 -10
  369. package/dist/utils/parseKeysFromArgs.d.ts.map +0 -1
  370. package/dist/utils/parsers/BaseParser.d.ts +0 -49
  371. package/dist/utils/parsers/BaseParser.d.ts.map +0 -1
  372. package/dist/utils/parsers/android/index.d.ts +0 -13
  373. package/dist/utils/parsers/android/index.d.ts.map +0 -1
  374. package/dist/utils/parsers/csharp/index.d.ts +0 -13
  375. package/dist/utils/parsers/csharp/index.d.ts.map +0 -1
  376. package/dist/utils/parsers/custom.d.ts +0 -10
  377. package/dist/utils/parsers/custom.d.ts.map +0 -1
  378. package/dist/utils/parsers/dart/index.d.ts +0 -8
  379. package/dist/utils/parsers/dart/index.d.ts.map +0 -1
  380. package/dist/utils/parsers/golang/index.d.ts +0 -8
  381. package/dist/utils/parsers/golang/index.d.ts.map +0 -1
  382. package/dist/utils/parsers/index.d.ts +0 -16
  383. package/dist/utils/parsers/index.d.ts.map +0 -1
  384. package/dist/utils/parsers/ios/index.d.ts +0 -12
  385. package/dist/utils/parsers/ios/index.d.ts.map +0 -1
  386. package/dist/utils/parsers/java/index.d.ts +0 -8
  387. package/dist/utils/parsers/java/index.d.ts.map +0 -1
  388. package/dist/utils/parsers/javascript/index.d.ts +0 -8
  389. package/dist/utils/parsers/javascript/index.d.ts.map +0 -1
  390. package/dist/utils/parsers/nodejs/index.d.ts +0 -8
  391. package/dist/utils/parsers/nodejs/index.d.ts.map +0 -1
  392. package/dist/utils/parsers/php/index.d.ts +0 -14
  393. package/dist/utils/parsers/php/index.d.ts.map +0 -1
  394. package/dist/utils/parsers/python/index.d.ts +0 -14
  395. package/dist/utils/parsers/python/index.d.ts.map +0 -1
  396. package/dist/utils/parsers/react/index.d.ts +0 -9
  397. package/dist/utils/parsers/react/index.d.ts.map +0 -1
  398. package/dist/utils/parsers/ruby/index.d.ts +0 -8
  399. package/dist/utils/parsers/ruby/index.d.ts.map +0 -1
  400. package/dist/utils/parsers/types.d.ts +0 -29
  401. package/dist/utils/parsers/types.d.ts.map +0 -1
  402. package/dist/utils/prompts.d.ts +0 -7
  403. package/dist/utils/prompts.d.ts.map +0 -1
  404. package/dist/utils/refactor/RefactorEngine.d.ts +0 -65
  405. package/dist/utils/refactor/RefactorEngine.d.ts.map +0 -1
  406. package/dist/utils/refactor/index.d.ts +0 -3
  407. package/dist/utils/refactor/index.d.ts.map +0 -1
  408. package/dist/utils/refactor/javascript/JavascriptEngine.d.ts +0 -6
  409. package/dist/utils/refactor/javascript/JavascriptEngine.d.ts.map +0 -1
  410. package/dist/utils/refactor/javascript/index.d.ts +0 -2
  411. package/dist/utils/refactor/javascript/index.d.ts.map +0 -1
  412. package/dist/utils/refactor/utils.d.ts +0 -4
  413. package/dist/utils/refactor/utils.d.ts.map +0 -1
  414. package/dist/utils/reportValidationErrors.d.ts +0 -8
  415. package/dist/utils/reportValidationErrors.d.ts.map +0 -1
  416. package/dist/utils/targeting/index.d.ts +0 -92
  417. package/dist/utils/targeting/index.d.ts.map +0 -1
  418. package/dist/utils/usages/parse.d.ts +0 -4
  419. package/dist/utils/usages/parse.d.ts.map +0 -1
  420. package/dist/utils/validators.d.ts +0 -4
  421. package/dist/utils/validators.d.ts.map +0 -1
@@ -1,2080 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ListFeaturesArgsSchema: z.ZodObject<{
3
- page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
4
- perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
5
- sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt", "name", "key", "createdBy", "propertyKey"]>>>;
6
- sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["asc", "desc"]>>>;
7
- search: z.ZodOptional<z.ZodString>;
8
- staleness: z.ZodOptional<z.ZodEnum<["all", "unused", "released", "unmodified", "notStale"]>>;
9
- createdBy: z.ZodOptional<z.ZodString>;
10
- type: z.ZodOptional<z.ZodEnum<["release", "experiment", "permission", "ops"]>>;
11
- status: z.ZodOptional<z.ZodEnum<["active", "complete", "archived"]>>;
12
- }, "strip", z.ZodTypeAny, {
13
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
14
- status?: "active" | "archived" | "complete" | undefined;
15
- staleness?: "all" | "unused" | "released" | "unmodified" | "notStale" | undefined;
16
- page?: number | undefined;
17
- perPage?: number | undefined;
18
- createdBy?: string | undefined;
19
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
20
- sortOrder?: "asc" | "desc" | undefined;
21
- search?: string | undefined;
22
- }, {
23
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
24
- status?: "active" | "archived" | "complete" | undefined;
25
- staleness?: "all" | "unused" | "released" | "unmodified" | "notStale" | undefined;
26
- page?: number | undefined;
27
- perPage?: number | undefined;
28
- createdBy?: string | undefined;
29
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
30
- sortOrder?: "asc" | "desc" | undefined;
31
- search?: string | undefined;
32
- }>;
33
- export declare const ListVariablesArgsSchema: z.ZodObject<{
34
- page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
35
- perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
36
- sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt", "name", "key", "createdBy", "propertyKey"]>>>;
37
- sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["asc", "desc"]>>>;
38
- search: z.ZodOptional<z.ZodString>;
39
- feature: z.ZodOptional<z.ZodString>;
40
- type: z.ZodOptional<z.ZodEnum<["String", "Boolean", "Number", "JSON"]>>;
41
- status: z.ZodOptional<z.ZodEnum<["active", "archived"]>>;
42
- }, "strip", z.ZodTypeAny, {
43
- type?: "String" | "Boolean" | "Number" | "JSON" | undefined;
44
- status?: "active" | "archived" | undefined;
45
- page?: number | undefined;
46
- perPage?: number | undefined;
47
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
48
- sortOrder?: "asc" | "desc" | undefined;
49
- search?: string | undefined;
50
- feature?: string | undefined;
51
- }, {
52
- type?: "String" | "Boolean" | "Number" | "JSON" | undefined;
53
- status?: "active" | "archived" | undefined;
54
- page?: number | undefined;
55
- perPage?: number | undefined;
56
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
57
- sortOrder?: "asc" | "desc" | undefined;
58
- search?: string | undefined;
59
- feature?: string | undefined;
60
- }>;
61
- export declare const CreateVariableArgsSchema: z.ZodObject<{
62
- key: z.ZodString;
63
- name: z.ZodOptional<z.ZodString>;
64
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
65
- type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
66
- defaultValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
67
- _feature: z.ZodOptional<z.ZodOptional<z.ZodString>>;
68
- validationSchema: z.ZodOptional<z.ZodOptional<z.ZodObject<{
69
- schemaType: z.ZodString;
70
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
- regexPattern: z.ZodOptional<z.ZodString>;
72
- jsonSchema: z.ZodOptional<z.ZodString>;
73
- description: z.ZodString;
74
- exampleValue: z.ZodAny;
75
- }, "strip", z.ZodTypeAny, {
76
- description: string;
77
- schemaType: string;
78
- enumValues?: string[] | undefined;
79
- regexPattern?: string | undefined;
80
- jsonSchema?: string | undefined;
81
- exampleValue?: any;
82
- }, {
83
- description: string;
84
- schemaType: string;
85
- enumValues?: string[] | undefined;
86
- regexPattern?: string | undefined;
87
- jsonSchema?: string | undefined;
88
- exampleValue?: any;
89
- }>>>;
90
- }, "strip", z.ZodTypeAny, {
91
- type: "String" | "Boolean" | "Number" | "JSON";
92
- key: string;
93
- description?: string | undefined;
94
- name?: string | undefined;
95
- _feature?: string | undefined;
96
- defaultValue?: any;
97
- validationSchema?: {
98
- description: string;
99
- schemaType: string;
100
- enumValues?: string[] | undefined;
101
- regexPattern?: string | undefined;
102
- jsonSchema?: string | undefined;
103
- exampleValue?: any;
104
- } | undefined;
105
- }, {
106
- type: "String" | "Boolean" | "Number" | "JSON";
107
- key: string;
108
- description?: string | undefined;
109
- name?: string | undefined;
110
- _feature?: string | undefined;
111
- defaultValue?: any;
112
- validationSchema?: {
113
- description: string;
114
- schemaType: string;
115
- enumValues?: string[] | undefined;
116
- regexPattern?: string | undefined;
117
- jsonSchema?: string | undefined;
118
- exampleValue?: any;
119
- } | undefined;
120
- }>;
121
- export declare const UpdateVariableArgsSchema: z.ZodObject<{
122
- key: z.ZodString;
123
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
124
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
125
- type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["String", "Boolean", "Number", "JSON"]>>>;
126
- validationSchema: z.ZodOptional<z.ZodOptional<z.ZodObject<{
127
- schemaType: z.ZodString;
128
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
- regexPattern: z.ZodOptional<z.ZodString>;
130
- jsonSchema: z.ZodOptional<z.ZodString>;
131
- description: z.ZodString;
132
- exampleValue: z.ZodAny;
133
- }, "strip", z.ZodTypeAny, {
134
- description: string;
135
- schemaType: string;
136
- enumValues?: string[] | undefined;
137
- regexPattern?: string | undefined;
138
- jsonSchema?: string | undefined;
139
- exampleValue?: any;
140
- }, {
141
- description: string;
142
- schemaType: string;
143
- enumValues?: string[] | undefined;
144
- regexPattern?: string | undefined;
145
- jsonSchema?: string | undefined;
146
- exampleValue?: any;
147
- }>>>;
148
- }, "strip", z.ZodTypeAny, {
149
- key: string;
150
- type?: "String" | "Boolean" | "Number" | "JSON" | undefined;
151
- description?: string | undefined;
152
- name?: string | undefined;
153
- validationSchema?: {
154
- description: string;
155
- schemaType: string;
156
- enumValues?: string[] | undefined;
157
- regexPattern?: string | undefined;
158
- jsonSchema?: string | undefined;
159
- exampleValue?: any;
160
- } | undefined;
161
- }, {
162
- key: string;
163
- type?: "String" | "Boolean" | "Number" | "JSON" | undefined;
164
- description?: string | undefined;
165
- name?: string | undefined;
166
- validationSchema?: {
167
- description: string;
168
- schemaType: string;
169
- enumValues?: string[] | undefined;
170
- regexPattern?: string | undefined;
171
- jsonSchema?: string | undefined;
172
- exampleValue?: any;
173
- } | undefined;
174
- }>;
175
- export declare const DeleteVariableArgsSchema: z.ZodObject<{
176
- key: z.ZodString;
177
- }, "strip", z.ZodTypeAny, {
178
- key: string;
179
- }, {
180
- key: string;
181
- }>;
182
- export declare const DeleteFeatureArgsSchema: z.ZodObject<{
183
- key: z.ZodString;
184
- }, "strip", z.ZodTypeAny, {
185
- key: string;
186
- }, {
187
- key: string;
188
- }>;
189
- export declare const ListProjectsArgsSchema: z.ZodObject<{
190
- page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
191
- perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
192
- sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "name", "key", "createdBy", "propertyKey"]>>>;
193
- sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
194
- search: z.ZodOptional<z.ZodString>;
195
- createdBy: z.ZodOptional<z.ZodString>;
196
- }, "strip", z.ZodTypeAny, {
197
- page: number;
198
- perPage: number;
199
- sortBy: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey";
200
- sortOrder: "asc" | "desc";
201
- createdBy?: string | undefined;
202
- search?: string | undefined;
203
- }, {
204
- page?: number | undefined;
205
- perPage?: number | undefined;
206
- createdBy?: string | undefined;
207
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
208
- sortOrder?: "asc" | "desc" | undefined;
209
- search?: string | undefined;
210
- }>;
211
- export declare const CreateProjectArgsSchema: z.ZodObject<{
212
- name: z.ZodString;
213
- key: z.ZodString;
214
- description: z.ZodOptional<z.ZodString>;
215
- color: z.ZodOptional<z.ZodString>;
216
- settings: z.ZodOptional<z.ZodObject<{
217
- edgeDB: z.ZodObject<{
218
- enabled: z.ZodBoolean;
219
- }, "strip", z.ZodTypeAny, {
220
- enabled: boolean;
221
- }, {
222
- enabled: boolean;
223
- }>;
224
- optIn: z.ZodObject<{
225
- title: z.ZodString;
226
- description: z.ZodString;
227
- enabled: z.ZodBoolean;
228
- imageURL: z.ZodString;
229
- colors: z.ZodObject<{
230
- primary: z.ZodString;
231
- secondary: z.ZodString;
232
- }, "strip", z.ZodTypeAny, {
233
- primary: string;
234
- secondary: string;
235
- }, {
236
- primary: string;
237
- secondary: string;
238
- }>;
239
- poweredByAlignment: z.ZodEnum<["center", "left", "right", "hidden"]>;
240
- }, "strip", z.ZodTypeAny, {
241
- enabled: boolean;
242
- title: string;
243
- description: string;
244
- imageURL: string;
245
- colors: {
246
- primary: string;
247
- secondary: string;
248
- };
249
- poweredByAlignment: "center" | "left" | "right" | "hidden";
250
- }, {
251
- enabled: boolean;
252
- title: string;
253
- description: string;
254
- imageURL: string;
255
- colors: {
256
- primary: string;
257
- secondary: string;
258
- };
259
- poweredByAlignment: "center" | "left" | "right" | "hidden";
260
- }>;
261
- sdkTypeVisibility: z.ZodObject<{
262
- enabledInFeatureSettings: z.ZodBoolean;
263
- }, "strip", z.ZodTypeAny, {
264
- enabledInFeatureSettings: boolean;
265
- }, {
266
- enabledInFeatureSettings: boolean;
267
- }>;
268
- obfuscation: z.ZodObject<{
269
- enabled: z.ZodBoolean;
270
- required: z.ZodBoolean;
271
- }, "strip", z.ZodTypeAny, {
272
- enabled: boolean;
273
- required: boolean;
274
- }, {
275
- enabled: boolean;
276
- required: boolean;
277
- }>;
278
- staleness: z.ZodOptional<z.ZodObject<{
279
- enabled: z.ZodBoolean;
280
- }, "strip", z.ZodTypeAny, {
281
- enabled: boolean;
282
- }, {
283
- enabled: boolean;
284
- }>>;
285
- }, "strip", z.ZodTypeAny, {
286
- edgeDB: {
287
- enabled: boolean;
288
- };
289
- optIn: {
290
- enabled: boolean;
291
- title: string;
292
- description: string;
293
- imageURL: string;
294
- colors: {
295
- primary: string;
296
- secondary: string;
297
- };
298
- poweredByAlignment: "center" | "left" | "right" | "hidden";
299
- };
300
- sdkTypeVisibility: {
301
- enabledInFeatureSettings: boolean;
302
- };
303
- obfuscation: {
304
- enabled: boolean;
305
- required: boolean;
306
- };
307
- staleness?: {
308
- enabled: boolean;
309
- } | undefined;
310
- }, {
311
- edgeDB: {
312
- enabled: boolean;
313
- };
314
- optIn: {
315
- enabled: boolean;
316
- title: string;
317
- description: string;
318
- imageURL: string;
319
- colors: {
320
- primary: string;
321
- secondary: string;
322
- };
323
- poweredByAlignment: "center" | "left" | "right" | "hidden";
324
- };
325
- sdkTypeVisibility: {
326
- enabledInFeatureSettings: boolean;
327
- };
328
- obfuscation: {
329
- enabled: boolean;
330
- required: boolean;
331
- };
332
- staleness?: {
333
- enabled: boolean;
334
- } | undefined;
335
- }>>;
336
- }, "strip", z.ZodTypeAny, {
337
- name: string;
338
- key: string;
339
- description?: string | undefined;
340
- color?: string | undefined;
341
- settings?: {
342
- edgeDB: {
343
- enabled: boolean;
344
- };
345
- optIn: {
346
- enabled: boolean;
347
- title: string;
348
- description: string;
349
- imageURL: string;
350
- colors: {
351
- primary: string;
352
- secondary: string;
353
- };
354
- poweredByAlignment: "center" | "left" | "right" | "hidden";
355
- };
356
- sdkTypeVisibility: {
357
- enabledInFeatureSettings: boolean;
358
- };
359
- obfuscation: {
360
- enabled: boolean;
361
- required: boolean;
362
- };
363
- staleness?: {
364
- enabled: boolean;
365
- } | undefined;
366
- } | undefined;
367
- }, {
368
- name: string;
369
- key: string;
370
- description?: string | undefined;
371
- color?: string | undefined;
372
- settings?: {
373
- edgeDB: {
374
- enabled: boolean;
375
- };
376
- optIn: {
377
- enabled: boolean;
378
- title: string;
379
- description: string;
380
- imageURL: string;
381
- colors: {
382
- primary: string;
383
- secondary: string;
384
- };
385
- poweredByAlignment: "center" | "left" | "right" | "hidden";
386
- };
387
- sdkTypeVisibility: {
388
- enabledInFeatureSettings: boolean;
389
- };
390
- obfuscation: {
391
- enabled: boolean;
392
- required: boolean;
393
- };
394
- staleness?: {
395
- enabled: boolean;
396
- } | undefined;
397
- } | undefined;
398
- }>;
399
- export declare const UpdateProjectArgsSchema: z.ZodObject<{
400
- key: z.ZodString;
401
- name: z.ZodOptional<z.ZodString>;
402
- description: z.ZodOptional<z.ZodString>;
403
- color: z.ZodOptional<z.ZodString>;
404
- settings: z.ZodOptional<z.ZodObject<{
405
- edgeDB: z.ZodObject<{
406
- enabled: z.ZodBoolean;
407
- }, "strip", z.ZodTypeAny, {
408
- enabled: boolean;
409
- }, {
410
- enabled: boolean;
411
- }>;
412
- optIn: z.ZodObject<{
413
- title: z.ZodString;
414
- description: z.ZodString;
415
- enabled: z.ZodBoolean;
416
- imageURL: z.ZodString;
417
- colors: z.ZodObject<{
418
- primary: z.ZodString;
419
- secondary: z.ZodString;
420
- }, "strip", z.ZodTypeAny, {
421
- primary: string;
422
- secondary: string;
423
- }, {
424
- primary: string;
425
- secondary: string;
426
- }>;
427
- poweredByAlignment: z.ZodEnum<["center", "left", "right", "hidden"]>;
428
- }, "strip", z.ZodTypeAny, {
429
- enabled: boolean;
430
- title: string;
431
- description: string;
432
- imageURL: string;
433
- colors: {
434
- primary: string;
435
- secondary: string;
436
- };
437
- poweredByAlignment: "center" | "left" | "right" | "hidden";
438
- }, {
439
- enabled: boolean;
440
- title: string;
441
- description: string;
442
- imageURL: string;
443
- colors: {
444
- primary: string;
445
- secondary: string;
446
- };
447
- poweredByAlignment: "center" | "left" | "right" | "hidden";
448
- }>;
449
- sdkTypeVisibility: z.ZodObject<{
450
- enabledInFeatureSettings: z.ZodBoolean;
451
- }, "strip", z.ZodTypeAny, {
452
- enabledInFeatureSettings: boolean;
453
- }, {
454
- enabledInFeatureSettings: boolean;
455
- }>;
456
- obfuscation: z.ZodObject<{
457
- enabled: z.ZodBoolean;
458
- required: z.ZodBoolean;
459
- }, "strip", z.ZodTypeAny, {
460
- enabled: boolean;
461
- required: boolean;
462
- }, {
463
- enabled: boolean;
464
- required: boolean;
465
- }>;
466
- staleness: z.ZodOptional<z.ZodObject<{
467
- enabled: z.ZodBoolean;
468
- }, "strip", z.ZodTypeAny, {
469
- enabled: boolean;
470
- }, {
471
- enabled: boolean;
472
- }>>;
473
- }, "strip", z.ZodTypeAny, {
474
- edgeDB: {
475
- enabled: boolean;
476
- };
477
- optIn: {
478
- enabled: boolean;
479
- title: string;
480
- description: string;
481
- imageURL: string;
482
- colors: {
483
- primary: string;
484
- secondary: string;
485
- };
486
- poweredByAlignment: "center" | "left" | "right" | "hidden";
487
- };
488
- sdkTypeVisibility: {
489
- enabledInFeatureSettings: boolean;
490
- };
491
- obfuscation: {
492
- enabled: boolean;
493
- required: boolean;
494
- };
495
- staleness?: {
496
- enabled: boolean;
497
- } | undefined;
498
- }, {
499
- edgeDB: {
500
- enabled: boolean;
501
- };
502
- optIn: {
503
- enabled: boolean;
504
- title: string;
505
- description: string;
506
- imageURL: string;
507
- colors: {
508
- primary: string;
509
- secondary: string;
510
- };
511
- poweredByAlignment: "center" | "left" | "right" | "hidden";
512
- };
513
- sdkTypeVisibility: {
514
- enabledInFeatureSettings: boolean;
515
- };
516
- obfuscation: {
517
- enabled: boolean;
518
- required: boolean;
519
- };
520
- staleness?: {
521
- enabled: boolean;
522
- } | undefined;
523
- }>>;
524
- }, "strip", z.ZodTypeAny, {
525
- key: string;
526
- description?: string | undefined;
527
- name?: string | undefined;
528
- color?: string | undefined;
529
- settings?: {
530
- edgeDB: {
531
- enabled: boolean;
532
- };
533
- optIn: {
534
- enabled: boolean;
535
- title: string;
536
- description: string;
537
- imageURL: string;
538
- colors: {
539
- primary: string;
540
- secondary: string;
541
- };
542
- poweredByAlignment: "center" | "left" | "right" | "hidden";
543
- };
544
- sdkTypeVisibility: {
545
- enabledInFeatureSettings: boolean;
546
- };
547
- obfuscation: {
548
- enabled: boolean;
549
- required: boolean;
550
- };
551
- staleness?: {
552
- enabled: boolean;
553
- } | undefined;
554
- } | undefined;
555
- }, {
556
- key: string;
557
- description?: string | undefined;
558
- name?: string | undefined;
559
- color?: string | undefined;
560
- settings?: {
561
- edgeDB: {
562
- enabled: boolean;
563
- };
564
- optIn: {
565
- enabled: boolean;
566
- title: string;
567
- description: string;
568
- imageURL: string;
569
- colors: {
570
- primary: string;
571
- secondary: string;
572
- };
573
- poweredByAlignment: "center" | "left" | "right" | "hidden";
574
- };
575
- sdkTypeVisibility: {
576
- enabledInFeatureSettings: boolean;
577
- };
578
- obfuscation: {
579
- enabled: boolean;
580
- required: boolean;
581
- };
582
- staleness?: {
583
- enabled: boolean;
584
- } | undefined;
585
- } | undefined;
586
- }>;
587
- export declare const ListEnvironmentsArgsSchema: z.ZodObject<{
588
- search: z.ZodOptional<z.ZodString>;
589
- page: z.ZodOptional<z.ZodNumber>;
590
- perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
591
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "name", "key", "createdBy", "propertyKey"]>>;
592
- sortOrder: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
593
- createdBy: z.ZodOptional<z.ZodString>;
594
- }, "strip", z.ZodTypeAny, {
595
- page?: number | undefined;
596
- perPage?: number | undefined;
597
- createdBy?: string | undefined;
598
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
599
- sortOrder?: "asc" | "desc" | undefined;
600
- search?: string | undefined;
601
- }, {
602
- page?: number | undefined;
603
- perPage?: number | undefined;
604
- createdBy?: string | undefined;
605
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
606
- sortOrder?: "asc" | "desc" | undefined;
607
- search?: string | undefined;
608
- }>;
609
- export declare const GetSdkKeysArgsSchema: z.ZodObject<{
610
- environmentKey: z.ZodString;
611
- keyType: z.ZodOptional<z.ZodEnum<["mobile", "server", "client"]>>;
612
- }, "strip", z.ZodTypeAny, {
613
- environmentKey: string;
614
- keyType?: "mobile" | "client" | "server" | undefined;
615
- }, {
616
- environmentKey: string;
617
- keyType?: "mobile" | "client" | "server" | undefined;
618
- }>;
619
- export declare const CreateEnvironmentArgsSchema: z.ZodObject<{
620
- name: z.ZodString;
621
- key: z.ZodString;
622
- description: z.ZodOptional<z.ZodString>;
623
- color: z.ZodOptional<z.ZodString>;
624
- type: z.ZodEnum<["development", "staging", "production", "disaster_recovery"]>;
625
- settings: z.ZodOptional<z.ZodObject<{
626
- appIconURI: z.ZodOptional<z.ZodString>;
627
- }, "strip", z.ZodTypeAny, {
628
- appIconURI?: string | undefined;
629
- }, {
630
- appIconURI?: string | undefined;
631
- }>>;
632
- }, "strip", z.ZodTypeAny, {
633
- type: "development" | "staging" | "production" | "disaster_recovery";
634
- name: string;
635
- key: string;
636
- description?: string | undefined;
637
- color?: string | undefined;
638
- settings?: {
639
- appIconURI?: string | undefined;
640
- } | undefined;
641
- }, {
642
- type: "development" | "staging" | "production" | "disaster_recovery";
643
- name: string;
644
- key: string;
645
- description?: string | undefined;
646
- color?: string | undefined;
647
- settings?: {
648
- appIconURI?: string | undefined;
649
- } | undefined;
650
- }>;
651
- export declare const UpdateEnvironmentArgsSchema: z.ZodObject<{
652
- key: z.ZodString;
653
- name: z.ZodOptional<z.ZodString>;
654
- description: z.ZodOptional<z.ZodString>;
655
- color: z.ZodOptional<z.ZodString>;
656
- type: z.ZodOptional<z.ZodEnum<["development", "staging", "production", "disaster_recovery"]>>;
657
- settings: z.ZodOptional<z.ZodObject<{
658
- appIconURI: z.ZodOptional<z.ZodString>;
659
- }, "strip", z.ZodTypeAny, {
660
- appIconURI?: string | undefined;
661
- }, {
662
- appIconURI?: string | undefined;
663
- }>>;
664
- }, "strip", z.ZodTypeAny, {
665
- key: string;
666
- type?: "development" | "staging" | "production" | "disaster_recovery" | undefined;
667
- description?: string | undefined;
668
- name?: string | undefined;
669
- color?: string | undefined;
670
- settings?: {
671
- appIconURI?: string | undefined;
672
- } | undefined;
673
- }, {
674
- key: string;
675
- type?: "development" | "staging" | "production" | "disaster_recovery" | undefined;
676
- description?: string | undefined;
677
- name?: string | undefined;
678
- color?: string | undefined;
679
- settings?: {
680
- appIconURI?: string | undefined;
681
- } | undefined;
682
- }>;
683
- export declare const SetFeatureTargetingArgsSchema: z.ZodObject<{
684
- feature_key: z.ZodString;
685
- environment_key: z.ZodString;
686
- enabled: z.ZodBoolean;
687
- }, "strip", z.ZodTypeAny, {
688
- enabled: boolean;
689
- feature_key: string;
690
- environment_key: string;
691
- }, {
692
- enabled: boolean;
693
- feature_key: string;
694
- environment_key: string;
695
- }>;
696
- export declare const CreateFeatureArgsSchema: z.ZodObject<{
697
- name: z.ZodString;
698
- key: z.ZodString;
699
- description: z.ZodOptional<z.ZodString>;
700
- variables: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
701
- name: z.ZodOptional<z.ZodString>;
702
- description: z.ZodOptional<z.ZodString>;
703
- key: z.ZodString;
704
- _feature: z.ZodOptional<z.ZodString>;
705
- type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
706
- defaultValue: z.ZodOptional<z.ZodAny>;
707
- validationSchema: z.ZodOptional<z.ZodObject<{
708
- schemaType: z.ZodString;
709
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
710
- regexPattern: z.ZodOptional<z.ZodString>;
711
- jsonSchema: z.ZodOptional<z.ZodString>;
712
- description: z.ZodString;
713
- exampleValue: z.ZodAny;
714
- }, "strip", z.ZodTypeAny, {
715
- description: string;
716
- schemaType: string;
717
- enumValues?: string[] | undefined;
718
- regexPattern?: string | undefined;
719
- jsonSchema?: string | undefined;
720
- exampleValue?: any;
721
- }, {
722
- description: string;
723
- schemaType: string;
724
- enumValues?: string[] | undefined;
725
- regexPattern?: string | undefined;
726
- jsonSchema?: string | undefined;
727
- exampleValue?: any;
728
- }>>;
729
- }, "strip", z.ZodTypeAny, {
730
- type: "String" | "Boolean" | "Number" | "JSON";
731
- key: string;
732
- description?: string | undefined;
733
- name?: string | undefined;
734
- _feature?: string | undefined;
735
- defaultValue?: any;
736
- validationSchema?: {
737
- description: string;
738
- schemaType: string;
739
- enumValues?: string[] | undefined;
740
- regexPattern?: string | undefined;
741
- jsonSchema?: string | undefined;
742
- exampleValue?: any;
743
- } | undefined;
744
- }, {
745
- type: "String" | "Boolean" | "Number" | "JSON";
746
- key: string;
747
- description?: string | undefined;
748
- name?: string | undefined;
749
- _feature?: string | undefined;
750
- defaultValue?: any;
751
- validationSchema?: {
752
- description: string;
753
- schemaType: string;
754
- enumValues?: string[] | undefined;
755
- regexPattern?: string | undefined;
756
- jsonSchema?: string | undefined;
757
- exampleValue?: any;
758
- } | undefined;
759
- }>, z.ZodObject<{
760
- key: z.ZodString;
761
- }, "strip", z.ZodTypeAny, {
762
- key: string;
763
- }, {
764
- key: string;
765
- }>]>, "many">>;
766
- configurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
767
- targets: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
768
- status: z.ZodOptional<z.ZodString>;
769
- }, "strip", z.ZodTypeAny, {
770
- status?: string | undefined;
771
- targets?: unknown[] | undefined;
772
- }, {
773
- status?: string | undefined;
774
- targets?: unknown[] | undefined;
775
- }>>>;
776
- variations: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
- _id: z.ZodOptional<z.ZodString>;
778
- key: z.ZodOptional<z.ZodString>;
779
- name: z.ZodOptional<z.ZodString>;
780
- variables: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown, "many">, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>>;
781
- }, "strip", z.ZodTypeAny, {
782
- name?: string | undefined;
783
- key?: string | undefined;
784
- _id?: string | undefined;
785
- variables?: Record<string, string | number | boolean | unknown[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
786
- }, {
787
- name?: string | undefined;
788
- key?: string | undefined;
789
- _id?: string | undefined;
790
- variables?: Record<string, string | number | boolean | unknown[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
791
- }>, "many">>;
792
- controlVariation: z.ZodOptional<z.ZodString>;
793
- settings: z.ZodOptional<z.ZodObject<{
794
- publicName: z.ZodString;
795
- publicDescription: z.ZodString;
796
- optInEnabled: z.ZodBoolean;
797
- }, "strip", z.ZodTypeAny, {
798
- publicName: string;
799
- publicDescription: string;
800
- optInEnabled: boolean;
801
- }, {
802
- publicName: string;
803
- publicDescription: string;
804
- optInEnabled: boolean;
805
- }>>;
806
- sdkVisibility: z.ZodOptional<z.ZodObject<{
807
- mobile: z.ZodBoolean;
808
- client: z.ZodBoolean;
809
- server: z.ZodBoolean;
810
- }, "strip", z.ZodTypeAny, {
811
- mobile: boolean;
812
- client: boolean;
813
- server: boolean;
814
- }, {
815
- mobile: boolean;
816
- client: boolean;
817
- server: boolean;
818
- }>>;
819
- type: z.ZodOptional<z.ZodEnum<["release", "experiment", "permission", "ops"]>>;
820
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
821
- interactive: z.ZodOptional<z.ZodBoolean>;
822
- }, "strip", z.ZodTypeAny, {
823
- name: string;
824
- key: string;
825
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
826
- description?: string | undefined;
827
- settings?: {
828
- publicName: string;
829
- publicDescription: string;
830
- optInEnabled: boolean;
831
- } | undefined;
832
- tags?: string[] | undefined;
833
- variables?: ({
834
- type: "String" | "Boolean" | "Number" | "JSON";
835
- key: string;
836
- description?: string | undefined;
837
- name?: string | undefined;
838
- _feature?: string | undefined;
839
- defaultValue?: any;
840
- validationSchema?: {
841
- description: string;
842
- schemaType: string;
843
- enumValues?: string[] | undefined;
844
- regexPattern?: string | undefined;
845
- jsonSchema?: string | undefined;
846
- exampleValue?: any;
847
- } | undefined;
848
- } | {
849
- key: string;
850
- })[] | undefined;
851
- configurations?: Record<string, {
852
- status?: string | undefined;
853
- targets?: unknown[] | undefined;
854
- }> | undefined;
855
- variations?: {
856
- name?: string | undefined;
857
- key?: string | undefined;
858
- _id?: string | undefined;
859
- variables?: Record<string, string | number | boolean | unknown[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
860
- }[] | undefined;
861
- controlVariation?: string | undefined;
862
- sdkVisibility?: {
863
- mobile: boolean;
864
- client: boolean;
865
- server: boolean;
866
- } | undefined;
867
- interactive?: boolean | undefined;
868
- }, {
869
- name: string;
870
- key: string;
871
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
872
- description?: string | undefined;
873
- settings?: {
874
- publicName: string;
875
- publicDescription: string;
876
- optInEnabled: boolean;
877
- } | undefined;
878
- tags?: string[] | undefined;
879
- variables?: ({
880
- type: "String" | "Boolean" | "Number" | "JSON";
881
- key: string;
882
- description?: string | undefined;
883
- name?: string | undefined;
884
- _feature?: string | undefined;
885
- defaultValue?: any;
886
- validationSchema?: {
887
- description: string;
888
- schemaType: string;
889
- enumValues?: string[] | undefined;
890
- regexPattern?: string | undefined;
891
- jsonSchema?: string | undefined;
892
- exampleValue?: any;
893
- } | undefined;
894
- } | {
895
- key: string;
896
- })[] | undefined;
897
- configurations?: Record<string, {
898
- status?: string | undefined;
899
- targets?: unknown[] | undefined;
900
- }> | undefined;
901
- variations?: {
902
- name?: string | undefined;
903
- key?: string | undefined;
904
- _id?: string | undefined;
905
- variables?: Record<string, string | number | boolean | unknown[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
906
- }[] | undefined;
907
- controlVariation?: string | undefined;
908
- sdkVisibility?: {
909
- mobile: boolean;
910
- client: boolean;
911
- server: boolean;
912
- } | undefined;
913
- interactive?: boolean | undefined;
914
- }>;
915
- export declare const UpdateFeatureArgsSchema: z.ZodObject<{
916
- key: z.ZodString;
917
- name: z.ZodOptional<z.ZodString>;
918
- description: z.ZodOptional<z.ZodString>;
919
- variables: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
920
- name: z.ZodOptional<z.ZodString>;
921
- description: z.ZodOptional<z.ZodString>;
922
- key: z.ZodString;
923
- _feature: z.ZodOptional<z.ZodString>;
924
- type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
925
- defaultValue: z.ZodOptional<z.ZodAny>;
926
- validationSchema: z.ZodOptional<z.ZodObject<{
927
- schemaType: z.ZodString;
928
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
929
- regexPattern: z.ZodOptional<z.ZodString>;
930
- jsonSchema: z.ZodOptional<z.ZodString>;
931
- description: z.ZodString;
932
- exampleValue: z.ZodAny;
933
- }, "strip", z.ZodTypeAny, {
934
- description: string;
935
- schemaType: string;
936
- enumValues?: string[] | undefined;
937
- regexPattern?: string | undefined;
938
- jsonSchema?: string | undefined;
939
- exampleValue?: any;
940
- }, {
941
- description: string;
942
- schemaType: string;
943
- enumValues?: string[] | undefined;
944
- regexPattern?: string | undefined;
945
- jsonSchema?: string | undefined;
946
- exampleValue?: any;
947
- }>>;
948
- }, "strip", z.ZodTypeAny, {
949
- type: "String" | "Boolean" | "Number" | "JSON";
950
- key: string;
951
- description?: string | undefined;
952
- name?: string | undefined;
953
- _feature?: string | undefined;
954
- defaultValue?: any;
955
- validationSchema?: {
956
- description: string;
957
- schemaType: string;
958
- enumValues?: string[] | undefined;
959
- regexPattern?: string | undefined;
960
- jsonSchema?: string | undefined;
961
- exampleValue?: any;
962
- } | undefined;
963
- }, {
964
- type: "String" | "Boolean" | "Number" | "JSON";
965
- key: string;
966
- description?: string | undefined;
967
- name?: string | undefined;
968
- _feature?: string | undefined;
969
- defaultValue?: any;
970
- validationSchema?: {
971
- description: string;
972
- schemaType: string;
973
- enumValues?: string[] | undefined;
974
- regexPattern?: string | undefined;
975
- jsonSchema?: string | undefined;
976
- exampleValue?: any;
977
- } | undefined;
978
- }>, z.ZodObject<{
979
- key: z.ZodString;
980
- }, "strip", z.ZodTypeAny, {
981
- key: string;
982
- }, {
983
- key: string;
984
- }>]>, "many">>;
985
- variations: z.ZodOptional<z.ZodArray<z.ZodObject<{
986
- _id: z.ZodString;
987
- key: z.ZodString;
988
- name: z.ZodString;
989
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown, "many">, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
990
- }, "strip", z.ZodTypeAny, {
991
- name: string;
992
- key: string;
993
- _id: string;
994
- variables?: Record<string, string | number | boolean | unknown[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
995
- }, {
996
- name: string;
997
- key: string;
998
- _id: string;
999
- variables?: Record<string, string | number | boolean | unknown[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1000
- }>, "many">>;
1001
- settings: z.ZodOptional<z.ZodObject<{
1002
- publicName: z.ZodString;
1003
- publicDescription: z.ZodString;
1004
- optInEnabled: z.ZodBoolean;
1005
- }, "strip", z.ZodTypeAny, {
1006
- publicName: string;
1007
- publicDescription: string;
1008
- optInEnabled: boolean;
1009
- }, {
1010
- publicName: string;
1011
- publicDescription: string;
1012
- optInEnabled: boolean;
1013
- }>>;
1014
- sdkVisibility: z.ZodOptional<z.ZodObject<{
1015
- mobile: z.ZodBoolean;
1016
- client: z.ZodBoolean;
1017
- server: z.ZodBoolean;
1018
- }, "strip", z.ZodTypeAny, {
1019
- mobile: boolean;
1020
- client: boolean;
1021
- server: boolean;
1022
- }, {
1023
- mobile: boolean;
1024
- client: boolean;
1025
- server: boolean;
1026
- }>>;
1027
- type: z.ZodOptional<z.ZodEnum<["release", "experiment", "permission", "ops"]>>;
1028
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1029
- controlVariation: z.ZodOptional<z.ZodString>;
1030
- }, "strip", z.ZodTypeAny, {
1031
- key: string;
1032
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
1033
- description?: string | undefined;
1034
- name?: string | undefined;
1035
- settings?: {
1036
- publicName: string;
1037
- publicDescription: string;
1038
- optInEnabled: boolean;
1039
- } | undefined;
1040
- tags?: string[] | undefined;
1041
- variables?: ({
1042
- type: "String" | "Boolean" | "Number" | "JSON";
1043
- key: string;
1044
- description?: string | undefined;
1045
- name?: string | undefined;
1046
- _feature?: string | undefined;
1047
- defaultValue?: any;
1048
- validationSchema?: {
1049
- description: string;
1050
- schemaType: string;
1051
- enumValues?: string[] | undefined;
1052
- regexPattern?: string | undefined;
1053
- jsonSchema?: string | undefined;
1054
- exampleValue?: any;
1055
- } | undefined;
1056
- } | {
1057
- key: string;
1058
- })[] | undefined;
1059
- variations?: {
1060
- name: string;
1061
- key: string;
1062
- _id: string;
1063
- variables?: Record<string, string | number | boolean | unknown[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1064
- }[] | undefined;
1065
- controlVariation?: string | undefined;
1066
- sdkVisibility?: {
1067
- mobile: boolean;
1068
- client: boolean;
1069
- server: boolean;
1070
- } | undefined;
1071
- }, {
1072
- key: string;
1073
- type?: "release" | "experiment" | "permission" | "ops" | undefined;
1074
- description?: string | undefined;
1075
- name?: string | undefined;
1076
- settings?: {
1077
- publicName: string;
1078
- publicDescription: string;
1079
- optInEnabled: boolean;
1080
- } | undefined;
1081
- tags?: string[] | undefined;
1082
- variables?: ({
1083
- type: "String" | "Boolean" | "Number" | "JSON";
1084
- key: string;
1085
- description?: string | undefined;
1086
- name?: string | undefined;
1087
- _feature?: string | undefined;
1088
- defaultValue?: any;
1089
- validationSchema?: {
1090
- description: string;
1091
- schemaType: string;
1092
- enumValues?: string[] | undefined;
1093
- regexPattern?: string | undefined;
1094
- jsonSchema?: string | undefined;
1095
- exampleValue?: any;
1096
- } | undefined;
1097
- } | {
1098
- key: string;
1099
- })[] | undefined;
1100
- variations?: {
1101
- name: string;
1102
- key: string;
1103
- _id: string;
1104
- variables?: Record<string, string | number | boolean | unknown[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1105
- }[] | undefined;
1106
- controlVariation?: string | undefined;
1107
- sdkVisibility?: {
1108
- mobile: boolean;
1109
- client: boolean;
1110
- server: boolean;
1111
- } | undefined;
1112
- }>;
1113
- export declare const UpdateFeatureStatusArgsSchema: z.ZodObject<{
1114
- key: z.ZodString;
1115
- status: z.ZodEnum<["active", "complete", "archived"]>;
1116
- staticVariation: z.ZodOptional<z.ZodString>;
1117
- }, "strip", z.ZodTypeAny, {
1118
- status: "active" | "archived" | "complete";
1119
- key: string;
1120
- staticVariation?: string | undefined;
1121
- }, {
1122
- status: "active" | "archived" | "complete";
1123
- key: string;
1124
- staticVariation?: string | undefined;
1125
- }>;
1126
- export declare const UpdateSelfTargetingIdentityArgsSchema: z.ZodObject<{
1127
- dvc_user_id: z.ZodNullable<z.ZodString>;
1128
- }, "strip", z.ZodTypeAny, {
1129
- dvc_user_id: string | null;
1130
- }, {
1131
- dvc_user_id: string | null;
1132
- }>;
1133
- export declare const SetSelfTargetingOverrideArgsSchema: z.ZodObject<{
1134
- feature_key: z.ZodString;
1135
- environment_key: z.ZodString;
1136
- variation_key: z.ZodString;
1137
- }, "strip", z.ZodTypeAny, {
1138
- feature_key: string;
1139
- environment_key: string;
1140
- variation_key: string;
1141
- }, {
1142
- feature_key: string;
1143
- environment_key: string;
1144
- variation_key: string;
1145
- }>;
1146
- export declare const ClearSelfTargetingOverridesArgsSchema: z.ZodObject<{
1147
- feature_key: z.ZodString;
1148
- environment_key: z.ZodString;
1149
- }, "strip", z.ZodTypeAny, {
1150
- feature_key: string;
1151
- environment_key: string;
1152
- }, {
1153
- feature_key: string;
1154
- environment_key: string;
1155
- }>;
1156
- export declare const ListVariationsArgsSchema: z.ZodObject<{
1157
- feature_key: z.ZodString;
1158
- }, "strip", z.ZodTypeAny, {
1159
- feature_key: string;
1160
- }, {
1161
- feature_key: string;
1162
- }>;
1163
- export declare const CreateVariationArgsSchema: z.ZodObject<{
1164
- feature_key: z.ZodString;
1165
- key: z.ZodString;
1166
- name: z.ZodString;
1167
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1168
- }, "strip", z.ZodTypeAny, {
1169
- name: string;
1170
- key: string;
1171
- feature_key: string;
1172
- variables?: Record<string, unknown> | undefined;
1173
- }, {
1174
- name: string;
1175
- key: string;
1176
- feature_key: string;
1177
- variables?: Record<string, unknown> | undefined;
1178
- }>;
1179
- export declare const UpdateVariationArgsSchema: z.ZodObject<{
1180
- feature_key: z.ZodString;
1181
- variation_key: z.ZodString;
1182
- key: z.ZodOptional<z.ZodString>;
1183
- name: z.ZodOptional<z.ZodString>;
1184
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- feature_key: string;
1187
- variation_key: string;
1188
- name?: string | undefined;
1189
- key?: string | undefined;
1190
- variables?: Record<string, string | number | boolean | Record<string, unknown>> | undefined;
1191
- }, {
1192
- feature_key: string;
1193
- variation_key: string;
1194
- name?: string | undefined;
1195
- key?: string | undefined;
1196
- variables?: Record<string, string | number | boolean | Record<string, unknown>> | undefined;
1197
- }>;
1198
- export declare const ListFeatureTargetingArgsSchema: z.ZodObject<{
1199
- feature_key: z.ZodString;
1200
- environment_key: z.ZodOptional<z.ZodString>;
1201
- }, "strip", z.ZodTypeAny, {
1202
- feature_key: string;
1203
- environment_key?: string | undefined;
1204
- }, {
1205
- feature_key: string;
1206
- environment_key?: string | undefined;
1207
- }>;
1208
- export declare const UpdateFeatureTargetingArgsSchema: z.ZodObject<{
1209
- feature_key: z.ZodString;
1210
- environment_key: z.ZodString;
1211
- status: z.ZodOptional<z.ZodEnum<["active", "inactive", "archived"]>>;
1212
- targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1213
- _id: z.ZodOptional<z.ZodString>;
1214
- name: z.ZodOptional<z.ZodString>;
1215
- rollout: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1216
- startPercentage: z.ZodOptional<z.ZodNumber>;
1217
- type: z.ZodEnum<["schedule", "gradual", "stepped"]>;
1218
- startDate: z.ZodString;
1219
- stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1220
- percentage: z.ZodNumber;
1221
- type: z.ZodEnum<["linear", "discrete"]>;
1222
- date: z.ZodString;
1223
- }, "strip", z.ZodTypeAny, {
1224
- type: "linear" | "discrete";
1225
- date: string;
1226
- percentage: number;
1227
- }, {
1228
- type: "linear" | "discrete";
1229
- date: string;
1230
- percentage: number;
1231
- }>, "many">>;
1232
- }, "strip", z.ZodTypeAny, {
1233
- type: "schedule" | "gradual" | "stepped";
1234
- startDate: string;
1235
- startPercentage?: number | undefined;
1236
- stages?: {
1237
- type: "linear" | "discrete";
1238
- date: string;
1239
- percentage: number;
1240
- }[] | undefined;
1241
- }, {
1242
- type: "schedule" | "gradual" | "stepped";
1243
- startDate: string;
1244
- startPercentage?: number | undefined;
1245
- stages?: {
1246
- type: "linear" | "discrete";
1247
- date: string;
1248
- percentage: number;
1249
- }[] | undefined;
1250
- }>>>;
1251
- distribution: z.ZodArray<z.ZodObject<{
1252
- percentage: z.ZodNumber;
1253
- _variation: z.ZodString;
1254
- }, "strip", z.ZodTypeAny, {
1255
- percentage: number;
1256
- _variation: string;
1257
- }, {
1258
- percentage: number;
1259
- _variation: string;
1260
- }>, "many">;
1261
- audience: z.ZodObject<{
1262
- name: z.ZodOptional<z.ZodString>;
1263
- filters: z.ZodObject<{
1264
- filters: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1265
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1266
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1267
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1268
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1269
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1270
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1271
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1272
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1273
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1274
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1275
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1276
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1277
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1278
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1279
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1280
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1281
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1282
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1283
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1284
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1285
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1286
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1287
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1288
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1289
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1290
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1291
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1292
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1293
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1294
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1295
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1296
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1297
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1298
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1299
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1300
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1301
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1302
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1303
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1304
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1305
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1306
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1307
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1308
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1309
- values: z.ZodArray<z.ZodString, "many">;
1310
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1311
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1312
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1313
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1314
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1315
- values: z.ZodArray<z.ZodString, "many">;
1316
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1317
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1318
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1319
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1320
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1321
- values: z.ZodArray<z.ZodString, "many">;
1322
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1323
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1324
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1325
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1326
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1327
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1328
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1329
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1330
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1331
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1332
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1333
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1334
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1335
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1336
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1337
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1338
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1339
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1340
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1341
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1342
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1343
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1344
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1345
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1346
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1347
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1348
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1349
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1350
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1351
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1352
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1353
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1354
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1355
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1356
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1357
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1358
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1359
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1360
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1361
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1362
- dataKey: z.ZodString;
1363
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1364
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1365
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1366
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1367
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1368
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1369
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1370
- dataKey: z.ZodString;
1371
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1372
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1373
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1374
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1375
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1376
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1377
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1378
- dataKey: z.ZodString;
1379
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1380
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1381
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1382
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1383
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1384
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1385
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1386
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1387
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1388
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1389
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1390
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1391
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1392
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1393
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1394
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1395
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1396
- }, z.ZodTypeAny, "passthrough">>]>, "many">;
1397
- operator: z.ZodEnum<["and", "or"]>;
1398
- }, "strip", z.ZodTypeAny, {
1399
- filters: (z.objectOutputType<{
1400
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1401
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1402
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1403
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1404
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1405
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1406
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1407
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1408
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1409
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1410
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1411
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1412
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1413
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1414
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1415
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1416
- values: z.ZodArray<z.ZodString, "many">;
1417
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1418
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1419
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1420
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1421
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1422
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1423
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1424
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1425
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1426
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1427
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1428
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1429
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1430
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1431
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1432
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1433
- dataKey: z.ZodString;
1434
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1435
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1436
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1437
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1438
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1439
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1440
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1441
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1442
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1443
- }, z.ZodTypeAny, "passthrough">)[];
1444
- operator: "and" | "or";
1445
- }, {
1446
- filters: (z.objectInputType<{
1447
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1448
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1449
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1450
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1451
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1452
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1453
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1454
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1455
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1456
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1457
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1458
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1459
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1460
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1461
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1462
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1463
- values: z.ZodArray<z.ZodString, "many">;
1464
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1465
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1466
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1467
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1468
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1469
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1470
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1471
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1472
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1473
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1474
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1475
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1476
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1477
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1478
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1479
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1480
- dataKey: z.ZodString;
1481
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1482
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1483
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1484
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1485
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1486
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1487
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1488
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1489
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1490
- }, z.ZodTypeAny, "passthrough">)[];
1491
- operator: "and" | "or";
1492
- }>;
1493
- }, "strip", z.ZodTypeAny, {
1494
- filters: {
1495
- filters: (z.objectOutputType<{
1496
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1497
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1498
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1499
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1500
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1501
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1502
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1503
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1504
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1505
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1506
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1507
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1508
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1509
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1510
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1511
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1512
- values: z.ZodArray<z.ZodString, "many">;
1513
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1514
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1515
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1516
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1517
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1518
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1519
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1520
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1521
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1522
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1523
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1524
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1525
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1526
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1527
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1528
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1529
- dataKey: z.ZodString;
1530
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1531
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1532
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1533
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1534
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1535
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1536
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1537
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1538
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1539
- }, z.ZodTypeAny, "passthrough">)[];
1540
- operator: "and" | "or";
1541
- };
1542
- name?: string | undefined;
1543
- }, {
1544
- filters: {
1545
- filters: (z.objectInputType<{
1546
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1547
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1548
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1549
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1550
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1551
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1552
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1553
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1554
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1555
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1556
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1557
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1558
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1559
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1560
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1561
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1562
- values: z.ZodArray<z.ZodString, "many">;
1563
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1564
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1565
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1566
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1567
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1568
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1569
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1570
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1571
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1572
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1573
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1574
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1575
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1576
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1577
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1578
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1579
- dataKey: z.ZodString;
1580
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1581
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1582
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1583
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1584
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1585
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1586
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1587
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1588
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1589
- }, z.ZodTypeAny, "passthrough">)[];
1590
- operator: "and" | "or";
1591
- };
1592
- name?: string | undefined;
1593
- }>;
1594
- }, "strip", z.ZodTypeAny, {
1595
- audience: {
1596
- filters: {
1597
- filters: (z.objectOutputType<{
1598
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1599
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1600
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1601
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1602
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1603
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1604
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1605
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1606
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1607
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1608
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1609
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1610
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1611
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1612
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1613
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1614
- values: z.ZodArray<z.ZodString, "many">;
1615
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1616
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1617
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1618
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1619
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1620
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1621
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1622
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1623
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1624
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1625
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1626
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1627
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1628
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1629
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1630
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1631
- dataKey: z.ZodString;
1632
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1633
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1634
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1635
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1636
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1637
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1638
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1639
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1640
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1641
- }, z.ZodTypeAny, "passthrough">)[];
1642
- operator: "and" | "or";
1643
- };
1644
- name?: string | undefined;
1645
- };
1646
- distribution: {
1647
- percentage: number;
1648
- _variation: string;
1649
- }[];
1650
- name?: string | undefined;
1651
- _id?: string | undefined;
1652
- rollout?: {
1653
- type: "schedule" | "gradual" | "stepped";
1654
- startDate: string;
1655
- startPercentage?: number | undefined;
1656
- stages?: {
1657
- type: "linear" | "discrete";
1658
- date: string;
1659
- percentage: number;
1660
- }[] | undefined;
1661
- } | null | undefined;
1662
- }, {
1663
- audience: {
1664
- filters: {
1665
- filters: (z.objectInputType<{
1666
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1667
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1668
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1669
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1670
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1671
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1672
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1673
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1674
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1675
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1676
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1677
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1678
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1679
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1680
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1681
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1682
- values: z.ZodArray<z.ZodString, "many">;
1683
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1684
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1685
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1686
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1687
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1688
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1689
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1690
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1691
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1692
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1693
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1694
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1695
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1696
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1697
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1698
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1699
- dataKey: z.ZodString;
1700
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1701
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1702
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1703
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1704
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1705
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1706
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1707
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1708
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1709
- }, z.ZodTypeAny, "passthrough">)[];
1710
- operator: "and" | "or";
1711
- };
1712
- name?: string | undefined;
1713
- };
1714
- distribution: {
1715
- percentage: number;
1716
- _variation: string;
1717
- }[];
1718
- name?: string | undefined;
1719
- _id?: string | undefined;
1720
- rollout?: {
1721
- type: "schedule" | "gradual" | "stepped";
1722
- startDate: string;
1723
- startPercentage?: number | undefined;
1724
- stages?: {
1725
- type: "linear" | "discrete";
1726
- date: string;
1727
- percentage: number;
1728
- }[] | undefined;
1729
- } | null | undefined;
1730
- }>, "many">>;
1731
- }, "strip", z.ZodTypeAny, {
1732
- feature_key: string;
1733
- environment_key: string;
1734
- status?: "active" | "archived" | "inactive" | undefined;
1735
- targets?: {
1736
- audience: {
1737
- filters: {
1738
- filters: (z.objectOutputType<{
1739
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1740
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1741
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1742
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1743
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1744
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1745
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1746
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1747
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1748
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1749
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1750
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1751
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1752
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1753
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1754
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1755
- values: z.ZodArray<z.ZodString, "many">;
1756
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1757
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1758
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1759
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1760
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1761
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1762
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1763
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1764
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1765
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1766
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1767
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1768
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1769
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1770
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1771
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1772
- dataKey: z.ZodString;
1773
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1774
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1775
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1776
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1777
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1778
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
1779
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1780
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1781
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1782
- }, z.ZodTypeAny, "passthrough">)[];
1783
- operator: "and" | "or";
1784
- };
1785
- name?: string | undefined;
1786
- };
1787
- distribution: {
1788
- percentage: number;
1789
- _variation: string;
1790
- }[];
1791
- name?: string | undefined;
1792
- _id?: string | undefined;
1793
- rollout?: {
1794
- type: "schedule" | "gradual" | "stepped";
1795
- startDate: string;
1796
- startPercentage?: number | undefined;
1797
- stages?: {
1798
- type: "linear" | "discrete";
1799
- date: string;
1800
- percentage: number;
1801
- }[] | undefined;
1802
- } | null | undefined;
1803
- }[] | undefined;
1804
- }, {
1805
- feature_key: string;
1806
- environment_key: string;
1807
- status?: "active" | "archived" | "inactive" | undefined;
1808
- targets?: {
1809
- audience: {
1810
- filters: {
1811
- filters: (z.objectInputType<{
1812
- type: z.ZodDefault<z.ZodLiteral<"all">>;
1813
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1814
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1815
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1816
- type: z.ZodDefault<z.ZodLiteral<"optIn">>;
1817
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1818
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1819
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1820
- subType: z.ZodEnum<["user_id", "email", "platform", "deviceModel"]>;
1821
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1822
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1823
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1824
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1825
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1826
- subType: z.ZodDefault<z.ZodLiteral<"country">>;
1827
- comparator: z.ZodEnum<["=", "!=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1828
- values: z.ZodArray<z.ZodString, "many">;
1829
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1830
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1831
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1832
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1833
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1834
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1835
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1836
- subType: z.ZodDefault<z.ZodLiteral<"appVersion">>;
1837
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1838
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist"]>;
1839
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1840
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1841
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1842
- subType: z.ZodDefault<z.ZodLiteral<"platformVersion">>;
1843
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1844
- comparator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<=", "exist", "!exist", "contain", "!contain", "startWith", "!startWith", "endWith", "!endWith"]>;
1845
- dataKey: z.ZodString;
1846
- dataKeyType: z.ZodEnum<["String", "Boolean", "Number"]>;
1847
- values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">>;
1848
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1849
- type: z.ZodDefault<z.ZodLiteral<"user">>;
1850
- subType: z.ZodDefault<z.ZodLiteral<"customData">>;
1851
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1852
- type: z.ZodDefault<z.ZodLiteral<"audienceMatch">>;
1853
- comparator: z.ZodOptional<z.ZodEnum<["=", "!="]>>;
1854
- _audiences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1855
- }, z.ZodTypeAny, "passthrough">)[];
1856
- operator: "and" | "or";
1857
- };
1858
- name?: string | undefined;
1859
- };
1860
- distribution: {
1861
- percentage: number;
1862
- _variation: string;
1863
- }[];
1864
- name?: string | undefined;
1865
- _id?: string | undefined;
1866
- rollout?: {
1867
- type: "schedule" | "gradual" | "stepped";
1868
- startDate: string;
1869
- startPercentage?: number | undefined;
1870
- stages?: {
1871
- type: "linear" | "discrete";
1872
- date: string;
1873
- percentage: number;
1874
- }[] | undefined;
1875
- } | null | undefined;
1876
- }[] | undefined;
1877
- }>;
1878
- export declare const GetFeatureAuditLogHistoryArgsSchema: z.ZodObject<{
1879
- feature_key: z.ZodString;
1880
- page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1881
- perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1882
- sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt", "action", "user"]>>>;
1883
- sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["asc", "desc"]>>>;
1884
- startDate: z.ZodOptional<z.ZodString>;
1885
- endDate: z.ZodOptional<z.ZodString>;
1886
- environment: z.ZodOptional<z.ZodString>;
1887
- user: z.ZodOptional<z.ZodString>;
1888
- action: z.ZodOptional<z.ZodString>;
1889
- }, "strip", z.ZodTypeAny, {
1890
- feature_key: string;
1891
- page?: number | undefined;
1892
- perPage?: number | undefined;
1893
- sortBy?: "createdAt" | "updatedAt" | "user" | "action" | undefined;
1894
- sortOrder?: "asc" | "desc" | undefined;
1895
- user?: string | undefined;
1896
- startDate?: string | undefined;
1897
- environment?: string | undefined;
1898
- endDate?: string | undefined;
1899
- action?: string | undefined;
1900
- }, {
1901
- feature_key: string;
1902
- page?: number | undefined;
1903
- perPage?: number | undefined;
1904
- sortBy?: "createdAt" | "updatedAt" | "user" | "action" | undefined;
1905
- sortOrder?: "asc" | "desc" | undefined;
1906
- user?: string | undefined;
1907
- startDate?: string | undefined;
1908
- environment?: string | undefined;
1909
- endDate?: string | undefined;
1910
- action?: string | undefined;
1911
- }>;
1912
- export declare const AuditLogEntitySchema: z.ZodObject<{
1913
- date: z.ZodString;
1914
- a0_user: z.ZodString;
1915
- changes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
1916
- }, "strip", z.ZodTypeAny, {
1917
- date: string;
1918
- a0_user: string;
1919
- changes: Record<string, unknown>[];
1920
- }, {
1921
- date: string;
1922
- a0_user: string;
1923
- changes: Record<string, unknown>[];
1924
- }>;
1925
- export declare const GetFeatureTotalEvaluationsArgsSchema: z.ZodObject<z.objectUtil.extendShape<{
1926
- startDate: z.ZodOptional<z.ZodNumber>;
1927
- endDate: z.ZodOptional<z.ZodNumber>;
1928
- environment: z.ZodOptional<z.ZodString>;
1929
- period: z.ZodOptional<z.ZodEnum<["day", "hour", "month"]>>;
1930
- sdkType: z.ZodOptional<z.ZodEnum<["client", "server", "mobile", "api"]>>;
1931
- }, {
1932
- featureKey: z.ZodString;
1933
- platform: z.ZodOptional<z.ZodString>;
1934
- variable: z.ZodOptional<z.ZodString>;
1935
- }>, "strip", z.ZodTypeAny, {
1936
- featureKey: string;
1937
- platform?: string | undefined;
1938
- startDate?: number | undefined;
1939
- environment?: string | undefined;
1940
- endDate?: number | undefined;
1941
- variable?: string | undefined;
1942
- period?: "day" | "hour" | "month" | undefined;
1943
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1944
- }, {
1945
- featureKey: string;
1946
- platform?: string | undefined;
1947
- startDate?: number | undefined;
1948
- environment?: string | undefined;
1949
- endDate?: number | undefined;
1950
- variable?: string | undefined;
1951
- period?: "day" | "hour" | "month" | undefined;
1952
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1953
- }>;
1954
- export declare const GetProjectTotalEvaluationsArgsSchema: z.ZodObject<{
1955
- startDate: z.ZodOptional<z.ZodNumber>;
1956
- endDate: z.ZodOptional<z.ZodNumber>;
1957
- environment: z.ZodOptional<z.ZodString>;
1958
- period: z.ZodOptional<z.ZodEnum<["day", "hour", "month"]>>;
1959
- sdkType: z.ZodOptional<z.ZodEnum<["client", "server", "mobile", "api"]>>;
1960
- }, "strip", z.ZodTypeAny, {
1961
- startDate?: number | undefined;
1962
- environment?: string | undefined;
1963
- endDate?: number | undefined;
1964
- period?: "day" | "hour" | "month" | undefined;
1965
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1966
- }, {
1967
- startDate?: number | undefined;
1968
- environment?: string | undefined;
1969
- endDate?: number | undefined;
1970
- period?: "day" | "hour" | "month" | undefined;
1971
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1972
- }>;
1973
- export declare const FeatureTotalEvaluationsQuerySchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
1974
- startDate: z.ZodOptional<z.ZodNumber>;
1975
- endDate: z.ZodOptional<z.ZodNumber>;
1976
- environment: z.ZodOptional<z.ZodString>;
1977
- period: z.ZodOptional<z.ZodEnum<["day", "hour", "month"]>>;
1978
- sdkType: z.ZodOptional<z.ZodEnum<["client", "server", "mobile", "api"]>>;
1979
- }, {
1980
- featureKey: z.ZodString;
1981
- platform: z.ZodOptional<z.ZodString>;
1982
- variable: z.ZodOptional<z.ZodString>;
1983
- }>, "featureKey">, "strip", z.ZodTypeAny, {
1984
- platform?: string | undefined;
1985
- startDate?: number | undefined;
1986
- environment?: string | undefined;
1987
- endDate?: number | undefined;
1988
- variable?: string | undefined;
1989
- period?: "day" | "hour" | "month" | undefined;
1990
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1991
- }, {
1992
- platform?: string | undefined;
1993
- startDate?: number | undefined;
1994
- environment?: string | undefined;
1995
- endDate?: number | undefined;
1996
- variable?: string | undefined;
1997
- period?: "day" | "hour" | "month" | undefined;
1998
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
1999
- }>;
2000
- export declare const ProjectTotalEvaluationsQuerySchema: z.ZodObject<{
2001
- startDate: z.ZodOptional<z.ZodNumber>;
2002
- endDate: z.ZodOptional<z.ZodNumber>;
2003
- environment: z.ZodOptional<z.ZodString>;
2004
- period: z.ZodOptional<z.ZodEnum<["day", "hour", "month"]>>;
2005
- sdkType: z.ZodOptional<z.ZodEnum<["client", "server", "mobile", "api"]>>;
2006
- }, "strip", z.ZodTypeAny, {
2007
- startDate?: number | undefined;
2008
- environment?: string | undefined;
2009
- endDate?: number | undefined;
2010
- period?: "day" | "hour" | "month" | undefined;
2011
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
2012
- }, {
2013
- startDate?: number | undefined;
2014
- environment?: string | undefined;
2015
- endDate?: number | undefined;
2016
- period?: "day" | "hour" | "month" | undefined;
2017
- sdkType?: "mobile" | "client" | "server" | "api" | undefined;
2018
- }>;
2019
- export declare const ListCustomPropertiesArgsSchema: z.ZodObject<{
2020
- page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2021
- perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2022
- sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt", "name", "key", "createdBy", "propertyKey"]>>>;
2023
- sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["asc", "desc"]>>>;
2024
- search: z.ZodOptional<z.ZodString>;
2025
- createdBy: z.ZodOptional<z.ZodString>;
2026
- }, "strip", z.ZodTypeAny, {
2027
- page?: number | undefined;
2028
- perPage?: number | undefined;
2029
- createdBy?: string | undefined;
2030
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
2031
- sortOrder?: "asc" | "desc" | undefined;
2032
- search?: string | undefined;
2033
- }, {
2034
- page?: number | undefined;
2035
- perPage?: number | undefined;
2036
- createdBy?: string | undefined;
2037
- sortBy?: "createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey" | undefined;
2038
- sortOrder?: "asc" | "desc" | undefined;
2039
- search?: string | undefined;
2040
- }>;
2041
- export declare const UpsertCustomPropertyArgsSchema: z.ZodObject<{
2042
- name: z.ZodString;
2043
- key: z.ZodString;
2044
- type: z.ZodEnum<["String", "Boolean", "Number"]>;
2045
- propertyKey: z.ZodString;
2046
- }, "strip", z.ZodTypeAny, {
2047
- type: "String" | "Boolean" | "Number";
2048
- name: string;
2049
- key: string;
2050
- propertyKey: string;
2051
- }, {
2052
- type: "String" | "Boolean" | "Number";
2053
- name: string;
2054
- key: string;
2055
- propertyKey: string;
2056
- }>;
2057
- export declare const UpdateCustomPropertyArgsSchema: z.ZodObject<{
2058
- key: z.ZodString;
2059
- name: z.ZodOptional<z.ZodString>;
2060
- propertyKey: z.ZodOptional<z.ZodString>;
2061
- type: z.ZodOptional<z.ZodEnum<["String", "Boolean", "Number"]>>;
2062
- }, "strip", z.ZodTypeAny, {
2063
- key: string;
2064
- type?: "String" | "Boolean" | "Number" | undefined;
2065
- name?: string | undefined;
2066
- propertyKey?: string | undefined;
2067
- }, {
2068
- key: string;
2069
- type?: "String" | "Boolean" | "Number" | undefined;
2070
- name?: string | undefined;
2071
- propertyKey?: string | undefined;
2072
- }>;
2073
- export declare const DeleteCustomPropertyArgsSchema: z.ZodObject<{
2074
- key: z.ZodString;
2075
- }, "strip", z.ZodTypeAny, {
2076
- key: string;
2077
- }, {
2078
- key: string;
2079
- }>;
2080
- //# sourceMappingURL=types.d.ts.map