@tailor-platform/sdk 1.71.0 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/aigateway-B3oZZE6v.mjs +15 -0
  3. package/dist/aigateway-B3oZZE6v.mjs.map +1 -0
  4. package/dist/application-BhRnH42h.mjs +3 -0
  5. package/dist/{application-DmjIKQ-a.mjs → application-Dxhdq_nu.mjs} +21 -19
  6. package/dist/application-Dxhdq_nu.mjs.map +1 -0
  7. package/dist/{assert-CKfwrmCV.mjs → assert-DBxo8jPo.mjs} +1 -2
  8. package/dist/{assert-CKfwrmCV.mjs.map → assert-DBxo8jPo.mjs.map} +1 -1
  9. package/dist/{authconnection-D7lsvsKY.mjs → authconnection-BGQM8FZI.mjs} +2 -3
  10. package/dist/{authconnection-D7lsvsKY.mjs.map → authconnection-BGQM8FZI.mjs.map} +1 -1
  11. package/dist/{brand-DlnJ375c.mjs → brand-Eo4pLXPJ.mjs} +1 -2
  12. package/dist/{brand-DlnJ375c.mjs.map → brand-Eo4pLXPJ.mjs.map} +1 -1
  13. package/dist/cli/cache/bundle-cache.d.mts +1 -0
  14. package/dist/cli/cache/store.d.mts +1 -0
  15. package/dist/cli/cache/types.d.mts +1 -0
  16. package/dist/cli/commands/api/api-call.d.mts +19 -0
  17. package/dist/cli/commands/api/index.d.mts +3 -0
  18. package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
  19. package/dist/cli/commands/deploy/application.d.mts +1 -0
  20. package/dist/cli/commands/deploy/auth.d.mts +1 -0
  21. package/dist/cli/commands/deploy/deploy.d.mts +24 -0
  22. package/dist/cli/commands/deploy/executor.d.mts +1 -0
  23. package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
  24. package/dist/cli/commands/deploy/function-registry.d.mts +2 -0
  25. package/dist/cli/commands/deploy/idp.d.mts +1 -0
  26. package/dist/cli/commands/deploy/resolver.d.mts +1 -0
  27. package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
  28. package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
  29. package/dist/cli/commands/deploy/tailordb/index.d.mts +1 -0
  30. package/dist/cli/commands/deploy/types.d.mts +1 -0
  31. package/dist/cli/commands/deploy/workflow.d.mts +1 -0
  32. package/dist/cli/commands/executor/get.d.mts +29 -0
  33. package/dist/cli/commands/executor/jobs.d.mts +123 -0
  34. package/dist/cli/commands/executor/list.d.mts +19 -0
  35. package/dist/cli/commands/executor/transform.d.mts +41 -0
  36. package/dist/cli/commands/executor/trigger.d.mts +41 -0
  37. package/dist/cli/commands/executor/webhook.d.mts +22 -0
  38. package/dist/cli/commands/function/get.d.mts +18 -0
  39. package/dist/cli/commands/function/list.d.mts +22 -0
  40. package/dist/cli/commands/function/transform.d.mts +11 -0
  41. package/dist/cli/commands/generate/options.d.mts +7 -0
  42. package/dist/cli/commands/generate/seed/bundler.d.mts +26 -0
  43. package/dist/cli/commands/generate/service.d.mts +12 -0
  44. package/dist/cli/commands/generate/types.d.mts +126 -0
  45. package/dist/cli/commands/machineuser/list.d.mts +27 -0
  46. package/dist/cli/commands/machineuser/token.d.mts +22 -0
  47. package/dist/cli/commands/oauth2client/get.d.mts +18 -0
  48. package/dist/cli/commands/oauth2client/list.d.mts +20 -0
  49. package/dist/cli/commands/oauth2client/transform.d.mts +20 -0
  50. package/dist/cli/commands/organization/folder/create.d.mts +18 -0
  51. package/dist/cli/commands/organization/folder/delete.d.mts +16 -0
  52. package/dist/cli/commands/organization/folder/get.d.mts +17 -0
  53. package/dist/cli/commands/organization/folder/list.d.mts +22 -0
  54. package/dist/cli/commands/organization/folder/update.d.mts +18 -0
  55. package/dist/cli/commands/organization/get.d.mts +16 -0
  56. package/dist/cli/commands/organization/list.d.mts +15 -0
  57. package/dist/cli/commands/organization/transform.d.mts +27 -0
  58. package/dist/cli/commands/organization/tree.d.mts +25 -0
  59. package/dist/cli/commands/organization/update.d.mts +17 -0
  60. package/dist/cli/commands/remove.d.mts +16 -0
  61. package/dist/cli/commands/show.d.mts +34 -0
  62. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +28 -0
  63. package/dist/cli/commands/tailordb/migrate/config.d.mts +19 -0
  64. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +211 -0
  65. package/dist/cli/commands/tailordb/migrate/generate.d.mts +17 -0
  66. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +202 -0
  67. package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +113 -0
  68. package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
  69. package/dist/cli/commands/tailordb/truncate.d.mts +19 -0
  70. package/dist/cli/commands/workflow/executions.d.mts +75 -0
  71. package/dist/cli/commands/workflow/get.d.mts +29 -0
  72. package/dist/cli/commands/workflow/list.d.mts +19 -0
  73. package/dist/cli/commands/workflow/resume.d.mts +23 -0
  74. package/dist/cli/commands/workflow/start.d.mts +63 -0
  75. package/dist/cli/commands/workflow/status.d.mts +5 -0
  76. package/dist/cli/commands/workflow/transform.d.mts +33 -0
  77. package/dist/cli/commands/workflow/wait.d.mts +16 -0
  78. package/dist/cli/commands/workflow/waiter.d.mts +23 -0
  79. package/dist/cli/commands/workspace/app/health.d.mts +18 -0
  80. package/dist/cli/commands/workspace/app/list.d.mts +22 -0
  81. package/dist/cli/commands/workspace/app/transform.d.mts +18 -0
  82. package/dist/cli/commands/workspace/create.d.mts +25 -0
  83. package/dist/cli/commands/workspace/delete.d.mts +15 -0
  84. package/dist/cli/commands/workspace/get.d.mts +17 -0
  85. package/dist/cli/commands/workspace/list.d.mts +17 -0
  86. package/dist/cli/commands/workspace/restore.d.mts +15 -0
  87. package/dist/cli/commands/workspace/transform.d.mts +16 -0
  88. package/dist/cli/commands/workspace/user/invite.d.mts +22 -0
  89. package/dist/cli/commands/workspace/user/list.d.mts +22 -0
  90. package/dist/cli/commands/workspace/user/remove.d.mts +17 -0
  91. package/dist/cli/commands/workspace/user/transform.d.mts +8 -0
  92. package/dist/cli/commands/workspace/user/update.d.mts +22 -0
  93. package/dist/cli/index.d.mts +1 -2
  94. package/dist/cli/index.mjs +801 -206
  95. package/dist/cli/index.mjs.map +1 -1
  96. package/dist/cli/lib.d.mts +80 -21402
  97. package/dist/cli/lib.mjs +8 -9
  98. package/dist/cli/lib.mjs.map +1 -1
  99. package/dist/cli/query/index.d.mts +35 -0
  100. package/dist/cli/services/application.d.mts +1 -0
  101. package/dist/cli/services/auth/service.d.mts +1 -0
  102. package/dist/cli/services/executor/service.d.mts +1 -0
  103. package/dist/cli/services/http-adapter/bundler.d.mts +1 -0
  104. package/dist/cli/services/http-adapter/service.d.mts +1 -0
  105. package/dist/cli/services/resolver/service.d.mts +1 -0
  106. package/dist/cli/services/tailordb/service.d.mts +1 -0
  107. package/dist/cli/services/workflow/bundler.d.mts +1 -0
  108. package/dist/cli/services/workflow/service.d.mts +1 -0
  109. package/dist/cli/shared/args.d.mts +13 -0
  110. package/dist/cli/shared/client.d.mts +1273 -0
  111. package/dist/cli/shared/config-loader.d.mts +44 -0
  112. package/dist/cli/shared/context.d.mts +28 -0
  113. package/dist/cli/shared/script-executor.d.mts +74 -0
  114. package/dist/cli/shared/seed-chunker.d.mts +46 -0
  115. package/dist/cli/shared/trigger-context.d.mts +1 -0
  116. package/dist/cli/shared/type-generator.d.mts +20 -0
  117. package/dist/cli/skills.mjs +1 -2
  118. package/dist/cli/skills.mjs.map +1 -1
  119. package/dist/completion/zsh-worker.zsh +124 -25
  120. package/dist/configure/config/index.d.mts +29 -0
  121. package/dist/configure/config/types.d.mts +103 -0
  122. package/dist/configure/index.d.mts +125 -7
  123. package/dist/configure/index.mjs +5 -6
  124. package/dist/configure/index.mjs.map +1 -1
  125. package/dist/configure/services/aigateway/index.d.mts +17 -0
  126. package/dist/configure/services/aigateway/types.d.mts +11 -0
  127. package/dist/configure/services/auth/index.d.mts +43 -0
  128. package/dist/{types-v_ErzNUF.d.mts → configure/services/auth/types.d.mts} +7 -172
  129. package/dist/configure/services/executor/executor.d.mts +82 -0
  130. package/dist/configure/services/executor/index.d.mts +8 -0
  131. package/dist/configure/services/executor/operation.d.mts +46 -0
  132. package/dist/configure/services/executor/trigger/event.d.mts +272 -0
  133. package/dist/configure/services/executor/trigger/index.d.mts +8 -0
  134. package/dist/configure/services/executor/trigger/schedule.d.mts +25 -0
  135. package/dist/configure/services/executor/trigger/webhook.d.mts +44 -0
  136. package/dist/configure/services/executor/types.d.mts +2 -0
  137. package/dist/configure/services/http-adapter/http-adapter.d.mts +125 -0
  138. package/dist/configure/services/http-adapter/index.d.mts +2 -0
  139. package/dist/configure/services/idp/index.d.mts +64 -0
  140. package/dist/configure/services/idp/permission.d.mts +80 -0
  141. package/dist/configure/services/idp/types.d.mts +20 -0
  142. package/dist/configure/services/index.d.mts +33 -0
  143. package/dist/configure/services/resolver/index.d.mts +5 -0
  144. package/dist/configure/services/resolver/resolver.d.mts +77 -0
  145. package/dist/configure/services/resolver/types.d.mts +6 -0
  146. package/dist/configure/services/secrets/index.d.mts +38 -0
  147. package/dist/configure/services/secrets/types.d.mts +11 -0
  148. package/dist/configure/services/staticwebsite/index.d.mts +19 -0
  149. package/dist/configure/services/staticwebsite/types.d.mts +11 -0
  150. package/dist/configure/services/tailordb/index.d.mts +4 -0
  151. package/dist/configure/services/tailordb/permission.d.mts +119 -0
  152. package/dist/configure/services/tailordb/schema.d.mts +451 -0
  153. package/dist/configure/services/tailordb/types.d.mts +149 -0
  154. package/dist/configure/services/workflow/index.d.mts +7 -0
  155. package/dist/configure/services/workflow/job.d.mts +81 -0
  156. package/dist/configure/services/workflow/test-env-key.d.mts +9 -0
  157. package/dist/configure/services/workflow/types.d.mts +2 -0
  158. package/dist/configure/services/workflow/wait-point.d.mts +73 -0
  159. package/dist/configure/services/workflow/workflow.d.mts +55 -0
  160. package/dist/configure/types/aigateway-name.d.mts +12 -0
  161. package/dist/configure/types/connection-name.d.mts +12 -0
  162. package/dist/configure/types/field.d.mts +9 -0
  163. package/dist/configure/types/field.types.d.mts +109 -0
  164. package/dist/configure/types/idp-name.d.mts +12 -0
  165. package/dist/configure/types/index.d.mts +4 -0
  166. package/dist/configure/types/machine-user.d.mts +12 -0
  167. package/dist/configure/types/type.d.mts +99 -0
  168. package/dist/configure/user.d.mts +7 -0
  169. package/dist/{context-CDQqIv4u.mjs → context-Bd266-ru.mjs} +2 -3
  170. package/dist/{context-CDQqIv4u.mjs.map → context-Bd266-ru.mjs.map} +1 -1
  171. package/dist/{crashreport-BwF8cHF0.mjs → crashreport-Dy4ZzSkd.mjs} +1 -2
  172. package/dist/{crashreport-BqyvFk-_.mjs → crashreport-ayWANEZ6.mjs} +4 -5
  173. package/dist/{crashreport-BqyvFk-_.mjs.map → crashreport-ayWANEZ6.mjs.map} +1 -1
  174. package/dist/{enum-constants-C7DaWeQo.mjs → enum-constants-j9QBF0cB.mjs} +1 -2
  175. package/dist/{enum-constants-C7DaWeQo.mjs.map → enum-constants-j9QBF0cB.mjs.map} +1 -1
  176. package/dist/{errors-EsY4XO6O.mjs → errors-Dtf2WPaW.mjs} +1 -2
  177. package/dist/{errors-EsY4XO6O.mjs.map → errors-Dtf2WPaW.mjs.map} +1 -1
  178. package/dist/{field-C4zdJLW5.mjs → field-DOsJCPFa.mjs} +1 -2
  179. package/dist/{field-C4zdJLW5.mjs.map → field-DOsJCPFa.mjs.map} +1 -1
  180. package/dist/{file-BkxupbYP.mjs → file-_oUZo76X.mjs} +2 -3
  181. package/dist/{file-BkxupbYP.mjs.map → file-_oUZo76X.mjs.map} +1 -1
  182. package/dist/{file-utils-BHPxPXmn.mjs → file-utils-DcyIPFQh.mjs} +2 -3
  183. package/dist/{file-utils-BHPxPXmn.mjs.map → file-utils-DcyIPFQh.mjs.map} +1 -1
  184. package/dist/{globals-ByrCoDip.mjs → globals-B8XX5TRB.mjs} +3 -3
  185. package/dist/globals-B8XX5TRB.mjs.map +1 -0
  186. package/dist/{iconv-D1zmPjvi.mjs → iconv-D2vi8G36.mjs} +2 -3
  187. package/dist/{iconv-D1zmPjvi.mjs.map → iconv-D2vi8G36.mjs.map} +1 -1
  188. package/dist/{idp-ynUfzwpz.mjs → idp-Bx25ZBdN.mjs} +2 -3
  189. package/dist/{idp-ynUfzwpz.mjs.map → idp-Bx25ZBdN.mjs.map} +1 -1
  190. package/dist/{interceptor-DOqRkCya.mjs → interceptor-D-q1rvRl.mjs} +1 -2
  191. package/dist/{interceptor-DOqRkCya.mjs.map → interceptor-D-q1rvRl.mjs.map} +1 -1
  192. package/dist/{job-BpsFXPbi.mjs → job-CtU73PGa.mjs} +3 -4
  193. package/dist/{job-BpsFXPbi.mjs.map → job-CtU73PGa.mjs.map} +1 -1
  194. package/dist/kysely/index.d.mts +2 -3
  195. package/dist/kysely/index.mjs +0 -1
  196. package/dist/kysely/index.mjs.map +1 -1
  197. package/dist/{kysely-type-CSoZxVKN.mjs → kysely-type-D-zflMGf.mjs} +2 -3
  198. package/dist/{kysely-type-CSoZxVKN.mjs.map → kysely-type-D-zflMGf.mjs.map} +1 -1
  199. package/dist/{logger-DKF-JsAK.mjs → logger-BEiZZ3qT.mjs} +1 -2
  200. package/dist/{logger-DKF-JsAK.mjs.map → logger-BEiZZ3qT.mjs.map} +1 -1
  201. package/dist/{mock-wf5qeZLi.mjs → mock-Ce1GCi4-.mjs} +60 -5
  202. package/dist/mock-Ce1GCi4-.mjs.map +1 -0
  203. package/dist/{multiline-Cf9ODpr1.mjs → multiline-sfHpTZZK.mjs} +1 -2
  204. package/dist/{multiline-Cf9ODpr1.mjs.map → multiline-sfHpTZZK.mjs.map} +1 -1
  205. package/dist/{package-json-DcQApfPQ.mjs → package-json-8b0O9TlX.mjs} +1 -2
  206. package/dist/{package-json-DcQApfPQ.mjs.map → package-json-8b0O9TlX.mjs.map} +1 -1
  207. package/dist/package-json-Cv2Z-TqQ.mjs +3 -0
  208. package/dist/parser/generator-config/schema.d.mts +1 -0
  209. package/dist/parser/service/auth/index.d.mts +1 -0
  210. package/dist/parser/service/auth/schema.d.mts +1 -0
  211. package/dist/parser/service/http-adapter/index.d.mts +1 -0
  212. package/dist/parser/service/http-adapter/schema.d.mts +1 -0
  213. package/dist/parser/service/idp/types.d.mts +4 -0
  214. package/dist/parser/service/tailordb/types.d.mts +126 -0
  215. package/dist/plugin/builtin/enum-constants/index.d.mts +16 -1
  216. package/dist/plugin/builtin/enum-constants/index.mjs +1 -2
  217. package/dist/plugin/builtin/file-utils/index.d.mts +16 -1
  218. package/dist/plugin/builtin/file-utils/index.mjs +1 -2
  219. package/dist/plugin/builtin/kysely-type/index.d.mts +16 -1
  220. package/dist/plugin/builtin/kysely-type/index.mjs +1 -2
  221. package/dist/plugin/builtin/seed/index.d.mts +45 -1
  222. package/dist/plugin/builtin/seed/index.mjs +1 -2
  223. package/dist/plugin/get-generated-type.d.mts +17 -0
  224. package/dist/plugin/index.d.mts +3 -118
  225. package/dist/plugin/index.mjs +0 -1
  226. package/dist/plugin/index.mjs.map +1 -1
  227. package/dist/plugin/manager.d.mts +1 -0
  228. package/dist/plugin/types.d.mts +245 -0
  229. package/dist/plugin/with-context.d.mts +102 -0
  230. package/dist/{registry-D0uB0OrK.mjs → registry-BozuxbPp.mjs} +1 -2
  231. package/dist/{registry-D0uB0OrK.mjs.map → registry-BozuxbPp.mjs.map} +1 -1
  232. package/dist/{repl-editor-DD5YP5mt.mjs → repl-editor-BmQOyZJd.mjs} +2 -3
  233. package/dist/{repl-editor-DD5YP5mt.mjs.map → repl-editor-BmQOyZJd.mjs.map} +1 -1
  234. package/dist/{rolldown-runtime-BkoGK1jX.mjs → rolldown-runtime-DXywRVcq.mjs} +0 -1
  235. package/dist/runtime/aigateway.d.mts +35 -0
  236. package/dist/runtime/aigateway.mjs +3 -0
  237. package/dist/runtime/authconnection.d.mts +31 -2
  238. package/dist/runtime/authconnection.mjs +1 -2
  239. package/dist/runtime/context.d.mts +67 -2
  240. package/dist/runtime/context.mjs +1 -2
  241. package/dist/runtime/file.d.mts +249 -2
  242. package/dist/runtime/file.mjs +1 -2
  243. package/dist/runtime/globals.d.mts +31 -20
  244. package/dist/runtime/globals.mjs +0 -1
  245. package/dist/runtime/iconv.d.mts +121 -2
  246. package/dist/runtime/iconv.mjs +1 -2
  247. package/dist/runtime/idp.d.mts +186 -2
  248. package/dist/runtime/idp.mjs +1 -2
  249. package/dist/runtime/index.d.mts +47 -9
  250. package/dist/runtime/index.mjs +9 -9
  251. package/dist/runtime/secretmanager.d.mts +54 -2
  252. package/dist/runtime/secretmanager.mjs +1 -2
  253. package/dist/{types-DTcZ2Yax.d.mts → runtime/types.d.mts} +1 -2
  254. package/dist/runtime/workflow.d.mts +107 -2
  255. package/dist/runtime/workflow.mjs +2 -3
  256. package/dist/{runtime-Cd375HD-.mjs → runtime-CEFC05qX.mjs} +81 -130
  257. package/dist/runtime-CEFC05qX.mjs.map +1 -0
  258. package/dist/{schema-C4fkpWV_.mjs → schema-DAdZSFOd.mjs} +3 -4
  259. package/dist/{schema-C4fkpWV_.mjs.map → schema-DAdZSFOd.mjs.map} +1 -1
  260. package/dist/{secret-file-eB3R3Fil.mjs → secret-file-VSVGy1V0.mjs} +2 -3
  261. package/dist/{secret-file-eB3R3Fil.mjs.map → secret-file-VSVGy1V0.mjs.map} +1 -1
  262. package/dist/{secretmanager-h3tBJV8f.mjs → secretmanager-BVxw3ih_.mjs} +2 -3
  263. package/dist/{secretmanager-h3tBJV8f.mjs.map → secretmanager-BVxw3ih_.mjs.map} +1 -1
  264. package/dist/seed/index.d.mts +1 -2
  265. package/dist/seed/index.mjs +0 -1
  266. package/dist/seed/index.mjs.map +1 -1
  267. package/dist/{seed-YAbtMy65.mjs → seed-DoMTMLcm.mjs} +3 -4
  268. package/dist/{seed-YAbtMy65.mjs.map → seed-DoMTMLcm.mjs.map} +1 -1
  269. package/dist/service-BXmdFwSH.mjs +3 -0
  270. package/dist/{service-DDWgZL_L2.mjs → service-DBFZQloR.mjs} +3 -4
  271. package/dist/service-DBFZQloR.mjs.map +1 -0
  272. package/dist/{service-B2Jd9CxS.mjs → service-DiEtAsvc.mjs} +3 -4
  273. package/dist/{service-B2Jd9CxS.mjs.map → service-DiEtAsvc.mjs.map} +1 -1
  274. package/dist/{service_pb-BsBR6yW5.mjs → service_pb-CIrhGwHk.mjs} +1 -2
  275. package/dist/{service_pb-BsBR6yW5.mjs.map → service_pb-CIrhGwHk.mjs.map} +1 -1
  276. package/dist/{service_pb-BJ9GsAnW.mjs → service_pb-DjwIn4jO.mjs} +1 -2
  277. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +204 -0
  278. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +58 -0
  279. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +316 -0
  280. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +161 -0
  281. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2070 -0
  282. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +861 -0
  283. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +112 -0
  284. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +69 -0
  285. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +439 -0
  286. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +564 -0
  287. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +145 -0
  288. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +451 -0
  289. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +192 -0
  290. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +50 -0
  291. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +407 -0
  292. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +430 -0
  293. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +73 -0
  294. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +17 -0
  295. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +309 -0
  296. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +591 -0
  297. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +330 -0
  298. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +113 -0
  299. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +346 -0
  300. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +54 -0
  301. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3576 -0
  302. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +187 -0
  303. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +29 -0
  304. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +429 -0
  305. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +90 -0
  306. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +684 -0
  307. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +797 -0
  308. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +330 -0
  309. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +183 -0
  310. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +842 -0
  311. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +276 -0
  312. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2015 -0
  313. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +483 -0
  314. package/dist/{telemetry-BQbbVo2t.mjs → telemetry-CdqJEzkj.mjs} +2 -3
  315. package/dist/{telemetry-BQbbVo2t.mjs.map → telemetry-CdqJEzkj.mjs.map} +1 -1
  316. package/dist/telemetry-ClwW5ohF.mjs +3 -0
  317. package/dist/types/aigateway.generated.d.mts +9 -0
  318. package/dist/types/app-config.generated.d.mts +4 -0
  319. package/dist/types/auth-connection.generated.d.mts +20 -0
  320. package/dist/types/auth.generated.d.mts +150 -0
  321. package/dist/types/executor.generated.d.mts +177 -0
  322. package/dist/types/generator-config.generated.d.mts +28 -0
  323. package/dist/types/helpers.d.mts +39 -0
  324. package/dist/types/http-adapter.generated.d.mts +17 -0
  325. package/dist/types/idp.generated.d.mts +584 -0
  326. package/dist/types/resolver.generated.d.mts +38 -0
  327. package/dist/types/secrets.generated.d.mts +14 -0
  328. package/dist/types/staticwebsite.generated.d.mts +10 -0
  329. package/dist/{types-rj8YJcEe.d.mts → types/tailordb.generated.d.mts} +2 -290
  330. package/dist/types/workflow.generated.d.mts +12 -0
  331. package/dist/types-qhFZ8y9B.mjs +4 -0
  332. package/dist/{types-D4QMmNWh.mjs → types-ywCGpzDZ.mjs} +2 -3
  333. package/dist/{types-D4QMmNWh.mjs.map → types-ywCGpzDZ.mjs.map} +1 -1
  334. package/dist/utils/test/index.d.mts +6 -89
  335. package/dist/utils/test/index.mjs +1 -2
  336. package/dist/utils/test/index.mjs.map +1 -1
  337. package/dist/utils/test/mock.d.mts +87 -0
  338. package/dist/vitest/environment.d.mts +1 -2
  339. package/dist/vitest/environment.mjs +1 -2
  340. package/dist/vitest/environment.mjs.map +1 -1
  341. package/dist/vitest/index.d.mts +4 -392
  342. package/dist/vitest/index.mjs +4 -5
  343. package/dist/vitest/index.mjs.map +1 -1
  344. package/dist/vitest/mock-kysely.d.mts +62 -0
  345. package/dist/vitest/mock.d.mts +364 -0
  346. package/dist/vitest/setup.d.mts +1 -2
  347. package/dist/vitest/setup.mjs +2 -3
  348. package/dist/vitest/setup.mjs.map +1 -1
  349. package/dist/{workflow-C8I7shjM.mjs → workflow-DSwnYPPP.mjs} +10 -4
  350. package/dist/workflow-DSwnYPPP.mjs.map +1 -0
  351. package/docs/cli/setup.md +129 -19
  352. package/docs/cli-reference.md +9 -4
  353. package/docs/runtime.md +5 -1
  354. package/docs/services/aigateway.md +14 -0
  355. package/docs/testing.md +48 -2
  356. package/package.json +6 -1
  357. package/dist/application-DmjIKQ-a.mjs.map +0 -1
  358. package/dist/application-a_ApFuPh.mjs +0 -4
  359. package/dist/authconnection-CqfaJfrC.d.mts +0 -32
  360. package/dist/context-CUBwSBq4.d.mts +0 -68
  361. package/dist/file-BzK8z3X-.d.mts +0 -250
  362. package/dist/globals-ByrCoDip.mjs.map +0 -1
  363. package/dist/iconv-kwrmd1U_.d.mts +0 -122
  364. package/dist/idp-BmYwCXnJ.d.mts +0 -187
  365. package/dist/index-BDBU7x-i.d.mts +0 -18
  366. package/dist/index-BSlv_YrG.d.mts +0 -46
  367. package/dist/index-BzGqTY5x.d.mts +0 -1315
  368. package/dist/index-D3_Au3wu.d.mts +0 -47
  369. package/dist/index-DtFRlrww.d.mts +0 -18
  370. package/dist/index-jeE3UvF2.d.mts +0 -18
  371. package/dist/mock-wf5qeZLi.mjs.map +0 -1
  372. package/dist/package-json-wzO6nV9O.mjs +0 -4
  373. package/dist/runtime-Cd375HD-.mjs.map +0 -1
  374. package/dist/secretmanager-CKLB3wAQ.d.mts +0 -55
  375. package/dist/service-CRaa4Joe.mjs +0 -4
  376. package/dist/service-DDWgZL_L2.mjs.map +0 -1
  377. package/dist/telemetry-w92bvGdC.mjs +0 -4
  378. package/dist/types-32lUMToj.mjs +0 -5
  379. package/dist/types-aqnqTCfO.d.mts +0 -602
  380. package/dist/workflow-C8I7shjM.mjs.map +0 -1
  381. package/dist/workflow-CMamswkK.d.mts +0 -96
  382. package/dist/workflow.generated-Da1zECDw.d.mts +0 -1348
@@ -0,0 +1,861 @@
1
+ import { Namespace } from "./resource_pb.mjs";
2
+ import { SecretValue } from "./secret_manager_resource_pb.mjs";
3
+ import { Message } from "@bufbuild/protobuf";
4
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
5
+ import { Duration, Timestamp, Value } from "@bufbuild/protobuf/wkt";
6
+
7
+ //#region ../tailor-proto/src/tailor/v1/auth_resource_pb.d.ts
8
+ /**
9
+ * @generated from message tailor.v1.AuthService
10
+ */
11
+ declare type AuthService = Message<"tailor.v1.AuthService"> & {
12
+ /**
13
+ * @generated from field: tailor.v1.Namespace namespace = 1;
14
+ */
15
+ namespace?: Namespace;
16
+ /**
17
+ * Enable publishing session lifecycle events (issued, revoked, refreshed).
18
+ * When enabled, events are published to the dataplane event topic.
19
+ *
20
+ * @generated from field: bool publish_session_events = 2;
21
+ */
22
+ publishSessionEvents: boolean;
23
+ };
24
+ /**
25
+ * @generated from message tailor.v1.AuthIDPConfig
26
+ */
27
+ declare type AuthIDPConfig = Message<"tailor.v1.AuthIDPConfig"> & {
28
+ /**
29
+ * @generated from field: string name = 1;
30
+ */
31
+ name: string;
32
+ /**
33
+ * @generated from field: tailor.v1.AuthIDPConfig.AuthType auth_type = 2;
34
+ */
35
+ authType: AuthIDPConfig_AuthType;
36
+ /**
37
+ * @generated from field: tailor.v1.AuthIDPConfig.Config config = 3;
38
+ */
39
+ config?: AuthIDPConfig_Config;
40
+ };
41
+ /**
42
+ * @generated from message tailor.v1.AuthIDPConfig.Config
43
+ */
44
+ declare type AuthIDPConfig_Config = Message<"tailor.v1.AuthIDPConfig.Config"> & {
45
+ /**
46
+ * @generated from oneof tailor.v1.AuthIDPConfig.Config.config
47
+ */
48
+ config: {
49
+ /**
50
+ * @generated from field: tailor.v1.AuthIDPConfig.OIDCConfig oidc = 1;
51
+ */
52
+ value: AuthIDPConfig_OIDCConfig;
53
+ case: "oidc";
54
+ } | {
55
+ /**
56
+ * @generated from field: tailor.v1.AuthIDPConfig.SAMLConfig saml = 2;
57
+ */
58
+ value: AuthIDPConfig_SAMLConfig;
59
+ case: "saml";
60
+ } | {
61
+ /**
62
+ * @generated from field: tailor.v1.AuthIDPConfig.IDTokenConfig id_token = 3;
63
+ */
64
+ value: AuthIDPConfig_IDTokenConfig;
65
+ case: "idToken";
66
+ } | {
67
+ case: undefined;
68
+ value?: undefined;
69
+ };
70
+ };
71
+ /**
72
+ * @generated from message tailor.v1.AuthIDPConfig.OIDCConfig
73
+ */
74
+ declare type AuthIDPConfig_OIDCConfig = Message<"tailor.v1.AuthIDPConfig.OIDCConfig"> & {
75
+ /**
76
+ * @generated from field: string client_id_key = 1;
77
+ */
78
+ clientIdKey: string;
79
+ /**
80
+ * @generated from field: tailor.v1.SecretValue client_secret_key = 2;
81
+ */
82
+ clientSecretKey?: SecretValue;
83
+ /**
84
+ * @generated from field: string provider_url = 3;
85
+ */
86
+ providerUrl: string;
87
+ /**
88
+ * @generated from field: string issuer_url = 4;
89
+ */
90
+ issuerUrl: string;
91
+ /**
92
+ * @generated from field: string username_claim = 5;
93
+ */
94
+ usernameClaim: string;
95
+ };
96
+ /**
97
+ * @generated from message tailor.v1.AuthIDPConfig.SAMLConfig
98
+ */
99
+ declare type AuthIDPConfig_SAMLConfig = Message<"tailor.v1.AuthIDPConfig.SAMLConfig"> & {
100
+ /**
101
+ * @generated from field: string metadata_url = 1;
102
+ */
103
+ metadataUrl: string;
104
+ /**
105
+ * @generated from field: string raw_metadata = 4;
106
+ */
107
+ rawMetadata: string;
108
+ /**
109
+ * @generated from field: bool enable_sign_request = 5;
110
+ */
111
+ enableSignRequest: boolean;
112
+ /**
113
+ * @generated from field: string default_redirect_url = 6;
114
+ */
115
+ defaultRedirectUrl: string;
116
+ };
117
+ /**
118
+ * @generated from message tailor.v1.AuthIDPConfig.IDTokenConfig
119
+ */
120
+ declare type AuthIDPConfig_IDTokenConfig = Message<"tailor.v1.AuthIDPConfig.IDTokenConfig"> & {
121
+ /**
122
+ * @generated from field: string provider_url = 1;
123
+ */
124
+ providerUrl: string;
125
+ /**
126
+ * @generated from field: string client_id = 2;
127
+ */
128
+ clientId: string;
129
+ /**
130
+ * @generated from field: string issuer_url = 3;
131
+ */
132
+ issuerUrl: string;
133
+ /**
134
+ * @generated from field: string username_claim = 4;
135
+ */
136
+ usernameClaim: string;
137
+ };
138
+ /**
139
+ * @generated from enum tailor.v1.AuthIDPConfig.AuthType
140
+ */
141
+ declare enum AuthIDPConfig_AuthType {
142
+ /**
143
+ * @generated from enum value: AUTH_TYPE_UNSPECIFIED = 0;
144
+ */
145
+ UNSPECIFIED = 0,
146
+ /**
147
+ * @generated from enum value: AUTH_TYPE_OIDC = 1;
148
+ */
149
+ OIDC = 1,
150
+ /**
151
+ * @generated from enum value: AUTH_TYPE_SAML = 2;
152
+ */
153
+ SAML = 2,
154
+ /**
155
+ * @generated from enum value: AUTH_TYPE_ID_TOKEN = 3;
156
+ */
157
+ ID_TOKEN = 3
158
+ }
159
+ /**
160
+ * @generated from message tailor.v1.UserProfileProviderConfig
161
+ */
162
+ declare type UserProfileProviderConfig = Message<"tailor.v1.UserProfileProviderConfig"> & {
163
+ /**
164
+ * @generated from field: string provider = 1 [deprecated = true];
165
+ * @deprecated
166
+ */
167
+ provider: string;
168
+ /**
169
+ * @generated from field: tailor.v1.UserProfileProviderConfig.UserProfileProviderType provider_type = 2;
170
+ */
171
+ providerType: UserProfileProviderConfig_UserProfileProviderType;
172
+ /**
173
+ * @generated from field: tailor.v1.UserProfileProviderConfig.Config config = 3;
174
+ */
175
+ config?: UserProfileProviderConfig_Config;
176
+ };
177
+ /**
178
+ * @generated from message tailor.v1.UserProfileProviderConfig.Config
179
+ */
180
+ declare type UserProfileProviderConfig_Config = Message<"tailor.v1.UserProfileProviderConfig.Config"> & {
181
+ /**
182
+ * @generated from oneof tailor.v1.UserProfileProviderConfig.Config.config
183
+ */
184
+ config: {
185
+ /**
186
+ * @generated from field: tailor.v1.UserProfileProviderConfig.TailorDBProviderConfig tailordb = 1;
187
+ */
188
+ value: UserProfileProviderConfig_TailorDBProviderConfig;
189
+ case: "tailordb";
190
+ } | {
191
+ case: undefined;
192
+ value?: undefined;
193
+ };
194
+ };
195
+ /**
196
+ * @generated from message tailor.v1.UserProfileProviderConfig.TailorDBProviderConfig
197
+ */
198
+ declare type UserProfileProviderConfig_TailorDBProviderConfig = Message<"tailor.v1.UserProfileProviderConfig.TailorDBProviderConfig"> & {
199
+ /**
200
+ * @generated from field: string namespace = 1;
201
+ */
202
+ namespace: string;
203
+ /**
204
+ * @generated from field: string type = 2;
205
+ */
206
+ type: string;
207
+ /**
208
+ * @generated from field: string username_field = 3;
209
+ */
210
+ usernameField: string;
211
+ /**
212
+ * @generated from field: repeated string attributes_fields = 4;
213
+ */
214
+ attributesFields: string[];
215
+ /**
216
+ * @generated from field: string tenant_id_field = 5;
217
+ */
218
+ tenantIdField: string;
219
+ /**
220
+ * @generated from field: map<string, string> attribute_map = 6;
221
+ */
222
+ attributeMap: {
223
+ [key: string]: string;
224
+ };
225
+ };
226
+ /**
227
+ * @generated from enum tailor.v1.UserProfileProviderConfig.UserProfileProviderType
228
+ */
229
+ declare enum UserProfileProviderConfig_UserProfileProviderType {
230
+ /**
231
+ * @generated from enum value: USER_PROFILE_PROVIDER_TYPE_UNSPECIFIED = 0;
232
+ */
233
+ UNSPECIFIED = 0,
234
+ /**
235
+ * @generated from enum value: USER_PROFILE_PROVIDER_TYPE_TAILORDB = 1;
236
+ */
237
+ TAILORDB = 1
238
+ }
239
+ /**
240
+ * @generated from message tailor.v1.TenantProviderConfig
241
+ */
242
+ declare type TenantProviderConfig = Message<"tailor.v1.TenantProviderConfig"> & {
243
+ /**
244
+ * @generated from field: string provider = 1;
245
+ */
246
+ provider: string;
247
+ /**
248
+ * @generated from field: tailor.v1.TenantProviderConfig.TenantProviderType provider_type = 2;
249
+ */
250
+ providerType: TenantProviderConfig_TenantProviderType;
251
+ /**
252
+ * @generated from field: tailor.v1.TenantProviderConfig.Config config = 3;
253
+ */
254
+ config?: TenantProviderConfig_Config;
255
+ };
256
+ /**
257
+ * @generated from message tailor.v1.TenantProviderConfig.Config
258
+ */
259
+ declare type TenantProviderConfig_Config = Message<"tailor.v1.TenantProviderConfig.Config"> & {
260
+ /**
261
+ * @generated from oneof tailor.v1.TenantProviderConfig.Config.config
262
+ */
263
+ config: {
264
+ /**
265
+ * @generated from field: tailor.v1.TenantProviderConfig.TailorDBProviderConfig tailordb = 1;
266
+ */
267
+ value: TenantProviderConfig_TailorDBProviderConfig;
268
+ case: "tailordb";
269
+ } | {
270
+ case: undefined;
271
+ value?: undefined;
272
+ };
273
+ };
274
+ /**
275
+ * @generated from message tailor.v1.TenantProviderConfig.TailorDBProviderConfig
276
+ */
277
+ declare type TenantProviderConfig_TailorDBProviderConfig = Message<"tailor.v1.TenantProviderConfig.TailorDBProviderConfig"> & {
278
+ /**
279
+ * @generated from field: string namespace = 1;
280
+ */
281
+ namespace: string;
282
+ /**
283
+ * @generated from field: string type = 2;
284
+ */
285
+ type: string;
286
+ /**
287
+ * @generated from field: string signature_field = 3;
288
+ */
289
+ signatureField: string;
290
+ };
291
+ /**
292
+ * @generated from enum tailor.v1.TenantProviderConfig.TenantProviderType
293
+ */
294
+ declare enum TenantProviderConfig_TenantProviderType {
295
+ /**
296
+ * @generated from enum value: TENANT_PROVIDER_TYPE_UNSPECIFIED = 0;
297
+ */
298
+ UNSPECIFIED = 0,
299
+ /**
300
+ * @generated from enum value: TENANT_PROVIDER_TYPE_TAILORDB = 1;
301
+ */
302
+ TAILORDB = 1
303
+ }
304
+ /**
305
+ * @generated from message tailor.v1.AuthInvoker
306
+ */
307
+ declare type AuthInvoker = Message<"tailor.v1.AuthInvoker"> & {
308
+ /**
309
+ * @generated from field: string namespace = 1;
310
+ */
311
+ namespace: string;
312
+ /**
313
+ * @generated from field: string machine_user_name = 2;
314
+ */
315
+ machineUserName: string;
316
+ };
317
+ /**
318
+ * Personal Access Token ---------------------------------------------
319
+ *
320
+ * @generated from message tailor.v1.PersonalAccessToken
321
+ */
322
+ declare type PersonalAccessToken = Message<"tailor.v1.PersonalAccessToken"> & {
323
+ /**
324
+ * @generated from field: string name = 1;
325
+ */
326
+ name: string;
327
+ /**
328
+ * @generated from field: repeated tailor.v1.PATScope scopes = 2;
329
+ */
330
+ scopes: PATScope[];
331
+ };
332
+ /**
333
+ * Machine User ------------------------------------------------------
334
+ *
335
+ * @generated from message tailor.v1.MachineUser
336
+ */
337
+ declare type MachineUser = Message<"tailor.v1.MachineUser"> & {
338
+ /**
339
+ * @generated from field: string id = 1;
340
+ */
341
+ id: string;
342
+ /**
343
+ * @generated from field: string name = 2;
344
+ */
345
+ name: string;
346
+ /**
347
+ * @generated from field: string client_id = 3;
348
+ */
349
+ clientId: string;
350
+ /**
351
+ * @generated from field: string client_secret = 4;
352
+ */
353
+ clientSecret: string;
354
+ /**
355
+ * @generated from field: repeated string attributes = 5;
356
+ */
357
+ attributes: string[];
358
+ /**
359
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
360
+ */
361
+ createdAt?: Timestamp;
362
+ /**
363
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
364
+ */
365
+ updatedAt?: Timestamp;
366
+ /**
367
+ * @generated from field: map<string, google.protobuf.Value> attribute_map = 8;
368
+ */
369
+ attributeMap: {
370
+ [key: string]: Value;
371
+ };
372
+ };
373
+ /**
374
+ * Auth SCIM ------------------------------------------------
375
+ *
376
+ * @generated from message tailor.v1.AuthSCIMConfig
377
+ */
378
+ declare type AuthSCIMConfig = Message<"tailor.v1.AuthSCIMConfig"> & {
379
+ /**
380
+ * @generated from field: string machine_user_name = 1;
381
+ */
382
+ machineUserName: string;
383
+ /**
384
+ * @generated from field: tailor.v1.AuthSCIMConfig.AuthorizationType authorization_type = 2;
385
+ */
386
+ authorizationType: AuthSCIMConfig_AuthorizationType;
387
+ /**
388
+ * @generated from oneof tailor.v1.AuthSCIMConfig.authorization_config
389
+ */
390
+ authorizationConfig: {
391
+ /**
392
+ * @generated from field: tailor.v1.SecretValue bearer_secret = 10;
393
+ */
394
+ value: SecretValue;
395
+ case: "bearerSecret";
396
+ } | {
397
+ case: undefined;
398
+ value?: undefined;
399
+ };
400
+ };
401
+ /**
402
+ * @generated from enum tailor.v1.AuthSCIMConfig.AuthorizationType
403
+ */
404
+ declare enum AuthSCIMConfig_AuthorizationType {
405
+ /**
406
+ * @generated from enum value: AUTHORIZATION_TYPE_UNSPECIFIED = 0;
407
+ */
408
+ UNSPECIFIED = 0,
409
+ /**
410
+ * @generated from enum value: AUTHORIZATION_TYPE_BEARER = 1;
411
+ */
412
+ BEARER = 1,
413
+ /**
414
+ * @generated from enum value: AUTHORIZATION_TYPE_OAUTH2 = 2;
415
+ */
416
+ OAUTH2 = 2
417
+ }
418
+ /**
419
+ * @generated from message tailor.v1.AuthSCIMResource
420
+ */
421
+ declare type AuthSCIMResource = Message<"tailor.v1.AuthSCIMResource"> & {
422
+ /**
423
+ * @generated from field: string name = 1;
424
+ */
425
+ name: string;
426
+ /**
427
+ * @generated from field: string tailor_db_namespace = 2;
428
+ */
429
+ tailorDbNamespace: string;
430
+ /**
431
+ * @generated from field: string tailor_db_type = 3;
432
+ */
433
+ tailorDbType: string;
434
+ /**
435
+ * @generated from field: repeated tailor.v1.AuthSCIMAttributeMapping attribute_mapping = 4;
436
+ */
437
+ attributeMapping: AuthSCIMAttributeMapping[];
438
+ /**
439
+ * @generated from field: tailor.v1.AuthSCIMSchema core_schema = 5;
440
+ */
441
+ coreSchema?: AuthSCIMSchema;
442
+ };
443
+ /**
444
+ * @generated from message tailor.v1.AuthSCIMAttributeMapping
445
+ */
446
+ declare type AuthSCIMAttributeMapping = Message<"tailor.v1.AuthSCIMAttributeMapping"> & {
447
+ /**
448
+ * @generated from field: string tailor_db_field = 1;
449
+ */
450
+ tailorDbField: string;
451
+ /**
452
+ * @generated from field: string scim_path = 2;
453
+ */
454
+ scimPath: string;
455
+ };
456
+ /**
457
+ * @generated from message tailor.v1.AuthSCIMSchema
458
+ */
459
+ declare type AuthSCIMSchema = Message<"tailor.v1.AuthSCIMSchema"> & {
460
+ /**
461
+ * @generated from field: string name = 1;
462
+ */
463
+ name: string;
464
+ /**
465
+ * @generated from field: repeated tailor.v1.AuthSCIMAttribute attributes = 2;
466
+ */
467
+ attributes: AuthSCIMAttribute[];
468
+ };
469
+ /**
470
+ * @generated from message tailor.v1.AuthSCIMAttribute
471
+ */
472
+ declare type AuthSCIMAttribute = Message<"tailor.v1.AuthSCIMAttribute"> & {
473
+ /**
474
+ * @generated from field: tailor.v1.AuthSCIMAttribute.Type type = 1;
475
+ */
476
+ type: AuthSCIMAttribute_Type;
477
+ /**
478
+ * @generated from field: string name = 2;
479
+ */
480
+ name: string;
481
+ /**
482
+ * @generated from field: string description = 3;
483
+ */
484
+ description: string;
485
+ /**
486
+ * @generated from field: tailor.v1.AuthSCIMAttribute.Mutability mutability = 4;
487
+ */
488
+ mutability: AuthSCIMAttribute_Mutability;
489
+ /**
490
+ * @generated from field: bool required = 5;
491
+ */
492
+ required: boolean;
493
+ /**
494
+ * @generated from field: bool multi_valued = 6;
495
+ */
496
+ multiValued: boolean;
497
+ /**
498
+ * @generated from field: tailor.v1.AuthSCIMAttribute.Uniqueness uniqueness = 7;
499
+ */
500
+ uniqueness: AuthSCIMAttribute_Uniqueness;
501
+ /**
502
+ * @generated from field: repeated string canonical_values = 8;
503
+ */
504
+ canonicalValues: string[];
505
+ /**
506
+ * @generated from field: repeated tailor.v1.AuthSCIMAttribute sub_attributes = 9;
507
+ */
508
+ subAttributes: AuthSCIMAttribute[];
509
+ };
510
+ /**
511
+ * @generated from enum tailor.v1.AuthSCIMAttribute.Type
512
+ */
513
+ declare enum AuthSCIMAttribute_Type {
514
+ /**
515
+ * @generated from enum value: TYPE_UNSPECIFIED = 0;
516
+ */
517
+ UNSPECIFIED = 0,
518
+ /**
519
+ * @generated from enum value: TYPE_COMPLEX = 1;
520
+ */
521
+ COMPLEX = 1,
522
+ /**
523
+ * @generated from enum value: TYPE_STRING = 2;
524
+ */
525
+ STRING = 2,
526
+ /**
527
+ * @generated from enum value: TYPE_NUMBER = 3;
528
+ */
529
+ NUMBER = 3,
530
+ /**
531
+ * @generated from enum value: TYPE_BOOLEAN = 4;
532
+ */
533
+ BOOLEAN = 4,
534
+ /**
535
+ * @generated from enum value: TYPE_DATETIME = 5;
536
+ */
537
+ DATETIME = 5
538
+ }
539
+ /**
540
+ * @generated from enum tailor.v1.AuthSCIMAttribute.Mutability
541
+ */
542
+ declare enum AuthSCIMAttribute_Mutability {
543
+ /**
544
+ * @generated from enum value: MUTABILITY_UNSPECIFIED = 0;
545
+ */
546
+ UNSPECIFIED = 0,
547
+ /**
548
+ * @generated from enum value: MUTABILITY_READ_ONLY = 1;
549
+ */
550
+ READ_ONLY = 1,
551
+ /**
552
+ * @generated from enum value: MUTABILITY_READ_WRITE = 2;
553
+ */
554
+ READ_WRITE = 2,
555
+ /**
556
+ * @generated from enum value: MUTABILITY_WRITE_ONLY = 3;
557
+ */
558
+ WRITE_ONLY = 3
559
+ }
560
+ /**
561
+ * @generated from enum tailor.v1.AuthSCIMAttribute.Uniqueness
562
+ */
563
+ declare enum AuthSCIMAttribute_Uniqueness {
564
+ /**
565
+ * @generated from enum value: UNIQUENESS_UNSPECIFIED = 0;
566
+ */
567
+ UNSPECIFIED = 0,
568
+ /**
569
+ * @generated from enum value: UNIQUENESS_NONE = 1;
570
+ */
571
+ NONE = 1,
572
+ /**
573
+ * @generated from enum value: UNIQUENESS_SERVER = 2;
574
+ */
575
+ SERVER = 2,
576
+ /**
577
+ * @generated from enum value: UNIQUENESS_GLOBAL = 3;
578
+ */
579
+ GLOBAL = 3
580
+ }
581
+ /**
582
+ * @generated from message tailor.v1.AuthHook
583
+ */
584
+ declare type AuthHook = Message<"tailor.v1.AuthHook"> & {
585
+ /**
586
+ * @generated from field: tailor.v1.AuthHookPoint hook_point = 1;
587
+ */
588
+ hookPoint: AuthHookPoint;
589
+ /**
590
+ * @generated from field: string script_ref = 2;
591
+ */
592
+ scriptRef: string;
593
+ /**
594
+ * @generated from field: tailor.v1.AuthInvoker invoker = 4;
595
+ */
596
+ invoker?: AuthInvoker;
597
+ };
598
+ /**
599
+ * @generated from message tailor.v1.AuthConnection
600
+ */
601
+ declare type AuthConnection = Message<"tailor.v1.AuthConnection"> & {
602
+ /**
603
+ * @generated from field: string name = 1;
604
+ */
605
+ name: string;
606
+ /**
607
+ * @generated from field: tailor.v1.AuthConnection.Type type = 2;
608
+ */
609
+ type: AuthConnection_Type;
610
+ /**
611
+ * @generated from oneof tailor.v1.AuthConnection.config
612
+ */
613
+ config: {
614
+ /**
615
+ * @generated from field: tailor.v1.AuthConnection.AuthConnectionOAuth2Config oauth2 = 3;
616
+ */
617
+ value: AuthConnection_AuthConnectionOAuth2Config;
618
+ case: "oauth2";
619
+ } | {
620
+ case: undefined;
621
+ value?: undefined;
622
+ };
623
+ /**
624
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
625
+ */
626
+ createdAt?: Timestamp;
627
+ /**
628
+ * @generated from field: tailor.v1.AuthConnection.Status status = 6;
629
+ */
630
+ status: AuthConnection_Status;
631
+ };
632
+ /**
633
+ * @generated from message tailor.v1.AuthConnection.AuthConnectionOAuth2Config
634
+ */
635
+ declare type AuthConnection_AuthConnectionOAuth2Config = Message<"tailor.v1.AuthConnection.AuthConnectionOAuth2Config"> & {
636
+ /**
637
+ * @generated from field: string provider_url = 1;
638
+ */
639
+ providerUrl: string;
640
+ /**
641
+ * @generated from field: string issuer_url = 2;
642
+ */
643
+ issuerUrl: string;
644
+ /**
645
+ * @generated from field: string client_id = 3;
646
+ */
647
+ clientId: string;
648
+ /**
649
+ * @generated from field: string client_secret = 4;
650
+ */
651
+ clientSecret: string;
652
+ /**
653
+ * Optional override for the OAuth2 authorization endpoint. If unset, the default
654
+ * authorization URL derived from the provider's metadata (e.g. via provider_url)
655
+ * will be used. Must be an HTTPS URL with a hostname (no IP literals).
656
+ *
657
+ * @generated from field: string auth_url = 5;
658
+ */
659
+ authUrl: string;
660
+ /**
661
+ * Optional override for the OAuth2 token endpoint. If unset, the default token URL
662
+ * derived from the provider's metadata (e.g. via provider_url) will be used. Must be
663
+ * an HTTPS URL with a hostname (no IP literals).
664
+ *
665
+ * @generated from field: string token_url = 6;
666
+ */
667
+ tokenUrl: string;
668
+ };
669
+ /**
670
+ * @generated from enum tailor.v1.AuthConnection.Type
671
+ */
672
+ declare enum AuthConnection_Type {
673
+ /**
674
+ * @generated from enum value: TYPE_UNSPECIFIED = 0;
675
+ */
676
+ UNSPECIFIED = 0,
677
+ /**
678
+ * @generated from enum value: TYPE_OAUTH2 = 1;
679
+ */
680
+ OAUTH2 = 1
681
+ }
682
+ /**
683
+ * @generated from enum tailor.v1.AuthConnection.Status
684
+ */
685
+ declare enum AuthConnection_Status {
686
+ /**
687
+ * @generated from enum value: STATUS_UNSPECIFIED = 0;
688
+ */
689
+ UNSPECIFIED = 0,
690
+ /**
691
+ * @generated from enum value: STATUS_UNAUTHORIZED = 1;
692
+ */
693
+ UNAUTHORIZED = 1,
694
+ /**
695
+ * @generated from enum value: STATUS_AUTHORIZED = 2;
696
+ */
697
+ AUTHORIZED = 2
698
+ }
699
+ /**
700
+ * @generated from message tailor.v1.AuthOAuth2Client
701
+ */
702
+ declare type AuthOAuth2Client = Message<"tailor.v1.AuthOAuth2Client"> & {
703
+ /**
704
+ * @generated from field: string name = 1;
705
+ */
706
+ name: string;
707
+ /**
708
+ * @generated from field: string description = 2;
709
+ */
710
+ description: string;
711
+ /**
712
+ * @generated from field: repeated tailor.v1.AuthOAuth2Client.GrantType grant_types = 3;
713
+ */
714
+ grantTypes: AuthOAuth2Client_GrantType[];
715
+ /**
716
+ * @generated from field: repeated string redirect_uris = 4;
717
+ */
718
+ redirectUris: string[];
719
+ /**
720
+ * @generated from field: string client_id = 5;
721
+ */
722
+ clientId: string;
723
+ /**
724
+ * @generated from field: string client_secret = 6;
725
+ */
726
+ clientSecret: string;
727
+ /**
728
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
729
+ */
730
+ createdAt?: Timestamp;
731
+ /**
732
+ * @generated from field: tailor.v1.AuthOAuth2Client.ClientType client_type = 8;
733
+ */
734
+ clientType: AuthOAuth2Client_ClientType;
735
+ /**
736
+ * Optional access token lifetime. If not set, uses the default lifetime.
737
+ * Minimum allowed value is 60 seconds, maximum is 1 day (86400 seconds).
738
+ *
739
+ * @generated from field: google.protobuf.Duration access_token_lifetime = 9;
740
+ */
741
+ accessTokenLifetime?: Duration;
742
+ /**
743
+ * Optional refresh token lifetime. If not set, uses the default lifetime.
744
+ * Minimum allowed value is 60 seconds, maximum is 7 days (604800 seconds).
745
+ *
746
+ * @generated from field: google.protobuf.Duration refresh_token_lifetime = 10;
747
+ */
748
+ refreshTokenLifetime?: Duration;
749
+ /**
750
+ * When true, DPoP proof is required for token requests.
751
+ * Cannot be set to true for browser clients as they don't support DPoP.
752
+ *
753
+ * @generated from field: bool require_dpop = 11;
754
+ */
755
+ requireDpop: boolean;
756
+ };
757
+ /**
758
+ * @generated from enum tailor.v1.AuthOAuth2Client.GrantType
759
+ */
760
+ declare enum AuthOAuth2Client_GrantType {
761
+ /**
762
+ * @generated from enum value: GRANT_TYPE_UNSPECIFIED = 0;
763
+ */
764
+ UNSPECIFIED = 0,
765
+ /**
766
+ * @generated from enum value: GRANT_TYPE_AUTHORIZATION_CODE = 1;
767
+ */
768
+ AUTHORIZATION_CODE = 1,
769
+ /**
770
+ * @generated from enum value: GRANT_TYPE_REFRESH_TOKEN = 2;
771
+ */
772
+ REFRESH_TOKEN = 2
773
+ }
774
+ /**
775
+ * @generated from enum tailor.v1.AuthOAuth2Client.ClientType
776
+ */
777
+ declare enum AuthOAuth2Client_ClientType {
778
+ /**
779
+ * @generated from enum value: CLIENT_TYPE_UNSPECIFIED = 0;
780
+ */
781
+ UNSPECIFIED = 0,
782
+ /**
783
+ * @generated from enum value: CLIENT_TYPE_CONFIDENTIAL = 1;
784
+ */
785
+ CONFIDENTIAL = 1,
786
+ /**
787
+ * @generated from enum value: CLIENT_TYPE_PUBLIC = 2;
788
+ */
789
+ PUBLIC = 2,
790
+ /**
791
+ * @generated from enum value: CLIENT_TYPE_BROWSER = 3;
792
+ */
793
+ BROWSER = 3
794
+ }
795
+ /**
796
+ * @generated from message tailor.v1.ControlplaneMachineUser
797
+ */
798
+ declare type ControlplaneMachineUser = Message<"tailor.v1.ControlplaneMachineUser"> & {
799
+ /**
800
+ * @generated from field: string id = 1;
801
+ */
802
+ id: string;
803
+ /**
804
+ * @generated from field: string name = 2;
805
+ */
806
+ name: string;
807
+ /**
808
+ * @generated from field: string description = 3;
809
+ */
810
+ description: string;
811
+ /**
812
+ * @generated from field: string organization_id = 4;
813
+ */
814
+ organizationId: string;
815
+ /**
816
+ * @generated from field: string folder_id = 5;
817
+ */
818
+ folderId: string;
819
+ /**
820
+ * @generated from field: string client_id = 6;
821
+ */
822
+ clientId: string;
823
+ /**
824
+ * @generated from field: string client_secret = 7;
825
+ */
826
+ clientSecret: string;
827
+ };
828
+ /**
829
+ * @generated from enum tailor.v1.PATScope
830
+ */
831
+ declare enum PATScope {
832
+ /**
833
+ * @generated from enum value: PAT_SCOPE_UNSPECIFIED = 0;
834
+ */
835
+ PAT_SCOPE_UNSPECIFIED = 0,
836
+ /**
837
+ * @generated from enum value: PAT_SCOPE_READ = 1;
838
+ */
839
+ PAT_SCOPE_READ = 1,
840
+ /**
841
+ * @generated from enum value: PAT_SCOPE_WRITE = 2;
842
+ */
843
+ PAT_SCOPE_WRITE = 2
844
+ }
845
+ /**
846
+ * Auth Hook --------------------------------------------------------
847
+ *
848
+ * @generated from enum tailor.v1.AuthHookPoint
849
+ */
850
+ declare enum AuthHookPoint {
851
+ /**
852
+ * @generated from enum value: AUTH_HOOK_POINT_UNSPECIFIED = 0;
853
+ */
854
+ UNSPECIFIED = 0,
855
+ /**
856
+ * @generated from enum value: AUTH_HOOK_POINT_BEFORE_LOGIN = 1;
857
+ */
858
+ BEFORE_LOGIN = 1
859
+ }
860
+ //#endregion
861
+ export { AuthConnection, AuthConnection_AuthConnectionOAuth2Config, AuthConnection_Status, AuthConnection_Type, AuthHook, AuthHookPoint, AuthIDPConfig, AuthIDPConfig_AuthType, AuthIDPConfig_Config, AuthIDPConfig_IDTokenConfig, AuthIDPConfig_OIDCConfig, AuthIDPConfig_SAMLConfig, AuthInvoker, AuthOAuth2Client, AuthOAuth2Client_ClientType, AuthOAuth2Client_GrantType, AuthSCIMAttribute, AuthSCIMAttributeMapping, AuthSCIMAttribute_Mutability, AuthSCIMAttribute_Type, AuthSCIMAttribute_Uniqueness, AuthSCIMConfig, AuthSCIMConfig_AuthorizationType, AuthSCIMResource, AuthSCIMSchema, AuthService, ControlplaneMachineUser, MachineUser, PATScope, PersonalAccessToken, TenantProviderConfig, TenantProviderConfig_Config, TenantProviderConfig_TailorDBProviderConfig, TenantProviderConfig_TenantProviderType, UserProfileProviderConfig, UserProfileProviderConfig_Config, UserProfileProviderConfig_TailorDBProviderConfig, UserProfileProviderConfig_UserProfileProviderType };