@tailor-platform/sdk 2.0.0-next.0 → 2.0.0-next.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 +105 -0
- package/dist/application-DB2r36Et.mjs +3 -0
- package/dist/{application-76hhIhnJ.mjs → application-DqS1yBg3.mjs} +217 -131
- package/dist/application-DqS1yBg3.mjs.map +1 -0
- package/dist/{assert-CKfwrmCV.mjs → assert-DBxo8jPo.mjs} +1 -2
- package/dist/{assert-CKfwrmCV.mjs.map → assert-DBxo8jPo.mjs.map} +1 -1
- package/dist/{authconnection-D8SJGMpj.mjs → authconnection-D2MhtTN5.mjs} +2 -3
- package/dist/{authconnection-D8SJGMpj.mjs.map → authconnection-D2MhtTN5.mjs.map} +1 -1
- package/dist/{authconnection-BIYzEh2p.d.mts → authconnection-DvUQAjQS.d.mts} +1 -1
- package/dist/{brand-DlnJ375c.mjs → brand-Eo4pLXPJ.mjs} +1 -2
- package/dist/{brand-DlnJ375c.mjs.map → brand-Eo4pLXPJ.mjs.map} +1 -1
- package/dist/cli/index.mjs +78 -131
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +619 -751
- package/dist/cli/lib.mjs +9 -10
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/{client-C68VWo4g.mjs → client-Dbohmtkv.mjs} +1 -2
- package/dist/{client-CobIRHl-.mjs → client-z_oHGVNy.mjs} +10 -7
- package/dist/client-z_oHGVNy.mjs.map +1 -0
- package/dist/completion/zsh-worker.zsh +4029 -0
- package/dist/configure/index.d.mts +8 -7
- package/dist/configure/index.mjs +27 -28
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{context-s0lxhu8_.mjs → context-Bd266-ru.mjs} +2 -3
- package/dist/{context-s0lxhu8_.mjs.map → context-Bd266-ru.mjs.map} +1 -1
- package/dist/{context-CUBwSBq4.d.mts → context-BuuIb8CC.d.mts} +1 -1
- package/dist/{crashreport-BhD0y14F.mjs → crashreport-BsjAkFWw.mjs} +19 -10
- package/dist/{crashreport-BhD0y14F.mjs.map → crashreport-BsjAkFWw.mjs.map} +1 -1
- package/dist/{crashreport-D1wKBJ8N.mjs → crashreport-pr6Rhvza.mjs} +1 -2
- package/dist/{enum-constants-C7DaWeQo.mjs → enum-constants-j9QBF0cB.mjs} +1 -2
- package/dist/enum-constants-j9QBF0cB.mjs.map +1 -0
- package/dist/{errors-EsY4XO6O.mjs → errors-Dtf2WPaW.mjs} +1 -2
- package/dist/{errors-EsY4XO6O.mjs.map → errors-Dtf2WPaW.mjs.map} +1 -1
- package/dist/{field-C4zdJLW5.mjs → field-DOsJCPFa.mjs} +1 -2
- package/dist/field-DOsJCPFa.mjs.map +1 -0
- package/dist/{file-BzK8z3X-.d.mts → file-BB8Vs9O_.d.mts} +1 -1
- package/dist/{file-B58Dm-2P.mjs → file-_oUZo76X.mjs} +2 -3
- package/dist/{file-B58Dm-2P.mjs.map → file-_oUZo76X.mjs.map} +1 -1
- package/dist/{file-utils-BHPxPXmn.mjs → file-utils-DcyIPFQh.mjs} +2 -3
- package/dist/{file-utils-BHPxPXmn.mjs.map → file-utils-DcyIPFQh.mjs.map} +1 -1
- package/dist/{globals-ByrCoDip.mjs → globals-Crz8o65k.mjs} +53 -5
- package/dist/globals-Crz8o65k.mjs.map +1 -0
- package/dist/http-adapter.generated-WgMnb7Sb.d.mts +580 -0
- package/dist/{iconv-kwrmd1U_.d.mts → iconv-Co-TOPuH.d.mts} +1 -1
- package/dist/{iconv-DreIffeM.mjs → iconv-D2vi8G36.mjs} +2 -3
- package/dist/{iconv-DreIffeM.mjs.map → iconv-D2vi8G36.mjs.map} +1 -1
- package/dist/{idp-Ch95ag8h.mjs → idp-BDbK5gjm.mjs} +2 -3
- package/dist/{idp-Ch95ag8h.mjs.map → idp-BDbK5gjm.mjs.map} +1 -1
- package/dist/{idp-BlBPtXJ-.d.mts → idp-DrhVrLmV.d.mts} +1 -1
- package/dist/{index-CQZVJ5SX.d.mts → index-5vPyRu1y.d.mts} +2 -2
- package/dist/{index-CfRFkXIO.d.mts → index-B7AKc18V.d.mts} +2 -2
- package/dist/{index-CLxubakC.d.mts → index-BlpzXncY.d.mts} +38 -247
- package/dist/{index-DRhMpdnA.d.mts → index-CK7u9isy.d.mts} +8 -8
- package/dist/{index-DUupuPhZ.d.mts → index-CNYe5lnW.d.mts} +2 -2
- package/dist/{index-CPRnOjjt.d.mts → index-DjUdWlzf.d.mts} +2 -2
- package/dist/index-ZePLwxw7.d.mts +208 -0
- package/dist/{interceptor-DOqRkCya.mjs → interceptor-D-q1rvRl.mjs} +1 -2
- package/dist/{interceptor-DOqRkCya.mjs.map → interceptor-D-q1rvRl.mjs.map} +1 -1
- package/dist/{job-BpsFXPbi.mjs → job-fuc3j1Ma.mjs} +9 -10
- package/dist/job-fuc3j1Ma.mjs.map +1 -0
- package/dist/kysely/index.mjs +0 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-D1e0Vwkd.mjs → kysely-type-DR8uzZTA.mjs} +2 -3
- package/dist/kysely-type-DR8uzZTA.mjs.map +1 -0
- package/dist/{logger-DpJyJvNz.mjs → logger-CxF-Ex5d.mjs} +1 -2
- package/dist/{logger-DpJyJvNz.mjs.map → logger-CxF-Ex5d.mjs.map} +1 -1
- package/dist/{mock-DMgIygjE.mjs → mock-BjFj5o1I.mjs} +9 -11
- package/dist/mock-BjFj5o1I.mjs.map +1 -0
- package/dist/{multiline-Cf9ODpr1.mjs → multiline-sfHpTZZK.mjs} +1 -2
- package/dist/{multiline-Cf9ODpr1.mjs.map → multiline-sfHpTZZK.mjs.map} +1 -1
- package/dist/{package-json-DcQApfPQ.mjs → package-json-8b0O9TlX.mjs} +1 -2
- package/dist/{package-json-DcQApfPQ.mjs.map → package-json-8b0O9TlX.mjs.map} +1 -1
- package/dist/package-json-Cv2Z-TqQ.mjs +3 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -2
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -2
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -2
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -2
- package/dist/plugin/index.d.mts +1 -3
- package/dist/plugin/index.mjs +0 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/registry-DdsYlL_P.mjs +51 -0
- package/dist/registry-DdsYlL_P.mjs.map +1 -0
- package/dist/{repl-editor-CJG3sz7A.mjs → repl-editor-DmGr9zMw.mjs} +2 -3
- package/dist/{repl-editor-CJG3sz7A.mjs.map → repl-editor-DmGr9zMw.mjs.map} +1 -1
- package/dist/{chunk-BkoGK1jX.mjs → rolldown-runtime-DXywRVcq.mjs} +0 -1
- package/dist/runtime/authconnection.d.mts +1 -1
- package/dist/runtime/authconnection.mjs +1 -2
- package/dist/runtime/context.d.mts +1 -1
- package/dist/runtime/context.mjs +1 -2
- package/dist/runtime/file.d.mts +1 -1
- package/dist/runtime/file.mjs +1 -2
- package/dist/runtime/globals.d.mts +6 -39
- package/dist/runtime/globals.mjs +0 -1
- package/dist/runtime/iconv.d.mts +1 -1
- package/dist/runtime/iconv.mjs +1 -2
- package/dist/runtime/idp.d.mts +1 -1
- package/dist/runtime/idp.mjs +1 -2
- package/dist/runtime/index.d.mts +8 -8
- package/dist/runtime/index.mjs +7 -8
- package/dist/runtime/secretmanager.d.mts +1 -1
- package/dist/runtime/secretmanager.mjs +1 -2
- package/dist/runtime/workflow.d.mts +1 -1
- package/dist/runtime/workflow.mjs +1 -2
- package/dist/{runtime-C7qTBDD2.mjs → runtime-n9NCkjee.mjs} +301 -317
- package/dist/runtime-n9NCkjee.mjs.map +1 -0
- package/dist/{schema-1msIhXwA.mjs → schema-BhkpP5Hw.mjs} +3 -4
- package/dist/schema-BhkpP5Hw.mjs.map +1 -0
- package/dist/{secret-file-CWzF8rry.mjs → secret-file-DBqZhjFQ.mjs} +1 -2
- package/dist/{secret-file-CWzF8rry.mjs.map → secret-file-DBqZhjFQ.mjs.map} +1 -1
- package/dist/{secretmanager-CKLB3wAQ.d.mts → secretmanager-B3n4KHfm.d.mts} +1 -1
- package/dist/{secretmanager-B9h-U_8U.mjs → secretmanager-BVxw3ih_.mjs} +2 -3
- package/dist/{secretmanager-B9h-U_8U.mjs.map → secretmanager-BVxw3ih_.mjs.map} +1 -1
- package/dist/seed/index.mjs +0 -1
- package/dist/seed/index.mjs.map +1 -1
- package/dist/{seed-BH2FbrPV.mjs → seed-jf3008-h.mjs} +5 -16
- package/dist/seed-jf3008-h.mjs.map +1 -0
- package/dist/{service-wI3Hvrgx.mjs → service-CCL8ruDf.mjs} +3 -4
- package/dist/service-CCL8ruDf.mjs.map +1 -0
- package/dist/service-D6yonf2I.mjs +3 -0
- package/dist/{service-DMohAx8a2.mjs → service-DU1mVzri.mjs} +3 -4
- package/dist/service-DU1mVzri.mjs.map +1 -0
- package/dist/{telemetry-BQbbVo2t.mjs → telemetry-CdqJEzkj.mjs} +2 -3
- package/dist/{telemetry-BQbbVo2t.mjs.map → telemetry-CdqJEzkj.mjs.map} +1 -1
- package/dist/telemetry-ClwW5ohF.mjs +3 -0
- package/dist/test-env-key-D9kM6ETE.mjs +49 -0
- package/dist/test-env-key-D9kM6ETE.mjs.map +1 -0
- package/dist/type-source-DH_LH20p.mjs +13 -0
- package/dist/type-source-DH_LH20p.mjs.map +1 -0
- package/dist/{types-CmzfQP_m.mjs → types-B2RpYyA_.mjs} +2 -3
- package/dist/types-B2RpYyA_.mjs.map +1 -0
- package/dist/types-ClhIrW_C.mjs +4 -0
- package/dist/{tailordb-BlBGmQK-.d.mts → types-DCUhgpyI.d.mts} +142 -221
- package/dist/{plugin-C_FyVSdl.d.mts → types-DhO_VEZd.d.mts} +119 -179
- package/dist/types-DwDgacni.d.mts +338 -0
- package/dist/utils/test/index.d.mts +4 -3
- package/dist/utils/test/index.mjs +1 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs +1 -2
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.d.mts +42 -5
- package/dist/vitest/index.mjs +133 -4
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/setup.mjs +2 -3
- package/dist/vitest/setup.mjs.map +1 -1
- package/dist/{workflow-CMamswkK.d.mts → workflow-BbKvGLQg.d.mts} +1 -1
- package/dist/{workflow--aPbA8Uq.mjs → workflow-DgemCAz3.mjs} +2 -3
- package/dist/{workflow--aPbA8Uq.mjs.map → workflow-DgemCAz3.mjs.map} +1 -1
- package/dist/workflow.generated-DtQwEo-x.d.mts +671 -0
- package/docs/cli/application.md +0 -2
- package/docs/cli/completion.md +3 -0
- package/docs/cli/crashreport.md +0 -2
- package/docs/cli/function.md +1 -1
- package/docs/cli/user.md +3 -3
- package/docs/cli/workspace.md +3 -3
- package/docs/configuration.md +0 -2
- package/docs/plugin/custom.md +2 -2
- package/docs/plugin/index.md +1 -1
- package/docs/runtime.md +3 -3
- package/docs/services/aigateway.md +97 -0
- package/docs/services/auth.md +19 -2
- package/docs/services/executor.md +0 -2
- package/docs/services/resolver.md +2 -4
- package/docs/services/tailordb.md +1 -1
- package/docs/services/workflow.md +13 -15
- package/docs/testing.md +18 -11
- package/package.json +13 -12
- package/dist/actor-J2gJ0eK5.d.mts +0 -24
- package/dist/application-76hhIhnJ.mjs.map +0 -1
- package/dist/application-av2raLs6.mjs +0 -4
- package/dist/cli/skills.d.mts +0 -1
- package/dist/cli/skills.mjs +0 -22
- package/dist/cli/skills.mjs.map +0 -1
- package/dist/client-CobIRHl-.mjs.map +0 -1
- package/dist/enum-constants-C7DaWeQo.mjs.map +0 -1
- package/dist/env-B-g-qgE4.d.mts +0 -7
- package/dist/field-C4zdJLW5.mjs.map +0 -1
- package/dist/globals-ByrCoDip.mjs.map +0 -1
- package/dist/job-BpsFXPbi.mjs.map +0 -1
- package/dist/kysely-type-D1e0Vwkd.mjs.map +0 -1
- package/dist/mock-DMgIygjE.mjs.map +0 -1
- package/dist/package-json-wzO6nV9O.mjs +0 -4
- package/dist/registry-D0uB0OrK.mjs +0 -178
- package/dist/registry-D0uB0OrK.mjs.map +0 -1
- package/dist/runtime-C7qTBDD2.mjs.map +0 -1
- package/dist/schema-1msIhXwA.mjs.map +0 -1
- package/dist/seed-BH2FbrPV.mjs.map +0 -1
- package/dist/service-BHQIerYh.mjs +0 -4
- package/dist/service-DMohAx8a2.mjs.map +0 -1
- package/dist/service-wI3Hvrgx.mjs.map +0 -1
- package/dist/telemetry-w92bvGdC.mjs +0 -4
- package/dist/types-2Be3wSMc.mjs +0 -5
- package/dist/types-CmzfQP_m.mjs.map +0 -1
- package/dist/workflow.generated-Bf1tWylx.d.mts +0 -1416
- package/docs/generator/builtin.md +0 -257
- package/docs/generator/custom.md +0 -147
- package/docs/generator/index.md +0 -66
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import { n as kyselyTypePlugin } from "../index-
|
|
5
|
-
import { n as enumConstantsPlugin } from "../index-
|
|
6
|
-
import { n as fileUtilsPlugin } from "../index-
|
|
7
|
-
import { n as seedPlugin } from "../index-
|
|
1
|
+
import { s as PluginAttachment } from "../types-DCUhgpyI.mjs";
|
|
2
|
+
import { F as TailorDBType, I as TypeSourceInfoEntry, i as Plugin, j as ScheduleTriggerInput, k as IncomingWebhookTrigger, n as GeneratorResult, w as Executor, x as Resolver } from "../types-DhO_VEZd.mjs";
|
|
3
|
+
import { r as AppConfig } from "../workflow.generated-DtQwEo-x.mjs";
|
|
4
|
+
import { n as kyselyTypePlugin } from "../index-5vPyRu1y.mjs";
|
|
5
|
+
import { n as enumConstantsPlugin } from "../index-DjUdWlzf.mjs";
|
|
6
|
+
import { n as fileUtilsPlugin } from "../index-CNYe5lnW.mjs";
|
|
7
|
+
import { n as seedPlugin } from "../index-B7AKc18V.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
10
10
|
import { GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -12,6 +12,7 @@ import { Duration, FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
|
|
12
12
|
import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
13
13
|
import { Client } from "@connectrpc/connect";
|
|
14
14
|
import { Jsonifiable } from "type-fest";
|
|
15
|
+
import { MachineUserName, MachineUserName as MachineUserName$1 } from "@tailor-platform/sdk";
|
|
15
16
|
|
|
16
17
|
//#region src/cli/commands/deploy/function-registry-types.d.ts
|
|
17
18
|
/**
|
|
@@ -24,6 +25,353 @@ type BundledScripts = {
|
|
|
24
25
|
authHooks: Map<string, string>;
|
|
25
26
|
};
|
|
26
27
|
//#endregion
|
|
28
|
+
//#region ../tailor-proto/src/tailor/v1/aigateway_resource_pb.d.ts
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message tailor.v1.AIGateway
|
|
31
|
+
*/
|
|
32
|
+
declare type AIGateway = Message<"tailor.v1.AIGateway"> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string name = 1;
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string domain = 2;
|
|
39
|
+
*/
|
|
40
|
+
domain: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string auth_namespace = 3;
|
|
43
|
+
*/
|
|
44
|
+
authNamespace: string;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
47
|
+
*/
|
|
48
|
+
createTime?: Timestamp;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: google.protobuf.Timestamp update_time = 5;
|
|
51
|
+
*/
|
|
52
|
+
updateTime?: Timestamp;
|
|
53
|
+
/**
|
|
54
|
+
* Allowed CORS origins for browser-based clients. Each entry is one of:
|
|
55
|
+
* - `*` — any origin (any scheme, any host).
|
|
56
|
+
* - `http(s)://*` — any host on the given scheme.
|
|
57
|
+
* - `http(s)://*.example.com`— any subdomain of example.com on the given scheme.
|
|
58
|
+
* - `http(s)://app.example.com` — an exact origin.
|
|
59
|
+
* An optional `:port` may be appended in all URL forms. Empty list
|
|
60
|
+
* disables cross-origin access (browsers will block any cross-origin
|
|
61
|
+
* reads).
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: repeated string cors = 6;
|
|
64
|
+
*/
|
|
65
|
+
cors: string[];
|
|
66
|
+
/**
|
|
67
|
+
* The base URL of the AI gateway.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string url = 7;
|
|
70
|
+
*/
|
|
71
|
+
url: string;
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
|
|
75
|
+
/**
|
|
76
|
+
* @generated from message tailor.v1.Namespace
|
|
77
|
+
*/
|
|
78
|
+
declare type Namespace = Message<"tailor.v1.Namespace"> & {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: string name = 1;
|
|
81
|
+
*/
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message tailor.v1.Script
|
|
86
|
+
*/
|
|
87
|
+
declare type Script = Message<"tailor.v1.Script"> & {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: string expr = 1;
|
|
90
|
+
*/
|
|
91
|
+
expr: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message tailor.v1.Filter
|
|
95
|
+
*/
|
|
96
|
+
declare type Filter = Message<"tailor.v1.Filter"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: tailor.v1.Condition condition = 1;
|
|
99
|
+
*/
|
|
100
|
+
condition?: Condition;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: repeated tailor.v1.Filter and = 2;
|
|
103
|
+
*/
|
|
104
|
+
and: Filter[];
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: repeated tailor.v1.Filter or = 3;
|
|
107
|
+
*/
|
|
108
|
+
or: Filter[];
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @generated from message tailor.v1.Condition
|
|
112
|
+
*/
|
|
113
|
+
declare type Condition = Message<"tailor.v1.Condition"> & {
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string field = 1;
|
|
116
|
+
*/
|
|
117
|
+
field: string;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: tailor.v1.Condition.Operator operator = 2;
|
|
120
|
+
*/
|
|
121
|
+
operator: Condition_Operator;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: google.protobuf.Value value = 3;
|
|
124
|
+
*/
|
|
125
|
+
value?: Value;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum tailor.v1.Condition.Operator
|
|
129
|
+
*/
|
|
130
|
+
declare enum Condition_Operator {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: OPERATOR_UNSPECIFIED = 0;
|
|
133
|
+
*/
|
|
134
|
+
UNSPECIFIED = 0,
|
|
135
|
+
/**
|
|
136
|
+
* @generated from enum value: OPERATOR_EQ = 1;
|
|
137
|
+
*/
|
|
138
|
+
EQ = 1,
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum value: OPERATOR_CONTAINS = 2;
|
|
141
|
+
*/
|
|
142
|
+
CONTAINS = 2,
|
|
143
|
+
/**
|
|
144
|
+
* @generated from enum value: OPERATOR_GT = 3;
|
|
145
|
+
*/
|
|
146
|
+
GT = 3,
|
|
147
|
+
/**
|
|
148
|
+
* @generated from enum value: OPERATOR_GE = 4;
|
|
149
|
+
*/
|
|
150
|
+
GE = 4,
|
|
151
|
+
/**
|
|
152
|
+
* @generated from enum value: OPERATOR_LT = 5;
|
|
153
|
+
*/
|
|
154
|
+
LT = 5,
|
|
155
|
+
/**
|
|
156
|
+
* @generated from enum value: OPERATOR_LE = 6;
|
|
157
|
+
*/
|
|
158
|
+
LE = 6,
|
|
159
|
+
/**
|
|
160
|
+
* @generated from enum value: OPERATOR_NOT_CONTAINS = 7;
|
|
161
|
+
*/
|
|
162
|
+
NOT_CONTAINS = 7
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @generated from enum tailor.v1.PageDirection
|
|
166
|
+
*/
|
|
167
|
+
declare enum PageDirection {
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum value: PAGE_DIRECTION_UNSPECIFIED = 0;
|
|
170
|
+
*/
|
|
171
|
+
UNSPECIFIED = 0,
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: PAGE_DIRECTION_ASC = 1;
|
|
174
|
+
*/
|
|
175
|
+
ASC = 1,
|
|
176
|
+
/**
|
|
177
|
+
* @generated from enum value: PAGE_DIRECTION_DESC = 2;
|
|
178
|
+
*/
|
|
179
|
+
DESC = 2
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region ../tailor-proto/src/tailor/v1/aigateway_pb.d.ts
|
|
183
|
+
/**
|
|
184
|
+
* @generated from message tailor.v1.CreateAIGatewayRequest
|
|
185
|
+
*/
|
|
186
|
+
declare type CreateAIGatewayRequest = Message<"tailor.v1.CreateAIGatewayRequest"> & {
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: string workspace_id = 1;
|
|
189
|
+
*/
|
|
190
|
+
workspaceId: string;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string aigateway_name = 2;
|
|
193
|
+
*/
|
|
194
|
+
aigatewayName: string;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: string auth_namespace = 3;
|
|
197
|
+
*/
|
|
198
|
+
authNamespace: string;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: repeated string cors = 4;
|
|
201
|
+
*/
|
|
202
|
+
cors: string[];
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message tailor.v1.CreateAIGatewayRequest.
|
|
206
|
+
* Use `create(CreateAIGatewayRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
declare const CreateAIGatewayRequestSchema: GenMessage<CreateAIGatewayRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from message tailor.v1.CreateAIGatewayResponse
|
|
211
|
+
*/
|
|
212
|
+
declare type CreateAIGatewayResponse = Message<"tailor.v1.CreateAIGatewayResponse"> & {
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
215
|
+
*/
|
|
216
|
+
aigateway?: AIGateway;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message tailor.v1.CreateAIGatewayResponse.
|
|
220
|
+
* Use `create(CreateAIGatewayResponseSchema)` to create a new message.
|
|
221
|
+
*/
|
|
222
|
+
declare const CreateAIGatewayResponseSchema: GenMessage<CreateAIGatewayResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from message tailor.v1.UpdateAIGatewayRequest
|
|
225
|
+
*/
|
|
226
|
+
declare type UpdateAIGatewayRequest = Message<"tailor.v1.UpdateAIGatewayRequest"> & {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: string workspace_id = 1;
|
|
229
|
+
*/
|
|
230
|
+
workspaceId: string;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: string aigateway_name = 2;
|
|
233
|
+
*/
|
|
234
|
+
aigatewayName: string;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string auth_namespace = 3;
|
|
237
|
+
*/
|
|
238
|
+
authNamespace: string;
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: repeated string cors = 4;
|
|
241
|
+
*/
|
|
242
|
+
cors: string[];
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
245
|
+
*/
|
|
246
|
+
updateMask?: FieldMask;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message tailor.v1.UpdateAIGatewayRequest.
|
|
250
|
+
* Use `create(UpdateAIGatewayRequestSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
declare const UpdateAIGatewayRequestSchema: GenMessage<UpdateAIGatewayRequest>;
|
|
253
|
+
/**
|
|
254
|
+
* @generated from message tailor.v1.UpdateAIGatewayResponse
|
|
255
|
+
*/
|
|
256
|
+
declare type UpdateAIGatewayResponse = Message<"tailor.v1.UpdateAIGatewayResponse"> & {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
259
|
+
*/
|
|
260
|
+
aigateway?: AIGateway;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Describes the message tailor.v1.UpdateAIGatewayResponse.
|
|
264
|
+
* Use `create(UpdateAIGatewayResponseSchema)` to create a new message.
|
|
265
|
+
*/
|
|
266
|
+
declare const UpdateAIGatewayResponseSchema: GenMessage<UpdateAIGatewayResponse>;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from message tailor.v1.DeleteAIGatewayRequest
|
|
269
|
+
*/
|
|
270
|
+
declare type DeleteAIGatewayRequest = Message<"tailor.v1.DeleteAIGatewayRequest"> & {
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: string workspace_id = 1;
|
|
273
|
+
*/
|
|
274
|
+
workspaceId: string;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: string aigateway_name = 2;
|
|
277
|
+
*/
|
|
278
|
+
aigatewayName: string;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message tailor.v1.DeleteAIGatewayRequest.
|
|
282
|
+
* Use `create(DeleteAIGatewayRequestSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
declare const DeleteAIGatewayRequestSchema: GenMessage<DeleteAIGatewayRequest>;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from message tailor.v1.DeleteAIGatewayResponse
|
|
287
|
+
*/
|
|
288
|
+
declare type DeleteAIGatewayResponse = Message<"tailor.v1.DeleteAIGatewayResponse"> & {};
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message tailor.v1.DeleteAIGatewayResponse.
|
|
291
|
+
* Use `create(DeleteAIGatewayResponseSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
declare const DeleteAIGatewayResponseSchema: GenMessage<DeleteAIGatewayResponse>;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from message tailor.v1.GetAIGatewayRequest
|
|
296
|
+
*/
|
|
297
|
+
declare type GetAIGatewayRequest = Message<"tailor.v1.GetAIGatewayRequest"> & {
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: string workspace_id = 1;
|
|
300
|
+
*/
|
|
301
|
+
workspaceId: string;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: string aigateway_name = 2;
|
|
304
|
+
*/
|
|
305
|
+
aigatewayName: string;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* Describes the message tailor.v1.GetAIGatewayRequest.
|
|
309
|
+
* Use `create(GetAIGatewayRequestSchema)` to create a new message.
|
|
310
|
+
*/
|
|
311
|
+
declare const GetAIGatewayRequestSchema: GenMessage<GetAIGatewayRequest>;
|
|
312
|
+
/**
|
|
313
|
+
* @generated from message tailor.v1.GetAIGatewayResponse
|
|
314
|
+
*/
|
|
315
|
+
declare type GetAIGatewayResponse = Message<"tailor.v1.GetAIGatewayResponse"> & {
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
318
|
+
*/
|
|
319
|
+
aigateway?: AIGateway;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message tailor.v1.GetAIGatewayResponse.
|
|
323
|
+
* Use `create(GetAIGatewayResponseSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
declare const GetAIGatewayResponseSchema: GenMessage<GetAIGatewayResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from message tailor.v1.ListAIGatewaysRequest
|
|
328
|
+
*/
|
|
329
|
+
declare type ListAIGatewaysRequest = Message<"tailor.v1.ListAIGatewaysRequest"> & {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: string workspace_id = 1;
|
|
332
|
+
*/
|
|
333
|
+
workspaceId: string;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string page_token = 2;
|
|
336
|
+
*/
|
|
337
|
+
pageToken: string;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: uint32 page_size = 3;
|
|
340
|
+
*/
|
|
341
|
+
pageSize: number;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
344
|
+
*/
|
|
345
|
+
pageDirection: PageDirection;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* Describes the message tailor.v1.ListAIGatewaysRequest.
|
|
349
|
+
* Use `create(ListAIGatewaysRequestSchema)` to create a new message.
|
|
350
|
+
*/
|
|
351
|
+
declare const ListAIGatewaysRequestSchema: GenMessage<ListAIGatewaysRequest>;
|
|
352
|
+
/**
|
|
353
|
+
* @generated from message tailor.v1.ListAIGatewaysResponse
|
|
354
|
+
*/
|
|
355
|
+
declare type ListAIGatewaysResponse = Message<"tailor.v1.ListAIGatewaysResponse"> & {
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: repeated tailor.v1.AIGateway aigateways = 1;
|
|
358
|
+
*/
|
|
359
|
+
aigateways: AIGateway[];
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: string next_page_token = 2;
|
|
362
|
+
*/
|
|
363
|
+
nextPageToken: string;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: int64 total_count = 3;
|
|
366
|
+
*/
|
|
367
|
+
totalCount: bigint;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message tailor.v1.ListAIGatewaysResponse.
|
|
371
|
+
* Use `create(ListAIGatewaysResponseSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
declare const ListAIGatewaysResponseSchema: GenMessage<ListAIGatewaysResponse>;
|
|
374
|
+
//#endregion
|
|
27
375
|
//#region ../tailor-proto/src/tailor/v1/workspace_resource_pb.d.ts
|
|
28
376
|
/**
|
|
29
377
|
* @generated from message tailor.v1.Organization
|
|
@@ -499,115 +847,7 @@ declare enum PlatformAccountPlanType {
|
|
|
499
847
|
/**
|
|
500
848
|
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_BASIC = 2;
|
|
501
849
|
*/
|
|
502
|
-
BASIC = 2
|
|
503
|
-
}
|
|
504
|
-
//#endregion
|
|
505
|
-
//#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
|
|
506
|
-
/**
|
|
507
|
-
* @generated from message tailor.v1.Namespace
|
|
508
|
-
*/
|
|
509
|
-
declare type Namespace = Message<"tailor.v1.Namespace"> & {
|
|
510
|
-
/**
|
|
511
|
-
* @generated from field: string name = 1;
|
|
512
|
-
*/
|
|
513
|
-
name: string;
|
|
514
|
-
};
|
|
515
|
-
/**
|
|
516
|
-
* @generated from message tailor.v1.Script
|
|
517
|
-
*/
|
|
518
|
-
declare type Script = Message<"tailor.v1.Script"> & {
|
|
519
|
-
/**
|
|
520
|
-
* @generated from field: string expr = 1;
|
|
521
|
-
*/
|
|
522
|
-
expr: string;
|
|
523
|
-
};
|
|
524
|
-
/**
|
|
525
|
-
* @generated from message tailor.v1.Filter
|
|
526
|
-
*/
|
|
527
|
-
declare type Filter = Message<"tailor.v1.Filter"> & {
|
|
528
|
-
/**
|
|
529
|
-
* @generated from field: tailor.v1.Condition condition = 1;
|
|
530
|
-
*/
|
|
531
|
-
condition?: Condition;
|
|
532
|
-
/**
|
|
533
|
-
* @generated from field: repeated tailor.v1.Filter and = 2;
|
|
534
|
-
*/
|
|
535
|
-
and: Filter[];
|
|
536
|
-
/**
|
|
537
|
-
* @generated from field: repeated tailor.v1.Filter or = 3;
|
|
538
|
-
*/
|
|
539
|
-
or: Filter[];
|
|
540
|
-
};
|
|
541
|
-
/**
|
|
542
|
-
* @generated from message tailor.v1.Condition
|
|
543
|
-
*/
|
|
544
|
-
declare type Condition = Message<"tailor.v1.Condition"> & {
|
|
545
|
-
/**
|
|
546
|
-
* @generated from field: string field = 1;
|
|
547
|
-
*/
|
|
548
|
-
field: string;
|
|
549
|
-
/**
|
|
550
|
-
* @generated from field: tailor.v1.Condition.Operator operator = 2;
|
|
551
|
-
*/
|
|
552
|
-
operator: Condition_Operator;
|
|
553
|
-
/**
|
|
554
|
-
* @generated from field: google.protobuf.Value value = 3;
|
|
555
|
-
*/
|
|
556
|
-
value?: Value;
|
|
557
|
-
};
|
|
558
|
-
/**
|
|
559
|
-
* @generated from enum tailor.v1.Condition.Operator
|
|
560
|
-
*/
|
|
561
|
-
declare enum Condition_Operator {
|
|
562
|
-
/**
|
|
563
|
-
* @generated from enum value: OPERATOR_UNSPECIFIED = 0;
|
|
564
|
-
*/
|
|
565
|
-
UNSPECIFIED = 0,
|
|
566
|
-
/**
|
|
567
|
-
* @generated from enum value: OPERATOR_EQ = 1;
|
|
568
|
-
*/
|
|
569
|
-
EQ = 1,
|
|
570
|
-
/**
|
|
571
|
-
* @generated from enum value: OPERATOR_CONTAINS = 2;
|
|
572
|
-
*/
|
|
573
|
-
CONTAINS = 2,
|
|
574
|
-
/**
|
|
575
|
-
* @generated from enum value: OPERATOR_GT = 3;
|
|
576
|
-
*/
|
|
577
|
-
GT = 3,
|
|
578
|
-
/**
|
|
579
|
-
* @generated from enum value: OPERATOR_GE = 4;
|
|
580
|
-
*/
|
|
581
|
-
GE = 4,
|
|
582
|
-
/**
|
|
583
|
-
* @generated from enum value: OPERATOR_LT = 5;
|
|
584
|
-
*/
|
|
585
|
-
LT = 5,
|
|
586
|
-
/**
|
|
587
|
-
* @generated from enum value: OPERATOR_LE = 6;
|
|
588
|
-
*/
|
|
589
|
-
LE = 6,
|
|
590
|
-
/**
|
|
591
|
-
* @generated from enum value: OPERATOR_NOT_CONTAINS = 7;
|
|
592
|
-
*/
|
|
593
|
-
NOT_CONTAINS = 7
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* @generated from enum tailor.v1.PageDirection
|
|
597
|
-
*/
|
|
598
|
-
declare enum PageDirection {
|
|
599
|
-
/**
|
|
600
|
-
* @generated from enum value: PAGE_DIRECTION_UNSPECIFIED = 0;
|
|
601
|
-
*/
|
|
602
|
-
UNSPECIFIED = 0,
|
|
603
|
-
/**
|
|
604
|
-
* @generated from enum value: PAGE_DIRECTION_ASC = 1;
|
|
605
|
-
*/
|
|
606
|
-
ASC = 1,
|
|
607
|
-
/**
|
|
608
|
-
* @generated from enum value: PAGE_DIRECTION_DESC = 2;
|
|
609
|
-
*/
|
|
610
|
-
DESC = 2
|
|
850
|
+
BASIC = 2
|
|
611
851
|
}
|
|
612
852
|
//#endregion
|
|
613
853
|
//#region ../tailor-proto/src/tailor/v1/workspace_pb.d.ts
|
|
@@ -2694,670 +2934,437 @@ declare type Application = Message<"tailor.v1.Application"> & {
|
|
|
2694
2934
|
subgraphs: Subgraph[];
|
|
2695
2935
|
/**
|
|
2696
2936
|
* @generated from field: string create_user_id = 6;
|
|
2697
|
-
*/
|
|
2698
|
-
createUserId: string;
|
|
2699
|
-
/**
|
|
2700
|
-
* @generated from field: string update_user_id = 7;
|
|
2701
|
-
*/
|
|
2702
|
-
updateUserId: string;
|
|
2703
|
-
/**
|
|
2704
|
-
* @generated from field: google.protobuf.Timestamp create_time = 8;
|
|
2705
|
-
*/
|
|
2706
|
-
createTime?: Timestamp;
|
|
2707
|
-
/**
|
|
2708
|
-
* @generated from field: google.protobuf.Timestamp update_time = 9;
|
|
2709
|
-
*/
|
|
2710
|
-
updateTime?: Timestamp;
|
|
2711
|
-
/**
|
|
2712
|
-
* The base URL of the application
|
|
2713
|
-
*
|
|
2714
|
-
* @generated from field: string url = 10;
|
|
2715
|
-
*/
|
|
2716
|
-
url: string;
|
|
2717
|
-
/**
|
|
2718
|
-
* @generated from field: bool disable_introspection = 12;
|
|
2719
|
-
*/
|
|
2720
|
-
disableIntrospection: boolean;
|
|
2721
|
-
/**
|
|
2722
|
-
* @generated from field: bool disabled = 13;
|
|
2723
|
-
*/
|
|
2724
|
-
disabled: boolean;
|
|
2725
|
-
/**
|
|
2726
|
-
* @generated from field: string auth_idp_config_name = 14;
|
|
2727
|
-
*/
|
|
2728
|
-
authIdpConfigName: string;
|
|
2729
|
-
/**
|
|
2730
|
-
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 15;
|
|
2731
|
-
*/
|
|
2732
|
-
httpAdapters: HttpAdapter[];
|
|
2733
|
-
};
|
|
2734
|
-
/**
|
|
2735
|
-
* @generated from message tailor.v1.ApplicationSchemaUpdateAttempt
|
|
2736
|
-
*/
|
|
2737
|
-
declare type ApplicationSchemaUpdateAttempt = Message<"tailor.v1.ApplicationSchemaUpdateAttempt"> & {
|
|
2738
|
-
/**
|
|
2739
|
-
* The timestamp of when the schema update attempted.
|
|
2740
|
-
*
|
|
2741
|
-
* @generated from field: google.protobuf.Timestamp attempt_time = 1;
|
|
2742
|
-
*/
|
|
2743
|
-
attemptTime?: Timestamp;
|
|
2744
|
-
/**
|
|
2745
|
-
* The result of the schema update attempted.
|
|
2746
|
-
*
|
|
2747
|
-
* @generated from field: tailor.v1.ApplicationSchemaUpdateAttemptStatus status = 2;
|
|
2748
|
-
*/
|
|
2749
|
-
status: ApplicationSchemaUpdateAttemptStatus;
|
|
2750
|
-
/**
|
|
2751
|
-
* The error (reason) of the schema update failed. (empty if it succeeded)
|
|
2752
|
-
*
|
|
2753
|
-
* @generated from field: string error = 3;
|
|
2754
|
-
*/
|
|
2755
|
-
error: string;
|
|
2756
|
-
};
|
|
2757
|
-
/**
|
|
2758
|
-
* @generated from message tailor.v1.Subgraph
|
|
2759
|
-
*/
|
|
2760
|
-
declare type Subgraph = Message<"tailor.v1.Subgraph"> & {
|
|
2761
|
-
/**
|
|
2762
|
-
* @generated from field: tailor.v1.Subgraph.ServiceType service_type = 1;
|
|
2763
|
-
*/
|
|
2764
|
-
serviceType: Subgraph_ServiceType;
|
|
2765
|
-
/**
|
|
2766
|
-
* @generated from field: string service_namespace = 2;
|
|
2767
|
-
*/
|
|
2768
|
-
serviceNamespace: string;
|
|
2769
|
-
};
|
|
2770
|
-
/**
|
|
2771
|
-
* @generated from enum tailor.v1.Subgraph.ServiceType
|
|
2772
|
-
*/
|
|
2773
|
-
declare enum Subgraph_ServiceType {
|
|
2774
|
-
/**
|
|
2775
|
-
* @generated from enum value: SERVICE_TYPE_UNSPECIFIED = 0;
|
|
2776
|
-
*/
|
|
2777
|
-
UNSPECIFIED = 0,
|
|
2778
|
-
/**
|
|
2779
|
-
* @generated from enum value: SERVICE_TYPE_PIPELINE = 1;
|
|
2780
|
-
*/
|
|
2781
|
-
PIPELINE = 1,
|
|
2782
|
-
/**
|
|
2783
|
-
* @generated from enum value: SERVICE_TYPE_STATEFLOW = 2;
|
|
2784
|
-
*/
|
|
2785
|
-
STATEFLOW = 2,
|
|
2786
|
-
/**
|
|
2787
|
-
* @generated from enum value: SERVICE_TYPE_TAILORDB = 3;
|
|
2788
|
-
*/
|
|
2789
|
-
TAILORDB = 3,
|
|
2790
|
-
/**
|
|
2791
|
-
* @generated from enum value: SERVICE_TYPE_AUTH = 4;
|
|
2792
|
-
*/
|
|
2793
|
-
AUTH = 4,
|
|
2794
|
-
/**
|
|
2795
|
-
* @generated from enum value: SERVICE_TYPE_AI = 5;
|
|
2796
|
-
*/
|
|
2797
|
-
AI = 5,
|
|
2798
|
-
/**
|
|
2799
|
-
* @generated from enum value: SERVICE_TYPE_IDP = 6;
|
|
2800
|
-
*/
|
|
2801
|
-
IDP = 6
|
|
2802
|
-
}
|
|
2803
|
-
/**
|
|
2804
|
-
* @generated from enum tailor.v1.ApplicationSchemaUpdateAttemptStatus
|
|
2805
|
-
*/
|
|
2806
|
-
declare enum ApplicationSchemaUpdateAttemptStatus {
|
|
2807
|
-
/**
|
|
2808
|
-
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_UNSPECIFIED = 0;
|
|
2809
|
-
*/
|
|
2810
|
-
UNSPECIFIED = 0,
|
|
2811
|
-
/**
|
|
2812
|
-
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_SUCCEEDED = 1;
|
|
2813
|
-
*/
|
|
2814
|
-
SUCCEEDED = 1,
|
|
2815
|
-
/**
|
|
2816
|
-
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_FAILED = 2;
|
|
2817
|
-
*/
|
|
2818
|
-
FAILED = 2
|
|
2819
|
-
}
|
|
2820
|
-
//#endregion
|
|
2821
|
-
//#region ../tailor-proto/src/tailor/v1/application_pb.d.ts
|
|
2822
|
-
/**
|
|
2823
|
-
* @generated from message tailor.v1.CreateApplicationRequest
|
|
2824
|
-
*/
|
|
2825
|
-
declare type CreateApplicationRequest = Message<"tailor.v1.CreateApplicationRequest"> & {
|
|
2826
|
-
/**
|
|
2827
|
-
* @generated from field: string workspace_id = 1;
|
|
2828
|
-
*/
|
|
2829
|
-
workspaceId: string;
|
|
2830
|
-
/**
|
|
2831
|
-
* @generated from field: string application_name = 2;
|
|
2832
|
-
*/
|
|
2833
|
-
applicationName: string;
|
|
2834
|
-
/**
|
|
2835
|
-
* optional
|
|
2836
|
-
*
|
|
2837
|
-
* @generated from field: string auth_namespace = 3;
|
|
2838
|
-
*/
|
|
2839
|
-
authNamespace: string;
|
|
2840
|
-
/**
|
|
2841
|
-
* optional
|
|
2842
|
-
*
|
|
2843
|
-
* @generated from field: string auth_idp_config_name = 4;
|
|
2844
|
-
*/
|
|
2845
|
-
authIdpConfigName: string;
|
|
2846
|
-
/**
|
|
2847
|
-
* @generated from field: repeated string cors = 5;
|
|
2848
|
-
*/
|
|
2849
|
-
cors: string[];
|
|
2850
|
-
/**
|
|
2851
|
-
* @generated from field: repeated tailor.v1.Subgraph subgraphs = 6;
|
|
2852
|
-
*/
|
|
2853
|
-
subgraphs: Subgraph[];
|
|
2854
|
-
/**
|
|
2855
|
-
* @generated from field: repeated string allowed_ip_addresses = 7;
|
|
2856
|
-
*/
|
|
2857
|
-
allowedIpAddresses: string[];
|
|
2858
|
-
/**
|
|
2859
|
-
* @generated from field: bool disable_introspection = 8;
|
|
2860
|
-
*/
|
|
2861
|
-
disableIntrospection: boolean;
|
|
2862
|
-
/**
|
|
2863
|
-
* @generated from field: bool disabled = 9;
|
|
2864
|
-
*/
|
|
2865
|
-
disabled: boolean;
|
|
2866
|
-
/**
|
|
2867
|
-
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
2868
|
-
*/
|
|
2869
|
-
httpAdapters: HttpAdapter[];
|
|
2870
|
-
};
|
|
2871
|
-
/**
|
|
2872
|
-
* Describes the message tailor.v1.CreateApplicationRequest.
|
|
2873
|
-
* Use `create(CreateApplicationRequestSchema)` to create a new message.
|
|
2874
|
-
*/
|
|
2875
|
-
declare const CreateApplicationRequestSchema: GenMessage<CreateApplicationRequest>;
|
|
2876
|
-
/**
|
|
2877
|
-
* @generated from message tailor.v1.CreateApplicationResponse
|
|
2878
|
-
*/
|
|
2879
|
-
declare type CreateApplicationResponse = Message<"tailor.v1.CreateApplicationResponse"> & {
|
|
2880
|
-
/**
|
|
2881
|
-
* @generated from field: tailor.v1.Application application = 1;
|
|
2882
|
-
*/
|
|
2883
|
-
application?: Application;
|
|
2884
|
-
};
|
|
2885
|
-
/**
|
|
2886
|
-
* Describes the message tailor.v1.CreateApplicationResponse.
|
|
2887
|
-
* Use `create(CreateApplicationResponseSchema)` to create a new message.
|
|
2888
|
-
*/
|
|
2889
|
-
declare const CreateApplicationResponseSchema: GenMessage<CreateApplicationResponse>;
|
|
2890
|
-
/**
|
|
2891
|
-
* @generated from message tailor.v1.UpdateApplicationRequest
|
|
2892
|
-
*/
|
|
2893
|
-
declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequest"> & {
|
|
2894
|
-
/**
|
|
2895
|
-
* @generated from field: string workspace_id = 1;
|
|
2896
|
-
*/
|
|
2897
|
-
workspaceId: string;
|
|
2898
|
-
/**
|
|
2899
|
-
* @generated from field: string application_name = 2;
|
|
2900
|
-
*/
|
|
2901
|
-
applicationName: string;
|
|
2902
|
-
/**
|
|
2903
|
-
* optional
|
|
2904
|
-
*
|
|
2905
|
-
* @generated from field: string auth_namespace = 3;
|
|
2906
|
-
*/
|
|
2907
|
-
authNamespace: string;
|
|
2908
|
-
/**
|
|
2909
|
-
* optional
|
|
2910
|
-
*
|
|
2911
|
-
* @generated from field: string auth_idp_config_name = 4;
|
|
2912
|
-
*/
|
|
2913
|
-
authIdpConfigName: string;
|
|
2914
|
-
/**
|
|
2915
|
-
* @generated from field: repeated string cors = 5;
|
|
2916
|
-
*/
|
|
2917
|
-
cors: string[];
|
|
2918
|
-
/**
|
|
2919
|
-
* @generated from field: repeated tailor.v1.Subgraph subgraphs = 6;
|
|
2920
|
-
*/
|
|
2921
|
-
subgraphs: Subgraph[];
|
|
2922
|
-
/**
|
|
2923
|
-
* @generated from field: repeated string allowed_ip_addresses = 7;
|
|
2924
|
-
*/
|
|
2925
|
-
allowedIpAddresses: string[];
|
|
2926
|
-
/**
|
|
2927
|
-
* @generated from field: bool disable_introspection = 8;
|
|
2928
|
-
*/
|
|
2929
|
-
disableIntrospection: boolean;
|
|
2930
|
-
/**
|
|
2931
|
-
* @generated from field: bool disabled = 9;
|
|
2932
|
-
*/
|
|
2933
|
-
disabled: boolean;
|
|
2934
|
-
/**
|
|
2935
|
-
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
2936
|
-
*/
|
|
2937
|
-
httpAdapters: HttpAdapter[];
|
|
2938
|
-
/**
|
|
2939
|
-
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
2940
|
-
*/
|
|
2941
|
-
updateMask?: FieldMask;
|
|
2942
|
-
};
|
|
2943
|
-
/**
|
|
2944
|
-
* Describes the message tailor.v1.UpdateApplicationRequest.
|
|
2945
|
-
* Use `create(UpdateApplicationRequestSchema)` to create a new message.
|
|
2946
|
-
*/
|
|
2947
|
-
declare const UpdateApplicationRequestSchema: GenMessage<UpdateApplicationRequest>;
|
|
2948
|
-
/**
|
|
2949
|
-
* @generated from message tailor.v1.UpdateApplicationResponse
|
|
2950
|
-
*/
|
|
2951
|
-
declare type UpdateApplicationResponse = Message<"tailor.v1.UpdateApplicationResponse"> & {
|
|
2937
|
+
*/
|
|
2938
|
+
createUserId: string;
|
|
2952
2939
|
/**
|
|
2953
|
-
* @generated from field:
|
|
2940
|
+
* @generated from field: string update_user_id = 7;
|
|
2954
2941
|
*/
|
|
2955
|
-
|
|
2956
|
-
};
|
|
2957
|
-
/**
|
|
2958
|
-
* Describes the message tailor.v1.UpdateApplicationResponse.
|
|
2959
|
-
* Use `create(UpdateApplicationResponseSchema)` to create a new message.
|
|
2960
|
-
*/
|
|
2961
|
-
declare const UpdateApplicationResponseSchema: GenMessage<UpdateApplicationResponse>;
|
|
2962
|
-
/**
|
|
2963
|
-
* @generated from message tailor.v1.DeleteApplicationRequest
|
|
2964
|
-
*/
|
|
2965
|
-
declare type DeleteApplicationRequest = Message<"tailor.v1.DeleteApplicationRequest"> & {
|
|
2942
|
+
updateUserId: string;
|
|
2966
2943
|
/**
|
|
2967
|
-
* @generated from field:
|
|
2944
|
+
* @generated from field: google.protobuf.Timestamp create_time = 8;
|
|
2968
2945
|
*/
|
|
2969
|
-
|
|
2946
|
+
createTime?: Timestamp;
|
|
2970
2947
|
/**
|
|
2971
|
-
* @generated from field:
|
|
2948
|
+
* @generated from field: google.protobuf.Timestamp update_time = 9;
|
|
2972
2949
|
*/
|
|
2973
|
-
|
|
2974
|
-
};
|
|
2975
|
-
/**
|
|
2976
|
-
* Describes the message tailor.v1.DeleteApplicationRequest.
|
|
2977
|
-
* Use `create(DeleteApplicationRequestSchema)` to create a new message.
|
|
2978
|
-
*/
|
|
2979
|
-
declare const DeleteApplicationRequestSchema: GenMessage<DeleteApplicationRequest>;
|
|
2980
|
-
/**
|
|
2981
|
-
* @generated from message tailor.v1.DeleteApplicationResponse
|
|
2982
|
-
*/
|
|
2983
|
-
declare type DeleteApplicationResponse = Message<"tailor.v1.DeleteApplicationResponse"> & {};
|
|
2984
|
-
/**
|
|
2985
|
-
* Describes the message tailor.v1.DeleteApplicationResponse.
|
|
2986
|
-
* Use `create(DeleteApplicationResponseSchema)` to create a new message.
|
|
2987
|
-
*/
|
|
2988
|
-
declare const DeleteApplicationResponseSchema: GenMessage<DeleteApplicationResponse>;
|
|
2989
|
-
/**
|
|
2990
|
-
* @generated from message tailor.v1.ListApplicationsRequest
|
|
2991
|
-
*/
|
|
2992
|
-
declare type ListApplicationsRequest = Message<"tailor.v1.ListApplicationsRequest"> & {
|
|
2950
|
+
updateTime?: Timestamp;
|
|
2993
2951
|
/**
|
|
2994
|
-
*
|
|
2952
|
+
* The base URL of the application
|
|
2953
|
+
*
|
|
2954
|
+
* @generated from field: string url = 10;
|
|
2995
2955
|
*/
|
|
2996
|
-
|
|
2956
|
+
url: string;
|
|
2997
2957
|
/**
|
|
2998
|
-
* @generated from field:
|
|
2958
|
+
* @generated from field: bool disable_introspection = 12;
|
|
2999
2959
|
*/
|
|
3000
|
-
|
|
2960
|
+
disableIntrospection: boolean;
|
|
3001
2961
|
/**
|
|
3002
|
-
* @generated from field:
|
|
2962
|
+
* @generated from field: bool disabled = 13;
|
|
3003
2963
|
*/
|
|
3004
|
-
|
|
2964
|
+
disabled: boolean;
|
|
3005
2965
|
/**
|
|
3006
|
-
* @generated from field:
|
|
2966
|
+
* @generated from field: string auth_idp_config_name = 14;
|
|
3007
2967
|
*/
|
|
3008
|
-
|
|
2968
|
+
authIdpConfigName: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 15;
|
|
2971
|
+
*/
|
|
2972
|
+
httpAdapters: HttpAdapter[];
|
|
3009
2973
|
};
|
|
3010
2974
|
/**
|
|
3011
|
-
*
|
|
3012
|
-
* Use `create(ListApplicationsRequestSchema)` to create a new message.
|
|
3013
|
-
*/
|
|
3014
|
-
declare const ListApplicationsRequestSchema: GenMessage<ListApplicationsRequest>;
|
|
3015
|
-
/**
|
|
3016
|
-
* @generated from message tailor.v1.ListApplicationsResponse
|
|
2975
|
+
* @generated from message tailor.v1.ApplicationSchemaUpdateAttempt
|
|
3017
2976
|
*/
|
|
3018
|
-
declare type
|
|
2977
|
+
declare type ApplicationSchemaUpdateAttempt = Message<"tailor.v1.ApplicationSchemaUpdateAttempt"> & {
|
|
3019
2978
|
/**
|
|
3020
|
-
*
|
|
2979
|
+
* The timestamp of when the schema update attempted.
|
|
2980
|
+
*
|
|
2981
|
+
* @generated from field: google.protobuf.Timestamp attempt_time = 1;
|
|
3021
2982
|
*/
|
|
3022
|
-
|
|
2983
|
+
attemptTime?: Timestamp;
|
|
3023
2984
|
/**
|
|
3024
|
-
*
|
|
2985
|
+
* The result of the schema update attempted.
|
|
2986
|
+
*
|
|
2987
|
+
* @generated from field: tailor.v1.ApplicationSchemaUpdateAttemptStatus status = 2;
|
|
3025
2988
|
*/
|
|
3026
|
-
|
|
2989
|
+
status: ApplicationSchemaUpdateAttemptStatus;
|
|
3027
2990
|
/**
|
|
3028
|
-
*
|
|
2991
|
+
* The error (reason) of the schema update failed. (empty if it succeeded)
|
|
2992
|
+
*
|
|
2993
|
+
* @generated from field: string error = 3;
|
|
3029
2994
|
*/
|
|
3030
|
-
|
|
2995
|
+
error: string;
|
|
3031
2996
|
};
|
|
3032
2997
|
/**
|
|
3033
|
-
*
|
|
3034
|
-
* Use `create(ListApplicationsResponseSchema)` to create a new message.
|
|
3035
|
-
*/
|
|
3036
|
-
declare const ListApplicationsResponseSchema: GenMessage<ListApplicationsResponse>;
|
|
3037
|
-
/**
|
|
3038
|
-
* @generated from message tailor.v1.GetApplicationRequest
|
|
2998
|
+
* @generated from message tailor.v1.Subgraph
|
|
3039
2999
|
*/
|
|
3040
|
-
declare type
|
|
3000
|
+
declare type Subgraph = Message<"tailor.v1.Subgraph"> & {
|
|
3041
3001
|
/**
|
|
3042
|
-
* @generated from field:
|
|
3002
|
+
* @generated from field: tailor.v1.Subgraph.ServiceType service_type = 1;
|
|
3043
3003
|
*/
|
|
3044
|
-
|
|
3004
|
+
serviceType: Subgraph_ServiceType;
|
|
3045
3005
|
/**
|
|
3046
|
-
* @generated from field: string
|
|
3006
|
+
* @generated from field: string service_namespace = 2;
|
|
3047
3007
|
*/
|
|
3048
|
-
|
|
3008
|
+
serviceNamespace: string;
|
|
3049
3009
|
};
|
|
3050
3010
|
/**
|
|
3051
|
-
*
|
|
3052
|
-
* Use `create(GetApplicationRequestSchema)` to create a new message.
|
|
3053
|
-
*/
|
|
3054
|
-
declare const GetApplicationRequestSchema: GenMessage<GetApplicationRequest>;
|
|
3055
|
-
/**
|
|
3056
|
-
* @generated from message tailor.v1.GetApplicationResponse
|
|
3011
|
+
* @generated from enum tailor.v1.Subgraph.ServiceType
|
|
3057
3012
|
*/
|
|
3058
|
-
declare
|
|
3013
|
+
declare enum Subgraph_ServiceType {
|
|
3059
3014
|
/**
|
|
3060
|
-
* @generated from
|
|
3015
|
+
* @generated from enum value: SERVICE_TYPE_UNSPECIFIED = 0;
|
|
3061
3016
|
*/
|
|
3062
|
-
|
|
3063
|
-
};
|
|
3064
|
-
/**
|
|
3065
|
-
* Describes the message tailor.v1.GetApplicationResponse.
|
|
3066
|
-
* Use `create(GetApplicationResponseSchema)` to create a new message.
|
|
3067
|
-
*/
|
|
3068
|
-
declare const GetApplicationResponseSchema: GenMessage<GetApplicationResponse>;
|
|
3069
|
-
/**
|
|
3070
|
-
* @generated from message tailor.v1.GetApplicationSchemaHealthRequest
|
|
3071
|
-
*/
|
|
3072
|
-
declare type GetApplicationSchemaHealthRequest = Message<"tailor.v1.GetApplicationSchemaHealthRequest"> & {
|
|
3017
|
+
UNSPECIFIED = 0,
|
|
3073
3018
|
/**
|
|
3074
|
-
* @generated from
|
|
3019
|
+
* @generated from enum value: SERVICE_TYPE_PIPELINE = 1;
|
|
3075
3020
|
*/
|
|
3076
|
-
|
|
3021
|
+
PIPELINE = 1,
|
|
3077
3022
|
/**
|
|
3078
|
-
* @generated from
|
|
3023
|
+
* @generated from enum value: SERVICE_TYPE_STATEFLOW = 2;
|
|
3079
3024
|
*/
|
|
3080
|
-
|
|
3081
|
-
};
|
|
3082
|
-
/**
|
|
3083
|
-
* Describes the message tailor.v1.GetApplicationSchemaHealthRequest.
|
|
3084
|
-
* Use `create(GetApplicationSchemaHealthRequestSchema)` to create a new message.
|
|
3085
|
-
*/
|
|
3086
|
-
declare const GetApplicationSchemaHealthRequestSchema: GenMessage<GetApplicationSchemaHealthRequest>;
|
|
3087
|
-
/**
|
|
3088
|
-
* @generated from message tailor.v1.GetApplicationSchemaHealthResponse
|
|
3089
|
-
*/
|
|
3090
|
-
declare type GetApplicationSchemaHealthResponse = Message<"tailor.v1.GetApplicationSchemaHealthResponse"> & {
|
|
3025
|
+
STATEFLOW = 2,
|
|
3091
3026
|
/**
|
|
3092
|
-
* @generated from
|
|
3027
|
+
* @generated from enum value: SERVICE_TYPE_TAILORDB = 3;
|
|
3093
3028
|
*/
|
|
3094
|
-
|
|
3029
|
+
TAILORDB = 3,
|
|
3095
3030
|
/**
|
|
3096
|
-
*
|
|
3097
|
-
*
|
|
3098
|
-
* @generated from field: google.protobuf.Timestamp current_serving_schema_update_time = 2;
|
|
3031
|
+
* @generated from enum value: SERVICE_TYPE_AUTH = 4;
|
|
3099
3032
|
*/
|
|
3100
|
-
|
|
3033
|
+
AUTH = 4,
|
|
3101
3034
|
/**
|
|
3102
|
-
* @generated from
|
|
3035
|
+
* @generated from enum value: SERVICE_TYPE_AI = 5;
|
|
3103
3036
|
*/
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
declare const GetApplicationSchemaHealthResponseSchema: GenMessage<GetApplicationSchemaHealthResponse>;
|
|
3037
|
+
AI = 5,
|
|
3038
|
+
/**
|
|
3039
|
+
* @generated from enum value: SERVICE_TYPE_IDP = 6;
|
|
3040
|
+
*/
|
|
3041
|
+
IDP = 6
|
|
3042
|
+
}
|
|
3111
3043
|
/**
|
|
3112
|
-
* @generated from enum tailor.v1.
|
|
3044
|
+
* @generated from enum tailor.v1.ApplicationSchemaUpdateAttemptStatus
|
|
3113
3045
|
*/
|
|
3114
|
-
declare enum
|
|
3046
|
+
declare enum ApplicationSchemaUpdateAttemptStatus {
|
|
3115
3047
|
/**
|
|
3116
|
-
* @generated from enum value:
|
|
3048
|
+
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_UNSPECIFIED = 0;
|
|
3117
3049
|
*/
|
|
3118
3050
|
UNSPECIFIED = 0,
|
|
3119
3051
|
/**
|
|
3120
|
-
* @generated from enum value:
|
|
3052
|
+
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_SUCCEEDED = 1;
|
|
3121
3053
|
*/
|
|
3122
|
-
|
|
3054
|
+
SUCCEEDED = 1,
|
|
3123
3055
|
/**
|
|
3124
|
-
* @generated from enum value:
|
|
3056
|
+
* @generated from enum value: APPLICATION_SCHEMA_UPDATE_ATTEMPT_STATUS_FAILED = 2;
|
|
3125
3057
|
*/
|
|
3126
|
-
|
|
3058
|
+
FAILED = 2
|
|
3127
3059
|
}
|
|
3128
3060
|
//#endregion
|
|
3129
|
-
//#region ../tailor-proto/src/tailor/v1/
|
|
3061
|
+
//#region ../tailor-proto/src/tailor/v1/application_pb.d.ts
|
|
3130
3062
|
/**
|
|
3131
|
-
* @generated from message tailor.v1.
|
|
3063
|
+
* @generated from message tailor.v1.CreateApplicationRequest
|
|
3132
3064
|
*/
|
|
3133
|
-
declare type
|
|
3065
|
+
declare type CreateApplicationRequest = Message<"tailor.v1.CreateApplicationRequest"> & {
|
|
3134
3066
|
/**
|
|
3135
|
-
* @generated from field: string
|
|
3067
|
+
* @generated from field: string workspace_id = 1;
|
|
3136
3068
|
*/
|
|
3137
|
-
|
|
3069
|
+
workspaceId: string;
|
|
3138
3070
|
/**
|
|
3139
|
-
* @generated from field: string
|
|
3071
|
+
* @generated from field: string application_name = 2;
|
|
3140
3072
|
*/
|
|
3141
|
-
|
|
3073
|
+
applicationName: string;
|
|
3142
3074
|
/**
|
|
3075
|
+
* optional
|
|
3076
|
+
*
|
|
3143
3077
|
* @generated from field: string auth_namespace = 3;
|
|
3144
3078
|
*/
|
|
3145
3079
|
authNamespace: string;
|
|
3146
3080
|
/**
|
|
3147
|
-
*
|
|
3081
|
+
* optional
|
|
3082
|
+
*
|
|
3083
|
+
* @generated from field: string auth_idp_config_name = 4;
|
|
3148
3084
|
*/
|
|
3149
|
-
|
|
3085
|
+
authIdpConfigName: string;
|
|
3150
3086
|
/**
|
|
3151
|
-
* @generated from field:
|
|
3087
|
+
* @generated from field: repeated string cors = 5;
|
|
3152
3088
|
*/
|
|
3153
|
-
|
|
3089
|
+
cors: string[];
|
|
3154
3090
|
/**
|
|
3155
|
-
*
|
|
3156
|
-
* - `*` — any origin (any scheme, any host).
|
|
3157
|
-
* - `http(s)://*` — any host on the given scheme.
|
|
3158
|
-
* - `http(s)://*.example.com`— any subdomain of example.com on the given scheme.
|
|
3159
|
-
* - `http(s)://app.example.com` — an exact origin.
|
|
3160
|
-
* An optional `:port` may be appended in all URL forms. Empty list
|
|
3161
|
-
* disables cross-origin access (browsers will block any cross-origin
|
|
3162
|
-
* reads).
|
|
3163
|
-
*
|
|
3164
|
-
* @generated from field: repeated string cors = 6;
|
|
3091
|
+
* @generated from field: repeated tailor.v1.Subgraph subgraphs = 6;
|
|
3165
3092
|
*/
|
|
3166
|
-
|
|
3167
|
-
};
|
|
3168
|
-
//#endregion
|
|
3169
|
-
//#region ../tailor-proto/src/tailor/v1/aigateway_pb.d.ts
|
|
3170
|
-
/**
|
|
3171
|
-
* @generated from message tailor.v1.CreateAIGatewayRequest
|
|
3172
|
-
*/
|
|
3173
|
-
declare type CreateAIGatewayRequest = Message<"tailor.v1.CreateAIGatewayRequest"> & {
|
|
3093
|
+
subgraphs: Subgraph[];
|
|
3174
3094
|
/**
|
|
3175
|
-
* @generated from field: string
|
|
3095
|
+
* @generated from field: repeated string allowed_ip_addresses = 7;
|
|
3176
3096
|
*/
|
|
3177
|
-
|
|
3097
|
+
allowedIpAddresses: string[];
|
|
3178
3098
|
/**
|
|
3179
|
-
* @generated from field:
|
|
3099
|
+
* @generated from field: bool disable_introspection = 8;
|
|
3180
3100
|
*/
|
|
3181
|
-
|
|
3101
|
+
disableIntrospection: boolean;
|
|
3182
3102
|
/**
|
|
3183
|
-
* @generated from field:
|
|
3103
|
+
* @generated from field: bool disabled = 9;
|
|
3184
3104
|
*/
|
|
3185
|
-
|
|
3105
|
+
disabled: boolean;
|
|
3186
3106
|
/**
|
|
3187
|
-
* @generated from field: repeated
|
|
3107
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
3188
3108
|
*/
|
|
3189
|
-
|
|
3109
|
+
httpAdapters: HttpAdapter[];
|
|
3190
3110
|
};
|
|
3191
3111
|
/**
|
|
3192
|
-
* Describes the message tailor.v1.
|
|
3193
|
-
* Use `create(
|
|
3112
|
+
* Describes the message tailor.v1.CreateApplicationRequest.
|
|
3113
|
+
* Use `create(CreateApplicationRequestSchema)` to create a new message.
|
|
3194
3114
|
*/
|
|
3195
|
-
declare const
|
|
3115
|
+
declare const CreateApplicationRequestSchema: GenMessage<CreateApplicationRequest>;
|
|
3196
3116
|
/**
|
|
3197
|
-
* @generated from message tailor.v1.
|
|
3117
|
+
* @generated from message tailor.v1.CreateApplicationResponse
|
|
3198
3118
|
*/
|
|
3199
|
-
declare type
|
|
3119
|
+
declare type CreateApplicationResponse = Message<"tailor.v1.CreateApplicationResponse"> & {
|
|
3200
3120
|
/**
|
|
3201
|
-
* @generated from field: tailor.v1.
|
|
3121
|
+
* @generated from field: tailor.v1.Application application = 1;
|
|
3202
3122
|
*/
|
|
3203
|
-
|
|
3123
|
+
application?: Application;
|
|
3204
3124
|
};
|
|
3205
3125
|
/**
|
|
3206
|
-
* Describes the message tailor.v1.
|
|
3207
|
-
* Use `create(
|
|
3126
|
+
* Describes the message tailor.v1.CreateApplicationResponse.
|
|
3127
|
+
* Use `create(CreateApplicationResponseSchema)` to create a new message.
|
|
3208
3128
|
*/
|
|
3209
|
-
declare const
|
|
3129
|
+
declare const CreateApplicationResponseSchema: GenMessage<CreateApplicationResponse>;
|
|
3210
3130
|
/**
|
|
3211
|
-
* @generated from message tailor.v1.
|
|
3131
|
+
* @generated from message tailor.v1.UpdateApplicationRequest
|
|
3212
3132
|
*/
|
|
3213
|
-
declare type
|
|
3133
|
+
declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequest"> & {
|
|
3214
3134
|
/**
|
|
3215
3135
|
* @generated from field: string workspace_id = 1;
|
|
3216
3136
|
*/
|
|
3217
3137
|
workspaceId: string;
|
|
3218
3138
|
/**
|
|
3219
|
-
* @generated from field: string
|
|
3139
|
+
* @generated from field: string application_name = 2;
|
|
3220
3140
|
*/
|
|
3221
|
-
|
|
3141
|
+
applicationName: string;
|
|
3222
3142
|
/**
|
|
3143
|
+
* optional
|
|
3144
|
+
*
|
|
3223
3145
|
* @generated from field: string auth_namespace = 3;
|
|
3224
3146
|
*/
|
|
3225
3147
|
authNamespace: string;
|
|
3226
3148
|
/**
|
|
3227
|
-
*
|
|
3149
|
+
* optional
|
|
3150
|
+
*
|
|
3151
|
+
* @generated from field: string auth_idp_config_name = 4;
|
|
3152
|
+
*/
|
|
3153
|
+
authIdpConfigName: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* @generated from field: repeated string cors = 5;
|
|
3228
3156
|
*/
|
|
3229
3157
|
cors: string[];
|
|
3158
|
+
/**
|
|
3159
|
+
* @generated from field: repeated tailor.v1.Subgraph subgraphs = 6;
|
|
3160
|
+
*/
|
|
3161
|
+
subgraphs: Subgraph[];
|
|
3162
|
+
/**
|
|
3163
|
+
* @generated from field: repeated string allowed_ip_addresses = 7;
|
|
3164
|
+
*/
|
|
3165
|
+
allowedIpAddresses: string[];
|
|
3166
|
+
/**
|
|
3167
|
+
* @generated from field: bool disable_introspection = 8;
|
|
3168
|
+
*/
|
|
3169
|
+
disableIntrospection: boolean;
|
|
3170
|
+
/**
|
|
3171
|
+
* @generated from field: bool disabled = 9;
|
|
3172
|
+
*/
|
|
3173
|
+
disabled: boolean;
|
|
3174
|
+
/**
|
|
3175
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
3176
|
+
*/
|
|
3177
|
+
httpAdapters: HttpAdapter[];
|
|
3230
3178
|
/**
|
|
3231
3179
|
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
3232
3180
|
*/
|
|
3233
3181
|
updateMask?: FieldMask;
|
|
3234
3182
|
};
|
|
3235
3183
|
/**
|
|
3236
|
-
* Describes the message tailor.v1.
|
|
3237
|
-
* Use `create(
|
|
3184
|
+
* Describes the message tailor.v1.UpdateApplicationRequest.
|
|
3185
|
+
* Use `create(UpdateApplicationRequestSchema)` to create a new message.
|
|
3238
3186
|
*/
|
|
3239
|
-
declare const
|
|
3187
|
+
declare const UpdateApplicationRequestSchema: GenMessage<UpdateApplicationRequest>;
|
|
3240
3188
|
/**
|
|
3241
|
-
* @generated from message tailor.v1.
|
|
3189
|
+
* @generated from message tailor.v1.UpdateApplicationResponse
|
|
3242
3190
|
*/
|
|
3243
|
-
declare type
|
|
3191
|
+
declare type UpdateApplicationResponse = Message<"tailor.v1.UpdateApplicationResponse"> & {
|
|
3244
3192
|
/**
|
|
3245
|
-
* @generated from field: tailor.v1.
|
|
3193
|
+
* @generated from field: tailor.v1.Application application = 1;
|
|
3246
3194
|
*/
|
|
3247
|
-
|
|
3195
|
+
application?: Application;
|
|
3248
3196
|
};
|
|
3249
3197
|
/**
|
|
3250
|
-
* Describes the message tailor.v1.
|
|
3251
|
-
* Use `create(
|
|
3198
|
+
* Describes the message tailor.v1.UpdateApplicationResponse.
|
|
3199
|
+
* Use `create(UpdateApplicationResponseSchema)` to create a new message.
|
|
3252
3200
|
*/
|
|
3253
|
-
declare const
|
|
3201
|
+
declare const UpdateApplicationResponseSchema: GenMessage<UpdateApplicationResponse>;
|
|
3254
3202
|
/**
|
|
3255
|
-
* @generated from message tailor.v1.
|
|
3203
|
+
* @generated from message tailor.v1.DeleteApplicationRequest
|
|
3256
3204
|
*/
|
|
3257
|
-
declare type
|
|
3205
|
+
declare type DeleteApplicationRequest = Message<"tailor.v1.DeleteApplicationRequest"> & {
|
|
3258
3206
|
/**
|
|
3259
3207
|
* @generated from field: string workspace_id = 1;
|
|
3260
3208
|
*/
|
|
3261
3209
|
workspaceId: string;
|
|
3262
3210
|
/**
|
|
3263
|
-
* @generated from field: string
|
|
3211
|
+
* @generated from field: string application_name = 2;
|
|
3264
3212
|
*/
|
|
3265
|
-
|
|
3213
|
+
applicationName: string;
|
|
3266
3214
|
};
|
|
3267
3215
|
/**
|
|
3268
|
-
* Describes the message tailor.v1.
|
|
3269
|
-
* Use `create(
|
|
3216
|
+
* Describes the message tailor.v1.DeleteApplicationRequest.
|
|
3217
|
+
* Use `create(DeleteApplicationRequestSchema)` to create a new message.
|
|
3270
3218
|
*/
|
|
3271
|
-
declare const
|
|
3219
|
+
declare const DeleteApplicationRequestSchema: GenMessage<DeleteApplicationRequest>;
|
|
3272
3220
|
/**
|
|
3273
|
-
* @generated from message tailor.v1.
|
|
3221
|
+
* @generated from message tailor.v1.DeleteApplicationResponse
|
|
3274
3222
|
*/
|
|
3275
|
-
declare type
|
|
3223
|
+
declare type DeleteApplicationResponse = Message<"tailor.v1.DeleteApplicationResponse"> & {};
|
|
3276
3224
|
/**
|
|
3277
|
-
* Describes the message tailor.v1.
|
|
3278
|
-
* Use `create(
|
|
3225
|
+
* Describes the message tailor.v1.DeleteApplicationResponse.
|
|
3226
|
+
* Use `create(DeleteApplicationResponseSchema)` to create a new message.
|
|
3279
3227
|
*/
|
|
3280
|
-
declare const
|
|
3228
|
+
declare const DeleteApplicationResponseSchema: GenMessage<DeleteApplicationResponse>;
|
|
3281
3229
|
/**
|
|
3282
|
-
* @generated from message tailor.v1.
|
|
3230
|
+
* @generated from message tailor.v1.ListApplicationsRequest
|
|
3283
3231
|
*/
|
|
3284
|
-
declare type
|
|
3232
|
+
declare type ListApplicationsRequest = Message<"tailor.v1.ListApplicationsRequest"> & {
|
|
3285
3233
|
/**
|
|
3286
3234
|
* @generated from field: string workspace_id = 1;
|
|
3287
3235
|
*/
|
|
3288
3236
|
workspaceId: string;
|
|
3289
3237
|
/**
|
|
3290
|
-
* @generated from field: string
|
|
3238
|
+
* @generated from field: string page_token = 2;
|
|
3291
3239
|
*/
|
|
3292
|
-
|
|
3240
|
+
pageToken: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* @generated from field: uint32 page_size = 3;
|
|
3243
|
+
*/
|
|
3244
|
+
pageSize: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
3247
|
+
*/
|
|
3248
|
+
pageDirection: PageDirection;
|
|
3293
3249
|
};
|
|
3294
3250
|
/**
|
|
3295
|
-
* Describes the message tailor.v1.
|
|
3296
|
-
* Use `create(
|
|
3251
|
+
* Describes the message tailor.v1.ListApplicationsRequest.
|
|
3252
|
+
* Use `create(ListApplicationsRequestSchema)` to create a new message.
|
|
3297
3253
|
*/
|
|
3298
|
-
declare const
|
|
3254
|
+
declare const ListApplicationsRequestSchema: GenMessage<ListApplicationsRequest>;
|
|
3299
3255
|
/**
|
|
3300
|
-
* @generated from message tailor.v1.
|
|
3256
|
+
* @generated from message tailor.v1.ListApplicationsResponse
|
|
3301
3257
|
*/
|
|
3302
|
-
declare type
|
|
3258
|
+
declare type ListApplicationsResponse = Message<"tailor.v1.ListApplicationsResponse"> & {
|
|
3303
3259
|
/**
|
|
3304
|
-
* @generated from field: tailor.v1.
|
|
3260
|
+
* @generated from field: repeated tailor.v1.Application applications = 1;
|
|
3305
3261
|
*/
|
|
3306
|
-
|
|
3262
|
+
applications: Application[];
|
|
3263
|
+
/**
|
|
3264
|
+
* @generated from field: string next_page_token = 2;
|
|
3265
|
+
*/
|
|
3266
|
+
nextPageToken: string;
|
|
3267
|
+
/**
|
|
3268
|
+
* @generated from field: int64 total_count = 3;
|
|
3269
|
+
*/
|
|
3270
|
+
totalCount: bigint;
|
|
3307
3271
|
};
|
|
3308
3272
|
/**
|
|
3309
|
-
* Describes the message tailor.v1.
|
|
3310
|
-
* Use `create(
|
|
3273
|
+
* Describes the message tailor.v1.ListApplicationsResponse.
|
|
3274
|
+
* Use `create(ListApplicationsResponseSchema)` to create a new message.
|
|
3311
3275
|
*/
|
|
3312
|
-
declare const
|
|
3276
|
+
declare const ListApplicationsResponseSchema: GenMessage<ListApplicationsResponse>;
|
|
3313
3277
|
/**
|
|
3314
|
-
* @generated from message tailor.v1.
|
|
3278
|
+
* @generated from message tailor.v1.GetApplicationRequest
|
|
3315
3279
|
*/
|
|
3316
|
-
declare type
|
|
3280
|
+
declare type GetApplicationRequest = Message<"tailor.v1.GetApplicationRequest"> & {
|
|
3317
3281
|
/**
|
|
3318
3282
|
* @generated from field: string workspace_id = 1;
|
|
3319
3283
|
*/
|
|
3320
3284
|
workspaceId: string;
|
|
3321
3285
|
/**
|
|
3322
|
-
* @generated from field: string
|
|
3286
|
+
* @generated from field: string application_name = 2;
|
|
3323
3287
|
*/
|
|
3324
|
-
|
|
3288
|
+
applicationName: string;
|
|
3289
|
+
};
|
|
3290
|
+
/**
|
|
3291
|
+
* Describes the message tailor.v1.GetApplicationRequest.
|
|
3292
|
+
* Use `create(GetApplicationRequestSchema)` to create a new message.
|
|
3293
|
+
*/
|
|
3294
|
+
declare const GetApplicationRequestSchema: GenMessage<GetApplicationRequest>;
|
|
3295
|
+
/**
|
|
3296
|
+
* @generated from message tailor.v1.GetApplicationResponse
|
|
3297
|
+
*/
|
|
3298
|
+
declare type GetApplicationResponse = Message<"tailor.v1.GetApplicationResponse"> & {
|
|
3325
3299
|
/**
|
|
3326
|
-
* @generated from field:
|
|
3300
|
+
* @generated from field: tailor.v1.Application application = 1;
|
|
3327
3301
|
*/
|
|
3328
|
-
|
|
3302
|
+
application?: Application;
|
|
3303
|
+
};
|
|
3304
|
+
/**
|
|
3305
|
+
* Describes the message tailor.v1.GetApplicationResponse.
|
|
3306
|
+
* Use `create(GetApplicationResponseSchema)` to create a new message.
|
|
3307
|
+
*/
|
|
3308
|
+
declare const GetApplicationResponseSchema: GenMessage<GetApplicationResponse>;
|
|
3309
|
+
/**
|
|
3310
|
+
* @generated from message tailor.v1.GetApplicationSchemaHealthRequest
|
|
3311
|
+
*/
|
|
3312
|
+
declare type GetApplicationSchemaHealthRequest = Message<"tailor.v1.GetApplicationSchemaHealthRequest"> & {
|
|
3329
3313
|
/**
|
|
3330
|
-
* @generated from field:
|
|
3314
|
+
* @generated from field: string workspace_id = 1;
|
|
3331
3315
|
*/
|
|
3332
|
-
|
|
3316
|
+
workspaceId: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* @generated from field: string application_name = 2;
|
|
3319
|
+
*/
|
|
3320
|
+
applicationName: string;
|
|
3333
3321
|
};
|
|
3334
3322
|
/**
|
|
3335
|
-
* Describes the message tailor.v1.
|
|
3336
|
-
* Use `create(
|
|
3323
|
+
* Describes the message tailor.v1.GetApplicationSchemaHealthRequest.
|
|
3324
|
+
* Use `create(GetApplicationSchemaHealthRequestSchema)` to create a new message.
|
|
3337
3325
|
*/
|
|
3338
|
-
declare const
|
|
3326
|
+
declare const GetApplicationSchemaHealthRequestSchema: GenMessage<GetApplicationSchemaHealthRequest>;
|
|
3339
3327
|
/**
|
|
3340
|
-
* @generated from message tailor.v1.
|
|
3328
|
+
* @generated from message tailor.v1.GetApplicationSchemaHealthResponse
|
|
3341
3329
|
*/
|
|
3342
|
-
declare type
|
|
3330
|
+
declare type GetApplicationSchemaHealthResponse = Message<"tailor.v1.GetApplicationSchemaHealthResponse"> & {
|
|
3343
3331
|
/**
|
|
3344
|
-
* @generated from field:
|
|
3332
|
+
* @generated from field: tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus status = 1;
|
|
3345
3333
|
*/
|
|
3346
|
-
|
|
3334
|
+
status: GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus;
|
|
3347
3335
|
/**
|
|
3348
|
-
*
|
|
3336
|
+
* The timestamp of when the current serving schema updated.
|
|
3337
|
+
*
|
|
3338
|
+
* @generated from field: google.protobuf.Timestamp current_serving_schema_update_time = 2;
|
|
3349
3339
|
*/
|
|
3350
|
-
|
|
3340
|
+
currentServingSchemaUpdateTime?: Timestamp;
|
|
3351
3341
|
/**
|
|
3352
|
-
* @generated from field:
|
|
3342
|
+
* @generated from field: tailor.v1.ApplicationSchemaUpdateAttempt last_schema_update_attempt = 3;
|
|
3353
3343
|
*/
|
|
3354
|
-
|
|
3344
|
+
lastSchemaUpdateAttempt?: ApplicationSchemaUpdateAttempt;
|
|
3355
3345
|
};
|
|
3356
3346
|
/**
|
|
3357
|
-
* Describes the message tailor.v1.
|
|
3358
|
-
* Use `create(
|
|
3347
|
+
* Describes the message tailor.v1.GetApplicationSchemaHealthResponse.
|
|
3348
|
+
* Use `create(GetApplicationSchemaHealthResponseSchema)` to create a new message.
|
|
3359
3349
|
*/
|
|
3360
|
-
declare const
|
|
3350
|
+
declare const GetApplicationSchemaHealthResponseSchema: GenMessage<GetApplicationSchemaHealthResponse>;
|
|
3351
|
+
/**
|
|
3352
|
+
* @generated from enum tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus
|
|
3353
|
+
*/
|
|
3354
|
+
declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus {
|
|
3355
|
+
/**
|
|
3356
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_UNSPECIFIED = 0;
|
|
3357
|
+
*/
|
|
3358
|
+
UNSPECIFIED = 0,
|
|
3359
|
+
/**
|
|
3360
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_OK = 1;
|
|
3361
|
+
*/
|
|
3362
|
+
OK = 1,
|
|
3363
|
+
/**
|
|
3364
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_COMPOSITION_ERROR = 2;
|
|
3365
|
+
*/
|
|
3366
|
+
COMPOSITION_ERROR = 2
|
|
3367
|
+
}
|
|
3361
3368
|
//#endregion
|
|
3362
3369
|
//#region ../tailor-proto/src/tailor/v1/tailordb_resource_pb.d.ts
|
|
3363
3370
|
/**
|
|
@@ -11398,8 +11405,9 @@ declare type ListMeterAITokenUsagesResponse_TokenUsage = Message<"tailor.v1.List
|
|
|
11398
11405
|
*/
|
|
11399
11406
|
aigatewayName: string;
|
|
11400
11407
|
/**
|
|
11401
|
-
*
|
|
11402
|
-
* "gemini-
|
|
11408
|
+
* Request model name as the caller wrote it in their SDK call, e.g.
|
|
11409
|
+
* "gpt-4o-mini", "gemini-2.5-flash", "claude-sonnet-4-6". Stable across
|
|
11410
|
+
* provider-side alias rotations.
|
|
11403
11411
|
*
|
|
11404
11412
|
* @generated from field: string model = 2;
|
|
11405
11413
|
*/
|
|
@@ -19181,31 +19189,14 @@ interface LoadConfigOptions {
|
|
|
19181
19189
|
/** Import cache-busting value for watch-mode reloads. */
|
|
19182
19190
|
importNonce?: string;
|
|
19183
19191
|
}
|
|
19184
|
-
|
|
19185
|
-
|
|
19186
|
-
description: z.ZodString;
|
|
19187
|
-
dependencies: z.ZodArray<z.ZodEnum<{
|
|
19188
|
-
executor: "executor";
|
|
19189
|
-
tailordb: "tailordb";
|
|
19190
|
-
resolver: "resolver";
|
|
19191
|
-
}>>;
|
|
19192
|
-
processType: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
19193
|
-
processResolver: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
19194
|
-
processExecutor: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
19195
|
-
processTailorDBNamespace: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
19196
|
-
processResolverNamespace: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
19197
|
-
aggregate: z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodAny>;
|
|
19198
|
-
}, z.core.$strip>, "CodeGenerator", "out">;
|
|
19199
|
-
type Generator = z.output<typeof GeneratorConfigSchema>;
|
|
19200
|
-
/**
|
|
19201
|
-
* Load Tailor configuration file and associated generators and plugins.
|
|
19192
|
+
/**
|
|
19193
|
+
* Load Tailor configuration file and associated plugins.
|
|
19202
19194
|
* @param configPath - Optional explicit config path
|
|
19203
19195
|
* @param options - Optional module import behavior.
|
|
19204
|
-
* @returns Loaded config,
|
|
19196
|
+
* @returns Loaded config, plugins, and config path
|
|
19205
19197
|
*/
|
|
19206
19198
|
declare function loadConfig(configPath?: string, options?: LoadConfigOptions): Promise<{
|
|
19207
19199
|
config: LoadedConfig;
|
|
19208
|
-
generators: Generator[];
|
|
19209
19200
|
plugins: Plugin[];
|
|
19210
19201
|
}>;
|
|
19211
19202
|
//#endregion
|
|
@@ -19744,126 +19735,6 @@ declare function deploy(options?: DeployOptions): Promise<{
|
|
|
19744
19735
|
bundledScripts: BundledScripts;
|
|
19745
19736
|
} | undefined>;
|
|
19746
19737
|
//#endregion
|
|
19747
|
-
//#region src/cli/commands/generate/types.d.ts
|
|
19748
|
-
interface GeneratedFile {
|
|
19749
|
-
path: string;
|
|
19750
|
-
content: string;
|
|
19751
|
-
skipIfExists?: boolean;
|
|
19752
|
-
executable?: boolean;
|
|
19753
|
-
}
|
|
19754
|
-
interface GeneratorResult {
|
|
19755
|
-
files: GeneratedFile[];
|
|
19756
|
-
errors?: string[];
|
|
19757
|
-
}
|
|
19758
|
-
interface TailorDBNamespaceResult<T> {
|
|
19759
|
-
namespace: string;
|
|
19760
|
-
types: T;
|
|
19761
|
-
}
|
|
19762
|
-
interface ResolverNamespaceResult<R> {
|
|
19763
|
-
namespace: string;
|
|
19764
|
-
resolvers: R;
|
|
19765
|
-
}
|
|
19766
|
-
interface GeneratorAuthInput {
|
|
19767
|
-
name: string;
|
|
19768
|
-
userProfile?: {
|
|
19769
|
-
typeName: string;
|
|
19770
|
-
namespace: string;
|
|
19771
|
-
usernameField: string;
|
|
19772
|
-
};
|
|
19773
|
-
machineUsers?: Record<string, {
|
|
19774
|
-
attributes?: Record<string, unknown>;
|
|
19775
|
-
}>;
|
|
19776
|
-
oauth2Clients?: Record<string, OAuth2Client$1>;
|
|
19777
|
-
idProvider?: IdProvider;
|
|
19778
|
-
}
|
|
19779
|
-
type DependencyKind = "tailordb" | "resolver" | "executor";
|
|
19780
|
-
type ArrayIncludes<T extends readonly unknown[], U> = T extends readonly [infer First, ...infer Rest] ? First extends U ? true : ArrayIncludes<Rest, U> : false;
|
|
19781
|
-
type HasDependency<Deps extends readonly DependencyKind[], D extends DependencyKind> = ArrayIncludes<Deps, D>;
|
|
19782
|
-
interface TailorDBProcessMethods<T, Ts> {
|
|
19783
|
-
processType(args: {
|
|
19784
|
-
type: TailorDBType;
|
|
19785
|
-
namespace: string;
|
|
19786
|
-
source: TypeSourceInfoEntry; /** Plugin attachments configured on this type via .plugin() method */
|
|
19787
|
-
plugins: readonly PluginAttachment[];
|
|
19788
|
-
}): T | Promise<T>;
|
|
19789
|
-
processTailorDBNamespace?(args: {
|
|
19790
|
-
namespace: string;
|
|
19791
|
-
types: Record<string, T>;
|
|
19792
|
-
}): Ts | Promise<Ts>;
|
|
19793
|
-
}
|
|
19794
|
-
interface ResolverProcessMethods<R, Rs> {
|
|
19795
|
-
processResolver(args: {
|
|
19796
|
-
resolver: Resolver;
|
|
19797
|
-
namespace: string;
|
|
19798
|
-
}): R | Promise<R>;
|
|
19799
|
-
processResolverNamespace?(args: {
|
|
19800
|
-
namespace: string;
|
|
19801
|
-
resolvers: Record<string, R>;
|
|
19802
|
-
}): Rs | Promise<Rs>;
|
|
19803
|
-
}
|
|
19804
|
-
interface ExecutorProcessMethods<E> {
|
|
19805
|
-
processExecutor(executor: Executor): E | Promise<E>;
|
|
19806
|
-
}
|
|
19807
|
-
type SelectMethods<Deps extends readonly DependencyKind[], T, R, E, Ts, Rs> = (HasDependency<Deps, "tailordb"> extends true ? TailorDBProcessMethods<T, Ts> : object) & (HasDependency<Deps, "resolver"> extends true ? ResolverProcessMethods<R, Rs> : object) & (HasDependency<Deps, "executor"> extends true ? ExecutorProcessMethods<E> : object);
|
|
19808
|
-
interface TailorDBInputPart<Ts> {
|
|
19809
|
-
tailordb: TailorDBNamespaceResult<Ts>[];
|
|
19810
|
-
}
|
|
19811
|
-
interface ResolverInputPart<Rs> {
|
|
19812
|
-
resolver: ResolverNamespaceResult<Rs>[];
|
|
19813
|
-
}
|
|
19814
|
-
interface ExecutorInputPart<E> {
|
|
19815
|
-
executor: E[];
|
|
19816
|
-
}
|
|
19817
|
-
interface AuthPart {
|
|
19818
|
-
auth?: GeneratorAuthInput;
|
|
19819
|
-
}
|
|
19820
|
-
type SelectInput<Deps extends readonly DependencyKind[], Ts, Rs, E> = (HasDependency<Deps, "tailordb"> extends true ? TailorDBInputPart<Ts> : object) & (HasDependency<Deps, "resolver"> extends true ? ResolverInputPart<Rs> : object) & (HasDependency<Deps, "executor"> extends true ? ExecutorInputPart<E> : object) & AuthPart;
|
|
19821
|
-
/** Input type for TailorDB-only generators */
|
|
19822
|
-
type TailorDBInput<Ts> = TailorDBInputPart<Ts> & AuthPart;
|
|
19823
|
-
/** Input type for Resolver-only generators */
|
|
19824
|
-
type ResolverInput<Rs> = ResolverInputPart<Rs> & AuthPart;
|
|
19825
|
-
/** Input type for Executor-only generators */
|
|
19826
|
-
type ExecutorInput<E> = ExecutorInputPart<E> & AuthPart;
|
|
19827
|
-
/** Input type for full generators (TailorDB + Resolver + Executor) */
|
|
19828
|
-
type FullInput<Ts, Rs, E> = TailorDBInputPart<Ts> & ResolverInputPart<Rs> & ExecutorInputPart<E> & AuthPart;
|
|
19829
|
-
/** Arguments type for aggregate method */
|
|
19830
|
-
interface AggregateArgs<Input> {
|
|
19831
|
-
input: Input;
|
|
19832
|
-
baseDir: string;
|
|
19833
|
-
configPath: string;
|
|
19834
|
-
}
|
|
19835
|
-
interface CodeGeneratorCore {
|
|
19836
|
-
readonly id: string;
|
|
19837
|
-
readonly description: string;
|
|
19838
|
-
}
|
|
19839
|
-
/**
|
|
19840
|
-
* Generator interface with dependencies-based conditional methods.
|
|
19841
|
-
* @template Deps - Dependencies array (e.g., ['tailordb'], ['tailordb', 'resolver'])
|
|
19842
|
-
* @template T - Return type of processType
|
|
19843
|
-
* @template R - Return type of processResolver
|
|
19844
|
-
* @template E - Return type of processExecutor
|
|
19845
|
-
* @template Ts - Return type of processTailorDBNamespace (default: Record<string, T>)
|
|
19846
|
-
* @template Rs - Return type of processResolverNamespace (default: Record<string, R>)
|
|
19847
|
-
*/
|
|
19848
|
-
type CodeGenerator<Deps extends readonly DependencyKind[], T = unknown, R = unknown, E = unknown, Ts = Record<string, T>, Rs = Record<string, R>> = CodeGeneratorCore & SelectMethods<Deps, T, R, E, Ts, Rs> & {
|
|
19849
|
-
readonly dependencies: Deps;
|
|
19850
|
-
aggregate(args: {
|
|
19851
|
-
input: SelectInput<Deps, Ts, Rs, E>;
|
|
19852
|
-
baseDir: string;
|
|
19853
|
-
configPath: string;
|
|
19854
|
-
}): GeneratorResult | Promise<GeneratorResult>;
|
|
19855
|
-
};
|
|
19856
|
-
/** TailorDB-only generator */
|
|
19857
|
-
type TailorDBGenerator<T = unknown, Ts = Record<string, T>> = CodeGenerator<readonly ["tailordb"], T, never, never, Ts, never>;
|
|
19858
|
-
/** Resolver-only generator */
|
|
19859
|
-
type ResolverGenerator<R = unknown, Rs = Record<string, R>> = CodeGenerator<readonly ["resolver"], never, R, never, never, Rs>;
|
|
19860
|
-
/** Executor-only generator */
|
|
19861
|
-
type ExecutorGenerator<E = unknown> = CodeGenerator<readonly ["executor"], never, never, E, never, never>;
|
|
19862
|
-
/** TailorDB + Resolver generator */
|
|
19863
|
-
type TailorDBResolverGenerator<T = unknown, R = unknown, Ts = Record<string, T>, Rs = Record<string, R>> = CodeGenerator<readonly ["tailordb", "resolver"], T, R, never, Ts, Rs>;
|
|
19864
|
-
/** Full generator (all dependencies) */
|
|
19865
|
-
type FullCodeGenerator<T = unknown, R = unknown, E = unknown, Ts = Record<string, T>, Rs = Record<string, R>> = CodeGenerator<readonly ["tailordb", "resolver", "executor"], T, R, E, Ts, Rs>;
|
|
19866
|
-
//#endregion
|
|
19867
19738
|
//#region src/cli/commands/generate/options.d.ts
|
|
19868
19739
|
type GenerateOptions = {
|
|
19869
19740
|
configPath?: string;
|
|
@@ -19872,7 +19743,7 @@ type GenerateOptions = {
|
|
|
19872
19743
|
//#endregion
|
|
19873
19744
|
//#region src/cli/commands/generate/service.d.ts
|
|
19874
19745
|
/**
|
|
19875
|
-
* Run code generation using the Tailor configuration
|
|
19746
|
+
* Run code generation using the Tailor configuration.
|
|
19876
19747
|
* @param options - Generation options
|
|
19877
19748
|
* @returns Promise that resolves when generation (and watch, if enabled) completes
|
|
19878
19749
|
*/
|
|
@@ -20370,10 +20241,6 @@ type WorkflowLike$1 = {
|
|
|
20370
20241
|
body: unknown;
|
|
20371
20242
|
};
|
|
20372
20243
|
};
|
|
20373
|
-
type AuthInvoker$1<M extends string = string> = {
|
|
20374
|
-
namespace: string;
|
|
20375
|
-
machineUserName: M;
|
|
20376
|
-
};
|
|
20377
20244
|
type WorkflowInput<W extends WorkflowLike$1> = W extends WorkflowLike$1 ? W["mainJob"]["body"] extends ((...args: infer Args) => unknown) ? Args[0] : never : never;
|
|
20378
20245
|
type StartWorkflowArgOptionForSingleWorkflow<W extends WorkflowLike$1> = WorkflowLike$1 extends W ? {
|
|
20379
20246
|
arg?: Jsonifiable;
|
|
@@ -20397,9 +20264,10 @@ interface StartWorkflowOptions {
|
|
|
20397
20264
|
}
|
|
20398
20265
|
type StartWorkflowTypedBaseOptions<W extends WorkflowLike$1> = {
|
|
20399
20266
|
workflow: W;
|
|
20400
|
-
authInvoker:
|
|
20267
|
+
authInvoker: MachineUserName$1;
|
|
20401
20268
|
workspaceId?: string;
|
|
20402
20269
|
profile?: string;
|
|
20270
|
+
configPath?: string;
|
|
20403
20271
|
interval?: number;
|
|
20404
20272
|
};
|
|
20405
20273
|
type StartWorkflowTypedOptions<W extends WorkflowLike$1 = WorkflowLike$1> = W extends WorkflowLike$1 ? StartWorkflowTypedBaseOptions<W> & StartWorkflowArgOption<W> : never;
|
|
@@ -21176,5 +21044,5 @@ declare function waitForExecution(client: OperatorClient, workspaceId: string, e
|
|
|
21176
21044
|
*/
|
|
21177
21045
|
declare function executeScript(options: ScriptExecutionOptions): Promise<ScriptExecutionResult>;
|
|
21178
21046
|
//#endregion
|
|
21179
|
-
export { type
|
|
21047
|
+
export { type ApiCallOptions, type ApiCallResult, type AppHealthInfo, type AppInfo, type ApplicationInfo, type DeployOptions as ApplyOptions, type DeployOptions, type AuthInvoker, type BreakingChangeInfo, type BundledScripts, type ChunkSeedDataOptions, type CreateFolderOptions, type CreateWorkspaceOptions, DB_TYPES_FILE_NAME, DIFF_FILE_NAME, type DeleteFolderOptions, type DeleteWorkspaceOptions, type ExecutionWaitResult, type Executor, type ExecutorInfo, type ExecutorJobAttemptInfo, type ExecutorJobDetailInfo, type ExecutorJobInfo, type ExecutorJobListInfo, type ExecutorListInfo, type FolderInfo, type FolderListInfo, type FunctionRegistryInfo, type GenerateOptions, type GeneratorResult, type HealthOptions as GetAppHealthOptions, type GetExecutorJobOptions, type GetExecutorJobTypedOptions, type GetExecutorOptions, type GetExecutorTypedOptions, type GetFolderOptions, type GetFunctionRegistryOptions, type GetMachineUserTokenOptions, type GetOAuth2ClientOptions, type GetOrganizationOptions, type GetWorkflowExecutionOptions, type GetWorkflowExecutionResult, type GetWorkflowOptions, type GetWorkflowTypedOptions, type GetWorkspaceOptions, INITIAL_SCHEMA_NUMBER, type InviteUserOptions, type ListAppsOptions, type ListExecutorJobsOptions, type ListExecutorJobsTypedOptions, type ListExecutorsOptions, type ListFoldersOptions, type ListFunctionRegistriesOptions, type ListMachineUsersOptions, type ListOAuth2ClientsOptions, type ListOrganizationsOptions, type ListUsersOptions, type ListWebhookExecutorsOptions, type ListWorkflowExecutionsOptions, type ListWorkflowExecutionsTypedOptions, type ListWorkflowsOptions, type ListWorkspacesOptions, type LoadedConfig, MIGRATE_FILE_NAME, MIGRATION_LABEL_KEY, type MachineUserInfo, type MachineUserName, type MachineUserTokenInfo, type GenerateOptions$1 as MigrateGenerateOptions, type MigrationBundleResult, type MigrationDiff, type MigrationInfo, type NamespaceWithMigrations, type OAuth2ClientCredentials, type OAuth2ClientInfo, type OperatorClient, type OrganizationInfo, type OrganizationTreeOptions, type PluginAttachment, type RemoveOptions, type RemoveUserOptions, type Resolver, type RestoreWorkspaceOptions, type ResumeWorkflowOptions, type ResumeWorkflowResultWithWait, SCHEMA_FILE_NAME, type SchemaSnapshot, type ScriptExecutionOptions, type ScriptExecutionResult, type SeedBundleResult, type SeedChunk, type ShowOptions, type SnapshotFieldConfig, type StartWorkflowOptions, type StartWorkflowResultWithWait, type StartWorkflowTypedOptions, type TailorDBSnapshotType, type TailorDBType, type TriggerExecutorOptions, type TriggerExecutorResult, type TriggerExecutorTypedOptions, type TruncateOptions, type TypeSourceInfoEntry, type UpdateFolderOptions, type UpdateOrganizationOptions, type UpdateUserOptions, type UserInfo, type UserOrganizationInfo, type WaitOptions, type WatchExecutorJobOptions, type WatchExecutorJobResult, type WatchExecutorJobTypedOptions, type WebhookExecutorInfo, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceDetails, type WorkspaceInfo, apiCall, deploy as apply, deploy, bundleMigrationScript, bundleSeedScript, chunkSeedData, compareLocalTypesWithSnapshot, compareSnapshots, createFolder, createSnapshotFromLocalTypes, createWorkspace, deleteFolder, deleteWorkspace, enumConstantsPlugin, executeScript, fileUtilsPlugin, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getAppHealth, getExecutor, getExecutorJob, getFolder, getFunctionRegistry, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getOrganization, getWorkflow, getWorkflowExecution, getWorkspace, hasChanges, initOperatorClient, inviteUser, kyselyTypePlugin, listApps, listExecutorJobs, listExecutors, listFolders, listFunctionRegistries, listMachineUsers, listOAuth2Clients, listOrganizations, listUsers, listWebhookExecutors, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, organizationTree, query, reconstructSnapshotFromMigrations, remove, removeUser, restoreWorkspace, resumeWorkflow, seedPlugin, show, startWorkflow, triggerExecutor, truncate, updateFolder, updateOrganization, updateUser, waitForExecution, watchExecutorJob };
|
|
21180
21048
|
//# sourceMappingURL=lib.d.mts.map
|