@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.
- package/CHANGELOG.md +46 -0
- package/dist/aigateway-B3oZZE6v.mjs +15 -0
- package/dist/aigateway-B3oZZE6v.mjs.map +1 -0
- package/dist/application-BhRnH42h.mjs +3 -0
- package/dist/{application-DmjIKQ-a.mjs → application-Dxhdq_nu.mjs} +21 -19
- package/dist/application-Dxhdq_nu.mjs.map +1 -0
- package/dist/{assert-CKfwrmCV.mjs → assert-DBxo8jPo.mjs} +1 -2
- package/dist/{assert-CKfwrmCV.mjs.map → assert-DBxo8jPo.mjs.map} +1 -1
- package/dist/{authconnection-D7lsvsKY.mjs → authconnection-BGQM8FZI.mjs} +2 -3
- package/dist/{authconnection-D7lsvsKY.mjs.map → authconnection-BGQM8FZI.mjs.map} +1 -1
- package/dist/{brand-DlnJ375c.mjs → brand-Eo4pLXPJ.mjs} +1 -2
- package/dist/{brand-DlnJ375c.mjs.map → brand-Eo4pLXPJ.mjs.map} +1 -1
- package/dist/cli/cache/bundle-cache.d.mts +1 -0
- package/dist/cli/cache/store.d.mts +1 -0
- package/dist/cli/cache/types.d.mts +1 -0
- package/dist/cli/commands/api/api-call.d.mts +19 -0
- package/dist/cli/commands/api/index.d.mts +3 -0
- package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
- package/dist/cli/commands/deploy/application.d.mts +1 -0
- package/dist/cli/commands/deploy/auth.d.mts +1 -0
- package/dist/cli/commands/deploy/deploy.d.mts +24 -0
- package/dist/cli/commands/deploy/executor.d.mts +1 -0
- package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
- package/dist/cli/commands/deploy/function-registry.d.mts +2 -0
- package/dist/cli/commands/deploy/idp.d.mts +1 -0
- package/dist/cli/commands/deploy/resolver.d.mts +1 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
- package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
- package/dist/cli/commands/deploy/tailordb/index.d.mts +1 -0
- package/dist/cli/commands/deploy/types.d.mts +1 -0
- package/dist/cli/commands/deploy/workflow.d.mts +1 -0
- package/dist/cli/commands/executor/get.d.mts +29 -0
- package/dist/cli/commands/executor/jobs.d.mts +123 -0
- package/dist/cli/commands/executor/list.d.mts +19 -0
- package/dist/cli/commands/executor/transform.d.mts +41 -0
- package/dist/cli/commands/executor/trigger.d.mts +41 -0
- package/dist/cli/commands/executor/webhook.d.mts +22 -0
- package/dist/cli/commands/function/get.d.mts +18 -0
- package/dist/cli/commands/function/list.d.mts +22 -0
- package/dist/cli/commands/function/transform.d.mts +11 -0
- package/dist/cli/commands/generate/options.d.mts +7 -0
- package/dist/cli/commands/generate/seed/bundler.d.mts +26 -0
- package/dist/cli/commands/generate/service.d.mts +12 -0
- package/dist/cli/commands/generate/types.d.mts +126 -0
- package/dist/cli/commands/machineuser/list.d.mts +27 -0
- package/dist/cli/commands/machineuser/token.d.mts +22 -0
- package/dist/cli/commands/oauth2client/get.d.mts +18 -0
- package/dist/cli/commands/oauth2client/list.d.mts +20 -0
- package/dist/cli/commands/oauth2client/transform.d.mts +20 -0
- package/dist/cli/commands/organization/folder/create.d.mts +18 -0
- package/dist/cli/commands/organization/folder/delete.d.mts +16 -0
- package/dist/cli/commands/organization/folder/get.d.mts +17 -0
- package/dist/cli/commands/organization/folder/list.d.mts +22 -0
- package/dist/cli/commands/organization/folder/update.d.mts +18 -0
- package/dist/cli/commands/organization/get.d.mts +16 -0
- package/dist/cli/commands/organization/list.d.mts +15 -0
- package/dist/cli/commands/organization/transform.d.mts +27 -0
- package/dist/cli/commands/organization/tree.d.mts +25 -0
- package/dist/cli/commands/organization/update.d.mts +17 -0
- package/dist/cli/commands/remove.d.mts +16 -0
- package/dist/cli/commands/show.d.mts +34 -0
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +28 -0
- package/dist/cli/commands/tailordb/migrate/config.d.mts +19 -0
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +211 -0
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +17 -0
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +202 -0
- package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +113 -0
- package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
- package/dist/cli/commands/tailordb/truncate.d.mts +19 -0
- package/dist/cli/commands/workflow/executions.d.mts +75 -0
- package/dist/cli/commands/workflow/get.d.mts +29 -0
- package/dist/cli/commands/workflow/list.d.mts +19 -0
- package/dist/cli/commands/workflow/resume.d.mts +23 -0
- package/dist/cli/commands/workflow/start.d.mts +63 -0
- package/dist/cli/commands/workflow/status.d.mts +5 -0
- package/dist/cli/commands/workflow/transform.d.mts +33 -0
- package/dist/cli/commands/workflow/wait.d.mts +16 -0
- package/dist/cli/commands/workflow/waiter.d.mts +23 -0
- package/dist/cli/commands/workspace/app/health.d.mts +18 -0
- package/dist/cli/commands/workspace/app/list.d.mts +22 -0
- package/dist/cli/commands/workspace/app/transform.d.mts +18 -0
- package/dist/cli/commands/workspace/create.d.mts +25 -0
- package/dist/cli/commands/workspace/delete.d.mts +15 -0
- package/dist/cli/commands/workspace/get.d.mts +17 -0
- package/dist/cli/commands/workspace/list.d.mts +17 -0
- package/dist/cli/commands/workspace/restore.d.mts +15 -0
- package/dist/cli/commands/workspace/transform.d.mts +16 -0
- package/dist/cli/commands/workspace/user/invite.d.mts +22 -0
- package/dist/cli/commands/workspace/user/list.d.mts +22 -0
- package/dist/cli/commands/workspace/user/remove.d.mts +17 -0
- package/dist/cli/commands/workspace/user/transform.d.mts +8 -0
- package/dist/cli/commands/workspace/user/update.d.mts +22 -0
- package/dist/cli/index.d.mts +1 -2
- package/dist/cli/index.mjs +801 -206
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +80 -21402
- package/dist/cli/lib.mjs +8 -9
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/query/index.d.mts +35 -0
- package/dist/cli/services/application.d.mts +1 -0
- package/dist/cli/services/auth/service.d.mts +1 -0
- package/dist/cli/services/executor/service.d.mts +1 -0
- package/dist/cli/services/http-adapter/bundler.d.mts +1 -0
- package/dist/cli/services/http-adapter/service.d.mts +1 -0
- package/dist/cli/services/resolver/service.d.mts +1 -0
- package/dist/cli/services/tailordb/service.d.mts +1 -0
- package/dist/cli/services/workflow/bundler.d.mts +1 -0
- package/dist/cli/services/workflow/service.d.mts +1 -0
- package/dist/cli/shared/args.d.mts +13 -0
- package/dist/cli/shared/client.d.mts +1273 -0
- package/dist/cli/shared/config-loader.d.mts +44 -0
- package/dist/cli/shared/context.d.mts +28 -0
- package/dist/cli/shared/script-executor.d.mts +74 -0
- package/dist/cli/shared/seed-chunker.d.mts +46 -0
- package/dist/cli/shared/trigger-context.d.mts +1 -0
- package/dist/cli/shared/type-generator.d.mts +20 -0
- package/dist/cli/skills.mjs +1 -2
- package/dist/cli/skills.mjs.map +1 -1
- package/dist/completion/zsh-worker.zsh +124 -25
- package/dist/configure/config/index.d.mts +29 -0
- package/dist/configure/config/types.d.mts +103 -0
- package/dist/configure/index.d.mts +125 -7
- package/dist/configure/index.mjs +5 -6
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/aigateway/index.d.mts +17 -0
- package/dist/configure/services/aigateway/types.d.mts +11 -0
- package/dist/configure/services/auth/index.d.mts +43 -0
- package/dist/{types-v_ErzNUF.d.mts → configure/services/auth/types.d.mts} +7 -172
- package/dist/configure/services/executor/executor.d.mts +82 -0
- package/dist/configure/services/executor/index.d.mts +8 -0
- package/dist/configure/services/executor/operation.d.mts +46 -0
- package/dist/configure/services/executor/trigger/event.d.mts +272 -0
- package/dist/configure/services/executor/trigger/index.d.mts +8 -0
- package/dist/configure/services/executor/trigger/schedule.d.mts +25 -0
- package/dist/configure/services/executor/trigger/webhook.d.mts +44 -0
- package/dist/configure/services/executor/types.d.mts +2 -0
- package/dist/configure/services/http-adapter/http-adapter.d.mts +125 -0
- package/dist/configure/services/http-adapter/index.d.mts +2 -0
- package/dist/configure/services/idp/index.d.mts +64 -0
- package/dist/configure/services/idp/permission.d.mts +80 -0
- package/dist/configure/services/idp/types.d.mts +20 -0
- package/dist/configure/services/index.d.mts +33 -0
- package/dist/configure/services/resolver/index.d.mts +5 -0
- package/dist/configure/services/resolver/resolver.d.mts +77 -0
- package/dist/configure/services/resolver/types.d.mts +6 -0
- package/dist/configure/services/secrets/index.d.mts +38 -0
- package/dist/configure/services/secrets/types.d.mts +11 -0
- package/dist/configure/services/staticwebsite/index.d.mts +19 -0
- package/dist/configure/services/staticwebsite/types.d.mts +11 -0
- package/dist/configure/services/tailordb/index.d.mts +4 -0
- package/dist/configure/services/tailordb/permission.d.mts +119 -0
- package/dist/configure/services/tailordb/schema.d.mts +451 -0
- package/dist/configure/services/tailordb/types.d.mts +149 -0
- package/dist/configure/services/workflow/index.d.mts +7 -0
- package/dist/configure/services/workflow/job.d.mts +81 -0
- package/dist/configure/services/workflow/test-env-key.d.mts +9 -0
- package/dist/configure/services/workflow/types.d.mts +2 -0
- package/dist/configure/services/workflow/wait-point.d.mts +73 -0
- package/dist/configure/services/workflow/workflow.d.mts +55 -0
- package/dist/configure/types/aigateway-name.d.mts +12 -0
- package/dist/configure/types/connection-name.d.mts +12 -0
- package/dist/configure/types/field.d.mts +9 -0
- package/dist/configure/types/field.types.d.mts +109 -0
- package/dist/configure/types/idp-name.d.mts +12 -0
- package/dist/configure/types/index.d.mts +4 -0
- package/dist/configure/types/machine-user.d.mts +12 -0
- package/dist/configure/types/type.d.mts +99 -0
- package/dist/configure/user.d.mts +7 -0
- package/dist/{context-CDQqIv4u.mjs → context-Bd266-ru.mjs} +2 -3
- package/dist/{context-CDQqIv4u.mjs.map → context-Bd266-ru.mjs.map} +1 -1
- package/dist/{crashreport-BwF8cHF0.mjs → crashreport-Dy4ZzSkd.mjs} +1 -2
- package/dist/{crashreport-BqyvFk-_.mjs → crashreport-ayWANEZ6.mjs} +4 -5
- package/dist/{crashreport-BqyvFk-_.mjs.map → crashreport-ayWANEZ6.mjs.map} +1 -1
- package/dist/{enum-constants-C7DaWeQo.mjs → enum-constants-j9QBF0cB.mjs} +1 -2
- package/dist/{enum-constants-C7DaWeQo.mjs.map → enum-constants-j9QBF0cB.mjs.map} +1 -1
- package/dist/{errors-EsY4XO6O.mjs → errors-Dtf2WPaW.mjs} +1 -2
- package/dist/{errors-EsY4XO6O.mjs.map → errors-Dtf2WPaW.mjs.map} +1 -1
- package/dist/{field-C4zdJLW5.mjs → field-DOsJCPFa.mjs} +1 -2
- package/dist/{field-C4zdJLW5.mjs.map → field-DOsJCPFa.mjs.map} +1 -1
- package/dist/{file-BkxupbYP.mjs → file-_oUZo76X.mjs} +2 -3
- package/dist/{file-BkxupbYP.mjs.map → file-_oUZo76X.mjs.map} +1 -1
- package/dist/{file-utils-BHPxPXmn.mjs → file-utils-DcyIPFQh.mjs} +2 -3
- package/dist/{file-utils-BHPxPXmn.mjs.map → file-utils-DcyIPFQh.mjs.map} +1 -1
- package/dist/{globals-ByrCoDip.mjs → globals-B8XX5TRB.mjs} +3 -3
- package/dist/globals-B8XX5TRB.mjs.map +1 -0
- package/dist/{iconv-D1zmPjvi.mjs → iconv-D2vi8G36.mjs} +2 -3
- package/dist/{iconv-D1zmPjvi.mjs.map → iconv-D2vi8G36.mjs.map} +1 -1
- package/dist/{idp-ynUfzwpz.mjs → idp-Bx25ZBdN.mjs} +2 -3
- package/dist/{idp-ynUfzwpz.mjs.map → idp-Bx25ZBdN.mjs.map} +1 -1
- package/dist/{interceptor-DOqRkCya.mjs → interceptor-D-q1rvRl.mjs} +1 -2
- package/dist/{interceptor-DOqRkCya.mjs.map → interceptor-D-q1rvRl.mjs.map} +1 -1
- package/dist/{job-BpsFXPbi.mjs → job-CtU73PGa.mjs} +3 -4
- package/dist/{job-BpsFXPbi.mjs.map → job-CtU73PGa.mjs.map} +1 -1
- package/dist/kysely/index.d.mts +2 -3
- package/dist/kysely/index.mjs +0 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-CSoZxVKN.mjs → kysely-type-D-zflMGf.mjs} +2 -3
- package/dist/{kysely-type-CSoZxVKN.mjs.map → kysely-type-D-zflMGf.mjs.map} +1 -1
- package/dist/{logger-DKF-JsAK.mjs → logger-BEiZZ3qT.mjs} +1 -2
- package/dist/{logger-DKF-JsAK.mjs.map → logger-BEiZZ3qT.mjs.map} +1 -1
- package/dist/{mock-wf5qeZLi.mjs → mock-Ce1GCi4-.mjs} +60 -5
- package/dist/mock-Ce1GCi4-.mjs.map +1 -0
- package/dist/{multiline-Cf9ODpr1.mjs → multiline-sfHpTZZK.mjs} +1 -2
- package/dist/{multiline-Cf9ODpr1.mjs.map → multiline-sfHpTZZK.mjs.map} +1 -1
- package/dist/{package-json-DcQApfPQ.mjs → package-json-8b0O9TlX.mjs} +1 -2
- package/dist/{package-json-DcQApfPQ.mjs.map → package-json-8b0O9TlX.mjs.map} +1 -1
- package/dist/package-json-Cv2Z-TqQ.mjs +3 -0
- package/dist/parser/generator-config/schema.d.mts +1 -0
- package/dist/parser/service/auth/index.d.mts +1 -0
- package/dist/parser/service/auth/schema.d.mts +1 -0
- package/dist/parser/service/http-adapter/index.d.mts +1 -0
- package/dist/parser/service/http-adapter/schema.d.mts +1 -0
- package/dist/parser/service/idp/types.d.mts +4 -0
- package/dist/parser/service/tailordb/types.d.mts +126 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +16 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -2
- package/dist/plugin/builtin/file-utils/index.d.mts +16 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -2
- package/dist/plugin/builtin/kysely-type/index.d.mts +16 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -2
- package/dist/plugin/builtin/seed/index.d.mts +45 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -2
- package/dist/plugin/get-generated-type.d.mts +17 -0
- package/dist/plugin/index.d.mts +3 -118
- package/dist/plugin/index.mjs +0 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/plugin/manager.d.mts +1 -0
- package/dist/plugin/types.d.mts +245 -0
- package/dist/plugin/with-context.d.mts +102 -0
- package/dist/{registry-D0uB0OrK.mjs → registry-BozuxbPp.mjs} +1 -2
- package/dist/{registry-D0uB0OrK.mjs.map → registry-BozuxbPp.mjs.map} +1 -1
- package/dist/{repl-editor-DD5YP5mt.mjs → repl-editor-BmQOyZJd.mjs} +2 -3
- package/dist/{repl-editor-DD5YP5mt.mjs.map → repl-editor-BmQOyZJd.mjs.map} +1 -1
- package/dist/{rolldown-runtime-BkoGK1jX.mjs → rolldown-runtime-DXywRVcq.mjs} +0 -1
- package/dist/runtime/aigateway.d.mts +35 -0
- package/dist/runtime/aigateway.mjs +3 -0
- package/dist/runtime/authconnection.d.mts +31 -2
- package/dist/runtime/authconnection.mjs +1 -2
- package/dist/runtime/context.d.mts +67 -2
- package/dist/runtime/context.mjs +1 -2
- package/dist/runtime/file.d.mts +249 -2
- package/dist/runtime/file.mjs +1 -2
- package/dist/runtime/globals.d.mts +31 -20
- package/dist/runtime/globals.mjs +0 -1
- package/dist/runtime/iconv.d.mts +121 -2
- package/dist/runtime/iconv.mjs +1 -2
- package/dist/runtime/idp.d.mts +186 -2
- package/dist/runtime/idp.mjs +1 -2
- package/dist/runtime/index.d.mts +47 -9
- package/dist/runtime/index.mjs +9 -9
- package/dist/runtime/secretmanager.d.mts +54 -2
- package/dist/runtime/secretmanager.mjs +1 -2
- package/dist/{types-DTcZ2Yax.d.mts → runtime/types.d.mts} +1 -2
- package/dist/runtime/workflow.d.mts +107 -2
- package/dist/runtime/workflow.mjs +2 -3
- package/dist/{runtime-Cd375HD-.mjs → runtime-CEFC05qX.mjs} +81 -130
- package/dist/runtime-CEFC05qX.mjs.map +1 -0
- package/dist/{schema-C4fkpWV_.mjs → schema-DAdZSFOd.mjs} +3 -4
- package/dist/{schema-C4fkpWV_.mjs.map → schema-DAdZSFOd.mjs.map} +1 -1
- package/dist/{secret-file-eB3R3Fil.mjs → secret-file-VSVGy1V0.mjs} +2 -3
- package/dist/{secret-file-eB3R3Fil.mjs.map → secret-file-VSVGy1V0.mjs.map} +1 -1
- package/dist/{secretmanager-h3tBJV8f.mjs → secretmanager-BVxw3ih_.mjs} +2 -3
- package/dist/{secretmanager-h3tBJV8f.mjs.map → secretmanager-BVxw3ih_.mjs.map} +1 -1
- package/dist/seed/index.d.mts +1 -2
- package/dist/seed/index.mjs +0 -1
- package/dist/seed/index.mjs.map +1 -1
- package/dist/{seed-YAbtMy65.mjs → seed-DoMTMLcm.mjs} +3 -4
- package/dist/{seed-YAbtMy65.mjs.map → seed-DoMTMLcm.mjs.map} +1 -1
- package/dist/service-BXmdFwSH.mjs +3 -0
- package/dist/{service-DDWgZL_L2.mjs → service-DBFZQloR.mjs} +3 -4
- package/dist/service-DBFZQloR.mjs.map +1 -0
- package/dist/{service-B2Jd9CxS.mjs → service-DiEtAsvc.mjs} +3 -4
- package/dist/{service-B2Jd9CxS.mjs.map → service-DiEtAsvc.mjs.map} +1 -1
- package/dist/{service_pb-BsBR6yW5.mjs → service_pb-CIrhGwHk.mjs} +1 -2
- package/dist/{service_pb-BsBR6yW5.mjs.map → service_pb-CIrhGwHk.mjs.map} +1 -1
- package/dist/{service_pb-BJ9GsAnW.mjs → service_pb-DjwIn4jO.mjs} +1 -2
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +204 -0
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +58 -0
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +316 -0
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +161 -0
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2070 -0
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +861 -0
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +112 -0
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +69 -0
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +439 -0
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +564 -0
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +145 -0
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +451 -0
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +192 -0
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +50 -0
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +407 -0
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +430 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +73 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +17 -0
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +309 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +591 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +330 -0
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +113 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +346 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +54 -0
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3576 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +187 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +29 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +429 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +90 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +684 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +797 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +330 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +183 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +842 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +276 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2015 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +483 -0
- package/dist/{telemetry-BQbbVo2t.mjs → telemetry-CdqJEzkj.mjs} +2 -3
- package/dist/{telemetry-BQbbVo2t.mjs.map → telemetry-CdqJEzkj.mjs.map} +1 -1
- package/dist/telemetry-ClwW5ohF.mjs +3 -0
- package/dist/types/aigateway.generated.d.mts +9 -0
- package/dist/types/app-config.generated.d.mts +4 -0
- package/dist/types/auth-connection.generated.d.mts +20 -0
- package/dist/types/auth.generated.d.mts +150 -0
- package/dist/types/executor.generated.d.mts +177 -0
- package/dist/types/generator-config.generated.d.mts +28 -0
- package/dist/types/helpers.d.mts +39 -0
- package/dist/types/http-adapter.generated.d.mts +17 -0
- package/dist/types/idp.generated.d.mts +584 -0
- package/dist/types/resolver.generated.d.mts +38 -0
- package/dist/types/secrets.generated.d.mts +14 -0
- package/dist/types/staticwebsite.generated.d.mts +10 -0
- package/dist/{types-rj8YJcEe.d.mts → types/tailordb.generated.d.mts} +2 -290
- package/dist/types/workflow.generated.d.mts +12 -0
- package/dist/types-qhFZ8y9B.mjs +4 -0
- package/dist/{types-D4QMmNWh.mjs → types-ywCGpzDZ.mjs} +2 -3
- package/dist/{types-D4QMmNWh.mjs.map → types-ywCGpzDZ.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +6 -89
- package/dist/utils/test/index.mjs +1 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/utils/test/mock.d.mts +87 -0
- package/dist/vitest/environment.d.mts +1 -2
- package/dist/vitest/environment.mjs +1 -2
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.d.mts +4 -392
- package/dist/vitest/index.mjs +4 -5
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mock-kysely.d.mts +62 -0
- package/dist/vitest/mock.d.mts +364 -0
- package/dist/vitest/setup.d.mts +1 -2
- package/dist/vitest/setup.mjs +2 -3
- package/dist/vitest/setup.mjs.map +1 -1
- package/dist/{workflow-C8I7shjM.mjs → workflow-DSwnYPPP.mjs} +10 -4
- package/dist/workflow-DSwnYPPP.mjs.map +1 -0
- package/docs/cli/setup.md +129 -19
- package/docs/cli-reference.md +9 -4
- package/docs/runtime.md +5 -1
- package/docs/services/aigateway.md +14 -0
- package/docs/testing.md +48 -2
- package/package.json +6 -1
- package/dist/application-DmjIKQ-a.mjs.map +0 -1
- package/dist/application-a_ApFuPh.mjs +0 -4
- package/dist/authconnection-CqfaJfrC.d.mts +0 -32
- package/dist/context-CUBwSBq4.d.mts +0 -68
- package/dist/file-BzK8z3X-.d.mts +0 -250
- package/dist/globals-ByrCoDip.mjs.map +0 -1
- package/dist/iconv-kwrmd1U_.d.mts +0 -122
- package/dist/idp-BmYwCXnJ.d.mts +0 -187
- package/dist/index-BDBU7x-i.d.mts +0 -18
- package/dist/index-BSlv_YrG.d.mts +0 -46
- package/dist/index-BzGqTY5x.d.mts +0 -1315
- package/dist/index-D3_Au3wu.d.mts +0 -47
- package/dist/index-DtFRlrww.d.mts +0 -18
- package/dist/index-jeE3UvF2.d.mts +0 -18
- package/dist/mock-wf5qeZLi.mjs.map +0 -1
- package/dist/package-json-wzO6nV9O.mjs +0 -4
- package/dist/runtime-Cd375HD-.mjs.map +0 -1
- package/dist/secretmanager-CKLB3wAQ.d.mts +0 -55
- package/dist/service-CRaa4Joe.mjs +0 -4
- package/dist/service-DDWgZL_L2.mjs.map +0 -1
- package/dist/telemetry-w92bvGdC.mjs +0 -4
- package/dist/types-32lUMToj.mjs +0 -5
- package/dist/types-aqnqTCfO.d.mts +0 -602
- package/dist/workflow-C8I7shjM.mjs.map +0 -1
- package/dist/workflow-CMamswkK.d.mts +0 -96
- package/dist/workflow.generated-Da1zECDw.d.mts +0 -1348
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
import { Script } from "./resource_pb.mjs";
|
|
2
|
+
import { SecretValue } from "./secret_manager_resource_pb.mjs";
|
|
3
|
+
import { AuthInvoker } from "./auth_resource_pb.mjs";
|
|
4
|
+
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
5
|
+
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
|
|
8
|
+
//#region ../tailor-proto/src/tailor/v1/executor_resource_pb.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message tailor.v1.ExecutorExecutor
|
|
11
|
+
*/
|
|
12
|
+
declare type ExecutorExecutor = Message<"tailor.v1.ExecutorExecutor"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string name = 1;
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string description = 2;
|
|
19
|
+
*/
|
|
20
|
+
description: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: tailor.v1.ExecutorTriggerType trigger_type = 3;
|
|
23
|
+
*/
|
|
24
|
+
triggerType: ExecutorTriggerType;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: tailor.v1.ExecutorTriggerConfig trigger_config = 4;
|
|
27
|
+
*/
|
|
28
|
+
triggerConfig?: ExecutorTriggerConfig;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: tailor.v1.ExecutorTargetType target_type = 5;
|
|
31
|
+
*/
|
|
32
|
+
targetType: ExecutorTargetType;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: tailor.v1.ExecutorTargetConfig target_config = 6;
|
|
35
|
+
*/
|
|
36
|
+
targetConfig?: ExecutorTargetConfig;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: bool disabled = 7;
|
|
39
|
+
*/
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message tailor.v1.ExecutorTriggerConfig
|
|
44
|
+
*/
|
|
45
|
+
declare type ExecutorTriggerConfig = Message<"tailor.v1.ExecutorTriggerConfig"> & {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from oneof tailor.v1.ExecutorTriggerConfig.config
|
|
48
|
+
*/
|
|
49
|
+
config: {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: tailor.v1.ExecutorTriggerScheduleConfig schedule = 1;
|
|
52
|
+
*/
|
|
53
|
+
value: ExecutorTriggerScheduleConfig;
|
|
54
|
+
case: "schedule";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: tailor.v1.ExecutorTriggerEventConfig event = 2;
|
|
58
|
+
*/
|
|
59
|
+
value: ExecutorTriggerEventConfig;
|
|
60
|
+
case: "event";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: tailor.v1.ExecutorTriggerIncomingWebhookConfig incoming_webhook = 3;
|
|
64
|
+
*/
|
|
65
|
+
value: ExecutorTriggerIncomingWebhookConfig;
|
|
66
|
+
case: "incomingWebhook";
|
|
67
|
+
} | {
|
|
68
|
+
case: undefined;
|
|
69
|
+
value?: undefined;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @generated from message tailor.v1.ExecutorTriggerScheduleConfig
|
|
74
|
+
*/
|
|
75
|
+
declare type ExecutorTriggerScheduleConfig = Message<"tailor.v1.ExecutorTriggerScheduleConfig"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string timezone = 1;
|
|
78
|
+
*/
|
|
79
|
+
timezone: string;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string frequency = 2;
|
|
82
|
+
*/
|
|
83
|
+
frequency: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from message tailor.v1.ExecutorTriggerEventConfig
|
|
87
|
+
*/
|
|
88
|
+
declare type ExecutorTriggerEventConfig = Message<"tailor.v1.ExecutorTriggerEventConfig"> & {
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string event_type = 1 [deprecated = true];
|
|
91
|
+
* @deprecated
|
|
92
|
+
*/
|
|
93
|
+
eventType: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: tailor.v1.Script condition = 2 [deprecated = true];
|
|
96
|
+
* @deprecated
|
|
97
|
+
*/
|
|
98
|
+
condition?: Script;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from oneof tailor.v1.ExecutorTriggerEventConfig.typed_config
|
|
101
|
+
*/
|
|
102
|
+
typedConfig: {
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: tailor.v1.ExecutorTailorDBEventConfig tailordb = 3;
|
|
105
|
+
*/
|
|
106
|
+
value: ExecutorTailorDBEventConfig;
|
|
107
|
+
case: "tailordb";
|
|
108
|
+
} | {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: tailor.v1.ExecutorIdPEventConfig idp = 4;
|
|
111
|
+
*/
|
|
112
|
+
value: ExecutorIdPEventConfig;
|
|
113
|
+
case: "idp";
|
|
114
|
+
} | {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: tailor.v1.ExecutorAuthEventConfig auth = 5;
|
|
117
|
+
*/
|
|
118
|
+
value: ExecutorAuthEventConfig;
|
|
119
|
+
case: "auth";
|
|
120
|
+
} | {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: tailor.v1.ExecutorPipelineEventConfig pipeline = 6;
|
|
123
|
+
*/
|
|
124
|
+
value: ExecutorPipelineEventConfig;
|
|
125
|
+
case: "pipeline";
|
|
126
|
+
} | {
|
|
127
|
+
case: undefined;
|
|
128
|
+
value?: undefined;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message tailor.v1.ExecutorTailorDBEventConfig
|
|
133
|
+
*/
|
|
134
|
+
declare type ExecutorTailorDBEventConfig = Message<"tailor.v1.ExecutorTailorDBEventConfig"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: repeated string event_types = 1;
|
|
137
|
+
*/
|
|
138
|
+
eventTypes: string[];
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string namespace_name = 2;
|
|
141
|
+
*/
|
|
142
|
+
namespaceName: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string type_name = 3;
|
|
145
|
+
*/
|
|
146
|
+
typeName: string;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: tailor.v1.Script condition = 4;
|
|
149
|
+
*/
|
|
150
|
+
condition?: Script;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message tailor.v1.ExecutorIdPEventConfig
|
|
154
|
+
*/
|
|
155
|
+
declare type ExecutorIdPEventConfig = Message<"tailor.v1.ExecutorIdPEventConfig"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: repeated string event_types = 1;
|
|
158
|
+
*/
|
|
159
|
+
eventTypes: string[];
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: string namespace_name = 2;
|
|
162
|
+
*/
|
|
163
|
+
namespaceName: string;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: tailor.v1.Script condition = 3;
|
|
166
|
+
*/
|
|
167
|
+
condition?: Script;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message tailor.v1.ExecutorAuthEventConfig
|
|
171
|
+
*/
|
|
172
|
+
declare type ExecutorAuthEventConfig = Message<"tailor.v1.ExecutorAuthEventConfig"> & {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated string event_types = 1;
|
|
175
|
+
*/
|
|
176
|
+
eventTypes: string[];
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: string namespace_name = 2;
|
|
179
|
+
*/
|
|
180
|
+
namespaceName: string;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: tailor.v1.Script condition = 3;
|
|
183
|
+
*/
|
|
184
|
+
condition?: Script;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message tailor.v1.ExecutorPipelineEventConfig
|
|
188
|
+
*/
|
|
189
|
+
declare type ExecutorPipelineEventConfig = Message<"tailor.v1.ExecutorPipelineEventConfig"> & {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: repeated string event_types = 1;
|
|
192
|
+
*/
|
|
193
|
+
eventTypes: string[];
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: string namespace_name = 2;
|
|
196
|
+
*/
|
|
197
|
+
namespaceName: string;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string resolver_name = 3;
|
|
200
|
+
*/
|
|
201
|
+
resolverName: string;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: tailor.v1.Script condition = 4;
|
|
204
|
+
*/
|
|
205
|
+
condition?: Script;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message tailor.v1.ExecutorTriggerIncomingWebhookConfig
|
|
209
|
+
*/
|
|
210
|
+
declare type ExecutorTriggerIncomingWebhookConfig = Message<"tailor.v1.ExecutorTriggerIncomingWebhookConfig"> & {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string secret = 1;
|
|
213
|
+
*/
|
|
214
|
+
secret: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: tailor.v1.ExecutorTriggerIncomingWebhookResponseConfig response = 2;
|
|
217
|
+
*/
|
|
218
|
+
response?: ExecutorTriggerIncomingWebhookResponseConfig;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message tailor.v1.ExecutorTriggerIncomingWebhookResponseConfig
|
|
222
|
+
*/
|
|
223
|
+
declare type ExecutorTriggerIncomingWebhookResponseConfig = Message<"tailor.v1.ExecutorTriggerIncomingWebhookResponseConfig"> & {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: tailor.v1.Script body = 1;
|
|
226
|
+
*/
|
|
227
|
+
body?: Script;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: optional int32 status_code = 2;
|
|
230
|
+
*/
|
|
231
|
+
statusCode?: number;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message tailor.v1.ExecutorTargetConfig
|
|
235
|
+
*/
|
|
236
|
+
declare type ExecutorTargetConfig = Message<"tailor.v1.ExecutorTargetConfig"> & {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from oneof tailor.v1.ExecutorTargetConfig.config
|
|
239
|
+
*/
|
|
240
|
+
config: {
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: tailor.v1.ExecutorWebhookConfig webhook = 1;
|
|
243
|
+
*/
|
|
244
|
+
value: ExecutorWebhookConfig;
|
|
245
|
+
case: "webhook";
|
|
246
|
+
} | {
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: tailor.v1.ExecutorTargetTailorGraphqlConfig tailor_graphql = 2;
|
|
249
|
+
*/
|
|
250
|
+
value: ExecutorTargetTailorGraphqlConfig;
|
|
251
|
+
case: "tailorGraphql";
|
|
252
|
+
} | {
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: tailor.v1.ExecutorTargetFunctionConfig function = 3;
|
|
255
|
+
*/
|
|
256
|
+
value: ExecutorTargetFunctionConfig;
|
|
257
|
+
case: "function";
|
|
258
|
+
} | {
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: tailor.v1.ExecutorTargetWorkflowConfig workflow = 5;
|
|
261
|
+
*/
|
|
262
|
+
value: ExecutorTargetWorkflowConfig;
|
|
263
|
+
case: "workflow";
|
|
264
|
+
} | {
|
|
265
|
+
case: undefined;
|
|
266
|
+
value?: undefined;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* @generated from message tailor.v1.ExecutorWebhookConfig
|
|
271
|
+
*/
|
|
272
|
+
declare type ExecutorWebhookConfig = Message<"tailor.v1.ExecutorWebhookConfig"> & {
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: tailor.v1.Script url = 1;
|
|
275
|
+
*/
|
|
276
|
+
url?: Script;
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: tailor.v1.SecretValue secret = 2;
|
|
279
|
+
*/
|
|
280
|
+
secret?: SecretValue;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: repeated tailor.v1.ExecutorTargetWebhookHeader headers = 3;
|
|
283
|
+
*/
|
|
284
|
+
headers: ExecutorTargetWebhookHeader[];
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: tailor.v1.Script body = 4;
|
|
287
|
+
*/
|
|
288
|
+
body?: Script;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* @generated from message tailor.v1.ExecutorTargetWebhookHeader
|
|
292
|
+
*/
|
|
293
|
+
declare type ExecutorTargetWebhookHeader = Message<"tailor.v1.ExecutorTargetWebhookHeader"> & {
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: string key = 1;
|
|
296
|
+
*/
|
|
297
|
+
key: string;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from oneof tailor.v1.ExecutorTargetWebhookHeader.value
|
|
300
|
+
*/
|
|
301
|
+
value: {
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: string raw_value = 2;
|
|
304
|
+
*/
|
|
305
|
+
value: string;
|
|
306
|
+
case: "rawValue";
|
|
307
|
+
} | {
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: tailor.v1.SecretValue secret_value = 3;
|
|
310
|
+
*/
|
|
311
|
+
value: SecretValue;
|
|
312
|
+
case: "secretValue";
|
|
313
|
+
} | {
|
|
314
|
+
case: undefined;
|
|
315
|
+
value?: undefined;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* @generated from message tailor.v1.ExecutorTargetTailorGraphqlConfig
|
|
320
|
+
*/
|
|
321
|
+
declare type ExecutorTargetTailorGraphqlConfig = Message<"tailor.v1.ExecutorTargetTailorGraphqlConfig"> & {
|
|
322
|
+
/**
|
|
323
|
+
* @generated from field: string app_name = 1;
|
|
324
|
+
*/
|
|
325
|
+
appName: string;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: string query = 2;
|
|
328
|
+
*/
|
|
329
|
+
query: string;
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: tailor.v1.Script variables = 3;
|
|
332
|
+
*/
|
|
333
|
+
variables?: Script;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: tailor.v1.AuthInvoker invoker = 4;
|
|
336
|
+
*/
|
|
337
|
+
invoker?: AuthInvoker;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* @generated from message tailor.v1.ExecutorTargetFunctionConfig
|
|
341
|
+
*/
|
|
342
|
+
declare type ExecutorTargetFunctionConfig = Message<"tailor.v1.ExecutorTargetFunctionConfig"> & {
|
|
343
|
+
/**
|
|
344
|
+
* @generated from field: string name = 1;
|
|
345
|
+
*/
|
|
346
|
+
name: string;
|
|
347
|
+
/**
|
|
348
|
+
* script contains inline JavaScript code. Mutually exclusive with script_ref.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: string script = 2;
|
|
351
|
+
*/
|
|
352
|
+
script: string;
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: tailor.v1.Script variables = 3;
|
|
355
|
+
*/
|
|
356
|
+
variables?: Script;
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: tailor.v1.AuthInvoker invoker = 4;
|
|
359
|
+
*/
|
|
360
|
+
invoker?: AuthInvoker;
|
|
361
|
+
/**
|
|
362
|
+
* script_ref references a function in the function registry. Mutually exclusive with script.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: optional string script_ref = 5;
|
|
365
|
+
*/
|
|
366
|
+
scriptRef?: string;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message tailor.v1.ExecutorTargetWorkflowConfig
|
|
370
|
+
*/
|
|
371
|
+
declare type ExecutorTargetWorkflowConfig = Message<"tailor.v1.ExecutorTargetWorkflowConfig"> & {
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: string workflow_name = 1;
|
|
374
|
+
*/
|
|
375
|
+
workflowName: string;
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: tailor.v1.Script variables = 2;
|
|
378
|
+
*/
|
|
379
|
+
variables?: Script;
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: tailor.v1.AuthInvoker invoker = 3;
|
|
382
|
+
*/
|
|
383
|
+
invoker?: AuthInvoker;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* @generated from message tailor.v1.ExecutorJob
|
|
387
|
+
*/
|
|
388
|
+
declare type ExecutorJob = Message<"tailor.v1.ExecutorJob"> & {
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: string id = 1;
|
|
391
|
+
*/
|
|
392
|
+
id: string;
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: string executor_name = 2;
|
|
395
|
+
*/
|
|
396
|
+
executorName: string;
|
|
397
|
+
/**
|
|
398
|
+
* @generated from field: tailor.v1.ExecutorJobStatus status = 3;
|
|
399
|
+
*/
|
|
400
|
+
status: ExecutorJobStatus;
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: google.protobuf.Struct actor = 4;
|
|
403
|
+
*/
|
|
404
|
+
actor?: JsonObject;
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: google.protobuf.Struct data = 5;
|
|
407
|
+
*/
|
|
408
|
+
data?: JsonObject;
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: string event_idempotency_key = 6;
|
|
411
|
+
*/
|
|
412
|
+
eventIdempotencyKey: string;
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 7;
|
|
415
|
+
*/
|
|
416
|
+
scheduledAt?: Timestamp;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
419
|
+
*/
|
|
420
|
+
createdAt?: Timestamp;
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
423
|
+
*/
|
|
424
|
+
updatedAt?: Timestamp;
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @generated from message tailor.v1.ExecutorJobAttempt
|
|
428
|
+
*/
|
|
429
|
+
declare type ExecutorJobAttempt = Message<"tailor.v1.ExecutorJobAttempt"> & {
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: string id = 1;
|
|
432
|
+
*/
|
|
433
|
+
id: string;
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: string job_id = 2;
|
|
436
|
+
*/
|
|
437
|
+
jobId: string;
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: tailor.v1.ExecutorJobStatus status = 3;
|
|
440
|
+
*/
|
|
441
|
+
status: ExecutorJobStatus;
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: string error = 4;
|
|
444
|
+
*/
|
|
445
|
+
error: string;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: google.protobuf.Timestamp started_at = 5;
|
|
448
|
+
*/
|
|
449
|
+
startedAt?: Timestamp;
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 6;
|
|
452
|
+
*/
|
|
453
|
+
finishedAt?: Timestamp;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
456
|
+
*/
|
|
457
|
+
createdAt?: Timestamp;
|
|
458
|
+
/**
|
|
459
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
460
|
+
*/
|
|
461
|
+
updatedAt?: Timestamp;
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: string operation_reference = 9;
|
|
464
|
+
*/
|
|
465
|
+
operationReference: string;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* @generated from message tailor.v1.ExecutorIncomingWebhook
|
|
469
|
+
*/
|
|
470
|
+
declare type ExecutorIncomingWebhook = Message<"tailor.v1.ExecutorIncomingWebhook"> & {
|
|
471
|
+
/**
|
|
472
|
+
* @generated from field: string executor_name = 1;
|
|
473
|
+
*/
|
|
474
|
+
executorName: string;
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: string url = 2;
|
|
477
|
+
*/
|
|
478
|
+
url: string;
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: bool disabled = 3;
|
|
481
|
+
*/
|
|
482
|
+
disabled: boolean;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* @generated from enum tailor.v1.ExecutorTriggerType
|
|
486
|
+
*/
|
|
487
|
+
declare enum ExecutorTriggerType {
|
|
488
|
+
/**
|
|
489
|
+
* @generated from enum value: EXECUTOR_TRIGGER_TYPE_UNSPECIFIED = 0;
|
|
490
|
+
*/
|
|
491
|
+
UNSPECIFIED = 0,
|
|
492
|
+
/**
|
|
493
|
+
* @generated from enum value: EXECUTOR_TRIGGER_TYPE_SCHEDULE = 1;
|
|
494
|
+
*/
|
|
495
|
+
SCHEDULE = 1,
|
|
496
|
+
/**
|
|
497
|
+
* @generated from enum value: EXECUTOR_TRIGGER_TYPE_EVENT = 2;
|
|
498
|
+
*/
|
|
499
|
+
EVENT = 2,
|
|
500
|
+
/**
|
|
501
|
+
* @generated from enum value: EXECUTOR_TRIGGER_TYPE_INCOMING_WEBHOOK = 3;
|
|
502
|
+
*/
|
|
503
|
+
INCOMING_WEBHOOK = 3
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @generated from enum tailor.v1.ExecutorTargetType
|
|
507
|
+
*/
|
|
508
|
+
declare enum ExecutorTargetType {
|
|
509
|
+
/**
|
|
510
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_UNSPECIFIED = 0;
|
|
511
|
+
*/
|
|
512
|
+
UNSPECIFIED = 0,
|
|
513
|
+
/**
|
|
514
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_WEBHOOK = 1;
|
|
515
|
+
*/
|
|
516
|
+
WEBHOOK = 1,
|
|
517
|
+
/**
|
|
518
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_TAILOR_GRAPHQL = 2;
|
|
519
|
+
*/
|
|
520
|
+
TAILOR_GRAPHQL = 2,
|
|
521
|
+
/**
|
|
522
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_FUNCTION = 3;
|
|
523
|
+
*/
|
|
524
|
+
FUNCTION = 3,
|
|
525
|
+
/**
|
|
526
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_JOB_FUNCTION = 4;
|
|
527
|
+
*/
|
|
528
|
+
JOB_FUNCTION = 4,
|
|
529
|
+
/**
|
|
530
|
+
* @generated from enum value: EXECUTOR_TARGET_TYPE_WORKFLOW = 5;
|
|
531
|
+
*/
|
|
532
|
+
WORKFLOW = 5
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* @generated from enum tailor.v1.ExecutorJobStatus
|
|
536
|
+
*/
|
|
537
|
+
declare enum ExecutorJobStatus {
|
|
538
|
+
/**
|
|
539
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_UNSPECIFIED = 0;
|
|
540
|
+
*/
|
|
541
|
+
UNSPECIFIED = 0,
|
|
542
|
+
/**
|
|
543
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_PENDING = 1;
|
|
544
|
+
*/
|
|
545
|
+
PENDING = 1,
|
|
546
|
+
/**
|
|
547
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_RUNNING = 2;
|
|
548
|
+
*/
|
|
549
|
+
RUNNING = 2,
|
|
550
|
+
/**
|
|
551
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_SUCCESS = 3;
|
|
552
|
+
*/
|
|
553
|
+
SUCCESS = 3,
|
|
554
|
+
/**
|
|
555
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_FAILED = 4;
|
|
556
|
+
*/
|
|
557
|
+
FAILED = 4,
|
|
558
|
+
/**
|
|
559
|
+
* @generated from enum value: EXECUTOR_JOB_STATUS_CANCELED = 5;
|
|
560
|
+
*/
|
|
561
|
+
CANCELED = 5
|
|
562
|
+
}
|
|
563
|
+
//#endregion
|
|
564
|
+
export { ExecutorAuthEventConfig, ExecutorExecutor, ExecutorIdPEventConfig, ExecutorIncomingWebhook, ExecutorJob, ExecutorJobAttempt, ExecutorJobStatus, ExecutorPipelineEventConfig, ExecutorTailorDBEventConfig, ExecutorTargetConfig, ExecutorTargetFunctionConfig, ExecutorTargetTailorGraphqlConfig, ExecutorTargetType, ExecutorTargetWebhookHeader, ExecutorTargetWorkflowConfig, ExecutorTriggerConfig, ExecutorTriggerEventConfig, ExecutorTriggerIncomingWebhookConfig, ExecutorTriggerIncomingWebhookResponseConfig, ExecutorTriggerScheduleConfig, ExecutorTriggerType, ExecutorWebhookConfig };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Filter, PageDirection } from "./resource_pb.mjs";
|
|
2
|
+
import { AuthInvoker } from "./auth_resource_pb.mjs";
|
|
3
|
+
import { FunctionExecution } from "./function_resource_pb.mjs";
|
|
4
|
+
import { Message } from "@bufbuild/protobuf";
|
|
5
|
+
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
//#region ../tailor-proto/src/tailor/v1/function_pb.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message tailor.v1.TestExecScriptRequest
|
|
10
|
+
*/
|
|
11
|
+
declare type TestExecScriptRequest = Message<"tailor.v1.TestExecScriptRequest"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string workspace_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
workspaceId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string name = 2;
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string code = 3;
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: optional string arg = 4;
|
|
26
|
+
*/
|
|
27
|
+
arg?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: tailor.v1.AuthInvoker invoker = 5;
|
|
30
|
+
*/
|
|
31
|
+
invoker?: AuthInvoker;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message tailor.v1.TestExecScriptRequest.
|
|
35
|
+
* Use `create(TestExecScriptRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
declare const TestExecScriptRequestSchema: GenMessage<TestExecScriptRequest>;
|
|
38
|
+
/**
|
|
39
|
+
* @generated from message tailor.v1.TestExecScriptResponse
|
|
40
|
+
*/
|
|
41
|
+
declare type TestExecScriptResponse = Message<"tailor.v1.TestExecScriptResponse"> & {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string result = 1;
|
|
44
|
+
*/
|
|
45
|
+
result: string;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string execution_id = 3;
|
|
48
|
+
*/
|
|
49
|
+
executionId: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message tailor.v1.TestExecScriptResponse.
|
|
53
|
+
* Use `create(TestExecScriptResponseSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
declare const TestExecScriptResponseSchema: GenMessage<TestExecScriptResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message tailor.v1.GetFunctionExecutionRequest
|
|
58
|
+
*/
|
|
59
|
+
declare type GetFunctionExecutionRequest = Message<"tailor.v1.GetFunctionExecutionRequest"> & {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string workspace_id = 1;
|
|
62
|
+
*/
|
|
63
|
+
workspaceId: string;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string execution_id = 2;
|
|
66
|
+
*/
|
|
67
|
+
executionId: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message tailor.v1.GetFunctionExecutionRequest.
|
|
71
|
+
* Use `create(GetFunctionExecutionRequestSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
declare const GetFunctionExecutionRequestSchema: GenMessage<GetFunctionExecutionRequest>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message tailor.v1.GetFunctionExecutionResponse
|
|
76
|
+
*/
|
|
77
|
+
declare type GetFunctionExecutionResponse = Message<"tailor.v1.GetFunctionExecutionResponse"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: tailor.v1.FunctionExecution execution = 1;
|
|
80
|
+
*/
|
|
81
|
+
execution?: FunctionExecution;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message tailor.v1.GetFunctionExecutionResponse.
|
|
85
|
+
* Use `create(GetFunctionExecutionResponseSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
declare const GetFunctionExecutionResponseSchema: GenMessage<GetFunctionExecutionResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from message tailor.v1.ListFunctionExecutionsRequest
|
|
90
|
+
*/
|
|
91
|
+
declare type ListFunctionExecutionsRequest = Message<"tailor.v1.ListFunctionExecutionsRequest"> & {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string workspace_id = 1;
|
|
94
|
+
*/
|
|
95
|
+
workspaceId: string;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string page_token = 2;
|
|
98
|
+
*/
|
|
99
|
+
pageToken: string;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: uint32 page_size = 3;
|
|
102
|
+
*/
|
|
103
|
+
pageSize: number;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
106
|
+
*/
|
|
107
|
+
pageDirection: PageDirection;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: tailor.v1.Filter filter = 5;
|
|
110
|
+
*/
|
|
111
|
+
filter?: Filter;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string sort_by = 6;
|
|
114
|
+
*/
|
|
115
|
+
sortBy: string;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message tailor.v1.ListFunctionExecutionsRequest.
|
|
119
|
+
* Use `create(ListFunctionExecutionsRequestSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
declare const ListFunctionExecutionsRequestSchema: GenMessage<ListFunctionExecutionsRequest>;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from message tailor.v1.ListFunctionExecutionsResponse
|
|
124
|
+
*/
|
|
125
|
+
declare type ListFunctionExecutionsResponse = Message<"tailor.v1.ListFunctionExecutionsResponse"> & {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: repeated tailor.v1.FunctionExecution executions = 1;
|
|
128
|
+
*/
|
|
129
|
+
executions: FunctionExecution[];
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string next_page_token = 2;
|
|
132
|
+
*/
|
|
133
|
+
nextPageToken: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: int64 total_count = 3;
|
|
136
|
+
*/
|
|
137
|
+
totalCount: bigint;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message tailor.v1.ListFunctionExecutionsResponse.
|
|
141
|
+
* Use `create(ListFunctionExecutionsResponseSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
declare const ListFunctionExecutionsResponseSchema: GenMessage<ListFunctionExecutionsResponse>;
|
|
144
|
+
//#endregion
|
|
145
|
+
export { GetFunctionExecutionRequest, GetFunctionExecutionRequestSchema, GetFunctionExecutionResponse, GetFunctionExecutionResponseSchema, ListFunctionExecutionsRequest, ListFunctionExecutionsRequestSchema, ListFunctionExecutionsResponse, ListFunctionExecutionsResponseSchema, TestExecScriptRequest, TestExecScriptRequestSchema, TestExecScriptResponse, TestExecScriptResponseSchema };
|