@tailor-platform/sdk 2.0.0-next.4 → 2.0.0-next.6
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 +135 -0
- package/dist/{application-BX13RArL.mjs → application-BJXRpQj5.mjs} +602 -1842
- package/dist/application-BJXRpQj5.mjs.map +1 -0
- package/dist/application-BV-AXawv.mjs +3 -0
- package/dist/cli/cache/bundle-cache.d.mts +2 -1
- package/dist/cli/cache/store.d.mts +1 -1
- package/dist/cli/commands/api/index.d.mts +1 -0
- package/dist/cli/commands/deploy/aigateway.d.mts +5 -1
- package/dist/cli/commands/deploy/application.d.mts +7 -1
- package/dist/cli/commands/deploy/apply-phases.d.mts +14 -1
- package/dist/cli/commands/deploy/auth.d.mts +5 -1
- package/dist/cli/commands/deploy/deploy.d.mts +13 -3
- package/dist/cli/commands/deploy/executor.d.mts +7 -1
- package/dist/cli/commands/deploy/function-registry.d.mts +5 -0
- package/dist/cli/commands/deploy/idp.d.mts +5 -1
- package/dist/cli/commands/deploy/resolver.d.mts +5 -1
- package/dist/cli/commands/deploy/secret-manager.d.mts +5 -1
- package/dist/cli/commands/deploy/staticwebsite.d.mts +5 -1
- package/dist/cli/commands/deploy/tailordb/index.d.mts +8 -1
- package/dist/cli/commands/deploy/types.d.mts +3 -1
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +3 -1
- package/dist/cli/commands/deploy/workflow.d.mts +4 -1
- package/dist/cli/commands/executor/get.d.mts +0 -1
- package/dist/cli/commands/executor/jobs.d.mts +0 -1
- package/dist/cli/commands/executor/list.d.mts +0 -1
- package/dist/cli/commands/executor/transform.d.mts +1 -0
- package/dist/cli/commands/executor/trigger.d.mts +0 -1
- package/dist/cli/commands/executor/webhook.d.mts +0 -1
- package/dist/cli/commands/function/get.d.mts +0 -1
- package/dist/cli/commands/function/list.d.mts +0 -1
- package/dist/cli/commands/function/transform.d.mts +1 -0
- package/dist/cli/commands/generate/options.d.mts +0 -1
- package/dist/cli/commands/generate/service.d.mts +6 -2
- package/dist/cli/commands/machineuser/list.d.mts +0 -1
- package/dist/cli/commands/machineuser/token.d.mts +0 -1
- package/dist/cli/commands/oauth2client/get.d.mts +0 -1
- package/dist/cli/commands/oauth2client/list.d.mts +0 -1
- package/dist/cli/commands/oauth2client/transform.d.mts +1 -0
- package/dist/cli/commands/organization/folder/create.d.mts +0 -1
- package/dist/cli/commands/organization/folder/delete.d.mts +0 -1
- package/dist/cli/commands/organization/folder/get.d.mts +0 -1
- package/dist/cli/commands/organization/folder/list.d.mts +0 -1
- package/dist/cli/commands/organization/folder/update.d.mts +0 -1
- package/dist/cli/commands/organization/get.d.mts +0 -1
- package/dist/cli/commands/organization/list.d.mts +0 -1
- package/dist/cli/commands/organization/transform.d.mts +2 -0
- package/dist/cli/commands/organization/tree.d.mts +0 -1
- package/dist/cli/commands/organization/update.d.mts +0 -1
- package/dist/cli/commands/remove.d.mts +0 -1
- package/dist/cli/commands/show.d.mts +9 -4
- package/dist/cli/commands/staticwebsite/deploy.d.mts +19 -0
- package/dist/cli/commands/tailordb/migrate/config.d.mts +0 -1
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +16 -3
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +0 -1
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +6 -0
- package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +1 -1
- package/dist/cli/commands/tailordb/truncate.d.mts +0 -1
- package/dist/cli/commands/workflow/executions.d.mts +0 -1
- package/dist/cli/commands/workflow/get.d.mts +2 -1
- package/dist/cli/commands/workflow/list.d.mts +0 -1
- package/dist/cli/commands/workflow/resume.d.mts +0 -1
- package/dist/cli/commands/workflow/start.d.mts +0 -1
- package/dist/cli/commands/workflow/status.d.mts +1 -0
- package/dist/cli/commands/workflow/transform.d.mts +1 -0
- package/dist/cli/commands/workflow/wait.d.mts +0 -1
- package/dist/cli/commands/workflow/waiter.d.mts +1 -1
- package/dist/cli/commands/workspace/app/health.d.mts +0 -1
- package/dist/cli/commands/workspace/app/list.d.mts +0 -1
- package/dist/cli/commands/workspace/app/transform.d.mts +2 -0
- package/dist/cli/commands/workspace/create.d.mts +3 -1
- package/dist/cli/commands/workspace/delete.d.mts +0 -1
- package/dist/cli/commands/workspace/get.d.mts +0 -1
- package/dist/cli/commands/workspace/list.d.mts +1 -1
- package/dist/cli/commands/workspace/restore.d.mts +0 -1
- package/dist/cli/commands/workspace/transform.d.mts +4 -0
- package/dist/cli/commands/workspace/user/invite.d.mts +0 -1
- package/dist/cli/commands/workspace/user/list.d.mts +0 -1
- package/dist/cli/commands/workspace/user/remove.d.mts +0 -1
- package/dist/cli/commands/workspace/user/transform.d.mts +1 -0
- package/dist/cli/commands/workspace/user/update.d.mts +0 -1
- package/dist/cli/index.d.mts +6 -3
- package/dist/cli/index.mjs +871 -1577
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +10 -4
- package/dist/cli/lib.mjs +50 -4
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/query/index.d.mts +0 -1
- package/dist/cli/services/application.d.mts +12 -1
- package/dist/cli/services/auth/service.d.mts +2 -0
- package/dist/cli/services/executor/service.d.mts +1 -1
- package/dist/cli/services/http-adapter/bundler.d.mts +3 -1
- package/dist/cli/services/http-adapter/service.d.mts +2 -1
- package/dist/cli/services/resolver/service.d.mts +1 -1
- package/dist/cli/services/tailordb/service.d.mts +3 -1
- package/dist/cli/services/workflow/bundler.d.mts +2 -1
- package/dist/cli/services/workflow/service.d.mts +1 -1
- package/dist/cli/shared/args.d.mts +1 -1
- package/dist/cli/shared/client.d.mts +1 -1
- package/dist/cli/shared/config-loader.d.mts +1 -2
- package/dist/cli/shared/context.d.mts +2 -1
- package/dist/cli/shared/readonly-guard.d.mts +25 -0
- package/dist/cli/shared/script-executor.d.mts +0 -1
- package/dist/cli/shared/seed-chunker.d.mts +7 -3
- package/dist/cli/shared/tailordb-namespaces.d.mts +37 -0
- package/dist/cli/shared/type-generator.d.mts +0 -1
- package/dist/cli/shared/workspace-name.d.mts +1 -0
- package/dist/completion/zsh-worker.zsh +15 -303
- package/dist/configure/config/index.d.mts +0 -1
- package/dist/configure/config/types.d.mts +2 -2
- package/dist/configure/index.d.mts +14 -4
- package/dist/configure/index.mjs +201 -6
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/aigateway/index.d.mts +0 -1
- package/dist/configure/services/aigateway/types.d.mts +0 -1
- package/dist/configure/services/auth/index.d.mts +0 -1
- package/dist/configure/services/auth/types.d.mts +15 -14
- package/dist/configure/services/executor/executor.d.mts +2 -13
- package/dist/configure/services/executor/index.d.mts +1 -0
- package/dist/configure/services/executor/operation.d.mts +9 -4
- package/dist/configure/services/executor/trigger/event.d.mts +0 -1
- package/dist/configure/services/executor/trigger/index.d.mts +0 -1
- package/dist/configure/services/executor/trigger/schedule.d.mts +0 -1
- package/dist/configure/services/executor/trigger/webhook.d.mts +0 -1
- package/dist/configure/services/http-adapter/http-adapter.d.mts +1 -2
- package/dist/configure/services/idp/index.d.mts +1 -5
- package/dist/configure/services/idp/permission.d.mts +4 -5
- package/dist/configure/services/idp/types.d.mts +0 -1
- package/dist/configure/services/index.d.mts +5 -0
- package/dist/configure/services/resolver/resolver.d.mts +1 -0
- package/dist/configure/services/resolver/types.d.mts +0 -1
- package/dist/configure/services/secrets/index.d.mts +0 -1
- package/dist/configure/services/secrets/types.d.mts +0 -1
- package/dist/configure/services/staticwebsite/index.d.mts +0 -1
- package/dist/configure/services/staticwebsite/types.d.mts +0 -1
- package/dist/configure/services/tailordb/permission.d.mts +4 -5
- package/dist/configure/services/tailordb/schema.d.mts +86 -56
- package/dist/configure/services/tailordb/types.d.mts +66 -17
- package/dist/configure/services/workflow/execution-policy.d.mts +2 -3
- package/dist/configure/services/workflow/execution-policy.types.d.mts +0 -1
- package/dist/configure/services/workflow/index.d.mts +1 -0
- package/dist/configure/services/workflow/job.d.mts +0 -1
- package/dist/configure/services/workflow/wait-point.d.mts +0 -1
- package/dist/configure/services/workflow/workflow.d.mts +1 -1
- package/dist/configure/types/field.d.mts +1 -2
- package/dist/configure/types/field.types.d.mts +6 -45
- package/dist/configure/types/index.d.mts +1 -0
- package/dist/configure/types/type.d.mts +2 -11
- package/dist/{crashreport-D3RjuSYb.mjs → crashreport-0ioNRZ4K.mjs} +1 -1
- package/dist/{crashreport-Cg-pqRJV.mjs → crashreport-CxHne11E.mjs} +4 -3
- package/dist/{crashreport-Cg-pqRJV.mjs.map → crashreport-CxHne11E.mjs.map} +1 -1
- package/dist/errors-DfnF4ibq.mjs +100 -0
- package/dist/errors-DfnF4ibq.mjs.map +1 -0
- package/dist/{globals-BjhJJ2dN.mjs → globals-D-YbJKW-.mjs} +16 -10
- package/dist/globals-D-YbJKW-.mjs.map +1 -0
- package/dist/kysely/index.d.mts +3 -4
- package/dist/{kysely-type-D-zflMGf.mjs → kysely-type-DqIRgDYR.mjs} +4 -3
- package/dist/kysely-type-DqIRgDYR.mjs.map +1 -0
- package/dist/{logger-BEiZZ3qT.mjs → logger-BwS4ppwO.mjs} +3 -3
- package/dist/logger-BwS4ppwO.mjs.map +1 -0
- package/dist/parser/service/auth/index.d.mts +1 -1
- package/dist/parser/service/auth/schema.d.mts +2 -0
- package/dist/parser/service/http-adapter/index.d.mts +1 -1
- package/dist/parser/service/idp/types.d.mts +1 -0
- package/dist/parser/service/tailordb/type-source.d.mts +10 -0
- package/dist/parser/service/tailordb/types.d.mts +6 -1
- package/dist/plugin/builtin/enum-constants/index.d.mts +0 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +0 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +0 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +0 -1
- package/dist/plugin/get-generated-type.d.mts +0 -1
- package/dist/plugin/manager.d.mts +2 -1
- package/dist/plugin/types.d.mts +0 -1
- package/dist/plugin/with-context.d.mts +0 -1
- package/dist/{register-ts-hook-BM1caLT0.mjs → register-ts-hook-DL31O2W9.mjs} +3076 -1744
- package/dist/register-ts-hook-DL31O2W9.mjs.map +1 -0
- package/dist/{registry-BSbq6SPo.mjs → registry-CC3CbQiF.mjs} +3 -3
- package/dist/registry-CC3CbQiF.mjs.map +1 -0
- package/dist/runtime/aigateway.d.mts +0 -1
- package/dist/runtime/authconnection.d.mts +0 -1
- package/dist/runtime/context.d.mts +0 -1
- package/dist/runtime/field-parse.d.mts +10 -0
- package/dist/runtime/globals.d.mts +5 -3
- package/dist/runtime/index.d.mts +0 -1
- package/dist/runtime/index.mjs +1 -1
- package/dist/runtime/types.d.mts +9 -4
- package/dist/runtime/workflow.d.mts +70 -10
- package/dist/runtime/workflow.mjs +1 -1
- package/dist/{schema-C4LYbXVG.mjs → schema--xYWRGfe.mjs} +272 -51
- package/dist/schema--xYWRGfe.mjs.map +1 -0
- package/dist/{secret-file-aoNXJmKa.mjs → secret-file-C3J4Gy8r.mjs} +2 -27
- package/dist/secret-file-C3J4Gy8r.mjs.map +1 -0
- package/dist/{secretmanager-Bd45j7an.mjs → secretmanager-IY4UvinW.mjs} +42 -9
- package/dist/secretmanager-IY4UvinW.mjs.map +1 -0
- package/dist/seed/index.d.mts +3 -2
- package/dist/{service-ufH7sS8o.mjs → service-CnHz9rwz.mjs} +47 -20
- package/dist/service-CnHz9rwz.mjs.map +1 -0
- package/dist/{service-DeZeYa06.mjs → service-DaeJlBoH.mjs} +3 -3
- package/dist/{service-DeZeYa06.mjs.map → service-DaeJlBoH.mjs.map} +1 -1
- package/dist/service-nU6ITOHL.mjs +3 -0
- package/dist/service_pb-BoLM0X4K.mjs +167 -0
- package/dist/service_pb-BoLM0X4K.mjs.map +1 -0
- package/dist/{service_pb-B2FF59sP.mjs → service_pb-r1T7kpJc.mjs} +1 -1
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +0 -1
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +0 -1
- package/dist/types/aigateway.generated.d.mts +5 -2
- package/dist/types/auth-connection.generated.d.mts +24 -11
- package/dist/types/auth.generated.d.mts +115 -84
- package/dist/types/executor.generated.d.mts +133 -123
- package/dist/types/helpers.d.mts +7 -6
- package/dist/types/http-adapter.generated.d.mts +11 -5
- package/dist/types/idp.generated.d.mts +536 -524
- package/dist/types/resolver.generated.d.mts +26 -11
- package/dist/types/staticwebsite.generated.d.mts +7 -3
- package/dist/types/tailordb.generated.d.mts +57 -29
- package/dist/types/workflow.generated.d.mts +9 -4
- package/dist/user-agent-Bgsszb5I.mjs +28 -0
- package/dist/user-agent-Bgsszb5I.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +1 -2
- package/dist/utils/test/index.mjs +36 -10
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/utils/test/mock.d.mts +0 -1
- package/dist/vitest/environment.mjs +1 -1
- package/dist/vitest/index.d.mts +9 -9
- package/dist/vitest/index.mjs +591 -173
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mock-kysely.d.mts +0 -1
- package/dist/vitest/mock.d.mts +8 -8
- package/dist/vitest/mocks/aigateway.d.mts +16 -6
- package/dist/vitest/mocks/authconnection.d.mts +16 -6
- package/dist/vitest/mocks/file.d.mts +23 -6
- package/dist/vitest/mocks/iconv.d.mts +28 -4
- package/dist/vitest/mocks/idp.d.mts +26 -10
- package/dist/vitest/mocks/secretmanager.d.mts +16 -5
- package/dist/vitest/mocks/tailordb.d.mts +54 -10
- package/dist/vitest/mocks/workflow.d.mts +72 -21
- package/dist/vitest/setup.mjs +2 -2
- package/dist/vitest/workflow-local.d.mts +1 -0
- package/dist/workflow-9kHGKxF2.mjs +64 -0
- package/dist/workflow-9kHGKxF2.mjs.map +1 -0
- package/dist/{service_pb-B5w9rjPY.mjs → workspace_resource_pb-Db3fv68L.mjs} +57 -165
- package/dist/workspace_resource_pb-Db3fv68L.mjs.map +1 -0
- package/docs/cli/application.md +61 -15
- package/docs/cli/setup.md +1 -1
- package/docs/cli/tailordb.md +8 -140
- package/docs/cli/workspace.md +6 -4
- package/docs/cli-reference.md +18 -14
- package/docs/github-actions.md +8 -0
- package/docs/migration/v2.md +247 -0
- package/docs/runtime.md +5 -6
- package/docs/services/aigateway.md +2 -0
- package/docs/services/executor.md +5 -0
- package/docs/services/tailordb.md +144 -68
- package/docs/services/workflow.md +3 -3
- package/docs/testing.md +105 -89
- package/package.json +22 -25
- package/dist/application-BO4ZF8wP.mjs +0 -3
- package/dist/application-BX13RArL.mjs.map +0 -1
- package/dist/cli/erd-viewer-assets/app.js +0 -1424
- package/dist/cli/erd-viewer-assets/index.html +0 -77
- package/dist/cli/erd-viewer-assets/serve.json +0 -13
- package/dist/cli/erd-viewer-assets/styles.css +0 -1036
- package/dist/cli/shared/trigger-context.d.mts +0 -1
- package/dist/configure/types/field-runtime.d.mts +0 -17
- package/dist/errors-118wUDRr.mjs +0 -42
- package/dist/errors-118wUDRr.mjs.map +0 -1
- package/dist/field-runtime-CAnh_oow.mjs +0 -183
- package/dist/field-runtime-CAnh_oow.mjs.map +0 -1
- package/dist/globals-BjhJJ2dN.mjs.map +0 -1
- package/dist/kysely-type-D-zflMGf.mjs.map +0 -1
- package/dist/logger-BEiZZ3qT.mjs.map +0 -1
- package/dist/register-ts-hook-BM1caLT0.mjs.map +0 -1
- package/dist/registry-BSbq6SPo.mjs.map +0 -1
- package/dist/resource_pb-BRv7AMXK.mjs +0 -49
- package/dist/resource_pb-BRv7AMXK.mjs.map +0 -1
- package/dist/schema-C4LYbXVG.mjs.map +0 -1
- package/dist/secret-file-aoNXJmKa.mjs.map +0 -1
- package/dist/secretmanager-Bd45j7an.mjs.map +0 -1
- package/dist/service-CkIwEctX.mjs +0 -3
- package/dist/service-ufH7sS8o.mjs.map +0 -1
- package/dist/service_pb-B5w9rjPY.mjs.map +0 -1
- package/dist/types-C-lQ4se3.mjs +0 -4
- package/dist/types-CXF2OYdR.mjs +0 -199
- package/dist/types-CXF2OYdR.mjs.map +0 -1
- package/dist/workflow-GNuSnsTx.mjs +0 -22
- package/dist/workflow-GNuSnsTx.mjs.map +0 -1
|
@@ -3,7 +3,6 @@ import { TailorDBGQLPermission, TailorDBService, TailorDBType } from "./tailordb
|
|
|
3
3
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
import { FieldMask } from "@bufbuild/protobuf/wkt";
|
|
6
|
-
|
|
7
6
|
//#region ../tailor-proto/src/tailor/v1/tailordb_pb.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* @generated from message tailor.v1.ComposeTailorDBSDLRequest
|
|
@@ -2,7 +2,6 @@ import { Namespace, Script } from "./resource_pb.mjs";
|
|
|
2
2
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
import { Value } from "@bufbuild/protobuf/wkt";
|
|
5
|
-
|
|
6
5
|
//#region ../tailor-proto/src/tailor/v1/tailordb_resource_pb.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* @generated from message tailor.v1.TailorDBService
|
|
@@ -2,7 +2,6 @@ import { PageDirection } from "./resource_pb.mjs";
|
|
|
2
2
|
import { OTLPExporter, ResourceAttributesConfig } from "./telemetryrouter_resource_pb.mjs";
|
|
3
3
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
import { Message } from "@bufbuild/protobuf";
|
|
5
|
-
|
|
6
5
|
//#region ../tailor-proto/src/tailor/v1/telemetryrouter_pb.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* @generated from message tailor.v1.CreateOTLPExporterRequest
|
|
@@ -2,7 +2,6 @@ import { SecretValue } from "./secret_manager_resource_pb.mjs";
|
|
|
2
2
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { Message } from "@bufbuild/protobuf";
|
|
4
4
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
-
|
|
6
5
|
//#region ../tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* @generated from message tailor.v1.OTLPExporter
|
|
@@ -3,7 +3,6 @@ import { AuthInvoker } from "./auth_resource_pb.mjs";
|
|
|
3
3
|
import { ConcurrencyPolicy, RetryPolicy, Workflow, WorkflowExecution, WorkflowJobFunction, WorkflowJobFunctionExecutionPolicy, WorkflowJobFunctionSummary } from "./workflow_resource_pb.mjs";
|
|
4
4
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { Message } from "@bufbuild/protobuf";
|
|
6
|
-
|
|
7
6
|
//#region ../tailor-proto/src/tailor/v1/workflow_pb.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* @generated from message tailor.v1.CreateWorkflowRequest
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
3
|
import { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
-
|
|
5
4
|
//#region ../tailor-proto/src/tailor/v1/workflow_resource_pb.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* @generated from message tailor.v1.WorkflowJobFunction
|
|
@@ -3,7 +3,6 @@ import { PageDirection } from "./resource_pb.mjs";
|
|
|
3
3
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
-
|
|
7
6
|
//#region ../tailor-proto/src/tailor/v1/workspace_pb.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* @generated from message tailor.v1.ListAvailableWorkspaceRegionsRequest
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
-
|
|
5
4
|
//#region ../tailor-proto/src/tailor/v1/workspace_resource_pb.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* @generated from message tailor.v1.Organization
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
//#region src/types/aigateway.generated.d.ts
|
|
2
2
|
type AIGateway = {
|
|
3
|
-
/** AI Gateway name */
|
|
4
|
-
|
|
3
|
+
/** AI Gateway name */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Auth namespace used to resolve request tokens against the workspace's auth */
|
|
6
|
+
authNamespace: string;
|
|
7
|
+
/** Allowed CORS origins for browser-based clients. Each entry is `*`, `http(s)://*`, `http(s)://*.example.com`, or `http(s)://app.example.com`, optionally with `:port`. Empty list disables cross-origin access. */
|
|
5
8
|
cors?: string[] | undefined;
|
|
6
9
|
};
|
|
7
10
|
type AIGatewayInput = AIGateway;
|
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
//#region src/types/auth-connection.generated.d.ts
|
|
2
2
|
type AuthConnectionOAuth2Config = {
|
|
3
|
-
/** OAuth2 provider URL */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/** OAuth2 provider URL */
|
|
4
|
+
providerUrl: string;
|
|
5
|
+
/** OAuth2 issuer URL */
|
|
6
|
+
issuerUrl: string;
|
|
7
|
+
/** OAuth2 client ID */
|
|
8
|
+
clientId: string;
|
|
9
|
+
/** OAuth2 client secret */
|
|
10
|
+
clientSecret: string;
|
|
11
|
+
/** OAuth2 authorization endpoint override */
|
|
12
|
+
authUrl?: string | undefined;
|
|
13
|
+
/** OAuth2 token endpoint override */
|
|
8
14
|
tokenUrl?: string | undefined;
|
|
9
15
|
};
|
|
10
16
|
type AuthConnectionConfig = {
|
|
11
|
-
/** OAuth2 provider URL */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
/** OAuth2 provider URL */
|
|
18
|
+
providerUrl: string;
|
|
19
|
+
/** OAuth2 issuer URL */
|
|
20
|
+
issuerUrl: string;
|
|
21
|
+
/** OAuth2 client ID */
|
|
22
|
+
clientId: string;
|
|
23
|
+
/** OAuth2 client secret */
|
|
24
|
+
clientSecret: string;
|
|
25
|
+
/** Connection type */
|
|
26
|
+
type: "oauth2";
|
|
27
|
+
/** OAuth2 authorization endpoint override */
|
|
28
|
+
authUrl?: string | undefined;
|
|
29
|
+
/** OAuth2 token endpoint override */
|
|
17
30
|
tokenUrl?: string | undefined;
|
|
18
31
|
};
|
|
19
32
|
//#endregion
|
|
@@ -1,93 +1,148 @@
|
|
|
1
1
|
//#region src/types/auth.generated.d.ts
|
|
2
2
|
type OIDC = {
|
|
3
|
-
/** Identity provider name */
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** Identity provider name */
|
|
4
|
+
name: string;
|
|
5
|
+
kind: "OIDC";
|
|
6
|
+
/** OAuth2 client ID */
|
|
7
|
+
clientID: string;
|
|
8
|
+
/** OAuth2 client secret */
|
|
6
9
|
clientSecret: {
|
|
7
10
|
vaultName: string;
|
|
8
11
|
secretKey: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
};
|
|
13
|
+
/** OIDC provider URL */
|
|
14
|
+
providerURL: string;
|
|
15
|
+
/** OIDC issuer URL (defaults to providerURL) */
|
|
16
|
+
issuerURL?: string | undefined;
|
|
17
|
+
/** JWT claim to use as username */
|
|
12
18
|
usernameClaim?: string | undefined;
|
|
13
19
|
};
|
|
14
20
|
type SAML = {
|
|
15
|
-
/** Identity provider name */
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
/** Identity provider name */
|
|
22
|
+
name: string;
|
|
23
|
+
kind: "SAML";
|
|
24
|
+
/** Enable signing of SAML requests */
|
|
25
|
+
enableSignRequest: boolean;
|
|
26
|
+
/** URL to fetch SAML metadata (mutually exclusive with rawMetadata) */
|
|
27
|
+
metadataURL?: string | undefined;
|
|
28
|
+
/** Raw SAML metadata XML (mutually exclusive with metadataURL) */
|
|
29
|
+
rawMetadata?: string | undefined;
|
|
30
|
+
/** URL to redirect to when SAML ACS receives a response with an empty RelayState. */
|
|
20
31
|
defaultRedirectURL?: string | undefined;
|
|
21
32
|
};
|
|
22
33
|
type IDToken = {
|
|
23
|
-
/** Identity provider name */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
34
|
+
/** Identity provider name */
|
|
35
|
+
name: string;
|
|
36
|
+
kind: "IDToken";
|
|
37
|
+
/** ID token provider URL */
|
|
38
|
+
providerURL: string;
|
|
39
|
+
/** Client ID for ID token validation */
|
|
40
|
+
clientID: string;
|
|
41
|
+
/** ID token issuer URL */
|
|
42
|
+
issuerURL?: string | undefined;
|
|
43
|
+
/** JWT claim to use as username */
|
|
28
44
|
usernameClaim?: string | undefined;
|
|
29
45
|
};
|
|
30
46
|
type BuiltinIdP = {
|
|
31
|
-
/** Identity provider name */
|
|
32
|
-
|
|
33
|
-
|
|
47
|
+
/** Identity provider name */
|
|
48
|
+
name: string;
|
|
49
|
+
kind: "BuiltInIdP";
|
|
50
|
+
/** IdP namespace */
|
|
51
|
+
namespace: string;
|
|
52
|
+
/** OAuth2 client name in the IdP */
|
|
34
53
|
clientName: string;
|
|
35
54
|
};
|
|
36
55
|
type IdProvider = OIDC | SAML | IDToken | BuiltinIdP;
|
|
37
56
|
type OAuth2ClientInput = {
|
|
38
|
-
/** Allowed redirect URIs */
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
/** Allowed redirect URIs */
|
|
58
|
+
redirectURIs: (`https://${string}` | `http://${string}` | `${string}:url` | `${string}:url/${string}`)[];
|
|
59
|
+
/** Client description */
|
|
60
|
+
description?: string | undefined;
|
|
61
|
+
/** Allowed OAuth2 grant types */
|
|
62
|
+
grantTypes?: ("authorization_code" | "refresh_token")[] | undefined;
|
|
63
|
+
/** OAuth2 client type */
|
|
64
|
+
clientType?: "confidential" | "public" | "browser" | undefined;
|
|
65
|
+
/** Access token lifetime in seconds (60-86400) */
|
|
66
|
+
accessTokenLifetimeSeconds?: number | undefined;
|
|
67
|
+
/** Refresh token lifetime in seconds (60-604800) */
|
|
68
|
+
refreshTokenLifetimeSeconds?: number | undefined;
|
|
69
|
+
/** Require DPoP (Demonstrating Proof-of-Possession) for token requests */
|
|
44
70
|
requireDpop?: boolean | undefined;
|
|
45
71
|
};
|
|
46
72
|
type OAuth2Client = {
|
|
47
|
-
/** Allowed OAuth2 grant types */
|
|
48
|
-
|
|
73
|
+
/** Allowed OAuth2 grant types */
|
|
74
|
+
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
75
|
+
/** Allowed redirect URIs */
|
|
76
|
+
redirectURIs: (`https://${string}` | `http://${string}` | `${string}:url` | `${string}:url/${string}`)[];
|
|
77
|
+
/** Access token lifetime in seconds (60-86400) */
|
|
49
78
|
accessTokenLifetimeSeconds: {
|
|
50
79
|
seconds: bigint;
|
|
51
80
|
nanos: number;
|
|
52
|
-
} | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
/** Refresh token lifetime in seconds (60-604800) */
|
|
53
83
|
refreshTokenLifetimeSeconds: {
|
|
54
84
|
seconds: bigint;
|
|
55
85
|
nanos: number;
|
|
56
|
-
} | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
86
|
+
} | undefined;
|
|
87
|
+
/** Client description */
|
|
88
|
+
description?: string | undefined;
|
|
89
|
+
/** OAuth2 client type */
|
|
90
|
+
clientType?: "confidential" | "public" | "browser" | undefined;
|
|
91
|
+
/** Require DPoP (Demonstrating Proof-of-Possession) for token requests */
|
|
59
92
|
requireDpop?: boolean | undefined;
|
|
60
93
|
};
|
|
61
94
|
type SCIMAuthorization = {
|
|
62
|
-
/** SCIM authorization type */
|
|
95
|
+
/** SCIM authorization type */
|
|
96
|
+
type: "oauth2" | "bearer";
|
|
97
|
+
/** Bearer token secret (required for bearer type) */
|
|
63
98
|
bearerSecret?: {
|
|
64
99
|
vaultName: string;
|
|
65
100
|
secretKey: string;
|
|
66
101
|
} | undefined;
|
|
67
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* SCIM attribute data type
|
|
105
|
+
*/
|
|
106
|
+
type SCIMAttributeType = "string" | "number" | "boolean" | "datetime" | "complex";
|
|
68
107
|
type SCIMAttribute = {
|
|
69
|
-
/** Attribute data type */
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
108
|
+
/** Attribute data type */
|
|
109
|
+
type: SCIMAttributeType;
|
|
110
|
+
/** Attribute name */
|
|
111
|
+
name: string;
|
|
112
|
+
/** Attribute description */
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
/** Attribute mutability */
|
|
115
|
+
mutability?: "readOnly" | "readWrite" | "writeOnly" | undefined;
|
|
116
|
+
/** Whether the attribute is required */
|
|
117
|
+
required?: boolean | undefined;
|
|
118
|
+
/** Whether the attribute can have multiple values */
|
|
119
|
+
multiValued?: boolean | undefined;
|
|
120
|
+
/** Uniqueness constraint */
|
|
121
|
+
uniqueness?: "none" | "server" | "global" | undefined;
|
|
122
|
+
/** List of canonical values */
|
|
76
123
|
canonicalValues?: string[] | null | undefined;
|
|
77
124
|
subAttributes?: SCIMAttribute[] | null | undefined;
|
|
78
125
|
};
|
|
79
126
|
type SCIMAttributeMapping = {
|
|
80
|
-
/** TailorDB field name to map to */
|
|
127
|
+
/** TailorDB field name to map to */
|
|
128
|
+
tailorDBField: string;
|
|
129
|
+
/** SCIM attribute path */
|
|
81
130
|
scimPath: string;
|
|
82
131
|
};
|
|
83
132
|
type SCIMResource = {
|
|
84
|
-
/** SCIM resource name */
|
|
85
|
-
|
|
86
|
-
|
|
133
|
+
/** SCIM resource name */
|
|
134
|
+
name: string;
|
|
135
|
+
/** TailorDB namespace for the resource */
|
|
136
|
+
tailorDBNamespace: string;
|
|
137
|
+
/** TailorDB type name for the resource */
|
|
138
|
+
tailorDBType: string;
|
|
139
|
+
/** Core SCIM schema definition */
|
|
87
140
|
coreSchema: {
|
|
88
|
-
/** SCIM resource name */
|
|
141
|
+
/** SCIM resource name */
|
|
142
|
+
name: string;
|
|
89
143
|
attributes: {
|
|
90
|
-
type: "string" | "number" | "boolean" | "datetime" | "complex";
|
|
144
|
+
type: "string" | "number" | "boolean" | "datetime" | "complex";
|
|
145
|
+
/** SCIM resource name */
|
|
91
146
|
name: string;
|
|
92
147
|
description?: string | undefined;
|
|
93
148
|
mutability?: "readOnly" | "readWrite" | "writeOnly" | undefined;
|
|
@@ -97,49 +152,25 @@ type SCIMResource = {
|
|
|
97
152
|
canonicalValues?: string[] | null | undefined;
|
|
98
153
|
subAttributes?: any[] | null | undefined;
|
|
99
154
|
}[];
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
scimPath: string;
|
|
104
|
-
}[];
|
|
155
|
+
};
|
|
156
|
+
/** Attribute mapping configuration */
|
|
157
|
+
attributeMapping: SCIMAttributeMapping[];
|
|
105
158
|
};
|
|
106
159
|
type SCIMConfig = {
|
|
107
|
-
/** Machine user name for SCIM operations */
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
} | undefined;
|
|
114
|
-
}; /** SCIM resource definitions */
|
|
115
|
-
resources: {
|
|
116
|
-
name: string;
|
|
117
|
-
tailorDBNamespace: string;
|
|
118
|
-
tailorDBType: string;
|
|
119
|
-
coreSchema: {
|
|
120
|
-
name: string;
|
|
121
|
-
attributes: {
|
|
122
|
-
type: "string" | "number" | "boolean" | "datetime" | "complex";
|
|
123
|
-
name: string;
|
|
124
|
-
description?: string | undefined;
|
|
125
|
-
mutability?: "readOnly" | "readWrite" | "writeOnly" | undefined;
|
|
126
|
-
required?: boolean | undefined;
|
|
127
|
-
multiValued?: boolean | undefined;
|
|
128
|
-
uniqueness?: "none" | "server" | "global" | undefined;
|
|
129
|
-
canonicalValues?: string[] | null | undefined;
|
|
130
|
-
subAttributes?: any[] | null | undefined;
|
|
131
|
-
}[];
|
|
132
|
-
};
|
|
133
|
-
attributeMapping: {
|
|
134
|
-
tailorDBField: string;
|
|
135
|
-
scimPath: string;
|
|
136
|
-
}[];
|
|
137
|
-
}[];
|
|
160
|
+
/** Machine user name for SCIM operations */
|
|
161
|
+
machineUserName: string;
|
|
162
|
+
/** SCIM authorization configuration */
|
|
163
|
+
authorization: SCIMAuthorization;
|
|
164
|
+
/** SCIM resource definitions */
|
|
165
|
+
resources: SCIMResource[];
|
|
138
166
|
};
|
|
139
167
|
type TenantProvider = {
|
|
140
|
-
/** TailorDB namespace for the tenant type */
|
|
141
|
-
|
|
168
|
+
/** TailorDB namespace for the tenant type */
|
|
169
|
+
namespace: string;
|
|
170
|
+
/** TailorDB type name for tenants */
|
|
171
|
+
type: string;
|
|
172
|
+
/** Field used as the tenant signature */
|
|
142
173
|
signatureField: string;
|
|
143
174
|
};
|
|
144
175
|
//#endregion
|
|
145
|
-
export { BuiltinIdP, IDToken, IdProvider, OAuth2Client, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider };
|
|
176
|
+
export { BuiltinIdP, IDToken, IdProvider, OAuth2Client, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider };
|