@tailor-platform/sdk 2.0.0-next.1 → 2.0.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1056 -24
- package/README.md +9 -9
- package/agent-skills/{tailor-sdk → tailor}/SKILL.md +3 -1
- package/dist/aigateway-DR4Kwuik.mjs +9 -0
- package/dist/aigateway-DR4Kwuik.mjs.map +1 -0
- package/dist/{application-DqS1yBg3.mjs → application-CM6hKnSK.mjs} +2155 -2008
- package/dist/application-CM6hKnSK.mjs.map +1 -0
- package/dist/application-CXNaUNhv.mjs +3 -0
- package/dist/authconnection-CZvi9ANm.mjs +9 -0
- package/dist/authconnection-CZvi9ANm.mjs.map +1 -0
- package/dist/brand-Eo4pLXPJ.mjs.map +1 -1
- package/dist/cli/cache/bundle-cache.d.mts +2 -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 +4 -0
- package/dist/cli/commands/deploy/aigateway.d.mts +5 -0
- package/dist/cli/commands/deploy/application.d.mts +7 -0
- package/dist/cli/commands/deploy/apply-phases.d.mts +14 -0
- package/dist/cli/commands/deploy/auth.d.mts +5 -0
- package/dist/cli/commands/deploy/deploy.d.mts +35 -0
- package/dist/cli/commands/deploy/executor.d.mts +7 -0
- package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
- package/dist/cli/commands/deploy/function-registry.d.mts +6 -0
- package/dist/cli/commands/deploy/idp.d.mts +5 -0
- package/dist/cli/commands/deploy/label.d.mts +2 -0
- package/dist/cli/commands/deploy/resolver.d.mts +5 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +5 -0
- package/dist/cli/commands/deploy/staticwebsite.d.mts +5 -0
- package/dist/cli/commands/deploy/tailordb/index.d.mts +10 -0
- package/dist/cli/commands/deploy/types.d.mts +4 -0
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -0
- package/dist/cli/commands/deploy/workflow.d.mts +4 -0
- package/dist/cli/commands/executor/get.d.mts +19 -0
- package/dist/cli/commands/executor/jobs.d.mts +85 -0
- package/dist/cli/commands/executor/list.d.mts +18 -0
- package/dist/cli/commands/executor/transform.d.mts +42 -0
- package/dist/cli/commands/executor/trigger.d.mts +30 -0
- package/dist/cli/commands/executor/webhook.d.mts +21 -0
- package/dist/cli/commands/function/get.d.mts +17 -0
- package/dist/cli/commands/function/list.d.mts +21 -0
- package/dist/cli/commands/function/transform.d.mts +12 -0
- package/dist/cli/commands/generate/options.d.mts +6 -0
- package/dist/cli/commands/generate/seed/bundler.d.mts +27 -0
- package/dist/cli/commands/generate/service.d.mts +15 -0
- package/dist/cli/commands/machineuser/list.d.mts +26 -0
- package/dist/cli/commands/machineuser/token.d.mts +21 -0
- package/dist/cli/commands/oauth2client/get.d.mts +17 -0
- package/dist/cli/commands/oauth2client/list.d.mts +19 -0
- package/dist/cli/commands/oauth2client/transform.d.mts +21 -0
- package/dist/cli/commands/organization/folder/create.d.mts +17 -0
- package/dist/cli/commands/organization/folder/delete.d.mts +15 -0
- package/dist/cli/commands/organization/folder/get.d.mts +16 -0
- package/dist/cli/commands/organization/folder/list.d.mts +21 -0
- package/dist/cli/commands/organization/folder/update.d.mts +17 -0
- package/dist/cli/commands/organization/get.d.mts +15 -0
- package/dist/cli/commands/organization/list.d.mts +14 -0
- package/dist/cli/commands/organization/transform.d.mts +29 -0
- package/dist/cli/commands/organization/tree.d.mts +24 -0
- package/dist/cli/commands/organization/update.d.mts +16 -0
- package/dist/cli/commands/remove.d.mts +15 -0
- package/dist/cli/commands/show.d.mts +39 -0
- package/dist/cli/commands/staticwebsite/deploy.d.mts +19 -0
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +29 -0
- package/dist/cli/commands/tailordb/migrate/config.d.mts +18 -0
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +246 -0
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +16 -0
- package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +5 -0
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +208 -0
- package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +98 -0
- package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
- package/dist/cli/commands/tailordb/truncate.d.mts +18 -0
- package/dist/cli/commands/workflow/executions.d.mts +62 -0
- package/dist/cli/commands/workflow/get.d.mts +21 -0
- package/dist/cli/commands/workflow/list.d.mts +18 -0
- package/dist/cli/commands/workflow/resume.d.mts +22 -0
- package/dist/cli/commands/workflow/start.d.mts +48 -0
- package/dist/cli/commands/workflow/status.d.mts +6 -0
- package/dist/cli/commands/workflow/transform.d.mts +34 -0
- package/dist/cli/commands/workflow/wait.d.mts +15 -0
- package/dist/cli/commands/workflow/waiter.d.mts +23 -0
- package/dist/cli/commands/workspace/app/health.d.mts +17 -0
- package/dist/cli/commands/workspace/app/list.d.mts +21 -0
- package/dist/cli/commands/workspace/app/transform.d.mts +20 -0
- package/dist/cli/commands/workspace/create.d.mts +27 -0
- package/dist/cli/commands/workspace/delete.d.mts +14 -0
- package/dist/cli/commands/workspace/get.d.mts +16 -0
- package/dist/cli/commands/workspace/list.d.mts +17 -0
- package/dist/cli/commands/workspace/restore.d.mts +14 -0
- package/dist/cli/commands/workspace/transform.d.mts +20 -0
- package/dist/cli/commands/workspace/user/invite.d.mts +21 -0
- package/dist/cli/commands/workspace/user/list.d.mts +21 -0
- package/dist/cli/commands/workspace/user/remove.d.mts +16 -0
- package/dist/cli/commands/workspace/user/transform.d.mts +9 -0
- package/dist/cli/commands/workspace/user/update.d.mts +21 -0
- package/dist/cli/index.mjs +12 -5481
- package/dist/cli/lib.d.mts +86 -21048
- package/dist/cli/lib.mjs +245 -46
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.d.mts +23 -0
- package/dist/cli/main.mjs +6777 -0
- package/dist/cli/main.mjs.map +1 -0
- package/dist/cli/query/index.d.mts +38 -0
- package/dist/cli/services/application.d.mts +12 -0
- package/dist/cli/services/auth/service.d.mts +3 -0
- package/dist/cli/services/executor/service.d.mts +1 -0
- package/dist/cli/services/http-adapter/bundler.d.mts +4 -0
- package/dist/cli/services/http-adapter/service.d.mts +2 -0
- package/dist/cli/services/resolver/service.d.mts +1 -0
- package/dist/cli/services/tailordb/service.d.mts +3 -0
- package/dist/cli/services/workflow/bundler.d.mts +3 -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 +1298 -0
- package/dist/cli/shared/config-loader.d.mts +32 -0
- package/dist/cli/shared/context.d.mts +29 -0
- package/dist/cli/shared/error-json.d.mts +23 -0
- package/dist/cli/shared/readonly-guard.d.mts +25 -0
- package/dist/cli/shared/script-executor.d.mts +77 -0
- package/dist/cli/shared/seed-chunker.d.mts +45 -0
- package/dist/cli/shared/seed-context.d.mts +49 -0
- package/dist/cli/shared/tailordb-namespaces.d.mts +40 -0
- package/dist/cli/shared/tsconfig-paths-plugin.d.mts +2 -0
- package/dist/cli/shared/type-generator.d.mts +20 -0
- package/dist/cli/shared/workspace-name.d.mts +1 -0
- package/dist/cli/ts-hook.d.mts +4 -0
- package/dist/cli/ts-hook.mjs +333 -0
- package/dist/completion/zsh-worker.zsh +1471 -1217
- package/dist/configure/config/index.d.mts +20 -0
- package/dist/configure/config/types.d.mts +134 -0
- package/dist/configure/index.d.mts +135 -8
- package/dist/configure/index.mjs +558 -36
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/aigateway/index.d.mts +16 -0
- package/dist/configure/services/aigateway/types.d.mts +10 -0
- package/dist/configure/services/auth/index.d.mts +33 -0
- package/dist/configure/services/auth/types.d.mts +168 -0
- package/dist/configure/services/executor/executor.d.mts +70 -0
- package/dist/configure/services/executor/index.d.mts +9 -0
- package/dist/configure/services/executor/operation.d.mts +50 -0
- package/dist/configure/services/executor/trigger/event.d.mts +514 -0
- package/dist/configure/services/executor/trigger/index.d.mts +7 -0
- package/dist/configure/services/executor/trigger/schedule.d.mts +24 -0
- package/dist/configure/services/executor/trigger/webhook.d.mts +43 -0
- package/dist/configure/services/executor/types.d.mts +2 -0
- package/dist/configure/services/http-adapter/http-adapter.d.mts +124 -0
- package/dist/configure/services/http-adapter/index.d.mts +2 -0
- package/dist/configure/services/idp/index.d.mts +60 -0
- package/dist/configure/services/idp/permission.d.mts +64 -0
- package/dist/configure/services/idp/types.d.mts +23 -0
- package/dist/configure/services/index.d.mts +40 -0
- package/dist/configure/services/resolver/index.d.mts +6 -0
- package/dist/configure/services/resolver/permission.d.mts +64 -0
- package/dist/configure/services/resolver/resolver.d.mts +88 -0
- package/dist/configure/services/resolver/types.d.mts +5 -0
- package/dist/configure/services/secrets/index.d.mts +37 -0
- package/dist/configure/services/secrets/types.d.mts +10 -0
- package/dist/configure/services/staticwebsite/index.d.mts +18 -0
- package/dist/configure/services/staticwebsite/types.d.mts +10 -0
- package/dist/configure/services/tailordb/index.d.mts +3 -0
- package/dist/configure/services/tailordb/permission.d.mts +103 -0
- package/dist/configure/services/tailordb/schema.d.mts +486 -0
- package/dist/configure/services/tailordb/types.d.mts +198 -0
- package/dist/configure/services/workflow/execution-policy.d.mts +70 -0
- package/dist/configure/services/workflow/execution-policy.types.d.mts +103 -0
- package/dist/configure/services/workflow/index.d.mts +9 -0
- package/dist/configure/services/workflow/job.d.mts +92 -0
- package/dist/configure/services/workflow/types.d.mts +2 -0
- package/dist/configure/services/workflow/wait-point.d.mts +72 -0
- package/dist/configure/services/workflow/workflow.d.mts +66 -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 +8 -0
- package/dist/configure/types/field.types.d.mts +70 -0
- package/dist/configure/types/idp-name.d.mts +12 -0
- package/dist/configure/types/index.d.mts +5 -0
- package/dist/configure/types/machine-user.d.mts +2 -0
- package/dist/configure/types/permission-operand.types.d.mts +20 -0
- package/dist/configure/types/type.d.mts +73 -0
- package/dist/{context-Bd266-ru.mjs → context-DYQVYWqZ.mjs} +4 -5
- package/dist/context-DYQVYWqZ.mjs.map +1 -0
- package/dist/{crashreport-BsjAkFWw.mjs → crashreport-B5LqCTfF.mjs} +10 -11
- package/dist/{crashreport-BsjAkFWw.mjs.map → crashreport-B5LqCTfF.mjs.map} +1 -1
- package/dist/{crashreport-pr6Rhvza.mjs → crashreport-eI7ty7ok.mjs} +1 -1
- package/dist/{errors-Dtf2WPaW.mjs → errors-D7583Zz7.mjs} +18 -2
- package/dist/errors-D7583Zz7.mjs.map +1 -0
- package/dist/{file-_oUZo76X.mjs → file-BUcmVIH2.mjs} +12 -22
- package/dist/file-BUcmVIH2.mjs.map +1 -0
- package/dist/{globals-Crz8o65k.mjs → globals-TfAVItuK.mjs} +32 -55
- package/dist/globals-TfAVItuK.mjs.map +1 -0
- package/dist/iconv-QWaZh0TT.mjs +38 -0
- package/dist/iconv-QWaZh0TT.mjs.map +1 -0
- package/dist/{idp-BDbK5gjm.mjs → idp-RA_swu-h.mjs} +12 -5
- package/dist/idp-RA_swu-h.mjs.map +1 -0
- package/dist/{interceptor-D-q1rvRl.mjs → interceptor-e33JtsC-.mjs} +2 -2
- package/dist/interceptor-e33JtsC-.mjs.map +1 -0
- package/dist/kysely/index.d.mts +5 -7
- package/dist/logger-BtX0suGY.mjs +48 -0
- package/dist/logger-BtX0suGY.mjs.map +1 -0
- package/dist/logger-CXQq9YIp.mjs +317 -0
- package/dist/logger-CXQq9YIp.mjs.map +1 -0
- package/dist/node-builtins-CmaL2Cbq.mjs +36 -0
- package/dist/node-builtins-CmaL2Cbq.mjs.map +1 -0
- package/dist/parser/service/auth/index.d.mts +1 -0
- package/dist/parser/service/auth/schema.d.mts +3 -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 +5 -0
- package/dist/parser/service/tailordb/type-source.d.mts +10 -0
- package/dist/parser/service/tailordb/types.d.mts +131 -0
- package/dist/platform-serialize-RoRtBS0v.mjs +46 -0
- package/dist/platform-serialize-RoRtBS0v.mjs.map +1 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +15 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +115 -2
- package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -0
- package/dist/plugin/builtin/file-utils/index.d.mts +15 -1
- package/dist/plugin/builtin/file-utils/index.mjs +149 -2
- package/dist/plugin/builtin/file-utils/index.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.d.mts +15 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +274 -2
- package/dist/plugin/builtin/kysely-type/index.mjs.map +1 -0
- package/dist/plugin/builtin/seed/index.d.mts +46 -2
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/builtin/seed/seed-type-processor.d.mts +21 -0
- package/dist/plugin/builtin/seed/types.d.mts +2 -0
- package/dist/plugin/get-generated-type.d.mts +16 -0
- package/dist/plugin/index.d.mts +3 -117
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/plugin/manager.d.mts +2 -0
- package/dist/plugin/types.d.mts +242 -0
- package/dist/plugin/with-context.d.mts +101 -0
- package/dist/{runtime-n9NCkjee.mjs → register-ts-hook-LYV7zH-e.mjs} +9652 -4479
- package/dist/register-ts-hook-LYV7zH-e.mjs.map +1 -0
- package/dist/{registry-DdsYlL_P.mjs → registry-BIGVUrMB.mjs} +12 -9
- package/dist/registry-BIGVUrMB.mjs.map +1 -0
- package/dist/{repl-editor-DmGr9zMw.mjs → repl-editor-BCozyiNq.mjs} +6 -5
- package/dist/{repl-editor-DmGr9zMw.mjs.map → repl-editor-BCozyiNq.mjs.map} +1 -1
- package/dist/runtime/aigateway.d.mts +25 -0
- package/dist/runtime/aigateway.mjs +3 -0
- package/dist/runtime/authconnection.d.mts +21 -2
- package/dist/runtime/authconnection.mjs +2 -2
- package/dist/runtime/context.d.mts +54 -2
- package/dist/runtime/context.mjs +2 -2
- package/dist/runtime/field-parse.d.mts +10 -0
- package/dist/runtime/file.d.mts +170 -2
- package/dist/runtime/file.mjs +2 -2
- package/dist/runtime/globals.d.mts +38 -20
- package/dist/runtime/iconv.d.mts +73 -2
- package/dist/runtime/iconv.mjs +2 -2
- package/dist/runtime/idp.d.mts +129 -2
- package/dist/runtime/idp.mjs +2 -2
- package/dist/runtime/index.d.mts +48 -9
- package/dist/runtime/index.mjs +10 -8
- package/dist/runtime/logger.d.mts +98 -0
- package/dist/runtime/logger.mjs +3 -0
- package/dist/runtime/secretmanager.d.mts +41 -2
- package/dist/runtime/secretmanager.mjs +2 -2
- package/dist/runtime/types.d.mts +25 -0
- package/dist/runtime/workflow.d.mts +106 -2
- package/dist/runtime/workflow.mjs +2 -2
- package/dist/{schema-BhkpP5Hw.mjs → schema--xYWRGfe.mjs} +288 -229
- package/dist/schema--xYWRGfe.mjs.map +1 -0
- package/dist/{secret-file-DBqZhjFQ.mjs → secret-file-C3J4Gy8r.mjs} +2 -2
- package/dist/{secret-file-DBqZhjFQ.mjs.map → secret-file-C3J4Gy8r.mjs.map} +1 -1
- package/dist/secretmanager-CYlpffsz.mjs +13 -0
- package/dist/secretmanager-CYlpffsz.mjs.map +1 -0
- package/dist/secretmanager-IY4UvinW.mjs +131 -0
- package/dist/secretmanager-IY4UvinW.mjs.map +1 -0
- package/dist/seed/index.d.mts +4 -4
- package/dist/seed-B-yckgQY.mjs +483 -0
- package/dist/seed-B-yckgQY.mjs.map +1 -0
- package/dist/{service-DU1mVzri.mjs → service-B5WynBHQ.mjs} +3 -3
- package/dist/{service-DU1mVzri.mjs.map → service-B5WynBHQ.mjs.map} +1 -1
- package/dist/service-M7OYziQP.mjs +3 -0
- package/dist/service-k1xy_A5G.mjs +864 -0
- package/dist/service-k1xy_A5G.mjs.map +1 -0
- package/dist/service_pb-D5--My_M.mjs +167 -0
- package/dist/service_pb-D5--My_M.mjs.map +1 -0
- package/dist/service_pb-i8CmnQP4.mjs +3 -0
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +203 -0
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +57 -0
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +420 -0
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +160 -0
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2069 -0
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +865 -0
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +111 -0
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +68 -0
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +438 -0
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +586 -0
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +192 -0
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +450 -0
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +191 -0
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +49 -0
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +406 -0
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +429 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +72 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +16 -0
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +308 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +590 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +329 -0
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +112 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +345 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +53 -0
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3658 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +186 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +28 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +428 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +89 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +683 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +796 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +329 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +207 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +961 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +330 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2014 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +482 -0
- package/dist/{telemetry-CdqJEzkj.mjs → telemetry-BRVdwh14.mjs} +3 -3
- package/dist/telemetry-BRVdwh14.mjs.map +1 -0
- package/dist/telemetry-CkbkeJxl.mjs +3 -0
- package/dist/test-env-key-D7UkZp99.mjs +75 -0
- package/dist/test-env-key-D7UkZp99.mjs.map +1 -0
- package/dist/types/aigateway.generated.d.mts +12 -0
- package/dist/types/app-config.generated.d.mts +4 -0
- package/dist/types/auth-connection.generated.d.mts +33 -0
- package/dist/types/auth.generated.d.mts +188 -0
- package/dist/types/executor.generated.d.mts +229 -0
- package/dist/types/helpers.d.mts +40 -0
- package/dist/types/http-adapter.generated.d.mts +28 -0
- package/dist/types/idp.generated.d.mts +626 -0
- package/dist/types/resolver.generated.d.mts +82 -0
- package/dist/types/secrets.generated.d.mts +14 -0
- package/dist/types/staticwebsite.generated.d.mts +14 -0
- package/dist/types/tailordb.generated.d.mts +468 -0
- package/dist/types/workflow.generated.d.mts +17 -0
- package/dist/user-agent-Bgsszb5I.mjs +28 -0
- package/dist/user-agent-Bgsszb5I.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +5 -100
- package/dist/utils/test/index.mjs +38 -189
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.d.mts +1 -2
- package/dist/vitest/environment.mjs +2 -2
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.d.mts +17 -431
- package/dist/vitest/index.mjs +1234 -67
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mock-kysely.d.mts +61 -0
- package/dist/vitest/mock.d.mts +10 -0
- package/dist/vitest/mocks/aigateway.d.mts +40 -0
- package/dist/vitest/mocks/authconnection.d.mts +38 -0
- package/dist/vitest/mocks/file.d.mts +58 -0
- package/dist/vitest/mocks/iconv.d.mts +51 -0
- package/dist/vitest/mocks/idp.d.mts +60 -0
- package/dist/vitest/mocks/logger.d.mts +45 -0
- package/dist/vitest/mocks/secretmanager.d.mts +44 -0
- package/dist/vitest/mocks/tailordb.d.mts +115 -0
- package/dist/vitest/mocks/workflow.d.mts +148 -0
- package/dist/vitest/setup.d.mts +1 -2
- package/dist/vitest/setup.mjs +2 -2
- package/dist/vitest/workflow-local.d.mts +41 -0
- package/dist/workflow-Bamae_Yc.mjs +34 -0
- package/dist/workflow-Bamae_Yc.mjs.map +1 -0
- package/dist/{client-z_oHGVNy.mjs → workspace_resource_pb-DXnO2AT-.mjs} +57 -621
- package/dist/workspace_resource_pb-DXnO2AT-.mjs.map +1 -0
- package/docs/cli/application.md +150 -250
- package/docs/cli/auth.md +51 -295
- package/docs/cli/completion.md +1 -25
- package/docs/cli/crashreport.md +3 -61
- package/docs/cli/executor.md +72 -183
- package/docs/cli/function.md +16 -132
- package/docs/cli/organization.md +11 -221
- package/docs/cli/plugin.md +29 -0
- package/docs/cli/query.md +2 -22
- package/docs/cli/secret.md +71 -251
- package/docs/cli/setup.md +138 -40
- package/docs/cli/skills.md +50 -39
- package/docs/cli/staticwebsite.md +32 -180
- package/docs/cli/tailordb.md +89 -413
- package/docs/cli/upgrade.md +2 -22
- package/docs/cli/user.md +78 -247
- package/docs/cli/workflow.md +150 -172
- package/docs/cli/workspace.md +167 -538
- package/docs/cli-reference.md +214 -96
- package/docs/configuration.md +90 -6
- package/docs/github-actions.md +72 -24
- package/docs/migration/v2.md +1613 -0
- package/docs/multi-environment.md +29 -7
- package/docs/plugin/custom.md +4 -4
- package/docs/plugin/index.md +8 -8
- package/docs/quickstart.md +8 -7
- package/docs/runtime.md +18 -9
- package/docs/services/aigateway.md +20 -2
- package/docs/services/auth.md +51 -59
- package/docs/services/executor.md +91 -6
- package/docs/services/http-adapter.md +16 -1
- package/docs/services/idp.md +62 -7
- package/docs/services/resolver.md +67 -11
- package/docs/services/secret.md +11 -11
- package/docs/services/staticwebsite.md +8 -2
- package/docs/services/tailordb-migration.md +55 -29
- package/docs/services/tailordb.md +205 -102
- package/docs/services/workflow.md +163 -55
- package/docs/testing.md +244 -143
- package/package.json +61 -46
- package/postinstall.mjs +4 -6
- package/dist/application-DB2r36Et.mjs +0 -3
- package/dist/application-DqS1yBg3.mjs.map +0 -1
- package/dist/authconnection-D2MhtTN5.mjs +0 -15
- package/dist/authconnection-D2MhtTN5.mjs.map +0 -1
- package/dist/authconnection-DvUQAjQS.d.mts +0 -39
- package/dist/cli/erd-viewer-assets/app.js +0 -1181
- package/dist/cli/erd-viewer-assets/index.html +0 -73
- package/dist/cli/erd-viewer-assets/serve.json +0 -13
- package/dist/cli/erd-viewer-assets/styles.css +0 -789
- package/dist/cli/index.d.mts +0 -5
- package/dist/cli/index.mjs.map +0 -1
- package/dist/client-Dbohmtkv.mjs +0 -3
- package/dist/client-z_oHGVNy.mjs.map +0 -1
- package/dist/context-Bd266-ru.mjs.map +0 -1
- package/dist/context-BuuIb8CC.d.mts +0 -68
- package/dist/enum-constants-j9QBF0cB.mjs +0 -116
- package/dist/enum-constants-j9QBF0cB.mjs.map +0 -1
- package/dist/errors-Dtf2WPaW.mjs.map +0 -1
- package/dist/field-DOsJCPFa.mjs +0 -22
- package/dist/field-DOsJCPFa.mjs.map +0 -1
- package/dist/file-BB8Vs9O_.d.mts +0 -250
- package/dist/file-_oUZo76X.mjs.map +0 -1
- package/dist/file-utils-DcyIPFQh.mjs +0 -150
- package/dist/file-utils-DcyIPFQh.mjs.map +0 -1
- package/dist/globals-Crz8o65k.mjs.map +0 -1
- package/dist/http-adapter.generated-WgMnb7Sb.d.mts +0 -580
- package/dist/iconv-Co-TOPuH.d.mts +0 -122
- package/dist/iconv-D2vi8G36.mjs +0 -63
- package/dist/iconv-D2vi8G36.mjs.map +0 -1
- package/dist/idp-BDbK5gjm.mjs.map +0 -1
- package/dist/idp-DrhVrLmV.d.mts +0 -160
- package/dist/index-5vPyRu1y.d.mts +0 -18
- package/dist/index-B7AKc18V.d.mts +0 -47
- package/dist/index-BlpzXncY.d.mts +0 -1016
- package/dist/index-CK7u9isy.d.mts +0 -46
- package/dist/index-CNYe5lnW.d.mts +0 -18
- package/dist/index-DjUdWlzf.d.mts +0 -18
- package/dist/index-ZePLwxw7.d.mts +0 -208
- package/dist/interceptor-D-q1rvRl.mjs.map +0 -1
- package/dist/job-fuc3j1Ma.mjs +0 -53
- package/dist/job-fuc3j1Ma.mjs.map +0 -1
- package/dist/kysely-type-DR8uzZTA.mjs +0 -274
- package/dist/kysely-type-DR8uzZTA.mjs.map +0 -1
- package/dist/logger-CxF-Ex5d.mjs +0 -220
- package/dist/logger-CxF-Ex5d.mjs.map +0 -1
- package/dist/mock-BjFj5o1I.mjs +0 -804
- package/dist/mock-BjFj5o1I.mjs.map +0 -1
- package/dist/registry-DdsYlL_P.mjs.map +0 -1
- package/dist/rolldown-runtime-DXywRVcq.mjs +0 -20
- package/dist/runtime-n9NCkjee.mjs.map +0 -1
- package/dist/schema-BhkpP5Hw.mjs.map +0 -1
- package/dist/secretmanager-B3n4KHfm.d.mts +0 -55
- package/dist/secretmanager-BVxw3ih_.mjs +0 -24
- package/dist/secretmanager-BVxw3ih_.mjs.map +0 -1
- package/dist/seed-jf3008-h.mjs +0 -1160
- package/dist/seed-jf3008-h.mjs.map +0 -1
- package/dist/service-CCL8ruDf.mjs +0 -459
- package/dist/service-CCL8ruDf.mjs.map +0 -1
- package/dist/service-D6yonf2I.mjs +0 -3
- package/dist/telemetry-CdqJEzkj.mjs.map +0 -1
- package/dist/telemetry-ClwW5ohF.mjs +0 -3
- package/dist/test-env-key-D9kM6ETE.mjs +0 -49
- package/dist/test-env-key-D9kM6ETE.mjs.map +0 -1
- package/dist/types-B2RpYyA_.mjs +0 -371
- package/dist/types-B2RpYyA_.mjs.map +0 -1
- package/dist/types-ClhIrW_C.mjs +0 -4
- package/dist/types-DCUhgpyI.d.mts +0 -784
- package/dist/types-DhO_VEZd.d.mts +0 -574
- package/dist/types-DwDgacni.d.mts +0 -338
- package/dist/workflow-BbKvGLQg.d.mts +0 -96
- package/dist/workflow-DgemCAz3.mjs +0 -38
- package/dist/workflow-DgemCAz3.mjs.map +0 -1
- package/dist/workflow.generated-DtQwEo-x.d.mts +0 -671
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
//#region ../tailor-proto/src/tailor/v1/function_resource_pb.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* @generated from message tailor.v1.FunctionErrorInfo
|
|
7
|
+
*/
|
|
8
|
+
declare type FunctionErrorInfo = Message<"tailor.v1.FunctionErrorInfo"> & {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from field: string name = 1;
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string message = 2;
|
|
15
|
+
*/
|
|
16
|
+
message: string;
|
|
17
|
+
/**
|
|
18
|
+
* Only populated in GetFunctionExecution, not in ListFunctionExecutions.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string stack_trace = 3;
|
|
21
|
+
*/
|
|
22
|
+
stackTrace: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message tailor.v1.FunctionLogEntry
|
|
26
|
+
*/
|
|
27
|
+
declare type FunctionLogEntry = Message<"tailor.v1.FunctionLogEntry"> & {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string message = 1;
|
|
30
|
+
*/
|
|
31
|
+
message: string;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: tailor.v1.FunctionLogSeverity severity = 2;
|
|
34
|
+
*/
|
|
35
|
+
severity: FunctionLogSeverity;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
|
38
|
+
*/
|
|
39
|
+
timestamp?: Timestamp;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @generated from message tailor.v1.FunctionExecution
|
|
43
|
+
*/
|
|
44
|
+
declare type FunctionExecution = Message<"tailor.v1.FunctionExecution"> & {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string id = 1;
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string workspace_id = 2;
|
|
51
|
+
*/
|
|
52
|
+
workspaceId: string;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string script_name = 3;
|
|
55
|
+
*/
|
|
56
|
+
scriptName: string;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: tailor.v1.FunctionExecution.Status status = 4;
|
|
59
|
+
*/
|
|
60
|
+
status: FunctionExecution_Status;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string logs = 5;
|
|
63
|
+
*/
|
|
64
|
+
logs: string;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: google.protobuf.Timestamp started_at = 6;
|
|
67
|
+
*/
|
|
68
|
+
startedAt?: Timestamp;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 7;
|
|
71
|
+
*/
|
|
72
|
+
finishedAt?: Timestamp;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: tailor.v1.FunctionExecution.Type type = 8;
|
|
75
|
+
*/
|
|
76
|
+
type: FunctionExecution_Type;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string result = 9;
|
|
79
|
+
*/
|
|
80
|
+
result: string;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: tailor.v1.FunctionErrorInfo error = 10;
|
|
83
|
+
*/
|
|
84
|
+
error?: FunctionErrorInfo;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: tailor.v1.FunctionErrorKind error_kind = 11;
|
|
87
|
+
*/
|
|
88
|
+
errorKind: FunctionErrorKind;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string content_hash = 12;
|
|
91
|
+
*/
|
|
92
|
+
contentHash: string;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: repeated tailor.v1.FunctionLogEntry log_entries = 13;
|
|
95
|
+
*/
|
|
96
|
+
logEntries: FunctionLogEntry[];
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum tailor.v1.FunctionExecution.Status
|
|
100
|
+
*/
|
|
101
|
+
declare enum FunctionExecution_Status {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
104
|
+
*/
|
|
105
|
+
UNSPECIFIED = 0,
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: STATUS_SUCCESS = 1;
|
|
108
|
+
*/
|
|
109
|
+
SUCCESS = 1,
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: STATUS_FAILED = 2;
|
|
112
|
+
*/
|
|
113
|
+
FAILED = 2,
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: STATUS_RUNNING = 3;
|
|
116
|
+
*/
|
|
117
|
+
RUNNING = 3
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum tailor.v1.FunctionExecution.Type
|
|
121
|
+
*/
|
|
122
|
+
declare enum FunctionExecution_Type {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
125
|
+
*/
|
|
126
|
+
UNSPECIFIED = 0,
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum value: TYPE_STANDARD = 1;
|
|
129
|
+
*/
|
|
130
|
+
STANDARD = 1,
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: TYPE_JOB = 2;
|
|
133
|
+
*/
|
|
134
|
+
JOB = 2
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @generated from enum tailor.v1.FunctionErrorKind
|
|
138
|
+
*/
|
|
139
|
+
declare enum FunctionErrorKind {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: FUNCTION_ERROR_KIND_UNSPECIFIED = 0;
|
|
142
|
+
*/
|
|
143
|
+
UNSPECIFIED = 0,
|
|
144
|
+
/**
|
|
145
|
+
* @generated from enum value: FUNCTION_ERROR_KIND_NONE = 1;
|
|
146
|
+
*/
|
|
147
|
+
NONE = 1,
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: FUNCTION_ERROR_KIND_USER_RUNTIME = 2;
|
|
150
|
+
*/
|
|
151
|
+
USER_RUNTIME = 2,
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: FUNCTION_ERROR_KIND_USER_NON_RUNTIME = 3;
|
|
154
|
+
*/
|
|
155
|
+
USER_NON_RUNTIME = 3,
|
|
156
|
+
/**
|
|
157
|
+
* @generated from enum value: FUNCTION_ERROR_KIND_PLATFORM = 4;
|
|
158
|
+
*/
|
|
159
|
+
PLATFORM = 4
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @generated from enum tailor.v1.FunctionLogSeverity
|
|
163
|
+
*/
|
|
164
|
+
declare enum FunctionLogSeverity {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_UNSPECIFIED = 0;
|
|
167
|
+
*/
|
|
168
|
+
UNSPECIFIED = 0,
|
|
169
|
+
/**
|
|
170
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_LOG = 10;
|
|
171
|
+
*/
|
|
172
|
+
LOG = 10,
|
|
173
|
+
/**
|
|
174
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_DEBUG = 20;
|
|
175
|
+
*/
|
|
176
|
+
DEBUG = 20,
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_INFO = 30;
|
|
179
|
+
*/
|
|
180
|
+
INFO = 30,
|
|
181
|
+
/**
|
|
182
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_WARNING = 40;
|
|
183
|
+
*/
|
|
184
|
+
WARNING = 40,
|
|
185
|
+
/**
|
|
186
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_ERROR = 50;
|
|
187
|
+
*/
|
|
188
|
+
ERROR = 50
|
|
189
|
+
}
|
|
190
|
+
//#endregion
|
|
191
|
+
export { FunctionErrorInfo, FunctionErrorKind, FunctionExecution, FunctionExecution_Status, FunctionExecution_Type, FunctionLogEntry, FunctionLogSeverity };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
//#region ../tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* @generated from message tailor.v1.HttpAdapter
|
|
7
|
+
*/
|
|
8
|
+
declare type HttpAdapter = Message<"tailor.v1.HttpAdapter"> & {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from field: string name = 1;
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string path_pattern = 2;
|
|
15
|
+
*/
|
|
16
|
+
pathPattern: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: repeated string methods = 3;
|
|
19
|
+
*/
|
|
20
|
+
methods: string[];
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string input_script = 4;
|
|
23
|
+
*/
|
|
24
|
+
inputScript: string;
|
|
25
|
+
/**
|
|
26
|
+
* optional
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string output_script = 5;
|
|
29
|
+
*/
|
|
30
|
+
outputScript: string;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: bool enabled = 6;
|
|
33
|
+
*/
|
|
34
|
+
enabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: int32 priority = 7;
|
|
37
|
+
*/
|
|
38
|
+
priority: number;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: google.protobuf.Timestamp create_time = 8;
|
|
41
|
+
*/
|
|
42
|
+
createTime?: Timestamp;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: google.protobuf.Timestamp update_time = 9;
|
|
45
|
+
*/
|
|
46
|
+
updateTime?: Timestamp;
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { HttpAdapter };
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import { PageDirection } from "./resource_pb.mjs";
|
|
2
|
+
import { IdPClient, IdPDisableGqlOperations, IdPEmailConfig, IdPLang, IdPPermission, IdPService, IdPUserAuthPolicy } from "./idp_resource_pb.mjs";
|
|
3
|
+
import { GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { Message } from "@bufbuild/protobuf";
|
|
5
|
+
//#region ../tailor-proto/src/tailor/v1/idp_pb.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message tailor.v1.ListIdPServicesRequest
|
|
8
|
+
*/
|
|
9
|
+
declare type ListIdPServicesRequest = Message<"tailor.v1.ListIdPServicesRequest"> & {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: string workspace_id = 1;
|
|
12
|
+
*/
|
|
13
|
+
workspaceId: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string page_token = 2;
|
|
16
|
+
*/
|
|
17
|
+
pageToken: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: uint32 page_size = 3;
|
|
20
|
+
*/
|
|
21
|
+
pageSize: number;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
24
|
+
*/
|
|
25
|
+
pageDirection: PageDirection;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message tailor.v1.ListIdPServicesRequest.
|
|
29
|
+
* Use `create(ListIdPServicesRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
declare const ListIdPServicesRequestSchema: GenMessage<ListIdPServicesRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from message tailor.v1.ListIdPServicesResponse
|
|
34
|
+
*/
|
|
35
|
+
declare type ListIdPServicesResponse = Message<"tailor.v1.ListIdPServicesResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: repeated tailor.v1.IdPService idp_services = 1;
|
|
38
|
+
*/
|
|
39
|
+
idpServices: IdPService[];
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string next_page_token = 2;
|
|
42
|
+
*/
|
|
43
|
+
nextPageToken: string;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: int64 total_count = 3;
|
|
46
|
+
*/
|
|
47
|
+
totalCount: bigint;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message tailor.v1.ListIdPServicesResponse.
|
|
51
|
+
* Use `create(ListIdPServicesResponseSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
declare const ListIdPServicesResponseSchema: GenMessage<ListIdPServicesResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message tailor.v1.CreateIdPServiceRequest
|
|
56
|
+
*/
|
|
57
|
+
declare type CreateIdPServiceRequest = Message<"tailor.v1.CreateIdPServiceRequest"> & {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string workspace_id = 1;
|
|
60
|
+
*/
|
|
61
|
+
workspaceId: string;
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: string namespace_name = 2;
|
|
64
|
+
*/
|
|
65
|
+
namespaceName: string;
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string authorization = 3;
|
|
68
|
+
*/
|
|
69
|
+
authorization: string;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: tailor.v1.IdPUserAuthPolicy user_auth_policy = 4;
|
|
72
|
+
*/
|
|
73
|
+
userAuthPolicy?: IdPUserAuthPolicy;
|
|
74
|
+
/**
|
|
75
|
+
* lang is the IETF BCP 47 language subtag.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: tailor.v1.IdPLang lang = 5;
|
|
78
|
+
*/
|
|
79
|
+
lang: IdPLang;
|
|
80
|
+
/**
|
|
81
|
+
* publish_user_events enables publishing user lifecycle events (created, updated, deleted).
|
|
82
|
+
* When enabled, events are published to the dataplane event topic.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: bool publish_user_events = 6;
|
|
85
|
+
*/
|
|
86
|
+
publishUserEvents: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: tailor.v1.IdPDisableGqlOperations disable_gql_operations = 7;
|
|
89
|
+
*/
|
|
90
|
+
disableGqlOperations?: IdPDisableGqlOperations;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: tailor.v1.IdPEmailConfig email_config = 8;
|
|
93
|
+
*/
|
|
94
|
+
emailConfig?: IdPEmailConfig;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: tailor.v1.IdPPermission permission = 9;
|
|
97
|
+
*/
|
|
98
|
+
permission?: IdPPermission;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message tailor.v1.CreateIdPServiceRequest.
|
|
102
|
+
* Use `create(CreateIdPServiceRequestSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
declare const CreateIdPServiceRequestSchema: GenMessage<CreateIdPServiceRequest>;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message tailor.v1.CreateIdPServiceResponse
|
|
107
|
+
*/
|
|
108
|
+
declare type CreateIdPServiceResponse = Message<"tailor.v1.CreateIdPServiceResponse"> & {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: tailor.v1.IdPService idp_service = 1;
|
|
111
|
+
*/
|
|
112
|
+
idpService?: IdPService;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message tailor.v1.CreateIdPServiceResponse.
|
|
116
|
+
* Use `create(CreateIdPServiceResponseSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
declare const CreateIdPServiceResponseSchema: GenMessage<CreateIdPServiceResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* UpdateIdPServiceRequest is a full replacement of the idp service config.
|
|
121
|
+
* Every field on `user_auth_policy` (and the other config sub-messages) is
|
|
122
|
+
* written through to storage; proto3 default values (false, "", []) overwrite
|
|
123
|
+
* the previously stored value. Clients must read the current config with
|
|
124
|
+
* GetIdPService and resend the entire `user_auth_policy` payload, mutating
|
|
125
|
+
* only the field they intend to change. Partial updates are not supported.
|
|
126
|
+
*
|
|
127
|
+
* @generated from message tailor.v1.UpdateIdPServiceRequest
|
|
128
|
+
*/
|
|
129
|
+
declare type UpdateIdPServiceRequest = Message<"tailor.v1.UpdateIdPServiceRequest"> & {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string workspace_id = 1;
|
|
132
|
+
*/
|
|
133
|
+
workspaceId: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: string namespace_name = 2;
|
|
136
|
+
*/
|
|
137
|
+
namespaceName: string;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string authorization = 3;
|
|
140
|
+
*/
|
|
141
|
+
authorization: string;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: tailor.v1.IdPUserAuthPolicy user_auth_policy = 4;
|
|
144
|
+
*/
|
|
145
|
+
userAuthPolicy?: IdPUserAuthPolicy;
|
|
146
|
+
/**
|
|
147
|
+
* lang is the IETF BCP 47 language subtag.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: tailor.v1.IdPLang lang = 5;
|
|
150
|
+
*/
|
|
151
|
+
lang: IdPLang;
|
|
152
|
+
/**
|
|
153
|
+
* publish_user_events enables publishing user lifecycle events (created, updated, deleted).
|
|
154
|
+
* When enabled, events are published to the dataplane event topic.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: bool publish_user_events = 6;
|
|
157
|
+
*/
|
|
158
|
+
publishUserEvents: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: tailor.v1.IdPDisableGqlOperations disable_gql_operations = 7;
|
|
161
|
+
*/
|
|
162
|
+
disableGqlOperations?: IdPDisableGqlOperations;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: tailor.v1.IdPEmailConfig email_config = 8;
|
|
165
|
+
*/
|
|
166
|
+
emailConfig?: IdPEmailConfig;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: tailor.v1.IdPPermission permission = 9;
|
|
169
|
+
*/
|
|
170
|
+
permission?: IdPPermission;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message tailor.v1.UpdateIdPServiceRequest.
|
|
174
|
+
* Use `create(UpdateIdPServiceRequestSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
declare const UpdateIdPServiceRequestSchema: GenMessage<UpdateIdPServiceRequest>;
|
|
177
|
+
/**
|
|
178
|
+
* @generated from message tailor.v1.UpdateIdPServiceResponse
|
|
179
|
+
*/
|
|
180
|
+
declare type UpdateIdPServiceResponse = Message<"tailor.v1.UpdateIdPServiceResponse"> & {
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: tailor.v1.IdPService idp_service = 1;
|
|
183
|
+
*/
|
|
184
|
+
idpService?: IdPService;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message tailor.v1.UpdateIdPServiceResponse.
|
|
188
|
+
* Use `create(UpdateIdPServiceResponseSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
declare const UpdateIdPServiceResponseSchema: GenMessage<UpdateIdPServiceResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from message tailor.v1.DeleteIdPServiceRequest
|
|
193
|
+
*/
|
|
194
|
+
declare type DeleteIdPServiceRequest = Message<"tailor.v1.DeleteIdPServiceRequest"> & {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: string workspace_id = 1;
|
|
197
|
+
*/
|
|
198
|
+
workspaceId: string;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: string namespace_name = 2;
|
|
201
|
+
*/
|
|
202
|
+
namespaceName: string;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message tailor.v1.DeleteIdPServiceRequest.
|
|
206
|
+
* Use `create(DeleteIdPServiceRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
declare const DeleteIdPServiceRequestSchema: GenMessage<DeleteIdPServiceRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from message tailor.v1.DeleteIdPServiceResponse
|
|
211
|
+
*/
|
|
212
|
+
declare type DeleteIdPServiceResponse = Message<"tailor.v1.DeleteIdPServiceResponse"> & {};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message tailor.v1.DeleteIdPServiceResponse.
|
|
215
|
+
* Use `create(DeleteIdPServiceResponseSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
declare const DeleteIdPServiceResponseSchema: GenMessage<DeleteIdPServiceResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message tailor.v1.GetIdPServiceRequest
|
|
220
|
+
*/
|
|
221
|
+
declare type GetIdPServiceRequest = Message<"tailor.v1.GetIdPServiceRequest"> & {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string workspace_id = 1;
|
|
224
|
+
*/
|
|
225
|
+
workspaceId: string;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: string namespace_name = 2;
|
|
228
|
+
*/
|
|
229
|
+
namespaceName: string;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Describes the message tailor.v1.GetIdPServiceRequest.
|
|
233
|
+
* Use `create(GetIdPServiceRequestSchema)` to create a new message.
|
|
234
|
+
*/
|
|
235
|
+
declare const GetIdPServiceRequestSchema: GenMessage<GetIdPServiceRequest>;
|
|
236
|
+
/**
|
|
237
|
+
* @generated from message tailor.v1.GetIdPServiceResponse
|
|
238
|
+
*/
|
|
239
|
+
declare type GetIdPServiceResponse = Message<"tailor.v1.GetIdPServiceResponse"> & {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: tailor.v1.IdPService idp_service = 1;
|
|
242
|
+
*/
|
|
243
|
+
idpService?: IdPService;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Describes the message tailor.v1.GetIdPServiceResponse.
|
|
247
|
+
* Use `create(GetIdPServiceResponseSchema)` to create a new message.
|
|
248
|
+
*/
|
|
249
|
+
declare const GetIdPServiceResponseSchema: GenMessage<GetIdPServiceResponse>;
|
|
250
|
+
/**
|
|
251
|
+
* @generated from message tailor.v1.ListIdPClientsRequest
|
|
252
|
+
*/
|
|
253
|
+
declare type ListIdPClientsRequest = Message<"tailor.v1.ListIdPClientsRequest"> & {
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: string workspace_id = 1;
|
|
256
|
+
*/
|
|
257
|
+
workspaceId: string;
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: string namespace_name = 2;
|
|
260
|
+
*/
|
|
261
|
+
namespaceName: string;
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string page_token = 3;
|
|
264
|
+
*/
|
|
265
|
+
pageToken: string;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: uint32 page_size = 4;
|
|
268
|
+
*/
|
|
269
|
+
pageSize: number;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 5;
|
|
272
|
+
*/
|
|
273
|
+
pageDirection: PageDirection;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message tailor.v1.ListIdPClientsRequest.
|
|
277
|
+
* Use `create(ListIdPClientsRequestSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
declare const ListIdPClientsRequestSchema: GenMessage<ListIdPClientsRequest>;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from message tailor.v1.ListIdPClientsResponse
|
|
282
|
+
*/
|
|
283
|
+
declare type ListIdPClientsResponse = Message<"tailor.v1.ListIdPClientsResponse"> & {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: repeated tailor.v1.IdPClient clients = 1;
|
|
286
|
+
*/
|
|
287
|
+
clients: IdPClient[];
|
|
288
|
+
/**
|
|
289
|
+
* @generated from field: string next_page_token = 2;
|
|
290
|
+
*/
|
|
291
|
+
nextPageToken: string;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: int64 total_count = 3;
|
|
294
|
+
*/
|
|
295
|
+
totalCount: bigint;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message tailor.v1.ListIdPClientsResponse.
|
|
299
|
+
* Use `create(ListIdPClientsResponseSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
declare const ListIdPClientsResponseSchema: GenMessage<ListIdPClientsResponse>;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message tailor.v1.CreateIdPClientRequest
|
|
304
|
+
*/
|
|
305
|
+
declare type CreateIdPClientRequest = Message<"tailor.v1.CreateIdPClientRequest"> & {
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: string workspace_id = 1;
|
|
308
|
+
*/
|
|
309
|
+
workspaceId: string;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: string namespace_name = 2;
|
|
312
|
+
*/
|
|
313
|
+
namespaceName: string;
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: tailor.v1.IdPClient client = 3;
|
|
316
|
+
*/
|
|
317
|
+
client?: IdPClient;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Describes the message tailor.v1.CreateIdPClientRequest.
|
|
321
|
+
* Use `create(CreateIdPClientRequestSchema)` to create a new message.
|
|
322
|
+
*/
|
|
323
|
+
declare const CreateIdPClientRequestSchema: GenMessage<CreateIdPClientRequest>;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message tailor.v1.CreateIdPClientResponse
|
|
326
|
+
*/
|
|
327
|
+
declare type CreateIdPClientResponse = Message<"tailor.v1.CreateIdPClientResponse"> & {
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: tailor.v1.IdPClient client = 1;
|
|
330
|
+
*/
|
|
331
|
+
client?: IdPClient;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message tailor.v1.CreateIdPClientResponse.
|
|
335
|
+
* Use `create(CreateIdPClientResponseSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
declare const CreateIdPClientResponseSchema: GenMessage<CreateIdPClientResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from message tailor.v1.GetIdPClientRequest
|
|
340
|
+
*/
|
|
341
|
+
declare type GetIdPClientRequest = Message<"tailor.v1.GetIdPClientRequest"> & {
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string workspace_id = 1;
|
|
344
|
+
*/
|
|
345
|
+
workspaceId: string;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string namespace_name = 2;
|
|
348
|
+
*/
|
|
349
|
+
namespaceName: string;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: string name = 3;
|
|
352
|
+
*/
|
|
353
|
+
name: string;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message tailor.v1.GetIdPClientRequest.
|
|
357
|
+
* Use `create(GetIdPClientRequestSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
declare const GetIdPClientRequestSchema: GenMessage<GetIdPClientRequest>;
|
|
360
|
+
/**
|
|
361
|
+
* @generated from message tailor.v1.GetIdPClientResponse
|
|
362
|
+
*/
|
|
363
|
+
declare type GetIdPClientResponse = Message<"tailor.v1.GetIdPClientResponse"> & {
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: tailor.v1.IdPClient client = 1;
|
|
366
|
+
*/
|
|
367
|
+
client?: IdPClient;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message tailor.v1.GetIdPClientResponse.
|
|
371
|
+
* Use `create(GetIdPClientResponseSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
declare const GetIdPClientResponseSchema: GenMessage<GetIdPClientResponse>;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from message tailor.v1.DeleteIdPClientRequest
|
|
376
|
+
*/
|
|
377
|
+
declare type DeleteIdPClientRequest = Message<"tailor.v1.DeleteIdPClientRequest"> & {
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: string workspace_id = 1;
|
|
380
|
+
*/
|
|
381
|
+
workspaceId: string;
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: string namespace_name = 2;
|
|
384
|
+
*/
|
|
385
|
+
namespaceName: string;
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: string name = 3;
|
|
388
|
+
*/
|
|
389
|
+
name: string;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Describes the message tailor.v1.DeleteIdPClientRequest.
|
|
393
|
+
* Use `create(DeleteIdPClientRequestSchema)` to create a new message.
|
|
394
|
+
*/
|
|
395
|
+
declare const DeleteIdPClientRequestSchema: GenMessage<DeleteIdPClientRequest>;
|
|
396
|
+
/**
|
|
397
|
+
* @generated from message tailor.v1.DeleteIdPClientResponse
|
|
398
|
+
*/
|
|
399
|
+
declare type DeleteIdPClientResponse = Message<"tailor.v1.DeleteIdPClientResponse"> & {};
|
|
400
|
+
/**
|
|
401
|
+
* Describes the message tailor.v1.DeleteIdPClientResponse.
|
|
402
|
+
* Use `create(DeleteIdPClientResponseSchema)` to create a new message.
|
|
403
|
+
*/
|
|
404
|
+
declare const DeleteIdPClientResponseSchema: GenMessage<DeleteIdPClientResponse>;
|
|
405
|
+
//#endregion
|
|
406
|
+
export { CreateIdPClientRequest, CreateIdPClientRequestSchema, CreateIdPClientResponse, CreateIdPClientResponseSchema, CreateIdPServiceRequest, CreateIdPServiceRequestSchema, CreateIdPServiceResponse, CreateIdPServiceResponseSchema, DeleteIdPClientRequest, DeleteIdPClientRequestSchema, DeleteIdPClientResponse, DeleteIdPClientResponseSchema, DeleteIdPServiceRequest, DeleteIdPServiceRequestSchema, DeleteIdPServiceResponse, DeleteIdPServiceResponseSchema, GetIdPClientRequest, GetIdPClientRequestSchema, GetIdPClientResponse, GetIdPClientResponseSchema, GetIdPServiceRequest, GetIdPServiceRequestSchema, GetIdPServiceResponse, GetIdPServiceResponseSchema, ListIdPClientsRequest, ListIdPClientsRequestSchema, ListIdPClientsResponse, ListIdPClientsResponseSchema, ListIdPServicesRequest, ListIdPServicesRequestSchema, ListIdPServicesResponse, ListIdPServicesResponseSchema, UpdateIdPServiceRequest, UpdateIdPServiceRequestSchema, UpdateIdPServiceResponse, UpdateIdPServiceResponseSchema };
|