@tailor-platform/sdk 2.14.0 → 2.14.1
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 +22 -0
- package/dist/application-BWOMdL3D.mjs +1 -0
- package/dist/{application-CiN_er9X.mjs → application-CfevPO-k.mjs} +8 -8
- package/dist/application-CfevPO-k.mjs.map +1 -0
- package/dist/cli/commands/api/api-call.d.mts +4 -5
- package/dist/cli/commands/deploy/config-id-injector.d.mts +3 -4
- package/dist/cli/commands/deploy/deploy.d.mts +3 -4
- package/dist/cli/commands/deploy/function-registry-types.d.mts +2 -3
- package/dist/cli/commands/executor/get.d.mts +3 -4
- package/dist/cli/commands/executor/jobs.d.mts +10 -11
- package/dist/cli/commands/executor/list.d.mts +3 -4
- package/dist/cli/commands/executor/transform.d.mts +6 -7
- package/dist/cli/commands/executor/trigger.d.mts +4 -5
- package/dist/cli/commands/executor/webhook.d.mts +4 -5
- package/dist/cli/commands/function/get.d.mts +3 -4
- package/dist/cli/commands/function/list.d.mts +3 -4
- package/dist/cli/commands/function/transform.d.mts +2 -3
- package/dist/cli/commands/generate/options.d.mts +2 -3
- package/dist/cli/commands/generate/seed/bundler.d.mts +3 -4
- package/dist/cli/commands/generate/service.d.mts +2 -3
- package/dist/cli/commands/machineuser/list.d.mts +4 -5
- package/dist/cli/commands/machineuser/token.d.mts +4 -5
- package/dist/cli/commands/oauth2client/get.d.mts +3 -4
- package/dist/cli/commands/oauth2client/list.d.mts +3 -4
- package/dist/cli/commands/oauth2client/transform.d.mts +3 -4
- package/dist/cli/commands/organization/folder/create.d.mts +3 -4
- package/dist/cli/commands/organization/folder/delete.d.mts +3 -4
- package/dist/cli/commands/organization/folder/get.d.mts +3 -4
- package/dist/cli/commands/organization/folder/list.d.mts +3 -4
- package/dist/cli/commands/organization/folder/update.d.mts +3 -4
- package/dist/cli/commands/organization/get.d.mts +3 -4
- package/dist/cli/commands/organization/list.d.mts +3 -4
- package/dist/cli/commands/organization/transform.d.mts +5 -6
- package/dist/cli/commands/organization/tree.d.mts +3 -4
- package/dist/cli/commands/organization/update.d.mts +3 -4
- package/dist/cli/commands/remove.d.mts +3 -4
- package/dist/cli/commands/show.d.mts +6 -7
- package/dist/cli/commands/staticwebsite/deploy.d.mts +3 -4
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +3 -4
- package/dist/cli/commands/tailordb/migrate/config.d.mts +3 -4
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +34 -35
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +3 -4
- package/dist/cli/commands/tailordb/migrate/rename-detection.d.mts +3 -4
- package/dist/cli/commands/tailordb/migrate/snapshot-comparison.d.mts +4 -5
- package/dist/cli/commands/tailordb/migrate/snapshot-files.d.mts +13 -14
- package/dist/cli/commands/tailordb/migrate/snapshot-local.d.mts +2 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-migrations.d.mts +2 -3
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +21 -22
- package/dist/cli/commands/tailordb/migrate/types.d.mts +2 -3
- package/dist/cli/commands/tailordb/truncate.d.mts +3 -4
- package/dist/cli/commands/workflow/executions.d.mts +8 -9
- package/dist/cli/commands/workflow/get.d.mts +3 -4
- package/dist/cli/commands/workflow/list.d.mts +3 -4
- package/dist/cli/commands/workflow/resume.d.mts +4 -5
- package/dist/cli/commands/workflow/start.d.mts +5 -6
- package/dist/cli/commands/workflow/status.d.mts +3 -4
- package/dist/cli/commands/workflow/transform.d.mts +5 -6
- package/dist/cli/commands/workflow/wait.d.mts +3 -4
- package/dist/cli/commands/workflow/waiter.d.mts +3 -4
- package/dist/cli/commands/workspace/app/health.d.mts +3 -4
- package/dist/cli/commands/workspace/app/list.d.mts +3 -4
- package/dist/cli/commands/workspace/app/transform.d.mts +3 -4
- package/dist/cli/commands/workspace/create.d.mts +3 -4
- package/dist/cli/commands/workspace/delete.d.mts +3 -4
- package/dist/cli/commands/workspace/get.d.mts +3 -4
- package/dist/cli/commands/workspace/list.d.mts +3 -4
- package/dist/cli/commands/workspace/restore.d.mts +3 -4
- package/dist/cli/commands/workspace/transform.d.mts +3 -4
- package/dist/cli/commands/workspace/user/invite.d.mts +3 -4
- package/dist/cli/commands/workspace/user/list.d.mts +3 -4
- package/dist/cli/commands/workspace/user/remove.d.mts +3 -4
- package/dist/cli/commands/workspace/user/transform.d.mts +2 -3
- package/dist/cli/commands/workspace/user/update.d.mts +3 -4
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/main.d.mts +2 -3
- package/dist/cli/main.mjs +18 -18
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/query/index.d.mts +2 -3
- package/dist/cli/shared/args.d.mts +11 -12
- package/dist/cli/shared/beta.d.mts +2 -3
- package/dist/cli/shared/client.d.mts +4 -5
- package/dist/cli/shared/command.d.mts +2 -3
- package/dist/cli/shared/config-loader.d.mts +5 -6
- package/dist/cli/shared/config.d.mts +2 -3
- package/dist/cli/shared/context.d.mts +3 -4
- package/dist/cli/shared/error-json.d.mts +4 -5
- package/dist/cli/shared/logger.d.mts +7 -8
- package/dist/cli/shared/prompt.d.mts +7 -8
- package/dist/cli/shared/readonly-guard.d.mts +2 -3
- package/dist/cli/shared/script-executor.d.mts +7 -8
- package/dist/cli/shared/seed-chunker.d.mts +5 -6
- package/dist/cli/shared/seed-context.d.mts +5 -5
- package/dist/cli/shared/tailordb-namespaces.d.mts +5 -6
- package/dist/cli/shared/type-generator.d.mts +2 -3
- package/dist/cli/shared/workspace-name.d.mts +2 -3
- package/dist/completion/zsh-worker.zsh +1 -1
- package/dist/configure/config/index.d.mts +3 -4
- package/dist/configure/config/types.d.mts +14 -15
- package/dist/configure/index.d.mts +6 -6
- package/dist/configure/services/aigateway/index.d.mts +2 -2
- package/dist/configure/services/aigateway/types.d.mts +4 -5
- package/dist/configure/services/auth/index.d.mts +3 -3
- package/dist/configure/services/auth/types.d.mts +24 -25
- package/dist/configure/services/executor/executor.d.mts +3 -4
- package/dist/configure/services/executor/operation.d.mts +6 -7
- package/dist/configure/services/executor/trigger/event.d.mts +56 -57
- package/dist/configure/services/executor/trigger/index.d.mts +2 -2
- package/dist/configure/services/executor/trigger/schedule.d.mts +4 -5
- package/dist/configure/services/executor/trigger/webhook.d.mts +8 -9
- package/dist/configure/services/http-adapter/http-adapter.d.mts +12 -13
- package/dist/configure/services/idp/index.d.mts +2 -2
- package/dist/configure/services/idp/permission.d.mts +4 -5
- package/dist/configure/services/idp/types.d.mts +5 -6
- package/dist/configure/services/resolver/permission.d.mts +4 -5
- package/dist/configure/services/resolver/resolver.d.mts +3 -4
- package/dist/configure/services/resolver/types.d.mts +2 -3
- package/dist/configure/services/secrets/index.d.mts +3 -3
- package/dist/configure/services/secrets/types.d.mts +3 -4
- package/dist/configure/services/staticwebsite/index.d.mts +2 -2
- package/dist/configure/services/staticwebsite/types.d.mts +3 -4
- package/dist/configure/services/tailordb/permission.d.mts +6 -7
- package/dist/configure/services/tailordb/schema.d.mts +7 -8
- package/dist/configure/services/tailordb/types.d.mts +25 -26
- package/dist/configure/services/workflow/execution-policy.d.mts +3 -3
- package/dist/configure/services/workflow/execution-policy.types.d.mts +8 -9
- package/dist/configure/services/workflow/job.d.mts +4 -5
- package/dist/configure/services/workflow/wait-point.d.mts +5 -6
- package/dist/configure/services/workflow/workflow.d.mts +4 -4
- package/dist/configure/types/aigateway-name.d.mts +3 -4
- package/dist/configure/types/auth-namespace-name.d.mts +3 -4
- package/dist/configure/types/connection-name.d.mts +3 -4
- package/dist/configure/types/field.d.mts +3 -4
- package/dist/configure/types/field.types.d.mts +13 -14
- package/dist/configure/types/idp-name.d.mts +3 -4
- package/dist/configure/types/permission-operand.types.d.mts +7 -8
- package/dist/configure/types/type.d.mts +3 -4
- package/dist/kysely/index.d.mts +18 -18
- package/dist/parser/service/idp/types.d.mts +2 -3
- package/dist/parser/service/tailordb/type-source.d.mts +2 -3
- package/dist/parser/service/tailordb/types.d.mts +13 -14
- package/dist/plugin/builtin/enum-constants/index.d.mts +3 -4
- package/dist/plugin/builtin/file-utils/index.d.mts +3 -4
- package/dist/plugin/builtin/kysely-type/index.d.mts +4 -5
- package/dist/plugin/builtin/seed/index.d.mts +4 -5
- package/dist/plugin/builtin/seed/seed-type-processor.d.mts +2 -3
- package/dist/plugin/get-generated-table.d.mts +2 -3
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/plugin/types.d.mts +29 -29
- package/dist/plugin/with-context.d.mts +9 -10
- package/dist/{register-ts-hook-DS1zYiCV.mjs → register-ts-hook-DZ1Kpt4s.mjs} +44 -44
- package/dist/register-ts-hook-DZ1Kpt4s.mjs.map +1 -0
- package/dist/runtime/aigateway.d.mts +4 -5
- package/dist/runtime/authconnection.d.mts +3 -4
- package/dist/runtime/context.d.mts +6 -7
- package/dist/runtime/date.d.mts +2 -3
- package/dist/runtime/field-parse.d.mts +2 -3
- package/dist/runtime/file.d.mts +14 -15
- package/dist/runtime/globals.d.mts +2 -1
- package/dist/runtime/iconv.d.mts +5 -6
- package/dist/runtime/idp.d.mts +14 -15
- package/dist/runtime/index.d.mts +7 -7
- package/dist/runtime/logger.d.mts +10 -11
- package/dist/runtime/secretmanager.d.mts +3 -4
- package/dist/runtime/types.d.mts +7 -8
- package/dist/runtime/workflow.d.mts +7 -8
- package/dist/seed/index.d.mts +3 -3
- package/dist/shared/src/color.d.mts +2 -3
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +21 -22
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +2 -3
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +35 -36
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +6 -7
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +229 -230
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +40 -41
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +9 -10
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +3 -4
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +45 -46
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +24 -25
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +17 -18
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +29 -30
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +8 -9
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +2 -3
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +37 -38
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +13 -14
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +19 -20
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +2 -3
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +25 -26
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +59 -60
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +10 -11
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +7 -8
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +37 -38
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +4 -5
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +6 -7
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +21 -22
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +3 -4
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +50 -51
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +4 -5
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +74 -75
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +35 -36
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +41 -42
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +11 -12
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +97 -98
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +11 -12
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +209 -210
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +24 -25
- package/dist/types/aigateway.generated.d.mts +3 -4
- package/dist/types/app-config.generated.d.mts +2 -3
- package/dist/types/auth-connection.generated.d.mts +3 -4
- package/dist/types/auth.generated.d.mts +15 -16
- package/dist/types/executor.generated.d.mts +26 -27
- package/dist/types/helpers.d.mts +15 -13
- package/dist/types/http-adapter.generated.d.mts +2 -3
- package/dist/types/idp.generated.d.mts +7 -8
- package/dist/types/resolver.generated.d.mts +4 -5
- package/dist/types/secrets.generated.d.mts +3 -4
- package/dist/types/staticwebsite.generated.d.mts +3 -4
- package/dist/types/tailordb.generated.d.mts +7 -8
- package/dist/types/workflow.generated.d.mts +3 -4
- package/dist/utils/test/index.d.mts +3 -4
- package/dist/vitest/index.d.mts +2 -2
- package/dist/vitest/mock-kysely.d.mts +4 -5
- package/dist/vitest/mocks/aigateway.d.mts +3 -4
- package/dist/vitest/mocks/authconnection.d.mts +3 -4
- package/dist/vitest/mocks/file.d.mts +3 -4
- package/dist/vitest/mocks/iconv.d.mts +3 -4
- package/dist/vitest/mocks/idp.d.mts +3 -4
- package/dist/vitest/mocks/logger.d.mts +3 -4
- package/dist/vitest/mocks/secretmanager.d.mts +3 -4
- package/dist/vitest/mocks/tailordb-pglite.d.mts +4 -5
- package/dist/vitest/mocks/tailordb.d.mts +6 -7
- package/dist/vitest/mocks/workflow.d.mts +2 -3
- package/dist/vitest/pglite-kysely.d.mts +5 -6
- package/dist/vitest/setup.d.mts +6 -7
- package/dist/vitest/workflow-local.d.mts +5 -6
- package/docs/services/idp.md +6 -3
- package/package.json +12 -12
- package/dist/application-CiN_er9X.mjs.map +0 -1
- package/dist/application-_8rjQRx8.mjs +0 -1
- package/dist/register-ts-hook-DS1zYiCV.mjs.map +0 -1
|
@@ -5,7 +5,7 @@ import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
5
5
|
/**
|
|
6
6
|
* @generated from message tailor.v1.Organization
|
|
7
7
|
*/
|
|
8
|
-
declare type Organization = Message<"tailor.v1.Organization"> & {
|
|
8
|
+
export declare type Organization = Message<"tailor.v1.Organization"> & {
|
|
9
9
|
/**
|
|
10
10
|
* @generated from field: string id = 1;
|
|
11
11
|
*/
|
|
@@ -26,7 +26,7 @@ declare type Organization = Message<"tailor.v1.Organization"> & {
|
|
|
26
26
|
/**
|
|
27
27
|
* @generated from message tailor.v1.OrganizationAccess
|
|
28
28
|
*/
|
|
29
|
-
declare type OrganizationAccess = Message<"tailor.v1.OrganizationAccess"> & {
|
|
29
|
+
export declare type OrganizationAccess = Message<"tailor.v1.OrganizationAccess"> & {
|
|
30
30
|
/**
|
|
31
31
|
* @generated from field: string organization_id = 1;
|
|
32
32
|
*/
|
|
@@ -64,7 +64,7 @@ declare type OrganizationAccess = Message<"tailor.v1.OrganizationAccess"> & {
|
|
|
64
64
|
/**
|
|
65
65
|
* @generated from message tailor.v1.OrganizationAccess.PlatformUser
|
|
66
66
|
*/
|
|
67
|
-
declare type OrganizationAccess_PlatformUser = Message<"tailor.v1.OrganizationAccess.PlatformUser"> & {
|
|
67
|
+
export declare type OrganizationAccess_PlatformUser = Message<"tailor.v1.OrganizationAccess.PlatformUser"> & {
|
|
68
68
|
/**
|
|
69
69
|
* @generated from field: string id = 1;
|
|
70
70
|
*/
|
|
@@ -77,7 +77,7 @@ declare type OrganizationAccess_PlatformUser = Message<"tailor.v1.OrganizationAc
|
|
|
77
77
|
/**
|
|
78
78
|
* @generated from message tailor.v1.OrganizationAccess.Team
|
|
79
79
|
*/
|
|
80
|
-
declare type OrganizationAccess_Team = Message<"tailor.v1.OrganizationAccess.Team"> & {
|
|
80
|
+
export declare type OrganizationAccess_Team = Message<"tailor.v1.OrganizationAccess.Team"> & {
|
|
81
81
|
/**
|
|
82
82
|
* @generated from field: string id = 1;
|
|
83
83
|
*/
|
|
@@ -90,7 +90,7 @@ declare type OrganizationAccess_Team = Message<"tailor.v1.OrganizationAccess.Tea
|
|
|
90
90
|
/**
|
|
91
91
|
* @generated from message tailor.v1.OrganizationAccess.MachineUser
|
|
92
92
|
*/
|
|
93
|
-
declare type OrganizationAccess_MachineUser = Message<"tailor.v1.OrganizationAccess.MachineUser"> & {
|
|
93
|
+
export declare type OrganizationAccess_MachineUser = Message<"tailor.v1.OrganizationAccess.MachineUser"> & {
|
|
94
94
|
/**
|
|
95
95
|
* @generated from field: string id = 1;
|
|
96
96
|
*/
|
|
@@ -103,7 +103,7 @@ declare type OrganizationAccess_MachineUser = Message<"tailor.v1.OrganizationAcc
|
|
|
103
103
|
/**
|
|
104
104
|
* @generated from message tailor.v1.Folder
|
|
105
105
|
*/
|
|
106
|
-
declare type Folder = Message<"tailor.v1.Folder"> & {
|
|
106
|
+
export declare type Folder = Message<"tailor.v1.Folder"> & {
|
|
107
107
|
/**
|
|
108
108
|
* @generated from field: string id = 1;
|
|
109
109
|
*/
|
|
@@ -138,7 +138,7 @@ declare type Folder = Message<"tailor.v1.Folder"> & {
|
|
|
138
138
|
/**
|
|
139
139
|
* @generated from message tailor.v1.FolderAccess
|
|
140
140
|
*/
|
|
141
|
-
declare type FolderAccess = Message<"tailor.v1.FolderAccess"> & {
|
|
141
|
+
export declare type FolderAccess = Message<"tailor.v1.FolderAccess"> & {
|
|
142
142
|
/**
|
|
143
143
|
* @generated from field: string folder_id = 1;
|
|
144
144
|
*/
|
|
@@ -176,7 +176,7 @@ declare type FolderAccess = Message<"tailor.v1.FolderAccess"> & {
|
|
|
176
176
|
/**
|
|
177
177
|
* @generated from message tailor.v1.FolderAccess.PlatformUser
|
|
178
178
|
*/
|
|
179
|
-
declare type FolderAccess_PlatformUser = Message<"tailor.v1.FolderAccess.PlatformUser"> & {
|
|
179
|
+
export declare type FolderAccess_PlatformUser = Message<"tailor.v1.FolderAccess.PlatformUser"> & {
|
|
180
180
|
/**
|
|
181
181
|
* @generated from field: string id = 1;
|
|
182
182
|
*/
|
|
@@ -189,7 +189,7 @@ declare type FolderAccess_PlatformUser = Message<"tailor.v1.FolderAccess.Platfor
|
|
|
189
189
|
/**
|
|
190
190
|
* @generated from message tailor.v1.FolderAccess.Team
|
|
191
191
|
*/
|
|
192
|
-
declare type FolderAccess_Team = Message<"tailor.v1.FolderAccess.Team"> & {
|
|
192
|
+
export declare type FolderAccess_Team = Message<"tailor.v1.FolderAccess.Team"> & {
|
|
193
193
|
/**
|
|
194
194
|
* @generated from field: string id = 1;
|
|
195
195
|
*/
|
|
@@ -202,7 +202,7 @@ declare type FolderAccess_Team = Message<"tailor.v1.FolderAccess.Team"> & {
|
|
|
202
202
|
/**
|
|
203
203
|
* @generated from message tailor.v1.FolderAccess.MachineUser
|
|
204
204
|
*/
|
|
205
|
-
declare type FolderAccess_MachineUser = Message<"tailor.v1.FolderAccess.MachineUser"> & {
|
|
205
|
+
export declare type FolderAccess_MachineUser = Message<"tailor.v1.FolderAccess.MachineUser"> & {
|
|
206
206
|
/**
|
|
207
207
|
* @generated from field: string id = 1;
|
|
208
208
|
*/
|
|
@@ -215,7 +215,7 @@ declare type FolderAccess_MachineUser = Message<"tailor.v1.FolderAccess.MachineU
|
|
|
215
215
|
/**
|
|
216
216
|
* @generated from message tailor.v1.Team
|
|
217
217
|
*/
|
|
218
|
-
declare type Team = Message<"tailor.v1.Team"> & {
|
|
218
|
+
export declare type Team = Message<"tailor.v1.Team"> & {
|
|
219
219
|
/**
|
|
220
220
|
* @generated from field: string id = 1;
|
|
221
221
|
*/
|
|
@@ -240,7 +240,7 @@ declare type Team = Message<"tailor.v1.Team"> & {
|
|
|
240
240
|
/**
|
|
241
241
|
* @generated from message tailor.v1.TeamMember
|
|
242
242
|
*/
|
|
243
|
-
declare type TeamMember = Message<"tailor.v1.TeamMember"> & {
|
|
243
|
+
export declare type TeamMember = Message<"tailor.v1.TeamMember"> & {
|
|
244
244
|
/**
|
|
245
245
|
* @generated from field: string team_id = 1;
|
|
246
246
|
*/
|
|
@@ -257,7 +257,7 @@ declare type TeamMember = Message<"tailor.v1.TeamMember"> & {
|
|
|
257
257
|
/**
|
|
258
258
|
* @generated from message tailor.v1.TeamMember.PlatformUser
|
|
259
259
|
*/
|
|
260
|
-
declare type TeamMember_PlatformUser = Message<"tailor.v1.TeamMember.PlatformUser"> & {
|
|
260
|
+
export declare type TeamMember_PlatformUser = Message<"tailor.v1.TeamMember.PlatformUser"> & {
|
|
261
261
|
/**
|
|
262
262
|
* @generated from field: string user_id = 1;
|
|
263
263
|
*/
|
|
@@ -270,7 +270,7 @@ declare type TeamMember_PlatformUser = Message<"tailor.v1.TeamMember.PlatformUse
|
|
|
270
270
|
/**
|
|
271
271
|
* @generated from message tailor.v1.Workspace
|
|
272
272
|
*/
|
|
273
|
-
declare type Workspace = Message<"tailor.v1.Workspace"> & {
|
|
273
|
+
export declare type Workspace = Message<"tailor.v1.Workspace"> & {
|
|
274
274
|
/**
|
|
275
275
|
* @generated from field: string id = 1;
|
|
276
276
|
*/
|
|
@@ -315,7 +315,7 @@ declare type Workspace = Message<"tailor.v1.Workspace"> & {
|
|
|
315
315
|
/**
|
|
316
316
|
* @generated from message tailor.v1.WorkspacePlatformUser
|
|
317
317
|
*/
|
|
318
|
-
declare type WorkspacePlatformUser = Message<"tailor.v1.WorkspacePlatformUser"> & {
|
|
318
|
+
export declare type WorkspacePlatformUser = Message<"tailor.v1.WorkspacePlatformUser"> & {
|
|
319
319
|
/**
|
|
320
320
|
* @generated from field: tailor.v1.WorkspacePlatformUserRole role = 1;
|
|
321
321
|
*/
|
|
@@ -328,7 +328,7 @@ declare type WorkspacePlatformUser = Message<"tailor.v1.WorkspacePlatformUser">
|
|
|
328
328
|
/**
|
|
329
329
|
* @generated from message tailor.v1.WorkspacePlatformUser.PlatformUser
|
|
330
330
|
*/
|
|
331
|
-
declare type WorkspacePlatformUser_PlatformUser = Message<"tailor.v1.WorkspacePlatformUser.PlatformUser"> & {
|
|
331
|
+
export declare type WorkspacePlatformUser_PlatformUser = Message<"tailor.v1.WorkspacePlatformUser.PlatformUser"> & {
|
|
332
332
|
/**
|
|
333
333
|
* @generated from field: string user_id = 1;
|
|
334
334
|
*/
|
|
@@ -341,7 +341,7 @@ declare type WorkspacePlatformUser_PlatformUser = Message<"tailor.v1.WorkspacePl
|
|
|
341
341
|
/**
|
|
342
342
|
* @generated from message tailor.v1.PlatformAccountPlan
|
|
343
343
|
*/
|
|
344
|
-
declare type PlatformAccountPlan = Message<"tailor.v1.PlatformAccountPlan"> & {
|
|
344
|
+
export declare type PlatformAccountPlan = Message<"tailor.v1.PlatformAccountPlan"> & {
|
|
345
345
|
/**
|
|
346
346
|
* @generated from field: tailor.v1.PlatformAccountPlanType plan_type = 1;
|
|
347
347
|
*/
|
|
@@ -363,7 +363,7 @@ declare type PlatformAccountPlan = Message<"tailor.v1.PlatformAccountPlan"> & {
|
|
|
363
363
|
/**
|
|
364
364
|
* @generated from message tailor.v1.PlatformAccountPlan.PlatformAccountPlanTrial
|
|
365
365
|
*/
|
|
366
|
-
declare type PlatformAccountPlan_PlatformAccountPlanTrial = Message<"tailor.v1.PlatformAccountPlan.PlatformAccountPlanTrial"> & {
|
|
366
|
+
export declare type PlatformAccountPlan_PlatformAccountPlanTrial = Message<"tailor.v1.PlatformAccountPlan.PlatformAccountPlanTrial"> & {
|
|
367
367
|
/**
|
|
368
368
|
* @generated from field: google.protobuf.Timestamp start_at = 1;
|
|
369
369
|
*/
|
|
@@ -380,7 +380,7 @@ declare type PlatformAccountPlan_PlatformAccountPlanTrial = Message<"tailor.v1.P
|
|
|
380
380
|
/**
|
|
381
381
|
* @generated from enum tailor.v1.OrganizationRole
|
|
382
382
|
*/
|
|
383
|
-
declare enum OrganizationRole {
|
|
383
|
+
export declare enum OrganizationRole {
|
|
384
384
|
/**
|
|
385
385
|
* @generated from enum value: ORGANIZATION_ROLE_UNSPECIFIED = 0;
|
|
386
386
|
*/
|
|
@@ -401,7 +401,7 @@ declare enum OrganizationRole {
|
|
|
401
401
|
/**
|
|
402
402
|
* @generated from enum tailor.v1.FolderRole
|
|
403
403
|
*/
|
|
404
|
-
declare enum FolderRole {
|
|
404
|
+
export declare enum FolderRole {
|
|
405
405
|
/**
|
|
406
406
|
* @generated from enum value: FOLDER_ROLE_UNSPECIFIED = 0;
|
|
407
407
|
*/
|
|
@@ -422,7 +422,7 @@ declare enum FolderRole {
|
|
|
422
422
|
/**
|
|
423
423
|
* @generated from enum tailor.v1.TeamRole
|
|
424
424
|
*/
|
|
425
|
-
declare enum TeamRole {
|
|
425
|
+
export declare enum TeamRole {
|
|
426
426
|
/**
|
|
427
427
|
* @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
|
|
428
428
|
*/
|
|
@@ -443,7 +443,7 @@ declare enum TeamRole {
|
|
|
443
443
|
/**
|
|
444
444
|
* @generated from enum tailor.v1.WorkspacePlatformUserRole
|
|
445
445
|
*/
|
|
446
|
-
declare enum WorkspacePlatformUserRole {
|
|
446
|
+
export declare enum WorkspacePlatformUserRole {
|
|
447
447
|
/**
|
|
448
448
|
* @generated from enum value: WORKSPACE_PLATFORM_USER_ROLE_UNSPECIFIED = 0;
|
|
449
449
|
*/
|
|
@@ -464,7 +464,7 @@ declare enum WorkspacePlatformUserRole {
|
|
|
464
464
|
/**
|
|
465
465
|
* @generated from enum tailor.v1.PlatformAccountPlanType
|
|
466
466
|
*/
|
|
467
|
-
declare enum PlatformAccountPlanType {
|
|
467
|
+
export declare enum PlatformAccountPlanType {
|
|
468
468
|
/**
|
|
469
469
|
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_UNSPECIFIED = 0;
|
|
470
470
|
*/
|
|
@@ -478,5 +478,4 @@ declare enum PlatformAccountPlanType {
|
|
|
478
478
|
*/
|
|
479
479
|
BASIC = 2
|
|
480
480
|
}
|
|
481
|
-
//#endregion
|
|
482
|
-
export { Folder, FolderAccess, FolderAccess_MachineUser, FolderAccess_PlatformUser, FolderAccess_Team, FolderRole, Organization, OrganizationAccess, OrganizationAccess_MachineUser, OrganizationAccess_PlatformUser, OrganizationAccess_Team, OrganizationRole, PlatformAccountPlan, PlatformAccountPlanType, PlatformAccountPlan_PlatformAccountPlanTrial, Team, TeamMember, TeamMember_PlatformUser, TeamRole, Workspace, WorkspacePlatformUser, WorkspacePlatformUserRole, WorkspacePlatformUser_PlatformUser };
|
|
481
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/types/aigateway.generated.d.ts
|
|
2
|
-
type AIGateway = {
|
|
2
|
+
export type AIGateway = {
|
|
3
3
|
/** AI Gateway name */
|
|
4
4
|
name: string;
|
|
5
5
|
/** Auth namespace used to resolve request tokens against the workspace's auth. Defaults to the application's own auth service when omitted; omitting it without an Auth service configured is rejected. */
|
|
@@ -7,6 +7,5 @@ type AIGateway = {
|
|
|
7
7
|
/** Allowed CORS origins for browser-based clients. Each entry is `*`, `http(s)://*`, `http(s)://*.example.com`, or `http(s)://app.example.com`, optionally with `:port`. Empty list disables cross-origin access. */
|
|
8
8
|
cors?: string[] | undefined;
|
|
9
9
|
};
|
|
10
|
-
type AIGatewayInput = AIGateway;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { AIGateway, AIGatewayInput };
|
|
10
|
+
export type AIGatewayInput = AIGateway;
|
|
11
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/types/auth-connection.generated.d.ts
|
|
2
|
-
type AuthConnectionOAuth2Config = {
|
|
2
|
+
export type AuthConnectionOAuth2Config = {
|
|
3
3
|
/** OAuth2 provider URL */
|
|
4
4
|
providerUrl: string;
|
|
5
5
|
/** OAuth2 issuer URL */
|
|
@@ -13,7 +13,7 @@ type AuthConnectionOAuth2Config = {
|
|
|
13
13
|
/** OAuth2 token endpoint override */
|
|
14
14
|
tokenUrl?: string | undefined;
|
|
15
15
|
};
|
|
16
|
-
type AuthConnectionConfig = {
|
|
16
|
+
export type AuthConnectionConfig = {
|
|
17
17
|
/** OAuth2 provider URL */
|
|
18
18
|
providerUrl: string;
|
|
19
19
|
/** OAuth2 issuer URL */
|
|
@@ -29,5 +29,4 @@ type AuthConnectionConfig = {
|
|
|
29
29
|
/** OAuth2 token endpoint override */
|
|
30
30
|
tokenUrl?: string | undefined;
|
|
31
31
|
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { AuthConnectionConfig, AuthConnectionOAuth2Config };
|
|
32
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/types/auth.generated.d.ts
|
|
2
|
-
type OIDC = {
|
|
2
|
+
export type OIDC = {
|
|
3
3
|
/** Identity provider name */
|
|
4
4
|
name: string;
|
|
5
5
|
kind: "OIDC";
|
|
@@ -19,7 +19,7 @@ type OIDC = {
|
|
|
19
19
|
/** JWT claim to use as username */
|
|
20
20
|
usernameClaim?: string | undefined;
|
|
21
21
|
};
|
|
22
|
-
type SAML = {
|
|
22
|
+
export type SAML = {
|
|
23
23
|
/** Identity provider name */
|
|
24
24
|
name: string;
|
|
25
25
|
kind: "SAML";
|
|
@@ -32,7 +32,7 @@ type SAML = {
|
|
|
32
32
|
/** URL to redirect to when SAML ACS receives a response with an empty RelayState. */
|
|
33
33
|
defaultRedirectURL?: string | undefined;
|
|
34
34
|
};
|
|
35
|
-
type IDToken = {
|
|
35
|
+
export type IDToken = {
|
|
36
36
|
/** Identity provider name */
|
|
37
37
|
name: string;
|
|
38
38
|
kind: "IDToken";
|
|
@@ -45,7 +45,7 @@ type IDToken = {
|
|
|
45
45
|
/** JWT claim to use as username */
|
|
46
46
|
usernameClaim?: string | undefined;
|
|
47
47
|
};
|
|
48
|
-
type BuiltinIdP = {
|
|
48
|
+
export type BuiltinIdP = {
|
|
49
49
|
/** Identity provider name */
|
|
50
50
|
name: string;
|
|
51
51
|
kind: "BuiltInIdP";
|
|
@@ -54,8 +54,8 @@ type BuiltinIdP = {
|
|
|
54
54
|
/** OAuth2 client name in the IdP */
|
|
55
55
|
clientName: string;
|
|
56
56
|
};
|
|
57
|
-
type IdProvider = OIDC | SAML | IDToken | BuiltinIdP;
|
|
58
|
-
type OAuth2ClientInput = {
|
|
57
|
+
export type IdProvider = OIDC | SAML | IDToken | BuiltinIdP;
|
|
58
|
+
export type OAuth2ClientInput = {
|
|
59
59
|
/** Allowed redirect URIs */
|
|
60
60
|
redirectURIs: (`https://${string}` | `http://${string}` | `${string}:url` | `${string}:url/${string}`)[];
|
|
61
61
|
/** Client description */
|
|
@@ -71,7 +71,7 @@ type OAuth2ClientInput = {
|
|
|
71
71
|
/** Require DPoP (Demonstrating Proof-of-Possession) for token requests */
|
|
72
72
|
requireDpop?: boolean | undefined;
|
|
73
73
|
};
|
|
74
|
-
type OAuth2Client = {
|
|
74
|
+
export type OAuth2Client = {
|
|
75
75
|
/** Allowed OAuth2 grant types */
|
|
76
76
|
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
77
77
|
/** Allowed redirect URIs */
|
|
@@ -93,7 +93,7 @@ type OAuth2Client = {
|
|
|
93
93
|
/** Require DPoP (Demonstrating Proof-of-Possession) for token requests */
|
|
94
94
|
requireDpop?: boolean | undefined;
|
|
95
95
|
};
|
|
96
|
-
type SCIMAuthorization = {
|
|
96
|
+
export type SCIMAuthorization = {
|
|
97
97
|
/** SCIM authorization type */
|
|
98
98
|
type: "oauth2" | "bearer";
|
|
99
99
|
/** Bearer token secret (required for bearer type) */
|
|
@@ -107,8 +107,8 @@ type SCIMAuthorization = {
|
|
|
107
107
|
/**
|
|
108
108
|
* SCIM attribute data type
|
|
109
109
|
*/
|
|
110
|
-
type SCIMAttributeType = "string" | "number" | "boolean" | "datetime" | "complex";
|
|
111
|
-
type SCIMAttribute = {
|
|
110
|
+
export type SCIMAttributeType = "string" | "number" | "boolean" | "datetime" | "complex";
|
|
111
|
+
export type SCIMAttribute = {
|
|
112
112
|
/** Attribute data type */
|
|
113
113
|
type: SCIMAttributeType;
|
|
114
114
|
/** Attribute name */
|
|
@@ -127,13 +127,13 @@ type SCIMAttribute = {
|
|
|
127
127
|
canonicalValues?: string[] | null | undefined;
|
|
128
128
|
subAttributes?: SCIMAttribute[] | null | undefined;
|
|
129
129
|
};
|
|
130
|
-
type SCIMAttributeMapping = {
|
|
130
|
+
export type SCIMAttributeMapping = {
|
|
131
131
|
/** TailorDB field name to map to */
|
|
132
132
|
tailorDBField: string;
|
|
133
133
|
/** SCIM attribute path */
|
|
134
134
|
scimPath: string;
|
|
135
135
|
};
|
|
136
|
-
type SCIMResource = {
|
|
136
|
+
export type SCIMResource = {
|
|
137
137
|
/** SCIM resource name */
|
|
138
138
|
name: string;
|
|
139
139
|
/** TailorDB namespace for the resource */
|
|
@@ -168,7 +168,7 @@ type SCIMResource = {
|
|
|
168
168
|
/** Attribute mapping configuration */
|
|
169
169
|
attributeMapping: SCIMAttributeMapping[];
|
|
170
170
|
};
|
|
171
|
-
type SCIMConfig = {
|
|
171
|
+
export type SCIMConfig = {
|
|
172
172
|
/** Machine user name for SCIM operations */
|
|
173
173
|
machineUserName: string;
|
|
174
174
|
/** SCIM authorization configuration */
|
|
@@ -176,7 +176,7 @@ type SCIMConfig = {
|
|
|
176
176
|
/** SCIM resource definitions */
|
|
177
177
|
resources: SCIMResource[];
|
|
178
178
|
};
|
|
179
|
-
type TenantProvider = {
|
|
179
|
+
export type TenantProvider = {
|
|
180
180
|
/** TailorDB namespace for the tenant table */
|
|
181
181
|
namespace: string;
|
|
182
182
|
/** TailorDB table name for tenants */
|
|
@@ -184,5 +184,4 @@ type TenantProvider = {
|
|
|
184
184
|
/** Field used as the tenant signature */
|
|
185
185
|
signatureField: string;
|
|
186
186
|
};
|
|
187
|
-
//#endregion
|
|
188
|
-
export { BuiltinIdP, IDToken, IdProvider, OAuth2Client, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider };
|
|
187
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/types/executor.generated.d.ts
|
|
2
|
-
type TailorDBTrigger = {
|
|
2
|
+
export type TailorDBTrigger = {
|
|
3
3
|
/** TailorDB record event trigger */
|
|
4
4
|
kind: "tailordb";
|
|
5
5
|
/** TailorDB event types to trigger on */
|
|
@@ -9,39 +9,39 @@ type TailorDBTrigger = {
|
|
|
9
9
|
/** Condition function to filter events */
|
|
10
10
|
condition?: Function | undefined;
|
|
11
11
|
};
|
|
12
|
-
type ResolverExecutedTrigger = {
|
|
12
|
+
export type ResolverExecutedTrigger = {
|
|
13
13
|
kind: "resolverExecuted";
|
|
14
14
|
/** Name of the resolver to trigger on */
|
|
15
15
|
resolverName: string;
|
|
16
16
|
/** Condition function to filter events */
|
|
17
17
|
condition?: Function | undefined;
|
|
18
18
|
};
|
|
19
|
-
type ScheduleTriggerInput = {
|
|
19
|
+
export type ScheduleTriggerInput = {
|
|
20
20
|
kind: "schedule";
|
|
21
21
|
/** CRON expression for the schedule */
|
|
22
22
|
cron: string;
|
|
23
23
|
/** Timezone for the CRON schedule (default: UTC) */
|
|
24
24
|
timezone?: string | undefined;
|
|
25
25
|
};
|
|
26
|
-
type ScheduleTrigger = {
|
|
26
|
+
export type ScheduleTrigger = {
|
|
27
27
|
kind: "schedule";
|
|
28
28
|
/** CRON expression for the schedule */
|
|
29
29
|
cron: string;
|
|
30
30
|
/** Timezone for the CRON schedule (default: UTC) */
|
|
31
31
|
timezone: string;
|
|
32
32
|
};
|
|
33
|
-
type IncomingWebhookTriggerResponse = {
|
|
33
|
+
export type IncomingWebhookTriggerResponse = {
|
|
34
34
|
/** Function returning the response body */
|
|
35
35
|
body?: Function | undefined;
|
|
36
36
|
/** HTTP status code for the response */
|
|
37
37
|
statusCode?: number | undefined;
|
|
38
38
|
};
|
|
39
|
-
type IncomingWebhookTrigger = {
|
|
39
|
+
export type IncomingWebhookTrigger = {
|
|
40
40
|
kind: "incomingWebhook";
|
|
41
41
|
/** Response configuration */
|
|
42
42
|
response?: IncomingWebhookTriggerResponse;
|
|
43
43
|
};
|
|
44
|
-
type IdpUserTrigger = {
|
|
44
|
+
export type IdpUserTrigger = {
|
|
45
45
|
/** IdP user event trigger */
|
|
46
46
|
kind: "idpUser";
|
|
47
47
|
/** IdP user event types to trigger on */
|
|
@@ -49,13 +49,13 @@ type IdpUserTrigger = {
|
|
|
49
49
|
/** IdP namespace name to subscribe to. If omitted, the project's only IdP is used; throws when multiple IdPs exist. */
|
|
50
50
|
idp?: string | undefined;
|
|
51
51
|
};
|
|
52
|
-
type AuthAccessTokenTrigger = {
|
|
52
|
+
export type AuthAccessTokenTrigger = {
|
|
53
53
|
/** Auth access token event trigger */
|
|
54
54
|
kind: "authAccessToken";
|
|
55
55
|
/** Auth access token event types to trigger on */
|
|
56
56
|
events: ("auth.access_token.issued" | "auth.access_token.refreshed" | "auth.access_token.revoked")[];
|
|
57
57
|
};
|
|
58
|
-
type WorkflowExecutionTrigger = {
|
|
58
|
+
export type WorkflowExecutionTrigger = {
|
|
59
59
|
/** Workflow execution event trigger */
|
|
60
60
|
kind: "workflowExecution";
|
|
61
61
|
/** Workflow execution event types to trigger on */
|
|
@@ -65,7 +65,7 @@ type WorkflowExecutionTrigger = {
|
|
|
65
65
|
/** Condition function to filter events */
|
|
66
66
|
condition?: Function | undefined;
|
|
67
67
|
};
|
|
68
|
-
type WorkflowJobExecutionTrigger = {
|
|
68
|
+
export type WorkflowJobExecutionTrigger = {
|
|
69
69
|
/** Workflow job execution event trigger */
|
|
70
70
|
kind: "workflowJobExecution";
|
|
71
71
|
/** Workflow job execution event types to trigger on */
|
|
@@ -75,9 +75,9 @@ type WorkflowJobExecutionTrigger = {
|
|
|
75
75
|
/** Condition function to filter events */
|
|
76
76
|
condition?: Function | undefined;
|
|
77
77
|
};
|
|
78
|
-
type TriggerInput = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTriggerInput | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
79
|
-
type Trigger = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTrigger | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
80
|
-
type FunctionOperation = {
|
|
78
|
+
export type TriggerInput = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTriggerInput | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
79
|
+
export type Trigger = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTrigger | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
80
|
+
export type FunctionOperation = {
|
|
81
81
|
kind: "function" | "jobFunction";
|
|
82
82
|
/** Function implementation */
|
|
83
83
|
body: Function;
|
|
@@ -89,7 +89,7 @@ type FunctionOperation = {
|
|
|
89
89
|
machineUserName: string;
|
|
90
90
|
} | undefined;
|
|
91
91
|
};
|
|
92
|
-
type GqlOperationInput = {
|
|
92
|
+
export type GqlOperationInput = {
|
|
93
93
|
kind: "graphql";
|
|
94
94
|
query: unknown;
|
|
95
95
|
/** Target application name for the GraphQL query */
|
|
@@ -104,7 +104,7 @@ type GqlOperationInput = {
|
|
|
104
104
|
machineUserName: string;
|
|
105
105
|
} | undefined;
|
|
106
106
|
};
|
|
107
|
-
type GqlOperation = {
|
|
107
|
+
export type GqlOperation = {
|
|
108
108
|
kind: "graphql";
|
|
109
109
|
query: string;
|
|
110
110
|
/** Target application name for the GraphQL query */
|
|
@@ -119,7 +119,7 @@ type GqlOperation = {
|
|
|
119
119
|
machineUserName: string;
|
|
120
120
|
} | undefined;
|
|
121
121
|
};
|
|
122
|
-
type WebhookOperation = {
|
|
122
|
+
export type WebhookOperation = {
|
|
123
123
|
kind: "webhook";
|
|
124
124
|
/** Function returning the webhook URL */
|
|
125
125
|
url: Function;
|
|
@@ -133,17 +133,17 @@ type WebhookOperation = {
|
|
|
133
133
|
};
|
|
134
134
|
} | undefined;
|
|
135
135
|
};
|
|
136
|
-
type JsonValue = string | number | boolean | JsonValue[] | {
|
|
136
|
+
export type JsonValue = string | number | boolean | JsonValue[] | {
|
|
137
137
|
[key: string]: JsonValue;
|
|
138
138
|
} | null;
|
|
139
|
-
type WorkflowInput = string | number | boolean | JsonValue[] | {
|
|
139
|
+
export type WorkflowInput = string | number | boolean | JsonValue[] | {
|
|
140
140
|
[key: string]: JsonValue;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
143
|
* Arguments to pass to the workflow
|
|
144
144
|
*/
|
|
145
|
-
type WorkflowOperationArgs = WorkflowInput | Function;
|
|
146
|
-
type WorkflowOperationInput = {
|
|
145
|
+
export type WorkflowOperationArgs = WorkflowInput | Function;
|
|
146
|
+
export type WorkflowOperationInput = {
|
|
147
147
|
workflow: {
|
|
148
148
|
[x: string]: unknown;
|
|
149
149
|
name: string;
|
|
@@ -173,7 +173,7 @@ type WorkflowOperationInput = {
|
|
|
173
173
|
machineUserName: string;
|
|
174
174
|
} | undefined;
|
|
175
175
|
};
|
|
176
|
-
type WorkflowOperation = {
|
|
176
|
+
export type WorkflowOperation = {
|
|
177
177
|
/** Name of the workflow to execute */
|
|
178
178
|
workflowName: string;
|
|
179
179
|
kind: "workflow";
|
|
@@ -199,9 +199,9 @@ type WorkflowOperation = {
|
|
|
199
199
|
machineUserName: string;
|
|
200
200
|
} | undefined;
|
|
201
201
|
};
|
|
202
|
-
type OperationInput = FunctionOperation | GqlOperationInput | WebhookOperation | WorkflowOperationInput;
|
|
203
|
-
type Operation = FunctionOperation | GqlOperation | WebhookOperation | WorkflowOperation;
|
|
204
|
-
type ExecutorInput = {
|
|
202
|
+
export type OperationInput = FunctionOperation | GqlOperationInput | WebhookOperation | WorkflowOperationInput;
|
|
203
|
+
export type Operation = FunctionOperation | GqlOperation | WebhookOperation | WorkflowOperation;
|
|
204
|
+
export type ExecutorInput = {
|
|
205
205
|
/** Executor name */
|
|
206
206
|
name: string;
|
|
207
207
|
/** Event trigger configuration */
|
|
@@ -213,7 +213,7 @@ type ExecutorInput = {
|
|
|
213
213
|
/** Whether the executor is disabled */
|
|
214
214
|
disabled?: boolean | undefined;
|
|
215
215
|
};
|
|
216
|
-
type Executor = {
|
|
216
|
+
export type Executor = {
|
|
217
217
|
/** Executor name */
|
|
218
218
|
name: string;
|
|
219
219
|
/** Whether the executor is disabled */
|
|
@@ -225,5 +225,4 @@ type Executor = {
|
|
|
225
225
|
/** Executor description */
|
|
226
226
|
description?: string | undefined;
|
|
227
227
|
};
|
|
228
|
-
//#endregion
|
|
229
|
-
export { AuthAccessTokenTrigger, Executor, ExecutorInput, FunctionOperation, GqlOperation, GqlOperationInput, IdpUserTrigger, IncomingWebhookTrigger, IncomingWebhookTriggerResponse, JsonValue, Operation, OperationInput, ResolverExecutedTrigger, ScheduleTrigger, ScheduleTriggerInput, TailorDBTrigger, Trigger, TriggerInput, WebhookOperation, WorkflowExecutionTrigger, WorkflowInput, WorkflowJobExecutionTrigger, WorkflowOperation, WorkflowOperationArgs, WorkflowOperationInput };
|
|
228
|
+
//#endregion
|
package/dist/types/helpers.d.mts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare namespace helpers_d_exports {
|
|
2
|
+
export { DeepReadonly, DeepWritable, InferFieldsOutput, IsUnion, JsonCompatible, JsonValue, NullableToOptional, Prettify, TypeLevelError, UnionToIntersection, output };
|
|
3
|
+
}
|
|
4
|
+
export type Prettify<T> = { [K in keyof T as string extends K ? never : K]: T[K]; } & {};
|
|
5
|
+
export type TypeLevelError<Message extends string> = {
|
|
4
6
|
readonly $error: Message;
|
|
5
7
|
};
|
|
6
|
-
type UnionToIntersection<U> = (U extends unknown ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
7
|
-
type IsUnion<T, U extends T = T> = T extends unknown ? [U] extends [T] ? false : true : never;
|
|
8
|
-
type DeepWritable<T> = T extends Date | RegExp | Function ? T : T extends object ? { -readonly [P in keyof T]: DeepWritable<T[P]>; } & {} : T;
|
|
9
|
-
type DeepReadonly<T> = T extends Date | RegExp | Function ? T : T extends readonly (infer E)[] ? readonly DeepReadonly<E>[] : T extends object ? { readonly [K in keyof T]: DeepReadonly<T[K]>; } : T;
|
|
10
|
-
type output<T> = T extends {
|
|
8
|
+
export type UnionToIntersection<U> = (U extends unknown ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
9
|
+
export type IsUnion<T, U extends T = T> = T extends unknown ? [U] extends [T] ? false : true : never;
|
|
10
|
+
export type DeepWritable<T> = T extends Date | RegExp | Function ? T : T extends object ? { -readonly [P in keyof T]: DeepWritable<T[P]>; } & {} : T;
|
|
11
|
+
export type DeepReadonly<T> = T extends Date | RegExp | Function ? T : T extends readonly (infer E)[] ? readonly DeepReadonly<E>[] : T extends object ? { readonly [K in keyof T]: DeepReadonly<T[K]>; } : T;
|
|
12
|
+
export type output<T> = T extends {
|
|
11
13
|
_output: infer U;
|
|
12
14
|
} ? DeepWritable<U> : never;
|
|
13
|
-
type NullableToOptional<T> = { [K in keyof T as null extends T[K] ? never : K]: T[K]; } & { [K in keyof T as null extends T[K] ? K : never]?: T[K]; };
|
|
14
|
-
type InferFieldsOutput<F extends Record<string, {
|
|
15
|
+
export type NullableToOptional<T> = { [K in keyof T as null extends T[K] ? never : K]: T[K]; } & { [K in keyof T as null extends T[K] ? K : never]?: T[K]; };
|
|
16
|
+
export type InferFieldsOutput<F extends Record<string, {
|
|
15
17
|
_output: any;
|
|
16
18
|
[key: string]: any;
|
|
17
19
|
}>> = DeepWritable<Prettify<NullableToOptional<{ [K in keyof F]: output<F[K]>; }>>>;
|
|
18
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
20
|
+
export type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
19
21
|
[key: string]: JsonValue;
|
|
20
22
|
};
|
|
21
23
|
/**
|
|
@@ -35,8 +37,8 @@ type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
|
35
37
|
* indistinguishable from plain objects and cannot be rejected here. The
|
|
36
38
|
* platform performs the authoritative check at runtime.
|
|
37
39
|
*/
|
|
38
|
-
type JsonCompatible<T> = T extends string | number | boolean | null | undefined ? T : T extends readonly (infer U)[] ? JsonCompatible<U>[] : T extends Function ? never : T extends object ? T extends {
|
|
40
|
+
export type JsonCompatible<T> = T extends string | number | boolean | null | undefined ? T : T extends readonly (infer U)[] ? JsonCompatible<U>[] : T extends Function ? never : T extends object ? T extends {
|
|
39
41
|
toJSON: () => unknown;
|
|
40
42
|
} ? never : { [K in keyof T]: JsonCompatible<T[K]>; } : never;
|
|
41
43
|
//#endregion
|
|
42
|
-
export {
|
|
44
|
+
export { helpers_d_exports };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/types/http-adapter.generated.d.ts
|
|
2
|
-
type HttpAdapterConfigInput = {
|
|
2
|
+
export type HttpAdapterConfigInput = {
|
|
3
3
|
/** Unique adapter name within the domain */
|
|
4
4
|
name: string;
|
|
5
5
|
/** Path pattern with segment wildcards (trailing or single-segment) */
|
|
@@ -24,5 +24,4 @@ type HttpAdapterConfigInput = {
|
|
|
24
24
|
/** Function that transforms GraphQL response to HTTP response */
|
|
25
25
|
output?: Function | undefined;
|
|
26
26
|
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { HttpAdapterConfigInput };
|
|
27
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Configuration for GraphQL operations on IdP users.
|
|
4
4
|
* All operations are enabled by default (undefined or true = enabled, false = disabled).
|
|
5
5
|
*/
|
|
6
|
-
type IdPGqlOperationsInput = "query" | {
|
|
6
|
+
export type IdPGqlOperationsInput = "query" | {
|
|
7
7
|
create?: boolean | undefined;
|
|
8
8
|
update?: boolean | undefined;
|
|
9
9
|
delete?: boolean | undefined;
|
|
@@ -12,7 +12,7 @@ type IdPGqlOperationsInput = "query" | {
|
|
|
12
12
|
requestMfaSettingsUrl?: boolean | undefined;
|
|
13
13
|
unenrollMfa?: boolean | undefined;
|
|
14
14
|
};
|
|
15
|
-
type IdPGqlOperations = {
|
|
15
|
+
export type IdPGqlOperations = {
|
|
16
16
|
/** Enable _createUser mutation (default: true) */
|
|
17
17
|
create?: boolean | undefined;
|
|
18
18
|
/** Enable _updateUser mutation (default: true) */
|
|
@@ -31,7 +31,7 @@ type IdPGqlOperations = {
|
|
|
31
31
|
/**
|
|
32
32
|
* Namespace-level email configuration defaults
|
|
33
33
|
*/
|
|
34
|
-
type IdPEmailConfig = {
|
|
34
|
+
export type IdPEmailConfig = {
|
|
35
35
|
/** Default sender display name for emails */
|
|
36
36
|
fromName?: string | undefined;
|
|
37
37
|
/** Default subject for password reset emails */
|
|
@@ -40,7 +40,7 @@ type IdPEmailConfig = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Per-operation permission policies for IdP users
|
|
42
42
|
*/
|
|
43
|
-
type IdPPermission = {
|
|
43
|
+
export type IdPPermission = {
|
|
44
44
|
create: readonly (readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
45
45
|
user: string;
|
|
46
46
|
} | {
|
|
@@ -552,7 +552,7 @@ type IdPPermission = {
|
|
|
552
552
|
permit?: boolean | undefined;
|
|
553
553
|
})[] | undefined;
|
|
554
554
|
};
|
|
555
|
-
type IdPInput = {
|
|
555
|
+
export type IdPInput = {
|
|
556
556
|
/** IdP service name */
|
|
557
557
|
name: string;
|
|
558
558
|
/** OAuth2 client names that can use this IdP */
|
|
@@ -581,7 +581,7 @@ type IdPInput = {
|
|
|
581
581
|
passwordMinLength?: number | undefined;
|
|
582
582
|
/** Maximum password length (6-4096) */
|
|
583
583
|
passwordMaxLength?: number | undefined;
|
|
584
|
-
/** Restrict registration to these email domains */
|
|
584
|
+
/** Restrict registration to these email domains. A lone * entry allows every domain */
|
|
585
585
|
allowedEmailDomains?: string[] | undefined;
|
|
586
586
|
/** Enable Google OAuth login */
|
|
587
587
|
allowGoogleOauth?: boolean | undefined;
|
|
@@ -622,5 +622,4 @@ type IdPInput = {
|
|
|
622
622
|
/** Per-operation permission policies for IdP users */
|
|
623
623
|
permission?: IdPPermission;
|
|
624
624
|
};
|
|
625
|
-
//#endregion
|
|
626
|
-
export { IdPEmailConfig, IdPGqlOperations, IdPGqlOperationsInput, IdPInput, IdPPermission };
|
|
625
|
+
//#endregion
|