@tailor-platform/sdk 2.0.0-next.1 → 2.0.0-next.11

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 (478) hide show
  1. package/CHANGELOG.md +1056 -24
  2. package/README.md +9 -9
  3. package/agent-skills/{tailor-sdk → tailor}/SKILL.md +3 -1
  4. package/dist/aigateway-DR4Kwuik.mjs +9 -0
  5. package/dist/aigateway-DR4Kwuik.mjs.map +1 -0
  6. package/dist/{application-DqS1yBg3.mjs → application-CM6hKnSK.mjs} +2155 -2008
  7. package/dist/application-CM6hKnSK.mjs.map +1 -0
  8. package/dist/application-CXNaUNhv.mjs +3 -0
  9. package/dist/authconnection-CZvi9ANm.mjs +9 -0
  10. package/dist/authconnection-CZvi9ANm.mjs.map +1 -0
  11. package/dist/brand-Eo4pLXPJ.mjs.map +1 -1
  12. package/dist/cli/cache/bundle-cache.d.mts +2 -0
  13. package/dist/cli/cache/store.d.mts +1 -0
  14. package/dist/cli/cache/types.d.mts +1 -0
  15. package/dist/cli/commands/api/api-call.d.mts +19 -0
  16. package/dist/cli/commands/api/index.d.mts +4 -0
  17. package/dist/cli/commands/deploy/aigateway.d.mts +5 -0
  18. package/dist/cli/commands/deploy/application.d.mts +7 -0
  19. package/dist/cli/commands/deploy/apply-phases.d.mts +14 -0
  20. package/dist/cli/commands/deploy/auth.d.mts +5 -0
  21. package/dist/cli/commands/deploy/deploy.d.mts +35 -0
  22. package/dist/cli/commands/deploy/executor.d.mts +7 -0
  23. package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
  24. package/dist/cli/commands/deploy/function-registry.d.mts +6 -0
  25. package/dist/cli/commands/deploy/idp.d.mts +5 -0
  26. package/dist/cli/commands/deploy/label.d.mts +2 -0
  27. package/dist/cli/commands/deploy/resolver.d.mts +5 -0
  28. package/dist/cli/commands/deploy/secret-manager.d.mts +5 -0
  29. package/dist/cli/commands/deploy/staticwebsite.d.mts +5 -0
  30. package/dist/cli/commands/deploy/tailordb/index.d.mts +10 -0
  31. package/dist/cli/commands/deploy/types.d.mts +4 -0
  32. package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -0
  33. package/dist/cli/commands/deploy/workflow.d.mts +4 -0
  34. package/dist/cli/commands/executor/get.d.mts +19 -0
  35. package/dist/cli/commands/executor/jobs.d.mts +85 -0
  36. package/dist/cli/commands/executor/list.d.mts +18 -0
  37. package/dist/cli/commands/executor/transform.d.mts +42 -0
  38. package/dist/cli/commands/executor/trigger.d.mts +30 -0
  39. package/dist/cli/commands/executor/webhook.d.mts +21 -0
  40. package/dist/cli/commands/function/get.d.mts +17 -0
  41. package/dist/cli/commands/function/list.d.mts +21 -0
  42. package/dist/cli/commands/function/transform.d.mts +12 -0
  43. package/dist/cli/commands/generate/options.d.mts +6 -0
  44. package/dist/cli/commands/generate/seed/bundler.d.mts +27 -0
  45. package/dist/cli/commands/generate/service.d.mts +15 -0
  46. package/dist/cli/commands/machineuser/list.d.mts +26 -0
  47. package/dist/cli/commands/machineuser/token.d.mts +21 -0
  48. package/dist/cli/commands/oauth2client/get.d.mts +17 -0
  49. package/dist/cli/commands/oauth2client/list.d.mts +19 -0
  50. package/dist/cli/commands/oauth2client/transform.d.mts +21 -0
  51. package/dist/cli/commands/organization/folder/create.d.mts +17 -0
  52. package/dist/cli/commands/organization/folder/delete.d.mts +15 -0
  53. package/dist/cli/commands/organization/folder/get.d.mts +16 -0
  54. package/dist/cli/commands/organization/folder/list.d.mts +21 -0
  55. package/dist/cli/commands/organization/folder/update.d.mts +17 -0
  56. package/dist/cli/commands/organization/get.d.mts +15 -0
  57. package/dist/cli/commands/organization/list.d.mts +14 -0
  58. package/dist/cli/commands/organization/transform.d.mts +29 -0
  59. package/dist/cli/commands/organization/tree.d.mts +24 -0
  60. package/dist/cli/commands/organization/update.d.mts +16 -0
  61. package/dist/cli/commands/remove.d.mts +15 -0
  62. package/dist/cli/commands/show.d.mts +39 -0
  63. package/dist/cli/commands/staticwebsite/deploy.d.mts +19 -0
  64. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +29 -0
  65. package/dist/cli/commands/tailordb/migrate/config.d.mts +18 -0
  66. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +246 -0
  67. package/dist/cli/commands/tailordb/migrate/generate.d.mts +16 -0
  68. package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +5 -0
  69. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +208 -0
  70. package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +98 -0
  71. package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
  72. package/dist/cli/commands/tailordb/truncate.d.mts +18 -0
  73. package/dist/cli/commands/workflow/executions.d.mts +62 -0
  74. package/dist/cli/commands/workflow/get.d.mts +21 -0
  75. package/dist/cli/commands/workflow/list.d.mts +18 -0
  76. package/dist/cli/commands/workflow/resume.d.mts +22 -0
  77. package/dist/cli/commands/workflow/start.d.mts +48 -0
  78. package/dist/cli/commands/workflow/status.d.mts +6 -0
  79. package/dist/cli/commands/workflow/transform.d.mts +34 -0
  80. package/dist/cli/commands/workflow/wait.d.mts +15 -0
  81. package/dist/cli/commands/workflow/waiter.d.mts +23 -0
  82. package/dist/cli/commands/workspace/app/health.d.mts +17 -0
  83. package/dist/cli/commands/workspace/app/list.d.mts +21 -0
  84. package/dist/cli/commands/workspace/app/transform.d.mts +20 -0
  85. package/dist/cli/commands/workspace/create.d.mts +27 -0
  86. package/dist/cli/commands/workspace/delete.d.mts +14 -0
  87. package/dist/cli/commands/workspace/get.d.mts +16 -0
  88. package/dist/cli/commands/workspace/list.d.mts +17 -0
  89. package/dist/cli/commands/workspace/restore.d.mts +14 -0
  90. package/dist/cli/commands/workspace/transform.d.mts +20 -0
  91. package/dist/cli/commands/workspace/user/invite.d.mts +21 -0
  92. package/dist/cli/commands/workspace/user/list.d.mts +21 -0
  93. package/dist/cli/commands/workspace/user/remove.d.mts +16 -0
  94. package/dist/cli/commands/workspace/user/transform.d.mts +9 -0
  95. package/dist/cli/commands/workspace/user/update.d.mts +21 -0
  96. package/dist/cli/index.mjs +12 -5481
  97. package/dist/cli/lib.d.mts +86 -21048
  98. package/dist/cli/lib.mjs +245 -46
  99. package/dist/cli/lib.mjs.map +1 -1
  100. package/dist/cli/main.d.mts +23 -0
  101. package/dist/cli/main.mjs +6777 -0
  102. package/dist/cli/main.mjs.map +1 -0
  103. package/dist/cli/query/index.d.mts +38 -0
  104. package/dist/cli/services/application.d.mts +12 -0
  105. package/dist/cli/services/auth/service.d.mts +3 -0
  106. package/dist/cli/services/executor/service.d.mts +1 -0
  107. package/dist/cli/services/http-adapter/bundler.d.mts +4 -0
  108. package/dist/cli/services/http-adapter/service.d.mts +2 -0
  109. package/dist/cli/services/resolver/service.d.mts +1 -0
  110. package/dist/cli/services/tailordb/service.d.mts +3 -0
  111. package/dist/cli/services/workflow/bundler.d.mts +3 -0
  112. package/dist/cli/services/workflow/service.d.mts +1 -0
  113. package/dist/cli/shared/args.d.mts +13 -0
  114. package/dist/cli/shared/client.d.mts +1298 -0
  115. package/dist/cli/shared/config-loader.d.mts +32 -0
  116. package/dist/cli/shared/context.d.mts +29 -0
  117. package/dist/cli/shared/error-json.d.mts +23 -0
  118. package/dist/cli/shared/readonly-guard.d.mts +25 -0
  119. package/dist/cli/shared/script-executor.d.mts +77 -0
  120. package/dist/cli/shared/seed-chunker.d.mts +45 -0
  121. package/dist/cli/shared/seed-context.d.mts +49 -0
  122. package/dist/cli/shared/tailordb-namespaces.d.mts +40 -0
  123. package/dist/cli/shared/tsconfig-paths-plugin.d.mts +2 -0
  124. package/dist/cli/shared/type-generator.d.mts +20 -0
  125. package/dist/cli/shared/workspace-name.d.mts +1 -0
  126. package/dist/cli/ts-hook.d.mts +4 -0
  127. package/dist/cli/ts-hook.mjs +333 -0
  128. package/dist/completion/zsh-worker.zsh +1471 -1217
  129. package/dist/configure/config/index.d.mts +20 -0
  130. package/dist/configure/config/types.d.mts +134 -0
  131. package/dist/configure/index.d.mts +135 -8
  132. package/dist/configure/index.mjs +558 -36
  133. package/dist/configure/index.mjs.map +1 -1
  134. package/dist/configure/services/aigateway/index.d.mts +16 -0
  135. package/dist/configure/services/aigateway/types.d.mts +10 -0
  136. package/dist/configure/services/auth/index.d.mts +33 -0
  137. package/dist/configure/services/auth/types.d.mts +168 -0
  138. package/dist/configure/services/executor/executor.d.mts +70 -0
  139. package/dist/configure/services/executor/index.d.mts +9 -0
  140. package/dist/configure/services/executor/operation.d.mts +50 -0
  141. package/dist/configure/services/executor/trigger/event.d.mts +514 -0
  142. package/dist/configure/services/executor/trigger/index.d.mts +7 -0
  143. package/dist/configure/services/executor/trigger/schedule.d.mts +24 -0
  144. package/dist/configure/services/executor/trigger/webhook.d.mts +43 -0
  145. package/dist/configure/services/executor/types.d.mts +2 -0
  146. package/dist/configure/services/http-adapter/http-adapter.d.mts +124 -0
  147. package/dist/configure/services/http-adapter/index.d.mts +2 -0
  148. package/dist/configure/services/idp/index.d.mts +60 -0
  149. package/dist/configure/services/idp/permission.d.mts +64 -0
  150. package/dist/configure/services/idp/types.d.mts +23 -0
  151. package/dist/configure/services/index.d.mts +40 -0
  152. package/dist/configure/services/resolver/index.d.mts +6 -0
  153. package/dist/configure/services/resolver/permission.d.mts +64 -0
  154. package/dist/configure/services/resolver/resolver.d.mts +88 -0
  155. package/dist/configure/services/resolver/types.d.mts +5 -0
  156. package/dist/configure/services/secrets/index.d.mts +37 -0
  157. package/dist/configure/services/secrets/types.d.mts +10 -0
  158. package/dist/configure/services/staticwebsite/index.d.mts +18 -0
  159. package/dist/configure/services/staticwebsite/types.d.mts +10 -0
  160. package/dist/configure/services/tailordb/index.d.mts +3 -0
  161. package/dist/configure/services/tailordb/permission.d.mts +103 -0
  162. package/dist/configure/services/tailordb/schema.d.mts +486 -0
  163. package/dist/configure/services/tailordb/types.d.mts +198 -0
  164. package/dist/configure/services/workflow/execution-policy.d.mts +70 -0
  165. package/dist/configure/services/workflow/execution-policy.types.d.mts +103 -0
  166. package/dist/configure/services/workflow/index.d.mts +9 -0
  167. package/dist/configure/services/workflow/job.d.mts +92 -0
  168. package/dist/configure/services/workflow/types.d.mts +2 -0
  169. package/dist/configure/services/workflow/wait-point.d.mts +72 -0
  170. package/dist/configure/services/workflow/workflow.d.mts +66 -0
  171. package/dist/configure/types/aigateway-name.d.mts +12 -0
  172. package/dist/configure/types/connection-name.d.mts +12 -0
  173. package/dist/configure/types/field.d.mts +8 -0
  174. package/dist/configure/types/field.types.d.mts +70 -0
  175. package/dist/configure/types/idp-name.d.mts +12 -0
  176. package/dist/configure/types/index.d.mts +5 -0
  177. package/dist/configure/types/machine-user.d.mts +2 -0
  178. package/dist/configure/types/permission-operand.types.d.mts +20 -0
  179. package/dist/configure/types/type.d.mts +73 -0
  180. package/dist/{context-Bd266-ru.mjs → context-DYQVYWqZ.mjs} +4 -5
  181. package/dist/context-DYQVYWqZ.mjs.map +1 -0
  182. package/dist/{crashreport-BsjAkFWw.mjs → crashreport-B5LqCTfF.mjs} +10 -11
  183. package/dist/{crashreport-BsjAkFWw.mjs.map → crashreport-B5LqCTfF.mjs.map} +1 -1
  184. package/dist/{crashreport-pr6Rhvza.mjs → crashreport-eI7ty7ok.mjs} +1 -1
  185. package/dist/{errors-Dtf2WPaW.mjs → errors-D7583Zz7.mjs} +18 -2
  186. package/dist/errors-D7583Zz7.mjs.map +1 -0
  187. package/dist/{file-_oUZo76X.mjs → file-BUcmVIH2.mjs} +12 -22
  188. package/dist/file-BUcmVIH2.mjs.map +1 -0
  189. package/dist/{globals-Crz8o65k.mjs → globals-TfAVItuK.mjs} +32 -55
  190. package/dist/globals-TfAVItuK.mjs.map +1 -0
  191. package/dist/iconv-QWaZh0TT.mjs +38 -0
  192. package/dist/iconv-QWaZh0TT.mjs.map +1 -0
  193. package/dist/{idp-BDbK5gjm.mjs → idp-RA_swu-h.mjs} +12 -5
  194. package/dist/idp-RA_swu-h.mjs.map +1 -0
  195. package/dist/{interceptor-D-q1rvRl.mjs → interceptor-e33JtsC-.mjs} +2 -2
  196. package/dist/interceptor-e33JtsC-.mjs.map +1 -0
  197. package/dist/kysely/index.d.mts +5 -7
  198. package/dist/logger-BtX0suGY.mjs +48 -0
  199. package/dist/logger-BtX0suGY.mjs.map +1 -0
  200. package/dist/logger-CXQq9YIp.mjs +317 -0
  201. package/dist/logger-CXQq9YIp.mjs.map +1 -0
  202. package/dist/node-builtins-CmaL2Cbq.mjs +36 -0
  203. package/dist/node-builtins-CmaL2Cbq.mjs.map +1 -0
  204. package/dist/parser/service/auth/index.d.mts +1 -0
  205. package/dist/parser/service/auth/schema.d.mts +3 -0
  206. package/dist/parser/service/http-adapter/index.d.mts +1 -0
  207. package/dist/parser/service/http-adapter/schema.d.mts +1 -0
  208. package/dist/parser/service/idp/types.d.mts +5 -0
  209. package/dist/parser/service/tailordb/type-source.d.mts +10 -0
  210. package/dist/parser/service/tailordb/types.d.mts +131 -0
  211. package/dist/platform-serialize-RoRtBS0v.mjs +46 -0
  212. package/dist/platform-serialize-RoRtBS0v.mjs.map +1 -0
  213. package/dist/plugin/builtin/enum-constants/index.d.mts +15 -1
  214. package/dist/plugin/builtin/enum-constants/index.mjs +115 -2
  215. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -0
  216. package/dist/plugin/builtin/file-utils/index.d.mts +15 -1
  217. package/dist/plugin/builtin/file-utils/index.mjs +149 -2
  218. package/dist/plugin/builtin/file-utils/index.mjs.map +1 -0
  219. package/dist/plugin/builtin/kysely-type/index.d.mts +15 -1
  220. package/dist/plugin/builtin/kysely-type/index.mjs +274 -2
  221. package/dist/plugin/builtin/kysely-type/index.mjs.map +1 -0
  222. package/dist/plugin/builtin/seed/index.d.mts +46 -2
  223. package/dist/plugin/builtin/seed/index.mjs +1 -1
  224. package/dist/plugin/builtin/seed/seed-type-processor.d.mts +21 -0
  225. package/dist/plugin/builtin/seed/types.d.mts +2 -0
  226. package/dist/plugin/get-generated-type.d.mts +16 -0
  227. package/dist/plugin/index.d.mts +3 -117
  228. package/dist/plugin/index.mjs +1 -1
  229. package/dist/plugin/index.mjs.map +1 -1
  230. package/dist/plugin/manager.d.mts +2 -0
  231. package/dist/plugin/types.d.mts +242 -0
  232. package/dist/plugin/with-context.d.mts +101 -0
  233. package/dist/{runtime-n9NCkjee.mjs → register-ts-hook-LYV7zH-e.mjs} +9652 -4479
  234. package/dist/register-ts-hook-LYV7zH-e.mjs.map +1 -0
  235. package/dist/{registry-DdsYlL_P.mjs → registry-BIGVUrMB.mjs} +12 -9
  236. package/dist/registry-BIGVUrMB.mjs.map +1 -0
  237. package/dist/{repl-editor-DmGr9zMw.mjs → repl-editor-BCozyiNq.mjs} +6 -5
  238. package/dist/{repl-editor-DmGr9zMw.mjs.map → repl-editor-BCozyiNq.mjs.map} +1 -1
  239. package/dist/runtime/aigateway.d.mts +25 -0
  240. package/dist/runtime/aigateway.mjs +3 -0
  241. package/dist/runtime/authconnection.d.mts +21 -2
  242. package/dist/runtime/authconnection.mjs +2 -2
  243. package/dist/runtime/context.d.mts +54 -2
  244. package/dist/runtime/context.mjs +2 -2
  245. package/dist/runtime/field-parse.d.mts +10 -0
  246. package/dist/runtime/file.d.mts +170 -2
  247. package/dist/runtime/file.mjs +2 -2
  248. package/dist/runtime/globals.d.mts +38 -20
  249. package/dist/runtime/iconv.d.mts +73 -2
  250. package/dist/runtime/iconv.mjs +2 -2
  251. package/dist/runtime/idp.d.mts +129 -2
  252. package/dist/runtime/idp.mjs +2 -2
  253. package/dist/runtime/index.d.mts +48 -9
  254. package/dist/runtime/index.mjs +10 -8
  255. package/dist/runtime/logger.d.mts +98 -0
  256. package/dist/runtime/logger.mjs +3 -0
  257. package/dist/runtime/secretmanager.d.mts +41 -2
  258. package/dist/runtime/secretmanager.mjs +2 -2
  259. package/dist/runtime/types.d.mts +25 -0
  260. package/dist/runtime/workflow.d.mts +106 -2
  261. package/dist/runtime/workflow.mjs +2 -2
  262. package/dist/{schema-BhkpP5Hw.mjs → schema--xYWRGfe.mjs} +288 -229
  263. package/dist/schema--xYWRGfe.mjs.map +1 -0
  264. package/dist/{secret-file-DBqZhjFQ.mjs → secret-file-C3J4Gy8r.mjs} +2 -2
  265. package/dist/{secret-file-DBqZhjFQ.mjs.map → secret-file-C3J4Gy8r.mjs.map} +1 -1
  266. package/dist/secretmanager-CYlpffsz.mjs +13 -0
  267. package/dist/secretmanager-CYlpffsz.mjs.map +1 -0
  268. package/dist/secretmanager-IY4UvinW.mjs +131 -0
  269. package/dist/secretmanager-IY4UvinW.mjs.map +1 -0
  270. package/dist/seed/index.d.mts +4 -4
  271. package/dist/seed-B-yckgQY.mjs +483 -0
  272. package/dist/seed-B-yckgQY.mjs.map +1 -0
  273. package/dist/{service-DU1mVzri.mjs → service-B5WynBHQ.mjs} +3 -3
  274. package/dist/{service-DU1mVzri.mjs.map → service-B5WynBHQ.mjs.map} +1 -1
  275. package/dist/service-M7OYziQP.mjs +3 -0
  276. package/dist/service-k1xy_A5G.mjs +864 -0
  277. package/dist/service-k1xy_A5G.mjs.map +1 -0
  278. package/dist/service_pb-D5--My_M.mjs +167 -0
  279. package/dist/service_pb-D5--My_M.mjs.map +1 -0
  280. package/dist/service_pb-i8CmnQP4.mjs +3 -0
  281. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +203 -0
  282. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +57 -0
  283. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +420 -0
  284. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +160 -0
  285. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2069 -0
  286. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +865 -0
  287. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +111 -0
  288. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +68 -0
  289. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +438 -0
  290. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +586 -0
  291. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +192 -0
  292. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +450 -0
  293. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +191 -0
  294. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +49 -0
  295. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +406 -0
  296. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +429 -0
  297. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +72 -0
  298. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +16 -0
  299. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +308 -0
  300. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +590 -0
  301. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +329 -0
  302. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +112 -0
  303. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +345 -0
  304. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +53 -0
  305. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3658 -0
  306. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +186 -0
  307. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +28 -0
  308. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +428 -0
  309. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +89 -0
  310. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +683 -0
  311. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +796 -0
  312. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +329 -0
  313. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +207 -0
  314. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +961 -0
  315. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +330 -0
  316. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2014 -0
  317. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +482 -0
  318. package/dist/{telemetry-CdqJEzkj.mjs → telemetry-BRVdwh14.mjs} +3 -3
  319. package/dist/telemetry-BRVdwh14.mjs.map +1 -0
  320. package/dist/telemetry-CkbkeJxl.mjs +3 -0
  321. package/dist/test-env-key-D7UkZp99.mjs +75 -0
  322. package/dist/test-env-key-D7UkZp99.mjs.map +1 -0
  323. package/dist/types/aigateway.generated.d.mts +12 -0
  324. package/dist/types/app-config.generated.d.mts +4 -0
  325. package/dist/types/auth-connection.generated.d.mts +33 -0
  326. package/dist/types/auth.generated.d.mts +188 -0
  327. package/dist/types/executor.generated.d.mts +229 -0
  328. package/dist/types/helpers.d.mts +40 -0
  329. package/dist/types/http-adapter.generated.d.mts +28 -0
  330. package/dist/types/idp.generated.d.mts +626 -0
  331. package/dist/types/resolver.generated.d.mts +82 -0
  332. package/dist/types/secrets.generated.d.mts +14 -0
  333. package/dist/types/staticwebsite.generated.d.mts +14 -0
  334. package/dist/types/tailordb.generated.d.mts +468 -0
  335. package/dist/types/workflow.generated.d.mts +17 -0
  336. package/dist/user-agent-Bgsszb5I.mjs +28 -0
  337. package/dist/user-agent-Bgsszb5I.mjs.map +1 -0
  338. package/dist/utils/test/index.d.mts +5 -100
  339. package/dist/utils/test/index.mjs +38 -189
  340. package/dist/utils/test/index.mjs.map +1 -1
  341. package/dist/vitest/environment.d.mts +1 -2
  342. package/dist/vitest/environment.mjs +2 -2
  343. package/dist/vitest/environment.mjs.map +1 -1
  344. package/dist/vitest/index.d.mts +17 -431
  345. package/dist/vitest/index.mjs +1234 -67
  346. package/dist/vitest/index.mjs.map +1 -1
  347. package/dist/vitest/mock-kysely.d.mts +61 -0
  348. package/dist/vitest/mock.d.mts +10 -0
  349. package/dist/vitest/mocks/aigateway.d.mts +40 -0
  350. package/dist/vitest/mocks/authconnection.d.mts +38 -0
  351. package/dist/vitest/mocks/file.d.mts +58 -0
  352. package/dist/vitest/mocks/iconv.d.mts +51 -0
  353. package/dist/vitest/mocks/idp.d.mts +60 -0
  354. package/dist/vitest/mocks/logger.d.mts +45 -0
  355. package/dist/vitest/mocks/secretmanager.d.mts +44 -0
  356. package/dist/vitest/mocks/tailordb.d.mts +115 -0
  357. package/dist/vitest/mocks/workflow.d.mts +148 -0
  358. package/dist/vitest/setup.d.mts +1 -2
  359. package/dist/vitest/setup.mjs +2 -2
  360. package/dist/vitest/workflow-local.d.mts +41 -0
  361. package/dist/workflow-Bamae_Yc.mjs +34 -0
  362. package/dist/workflow-Bamae_Yc.mjs.map +1 -0
  363. package/dist/{client-z_oHGVNy.mjs → workspace_resource_pb-DXnO2AT-.mjs} +57 -621
  364. package/dist/workspace_resource_pb-DXnO2AT-.mjs.map +1 -0
  365. package/docs/cli/application.md +150 -250
  366. package/docs/cli/auth.md +51 -295
  367. package/docs/cli/completion.md +1 -25
  368. package/docs/cli/crashreport.md +3 -61
  369. package/docs/cli/executor.md +72 -183
  370. package/docs/cli/function.md +16 -132
  371. package/docs/cli/organization.md +11 -221
  372. package/docs/cli/plugin.md +29 -0
  373. package/docs/cli/query.md +2 -22
  374. package/docs/cli/secret.md +71 -251
  375. package/docs/cli/setup.md +138 -40
  376. package/docs/cli/skills.md +50 -39
  377. package/docs/cli/staticwebsite.md +32 -180
  378. package/docs/cli/tailordb.md +89 -413
  379. package/docs/cli/upgrade.md +2 -22
  380. package/docs/cli/user.md +78 -247
  381. package/docs/cli/workflow.md +150 -172
  382. package/docs/cli/workspace.md +167 -538
  383. package/docs/cli-reference.md +214 -96
  384. package/docs/configuration.md +90 -6
  385. package/docs/github-actions.md +72 -24
  386. package/docs/migration/v2.md +1613 -0
  387. package/docs/multi-environment.md +29 -7
  388. package/docs/plugin/custom.md +4 -4
  389. package/docs/plugin/index.md +8 -8
  390. package/docs/quickstart.md +8 -7
  391. package/docs/runtime.md +18 -9
  392. package/docs/services/aigateway.md +20 -2
  393. package/docs/services/auth.md +51 -59
  394. package/docs/services/executor.md +91 -6
  395. package/docs/services/http-adapter.md +16 -1
  396. package/docs/services/idp.md +62 -7
  397. package/docs/services/resolver.md +67 -11
  398. package/docs/services/secret.md +11 -11
  399. package/docs/services/staticwebsite.md +8 -2
  400. package/docs/services/tailordb-migration.md +55 -29
  401. package/docs/services/tailordb.md +205 -102
  402. package/docs/services/workflow.md +163 -55
  403. package/docs/testing.md +244 -143
  404. package/package.json +61 -46
  405. package/postinstall.mjs +4 -6
  406. package/dist/application-DB2r36Et.mjs +0 -3
  407. package/dist/application-DqS1yBg3.mjs.map +0 -1
  408. package/dist/authconnection-D2MhtTN5.mjs +0 -15
  409. package/dist/authconnection-D2MhtTN5.mjs.map +0 -1
  410. package/dist/authconnection-DvUQAjQS.d.mts +0 -39
  411. package/dist/cli/erd-viewer-assets/app.js +0 -1181
  412. package/dist/cli/erd-viewer-assets/index.html +0 -73
  413. package/dist/cli/erd-viewer-assets/serve.json +0 -13
  414. package/dist/cli/erd-viewer-assets/styles.css +0 -789
  415. package/dist/cli/index.d.mts +0 -5
  416. package/dist/cli/index.mjs.map +0 -1
  417. package/dist/client-Dbohmtkv.mjs +0 -3
  418. package/dist/client-z_oHGVNy.mjs.map +0 -1
  419. package/dist/context-Bd266-ru.mjs.map +0 -1
  420. package/dist/context-BuuIb8CC.d.mts +0 -68
  421. package/dist/enum-constants-j9QBF0cB.mjs +0 -116
  422. package/dist/enum-constants-j9QBF0cB.mjs.map +0 -1
  423. package/dist/errors-Dtf2WPaW.mjs.map +0 -1
  424. package/dist/field-DOsJCPFa.mjs +0 -22
  425. package/dist/field-DOsJCPFa.mjs.map +0 -1
  426. package/dist/file-BB8Vs9O_.d.mts +0 -250
  427. package/dist/file-_oUZo76X.mjs.map +0 -1
  428. package/dist/file-utils-DcyIPFQh.mjs +0 -150
  429. package/dist/file-utils-DcyIPFQh.mjs.map +0 -1
  430. package/dist/globals-Crz8o65k.mjs.map +0 -1
  431. package/dist/http-adapter.generated-WgMnb7Sb.d.mts +0 -580
  432. package/dist/iconv-Co-TOPuH.d.mts +0 -122
  433. package/dist/iconv-D2vi8G36.mjs +0 -63
  434. package/dist/iconv-D2vi8G36.mjs.map +0 -1
  435. package/dist/idp-BDbK5gjm.mjs.map +0 -1
  436. package/dist/idp-DrhVrLmV.d.mts +0 -160
  437. package/dist/index-5vPyRu1y.d.mts +0 -18
  438. package/dist/index-B7AKc18V.d.mts +0 -47
  439. package/dist/index-BlpzXncY.d.mts +0 -1016
  440. package/dist/index-CK7u9isy.d.mts +0 -46
  441. package/dist/index-CNYe5lnW.d.mts +0 -18
  442. package/dist/index-DjUdWlzf.d.mts +0 -18
  443. package/dist/index-ZePLwxw7.d.mts +0 -208
  444. package/dist/interceptor-D-q1rvRl.mjs.map +0 -1
  445. package/dist/job-fuc3j1Ma.mjs +0 -53
  446. package/dist/job-fuc3j1Ma.mjs.map +0 -1
  447. package/dist/kysely-type-DR8uzZTA.mjs +0 -274
  448. package/dist/kysely-type-DR8uzZTA.mjs.map +0 -1
  449. package/dist/logger-CxF-Ex5d.mjs +0 -220
  450. package/dist/logger-CxF-Ex5d.mjs.map +0 -1
  451. package/dist/mock-BjFj5o1I.mjs +0 -804
  452. package/dist/mock-BjFj5o1I.mjs.map +0 -1
  453. package/dist/registry-DdsYlL_P.mjs.map +0 -1
  454. package/dist/rolldown-runtime-DXywRVcq.mjs +0 -20
  455. package/dist/runtime-n9NCkjee.mjs.map +0 -1
  456. package/dist/schema-BhkpP5Hw.mjs.map +0 -1
  457. package/dist/secretmanager-B3n4KHfm.d.mts +0 -55
  458. package/dist/secretmanager-BVxw3ih_.mjs +0 -24
  459. package/dist/secretmanager-BVxw3ih_.mjs.map +0 -1
  460. package/dist/seed-jf3008-h.mjs +0 -1160
  461. package/dist/seed-jf3008-h.mjs.map +0 -1
  462. package/dist/service-CCL8ruDf.mjs +0 -459
  463. package/dist/service-CCL8ruDf.mjs.map +0 -1
  464. package/dist/service-D6yonf2I.mjs +0 -3
  465. package/dist/telemetry-CdqJEzkj.mjs.map +0 -1
  466. package/dist/telemetry-ClwW5ohF.mjs +0 -3
  467. package/dist/test-env-key-D9kM6ETE.mjs +0 -49
  468. package/dist/test-env-key-D9kM6ETE.mjs.map +0 -1
  469. package/dist/types-B2RpYyA_.mjs +0 -371
  470. package/dist/types-B2RpYyA_.mjs.map +0 -1
  471. package/dist/types-ClhIrW_C.mjs +0 -4
  472. package/dist/types-DCUhgpyI.d.mts +0 -784
  473. package/dist/types-DhO_VEZd.d.mts +0 -574
  474. package/dist/types-DwDgacni.d.mts +0 -338
  475. package/dist/workflow-BbKvGLQg.d.mts +0 -96
  476. package/dist/workflow-DgemCAz3.mjs +0 -38
  477. package/dist/workflow-DgemCAz3.mjs.map +0 -1
  478. package/dist/workflow.generated-DtQwEo-x.d.mts +0 -671
@@ -0,0 +1,961 @@
1
+ import { Filter, PageDirection } from "./resource_pb.mjs";
2
+ import { AuthInvoker } from "./auth_resource_pb.mjs";
3
+ import { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy, WorkflowJobFunctionSummary } from "./workflow_resource_pb.mjs";
4
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
+ import { Message } from "@bufbuild/protobuf";
6
+ //#region ../tailor-proto/src/tailor/v1/workflow_pb.d.ts
7
+ /**
8
+ * @generated from message tailor.v1.CreateWorkflowRequest
9
+ */
10
+ declare type CreateWorkflowRequest = Message<"tailor.v1.CreateWorkflowRequest"> & {
11
+ /**
12
+ * @generated from field: string workspace_id = 1;
13
+ */
14
+ workspaceId: string;
15
+ /**
16
+ * @generated from field: string workflow_name = 2;
17
+ */
18
+ workflowName: string;
19
+ /**
20
+ * @generated from field: string main_job_function_name = 3;
21
+ */
22
+ mainJobFunctionName: string;
23
+ /**
24
+ * @generated from field: map<string, int64> job_functions = 4;
25
+ */
26
+ jobFunctions: {
27
+ [key: string]: bigint;
28
+ };
29
+ /**
30
+ * @generated from field: optional tailor.v1.RetryPolicy retry_policy = 5;
31
+ */
32
+ retryPolicy?: RetryPolicy;
33
+ /**
34
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
35
+ */
36
+ concurrencyPolicy?: ConcurrencyPolicy;
37
+ /**
38
+ * Enable publishing workflow-execution events
39
+ * (workflow.workflow_execution.*).
40
+ *
41
+ * @generated from field: bool publish_execution_events = 7;
42
+ */
43
+ publishExecutionEvents: boolean;
44
+ };
45
+ /**
46
+ * Describes the message tailor.v1.CreateWorkflowRequest.
47
+ * Use `create(CreateWorkflowRequestSchema)` to create a new message.
48
+ */
49
+ declare const CreateWorkflowRequestSchema: GenMessage<CreateWorkflowRequest>;
50
+ /**
51
+ * @generated from message tailor.v1.CreateWorkflowResponse
52
+ */
53
+ declare type CreateWorkflowResponse = Message<"tailor.v1.CreateWorkflowResponse"> & {
54
+ /**
55
+ * @generated from field: tailor.v1.Workflow workflow = 1;
56
+ */
57
+ workflow?: Workflow;
58
+ };
59
+ /**
60
+ * Describes the message tailor.v1.CreateWorkflowResponse.
61
+ * Use `create(CreateWorkflowResponseSchema)` to create a new message.
62
+ */
63
+ declare const CreateWorkflowResponseSchema: GenMessage<CreateWorkflowResponse>;
64
+ /**
65
+ * @generated from message tailor.v1.UpdateWorkflowRequest
66
+ */
67
+ declare type UpdateWorkflowRequest = Message<"tailor.v1.UpdateWorkflowRequest"> & {
68
+ /**
69
+ * @generated from field: string workspace_id = 1;
70
+ */
71
+ workspaceId: string;
72
+ /**
73
+ * @generated from field: string workflow_name = 2;
74
+ */
75
+ workflowName: string;
76
+ /**
77
+ * @generated from field: string main_job_function_name = 3;
78
+ */
79
+ mainJobFunctionName: string;
80
+ /**
81
+ * @generated from field: map<string, int64> job_functions = 4;
82
+ */
83
+ jobFunctions: {
84
+ [key: string]: bigint;
85
+ };
86
+ /**
87
+ * @generated from field: optional tailor.v1.RetryPolicy retry_policy = 5;
88
+ */
89
+ retryPolicy?: RetryPolicy;
90
+ /**
91
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
92
+ */
93
+ concurrencyPolicy?: ConcurrencyPolicy;
94
+ /**
95
+ * Enable publishing workflow-execution events
96
+ * (workflow.workflow_execution.*).
97
+ *
98
+ * @generated from field: bool publish_execution_events = 7;
99
+ */
100
+ publishExecutionEvents: boolean;
101
+ };
102
+ /**
103
+ * Describes the message tailor.v1.UpdateWorkflowRequest.
104
+ * Use `create(UpdateWorkflowRequestSchema)` to create a new message.
105
+ */
106
+ declare const UpdateWorkflowRequestSchema: GenMessage<UpdateWorkflowRequest>;
107
+ /**
108
+ * @generated from message tailor.v1.UpdateWorkflowResponse
109
+ */
110
+ declare type UpdateWorkflowResponse = Message<"tailor.v1.UpdateWorkflowResponse"> & {
111
+ /**
112
+ * @generated from field: tailor.v1.Workflow workflow = 1;
113
+ */
114
+ workflow?: Workflow;
115
+ };
116
+ /**
117
+ * Describes the message tailor.v1.UpdateWorkflowResponse.
118
+ * Use `create(UpdateWorkflowResponseSchema)` to create a new message.
119
+ */
120
+ declare const UpdateWorkflowResponseSchema: GenMessage<UpdateWorkflowResponse>;
121
+ /**
122
+ * @generated from message tailor.v1.DeleteWorkflowRequest
123
+ */
124
+ declare type DeleteWorkflowRequest = Message<"tailor.v1.DeleteWorkflowRequest"> & {
125
+ /**
126
+ * @generated from field: string workspace_id = 1;
127
+ */
128
+ workspaceId: string;
129
+ /**
130
+ * @generated from field: string workflow_id = 2;
131
+ */
132
+ workflowId: string;
133
+ };
134
+ /**
135
+ * Describes the message tailor.v1.DeleteWorkflowRequest.
136
+ * Use `create(DeleteWorkflowRequestSchema)` to create a new message.
137
+ */
138
+ declare const DeleteWorkflowRequestSchema: GenMessage<DeleteWorkflowRequest>;
139
+ /**
140
+ * @generated from message tailor.v1.DeleteWorkflowResponse
141
+ */
142
+ declare type DeleteWorkflowResponse = Message<"tailor.v1.DeleteWorkflowResponse"> & {};
143
+ /**
144
+ * Describes the message tailor.v1.DeleteWorkflowResponse.
145
+ * Use `create(DeleteWorkflowResponseSchema)` to create a new message.
146
+ */
147
+ declare const DeleteWorkflowResponseSchema: GenMessage<DeleteWorkflowResponse>;
148
+ /**
149
+ * @generated from message tailor.v1.GetWorkflowRequest
150
+ */
151
+ declare type GetWorkflowRequest = Message<"tailor.v1.GetWorkflowRequest"> & {
152
+ /**
153
+ * @generated from field: string workspace_id = 1;
154
+ */
155
+ workspaceId: string;
156
+ /**
157
+ * @generated from field: string workflow_id = 2;
158
+ */
159
+ workflowId: string;
160
+ };
161
+ /**
162
+ * Describes the message tailor.v1.GetWorkflowRequest.
163
+ * Use `create(GetWorkflowRequestSchema)` to create a new message.
164
+ */
165
+ declare const GetWorkflowRequestSchema: GenMessage<GetWorkflowRequest>;
166
+ /**
167
+ * @generated from message tailor.v1.GetWorkflowResponse
168
+ */
169
+ declare type GetWorkflowResponse = Message<"tailor.v1.GetWorkflowResponse"> & {
170
+ /**
171
+ * @generated from field: tailor.v1.Workflow workflow = 1;
172
+ */
173
+ workflow?: Workflow;
174
+ };
175
+ /**
176
+ * Describes the message tailor.v1.GetWorkflowResponse.
177
+ * Use `create(GetWorkflowResponseSchema)` to create a new message.
178
+ */
179
+ declare const GetWorkflowResponseSchema: GenMessage<GetWorkflowResponse>;
180
+ /**
181
+ * @generated from message tailor.v1.GetWorkflowByNameRequest
182
+ */
183
+ declare type GetWorkflowByNameRequest = Message<"tailor.v1.GetWorkflowByNameRequest"> & {
184
+ /**
185
+ * @generated from field: string workspace_id = 1;
186
+ */
187
+ workspaceId: string;
188
+ /**
189
+ * @generated from field: string workflow_name = 2;
190
+ */
191
+ workflowName: string;
192
+ };
193
+ /**
194
+ * Describes the message tailor.v1.GetWorkflowByNameRequest.
195
+ * Use `create(GetWorkflowByNameRequestSchema)` to create a new message.
196
+ */
197
+ declare const GetWorkflowByNameRequestSchema: GenMessage<GetWorkflowByNameRequest>;
198
+ /**
199
+ * @generated from message tailor.v1.GetWorkflowByNameResponse
200
+ */
201
+ declare type GetWorkflowByNameResponse = Message<"tailor.v1.GetWorkflowByNameResponse"> & {
202
+ /**
203
+ * @generated from field: tailor.v1.Workflow workflow = 1;
204
+ */
205
+ workflow?: Workflow;
206
+ };
207
+ /**
208
+ * Describes the message tailor.v1.GetWorkflowByNameResponse.
209
+ * Use `create(GetWorkflowByNameResponseSchema)` to create a new message.
210
+ */
211
+ declare const GetWorkflowByNameResponseSchema: GenMessage<GetWorkflowByNameResponse>;
212
+ /**
213
+ * @generated from message tailor.v1.ListWorkflowsRequest
214
+ */
215
+ declare type ListWorkflowsRequest = Message<"tailor.v1.ListWorkflowsRequest"> & {
216
+ /**
217
+ * @generated from field: string workspace_id = 1;
218
+ */
219
+ workspaceId: string;
220
+ /**
221
+ * @generated from field: string page_token = 2;
222
+ */
223
+ pageToken: string;
224
+ /**
225
+ * @generated from field: uint32 page_size = 3;
226
+ */
227
+ pageSize: number;
228
+ /**
229
+ * @generated from field: tailor.v1.PageDirection page_direction = 4;
230
+ */
231
+ pageDirection: PageDirection;
232
+ };
233
+ /**
234
+ * Describes the message tailor.v1.ListWorkflowsRequest.
235
+ * Use `create(ListWorkflowsRequestSchema)` to create a new message.
236
+ */
237
+ declare const ListWorkflowsRequestSchema: GenMessage<ListWorkflowsRequest>;
238
+ /**
239
+ * @generated from message tailor.v1.ListWorkflowsResponse
240
+ */
241
+ declare type ListWorkflowsResponse = Message<"tailor.v1.ListWorkflowsResponse"> & {
242
+ /**
243
+ * @generated from field: repeated tailor.v1.Workflow workflows = 1;
244
+ */
245
+ workflows: Workflow[];
246
+ /**
247
+ * @generated from field: string next_page_token = 2;
248
+ */
249
+ nextPageToken: string;
250
+ /**
251
+ * @generated from field: int64 total_count = 3;
252
+ */
253
+ totalCount: bigint;
254
+ };
255
+ /**
256
+ * Describes the message tailor.v1.ListWorkflowsResponse.
257
+ * Use `create(ListWorkflowsResponseSchema)` to create a new message.
258
+ */
259
+ declare const ListWorkflowsResponseSchema: GenMessage<ListWorkflowsResponse>;
260
+ /**
261
+ * @generated from message tailor.v1.CreateWorkflowJobFunctionRequest
262
+ */
263
+ declare type CreateWorkflowJobFunctionRequest = Message<"tailor.v1.CreateWorkflowJobFunctionRequest"> & {
264
+ /**
265
+ * @generated from field: string workspace_id = 1;
266
+ */
267
+ workspaceId: string;
268
+ /**
269
+ * @generated from field: string job_function_name = 2;
270
+ */
271
+ jobFunctionName: string;
272
+ /**
273
+ * @generated from field: string script = 3;
274
+ */
275
+ script: string;
276
+ /**
277
+ * Reference to a function in the Function Registry
278
+ *
279
+ * @generated from field: optional string script_ref = 4;
280
+ */
281
+ scriptRef?: string;
282
+ /**
283
+ * Enable publishing job-execution events
284
+ * (workflow.workflow_execution.job_execution.*).
285
+ *
286
+ * @generated from field: bool publish_execution_events = 5;
287
+ */
288
+ publishExecutionEvents: boolean;
289
+ };
290
+ /**
291
+ * Describes the message tailor.v1.CreateWorkflowJobFunctionRequest.
292
+ * Use `create(CreateWorkflowJobFunctionRequestSchema)` to create a new message.
293
+ */
294
+ declare const CreateWorkflowJobFunctionRequestSchema: GenMessage<CreateWorkflowJobFunctionRequest>;
295
+ /**
296
+ * @generated from message tailor.v1.CreateWorkflowJobFunctionResponse
297
+ */
298
+ declare type CreateWorkflowJobFunctionResponse = Message<"tailor.v1.CreateWorkflowJobFunctionResponse"> & {
299
+ /**
300
+ * @generated from field: tailor.v1.WorkflowJobFunction job_function = 1;
301
+ */
302
+ jobFunction?: WorkflowJobFunction;
303
+ };
304
+ /**
305
+ * Describes the message tailor.v1.CreateWorkflowJobFunctionResponse.
306
+ * Use `create(CreateWorkflowJobFunctionResponseSchema)` to create a new message.
307
+ */
308
+ declare const CreateWorkflowJobFunctionResponseSchema: GenMessage<CreateWorkflowJobFunctionResponse>;
309
+ /**
310
+ * @generated from message tailor.v1.UpdateWorkflowJobFunctionRequest
311
+ */
312
+ declare type UpdateWorkflowJobFunctionRequest = Message<"tailor.v1.UpdateWorkflowJobFunctionRequest"> & {
313
+ /**
314
+ * @generated from field: string workspace_id = 1;
315
+ */
316
+ workspaceId: string;
317
+ /**
318
+ * @generated from field: string job_function_name = 2;
319
+ */
320
+ jobFunctionName: string;
321
+ /**
322
+ * @generated from field: string script = 3;
323
+ */
324
+ script: string;
325
+ /**
326
+ * Reference to a function in the Function Registry
327
+ *
328
+ * @generated from field: optional string script_ref = 4;
329
+ */
330
+ scriptRef?: string;
331
+ /**
332
+ * Enable publishing job-execution events
333
+ * (workflow.workflow_execution.job_execution.*).
334
+ *
335
+ * @generated from field: bool publish_execution_events = 5;
336
+ */
337
+ publishExecutionEvents: boolean;
338
+ };
339
+ /**
340
+ * Describes the message tailor.v1.UpdateWorkflowJobFunctionRequest.
341
+ * Use `create(UpdateWorkflowJobFunctionRequestSchema)` to create a new message.
342
+ */
343
+ declare const UpdateWorkflowJobFunctionRequestSchema: GenMessage<UpdateWorkflowJobFunctionRequest>;
344
+ /**
345
+ * @generated from message tailor.v1.UpdateWorkflowJobFunctionResponse
346
+ */
347
+ declare type UpdateWorkflowJobFunctionResponse = Message<"tailor.v1.UpdateWorkflowJobFunctionResponse"> & {
348
+ /**
349
+ * @generated from field: tailor.v1.WorkflowJobFunction job_function = 1;
350
+ */
351
+ jobFunction?: WorkflowJobFunction;
352
+ };
353
+ /**
354
+ * Describes the message tailor.v1.UpdateWorkflowJobFunctionResponse.
355
+ * Use `create(UpdateWorkflowJobFunctionResponseSchema)` to create a new message.
356
+ */
357
+ declare const UpdateWorkflowJobFunctionResponseSchema: GenMessage<UpdateWorkflowJobFunctionResponse>;
358
+ /**
359
+ * @generated from message tailor.v1.DeleteWorkflowJobFunctionRequest
360
+ */
361
+ declare type DeleteWorkflowJobFunctionRequest = Message<"tailor.v1.DeleteWorkflowJobFunctionRequest"> & {
362
+ /**
363
+ * @generated from field: string workspace_id = 1;
364
+ */
365
+ workspaceId: string;
366
+ /**
367
+ * @generated from field: string job_function_name = 2;
368
+ */
369
+ jobFunctionName: string;
370
+ };
371
+ /**
372
+ * Describes the message tailor.v1.DeleteWorkflowJobFunctionRequest.
373
+ * Use `create(DeleteWorkflowJobFunctionRequestSchema)` to create a new message.
374
+ */
375
+ declare const DeleteWorkflowJobFunctionRequestSchema: GenMessage<DeleteWorkflowJobFunctionRequest>;
376
+ /**
377
+ * @generated from message tailor.v1.DeleteWorkflowJobFunctionResponse
378
+ */
379
+ declare type DeleteWorkflowJobFunctionResponse = Message<"tailor.v1.DeleteWorkflowJobFunctionResponse"> & {};
380
+ /**
381
+ * Describes the message tailor.v1.DeleteWorkflowJobFunctionResponse.
382
+ * Use `create(DeleteWorkflowJobFunctionResponseSchema)` to create a new message.
383
+ */
384
+ declare const DeleteWorkflowJobFunctionResponseSchema: GenMessage<DeleteWorkflowJobFunctionResponse>;
385
+ /**
386
+ * @generated from message tailor.v1.GetWorkflowJobFunctionRequest
387
+ */
388
+ declare type GetWorkflowJobFunctionRequest = Message<"tailor.v1.GetWorkflowJobFunctionRequest"> & {
389
+ /**
390
+ * @generated from field: string workspace_id = 1;
391
+ */
392
+ workspaceId: string;
393
+ /**
394
+ * @generated from field: string job_function_id = 2;
395
+ */
396
+ jobFunctionId: string;
397
+ };
398
+ /**
399
+ * Describes the message tailor.v1.GetWorkflowJobFunctionRequest.
400
+ * Use `create(GetWorkflowJobFunctionRequestSchema)` to create a new message.
401
+ */
402
+ declare const GetWorkflowJobFunctionRequestSchema: GenMessage<GetWorkflowJobFunctionRequest>;
403
+ /**
404
+ * @generated from message tailor.v1.GetWorkflowJobFunctionResponse
405
+ */
406
+ declare type GetWorkflowJobFunctionResponse = Message<"tailor.v1.GetWorkflowJobFunctionResponse"> & {
407
+ /**
408
+ * @generated from field: tailor.v1.WorkflowJobFunction job_function = 1;
409
+ */
410
+ jobFunction?: WorkflowJobFunction;
411
+ };
412
+ /**
413
+ * Describes the message tailor.v1.GetWorkflowJobFunctionResponse.
414
+ * Use `create(GetWorkflowJobFunctionResponseSchema)` to create a new message.
415
+ */
416
+ declare const GetWorkflowJobFunctionResponseSchema: GenMessage<GetWorkflowJobFunctionResponse>;
417
+ /**
418
+ * @generated from message tailor.v1.GetWorkflowJobFunctionByNameRequest
419
+ */
420
+ declare type GetWorkflowJobFunctionByNameRequest = Message<"tailor.v1.GetWorkflowJobFunctionByNameRequest"> & {
421
+ /**
422
+ * @generated from field: string workspace_id = 1;
423
+ */
424
+ workspaceId: string;
425
+ /**
426
+ * @generated from field: string job_function_name = 2;
427
+ */
428
+ jobFunctionName: string;
429
+ };
430
+ /**
431
+ * Describes the message tailor.v1.GetWorkflowJobFunctionByNameRequest.
432
+ * Use `create(GetWorkflowJobFunctionByNameRequestSchema)` to create a new message.
433
+ */
434
+ declare const GetWorkflowJobFunctionByNameRequestSchema: GenMessage<GetWorkflowJobFunctionByNameRequest>;
435
+ /**
436
+ * @generated from message tailor.v1.GetWorkflowJobFunctionByNameResponse
437
+ */
438
+ declare type GetWorkflowJobFunctionByNameResponse = Message<"tailor.v1.GetWorkflowJobFunctionByNameResponse"> & {
439
+ /**
440
+ * @generated from field: tailor.v1.WorkflowJobFunction job_function = 1;
441
+ */
442
+ jobFunction?: WorkflowJobFunction;
443
+ };
444
+ /**
445
+ * Describes the message tailor.v1.GetWorkflowJobFunctionByNameResponse.
446
+ * Use `create(GetWorkflowJobFunctionByNameResponseSchema)` to create a new message.
447
+ */
448
+ declare const GetWorkflowJobFunctionByNameResponseSchema: GenMessage<GetWorkflowJobFunctionByNameResponse>;
449
+ /**
450
+ * @generated from message tailor.v1.ListWorkflowJobFunctionsRequest
451
+ */
452
+ declare type ListWorkflowJobFunctionsRequest = Message<"tailor.v1.ListWorkflowJobFunctionsRequest"> & {
453
+ /**
454
+ * @generated from field: string workspace_id = 1;
455
+ */
456
+ workspaceId: string;
457
+ /**
458
+ * @generated from field: string page_token = 2;
459
+ */
460
+ pageToken: string;
461
+ /**
462
+ * @generated from field: uint32 page_size = 3;
463
+ */
464
+ pageSize: number;
465
+ /**
466
+ * @generated from field: tailor.v1.PageDirection page_direction = 4;
467
+ */
468
+ pageDirection: PageDirection;
469
+ };
470
+ /**
471
+ * Describes the message tailor.v1.ListWorkflowJobFunctionsRequest.
472
+ * Use `create(ListWorkflowJobFunctionsRequestSchema)` to create a new message.
473
+ */
474
+ declare const ListWorkflowJobFunctionsRequestSchema: GenMessage<ListWorkflowJobFunctionsRequest>;
475
+ /**
476
+ * @generated from message tailor.v1.ListWorkflowJobFunctionsResponse
477
+ */
478
+ declare type ListWorkflowJobFunctionsResponse = Message<"tailor.v1.ListWorkflowJobFunctionsResponse"> & {
479
+ /**
480
+ * Returns the lightweight WorkflowJobFunctionSummary projection (no script /
481
+ * script_ref) so workspace-wide listings do not have to materialise multi-MB
482
+ * payloads. Field tags match WorkflowJobFunction, so the change is wire
483
+ * compatible for clients that only read id / name / version / created_at.
484
+ * Use GetWorkflowJobFunction / GetWorkflowJobFunctionByName to fetch the
485
+ * script body for a specific job function.
486
+ *
487
+ * @generated from field: repeated tailor.v1.WorkflowJobFunctionSummary job_functions = 1;
488
+ */
489
+ jobFunctions: WorkflowJobFunctionSummary[];
490
+ /**
491
+ * @generated from field: string next_page_token = 2;
492
+ */
493
+ nextPageToken: string;
494
+ /**
495
+ * @generated from field: int64 total_count = 3;
496
+ */
497
+ totalCount: bigint;
498
+ };
499
+ /**
500
+ * Describes the message tailor.v1.ListWorkflowJobFunctionsResponse.
501
+ * Use `create(ListWorkflowJobFunctionsResponseSchema)` to create a new message.
502
+ */
503
+ declare const ListWorkflowJobFunctionsResponseSchema: GenMessage<ListWorkflowJobFunctionsResponse>;
504
+ /**
505
+ * @generated from message tailor.v1.GetWorkflowExecutionRequest
506
+ */
507
+ declare type GetWorkflowExecutionRequest = Message<"tailor.v1.GetWorkflowExecutionRequest"> & {
508
+ /**
509
+ * @generated from field: string workspace_id = 1;
510
+ */
511
+ workspaceId: string;
512
+ /**
513
+ * @generated from field: string execution_id = 2;
514
+ */
515
+ executionId: string;
516
+ };
517
+ /**
518
+ * Describes the message tailor.v1.GetWorkflowExecutionRequest.
519
+ * Use `create(GetWorkflowExecutionRequestSchema)` to create a new message.
520
+ */
521
+ declare const GetWorkflowExecutionRequestSchema: GenMessage<GetWorkflowExecutionRequest>;
522
+ /**
523
+ * @generated from message tailor.v1.GetWorkflowExecutionResponse
524
+ */
525
+ declare type GetWorkflowExecutionResponse = Message<"tailor.v1.GetWorkflowExecutionResponse"> & {
526
+ /**
527
+ * @generated from field: tailor.v1.WorkflowExecution execution = 1;
528
+ */
529
+ execution?: WorkflowExecution;
530
+ };
531
+ /**
532
+ * Describes the message tailor.v1.GetWorkflowExecutionResponse.
533
+ * Use `create(GetWorkflowExecutionResponseSchema)` to create a new message.
534
+ */
535
+ declare const GetWorkflowExecutionResponseSchema: GenMessage<GetWorkflowExecutionResponse>;
536
+ /**
537
+ * @generated from message tailor.v1.ListWorkflowExecutionsRequest
538
+ */
539
+ declare type ListWorkflowExecutionsRequest = Message<"tailor.v1.ListWorkflowExecutionsRequest"> & {
540
+ /**
541
+ * @generated from field: string workspace_id = 1;
542
+ */
543
+ workspaceId: string;
544
+ /**
545
+ * @generated from field: string workflow_name = 6;
546
+ */
547
+ workflowName: string;
548
+ /**
549
+ * @generated from field: string page_token = 2;
550
+ */
551
+ pageToken: string;
552
+ /**
553
+ * @generated from field: uint32 page_size = 3;
554
+ */
555
+ pageSize: number;
556
+ /**
557
+ * @generated from field: tailor.v1.PageDirection page_direction = 4;
558
+ */
559
+ pageDirection: PageDirection;
560
+ /**
561
+ * @generated from field: tailor.v1.Filter filter = 5;
562
+ */
563
+ filter?: Filter;
564
+ };
565
+ /**
566
+ * Describes the message tailor.v1.ListWorkflowExecutionsRequest.
567
+ * Use `create(ListWorkflowExecutionsRequestSchema)` to create a new message.
568
+ */
569
+ declare const ListWorkflowExecutionsRequestSchema: GenMessage<ListWorkflowExecutionsRequest>;
570
+ /**
571
+ * @generated from message tailor.v1.ListWorkflowExecutionsResponse
572
+ */
573
+ declare type ListWorkflowExecutionsResponse = Message<"tailor.v1.ListWorkflowExecutionsResponse"> & {
574
+ /**
575
+ * @generated from field: repeated tailor.v1.WorkflowExecution executions = 1;
576
+ */
577
+ executions: WorkflowExecution[];
578
+ /**
579
+ * @generated from field: string next_page_token = 2;
580
+ */
581
+ nextPageToken: string;
582
+ /**
583
+ * @generated from field: int64 total_count = 3;
584
+ */
585
+ totalCount: bigint;
586
+ };
587
+ /**
588
+ * Describes the message tailor.v1.ListWorkflowExecutionsResponse.
589
+ * Use `create(ListWorkflowExecutionsResponseSchema)` to create a new message.
590
+ */
591
+ declare const ListWorkflowExecutionsResponseSchema: GenMessage<ListWorkflowExecutionsResponse>;
592
+ /**
593
+ * @generated from message tailor.v1.TestStartWorkflowRequest
594
+ */
595
+ declare type TestStartWorkflowRequest = Message<"tailor.v1.TestStartWorkflowRequest"> & {
596
+ /**
597
+ * @generated from field: string workspace_id = 1;
598
+ */
599
+ workspaceId: string;
600
+ /**
601
+ * @generated from field: string workflow_id = 2;
602
+ */
603
+ workflowId: string;
604
+ /**
605
+ * @generated from field: tailor.v1.AuthInvoker auth_invoker = 3;
606
+ */
607
+ authInvoker?: AuthInvoker;
608
+ /**
609
+ * @generated from field: optional string arg = 4;
610
+ */
611
+ arg?: string;
612
+ };
613
+ /**
614
+ * Describes the message tailor.v1.TestStartWorkflowRequest.
615
+ * Use `create(TestStartWorkflowRequestSchema)` to create a new message.
616
+ */
617
+ declare const TestStartWorkflowRequestSchema: GenMessage<TestStartWorkflowRequest>;
618
+ /**
619
+ * @generated from message tailor.v1.TestStartWorkflowResponse
620
+ */
621
+ declare type TestStartWorkflowResponse = Message<"tailor.v1.TestStartWorkflowResponse"> & {
622
+ /**
623
+ * @generated from field: string execution_id = 1;
624
+ */
625
+ executionId: string;
626
+ };
627
+ /**
628
+ * Describes the message tailor.v1.TestStartWorkflowResponse.
629
+ * Use `create(TestStartWorkflowResponseSchema)` to create a new message.
630
+ */
631
+ declare const TestStartWorkflowResponseSchema: GenMessage<TestStartWorkflowResponse>;
632
+ /**
633
+ * @generated from message tailor.v1.TestResumeWorkflowRequest
634
+ */
635
+ declare type TestResumeWorkflowRequest = Message<"tailor.v1.TestResumeWorkflowRequest"> & {
636
+ /**
637
+ * @generated from field: string workspace_id = 1;
638
+ */
639
+ workspaceId: string;
640
+ /**
641
+ * @generated from field: string execution_id = 2;
642
+ */
643
+ executionId: string;
644
+ };
645
+ /**
646
+ * Describes the message tailor.v1.TestResumeWorkflowRequest.
647
+ * Use `create(TestResumeWorkflowRequestSchema)` to create a new message.
648
+ */
649
+ declare const TestResumeWorkflowRequestSchema: GenMessage<TestResumeWorkflowRequest>;
650
+ /**
651
+ * @generated from message tailor.v1.TestResumeWorkflowResponse
652
+ */
653
+ declare type TestResumeWorkflowResponse = Message<"tailor.v1.TestResumeWorkflowResponse"> & {
654
+ /**
655
+ * @generated from field: string execution_id = 1;
656
+ */
657
+ executionId: string;
658
+ };
659
+ /**
660
+ * Describes the message tailor.v1.TestResumeWorkflowResponse.
661
+ * Use `create(TestResumeWorkflowResponseSchema)` to create a new message.
662
+ */
663
+ declare const TestResumeWorkflowResponseSchema: GenMessage<TestResumeWorkflowResponse>;
664
+ /**
665
+ * @generated from message tailor.v1.StartWorkflowRequest
666
+ */
667
+ declare type StartWorkflowRequest = Message<"tailor.v1.StartWorkflowRequest"> & {
668
+ /**
669
+ * @generated from field: string workspace_id = 1;
670
+ */
671
+ workspaceId: string;
672
+ /**
673
+ * @generated from field: string workflow_id = 2;
674
+ */
675
+ workflowId: string;
676
+ /**
677
+ * @generated from field: tailor.v1.AuthInvoker auth_invoker = 3;
678
+ */
679
+ authInvoker?: AuthInvoker;
680
+ /**
681
+ * @generated from field: optional string arg = 4;
682
+ */
683
+ arg?: string;
684
+ };
685
+ /**
686
+ * Describes the message tailor.v1.StartWorkflowRequest.
687
+ * Use `create(StartWorkflowRequestSchema)` to create a new message.
688
+ */
689
+ declare const StartWorkflowRequestSchema: GenMessage<StartWorkflowRequest>;
690
+ /**
691
+ * @generated from message tailor.v1.StartWorkflowResponse
692
+ */
693
+ declare type StartWorkflowResponse = Message<"tailor.v1.StartWorkflowResponse"> & {
694
+ /**
695
+ * @generated from field: string execution_id = 1;
696
+ */
697
+ executionId: string;
698
+ };
699
+ /**
700
+ * Describes the message tailor.v1.StartWorkflowResponse.
701
+ * Use `create(StartWorkflowResponseSchema)` to create a new message.
702
+ */
703
+ declare const StartWorkflowResponseSchema: GenMessage<StartWorkflowResponse>;
704
+ /**
705
+ * @generated from message tailor.v1.ResumeWorkflowExecutionRequest
706
+ */
707
+ declare type ResumeWorkflowExecutionRequest = Message<"tailor.v1.ResumeWorkflowExecutionRequest"> & {
708
+ /**
709
+ * @generated from field: string workspace_id = 1;
710
+ */
711
+ workspaceId: string;
712
+ /**
713
+ * @generated from field: string execution_id = 2;
714
+ */
715
+ executionId: string;
716
+ };
717
+ /**
718
+ * Describes the message tailor.v1.ResumeWorkflowExecutionRequest.
719
+ * Use `create(ResumeWorkflowExecutionRequestSchema)` to create a new message.
720
+ */
721
+ declare const ResumeWorkflowExecutionRequestSchema: GenMessage<ResumeWorkflowExecutionRequest>;
722
+ /**
723
+ * @generated from message tailor.v1.ResumeWorkflowExecutionResponse
724
+ */
725
+ declare type ResumeWorkflowExecutionResponse = Message<"tailor.v1.ResumeWorkflowExecutionResponse"> & {
726
+ /**
727
+ * @generated from field: string execution_id = 1;
728
+ */
729
+ executionId: string;
730
+ };
731
+ /**
732
+ * Describes the message tailor.v1.ResumeWorkflowExecutionResponse.
733
+ * Use `create(ResumeWorkflowExecutionResponseSchema)` to create a new message.
734
+ */
735
+ declare const ResumeWorkflowExecutionResponseSchema: GenMessage<ResumeWorkflowExecutionResponse>;
736
+ /**
737
+ * @generated from message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest
738
+ */
739
+ declare type CreateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest"> & {
740
+ /**
741
+ * @generated from field: string workspace_id = 1;
742
+ */
743
+ workspaceId: string;
744
+ /**
745
+ * 2..64 chars, starts with [a-z0-9], middle from [a-z0-9_:.-], last char
746
+ * is [a-z0-9] or `*` (trailing-wildcard form). Platform does not assign
747
+ * meaning to the prefix's tail character; the caller decides.
748
+ *
749
+ * @generated from field: string execution_policy_key = 2;
750
+ */
751
+ executionPolicyKey: string;
752
+ /**
753
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
754
+ */
755
+ concurrencyPolicy?: ConcurrencyPolicy;
756
+ /**
757
+ * @generated from field: string execution_policy_name = 4;
758
+ */
759
+ executionPolicyName: string;
760
+ };
761
+ /**
762
+ * Describes the message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest.
763
+ * Use `create(CreateWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
764
+ */
765
+ declare const CreateWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<CreateWorkflowJobFunctionExecutionPolicyRequest>;
766
+ /**
767
+ * @generated from message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse
768
+ */
769
+ declare type CreateWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse"> & {
770
+ /**
771
+ * @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
772
+ */
773
+ policy?: WorkflowJobFunctionExecutionPolicy;
774
+ };
775
+ /**
776
+ * Describes the message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse.
777
+ * Use `create(CreateWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
778
+ */
779
+ declare const CreateWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<CreateWorkflowJobFunctionExecutionPolicyResponse>;
780
+ /**
781
+ * @generated from message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest
782
+ */
783
+ declare type UpdateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest"> & {
784
+ /**
785
+ * @generated from field: string workspace_id = 1;
786
+ */
787
+ workspaceId: string;
788
+ /**
789
+ * @generated from field: string execution_policy_name = 2;
790
+ */
791
+ executionPolicyName: string;
792
+ /**
793
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
794
+ */
795
+ concurrencyPolicy?: ConcurrencyPolicy;
796
+ };
797
+ /**
798
+ * Describes the message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest.
799
+ * Use `create(UpdateWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
800
+ */
801
+ declare const UpdateWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<UpdateWorkflowJobFunctionExecutionPolicyRequest>;
802
+ /**
803
+ * @generated from message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse
804
+ */
805
+ declare type UpdateWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse"> & {
806
+ /**
807
+ * @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
808
+ */
809
+ policy?: WorkflowJobFunctionExecutionPolicy;
810
+ };
811
+ /**
812
+ * Describes the message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse.
813
+ * Use `create(UpdateWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
814
+ */
815
+ declare const UpdateWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<UpdateWorkflowJobFunctionExecutionPolicyResponse>;
816
+ /**
817
+ * @generated from message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest
818
+ */
819
+ declare type DeleteWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest"> & {
820
+ /**
821
+ * @generated from field: string workspace_id = 1;
822
+ */
823
+ workspaceId: string;
824
+ /**
825
+ * @generated from field: string execution_policy_name = 2;
826
+ */
827
+ executionPolicyName: string;
828
+ };
829
+ /**
830
+ * Describes the message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest.
831
+ * Use `create(DeleteWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
832
+ */
833
+ declare const DeleteWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<DeleteWorkflowJobFunctionExecutionPolicyRequest>;
834
+ /**
835
+ * @generated from message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse
836
+ */
837
+ declare type DeleteWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse"> & {};
838
+ /**
839
+ * Describes the message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse.
840
+ * Use `create(DeleteWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
841
+ */
842
+ declare const DeleteWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<DeleteWorkflowJobFunctionExecutionPolicyResponse>;
843
+ /**
844
+ * @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest
845
+ */
846
+ declare type GetWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest"> & {
847
+ /**
848
+ * @generated from field: string workspace_id = 1;
849
+ */
850
+ workspaceId: string;
851
+ /**
852
+ * @generated from field: string execution_policy_name = 2;
853
+ */
854
+ executionPolicyName: string;
855
+ };
856
+ /**
857
+ * Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest.
858
+ * Use `create(GetWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
859
+ */
860
+ declare const GetWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyRequest>;
861
+ /**
862
+ * @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse
863
+ */
864
+ declare type GetWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse"> & {
865
+ /**
866
+ * @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
867
+ */
868
+ policy?: WorkflowJobFunctionExecutionPolicy;
869
+ };
870
+ /**
871
+ * Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse.
872
+ * Use `create(GetWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
873
+ */
874
+ declare const GetWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyResponse>;
875
+ /**
876
+ * @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest
877
+ */
878
+ declare type GetWorkflowJobFunctionExecutionPolicyByKeyRequest = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest"> & {
879
+ /**
880
+ * @generated from field: string workspace_id = 1;
881
+ */
882
+ workspaceId: string;
883
+ /**
884
+ * Looks up a policy by its declared key (exact or wildcard form). Pass the
885
+ * wildcard pattern literal (e.g. `tenant-api*`) to fetch a wildcard
886
+ * policy; concrete keys do not resolve here, the dispatch path uses
887
+ * prefix resolution instead.
888
+ *
889
+ * @generated from field: string execution_policy_key = 2;
890
+ */
891
+ executionPolicyKey: string;
892
+ };
893
+ /**
894
+ * Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest.
895
+ * Use `create(GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema)` to create a new message.
896
+ */
897
+ declare const GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyByKeyRequest>;
898
+ /**
899
+ * @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse
900
+ */
901
+ declare type GetWorkflowJobFunctionExecutionPolicyByKeyResponse = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse"> & {
902
+ /**
903
+ * @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
904
+ */
905
+ policy?: WorkflowJobFunctionExecutionPolicy;
906
+ };
907
+ /**
908
+ * Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse.
909
+ * Use `create(GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema)` to create a new message.
910
+ */
911
+ declare const GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyByKeyResponse>;
912
+ /**
913
+ * @generated from message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest
914
+ */
915
+ declare type ListWorkflowJobFunctionExecutionPoliciesRequest = Message<"tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest"> & {
916
+ /**
917
+ * @generated from field: string workspace_id = 1;
918
+ */
919
+ workspaceId: string;
920
+ /**
921
+ * @generated from field: string page_token = 2;
922
+ */
923
+ pageToken: string;
924
+ /**
925
+ * @generated from field: uint32 page_size = 3;
926
+ */
927
+ pageSize: number;
928
+ /**
929
+ * @generated from field: tailor.v1.PageDirection page_direction = 4;
930
+ */
931
+ pageDirection: PageDirection;
932
+ };
933
+ /**
934
+ * Describes the message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest.
935
+ * Use `create(ListWorkflowJobFunctionExecutionPoliciesRequestSchema)` to create a new message.
936
+ */
937
+ declare const ListWorkflowJobFunctionExecutionPoliciesRequestSchema: GenMessage<ListWorkflowJobFunctionExecutionPoliciesRequest>;
938
+ /**
939
+ * @generated from message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse
940
+ */
941
+ declare type ListWorkflowJobFunctionExecutionPoliciesResponse = Message<"tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse"> & {
942
+ /**
943
+ * @generated from field: repeated tailor.v1.WorkflowJobFunctionExecutionPolicy policies = 1;
944
+ */
945
+ policies: WorkflowJobFunctionExecutionPolicy[];
946
+ /**
947
+ * @generated from field: string next_page_token = 2;
948
+ */
949
+ nextPageToken: string;
950
+ /**
951
+ * @generated from field: int64 total_count = 3;
952
+ */
953
+ totalCount: bigint;
954
+ };
955
+ /**
956
+ * Describes the message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse.
957
+ * Use `create(ListWorkflowJobFunctionExecutionPoliciesResponseSchema)` to create a new message.
958
+ */
959
+ declare const ListWorkflowJobFunctionExecutionPoliciesResponseSchema: GenMessage<ListWorkflowJobFunctionExecutionPoliciesResponse>;
960
+ //#endregion
961
+ export { CreateWorkflowJobFunctionExecutionPolicyRequest, CreateWorkflowJobFunctionExecutionPolicyRequestSchema, CreateWorkflowJobFunctionExecutionPolicyResponse, CreateWorkflowJobFunctionExecutionPolicyResponseSchema, CreateWorkflowJobFunctionRequest, CreateWorkflowJobFunctionRequestSchema, CreateWorkflowJobFunctionResponse, CreateWorkflowJobFunctionResponseSchema, CreateWorkflowRequest, CreateWorkflowRequestSchema, CreateWorkflowResponse, CreateWorkflowResponseSchema, DeleteWorkflowJobFunctionExecutionPolicyRequest, DeleteWorkflowJobFunctionExecutionPolicyRequestSchema, DeleteWorkflowJobFunctionExecutionPolicyResponse, DeleteWorkflowJobFunctionExecutionPolicyResponseSchema, DeleteWorkflowJobFunctionRequest, DeleteWorkflowJobFunctionRequestSchema, DeleteWorkflowJobFunctionResponse, DeleteWorkflowJobFunctionResponseSchema, DeleteWorkflowRequest, DeleteWorkflowRequestSchema, DeleteWorkflowResponse, DeleteWorkflowResponseSchema, GetWorkflowByNameRequest, GetWorkflowByNameRequestSchema, GetWorkflowByNameResponse, GetWorkflowByNameResponseSchema, GetWorkflowExecutionRequest, GetWorkflowExecutionRequestSchema, GetWorkflowExecutionResponse, GetWorkflowExecutionResponseSchema, GetWorkflowJobFunctionByNameRequest, GetWorkflowJobFunctionByNameRequestSchema, GetWorkflowJobFunctionByNameResponse, GetWorkflowJobFunctionByNameResponseSchema, GetWorkflowJobFunctionExecutionPolicyByKeyRequest, GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema, GetWorkflowJobFunctionExecutionPolicyByKeyResponse, GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema, GetWorkflowJobFunctionExecutionPolicyRequest, GetWorkflowJobFunctionExecutionPolicyRequestSchema, GetWorkflowJobFunctionExecutionPolicyResponse, GetWorkflowJobFunctionExecutionPolicyResponseSchema, GetWorkflowJobFunctionRequest, GetWorkflowJobFunctionRequestSchema, GetWorkflowJobFunctionResponse, GetWorkflowJobFunctionResponseSchema, GetWorkflowRequest, GetWorkflowRequestSchema, GetWorkflowResponse, GetWorkflowResponseSchema, ListWorkflowExecutionsRequest, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponse, ListWorkflowExecutionsResponseSchema, ListWorkflowJobFunctionExecutionPoliciesRequest, ListWorkflowJobFunctionExecutionPoliciesRequestSchema, ListWorkflowJobFunctionExecutionPoliciesResponse, ListWorkflowJobFunctionExecutionPoliciesResponseSchema, ListWorkflowJobFunctionsRequest, ListWorkflowJobFunctionsRequestSchema, ListWorkflowJobFunctionsResponse, ListWorkflowJobFunctionsResponseSchema, ListWorkflowsRequest, ListWorkflowsRequestSchema, ListWorkflowsResponse, ListWorkflowsResponseSchema, ResumeWorkflowExecutionRequest, ResumeWorkflowExecutionRequestSchema, ResumeWorkflowExecutionResponse, ResumeWorkflowExecutionResponseSchema, StartWorkflowRequest, StartWorkflowRequestSchema, StartWorkflowResponse, StartWorkflowResponseSchema, TestResumeWorkflowRequest, TestResumeWorkflowRequestSchema, TestResumeWorkflowResponse, TestResumeWorkflowResponseSchema, TestStartWorkflowRequest, TestStartWorkflowRequestSchema, TestStartWorkflowResponse, TestStartWorkflowResponseSchema, UpdateWorkflowJobFunctionExecutionPolicyRequest, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, UpdateWorkflowJobFunctionExecutionPolicyResponse, UpdateWorkflowJobFunctionExecutionPolicyResponseSchema, UpdateWorkflowJobFunctionRequest, UpdateWorkflowJobFunctionRequestSchema, UpdateWorkflowJobFunctionResponse, UpdateWorkflowJobFunctionResponseSchema, UpdateWorkflowRequest, UpdateWorkflowRequestSchema, UpdateWorkflowResponse, UpdateWorkflowResponseSchema };