@tailor-platform/sdk 1.25.4 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{application-DegTCDd8.mjs → application-CxH6Yp54.mjs} +1 -1
  3. package/dist/{application-91Th6tm6.mjs → application-D9xahQRQ.mjs} +2066 -1968
  4. package/dist/application-D9xahQRQ.mjs.map +1 -0
  5. package/dist/cli/index.mjs +152 -3
  6. package/dist/cli/index.mjs.map +1 -1
  7. package/dist/cli/lib.d.mts +350 -8
  8. package/dist/cli/lib.mjs +2 -2
  9. package/dist/configure/index.d.mts +5 -5
  10. package/dist/configure/index.mjs.map +1 -1
  11. package/dist/{env-uBeVwE9B.d.mts → env-CSsVESbH.d.mts} +2 -2
  12. package/dist/{index-Bu12qy3m.d.mts → index-BJg0DTbR.d.mts} +4 -4
  13. package/dist/{index-CT53egux.d.mts → index-BKy-OC5C.d.mts} +2 -2
  14. package/dist/{index-cZilKprY.d.mts → index-BtYPY8ya.d.mts} +2 -2
  15. package/dist/{index-BD-K97-C.d.mts → index-DgRShBpu.d.mts} +2 -2
  16. package/dist/{index-D1J5SfyK.d.mts → index-DkJbItB-.d.mts} +2 -2
  17. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  18. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  19. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  20. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  21. package/dist/plugin/index.d.mts +2 -2
  22. package/dist/{plugin-zY5wvV82.d.mts → plugin-B1hNwcCC.d.mts} +15 -3
  23. package/dist/{query-kb_4EQp4.mjs → query-B8ml6ClT.mjs} +454 -358
  24. package/dist/query-B8ml6ClT.mjs.map +1 -0
  25. package/dist/utils/test/index.d.mts +2 -2
  26. package/dist/{workflow.generated-v1LXRuB6.d.mts → workflow.generated-Bm4b8hEk.d.mts} +2 -2
  27. package/docs/cli/setup.md +82 -0
  28. package/docs/cli-reference.md +8 -0
  29. package/docs/services/auth.md +33 -0
  30. package/package.json +4 -4
  31. package/dist/application-91Th6tm6.mjs.map +0 -1
  32. package/dist/query-kb_4EQp4.mjs.map +0 -1
@@ -1,9 +1,9 @@
1
- import { C as TailorDBType, Mt as OAuth2ClientInput, St as IncomingWebhookTrigger, Tt as ScheduleTriggerInput, _t as Executor, jt as IdProvider, n as Plugin, pt as Resolver, r as PluginAttachment, w as TypeSourceInfoEntry } from "../plugin-zY5wvV82.mjs";
2
- import { n as AppConfig } from "../workflow.generated-v1LXRuB6.mjs";
3
- import { n as kyselyTypePlugin } from "../index-D1J5SfyK.mjs";
4
- import { n as enumConstantsPlugin } from "../index-cZilKprY.mjs";
5
- import { n as fileUtilsPlugin } from "../index-BD-K97-C.mjs";
6
- import { n as seedPlugin } from "../index-CT53egux.mjs";
1
+ import { C as TailorDBType, Ct as IncomingWebhookTrigger, Et as ScheduleTriggerInput, Mt as IdProvider, Nt as OAuth2ClientInput, mt as Resolver, n as Plugin, r as PluginAttachment, vt as Executor, w as TypeSourceInfoEntry } from "../plugin-B1hNwcCC.mjs";
2
+ import { n as AppConfig } from "../workflow.generated-Bm4b8hEk.mjs";
3
+ import { n as kyselyTypePlugin } from "../index-DkJbItB-.mjs";
4
+ import { n as enumConstantsPlugin } from "../index-BtYPY8ya.mjs";
5
+ import { n as fileUtilsPlugin } from "../index-DgRShBpu.mjs";
6
+ import { n as seedPlugin } from "../index-BKy-OC5C.mjs";
7
7
  import { z } from "zod";
8
8
  import { OAuth2Client } from "@badgateway/oauth2-client";
9
9
  import { Duration, FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
@@ -4909,6 +4909,23 @@ declare enum AuthSCIMAttribute_Uniqueness {
4909
4909
  */
4910
4910
  GLOBAL = 3
4911
4911
  }
4912
+ /**
4913
+ * @generated from message tailor.v1.AuthHook
4914
+ */
4915
+ declare type AuthHook = Message<"tailor.v1.AuthHook"> & {
4916
+ /**
4917
+ * @generated from field: tailor.v1.AuthHookPoint hook_point = 1;
4918
+ */
4919
+ hookPoint: AuthHookPoint;
4920
+ /**
4921
+ * @generated from field: string script_ref = 2;
4922
+ */
4923
+ scriptRef: string;
4924
+ /**
4925
+ * @generated from field: tailor.v1.AuthInvoker invoker = 4;
4926
+ */
4927
+ invoker?: AuthInvoker;
4928
+ };
4912
4929
  /**
4913
4930
  * @generated from message tailor.v1.AuthConnection
4914
4931
  */
@@ -5135,6 +5152,21 @@ declare enum PATScope {
5135
5152
  */
5136
5153
  PAT_SCOPE_WRITE = 2
5137
5154
  }
5155
+ /**
5156
+ * Auth Hook --------------------------------------------------------
5157
+ *
5158
+ * @generated from enum tailor.v1.AuthHookPoint
5159
+ */
5160
+ declare enum AuthHookPoint {
5161
+ /**
5162
+ * @generated from enum value: AUTH_HOOK_POINT_UNSPECIFIED = 0;
5163
+ */
5164
+ UNSPECIFIED = 0,
5165
+ /**
5166
+ * @generated from enum value: AUTH_HOOK_POINT_BEFORE_LOGIN = 1;
5167
+ */
5168
+ BEFORE_LOGIN = 1
5169
+ }
5138
5170
  //#endregion
5139
5171
  //#region ../tailor-proto/src/tailor/v1/pipeline_resource_pb.d.ts
5140
5172
  /**
@@ -6331,11 +6363,120 @@ declare type ExecutorTriggerScheduleConfig = Message<"tailor.v1.ExecutorTriggerS
6331
6363
  */
6332
6364
  declare type ExecutorTriggerEventConfig = Message<"tailor.v1.ExecutorTriggerEventConfig"> & {
6333
6365
  /**
6334
- * @generated from field: string event_type = 1;
6366
+ * @generated from field: string event_type = 1 [deprecated = true];
6367
+ * @deprecated
6335
6368
  */
6336
6369
  eventType: string;
6337
6370
  /**
6338
- * @generated from field: tailor.v1.Script condition = 2;
6371
+ * @generated from field: tailor.v1.Script condition = 2 [deprecated = true];
6372
+ * @deprecated
6373
+ */
6374
+ condition?: Script;
6375
+ /**
6376
+ * @generated from oneof tailor.v1.ExecutorTriggerEventConfig.typed_config
6377
+ */
6378
+ typedConfig: {
6379
+ /**
6380
+ * @generated from field: tailor.v1.ExecutorTailorDBEventConfig tailordb = 3;
6381
+ */
6382
+ value: ExecutorTailorDBEventConfig;
6383
+ case: "tailordb";
6384
+ } | {
6385
+ /**
6386
+ * @generated from field: tailor.v1.ExecutorIdPEventConfig idp = 4;
6387
+ */
6388
+ value: ExecutorIdPEventConfig;
6389
+ case: "idp";
6390
+ } | {
6391
+ /**
6392
+ * @generated from field: tailor.v1.ExecutorAuthEventConfig auth = 5;
6393
+ */
6394
+ value: ExecutorAuthEventConfig;
6395
+ case: "auth";
6396
+ } | {
6397
+ /**
6398
+ * @generated from field: tailor.v1.ExecutorPipelineEventConfig pipeline = 6;
6399
+ */
6400
+ value: ExecutorPipelineEventConfig;
6401
+ case: "pipeline";
6402
+ } | {
6403
+ case: undefined;
6404
+ value?: undefined;
6405
+ };
6406
+ };
6407
+ /**
6408
+ * @generated from message tailor.v1.ExecutorTailorDBEventConfig
6409
+ */
6410
+ declare type ExecutorTailorDBEventConfig = Message<"tailor.v1.ExecutorTailorDBEventConfig"> & {
6411
+ /**
6412
+ * @generated from field: repeated string event_types = 1;
6413
+ */
6414
+ eventTypes: string[];
6415
+ /**
6416
+ * @generated from field: string namespace_name = 2;
6417
+ */
6418
+ namespaceName: string;
6419
+ /**
6420
+ * @generated from field: string type_name = 3;
6421
+ */
6422
+ typeName: string;
6423
+ /**
6424
+ * @generated from field: tailor.v1.Script condition = 4;
6425
+ */
6426
+ condition?: Script;
6427
+ };
6428
+ /**
6429
+ * @generated from message tailor.v1.ExecutorIdPEventConfig
6430
+ */
6431
+ declare type ExecutorIdPEventConfig = Message<"tailor.v1.ExecutorIdPEventConfig"> & {
6432
+ /**
6433
+ * @generated from field: repeated string event_types = 1;
6434
+ */
6435
+ eventTypes: string[];
6436
+ /**
6437
+ * @generated from field: string namespace_name = 2;
6438
+ */
6439
+ namespaceName: string;
6440
+ /**
6441
+ * @generated from field: tailor.v1.Script condition = 3;
6442
+ */
6443
+ condition?: Script;
6444
+ };
6445
+ /**
6446
+ * @generated from message tailor.v1.ExecutorAuthEventConfig
6447
+ */
6448
+ declare type ExecutorAuthEventConfig = Message<"tailor.v1.ExecutorAuthEventConfig"> & {
6449
+ /**
6450
+ * @generated from field: repeated string event_types = 1;
6451
+ */
6452
+ eventTypes: string[];
6453
+ /**
6454
+ * @generated from field: string namespace_name = 2;
6455
+ */
6456
+ namespaceName: string;
6457
+ /**
6458
+ * @generated from field: tailor.v1.Script condition = 3;
6459
+ */
6460
+ condition?: Script;
6461
+ };
6462
+ /**
6463
+ * @generated from message tailor.v1.ExecutorPipelineEventConfig
6464
+ */
6465
+ declare type ExecutorPipelineEventConfig = Message<"tailor.v1.ExecutorPipelineEventConfig"> & {
6466
+ /**
6467
+ * @generated from field: repeated string event_types = 1;
6468
+ */
6469
+ eventTypes: string[];
6470
+ /**
6471
+ * @generated from field: string namespace_name = 2;
6472
+ */
6473
+ namespaceName: string;
6474
+ /**
6475
+ * @generated from field: string resolver_name = 3;
6476
+ */
6477
+ resolverName: string;
6478
+ /**
6479
+ * @generated from field: tailor.v1.Script condition = 4;
6339
6480
  */
6340
6481
  condition?: Script;
6341
6482
  };
@@ -8701,6 +8842,147 @@ declare type GetAuthSCIMResourcesResponse = Message<"tailor.v1.GetAuthSCIMResour
8701
8842
  * Use `create(GetAuthSCIMResourcesResponseSchema)` to create a new message.
8702
8843
  */
8703
8844
  declare const GetAuthSCIMResourcesResponseSchema: GenMessage<GetAuthSCIMResourcesResponse>;
8845
+ /**
8846
+ * Auth Hook --------------------------------------------------------
8847
+ *
8848
+ * @generated from message tailor.v1.CreateAuthHookRequest
8849
+ */
8850
+ declare type CreateAuthHookRequest = Message<"tailor.v1.CreateAuthHookRequest"> & {
8851
+ /**
8852
+ * @generated from field: string workspace_id = 1;
8853
+ */
8854
+ workspaceId: string;
8855
+ /**
8856
+ * @generated from field: string namespace_name = 2;
8857
+ */
8858
+ namespaceName: string;
8859
+ /**
8860
+ * @generated from field: tailor.v1.AuthHook hook = 3;
8861
+ */
8862
+ hook?: AuthHook;
8863
+ };
8864
+ /**
8865
+ * Describes the message tailor.v1.CreateAuthHookRequest.
8866
+ * Use `create(CreateAuthHookRequestSchema)` to create a new message.
8867
+ */
8868
+ declare const CreateAuthHookRequestSchema: GenMessage<CreateAuthHookRequest>;
8869
+ /**
8870
+ * @generated from message tailor.v1.CreateAuthHookResponse
8871
+ */
8872
+ declare type CreateAuthHookResponse = Message<"tailor.v1.CreateAuthHookResponse"> & {
8873
+ /**
8874
+ * @generated from field: tailor.v1.AuthHook hook = 1;
8875
+ */
8876
+ hook?: AuthHook;
8877
+ };
8878
+ /**
8879
+ * Describes the message tailor.v1.CreateAuthHookResponse.
8880
+ * Use `create(CreateAuthHookResponseSchema)` to create a new message.
8881
+ */
8882
+ declare const CreateAuthHookResponseSchema: GenMessage<CreateAuthHookResponse>;
8883
+ /**
8884
+ * @generated from message tailor.v1.UpdateAuthHookRequest
8885
+ */
8886
+ declare type UpdateAuthHookRequest = Message<"tailor.v1.UpdateAuthHookRequest"> & {
8887
+ /**
8888
+ * @generated from field: string workspace_id = 1;
8889
+ */
8890
+ workspaceId: string;
8891
+ /**
8892
+ * @generated from field: string namespace_name = 2;
8893
+ */
8894
+ namespaceName: string;
8895
+ /**
8896
+ * @generated from field: tailor.v1.AuthHook hook = 3;
8897
+ */
8898
+ hook?: AuthHook;
8899
+ };
8900
+ /**
8901
+ * Describes the message tailor.v1.UpdateAuthHookRequest.
8902
+ * Use `create(UpdateAuthHookRequestSchema)` to create a new message.
8903
+ */
8904
+ declare const UpdateAuthHookRequestSchema: GenMessage<UpdateAuthHookRequest>;
8905
+ /**
8906
+ * @generated from message tailor.v1.UpdateAuthHookResponse
8907
+ */
8908
+ declare type UpdateAuthHookResponse = Message<"tailor.v1.UpdateAuthHookResponse"> & {
8909
+ /**
8910
+ * @generated from field: tailor.v1.AuthHook hook = 1;
8911
+ */
8912
+ hook?: AuthHook;
8913
+ };
8914
+ /**
8915
+ * Describes the message tailor.v1.UpdateAuthHookResponse.
8916
+ * Use `create(UpdateAuthHookResponseSchema)` to create a new message.
8917
+ */
8918
+ declare const UpdateAuthHookResponseSchema: GenMessage<UpdateAuthHookResponse>;
8919
+ /**
8920
+ * @generated from message tailor.v1.DeleteAuthHookRequest
8921
+ */
8922
+ declare type DeleteAuthHookRequest = Message<"tailor.v1.DeleteAuthHookRequest"> & {
8923
+ /**
8924
+ * @generated from field: string workspace_id = 1;
8925
+ */
8926
+ workspaceId: string;
8927
+ /**
8928
+ * @generated from field: string namespace_name = 2;
8929
+ */
8930
+ namespaceName: string;
8931
+ /**
8932
+ * @generated from field: tailor.v1.AuthHookPoint hook_point = 3;
8933
+ */
8934
+ hookPoint: AuthHookPoint;
8935
+ };
8936
+ /**
8937
+ * Describes the message tailor.v1.DeleteAuthHookRequest.
8938
+ * Use `create(DeleteAuthHookRequestSchema)` to create a new message.
8939
+ */
8940
+ declare const DeleteAuthHookRequestSchema: GenMessage<DeleteAuthHookRequest>;
8941
+ /**
8942
+ * @generated from message tailor.v1.DeleteAuthHookResponse
8943
+ */
8944
+ declare type DeleteAuthHookResponse = Message<"tailor.v1.DeleteAuthHookResponse"> & {};
8945
+ /**
8946
+ * Describes the message tailor.v1.DeleteAuthHookResponse.
8947
+ * Use `create(DeleteAuthHookResponseSchema)` to create a new message.
8948
+ */
8949
+ declare const DeleteAuthHookResponseSchema: GenMessage<DeleteAuthHookResponse>;
8950
+ /**
8951
+ * @generated from message tailor.v1.GetAuthHookRequest
8952
+ */
8953
+ declare type GetAuthHookRequest = Message<"tailor.v1.GetAuthHookRequest"> & {
8954
+ /**
8955
+ * @generated from field: string workspace_id = 1;
8956
+ */
8957
+ workspaceId: string;
8958
+ /**
8959
+ * @generated from field: string namespace_name = 2;
8960
+ */
8961
+ namespaceName: string;
8962
+ /**
8963
+ * @generated from field: tailor.v1.AuthHookPoint hook_point = 3;
8964
+ */
8965
+ hookPoint: AuthHookPoint;
8966
+ };
8967
+ /**
8968
+ * Describes the message tailor.v1.GetAuthHookRequest.
8969
+ * Use `create(GetAuthHookRequestSchema)` to create a new message.
8970
+ */
8971
+ declare const GetAuthHookRequestSchema: GenMessage<GetAuthHookRequest>;
8972
+ /**
8973
+ * @generated from message tailor.v1.GetAuthHookResponse
8974
+ */
8975
+ declare type GetAuthHookResponse = Message<"tailor.v1.GetAuthHookResponse"> & {
8976
+ /**
8977
+ * @generated from field: tailor.v1.AuthHook hook = 1;
8978
+ */
8979
+ hook?: AuthHook;
8980
+ };
8981
+ /**
8982
+ * Describes the message tailor.v1.GetAuthHookResponse.
8983
+ * Use `create(GetAuthHookResponseSchema)` to create a new message.
8984
+ */
8985
+ declare const GetAuthHookResponseSchema: GenMessage<GetAuthHookResponse>;
8704
8986
  /**
8705
8987
  * @generated from message tailor.v1.CreateAuthConnectionRequest
8706
8988
  */
@@ -14590,6 +14872,46 @@ declare const OperatorService: GenService<{
14590
14872
  input: typeof GetAuthSCIMResourcesRequestSchema;
14591
14873
  output: typeof GetAuthSCIMResourcesResponseSchema;
14592
14874
  };
14875
+ /**
14876
+ * CreateAuthHook creates a hook for the auth namespace.
14877
+ *
14878
+ * @generated from rpc tailor.v1.OperatorService.CreateAuthHook
14879
+ */
14880
+ createAuthHook: {
14881
+ methodKind: "unary";
14882
+ input: typeof CreateAuthHookRequestSchema;
14883
+ output: typeof CreateAuthHookResponseSchema;
14884
+ };
14885
+ /**
14886
+ * UpdateAuthHook updates a hook for the auth namespace.
14887
+ *
14888
+ * @generated from rpc tailor.v1.OperatorService.UpdateAuthHook
14889
+ */
14890
+ updateAuthHook: {
14891
+ methodKind: "unary";
14892
+ input: typeof UpdateAuthHookRequestSchema;
14893
+ output: typeof UpdateAuthHookResponseSchema;
14894
+ };
14895
+ /**
14896
+ * DeleteAuthHook deletes a hook for the auth namespace.
14897
+ *
14898
+ * @generated from rpc tailor.v1.OperatorService.DeleteAuthHook
14899
+ */
14900
+ deleteAuthHook: {
14901
+ methodKind: "unary";
14902
+ input: typeof DeleteAuthHookRequestSchema;
14903
+ output: typeof DeleteAuthHookResponseSchema;
14904
+ };
14905
+ /**
14906
+ * GetAuthHook gets a hook for the auth namespace.
14907
+ *
14908
+ * @generated from rpc tailor.v1.OperatorService.GetAuthHook
14909
+ */
14910
+ getAuthHook: {
14911
+ methodKind: "unary";
14912
+ input: typeof GetAuthHookRequestSchema;
14913
+ output: typeof GetAuthHookResponseSchema;
14914
+ };
14593
14915
  /**
14594
14916
  * CreateAuthConnection creates a new auth connection.
14595
14917
  *
@@ -16295,6 +16617,26 @@ declare function initOperatorClient(accessToken: string): Promise<Client<_bufbui
16295
16617
  input: typeof GetAuthSCIMResourcesRequestSchema;
16296
16618
  output: typeof GetAuthSCIMResourcesResponseSchema;
16297
16619
  };
16620
+ createAuthHook: {
16621
+ methodKind: "unary";
16622
+ input: typeof CreateAuthHookRequestSchema;
16623
+ output: typeof CreateAuthHookResponseSchema;
16624
+ };
16625
+ updateAuthHook: {
16626
+ methodKind: "unary";
16627
+ input: typeof UpdateAuthHookRequestSchema;
16628
+ output: typeof UpdateAuthHookResponseSchema;
16629
+ };
16630
+ deleteAuthHook: {
16631
+ methodKind: "unary";
16632
+ input: typeof DeleteAuthHookRequestSchema;
16633
+ output: typeof DeleteAuthHookResponseSchema;
16634
+ };
16635
+ getAuthHook: {
16636
+ methodKind: "unary";
16637
+ input: typeof GetAuthHookRequestSchema;
16638
+ output: typeof GetAuthHookResponseSchema;
16639
+ };
16298
16640
  createAuthConnection: {
16299
16641
  methodKind: "unary";
16300
16642
  input: typeof CreateAuthConnectionRequestSchema;
package/dist/cli/lib.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import "../chunk-Cz-A8uMR.mjs";
2
2
  import "../schema-BePzTFBV.mjs";
3
3
  import "../brand-GZnI4eYb.mjs";
4
- import { D as initOperatorClient, a as loadConfig, b as loadWorkspaceId, g as getDistDir, y as loadAccessToken } from "../application-91Th6tm6.mjs";
5
- import { $ as listExecutors, A as truncate, At as getLatestMigrationNumber, B as listOAuth2Clients, Bt as hasChanges, Ct as INITIAL_SCHEMA_NUMBER, D as resumeWorkflow, Dt as compareSnapshots, Et as compareLocalTypesWithSnapshot, F as show, Gt as apiCall, H as getOAuth2Client, J as listWebhookExecutors, K as listMachineUsers, L as remove, Lt as reconstructSnapshotFromMigrations, M as generate$1, Mt as getMigrationFilePath, Nt as getMigrationFiles, Ot as createSnapshotFromLocalTypes, Pt as getNextMigrationNumber, Rt as formatDiffSummary, S as listApps, St as DIFF_FILE_NAME, Tt as SCHEMA_FILE_NAME, U as getMachineUserToken, Vt as getNamespacesWithMigrations, Wt as generateUserTypes, Z as triggerExecutor, _ as getWorkspace, _t as waitForExecution, a as updateUser, at as startWorkflow, bt as bundleMigrationScript, d as inviteUser, et as getExecutorJob, gt as executeScript, h as listWorkspaces, ht as apply, jt as getMigrationDirPath, k as listWorkflows, l as listUsers, lt as getWorkflowExecution, mt as getExecutor, nt as listExecutorJobs, p as restoreWorkspace, q as generate, rt as watchExecutorJob, s as removeUser, st as getWorkflow, t as query, ut as listWorkflowExecutions, vt as MIGRATION_LABEL_KEY, w as getAppHealth, wt as MIGRATE_FILE_NAME, x as createWorkspace, xt as DB_TYPES_FILE_NAME, y as deleteWorkspace, zt as formatMigrationDiff } from "../query-kb_4EQp4.mjs";
4
+ import { D as initOperatorClient, a as loadConfig, b as loadWorkspaceId, g as getDistDir, y as loadAccessToken } from "../application-D9xahQRQ.mjs";
5
+ import { $ as listExecutors, A as truncate, At as getLatestMigrationNumber, B as listOAuth2Clients, Bt as hasChanges, Ct as INITIAL_SCHEMA_NUMBER, D as resumeWorkflow, Dt as compareSnapshots, Et as compareLocalTypesWithSnapshot, Gt as apiCall, H as getOAuth2Client, J as listWebhookExecutors, K as listMachineUsers, L as remove, Lt as reconstructSnapshotFromMigrations, M as generate$1, Mt as getMigrationFilePath, Nt as getMigrationFiles, Ot as createSnapshotFromLocalTypes, P as show, Pt as getNextMigrationNumber, Rt as formatDiffSummary, S as listApps, St as DIFF_FILE_NAME, Tt as SCHEMA_FILE_NAME, U as getMachineUserToken, Vt as getNamespacesWithMigrations, Wt as generateUserTypes, Z as triggerExecutor, _ as getWorkspace, _t as waitForExecution, a as updateUser, at as startWorkflow, bt as bundleMigrationScript, d as inviteUser, et as getExecutorJob, gt as executeScript, h as listWorkspaces, ht as apply, jt as getMigrationDirPath, k as listWorkflows, l as listUsers, lt as getWorkflowExecution, mt as getExecutor, nt as listExecutorJobs, p as restoreWorkspace, q as generate, rt as watchExecutorJob, s as removeUser, st as getWorkflow, t as query, ut as listWorkflowExecutions, vt as MIGRATION_LABEL_KEY, w as getAppHealth, wt as MIGRATE_FILE_NAME, x as createWorkspace, xt as DB_TYPES_FILE_NAME, y as deleteWorkspace, zt as formatMigrationDiff } from "../query-B8ml6ClT.mjs";
6
6
  import "../package-json-CVUv8Y9T.mjs";
7
7
  import { n as seedPlugin } from "../seed-CCVRLibh.mjs";
8
8
  import { n as enumConstantsPlugin } from "../enum-constants-6uK0VI_s.mjs";
@@ -1,5 +1,5 @@
1
- import { A as OAuth2ClientGrantType, At as IDToken, B as TailorDBInstance, Bt as TenantProvider, D as AuthOwnConfig, E as AuthExternalConfig, F as UsernameFieldKey, Ft as SCIMAttribute, G as TailorTypePermission, H as db, I as ValueOperand, It as SCIMAttributeMapping, K as unsafeAllowAllGqlPermission, L as TailorAnyDBField, Lt as SCIMAuthorization, M as UserAttributeKey, Mt as OAuth2ClientInput, N as UserAttributeListKey, Nt as OIDC, O as AuthServiceInput, P as UserAttributeMap, Pt as SAML, R as TailorAnyDBType, Rt as SCIMConfig, T as AuthConfig, U as PermissionCondition, V as TailorDBType, W as TailorTypeGqlPermission, _ as GeneratorResult, a as PluginExecutorContext, at as AttributeList, b as TailorDBNamespaceData, c as PluginGeneratedExecutorWithFile, d as PluginNamespaceProcessContext, f as PluginOutput, g as ExecutorReadyContext, h as TypePluginOutput, i as PluginConfigs, j as SCIMAttributeType, jt as IdProvider, k as DefinedAuth, kt as BuiltinIdP, l as PluginGeneratedResolver, lt as TailorUser, m as TailorDBTypeForPlugin, n as Plugin, o as PluginExecutorContextBase, ot as AttributeMap, p as PluginProcessContext, pt as Resolver, q as unsafeAllowAllTypePermission, r as PluginAttachment, s as PluginGeneratedExecutor, t as NamespacePluginOutput, tt as TailorField, u as PluginGeneratedType, ut as unauthenticatedTailorUser, v as ResolverNamespaceData, x as TailorDBReadyContext, y as ResolverReadyContext, z as TailorDBField, zt as SCIMResource } from "../plugin-zY5wvV82.mjs";
2
- import { t as Env } from "../env-uBeVwE9B.mjs";
3
- import { _ as IdPGqlOperations, a as ResolverExternalConfig, c as WorkflowServiceConfig, d as defineStaticWebSite, f as SecretsConfig, h as IdPExternalConfig, i as ExecutorServiceInput, l as WorkflowServiceInput, m as IdPConfig, o as ResolverServiceConfig, p as defineSecretManager, r as ExecutorServiceConfig, s as ResolverServiceInput, t as RetryPolicy, u as StaticWebsiteConfig, v as IdPGqlOperationsInput } from "../workflow.generated-v1LXRuB6.mjs";
4
- import { $ as AuthInvoker, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as createResolver, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as QueryType, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, et as defineAuth, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as __Infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-Bu12qy3m.mjs";
5
- export { AttributeList, AttributeMap, AuthAccessTokenArgs, AuthAccessTokenTrigger, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BuiltinIdP, DefinedAuth, Env, ExecutorReadyContext, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GeneratorResult, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdPGqlOperations, IdPGqlOperationsInput as IdPGqlOperationsConfig, IdProvider as IdProviderConfig, IdpUserArgs, IdpUserTrigger, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, NamespacePluginOutput, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, Plugin, PluginAttachment, PluginConfigs, PluginExecutorContext, PluginExecutorContextBase, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedType, PluginNamespaceProcessContext, PluginOutput, PluginProcessContext, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverExternalConfig, ResolverNamespaceData, ResolverReadyContext, ResolverServiceConfig, ResolverServiceInput, RetryPolicy, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleArgs, ScheduleTrigger, SecretsConfig, StaticWebsiteConfig, TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBNamespaceData, TailorDBReadyContext, TailorDBType, TailorDBTypeForPlugin, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProvider as TenantProviderConfig, Trigger, TypePluginOutput, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WORKFLOW_TEST_ENV_KEY, WebhookOperation, Workflow, WorkflowConfig, WorkflowJob, WorkflowJobContext, WorkflowJobInput, WorkflowJobOutput, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, definePlugins, defineSecretManager, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
1
+ import { A as DefinedAuth, At as BuiltinIdP, B as TailorDBField, Bt as SCIMResource, D as AuthOwnConfig, E as AuthExternalConfig, F as UserAttributeMap, Ft as SAML, G as TailorTypeGqlPermission, H as TailorDBType, I as UsernameFieldKey, It as SCIMAttribute, J as unsafeAllowAllTypePermission, K as TailorTypePermission, L as ValueOperand, Lt as SCIMAttributeMapping, M as SCIMAttributeType, Mt as IdProvider, N as UserAttributeKey, Nt as OAuth2ClientInput, O as AuthServiceInput, P as UserAttributeListKey, Pt as OIDC, R as TailorAnyDBField, Rt as SCIMAuthorization, T as AuthConfig, U as db, V as TailorDBInstance, Vt as TenantProvider, W as PermissionCondition, _ as GeneratorResult, a as PluginExecutorContext, b as TailorDBNamespaceData, c as PluginGeneratedExecutorWithFile, d as PluginNamespaceProcessContext, dt as unauthenticatedTailorUser, f as PluginOutput, g as ExecutorReadyContext, h as TypePluginOutput, i as PluginConfigs, j as OAuth2ClientGrantType, jt as IDToken, k as BeforeLoginHookArgs, l as PluginGeneratedResolver, m as TailorDBTypeForPlugin, mt as Resolver, n as Plugin, nt as TailorField, o as PluginExecutorContextBase, ot as AttributeList, p as PluginProcessContext, q as unsafeAllowAllGqlPermission, r as PluginAttachment, s as PluginGeneratedExecutor, st as AttributeMap, t as NamespacePluginOutput, u as PluginGeneratedType, ut as TailorUser, v as ResolverNamespaceData, x as TailorDBReadyContext, y as ResolverReadyContext, z as TailorAnyDBType, zt as SCIMConfig } from "../plugin-B1hNwcCC.mjs";
2
+ import { t as Env } from "../env-CSsVESbH.mjs";
3
+ import { _ as IdPGqlOperations, a as ResolverExternalConfig, c as WorkflowServiceConfig, d as defineStaticWebSite, f as SecretsConfig, h as IdPExternalConfig, i as ExecutorServiceInput, l as WorkflowServiceInput, m as IdPConfig, o as ResolverServiceConfig, p as defineSecretManager, r as ExecutorServiceConfig, s as ResolverServiceInput, t as RetryPolicy, u as StaticWebsiteConfig, v as IdPGqlOperationsInput } from "../workflow.generated-Bm4b8hEk.mjs";
4
+ import { $ as AuthInvoker, A as idpUserCreatedTrigger, B as WebhookOperation, C as RecordTrigger, D as authAccessTokenIssuedTrigger, E as ResolverExecutedTrigger, F as recordUpdatedTrigger, G as WORKFLOW_TEST_ENV_KEY, H as Workflow, I as resolverExecutedTrigger, J as WorkflowJobInput, K as WorkflowJob, L as FunctionOperation, M as idpUserUpdatedTrigger, N as recordCreatedTrigger, O as authAccessTokenRefreshedTrigger, P as recordDeletedTrigger, Q as createResolver, R as GqlOperation, S as RecordDeletedArgs, T as ResolverExecutedArgs, U as WorkflowConfig, V as WorkflowOperation, W as createWorkflow, X as createWorkflowJob, Y as WorkflowJobOutput, Z as QueryType, _ as AuthAccessTokenArgs, a as defineGenerators, b as IdpUserTrigger, c as createExecutor, d as IncomingWebhookRequest, et as defineAuth, f as IncomingWebhookTrigger, g as scheduleTrigger, h as ScheduleTrigger, i as defineConfig, j as idpUserDeletedTrigger, k as authAccessTokenRevokedTrigger, l as Trigger, m as ScheduleArgs, n as output, o as definePlugins, p as incomingWebhookTrigger, q as WorkflowJobContext, r as t, s as defineIdp, t as __Infer, u as IncomingWebhookArgs, v as AuthAccessTokenTrigger, w as RecordUpdatedArgs, x as RecordCreatedArgs, y as IdpUserArgs, z as Operation } from "../index-BJg0DTbR.mjs";
5
+ export { AttributeList, AttributeMap, AuthAccessTokenArgs, AuthAccessTokenTrigger, AuthConfig, AuthExternalConfig, AuthInvoker, AuthOwnConfig, AuthServiceInput, BeforeLoginHookArgs, BuiltinIdP, DefinedAuth, Env, ExecutorReadyContext, ExecutorServiceConfig, ExecutorServiceInput, FunctionOperation, GeneratorResult, GqlOperation, IDToken, IdPConfig, IdPExternalConfig, IdPGqlOperations, IdPGqlOperationsInput as IdPGqlOperationsConfig, IdProvider as IdProviderConfig, IdpUserArgs, IdpUserTrigger, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookTrigger, NamespacePluginOutput, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, Operation, PermissionCondition, Plugin, PluginAttachment, PluginConfigs, PluginExecutorContext, PluginExecutorContextBase, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedType, PluginNamespaceProcessContext, PluginOutput, PluginProcessContext, QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordTrigger, RecordUpdatedArgs, Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, ResolverExternalConfig, ResolverNamespaceData, ResolverReadyContext, ResolverServiceConfig, ResolverServiceInput, RetryPolicy, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, ScheduleArgs, ScheduleTrigger, SecretsConfig, StaticWebsiteConfig, TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBNamespaceData, TailorDBReadyContext, TailorDBType, TailorDBTypeForPlugin, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, TenantProvider as TenantProviderConfig, Trigger, TypePluginOutput, UserAttributeKey, UserAttributeListKey, UserAttributeMap, UsernameFieldKey, ValueOperand, WORKFLOW_TEST_ENV_KEY, WebhookOperation, Workflow, WorkflowConfig, WorkflowJob, WorkflowJobContext, WorkflowJobInput, WorkflowJobOutput, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, createExecutor, createResolver, createWorkflow, createWorkflowJob, db, defineAuth, defineConfig, defineGenerators, defineIdp, definePlugins, defineSecretManager, defineStaticWebSite, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, infer, output, recordCreatedTrigger, recordDeletedTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, t, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };