@tailor-platform/sdk 2.0.0-next.1 → 2.0.0-next.10
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 +869 -2
- 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-DArFTTJ9.mjs +3 -0
- package/dist/{application-DqS1yBg3.mjs → application-miwiXtB4.mjs} +1892 -1968
- package/dist/application-miwiXtB4.mjs.map +1 -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 +34 -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 +7 -0
- package/dist/cli/commands/deploy/idp.d.mts +5 -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 +9 -0
- package/dist/cli/commands/deploy/types.d.mts +3 -0
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +3 -0
- package/dist/cli/commands/deploy/workflow.d.mts +4 -0
- package/dist/cli/commands/executor/get.d.mts +28 -0
- package/dist/cli/commands/executor/jobs.d.mts +122 -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 +40 -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 +26 -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/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 +74 -0
- package/dist/cli/commands/workflow/get.d.mts +30 -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 +60 -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 +90 -21048
- package/dist/cli/lib.mjs +154 -12
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.d.mts +23 -0
- package/dist/cli/main.mjs +6583 -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 +3 -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 +2 -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 +25 -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/type-generator.d.mts +19 -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 +1433 -1239
- package/dist/configure/config/index.d.mts +20 -0
- package/dist/configure/config/types.d.mts +111 -0
- package/dist/configure/index.d.mts +135 -8
- package/dist/configure/index.mjs +390 -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 +271 -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 +4 -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 +83 -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 +56 -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/enum-constants-j9QBF0cB.mjs.map +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/{file-utils-DcyIPFQh.mjs → file-utils-yEiIS4nJ.mjs} +6 -6
- package/dist/file-utils-yEiIS4nJ.mjs.map +1 -0
- package/dist/{globals-Crz8o65k.mjs → globals-DQotNuwK.mjs} +33 -55
- package/dist/globals-DQotNuwK.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/{kysely-type-DR8uzZTA.mjs → kysely-type-DqIRgDYR.mjs} +5 -4
- package/dist/kysely-type-DqIRgDYR.mjs.map +1 -0
- 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/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/file-utils/index.d.mts +15 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +15 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- 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 +19 -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-BAHMwxfG.mjs} +7812 -4094
- package/dist/register-ts-hook-BAHMwxfG.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 +124 -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-LUVr7jHL.mjs +444 -0
- package/dist/seed-LUVr7jHL.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-BNtPsK9Q.mjs +837 -0
- package/dist/service-BNtPsK9Q.mjs.map +1 -0
- package/dist/service-D5jn05ZI.mjs +3 -0
- package/dist/service_pb-BwZRiNug.mjs +167 -0
- package/dist/service_pb-BwZRiNug.mjs.map +1 -0
- package/dist/service_pb-wRkxUta6.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 +315 -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 +563 -0
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +144 -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 +3575 -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 +182 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +861 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +309 -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 +209 -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 +6 -100
- package/dist/utils/test/index.mjs +60 -39
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/utils/test/mock.d.mts +86 -0
- 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 +15 -429
- package/dist/vitest/index.mjs +1240 -31
- 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 +157 -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-CsaQ9qK-.mjs +42 -0
- package/dist/workflow-CsaQ9qK-.mjs.map +1 -0
- package/dist/{client-z_oHGVNy.mjs → workspace_resource_pb-UGK1SSn_.mjs} +55 -619
- package/dist/workspace_resource_pb-UGK1SSn_.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 +71 -427
- 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 +213 -96
- package/docs/configuration.md +40 -6
- package/docs/github-actions.md +72 -24
- package/docs/migration/v2.md +1316 -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 +8 -3
- package/docs/services/http-adapter.md +16 -1
- package/docs/services/idp.md +55 -2
- package/docs/services/resolver.md +62 -8
- package/docs/services/secret.md +11 -11
- package/docs/services/staticwebsite.md +8 -2
- package/docs/services/tailordb-migration.md +43 -28
- package/docs/services/tailordb.md +200 -99
- package/docs/services/workflow.md +133 -55
- package/docs/testing.md +244 -143
- package/package.json +59 -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/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.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.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
package/docs/cli/workspace.md
CHANGED
|
@@ -2,29 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for managing workspaces and profiles.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:workspace:heading:start -->
|
|
6
|
-
|
|
7
5
|
## workspace
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:workspace:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:workspace:description:start -->
|
|
12
|
-
|
|
13
7
|
Manage Tailor Platform workspaces.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:workspace:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:workspace:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
|
-
tailor
|
|
12
|
+
tailor workspace [command]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:workspace:subcommands:start -->
|
|
15
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
28
16
|
|
|
29
17
|
**Commands**
|
|
30
18
|
|
|
@@ -38,446 +26,221 @@ tailor-sdk workspace [command]
|
|
|
38
26
|
| [`workspace restore`](#workspace-restore) | Restore a deleted workspace |
|
|
39
27
|
| [`workspace user`](#workspace-user) | Manage workspace users |
|
|
40
28
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<!-- politty:command:workspace:global-options-link:start -->
|
|
44
|
-
|
|
45
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
46
|
-
|
|
47
|
-
<!-- politty:command:workspace:global-options-link:end -->
|
|
48
|
-
<!-- politty:command:workspace create:heading:start -->
|
|
49
|
-
|
|
50
|
-
### workspace create
|
|
51
|
-
|
|
52
|
-
<!-- politty:command:workspace create:heading:end -->
|
|
53
|
-
|
|
54
|
-
<!-- politty:command:workspace create:description:start -->
|
|
55
|
-
|
|
56
|
-
Create a new Tailor Platform workspace.
|
|
57
|
-
|
|
58
|
-
<!-- politty:command:workspace create:description:end -->
|
|
29
|
+
### workspace app
|
|
59
30
|
|
|
60
|
-
|
|
31
|
+
Manage workspace applications
|
|
61
32
|
|
|
62
33
|
**Usage**
|
|
63
34
|
|
|
64
35
|
```
|
|
65
|
-
tailor
|
|
36
|
+
tailor workspace app [command]
|
|
66
37
|
```
|
|
67
38
|
|
|
68
|
-
<!-- politty:command:workspace create:usage:end -->
|
|
69
|
-
|
|
70
|
-
<!-- politty:command:workspace create:options:start -->
|
|
71
|
-
|
|
72
|
-
**Options**
|
|
73
|
-
|
|
74
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
75
|
-
| ------------------------------------- | ----- | ----------------------------------------------------------------------------------------------------------- | -------- | --------- | --------------------------------- |
|
|
76
|
-
| `--name <NAME>` | `-n` | Workspace name | Yes | - | - |
|
|
77
|
-
| `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | Yes | - | - |
|
|
78
|
-
| `--delete-protection` | `-d` | Enable delete protection | No | `false` | - |
|
|
79
|
-
| `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | No | - | `TAILOR_PLATFORM_ORGANIZATION_ID` |
|
|
80
|
-
| `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | No | - | `TAILOR_PLATFORM_FOLDER_ID` |
|
|
81
|
-
| `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - | - |
|
|
82
|
-
| `--profile-user <PROFILE_USER>` | - | User email address or machine user client ID for the profile (defaults to current user) | No | - | - |
|
|
83
|
-
| `--permission <PERMISSION>` | - | Profile permission (requires --profile-name). 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
84
|
-
|
|
85
|
-
<!-- politty:command:workspace create:options:end -->
|
|
86
|
-
|
|
87
|
-
<!-- politty:command:workspace create:global-options-link:start -->
|
|
88
|
-
|
|
89
39
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
90
40
|
|
|
91
|
-
|
|
92
|
-
<!-- politty:command:workspace list:heading:start -->
|
|
93
|
-
|
|
94
|
-
### workspace list
|
|
95
|
-
|
|
96
|
-
<!-- politty:command:workspace list:heading:end -->
|
|
97
|
-
|
|
98
|
-
<!-- politty:command:workspace list:description:start -->
|
|
41
|
+
**Commands**
|
|
99
42
|
|
|
100
|
-
|
|
43
|
+
| Command | Description |
|
|
44
|
+
| ----------------------------------------------- | -------------------------------- |
|
|
45
|
+
| [`workspace app health`](#workspace-app-health) | Check application schema health |
|
|
46
|
+
| [`workspace app list`](#workspace-app-list) | List applications in a workspace |
|
|
101
47
|
|
|
102
|
-
|
|
48
|
+
#### workspace app health
|
|
103
49
|
|
|
104
|
-
|
|
50
|
+
Check application schema health
|
|
105
51
|
|
|
106
52
|
**Usage**
|
|
107
53
|
|
|
108
54
|
```
|
|
109
|
-
tailor
|
|
55
|
+
tailor workspace app health [options]
|
|
110
56
|
```
|
|
111
57
|
|
|
112
|
-
<!-- politty:command:workspace list:usage:end -->
|
|
113
|
-
|
|
114
|
-
<!-- politty:command:workspace list:options:start -->
|
|
115
|
-
|
|
116
58
|
**Options**
|
|
117
59
|
|
|
118
|
-
| Option
|
|
119
|
-
|
|
|
120
|
-
| `--
|
|
121
|
-
| `--
|
|
122
|
-
|
|
123
|
-
<!-- politty:command:workspace list:options:end -->
|
|
124
|
-
|
|
125
|
-
<!-- politty:command:workspace list:global-options-link:start -->
|
|
60
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
61
|
+
| ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
|
|
62
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
63
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
64
|
+
| `--name <NAME>` | `-n` | Application name | Yes | - | - |
|
|
126
65
|
|
|
127
66
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
128
67
|
|
|
129
|
-
|
|
130
|
-
<!-- politty:command:workspace delete:heading:start -->
|
|
131
|
-
|
|
132
|
-
### workspace delete
|
|
133
|
-
|
|
134
|
-
<!-- politty:command:workspace delete:heading:end -->
|
|
135
|
-
|
|
136
|
-
<!-- politty:command:workspace delete:description:start -->
|
|
137
|
-
|
|
138
|
-
Delete a Tailor Platform workspace.
|
|
139
|
-
|
|
140
|
-
<!-- politty:command:workspace delete:description:end -->
|
|
68
|
+
#### workspace app list
|
|
141
69
|
|
|
142
|
-
|
|
70
|
+
List applications in a workspace
|
|
143
71
|
|
|
144
72
|
**Usage**
|
|
145
73
|
|
|
146
74
|
```
|
|
147
|
-
tailor
|
|
75
|
+
tailor workspace app list [options]
|
|
148
76
|
```
|
|
149
77
|
|
|
150
|
-
<!-- politty:command:workspace delete:usage:end -->
|
|
151
|
-
|
|
152
|
-
<!-- politty:command:workspace delete:options:start -->
|
|
153
|
-
|
|
154
78
|
**Options**
|
|
155
79
|
|
|
156
|
-
| Option | Alias | Description
|
|
157
|
-
| ------------------------------- | ----- |
|
|
158
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
159
|
-
| `--
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<!-- politty:command:workspace delete:global-options-link:start -->
|
|
80
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
81
|
+
| ------------------------------- | ----- | -------------------------------------------------------- | -------- | -------- | ------------------------------ |
|
|
82
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
83
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
84
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
85
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
164
86
|
|
|
165
87
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
166
88
|
|
|
167
|
-
|
|
168
|
-
<!-- politty:command:profile:heading:start -->
|
|
169
|
-
|
|
170
|
-
## profile
|
|
171
|
-
|
|
172
|
-
<!-- politty:command:profile:heading:end -->
|
|
173
|
-
|
|
174
|
-
<!-- politty:command:profile:description:start -->
|
|
175
|
-
|
|
176
|
-
Manage workspace profiles (user + workspace combinations).
|
|
177
|
-
|
|
178
|
-
<!-- politty:command:profile:description:end -->
|
|
89
|
+
### workspace create
|
|
179
90
|
|
|
180
|
-
|
|
91
|
+
Create a new Tailor Platform workspace.
|
|
181
92
|
|
|
182
93
|
**Usage**
|
|
183
94
|
|
|
184
95
|
```
|
|
185
|
-
tailor
|
|
96
|
+
tailor workspace create [options]
|
|
186
97
|
```
|
|
187
98
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
<!-- politty:command:profile:subcommands:start -->
|
|
191
|
-
|
|
192
|
-
**Commands**
|
|
193
|
-
|
|
194
|
-
| Command | Description |
|
|
195
|
-
| ----------------------------------- | -------------------------- |
|
|
196
|
-
| [`profile create`](#profile-create) | Create a new profile. |
|
|
197
|
-
| [`profile delete`](#profile-delete) | Delete a profile. |
|
|
198
|
-
| [`profile list`](#profile-list) | List all profiles. |
|
|
199
|
-
| [`profile update`](#profile-update) | Update profile properties. |
|
|
200
|
-
|
|
201
|
-
<!-- politty:command:profile:subcommands:end -->
|
|
99
|
+
**Options**
|
|
202
100
|
|
|
203
|
-
|
|
101
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
102
|
+
| ------------------------------------- | ----- | ----------------------------------------------------------------------------------------------------------- | -------- | --------- | --------------------------------- |
|
|
103
|
+
| `--name <NAME>` | `-n` | Workspace name | Yes | - | - |
|
|
104
|
+
| `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | Yes | - | - |
|
|
105
|
+
| `--delete-protection` | `-d` | Enable delete protection | No | `false` | - |
|
|
106
|
+
| `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | No | - | `TAILOR_PLATFORM_ORGANIZATION_ID` |
|
|
107
|
+
| `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | No | - | `TAILOR_PLATFORM_FOLDER_ID` |
|
|
108
|
+
| `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - | - |
|
|
109
|
+
| `--profile <PROFILE>` | - | Workspace profile used for authentication and Platform selection | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
110
|
+
| `--profile-user <PROFILE_USER>` | - | User email address or machine user client ID for the profile (defaults to current user) | No | - | - |
|
|
111
|
+
| `--permission <PERMISSION>` | - | Profile permission (requires --profile-name). 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
204
112
|
|
|
205
113
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
206
114
|
|
|
207
|
-
|
|
208
|
-
<!-- politty:command:profile create:heading:start -->
|
|
209
|
-
|
|
210
|
-
### profile create
|
|
211
|
-
|
|
212
|
-
<!-- politty:command:profile create:heading:end -->
|
|
213
|
-
|
|
214
|
-
<!-- politty:command:profile create:description:start -->
|
|
215
|
-
|
|
216
|
-
Create a new profile.
|
|
217
|
-
|
|
218
|
-
<!-- politty:command:profile create:description:end -->
|
|
115
|
+
### workspace delete
|
|
219
116
|
|
|
220
|
-
|
|
117
|
+
Delete a Tailor Platform workspace.
|
|
221
118
|
|
|
222
119
|
**Usage**
|
|
223
120
|
|
|
224
121
|
```
|
|
225
|
-
tailor
|
|
122
|
+
tailor workspace delete [options]
|
|
226
123
|
```
|
|
227
124
|
|
|
228
|
-
<!-- politty:command:profile create:usage:end -->
|
|
229
|
-
|
|
230
|
-
<!-- politty:command:profile create:arguments:start -->
|
|
231
|
-
|
|
232
|
-
**Arguments**
|
|
233
|
-
|
|
234
|
-
| Argument | Description | Required |
|
|
235
|
-
| -------- | ------------ | -------- |
|
|
236
|
-
| `name` | Profile name | Yes |
|
|
237
|
-
|
|
238
|
-
<!-- politty:command:profile create:arguments:end -->
|
|
239
|
-
|
|
240
|
-
<!-- politty:command:profile create:options:start -->
|
|
241
|
-
|
|
242
125
|
**Options**
|
|
243
126
|
|
|
244
|
-
| Option
|
|
245
|
-
|
|
|
246
|
-
| `--
|
|
247
|
-
| `--
|
|
248
|
-
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands while the profile is active. | No | `"write"` |
|
|
249
|
-
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). | No | - |
|
|
250
|
-
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user. | No | - |
|
|
251
|
-
|
|
252
|
-
<!-- politty:command:profile create:options:end -->
|
|
253
|
-
|
|
254
|
-
<!-- politty:command:profile create:global-options-link:start -->
|
|
127
|
+
| Option | Alias | Description | Required | Default |
|
|
128
|
+
| ------------------------------- | ----- | ------------------------- | -------- | ------- |
|
|
129
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
|
|
130
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` |
|
|
255
131
|
|
|
256
132
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
257
133
|
|
|
258
|
-
|
|
259
|
-
<!-- politty:command:profile list:heading:start -->
|
|
260
|
-
|
|
261
|
-
### profile list
|
|
262
|
-
|
|
263
|
-
<!-- politty:command:profile list:heading:end -->
|
|
264
|
-
|
|
265
|
-
<!-- politty:command:profile list:description:start -->
|
|
266
|
-
|
|
267
|
-
List all profiles.
|
|
268
|
-
|
|
269
|
-
<!-- politty:command:profile list:description:end -->
|
|
134
|
+
### workspace get
|
|
270
135
|
|
|
271
|
-
|
|
136
|
+
Show detailed information about a workspace
|
|
272
137
|
|
|
273
138
|
**Usage**
|
|
274
139
|
|
|
275
140
|
```
|
|
276
|
-
tailor
|
|
141
|
+
tailor workspace get [options]
|
|
277
142
|
```
|
|
278
143
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
<!-- politty:command:profile list:options:start -->
|
|
282
|
-
<!-- politty:command:profile list:options:end -->
|
|
144
|
+
**Options**
|
|
283
145
|
|
|
284
|
-
|
|
146
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
147
|
+
| ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
|
|
148
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
149
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
285
150
|
|
|
286
151
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
287
152
|
|
|
288
|
-
|
|
289
|
-
<!-- politty:command:profile update:heading:start -->
|
|
290
|
-
|
|
291
|
-
### profile update
|
|
292
|
-
|
|
293
|
-
<!-- politty:command:profile update:heading:end -->
|
|
294
|
-
|
|
295
|
-
<!-- politty:command:profile update:description:start -->
|
|
296
|
-
|
|
297
|
-
Update profile properties.
|
|
298
|
-
|
|
299
|
-
<!-- politty:command:profile update:description:end -->
|
|
153
|
+
### workspace list
|
|
300
154
|
|
|
301
|
-
|
|
155
|
+
List all Tailor Platform workspaces.
|
|
302
156
|
|
|
303
157
|
**Usage**
|
|
304
158
|
|
|
305
159
|
```
|
|
306
|
-
tailor
|
|
160
|
+
tailor workspace list [options]
|
|
307
161
|
```
|
|
308
162
|
|
|
309
|
-
<!-- politty:command:profile update:usage:end -->
|
|
310
|
-
|
|
311
|
-
<!-- politty:command:profile update:arguments:start -->
|
|
312
|
-
|
|
313
|
-
**Arguments**
|
|
314
|
-
|
|
315
|
-
| Argument | Description | Required |
|
|
316
|
-
| -------- | ------------ | -------- |
|
|
317
|
-
| `name` | Profile name | Yes |
|
|
318
|
-
|
|
319
|
-
<!-- politty:command:profile update:arguments:end -->
|
|
320
|
-
|
|
321
|
-
<!-- politty:command:profile update:options:start -->
|
|
322
|
-
|
|
323
163
|
**Options**
|
|
324
164
|
|
|
325
|
-
| Option
|
|
326
|
-
|
|
|
327
|
-
| `--
|
|
328
|
-
| `--
|
|
329
|
-
| `--
|
|
330
|
-
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). Pass an empty string to clear. | No | - |
|
|
331
|
-
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user; 'allow' lifts the restriction. | No | - |
|
|
332
|
-
|
|
333
|
-
<!-- politty:command:profile update:options:end -->
|
|
334
|
-
|
|
335
|
-
<!-- politty:command:profile update:global-options-link:start -->
|
|
165
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
166
|
+
| --------------------- | ----- | ---------------------------------------------------------------- | -------- | -------- | ------------------------- |
|
|
167
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
168
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
169
|
+
| `--profile <PROFILE>` | - | Workspace profile used for authentication and Platform selection | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
336
170
|
|
|
337
171
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
338
172
|
|
|
339
|
-
|
|
340
|
-
<!-- politty:command:profile delete:heading:start -->
|
|
341
|
-
|
|
342
|
-
### profile delete
|
|
343
|
-
|
|
344
|
-
<!-- politty:command:profile delete:heading:end -->
|
|
345
|
-
|
|
346
|
-
<!-- politty:command:profile delete:description:start -->
|
|
347
|
-
|
|
348
|
-
Delete a profile.
|
|
349
|
-
|
|
350
|
-
<!-- politty:command:profile delete:description:end -->
|
|
173
|
+
### workspace restore
|
|
351
174
|
|
|
352
|
-
|
|
175
|
+
Restore a deleted workspace
|
|
353
176
|
|
|
354
177
|
**Usage**
|
|
355
178
|
|
|
356
179
|
```
|
|
357
|
-
tailor
|
|
180
|
+
tailor workspace restore [options]
|
|
358
181
|
```
|
|
359
182
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
<!-- politty:command:profile delete:arguments:start -->
|
|
363
|
-
|
|
364
|
-
**Arguments**
|
|
365
|
-
|
|
366
|
-
| Argument | Description | Required |
|
|
367
|
-
| -------- | ------------ | -------- |
|
|
368
|
-
| `name` | Profile name | Yes |
|
|
369
|
-
|
|
370
|
-
<!-- politty:command:profile delete:arguments:end -->
|
|
183
|
+
**Options**
|
|
371
184
|
|
|
372
|
-
|
|
185
|
+
| Option | Alias | Description | Required | Default |
|
|
186
|
+
| ------------------------------- | ----- | ------------------------- | -------- | ------- |
|
|
187
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
|
|
188
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` |
|
|
373
189
|
|
|
374
190
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
375
191
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
<!-- politty:command:workspace app:heading:start -->
|
|
379
|
-
|
|
380
|
-
### workspace app
|
|
381
|
-
|
|
382
|
-
<!-- politty:command:workspace app:heading:end -->
|
|
383
|
-
|
|
384
|
-
<!-- politty:command:workspace app:description:start -->
|
|
385
|
-
|
|
386
|
-
Manage workspace applications
|
|
387
|
-
|
|
388
|
-
<!-- politty:command:workspace app:description:end -->
|
|
192
|
+
### workspace user
|
|
389
193
|
|
|
390
|
-
|
|
194
|
+
Manage workspace users
|
|
391
195
|
|
|
392
196
|
**Usage**
|
|
393
197
|
|
|
394
198
|
```
|
|
395
|
-
tailor
|
|
199
|
+
tailor workspace user [command]
|
|
396
200
|
```
|
|
397
201
|
|
|
398
|
-
<!-- politty:command:workspace app:usage:end -->
|
|
399
|
-
|
|
400
|
-
<!-- politty:command:workspace app:subcommands:start -->
|
|
401
|
-
|
|
402
|
-
**Commands**
|
|
403
|
-
|
|
404
|
-
| Command | Description |
|
|
405
|
-
| ----------------------------------------------- | -------------------------------- |
|
|
406
|
-
| [`workspace app health`](#workspace-app-health) | Check application schema health |
|
|
407
|
-
| [`workspace app list`](#workspace-app-list) | List applications in a workspace |
|
|
408
|
-
|
|
409
|
-
<!-- politty:command:workspace app:subcommands:end -->
|
|
410
|
-
|
|
411
|
-
<!-- politty:command:workspace app:global-options-link:start -->
|
|
412
|
-
|
|
413
202
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
414
203
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
<!-- politty:command:workspace app health:heading:start -->
|
|
418
|
-
|
|
419
|
-
#### workspace app health
|
|
420
|
-
|
|
421
|
-
<!-- politty:command:workspace app health:heading:end -->
|
|
422
|
-
|
|
423
|
-
<!-- politty:command:workspace app health:description:start -->
|
|
204
|
+
**Commands**
|
|
424
205
|
|
|
425
|
-
|
|
206
|
+
| Command | Description |
|
|
207
|
+
| ------------------------------------------------- | ----------------------------------- |
|
|
208
|
+
| [`workspace user invite`](#workspace-user-invite) | Invite a user to a workspace |
|
|
209
|
+
| [`workspace user list`](#workspace-user-list) | List users in a workspace |
|
|
210
|
+
| [`workspace user remove`](#workspace-user-remove) | Remove a user from a workspace |
|
|
211
|
+
| [`workspace user update`](#workspace-user-update) | Update a user's role in a workspace |
|
|
426
212
|
|
|
427
|
-
|
|
213
|
+
#### workspace user invite
|
|
428
214
|
|
|
429
|
-
|
|
215
|
+
Invite a user to a workspace
|
|
430
216
|
|
|
431
217
|
**Usage**
|
|
432
218
|
|
|
433
219
|
```
|
|
434
|
-
tailor
|
|
220
|
+
tailor workspace user invite [options]
|
|
435
221
|
```
|
|
436
222
|
|
|
437
|
-
<!-- politty:command:workspace app health:usage:end -->
|
|
438
|
-
|
|
439
|
-
<!-- politty:command:workspace app health:options:start -->
|
|
440
|
-
|
|
441
223
|
**Options**
|
|
442
224
|
|
|
443
|
-
| Option | Alias | Description
|
|
444
|
-
| ------------------------------- | ----- |
|
|
445
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
446
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile
|
|
447
|
-
| `--
|
|
448
|
-
|
|
449
|
-
<!-- politty:command:workspace app health:options:end -->
|
|
450
|
-
|
|
451
|
-
<!-- politty:command:workspace app health:global-options-link:start -->
|
|
225
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
226
|
+
| ------------------------------- | ----- | -------------------------------------- | -------- | ------- | ------------------------------ |
|
|
227
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
228
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
229
|
+
| `--email <EMAIL>` | - | Email address of the user to invite | Yes | - | - |
|
|
230
|
+
| `--role <ROLE>` | `-r` | Role to assign (admin, editor, viewer) | Yes | - | - |
|
|
452
231
|
|
|
453
232
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
454
233
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
<!-- politty:command:workspace app list:heading:start -->
|
|
458
|
-
|
|
459
|
-
#### workspace app list
|
|
460
|
-
|
|
461
|
-
<!-- politty:command:workspace app list:heading:end -->
|
|
462
|
-
|
|
463
|
-
<!-- politty:command:workspace app list:description:start -->
|
|
464
|
-
|
|
465
|
-
List applications in a workspace
|
|
466
|
-
|
|
467
|
-
<!-- politty:command:workspace app list:description:end -->
|
|
234
|
+
#### workspace user list
|
|
468
235
|
|
|
469
|
-
|
|
236
|
+
List users in a workspace
|
|
470
237
|
|
|
471
238
|
**Usage**
|
|
472
239
|
|
|
473
240
|
```
|
|
474
|
-
tailor
|
|
241
|
+
tailor workspace user list [options]
|
|
475
242
|
```
|
|
476
243
|
|
|
477
|
-
<!-- politty:command:workspace app list:usage:end -->
|
|
478
|
-
|
|
479
|
-
<!-- politty:command:workspace app list:options:start -->
|
|
480
|
-
|
|
481
244
|
**Options**
|
|
482
245
|
|
|
483
246
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -487,293 +250,159 @@ tailor-sdk workspace app list [options]
|
|
|
487
250
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
488
251
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
489
252
|
|
|
490
|
-
<!-- politty:command:workspace app list:options:end -->
|
|
491
|
-
|
|
492
|
-
<!-- politty:command:workspace app list:global-options-link:start -->
|
|
493
|
-
|
|
494
253
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
495
254
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
<!-- politty:command:workspace get:heading:start -->
|
|
499
|
-
|
|
500
|
-
### workspace get
|
|
501
|
-
|
|
502
|
-
<!-- politty:command:workspace get:heading:end -->
|
|
503
|
-
|
|
504
|
-
<!-- politty:command:workspace get:description:start -->
|
|
505
|
-
|
|
506
|
-
Show detailed information about a workspace
|
|
507
|
-
|
|
508
|
-
<!-- politty:command:workspace get:description:end -->
|
|
255
|
+
#### workspace user remove
|
|
509
256
|
|
|
510
|
-
|
|
257
|
+
Remove a user from a workspace
|
|
511
258
|
|
|
512
259
|
**Usage**
|
|
513
260
|
|
|
514
261
|
```
|
|
515
|
-
tailor
|
|
262
|
+
tailor workspace user remove [options]
|
|
516
263
|
```
|
|
517
264
|
|
|
518
|
-
<!-- politty:command:workspace get:usage:end -->
|
|
519
|
-
|
|
520
|
-
<!-- politty:command:workspace get:options:start -->
|
|
521
|
-
|
|
522
265
|
**Options**
|
|
523
266
|
|
|
524
|
-
| Option | Alias | Description
|
|
525
|
-
| ------------------------------- | ----- |
|
|
526
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
527
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
<!-- politty:command:workspace get:global-options-link:start -->
|
|
267
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
268
|
+
| ------------------------------- | ----- | ----------------------------------- | -------- | ------- | ------------------------------ |
|
|
269
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
270
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
271
|
+
| `--email <EMAIL>` | - | Email address of the user to remove | Yes | - | - |
|
|
272
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
532
273
|
|
|
533
274
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
534
275
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
<!-- politty:command:workspace restore:heading:start -->
|
|
538
|
-
|
|
539
|
-
### workspace restore
|
|
540
|
-
|
|
541
|
-
<!-- politty:command:workspace restore:heading:end -->
|
|
542
|
-
|
|
543
|
-
<!-- politty:command:workspace restore:description:start -->
|
|
544
|
-
|
|
545
|
-
Restore a deleted workspace
|
|
546
|
-
|
|
547
|
-
<!-- politty:command:workspace restore:description:end -->
|
|
276
|
+
#### workspace user update
|
|
548
277
|
|
|
549
|
-
|
|
278
|
+
Update a user's role in a workspace
|
|
550
279
|
|
|
551
280
|
**Usage**
|
|
552
281
|
|
|
553
282
|
```
|
|
554
|
-
tailor
|
|
283
|
+
tailor workspace user update [options]
|
|
555
284
|
```
|
|
556
285
|
|
|
557
|
-
<!-- politty:command:workspace restore:usage:end -->
|
|
558
|
-
|
|
559
|
-
<!-- politty:command:workspace restore:options:start -->
|
|
560
|
-
|
|
561
286
|
**Options**
|
|
562
287
|
|
|
563
|
-
| Option | Alias | Description
|
|
564
|
-
| ------------------------------- | ----- |
|
|
565
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
566
|
-
| `--
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
<!-- politty:command:workspace restore:global-options-link:start -->
|
|
288
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
289
|
+
| ------------------------------- | ----- | ------------------------------------------ | -------- | ------- | ------------------------------ |
|
|
290
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
291
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
292
|
+
| `--email <EMAIL>` | - | Email address of the user to update | Yes | - | - |
|
|
293
|
+
| `--role <ROLE>` | `-r` | New role to assign (admin, editor, viewer) | Yes | - | - |
|
|
571
294
|
|
|
572
295
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
573
296
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
<!-- politty:command:workspace user:heading:start -->
|
|
577
|
-
|
|
578
|
-
### workspace user
|
|
579
|
-
|
|
580
|
-
<!-- politty:command:workspace user:heading:end -->
|
|
581
|
-
|
|
582
|
-
<!-- politty:command:workspace user:description:start -->
|
|
583
|
-
|
|
584
|
-
Manage workspace users
|
|
585
|
-
|
|
586
|
-
<!-- politty:command:workspace user:description:end -->
|
|
297
|
+
## profile
|
|
587
298
|
|
|
588
|
-
|
|
299
|
+
Manage workspace profiles (user + workspace combinations).
|
|
589
300
|
|
|
590
301
|
**Usage**
|
|
591
302
|
|
|
592
303
|
```
|
|
593
|
-
tailor
|
|
304
|
+
tailor profile [command]
|
|
594
305
|
```
|
|
595
306
|
|
|
596
|
-
<!-- politty:command:workspace user:usage:end -->
|
|
597
|
-
|
|
598
|
-
<!-- politty:command:workspace user:subcommands:start -->
|
|
599
|
-
|
|
600
|
-
**Commands**
|
|
601
|
-
|
|
602
|
-
| Command | Description |
|
|
603
|
-
| ------------------------------------------------- | ----------------------------------- |
|
|
604
|
-
| [`workspace user invite`](#workspace-user-invite) | Invite a user to a workspace |
|
|
605
|
-
| [`workspace user list`](#workspace-user-list) | List users in a workspace |
|
|
606
|
-
| [`workspace user remove`](#workspace-user-remove) | Remove a user from a workspace |
|
|
607
|
-
| [`workspace user update`](#workspace-user-update) | Update a user's role in a workspace |
|
|
608
|
-
|
|
609
|
-
<!-- politty:command:workspace user:subcommands:end -->
|
|
610
|
-
|
|
611
|
-
<!-- politty:command:workspace user:global-options-link:start -->
|
|
612
|
-
|
|
613
307
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
614
308
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
<!-- politty:command:workspace user invite:heading:start -->
|
|
618
|
-
|
|
619
|
-
#### workspace user invite
|
|
620
|
-
|
|
621
|
-
<!-- politty:command:workspace user invite:heading:end -->
|
|
622
|
-
|
|
623
|
-
<!-- politty:command:workspace user invite:description:start -->
|
|
309
|
+
**Commands**
|
|
624
310
|
|
|
625
|
-
|
|
311
|
+
| Command | Description |
|
|
312
|
+
| ----------------------------------- | -------------------------- |
|
|
313
|
+
| [`profile create`](#profile-create) | Create a new profile. |
|
|
314
|
+
| [`profile delete`](#profile-delete) | Delete a profile. |
|
|
315
|
+
| [`profile list`](#profile-list) | List all profiles. |
|
|
316
|
+
| [`profile update`](#profile-update) | Update profile properties. |
|
|
626
317
|
|
|
627
|
-
|
|
318
|
+
### profile create
|
|
628
319
|
|
|
629
|
-
|
|
320
|
+
Create a new profile.
|
|
630
321
|
|
|
631
322
|
**Usage**
|
|
632
323
|
|
|
633
324
|
```
|
|
634
|
-
tailor
|
|
325
|
+
tailor profile create [options] <name>
|
|
635
326
|
```
|
|
636
327
|
|
|
637
|
-
|
|
328
|
+
**Arguments**
|
|
638
329
|
|
|
639
|
-
|
|
330
|
+
| Argument | Description | Required |
|
|
331
|
+
| -------- | ------------ | -------- |
|
|
332
|
+
| `name` | Profile name | Yes |
|
|
640
333
|
|
|
641
334
|
**Options**
|
|
642
335
|
|
|
643
|
-
| Option
|
|
644
|
-
|
|
|
645
|
-
| `--
|
|
646
|
-
| `--
|
|
647
|
-
| `--
|
|
648
|
-
| `--
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
336
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
337
|
+
| ------------------------------------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- | ---------------------------------- |
|
|
338
|
+
| `--user <USER>` | `-u` | User email address or machine user client ID | Yes | - | - |
|
|
339
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - | - |
|
|
340
|
+
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
341
|
+
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). | No | - | - |
|
|
342
|
+
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user. | No | - | - |
|
|
343
|
+
| `--platform-url <PLATFORM_URL>` | - | Platform API base URL for this profile. | No | - | `TAILOR_PLATFORM_URL` |
|
|
344
|
+
| `--oauth2-client-id <OAUTH2_CLIENT_ID>` | - | OAuth2 client ID for logging in to this profile's platform. | No | - | `TAILOR_PLATFORM_OAUTH2_CLIENT_ID` |
|
|
345
|
+
| `--console-url <CONSOLE_URL>` | - | Console base URL for this profile. | No | - | `TAILOR_PLATFORM_CONSOLE_URL` |
|
|
653
346
|
|
|
654
347
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
655
348
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
<!-- politty:command:workspace user list:heading:start -->
|
|
659
|
-
|
|
660
|
-
#### workspace user list
|
|
661
|
-
|
|
662
|
-
<!-- politty:command:workspace user list:heading:end -->
|
|
663
|
-
|
|
664
|
-
<!-- politty:command:workspace user list:description:start -->
|
|
665
|
-
|
|
666
|
-
List users in a workspace
|
|
667
|
-
|
|
668
|
-
<!-- politty:command:workspace user list:description:end -->
|
|
349
|
+
### profile delete
|
|
669
350
|
|
|
670
|
-
|
|
351
|
+
Delete a profile.
|
|
671
352
|
|
|
672
353
|
**Usage**
|
|
673
354
|
|
|
674
355
|
```
|
|
675
|
-
tailor
|
|
356
|
+
tailor profile delete <name>
|
|
676
357
|
```
|
|
677
358
|
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
<!-- politty:command:workspace user list:options:start -->
|
|
681
|
-
|
|
682
|
-
**Options**
|
|
683
|
-
|
|
684
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
685
|
-
| ------------------------------- | ----- | -------------------------------------------------------- | -------- | -------- | ------------------------------ |
|
|
686
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
687
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
688
|
-
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
689
|
-
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
690
|
-
|
|
691
|
-
<!-- politty:command:workspace user list:options:end -->
|
|
359
|
+
**Arguments**
|
|
692
360
|
|
|
693
|
-
|
|
361
|
+
| Argument | Description | Required |
|
|
362
|
+
| -------- | ------------ | -------- |
|
|
363
|
+
| `name` | Profile name | Yes |
|
|
694
364
|
|
|
695
365
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
696
366
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
<!-- politty:command:workspace user remove:heading:start -->
|
|
700
|
-
|
|
701
|
-
#### workspace user remove
|
|
702
|
-
|
|
703
|
-
<!-- politty:command:workspace user remove:heading:end -->
|
|
704
|
-
|
|
705
|
-
<!-- politty:command:workspace user remove:description:start -->
|
|
706
|
-
|
|
707
|
-
Remove a user from a workspace
|
|
708
|
-
|
|
709
|
-
<!-- politty:command:workspace user remove:description:end -->
|
|
367
|
+
### profile list
|
|
710
368
|
|
|
711
|
-
|
|
369
|
+
List all profiles.
|
|
712
370
|
|
|
713
371
|
**Usage**
|
|
714
372
|
|
|
715
373
|
```
|
|
716
|
-
tailor
|
|
374
|
+
tailor profile list
|
|
717
375
|
```
|
|
718
376
|
|
|
719
|
-
<!-- politty:command:workspace user remove:usage:end -->
|
|
720
|
-
|
|
721
|
-
<!-- politty:command:workspace user remove:options:start -->
|
|
722
|
-
|
|
723
|
-
**Options**
|
|
724
|
-
|
|
725
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
726
|
-
| ------------------------------- | ----- | ----------------------------------- | -------- | ------- | ------------------------------ |
|
|
727
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
728
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
729
|
-
| `--email <EMAIL>` | - | Email address of the user to remove | Yes | - | - |
|
|
730
|
-
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
731
|
-
|
|
732
|
-
<!-- politty:command:workspace user remove:options:end -->
|
|
733
|
-
|
|
734
|
-
<!-- politty:command:workspace user remove:global-options-link:start -->
|
|
735
|
-
|
|
736
377
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
737
378
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
<!-- politty:command:workspace user update:heading:start -->
|
|
741
|
-
|
|
742
|
-
#### workspace user update
|
|
743
|
-
|
|
744
|
-
<!-- politty:command:workspace user update:heading:end -->
|
|
745
|
-
|
|
746
|
-
<!-- politty:command:workspace user update:description:start -->
|
|
747
|
-
|
|
748
|
-
Update a user's role in a workspace
|
|
749
|
-
|
|
750
|
-
<!-- politty:command:workspace user update:description:end -->
|
|
379
|
+
### profile update
|
|
751
380
|
|
|
752
|
-
|
|
381
|
+
Update profile properties.
|
|
753
382
|
|
|
754
383
|
**Usage**
|
|
755
384
|
|
|
756
385
|
```
|
|
757
|
-
tailor
|
|
386
|
+
tailor profile update [options] <name>
|
|
758
387
|
```
|
|
759
388
|
|
|
760
|
-
|
|
389
|
+
**Arguments**
|
|
761
390
|
|
|
762
|
-
|
|
391
|
+
| Argument | Description | Required |
|
|
392
|
+
| -------- | ------------ | -------- |
|
|
393
|
+
| `name` | Profile name | Yes |
|
|
763
394
|
|
|
764
395
|
**Options**
|
|
765
396
|
|
|
766
|
-
| Option
|
|
767
|
-
|
|
|
768
|
-
| `--
|
|
769
|
-
| `--
|
|
770
|
-
| `--
|
|
771
|
-
| `--
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
397
|
+
| Option | Alias | Description | Required | Default |
|
|
398
|
+
| ------------------------------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
|
|
399
|
+
| `--user <USER>` | `-u` | New user email address or machine user client ID | No | - |
|
|
400
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | New workspace ID | No | - |
|
|
401
|
+
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands; 'write' lifts the restriction. | No | - |
|
|
402
|
+
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). Pass an empty string to clear. | No | - |
|
|
403
|
+
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user; 'allow' lifts the restriction. | No | - |
|
|
404
|
+
| `--platform-url <PLATFORM_URL>` | - | Platform API base URL for this profile. Pass an empty string to clear. | No | - |
|
|
405
|
+
| `--oauth2-client-id <OAUTH2_CLIENT_ID>` | - | OAuth2 client ID for logging in to this profile's platform. Pass an empty string to clear. | No | - |
|
|
406
|
+
| `--console-url <CONSOLE_URL>` | - | Console base URL for this profile. Pass an empty string to clear. | No | - |
|
|
776
407
|
|
|
777
408
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
778
|
-
|
|
779
|
-
<!-- politty:command:workspace user update:global-options-link:end -->
|