@tailor-platform/sdk 2.0.0-next.3 → 2.0.0-next.5

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 (327) hide show
  1. package/CHANGELOG.md +142 -0
  2. package/dist/aigateway-DR4Kwuik.mjs +9 -0
  3. package/dist/{aigateway-B3oZZE6v.mjs.map → aigateway-DR4Kwuik.mjs.map} +1 -1
  4. package/dist/{application-eHp9jXld.mjs → application-Bf8wxOi6.mjs} +701 -597
  5. package/dist/application-Bf8wxOi6.mjs.map +1 -0
  6. package/dist/application-CUkjzfij.mjs +3 -0
  7. package/dist/authconnection-CZvi9ANm.mjs +9 -0
  8. package/dist/authconnection-CZvi9ANm.mjs.map +1 -0
  9. package/dist/brand-Eo4pLXPJ.mjs.map +1 -1
  10. package/dist/cli/cache/bundle-cache.d.mts +2 -1
  11. package/dist/cli/cache/store.d.mts +1 -1
  12. package/dist/cli/commands/api/index.d.mts +1 -0
  13. package/dist/cli/commands/deploy/aigateway.d.mts +5 -1
  14. package/dist/cli/commands/deploy/application.d.mts +7 -1
  15. package/dist/cli/commands/deploy/apply-phases.d.mts +14 -1
  16. package/dist/cli/commands/deploy/auth.d.mts +5 -1
  17. package/dist/cli/commands/deploy/deploy.d.mts +5 -0
  18. package/dist/cli/commands/deploy/executor.d.mts +7 -1
  19. package/dist/cli/commands/deploy/function-registry.d.mts +5 -0
  20. package/dist/cli/commands/deploy/idp.d.mts +5 -1
  21. package/dist/cli/commands/deploy/resolver.d.mts +5 -1
  22. package/dist/cli/commands/deploy/secret-manager.d.mts +5 -1
  23. package/dist/cli/commands/deploy/staticwebsite.d.mts +5 -1
  24. package/dist/cli/commands/deploy/tailordb/index.d.mts +8 -1
  25. package/dist/cli/commands/deploy/types.d.mts +3 -1
  26. package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +3 -0
  27. package/dist/cli/commands/deploy/workflow.d.mts +4 -1
  28. package/dist/cli/commands/executor/get.d.mts +0 -1
  29. package/dist/cli/commands/executor/jobs.d.mts +0 -1
  30. package/dist/cli/commands/executor/list.d.mts +0 -1
  31. package/dist/cli/commands/executor/transform.d.mts +1 -0
  32. package/dist/cli/commands/executor/trigger.d.mts +0 -1
  33. package/dist/cli/commands/executor/webhook.d.mts +0 -1
  34. package/dist/cli/commands/function/get.d.mts +0 -1
  35. package/dist/cli/commands/function/list.d.mts +0 -1
  36. package/dist/cli/commands/function/transform.d.mts +1 -0
  37. package/dist/cli/commands/generate/service.d.mts +5 -1
  38. package/dist/cli/commands/machineuser/list.d.mts +0 -1
  39. package/dist/cli/commands/machineuser/token.d.mts +0 -1
  40. package/dist/cli/commands/oauth2client/get.d.mts +0 -1
  41. package/dist/cli/commands/oauth2client/list.d.mts +0 -1
  42. package/dist/cli/commands/oauth2client/transform.d.mts +1 -0
  43. package/dist/cli/commands/organization/folder/create.d.mts +0 -1
  44. package/dist/cli/commands/organization/folder/delete.d.mts +0 -1
  45. package/dist/cli/commands/organization/folder/get.d.mts +0 -1
  46. package/dist/cli/commands/organization/folder/list.d.mts +0 -1
  47. package/dist/cli/commands/organization/folder/update.d.mts +0 -1
  48. package/dist/cli/commands/organization/get.d.mts +0 -1
  49. package/dist/cli/commands/organization/list.d.mts +0 -1
  50. package/dist/cli/commands/organization/transform.d.mts +2 -0
  51. package/dist/cli/commands/organization/tree.d.mts +0 -1
  52. package/dist/cli/commands/organization/update.d.mts +0 -1
  53. package/dist/cli/commands/remove.d.mts +0 -1
  54. package/dist/cli/commands/show.d.mts +9 -4
  55. package/dist/cli/commands/tailordb/migrate/config.d.mts +0 -1
  56. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +16 -3
  57. package/dist/cli/commands/tailordb/migrate/generate.d.mts +0 -1
  58. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +6 -0
  59. package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +1 -1
  60. package/dist/cli/commands/tailordb/truncate.d.mts +0 -1
  61. package/dist/cli/commands/workflow/executions.d.mts +0 -1
  62. package/dist/cli/commands/workflow/get.d.mts +2 -1
  63. package/dist/cli/commands/workflow/list.d.mts +0 -1
  64. package/dist/cli/commands/workflow/resume.d.mts +0 -1
  65. package/dist/cli/commands/workflow/start.d.mts +0 -1
  66. package/dist/cli/commands/workflow/status.d.mts +1 -0
  67. package/dist/cli/commands/workflow/transform.d.mts +1 -0
  68. package/dist/cli/commands/workflow/wait.d.mts +0 -1
  69. package/dist/cli/commands/workflow/waiter.d.mts +1 -1
  70. package/dist/cli/commands/workspace/app/health.d.mts +0 -1
  71. package/dist/cli/commands/workspace/app/list.d.mts +0 -1
  72. package/dist/cli/commands/workspace/app/transform.d.mts +2 -0
  73. package/dist/cli/commands/workspace/create.d.mts +0 -1
  74. package/dist/cli/commands/workspace/delete.d.mts +0 -1
  75. package/dist/cli/commands/workspace/get.d.mts +0 -1
  76. package/dist/cli/commands/workspace/list.d.mts +0 -1
  77. package/dist/cli/commands/workspace/restore.d.mts +0 -1
  78. package/dist/cli/commands/workspace/transform.d.mts +2 -0
  79. package/dist/cli/commands/workspace/user/invite.d.mts +0 -1
  80. package/dist/cli/commands/workspace/user/list.d.mts +0 -1
  81. package/dist/cli/commands/workspace/user/remove.d.mts +0 -1
  82. package/dist/cli/commands/workspace/user/transform.d.mts +1 -0
  83. package/dist/cli/commands/workspace/user/update.d.mts +0 -1
  84. package/dist/cli/index.d.mts +6 -3
  85. package/dist/cli/index.mjs +273 -104
  86. package/dist/cli/index.mjs.map +1 -1
  87. package/dist/cli/lib.d.mts +4 -2
  88. package/dist/cli/lib.mjs +4 -4
  89. package/dist/cli/lib.mjs.map +1 -1
  90. package/dist/cli/query/index.d.mts +4 -1
  91. package/dist/cli/services/application.d.mts +12 -1
  92. package/dist/cli/services/auth/service.d.mts +2 -0
  93. package/dist/cli/services/executor/service.d.mts +1 -1
  94. package/dist/cli/services/http-adapter/bundler.d.mts +3 -1
  95. package/dist/cli/services/http-adapter/service.d.mts +2 -1
  96. package/dist/cli/services/resolver/service.d.mts +1 -1
  97. package/dist/cli/services/tailordb/service.d.mts +3 -1
  98. package/dist/cli/services/workflow/bundler.d.mts +2 -1
  99. package/dist/cli/services/workflow/service.d.mts +1 -1
  100. package/dist/cli/shared/args.d.mts +1 -1
  101. package/dist/cli/shared/client.d.mts +1 -1
  102. package/dist/cli/shared/config-loader.d.mts +0 -1
  103. package/dist/cli/shared/context.d.mts +2 -1
  104. package/dist/cli/shared/script-executor.d.mts +0 -1
  105. package/dist/cli/shared/seed-chunker.d.mts +7 -3
  106. package/dist/cli/shared/type-generator.d.mts +0 -1
  107. package/dist/cli/ts-hook.mjs +43 -13
  108. package/dist/completion/zsh-worker.zsh +10 -10
  109. package/dist/configure/config/index.d.mts +0 -1
  110. package/dist/configure/config/types.d.mts +3 -1
  111. package/dist/configure/index.d.mts +17 -5
  112. package/dist/configure/index.mjs +309 -5
  113. package/dist/configure/index.mjs.map +1 -1
  114. package/dist/configure/services/aigateway/index.d.mts +0 -1
  115. package/dist/configure/services/aigateway/types.d.mts +0 -1
  116. package/dist/configure/services/auth/index.d.mts +0 -1
  117. package/dist/configure/services/auth/types.d.mts +15 -14
  118. package/dist/configure/services/executor/executor.d.mts +1 -1
  119. package/dist/configure/services/executor/index.d.mts +1 -0
  120. package/dist/configure/services/executor/operation.d.mts +2 -2
  121. package/dist/configure/services/executor/trigger/event.d.mts +0 -1
  122. package/dist/configure/services/executor/trigger/index.d.mts +0 -1
  123. package/dist/configure/services/executor/trigger/schedule.d.mts +0 -1
  124. package/dist/configure/services/executor/trigger/webhook.d.mts +0 -1
  125. package/dist/configure/services/http-adapter/http-adapter.d.mts +1 -2
  126. package/dist/configure/services/idp/index.d.mts +1 -5
  127. package/dist/configure/services/idp/permission.d.mts +4 -5
  128. package/dist/configure/services/idp/types.d.mts +0 -1
  129. package/dist/configure/services/index.d.mts +8 -1
  130. package/dist/configure/services/resolver/resolver.d.mts +1 -0
  131. package/dist/configure/services/resolver/types.d.mts +0 -1
  132. package/dist/configure/services/secrets/index.d.mts +0 -1
  133. package/dist/configure/services/secrets/types.d.mts +0 -1
  134. package/dist/configure/services/staticwebsite/index.d.mts +0 -1
  135. package/dist/configure/services/staticwebsite/types.d.mts +0 -1
  136. package/dist/configure/services/tailordb/permission.d.mts +4 -5
  137. package/dist/configure/services/tailordb/schema.d.mts +104 -68
  138. package/dist/configure/services/tailordb/types.d.mts +66 -17
  139. package/dist/configure/services/workflow/execution-policy.d.mts +70 -0
  140. package/dist/configure/services/workflow/execution-policy.types.d.mts +103 -0
  141. package/dist/configure/services/workflow/index.d.mts +4 -1
  142. package/dist/configure/services/workflow/job.d.mts +7 -3
  143. package/dist/configure/services/workflow/wait-point.d.mts +0 -1
  144. package/dist/configure/services/workflow/workflow.d.mts +1 -1
  145. package/dist/configure/types/field-runtime.d.mts +0 -1
  146. package/dist/configure/types/field.d.mts +1 -2
  147. package/dist/configure/types/field.types.d.mts +6 -45
  148. package/dist/configure/types/index.d.mts +1 -0
  149. package/dist/configure/types/type.d.mts +1 -2
  150. package/dist/{context-Bd266-ru.mjs → context-DYQVYWqZ.mjs} +4 -5
  151. package/dist/{context-Bd266-ru.mjs.map → context-DYQVYWqZ.mjs.map} +1 -1
  152. package/dist/{file-BbdFGdMV.mjs → file-BUcmVIH2.mjs} +12 -14
  153. package/dist/file-BUcmVIH2.mjs.map +1 -0
  154. package/dist/{file-utils-CYZnO1pX.mjs → file-utils-yEiIS4nJ.mjs} +2 -2
  155. package/dist/file-utils-yEiIS4nJ.mjs.map +1 -0
  156. package/dist/{globals-DhwZj0RB.mjs → globals-BjhJJ2dN.mjs} +2 -2
  157. package/dist/globals-BjhJJ2dN.mjs.map +1 -0
  158. package/dist/iconv-QWaZh0TT.mjs +38 -0
  159. package/dist/iconv-QWaZh0TT.mjs.map +1 -0
  160. package/dist/{idp-Bx25ZBdN.mjs → idp-RA_swu-h.mjs} +4 -5
  161. package/dist/idp-RA_swu-h.mjs.map +1 -0
  162. package/dist/kysely/index.d.mts +3 -4
  163. package/dist/{kysely-type-5eAChaHO.mjs → kysely-type-DqIRgDYR.mjs} +4 -5
  164. package/dist/kysely-type-DqIRgDYR.mjs.map +1 -0
  165. package/dist/parser/service/auth/index.d.mts +1 -1
  166. package/dist/parser/service/auth/schema.d.mts +2 -0
  167. package/dist/parser/service/http-adapter/index.d.mts +1 -1
  168. package/dist/parser/service/idp/types.d.mts +1 -0
  169. package/dist/parser/service/tailordb/types.d.mts +6 -1
  170. package/dist/plugin/builtin/enum-constants/index.d.mts +0 -1
  171. package/dist/plugin/builtin/file-utils/index.d.mts +0 -1
  172. package/dist/plugin/builtin/file-utils/index.mjs +1 -1
  173. package/dist/plugin/builtin/kysely-type/index.d.mts +0 -1
  174. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  175. package/dist/plugin/builtin/seed/index.d.mts +0 -1
  176. package/dist/plugin/get-generated-type.d.mts +0 -1
  177. package/dist/plugin/manager.d.mts +2 -1
  178. package/dist/plugin/types.d.mts +0 -1
  179. package/dist/plugin/with-context.d.mts +0 -1
  180. package/dist/{register-ts-hook-ZpBacA07.mjs → register-ts-hook-BhzVkej0.mjs} +799 -446
  181. package/dist/register-ts-hook-BhzVkej0.mjs.map +1 -0
  182. package/dist/{registry-DH4m7eYo.mjs → registry-BSbq6SPo.mjs} +4 -3
  183. package/dist/registry-BSbq6SPo.mjs.map +1 -0
  184. package/dist/resource_pb-BRv7AMXK.mjs +49 -0
  185. package/dist/resource_pb-BRv7AMXK.mjs.map +1 -0
  186. package/dist/runtime/aigateway.d.mts +5 -15
  187. package/dist/runtime/aigateway.mjs +2 -2
  188. package/dist/runtime/authconnection.d.mts +5 -15
  189. package/dist/runtime/authconnection.mjs +2 -2
  190. package/dist/runtime/context.d.mts +14 -6
  191. package/dist/runtime/context.mjs +2 -2
  192. package/dist/runtime/file.d.mts +14 -54
  193. package/dist/runtime/file.mjs +2 -2
  194. package/dist/runtime/globals.d.mts +1 -2
  195. package/dist/runtime/iconv.d.mts +5 -53
  196. package/dist/runtime/iconv.mjs +2 -2
  197. package/dist/runtime/idp.d.mts +13 -70
  198. package/dist/runtime/idp.mjs +2 -2
  199. package/dist/runtime/index.d.mts +11 -12
  200. package/dist/runtime/index.mjs +9 -9
  201. package/dist/runtime/secretmanager.d.mts +7 -20
  202. package/dist/runtime/secretmanager.mjs +2 -2
  203. package/dist/runtime/types.d.mts +9 -4
  204. package/dist/runtime/workflow.d.mts +42 -41
  205. package/dist/runtime/workflow.mjs +2 -2
  206. package/dist/{schema-89dYxNC2.mjs → schema-iCd1ugGp.mjs} +257 -54
  207. package/dist/schema-iCd1ugGp.mjs.map +1 -0
  208. package/dist/secretmanager-CYlpffsz.mjs +13 -0
  209. package/dist/secretmanager-CYlpffsz.mjs.map +1 -0
  210. package/dist/seed/index.d.mts +3 -2
  211. package/dist/service-BT0GPd01.mjs +3 -0
  212. package/dist/{service-ufH7sS8o.mjs → service-CzZEVrp9.mjs} +14 -9
  213. package/dist/service-CzZEVrp9.mjs.map +1 -0
  214. package/dist/{service_pb-CIrhGwHk.mjs → service_pb-Bk7dL-yT.mjs} +27 -50
  215. package/dist/service_pb-Bk7dL-yT.mjs.map +1 -0
  216. package/dist/{service_pb-DjwIn4jO.mjs → service_pb-DZkfjB_6.mjs} +1 -1
  217. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +0 -1
  218. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +0 -1
  219. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +0 -1
  220. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +0 -1
  221. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +0 -1
  222. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +0 -1
  223. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +0 -1
  224. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +0 -1
  225. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +0 -1
  226. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +0 -1
  227. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +0 -1
  228. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +0 -1
  229. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +0 -1
  230. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +0 -1
  231. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +0 -1
  232. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +0 -1
  233. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +0 -1
  234. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +0 -1
  235. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +0 -1
  236. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +0 -1
  237. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +0 -1
  238. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +0 -1
  239. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +0 -1
  240. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +0 -1
  241. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +1 -2
  242. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +0 -1
  243. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +0 -1
  244. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +0 -1
  245. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +0 -1
  246. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +0 -1
  247. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +0 -1
  248. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +0 -1
  249. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +0 -1
  250. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +29 -10
  251. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +35 -2
  252. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +0 -1
  253. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +0 -1
  254. package/dist/types/aigateway.generated.d.mts +5 -2
  255. package/dist/types/auth-connection.generated.d.mts +24 -11
  256. package/dist/types/auth.generated.d.mts +115 -84
  257. package/dist/types/executor.generated.d.mts +76 -84
  258. package/dist/types/helpers.d.mts +7 -6
  259. package/dist/types/http-adapter.generated.d.mts +11 -5
  260. package/dist/types/idp.generated.d.mts +536 -524
  261. package/dist/types/resolver.generated.d.mts +26 -11
  262. package/dist/types/staticwebsite.generated.d.mts +7 -3
  263. package/dist/types/tailordb.generated.d.mts +57 -29
  264. package/dist/types/workflow.generated.d.mts +9 -4
  265. package/dist/utils/test/index.d.mts +1 -2
  266. package/dist/utils/test/index.mjs +36 -10
  267. package/dist/utils/test/index.mjs.map +1 -1
  268. package/dist/utils/test/mock.d.mts +0 -1
  269. package/dist/vitest/environment.mjs +1 -1
  270. package/dist/vitest/index.d.mts +1 -1
  271. package/dist/vitest/index.mjs +11 -11
  272. package/dist/vitest/index.mjs.map +1 -1
  273. package/dist/vitest/mock-kysely.d.mts +0 -1
  274. package/dist/vitest/mocks/aigateway.d.mts +2 -2
  275. package/dist/vitest/mocks/authconnection.d.mts +2 -2
  276. package/dist/vitest/mocks/idp.d.mts +2 -2
  277. package/dist/vitest/mocks/secretmanager.d.mts +3 -1
  278. package/dist/vitest/mocks/tailordb.d.mts +6 -3
  279. package/dist/vitest/mocks/workflow.d.mts +15 -8
  280. package/dist/vitest/setup.mjs +1 -1
  281. package/dist/vitest/workflow-local.d.mts +1 -0
  282. package/dist/workflow-GNuSnsTx.mjs +22 -0
  283. package/dist/workflow-GNuSnsTx.mjs.map +1 -0
  284. package/docs/cli/auth.md +3 -3
  285. package/docs/cli/setup.md +9 -9
  286. package/docs/cli-reference.md +7 -6
  287. package/docs/configuration.md +24 -0
  288. package/docs/migration/v2.md +317 -0
  289. package/docs/plugin/custom.md +4 -4
  290. package/docs/plugin/index.md +2 -2
  291. package/docs/runtime.md +4 -2
  292. package/docs/services/aigateway.md +2 -0
  293. package/docs/services/auth.md +2 -2
  294. package/docs/services/resolver.md +1 -1
  295. package/docs/services/tailordb-migration.md +1 -1
  296. package/docs/services/tailordb.md +125 -93
  297. package/docs/services/workflow.md +78 -0
  298. package/package.json +22 -22
  299. package/dist/aigateway-B3oZZE6v.mjs +0 -15
  300. package/dist/application-D2hSK1ZL.mjs +0 -3
  301. package/dist/application-eHp9jXld.mjs.map +0 -1
  302. package/dist/authconnection-BGQM8FZI.mjs +0 -15
  303. package/dist/authconnection-BGQM8FZI.mjs.map +0 -1
  304. package/dist/cli/shared/trigger-context.d.mts +0 -1
  305. package/dist/field-runtime-CAnh_oow.mjs +0 -183
  306. package/dist/field-runtime-CAnh_oow.mjs.map +0 -1
  307. package/dist/file-BbdFGdMV.mjs.map +0 -1
  308. package/dist/file-utils-CYZnO1pX.mjs.map +0 -1
  309. package/dist/globals-DhwZj0RB.mjs.map +0 -1
  310. package/dist/iconv-D2vi8G36.mjs +0 -63
  311. package/dist/iconv-D2vi8G36.mjs.map +0 -1
  312. package/dist/idp-Bx25ZBdN.mjs.map +0 -1
  313. package/dist/kysely-type-5eAChaHO.mjs.map +0 -1
  314. package/dist/register-ts-hook-ZpBacA07.mjs.map +0 -1
  315. package/dist/registry-DH4m7eYo.mjs.map +0 -1
  316. package/dist/rolldown-runtime-DXywRVcq.mjs +0 -20
  317. package/dist/schema-89dYxNC2.mjs.map +0 -1
  318. package/dist/secretmanager-BVxw3ih_.mjs +0 -24
  319. package/dist/secretmanager-BVxw3ih_.mjs.map +0 -1
  320. package/dist/service-CkIwEctX.mjs +0 -3
  321. package/dist/service-ufH7sS8o.mjs.map +0 -1
  322. package/dist/service_pb-CIrhGwHk.mjs.map +0 -1
  323. package/dist/types-C-lQ4se3.mjs +0 -4
  324. package/dist/types-CXF2OYdR.mjs +0 -199
  325. package/dist/types-CXF2OYdR.mjs.map +0 -1
  326. package/dist/workflow-Bo59B75H.mjs +0 -50
  327. package/dist/workflow-Bo59B75H.mjs.map +0 -1
@@ -1,3 +1,3 @@
1
- import { i as file_tailor_v1_service, n as PingRequestSchema, r as PingResponseSchema, t as OperatorService } from "./service_pb-CIrhGwHk.mjs";
1
+ import { i as file_tailor_v1_service, n as PingRequestSchema, r as PingResponseSchema, t as OperatorService } from "./service_pb-Bk7dL-yT.mjs";
2
2
 
3
3
  export { OperatorService, PingRequestSchema, PingResponseSchema, file_tailor_v1_service };
@@ -3,7 +3,6 @@ import { AIGateway } from "./aigateway_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  import { FieldMask } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/aigateway_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.CreateAIGatewayRequest
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/aigateway_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.AIGateway
@@ -4,7 +4,6 @@ import { Application, ApplicationSchemaUpdateAttempt, Subgraph } from "./applica
4
4
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
5
  import { Message } from "@bufbuild/protobuf";
6
6
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
7
-
8
7
  //#region ../tailor-proto/src/tailor/v1/application_pb.d.ts
9
8
  /**
10
9
  * @generated from message tailor.v1.CreateApplicationRequest
@@ -2,7 +2,6 @@ import { HttpAdapter } from "./http_adapter_resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/application_resource_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.Application
@@ -3,7 +3,6 @@ import { AuthConnection, AuthHook, AuthHookPoint, AuthIDPConfig, AuthOAuth2Clien
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  import { FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/auth_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.CreateAuthServiceRequest
@@ -3,7 +3,6 @@ import { SecretValue } from "./secret_manager_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  import { Duration, Timestamp, Value } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/auth_resource_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.AuthService
@@ -2,7 +2,6 @@ import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { ControlplaneActivityLog, DataplaneEvent } from "./events_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/events_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.ListDataplaneEventsRequest
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { JsonObject, Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/events_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.DataplaneEvent
@@ -2,7 +2,6 @@ import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { ExecutorExecutor, ExecutorIncomingWebhook, ExecutorJob, ExecutorJobAttempt } from "./executor_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { JsonObject, Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/executor_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreateExecutorExecutorRequest
@@ -4,7 +4,6 @@ import { AuthInvoker } from "./auth_resource_pb.mjs";
4
4
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
5
  import { JsonObject, Message } from "@bufbuild/protobuf";
6
6
  import { Timestamp } from "@bufbuild/protobuf/wkt";
7
-
8
7
  //#region ../tailor-proto/src/tailor/v1/executor_resource_pb.d.ts
9
8
  /**
10
9
  * @generated from message tailor.v1.ExecutorExecutor
@@ -3,7 +3,6 @@ import { AuthInvoker } from "./auth_resource_pb.mjs";
3
3
  import { FunctionExecution } from "./function_resource_pb.mjs";
4
4
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
5
  import { Message } from "@bufbuild/protobuf";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/function_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.TestExecScriptRequest
@@ -2,7 +2,6 @@ import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/function_registry_pb.d.ts
7
6
  /**
8
7
  * FunctionRegistry represents a registered function in the registry.
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/function_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.FunctionErrorInfo
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.HttpAdapter
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { IdPClient, IdPDisableGqlOperations, IdPEmailConfig, IdPLang, IdPPermission, IdPService, IdPUserAuthPolicy } from "./idp_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/idp_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.ListIdPServicesRequest
@@ -2,7 +2,6 @@ import { Namespace } from "./resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Value } from "@bufbuild/protobuf/wkt";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/idp_resource_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.IdPService
@@ -1,7 +1,6 @@
1
1
  import { Metadata } from "./metadata_resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/metadata_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.SetMetadataRequest
@@ -1,6 +1,5 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
-
4
3
  //#region ../tailor-proto/src/tailor/v1/metadata_resource_pb.d.ts
5
4
  /**
6
5
  * @generated from message tailor.v1.Metadata
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/meter_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.ListMeterRequestCountsRequest
@@ -2,7 +2,6 @@ import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { PipelineResolver, PipelineResolverExecutionResult, PipelineService } from "./pipeline_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/pipeline_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreatePipelineServiceRequest
@@ -3,7 +3,6 @@ import { AuthInvoker } from "./auth_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { JsonObject, Message } from "@bufbuild/protobuf";
5
5
  import { Timestamp } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/pipeline_resource_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.PipelineService
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Value } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.Namespace
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { SecretManagerSecret, SecretManagerVault } from "./secret_manager_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/secret_manager_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreateSecretManagerVaultRequest
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.SecretManagerVault
@@ -18,7 +18,6 @@ import { GetMetadataRequestSchema, GetMetadataResponseSchema, SetMetadataRequest
18
18
  import { CreateOTLPExporterRequestSchema, CreateOTLPExporterResponseSchema, CreateResourceAttributesConfigRequestSchema, CreateResourceAttributesConfigResponseSchema, DeleteOTLPExporterRequestSchema, DeleteOTLPExporterResponseSchema, DeleteResourceAttributesConfigRequestSchema, DeleteResourceAttributesConfigResponseSchema, GetOTLPExporterRequestSchema, GetOTLPExporterResponseSchema, GetResourceAttributesConfigRequestSchema, GetResourceAttributesConfigResponseSchema, ListOTLPExportersRequestSchema, ListOTLPExportersResponseSchema, TestOTLPExporterRequestSchema, TestOTLPExporterResponseSchema, UpdateOTLPExporterRequestSchema, UpdateOTLPExporterResponseSchema, UpdateResourceAttributesConfigRequestSchema, UpdateResourceAttributesConfigResponseSchema } from "./telemetryrouter_pb.mjs";
19
19
  import { GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
20
20
  import { Message } from "@bufbuild/protobuf";
21
-
22
21
  //#region ../tailor-proto/src/tailor/v1/service_pb.d.ts
23
22
  /**
24
23
  * @generated from message tailor.v1.PingRequest
@@ -3238,7 +3237,7 @@ declare const OperatorService: GenService<{
3238
3237
  output: typeof DeleteWorkflowJobFunctionExecutionPolicyResponseSchema;
3239
3238
  };
3240
3239
  /**
3241
- * GetWorkflowJobFunctionExecutionPolicy returns a workflow job function execution policy.
3240
+ * GetWorkflowJobFunctionExecutionPolicy returns a workflow job function execution policy by name.
3242
3241
  *
3243
3242
  * [Errors]
3244
3243
  * - Unauthenticated: token is missing, expired, or invalid
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { StateflowService } from "./stateflow_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/stateflow_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreateStateflowServiceRequest
@@ -1,7 +1,6 @@
1
1
  import { Namespace } from "./resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/stateflow_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.StateflowService
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { CustomDomain, StaticWebsite } from "./staticwebsite_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/staticwebsite_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreateStaticWebsiteRequest
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.StaticWebsite
@@ -3,7 +3,6 @@ import { TailorDBGQLPermission, TailorDBService, TailorDBType } from "./tailordb
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  import { FieldMask } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/tailordb_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.ComposeTailorDBSDLRequest
@@ -2,7 +2,6 @@ import { Namespace, Script } from "./resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Value } from "@bufbuild/protobuf/wkt";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/tailordb_resource_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.TailorDBService
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
2
2
  import { OTLPExporter, ResourceAttributesConfig } from "./telemetryrouter_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/telemetryrouter_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.CreateOTLPExporterRequest
@@ -2,7 +2,6 @@ import { SecretValue } from "./secret_manager_resource_pb.mjs";
2
2
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Message } from "@bufbuild/protobuf";
4
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
5
-
6
5
  //#region ../tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.ts
7
6
  /**
8
7
  * @generated from message tailor.v1.OTLPExporter
@@ -1,9 +1,8 @@
1
1
  import { Filter, PageDirection } from "./resource_pb.mjs";
2
2
  import { AuthInvoker } from "./auth_resource_pb.mjs";
3
- import { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy } from "./workflow_resource_pb.mjs";
3
+ import { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy, WorkflowJobFunctionSummary } from "./workflow_resource_pb.mjs";
4
4
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
5
  import { Message } from "@bufbuild/protobuf";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/workflow_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.CreateWorkflowRequest
@@ -450,9 +449,16 @@ declare const ListWorkflowJobFunctionsRequestSchema: GenMessage<ListWorkflowJobF
450
449
  */
451
450
  declare type ListWorkflowJobFunctionsResponse = Message<"tailor.v1.ListWorkflowJobFunctionsResponse"> & {
452
451
  /**
453
- * @generated from field: repeated tailor.v1.WorkflowJobFunction job_functions = 1;
452
+ * Returns the lightweight WorkflowJobFunctionSummary projection (no script /
453
+ * script_ref) so workspace-wide listings do not have to materialise multi-MB
454
+ * payloads. Field tags match WorkflowJobFunction, so the change is wire
455
+ * compatible for clients that only read id / name / version / created_at.
456
+ * Use GetWorkflowJobFunction / GetWorkflowJobFunctionByName to fetch the
457
+ * script body for a specific job function.
458
+ *
459
+ * @generated from field: repeated tailor.v1.WorkflowJobFunctionSummary job_functions = 1;
454
460
  */
455
- jobFunctions: WorkflowJobFunction[];
461
+ jobFunctions: WorkflowJobFunctionSummary[];
456
462
  /**
457
463
  * @generated from field: string next_page_token = 2;
458
464
  */
@@ -636,6 +642,10 @@ declare type CreateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v
636
642
  */
637
643
  workspaceId: string;
638
644
  /**
645
+ * 2..64 chars, starts with [a-z0-9], middle from [a-z0-9_:.-], last char
646
+ * is [a-z0-9] or `*` (trailing-wildcard form). Platform does not assign
647
+ * meaning to the prefix's tail character; the caller decides.
648
+ *
639
649
  * @generated from field: string execution_policy_key = 2;
640
650
  */
641
651
  executionPolicyKey: string;
@@ -643,6 +653,10 @@ declare type CreateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v
643
653
  * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
644
654
  */
645
655
  concurrencyPolicy?: ConcurrencyPolicy;
656
+ /**
657
+ * @generated from field: string execution_policy_name = 4;
658
+ */
659
+ executionPolicyName: string;
646
660
  };
647
661
  /**
648
662
  * Describes the message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest.
@@ -672,9 +686,9 @@ declare type UpdateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v
672
686
  */
673
687
  workspaceId: string;
674
688
  /**
675
- * @generated from field: string execution_policy_key = 2;
689
+ * @generated from field: string execution_policy_name = 2;
676
690
  */
677
- executionPolicyKey: string;
691
+ executionPolicyName: string;
678
692
  /**
679
693
  * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
680
694
  */
@@ -708,9 +722,9 @@ declare type DeleteWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v
708
722
  */
709
723
  workspaceId: string;
710
724
  /**
711
- * @generated from field: string id = 2;
725
+ * @generated from field: string execution_policy_name = 2;
712
726
  */
713
- id: string;
727
+ executionPolicyName: string;
714
728
  };
715
729
  /**
716
730
  * Describes the message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest.
@@ -735,9 +749,9 @@ declare type GetWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.G
735
749
  */
736
750
  workspaceId: string;
737
751
  /**
738
- * @generated from field: string id = 2;
752
+ * @generated from field: string execution_policy_name = 2;
739
753
  */
740
- id: string;
754
+ executionPolicyName: string;
741
755
  };
742
756
  /**
743
757
  * Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest.
@@ -767,6 +781,11 @@ declare type GetWorkflowJobFunctionExecutionPolicyByKeyRequest = Message<"tailor
767
781
  */
768
782
  workspaceId: string;
769
783
  /**
784
+ * Looks up a policy by its declared key (exact or wildcard form). Pass the
785
+ * wildcard pattern literal (e.g. `tenant-api*`) to fetch a wildcard
786
+ * policy; concrete keys do not resolve here, the dispatch path uses
787
+ * prefix resolution instead.
788
+ *
770
789
  * @generated from field: string execution_policy_key = 2;
771
790
  */
772
791
  executionPolicyKey: string;
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/workflow_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.WorkflowJobFunction
@@ -34,6 +33,33 @@ declare type WorkflowJobFunction = Message<"tailor.v1.WorkflowJobFunction"> & {
34
33
  */
35
34
  scriptRef?: string;
36
35
  };
36
+ /**
37
+ * WorkflowJobFunctionSummary is the lightweight projection of WorkflowJobFunction
38
+ * returned by list endpoints. Field tags are intentionally aligned with
39
+ * WorkflowJobFunction so clients generated against either message can decode
40
+ * the other on the wire. The heavy `script` (tag 3) and `script_ref` (tag 6)
41
+ * fields are omitted; callers that need them must use the Get* endpoints.
42
+ *
43
+ * @generated from message tailor.v1.WorkflowJobFunctionSummary
44
+ */
45
+ declare type WorkflowJobFunctionSummary = Message<"tailor.v1.WorkflowJobFunctionSummary"> & {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id: string;
50
+ /**
51
+ * @generated from field: string name = 2;
52
+ */
53
+ name: string;
54
+ /**
55
+ * @generated from field: int64 version = 4;
56
+ */
57
+ version: bigint;
58
+ /**
59
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
60
+ */
61
+ createdAt?: Timestamp;
62
+ };
37
63
  /**
38
64
  * @generated from message tailor.v1.ConcurrencyPolicy
39
65
  */
@@ -137,6 +163,13 @@ declare type WorkflowJobFunctionExecutionPolicy = Message<"tailor.v1.WorkflowJob
137
163
  * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 5;
138
164
  */
139
165
  concurrencyPolicy?: ConcurrencyPolicy;
166
+ /**
167
+ * Distinct from execution_policy_key. Future policy shapes with
168
+ * wildcard-like keys can still expose a well-formed name here.
169
+ *
170
+ * @generated from field: string name = 6;
171
+ */
172
+ name: string;
140
173
  };
141
174
  /**
142
175
  * @generated from message tailor.v1.WorkflowJobExecution
@@ -273,4 +306,4 @@ declare enum WorkflowExecution_Status {
273
306
  WAITING = 7
274
307
  }
275
308
  //#endregion
276
- export { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowExecution_Status, WorkflowJobExecution, WorkflowJobExecution_Status, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy };
309
+ export { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowExecution_Status, WorkflowJobExecution, WorkflowJobExecution_Status, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy, WorkflowJobFunctionSummary };
@@ -3,7 +3,6 @@ import { PageDirection } from "./resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
6
-
7
6
  //#region ../tailor-proto/src/tailor/v1/workspace_pb.d.ts
8
7
  /**
9
8
  * @generated from message tailor.v1.ListAvailableWorkspaceRegionsRequest
@@ -1,7 +1,6 @@
1
1
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
-
5
4
  //#region ../tailor-proto/src/tailor/v1/workspace_resource_pb.d.ts
6
5
  /**
7
6
  * @generated from message tailor.v1.Organization
@@ -1,7 +1,10 @@
1
1
  //#region src/types/aigateway.generated.d.ts
2
2
  type AIGateway = {
3
- /** AI Gateway name */name: string; /** Auth namespace used to resolve request tokens against the workspace's auth */
4
- authNamespace: string; /** Allowed CORS origins for browser-based clients. Each entry is `*`, `http(s)://*`, `http(s)://*.example.com`, or `http(s)://app.example.com`, optionally with `:port`. Empty list disables cross-origin access. */
3
+ /** AI Gateway name */
4
+ name: string;
5
+ /** Auth namespace used to resolve request tokens against the workspace's auth */
6
+ authNamespace: string;
7
+ /** Allowed CORS origins for browser-based clients. Each entry is `*`, `http(s)://*`, `http(s)://*.example.com`, or `http(s)://app.example.com`, optionally with `:port`. Empty list disables cross-origin access. */
5
8
  cors?: string[] | undefined;
6
9
  };
7
10
  type AIGatewayInput = AIGateway;
@@ -1,19 +1,32 @@
1
1
  //#region src/types/auth-connection.generated.d.ts
2
2
  type AuthConnectionOAuth2Config = {
3
- /** OAuth2 provider URL */providerUrl: string; /** OAuth2 issuer URL */
4
- issuerUrl: string; /** OAuth2 client ID */
5
- clientId: string; /** OAuth2 client secret */
6
- clientSecret: string; /** OAuth2 authorization endpoint override */
7
- authUrl?: string | undefined; /** OAuth2 token endpoint override */
3
+ /** OAuth2 provider URL */
4
+ providerUrl: string;
5
+ /** OAuth2 issuer URL */
6
+ issuerUrl: string;
7
+ /** OAuth2 client ID */
8
+ clientId: string;
9
+ /** OAuth2 client secret */
10
+ clientSecret: string;
11
+ /** OAuth2 authorization endpoint override */
12
+ authUrl?: string | undefined;
13
+ /** OAuth2 token endpoint override */
8
14
  tokenUrl?: string | undefined;
9
15
  };
10
16
  type AuthConnectionConfig = {
11
- /** OAuth2 provider URL */providerUrl: string; /** OAuth2 issuer URL */
12
- issuerUrl: string; /** OAuth2 client ID */
13
- clientId: string; /** OAuth2 client secret */
14
- clientSecret: string; /** Connection type */
15
- type: "oauth2"; /** OAuth2 authorization endpoint override */
16
- authUrl?: string | undefined; /** OAuth2 token endpoint override */
17
+ /** OAuth2 provider URL */
18
+ providerUrl: string;
19
+ /** OAuth2 issuer URL */
20
+ issuerUrl: string;
21
+ /** OAuth2 client ID */
22
+ clientId: string;
23
+ /** OAuth2 client secret */
24
+ clientSecret: string;
25
+ /** Connection type */
26
+ type: "oauth2";
27
+ /** OAuth2 authorization endpoint override */
28
+ authUrl?: string | undefined;
29
+ /** OAuth2 token endpoint override */
17
30
  tokenUrl?: string | undefined;
18
31
  };
19
32
  //#endregion