@tailor-platform/sdk 2.0.0-next.0 → 2.0.0-next.2
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 +161 -0
- package/dist/application-Dtqap5jM.mjs +3 -0
- package/dist/{client-CobIRHl-.mjs → application-XuMWK4eq.mjs} +5869 -25
- package/dist/application-XuMWK4eq.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 +241 -237
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +547 -620
- package/dist/cli/lib.mjs +9 -11
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/completion/zsh-worker.zsh +4108 -0
- package/dist/configure/index.d.mts +9 -7
- package/dist/configure/index.mjs +76 -40
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{context-s0lxhu8_.mjs → context-Bd266-ru.mjs} +2 -3
- package/dist/context-Bd266-ru.mjs.map +1 -0
- package/dist/{context-CUBwSBq4.d.mts → context-C2lEi9uw.d.mts} +7 -28
- package/dist/{crashreport-D1wKBJ8N.mjs → crashreport-BMWcxeSE.mjs} +1 -2
- package/dist/{crashreport-BhD0y14F.mjs → crashreport-DFq-vsU0.mjs} +21 -14
- package/dist/{crashreport-BhD0y14F.mjs.map → crashreport-DFq-vsU0.mjs.map} +1 -1
- 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-B58Dm-2P.mjs → file-BbdFGdMV.mjs} +3 -12
- package/dist/file-BbdFGdMV.mjs.map +1 -0
- package/dist/{file-BzK8z3X-.d.mts → file-Dq3NIt_F.d.mts} +3 -42
- package/dist/{file-utils-BHPxPXmn.mjs → file-utils-CYZnO1pX.mjs} +6 -7
- package/dist/file-utils-CYZnO1pX.mjs.map +1 -0
- package/dist/{globals-ByrCoDip.mjs → globals-Cf0sxIt8.mjs} +53 -5
- package/dist/globals-Cf0sxIt8.mjs.map +1 -0
- package/dist/http-adapter.generated-DFsXDdm5.d.mts +581 -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-CLxubakC.d.mts → index-BI-_j9Z3.d.mts} +49 -261
- package/dist/{index-CPRnOjjt.d.mts → index-C4JirJH8.d.mts} +2 -2
- package/dist/{index-CQZVJ5SX.d.mts → index-CZfWhr0a.d.mts} +2 -2
- package/dist/{index-DRhMpdnA.d.mts → index-Cg8VKAdN.d.mts} +8 -8
- package/dist/{index-CfRFkXIO.d.mts → index-DYRjoLXD.d.mts} +2 -2
- package/dist/index-lFpcjHPU.d.mts +201 -0
- package/dist/{index-DUupuPhZ.d.mts → index-nW7hE6oE.d.mts} +2 -2
- 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/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-FPxmnt-y.mjs} +9 -56
- package/dist/mock-FPxmnt-y.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 +4 -5
- package/dist/plugin/index.mjs +0 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/registry-DH4m7eYo.mjs +53 -0
- package/dist/registry-DH4m7eYo.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 +2 -2
- package/dist/runtime/file.mjs +2 -3
- package/dist/runtime/globals.d.mts +8 -41
- 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 +2 -2
- package/dist/runtime/workflow.mjs +1 -2
- package/dist/{runtime-C7qTBDD2.mjs → runtime-CY4JvrDj.mjs} +1069 -542
- package/dist/runtime-CY4JvrDj.mjs.map +1 -0
- package/dist/{schema-1msIhXwA.mjs → schema-Dtw9Orye.mjs} +18 -16
- package/dist/schema-Dtw9Orye.mjs.map +1 -0
- package/dist/{secret-file-CWzF8rry.mjs → secret-file-VSVGy1V0.mjs} +27 -3
- package/dist/{secret-file-CWzF8rry.mjs.map → secret-file-VSVGy1V0.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-izIEyP3z.mjs} +7 -19
- package/dist/seed-izIEyP3z.mjs.map +1 -0
- package/dist/service-DCqIWibD.mjs +3 -0
- package/dist/{service-DMohAx8a2.mjs → service-DU1mVzri2.mjs} +3 -4
- package/dist/{service-DMohAx8a2.mjs.map → service-DU1mVzri2.mjs.map} +1 -1
- package/dist/{service-wI3Hvrgx.mjs → service-DjyqbCaJ.mjs} +9 -10
- package/dist/service-DjyqbCaJ.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-D7UkZp99.mjs +75 -0
- package/dist/test-env-key-D7UkZp99.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-74etvaxy.mjs +4 -0
- package/dist/{plugin-C_FyVSdl.d.mts → types-BDRml5C3.d.mts} +128 -188
- package/dist/{types-CmzfQP_m.mjs → types-BQijbo4m.mjs} +10 -11
- package/dist/types-BQijbo4m.mjs.map +1 -0
- package/dist/types-BX4q6Mo6.d.mts +339 -0
- package/dist/types-BZ7QKVE8.d.mts +21 -0
- package/dist/{tailordb-BlBGmQK-.d.mts → types-CdcQh4Z2.d.mts} +92 -242
- package/dist/utils/test/index.d.mts +6 -14
- package/dist/utils/test/index.mjs +4 -14
- 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--aPbA8Uq.mjs → workflow-BOmaZwwG.mjs} +9 -5
- package/dist/workflow-BOmaZwwG.mjs.map +1 -0
- package/dist/{workflow-CMamswkK.d.mts → workflow-BVy4XWjS.d.mts} +15 -10
- package/dist/workflow.generated-ClEjBYhm.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/executor.md +53 -0
- package/docs/cli/function.md +1 -1
- package/docs/cli/setup.md +35 -33
- package/docs/cli/user.md +3 -3
- package/docs/cli/workflow.md +157 -20
- package/docs/cli/workspace.md +3 -3
- package/docs/cli-reference.md +26 -20
- package/docs/configuration.md +0 -2
- package/docs/github-actions.md +29 -16
- package/docs/migration/v2.md +475 -0
- package/docs/plugin/custom.md +2 -2
- package/docs/plugin/index.md +1 -1
- package/docs/runtime.md +4 -4
- package/docs/services/aigateway.md +97 -0
- package/docs/services/auth.md +31 -14
- package/docs/services/executor.md +3 -5
- package/docs/services/resolver.md +8 -10
- package/docs/services/tailordb.md +15 -13
- package/docs/services/workflow.md +17 -19
- package/docs/testing.md +75 -56
- package/package.json +18 -17
- package/dist/actor-J2gJ0eK5.d.mts +0 -24
- package/dist/application-76hhIhnJ.mjs +0 -5594
- 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-C68VWo4g.mjs +0 -4
- package/dist/client-CobIRHl-.mjs.map +0 -1
- package/dist/context-s0lxhu8_.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/file-B58Dm-2P.mjs.map +0 -1
- package/dist/file-utils-BHPxPXmn.mjs.map +0 -1
- package/dist/globals-ByrCoDip.mjs.map +0 -1
- package/dist/job-BpsFXPbi.mjs +0 -54
- 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-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--aPbA8Uq.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-CdcQh4Z2.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-BDRml5C3.mjs";
|
|
3
|
+
import { r as AppConfig } from "../workflow.generated-ClEjBYhm.mjs";
|
|
4
|
+
import { n as kyselyTypePlugin } from "../index-CZfWhr0a.mjs";
|
|
5
|
+
import { n as enumConstantsPlugin } from "../index-C4JirJH8.mjs";
|
|
6
|
+
import { n as fileUtilsPlugin } from "../index-nW7hE6oE.mjs";
|
|
7
|
+
import { n as seedPlugin } from "../index-DYRjoLXD.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
|
|
@@ -493,121 +841,13 @@ declare enum PlatformAccountPlanType {
|
|
|
493
841
|
*/
|
|
494
842
|
UNSPECIFIED = 0,
|
|
495
843
|
/**
|
|
496
|
-
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_TRIAL = 1;
|
|
497
|
-
*/
|
|
498
|
-
TRIAL = 1,
|
|
499
|
-
/**
|
|
500
|
-
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_BASIC = 2;
|
|
501
|
-
*/
|
|
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;
|
|
844
|
+
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_TRIAL = 1;
|
|
605
845
|
*/
|
|
606
|
-
|
|
846
|
+
TRIAL = 1,
|
|
607
847
|
/**
|
|
608
|
-
* @generated from enum value:
|
|
848
|
+
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_BASIC = 2;
|
|
609
849
|
*/
|
|
610
|
-
|
|
850
|
+
BASIC = 2
|
|
611
851
|
}
|
|
612
852
|
//#endregion
|
|
613
853
|
//#region ../tailor-proto/src/tailor/v1/workspace_pb.d.ts
|
|
@@ -2926,438 +3166,205 @@ declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequ
|
|
|
2926
3166
|
/**
|
|
2927
3167
|
* @generated from field: bool disable_introspection = 8;
|
|
2928
3168
|
*/
|
|
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"> & {
|
|
2952
|
-
/**
|
|
2953
|
-
* @generated from field: tailor.v1.Application application = 1;
|
|
2954
|
-
*/
|
|
2955
|
-
application?: Application;
|
|
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"> & {
|
|
2966
|
-
/**
|
|
2967
|
-
* @generated from field: string workspace_id = 1;
|
|
2968
|
-
*/
|
|
2969
|
-
workspaceId: string;
|
|
2970
|
-
/**
|
|
2971
|
-
* @generated from field: string application_name = 2;
|
|
2972
|
-
*/
|
|
2973
|
-
applicationName: string;
|
|
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"> & {
|
|
2993
|
-
/**
|
|
2994
|
-
* @generated from field: string workspace_id = 1;
|
|
2995
|
-
*/
|
|
2996
|
-
workspaceId: string;
|
|
2997
|
-
/**
|
|
2998
|
-
* @generated from field: string page_token = 2;
|
|
2999
|
-
*/
|
|
3000
|
-
pageToken: string;
|
|
3001
|
-
/**
|
|
3002
|
-
* @generated from field: uint32 page_size = 3;
|
|
3003
|
-
*/
|
|
3004
|
-
pageSize: number;
|
|
3005
|
-
/**
|
|
3006
|
-
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
3007
|
-
*/
|
|
3008
|
-
pageDirection: PageDirection;
|
|
3009
|
-
};
|
|
3010
|
-
/**
|
|
3011
|
-
* Describes the message tailor.v1.ListApplicationsRequest.
|
|
3012
|
-
* Use `create(ListApplicationsRequestSchema)` to create a new message.
|
|
3013
|
-
*/
|
|
3014
|
-
declare const ListApplicationsRequestSchema: GenMessage<ListApplicationsRequest>;
|
|
3015
|
-
/**
|
|
3016
|
-
* @generated from message tailor.v1.ListApplicationsResponse
|
|
3017
|
-
*/
|
|
3018
|
-
declare type ListApplicationsResponse = Message<"tailor.v1.ListApplicationsResponse"> & {
|
|
3019
|
-
/**
|
|
3020
|
-
* @generated from field: repeated tailor.v1.Application applications = 1;
|
|
3021
|
-
*/
|
|
3022
|
-
applications: Application[];
|
|
3023
|
-
/**
|
|
3024
|
-
* @generated from field: string next_page_token = 2;
|
|
3025
|
-
*/
|
|
3026
|
-
nextPageToken: string;
|
|
3027
|
-
/**
|
|
3028
|
-
* @generated from field: int64 total_count = 3;
|
|
3029
|
-
*/
|
|
3030
|
-
totalCount: bigint;
|
|
3031
|
-
};
|
|
3032
|
-
/**
|
|
3033
|
-
* Describes the message tailor.v1.ListApplicationsResponse.
|
|
3034
|
-
* Use `create(ListApplicationsResponseSchema)` to create a new message.
|
|
3035
|
-
*/
|
|
3036
|
-
declare const ListApplicationsResponseSchema: GenMessage<ListApplicationsResponse>;
|
|
3037
|
-
/**
|
|
3038
|
-
* @generated from message tailor.v1.GetApplicationRequest
|
|
3039
|
-
*/
|
|
3040
|
-
declare type GetApplicationRequest = Message<"tailor.v1.GetApplicationRequest"> & {
|
|
3041
|
-
/**
|
|
3042
|
-
* @generated from field: string workspace_id = 1;
|
|
3043
|
-
*/
|
|
3044
|
-
workspaceId: string;
|
|
3045
|
-
/**
|
|
3046
|
-
* @generated from field: string application_name = 2;
|
|
3047
|
-
*/
|
|
3048
|
-
applicationName: string;
|
|
3049
|
-
};
|
|
3050
|
-
/**
|
|
3051
|
-
* Describes the message tailor.v1.GetApplicationRequest.
|
|
3052
|
-
* Use `create(GetApplicationRequestSchema)` to create a new message.
|
|
3053
|
-
*/
|
|
3054
|
-
declare const GetApplicationRequestSchema: GenMessage<GetApplicationRequest>;
|
|
3055
|
-
/**
|
|
3056
|
-
* @generated from message tailor.v1.GetApplicationResponse
|
|
3057
|
-
*/
|
|
3058
|
-
declare type GetApplicationResponse = Message<"tailor.v1.GetApplicationResponse"> & {
|
|
3059
|
-
/**
|
|
3060
|
-
* @generated from field: tailor.v1.Application application = 1;
|
|
3061
|
-
*/
|
|
3062
|
-
application?: Application;
|
|
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"> & {
|
|
3073
|
-
/**
|
|
3074
|
-
* @generated from field: string workspace_id = 1;
|
|
3075
|
-
*/
|
|
3076
|
-
workspaceId: string;
|
|
3077
|
-
/**
|
|
3078
|
-
* @generated from field: string application_name = 2;
|
|
3079
|
-
*/
|
|
3080
|
-
applicationName: string;
|
|
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"> & {
|
|
3091
|
-
/**
|
|
3092
|
-
* @generated from field: tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus status = 1;
|
|
3093
|
-
*/
|
|
3094
|
-
status: GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus;
|
|
3095
|
-
/**
|
|
3096
|
-
* The timestamp of when the current serving schema updated.
|
|
3097
|
-
*
|
|
3098
|
-
* @generated from field: google.protobuf.Timestamp current_serving_schema_update_time = 2;
|
|
3099
|
-
*/
|
|
3100
|
-
currentServingSchemaUpdateTime?: Timestamp;
|
|
3101
|
-
/**
|
|
3102
|
-
* @generated from field: tailor.v1.ApplicationSchemaUpdateAttempt last_schema_update_attempt = 3;
|
|
3103
|
-
*/
|
|
3104
|
-
lastSchemaUpdateAttempt?: ApplicationSchemaUpdateAttempt;
|
|
3105
|
-
};
|
|
3106
|
-
/**
|
|
3107
|
-
* Describes the message tailor.v1.GetApplicationSchemaHealthResponse.
|
|
3108
|
-
* Use `create(GetApplicationSchemaHealthResponseSchema)` to create a new message.
|
|
3109
|
-
*/
|
|
3110
|
-
declare const GetApplicationSchemaHealthResponseSchema: GenMessage<GetApplicationSchemaHealthResponse>;
|
|
3111
|
-
/**
|
|
3112
|
-
* @generated from enum tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus
|
|
3113
|
-
*/
|
|
3114
|
-
declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus {
|
|
3115
|
-
/**
|
|
3116
|
-
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_UNSPECIFIED = 0;
|
|
3117
|
-
*/
|
|
3118
|
-
UNSPECIFIED = 0,
|
|
3119
|
-
/**
|
|
3120
|
-
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_OK = 1;
|
|
3121
|
-
*/
|
|
3122
|
-
OK = 1,
|
|
3123
|
-
/**
|
|
3124
|
-
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_COMPOSITION_ERROR = 2;
|
|
3125
|
-
*/
|
|
3126
|
-
COMPOSITION_ERROR = 2
|
|
3127
|
-
}
|
|
3128
|
-
//#endregion
|
|
3129
|
-
//#region ../tailor-proto/src/tailor/v1/aigateway_resource_pb.d.ts
|
|
3130
|
-
/**
|
|
3131
|
-
* @generated from message tailor.v1.AIGateway
|
|
3132
|
-
*/
|
|
3133
|
-
declare type AIGateway = Message<"tailor.v1.AIGateway"> & {
|
|
3134
|
-
/**
|
|
3135
|
-
* @generated from field: string name = 1;
|
|
3136
|
-
*/
|
|
3137
|
-
name: string;
|
|
3138
|
-
/**
|
|
3139
|
-
* @generated from field: string domain = 2;
|
|
3140
|
-
*/
|
|
3141
|
-
domain: string;
|
|
3142
|
-
/**
|
|
3143
|
-
* @generated from field: string auth_namespace = 3;
|
|
3144
|
-
*/
|
|
3145
|
-
authNamespace: string;
|
|
3146
|
-
/**
|
|
3147
|
-
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
3148
|
-
*/
|
|
3149
|
-
createTime?: Timestamp;
|
|
3150
|
-
/**
|
|
3151
|
-
* @generated from field: google.protobuf.Timestamp update_time = 5;
|
|
3152
|
-
*/
|
|
3153
|
-
updateTime?: Timestamp;
|
|
3154
|
-
/**
|
|
3155
|
-
* Allowed CORS origins for browser-based clients. Each entry is one of:
|
|
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;
|
|
3165
|
-
*/
|
|
3166
|
-
cors: string[];
|
|
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"> & {
|
|
3174
|
-
/**
|
|
3175
|
-
* @generated from field: string workspace_id = 1;
|
|
3176
|
-
*/
|
|
3177
|
-
workspaceId: string;
|
|
3169
|
+
disableIntrospection: boolean;
|
|
3178
3170
|
/**
|
|
3179
|
-
* @generated from field:
|
|
3171
|
+
* @generated from field: bool disabled = 9;
|
|
3180
3172
|
*/
|
|
3181
|
-
|
|
3173
|
+
disabled: boolean;
|
|
3182
3174
|
/**
|
|
3183
|
-
* @generated from field:
|
|
3175
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
3184
3176
|
*/
|
|
3185
|
-
|
|
3177
|
+
httpAdapters: HttpAdapter[];
|
|
3186
3178
|
/**
|
|
3187
|
-
* @generated from field:
|
|
3179
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
3188
3180
|
*/
|
|
3189
|
-
|
|
3181
|
+
updateMask?: FieldMask;
|
|
3190
3182
|
};
|
|
3191
3183
|
/**
|
|
3192
|
-
* Describes the message tailor.v1.
|
|
3193
|
-
* Use `create(
|
|
3184
|
+
* Describes the message tailor.v1.UpdateApplicationRequest.
|
|
3185
|
+
* Use `create(UpdateApplicationRequestSchema)` to create a new message.
|
|
3194
3186
|
*/
|
|
3195
|
-
declare const
|
|
3187
|
+
declare const UpdateApplicationRequestSchema: GenMessage<UpdateApplicationRequest>;
|
|
3196
3188
|
/**
|
|
3197
|
-
* @generated from message tailor.v1.
|
|
3189
|
+
* @generated from message tailor.v1.UpdateApplicationResponse
|
|
3198
3190
|
*/
|
|
3199
|
-
declare type
|
|
3191
|
+
declare type UpdateApplicationResponse = Message<"tailor.v1.UpdateApplicationResponse"> & {
|
|
3200
3192
|
/**
|
|
3201
|
-
* @generated from field: tailor.v1.
|
|
3193
|
+
* @generated from field: tailor.v1.Application application = 1;
|
|
3202
3194
|
*/
|
|
3203
|
-
|
|
3195
|
+
application?: Application;
|
|
3204
3196
|
};
|
|
3205
3197
|
/**
|
|
3206
|
-
* Describes the message tailor.v1.
|
|
3207
|
-
* Use `create(
|
|
3198
|
+
* Describes the message tailor.v1.UpdateApplicationResponse.
|
|
3199
|
+
* Use `create(UpdateApplicationResponseSchema)` to create a new message.
|
|
3208
3200
|
*/
|
|
3209
|
-
declare const
|
|
3201
|
+
declare const UpdateApplicationResponseSchema: GenMessage<UpdateApplicationResponse>;
|
|
3210
3202
|
/**
|
|
3211
|
-
* @generated from message tailor.v1.
|
|
3203
|
+
* @generated from message tailor.v1.DeleteApplicationRequest
|
|
3212
3204
|
*/
|
|
3213
|
-
declare type
|
|
3205
|
+
declare type DeleteApplicationRequest = Message<"tailor.v1.DeleteApplicationRequest"> & {
|
|
3214
3206
|
/**
|
|
3215
3207
|
* @generated from field: string workspace_id = 1;
|
|
3216
3208
|
*/
|
|
3217
3209
|
workspaceId: string;
|
|
3218
3210
|
/**
|
|
3219
|
-
* @generated from field: string
|
|
3220
|
-
*/
|
|
3221
|
-
aigatewayName: string;
|
|
3222
|
-
/**
|
|
3223
|
-
* @generated from field: string auth_namespace = 3;
|
|
3224
|
-
*/
|
|
3225
|
-
authNamespace: string;
|
|
3226
|
-
/**
|
|
3227
|
-
* @generated from field: repeated string cors = 4;
|
|
3228
|
-
*/
|
|
3229
|
-
cors: string[];
|
|
3230
|
-
/**
|
|
3231
|
-
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
3211
|
+
* @generated from field: string application_name = 2;
|
|
3232
3212
|
*/
|
|
3233
|
-
|
|
3213
|
+
applicationName: string;
|
|
3234
3214
|
};
|
|
3235
3215
|
/**
|
|
3236
|
-
* Describes the message tailor.v1.
|
|
3237
|
-
* Use `create(
|
|
3216
|
+
* Describes the message tailor.v1.DeleteApplicationRequest.
|
|
3217
|
+
* Use `create(DeleteApplicationRequestSchema)` to create a new message.
|
|
3238
3218
|
*/
|
|
3239
|
-
declare const
|
|
3219
|
+
declare const DeleteApplicationRequestSchema: GenMessage<DeleteApplicationRequest>;
|
|
3240
3220
|
/**
|
|
3241
|
-
* @generated from message tailor.v1.
|
|
3221
|
+
* @generated from message tailor.v1.DeleteApplicationResponse
|
|
3242
3222
|
*/
|
|
3243
|
-
declare type
|
|
3244
|
-
/**
|
|
3245
|
-
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
3246
|
-
*/
|
|
3247
|
-
aigateway?: AIGateway;
|
|
3248
|
-
};
|
|
3223
|
+
declare type DeleteApplicationResponse = Message<"tailor.v1.DeleteApplicationResponse"> & {};
|
|
3249
3224
|
/**
|
|
3250
|
-
* Describes the message tailor.v1.
|
|
3251
|
-
* Use `create(
|
|
3225
|
+
* Describes the message tailor.v1.DeleteApplicationResponse.
|
|
3226
|
+
* Use `create(DeleteApplicationResponseSchema)` to create a new message.
|
|
3252
3227
|
*/
|
|
3253
|
-
declare const
|
|
3228
|
+
declare const DeleteApplicationResponseSchema: GenMessage<DeleteApplicationResponse>;
|
|
3254
3229
|
/**
|
|
3255
|
-
* @generated from message tailor.v1.
|
|
3230
|
+
* @generated from message tailor.v1.ListApplicationsRequest
|
|
3256
3231
|
*/
|
|
3257
|
-
declare type
|
|
3232
|
+
declare type ListApplicationsRequest = Message<"tailor.v1.ListApplicationsRequest"> & {
|
|
3258
3233
|
/**
|
|
3259
3234
|
* @generated from field: string workspace_id = 1;
|
|
3260
3235
|
*/
|
|
3261
3236
|
workspaceId: string;
|
|
3262
3237
|
/**
|
|
3263
|
-
* @generated from field: string
|
|
3238
|
+
* @generated from field: string page_token = 2;
|
|
3264
3239
|
*/
|
|
3265
|
-
|
|
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;
|
|
3266
3249
|
};
|
|
3267
3250
|
/**
|
|
3268
|
-
* Describes the message tailor.v1.
|
|
3269
|
-
* Use `create(
|
|
3251
|
+
* Describes the message tailor.v1.ListApplicationsRequest.
|
|
3252
|
+
* Use `create(ListApplicationsRequestSchema)` to create a new message.
|
|
3270
3253
|
*/
|
|
3271
|
-
declare const
|
|
3254
|
+
declare const ListApplicationsRequestSchema: GenMessage<ListApplicationsRequest>;
|
|
3272
3255
|
/**
|
|
3273
|
-
* @generated from message tailor.v1.
|
|
3256
|
+
* @generated from message tailor.v1.ListApplicationsResponse
|
|
3274
3257
|
*/
|
|
3275
|
-
declare type
|
|
3258
|
+
declare type ListApplicationsResponse = Message<"tailor.v1.ListApplicationsResponse"> & {
|
|
3259
|
+
/**
|
|
3260
|
+
* @generated from field: repeated tailor.v1.Application applications = 1;
|
|
3261
|
+
*/
|
|
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;
|
|
3271
|
+
};
|
|
3276
3272
|
/**
|
|
3277
|
-
* Describes the message tailor.v1.
|
|
3278
|
-
* Use `create(
|
|
3273
|
+
* Describes the message tailor.v1.ListApplicationsResponse.
|
|
3274
|
+
* Use `create(ListApplicationsResponseSchema)` to create a new message.
|
|
3279
3275
|
*/
|
|
3280
|
-
declare const
|
|
3276
|
+
declare const ListApplicationsResponseSchema: GenMessage<ListApplicationsResponse>;
|
|
3281
3277
|
/**
|
|
3282
|
-
* @generated from message tailor.v1.
|
|
3278
|
+
* @generated from message tailor.v1.GetApplicationRequest
|
|
3283
3279
|
*/
|
|
3284
|
-
declare type
|
|
3280
|
+
declare type GetApplicationRequest = Message<"tailor.v1.GetApplicationRequest"> & {
|
|
3285
3281
|
/**
|
|
3286
3282
|
* @generated from field: string workspace_id = 1;
|
|
3287
3283
|
*/
|
|
3288
3284
|
workspaceId: string;
|
|
3289
3285
|
/**
|
|
3290
|
-
* @generated from field: string
|
|
3286
|
+
* @generated from field: string application_name = 2;
|
|
3291
3287
|
*/
|
|
3292
|
-
|
|
3288
|
+
applicationName: string;
|
|
3293
3289
|
};
|
|
3294
3290
|
/**
|
|
3295
|
-
* Describes the message tailor.v1.
|
|
3296
|
-
* Use `create(
|
|
3291
|
+
* Describes the message tailor.v1.GetApplicationRequest.
|
|
3292
|
+
* Use `create(GetApplicationRequestSchema)` to create a new message.
|
|
3297
3293
|
*/
|
|
3298
|
-
declare const
|
|
3294
|
+
declare const GetApplicationRequestSchema: GenMessage<GetApplicationRequest>;
|
|
3299
3295
|
/**
|
|
3300
|
-
* @generated from message tailor.v1.
|
|
3296
|
+
* @generated from message tailor.v1.GetApplicationResponse
|
|
3301
3297
|
*/
|
|
3302
|
-
declare type
|
|
3298
|
+
declare type GetApplicationResponse = Message<"tailor.v1.GetApplicationResponse"> & {
|
|
3303
3299
|
/**
|
|
3304
|
-
* @generated from field: tailor.v1.
|
|
3300
|
+
* @generated from field: tailor.v1.Application application = 1;
|
|
3305
3301
|
*/
|
|
3306
|
-
|
|
3302
|
+
application?: Application;
|
|
3307
3303
|
};
|
|
3308
3304
|
/**
|
|
3309
|
-
* Describes the message tailor.v1.
|
|
3310
|
-
* Use `create(
|
|
3305
|
+
* Describes the message tailor.v1.GetApplicationResponse.
|
|
3306
|
+
* Use `create(GetApplicationResponseSchema)` to create a new message.
|
|
3311
3307
|
*/
|
|
3312
|
-
declare const
|
|
3308
|
+
declare const GetApplicationResponseSchema: GenMessage<GetApplicationResponse>;
|
|
3313
3309
|
/**
|
|
3314
|
-
* @generated from message tailor.v1.
|
|
3310
|
+
* @generated from message tailor.v1.GetApplicationSchemaHealthRequest
|
|
3315
3311
|
*/
|
|
3316
|
-
declare type
|
|
3312
|
+
declare type GetApplicationSchemaHealthRequest = Message<"tailor.v1.GetApplicationSchemaHealthRequest"> & {
|
|
3317
3313
|
/**
|
|
3318
3314
|
* @generated from field: string workspace_id = 1;
|
|
3319
3315
|
*/
|
|
3320
3316
|
workspaceId: string;
|
|
3321
3317
|
/**
|
|
3322
|
-
* @generated from field: string
|
|
3318
|
+
* @generated from field: string application_name = 2;
|
|
3323
3319
|
*/
|
|
3324
|
-
|
|
3320
|
+
applicationName: string;
|
|
3321
|
+
};
|
|
3322
|
+
/**
|
|
3323
|
+
* Describes the message tailor.v1.GetApplicationSchemaHealthRequest.
|
|
3324
|
+
* Use `create(GetApplicationSchemaHealthRequestSchema)` to create a new message.
|
|
3325
|
+
*/
|
|
3326
|
+
declare const GetApplicationSchemaHealthRequestSchema: GenMessage<GetApplicationSchemaHealthRequest>;
|
|
3327
|
+
/**
|
|
3328
|
+
* @generated from message tailor.v1.GetApplicationSchemaHealthResponse
|
|
3329
|
+
*/
|
|
3330
|
+
declare type GetApplicationSchemaHealthResponse = Message<"tailor.v1.GetApplicationSchemaHealthResponse"> & {
|
|
3325
3331
|
/**
|
|
3326
|
-
* @generated from field:
|
|
3332
|
+
* @generated from field: tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus status = 1;
|
|
3327
3333
|
*/
|
|
3328
|
-
|
|
3334
|
+
status: GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus;
|
|
3329
3335
|
/**
|
|
3330
|
-
*
|
|
3336
|
+
* The timestamp of when the current serving schema updated.
|
|
3337
|
+
*
|
|
3338
|
+
* @generated from field: google.protobuf.Timestamp current_serving_schema_update_time = 2;
|
|
3331
3339
|
*/
|
|
3332
|
-
|
|
3340
|
+
currentServingSchemaUpdateTime?: Timestamp;
|
|
3341
|
+
/**
|
|
3342
|
+
* @generated from field: tailor.v1.ApplicationSchemaUpdateAttempt last_schema_update_attempt = 3;
|
|
3343
|
+
*/
|
|
3344
|
+
lastSchemaUpdateAttempt?: ApplicationSchemaUpdateAttempt;
|
|
3333
3345
|
};
|
|
3334
3346
|
/**
|
|
3335
|
-
* Describes the message tailor.v1.
|
|
3336
|
-
* Use `create(
|
|
3347
|
+
* Describes the message tailor.v1.GetApplicationSchemaHealthResponse.
|
|
3348
|
+
* Use `create(GetApplicationSchemaHealthResponseSchema)` to create a new message.
|
|
3337
3349
|
*/
|
|
3338
|
-
declare const
|
|
3350
|
+
declare const GetApplicationSchemaHealthResponseSchema: GenMessage<GetApplicationSchemaHealthResponse>;
|
|
3339
3351
|
/**
|
|
3340
|
-
* @generated from
|
|
3352
|
+
* @generated from enum tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus
|
|
3341
3353
|
*/
|
|
3342
|
-
declare
|
|
3354
|
+
declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus {
|
|
3343
3355
|
/**
|
|
3344
|
-
* @generated from
|
|
3356
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_UNSPECIFIED = 0;
|
|
3345
3357
|
*/
|
|
3346
|
-
|
|
3358
|
+
UNSPECIFIED = 0,
|
|
3347
3359
|
/**
|
|
3348
|
-
* @generated from
|
|
3360
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_OK = 1;
|
|
3349
3361
|
*/
|
|
3350
|
-
|
|
3362
|
+
OK = 1,
|
|
3351
3363
|
/**
|
|
3352
|
-
* @generated from
|
|
3364
|
+
* @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_COMPOSITION_ERROR = 2;
|
|
3353
3365
|
*/
|
|
3354
|
-
|
|
3355
|
-
}
|
|
3356
|
-
/**
|
|
3357
|
-
* Describes the message tailor.v1.ListAIGatewaysResponse.
|
|
3358
|
-
* Use `create(ListAIGatewaysResponseSchema)` to create a new message.
|
|
3359
|
-
*/
|
|
3360
|
-
declare const ListAIGatewaysResponseSchema: GenMessage<ListAIGatewaysResponse>;
|
|
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
|
*/
|
|
@@ -20363,6 +20234,29 @@ interface GetWorkflowOptions {
|
|
|
20363
20234
|
declare function getWorkflow<W extends WorkflowLike$2>(options: GetWorkflowTypedOptions<W>): Promise<WorkflowInfo>;
|
|
20364
20235
|
declare function getWorkflow(options: GetWorkflowOptions): Promise<WorkflowInfo>;
|
|
20365
20236
|
//#endregion
|
|
20237
|
+
//#region src/cli/commands/workflow/status.d.ts
|
|
20238
|
+
type WorkflowWaitUntil = "success" | "suspended" | "terminal";
|
|
20239
|
+
type WorkflowExecutionStatusClass = "success" | "suspended" | "failure" | "transient";
|
|
20240
|
+
//#endregion
|
|
20241
|
+
//#region src/cli/commands/workflow/waiter.d.ts
|
|
20242
|
+
interface WaitWorkflowExecutionOptions {
|
|
20243
|
+
executionId: string;
|
|
20244
|
+
workspaceId?: string;
|
|
20245
|
+
profile?: string;
|
|
20246
|
+
interval?: number;
|
|
20247
|
+
timeout?: number;
|
|
20248
|
+
until?: WorkflowWaitUntil;
|
|
20249
|
+
showProgress?: boolean;
|
|
20250
|
+
trackJobs?: boolean;
|
|
20251
|
+
}
|
|
20252
|
+
interface WorkflowWaitResult extends WorkflowExecutionInfo {
|
|
20253
|
+
statusClass: WorkflowExecutionStatusClass | "unknown";
|
|
20254
|
+
elapsedMs: number;
|
|
20255
|
+
attempts: number;
|
|
20256
|
+
timedOut: boolean;
|
|
20257
|
+
lastError: string | null;
|
|
20258
|
+
}
|
|
20259
|
+
//#endregion
|
|
20366
20260
|
//#region src/cli/commands/workflow/start.d.ts
|
|
20367
20261
|
type WorkflowLike$1 = {
|
|
20368
20262
|
name: string;
|
|
@@ -20370,10 +20264,6 @@ type WorkflowLike$1 = {
|
|
|
20370
20264
|
body: unknown;
|
|
20371
20265
|
};
|
|
20372
20266
|
};
|
|
20373
|
-
type AuthInvoker$1<M extends string = string> = {
|
|
20374
|
-
namespace: string;
|
|
20375
|
-
machineUserName: M;
|
|
20376
|
-
};
|
|
20377
20267
|
type WorkflowInput<W extends WorkflowLike$1> = W extends WorkflowLike$1 ? W["mainJob"]["body"] extends ((...args: infer Args) => unknown) ? Args[0] : never : never;
|
|
20378
20268
|
type StartWorkflowArgOptionForSingleWorkflow<W extends WorkflowLike$1> = WorkflowLike$1 extends W ? {
|
|
20379
20269
|
arg?: Jsonifiable;
|
|
@@ -20397,18 +20287,21 @@ interface StartWorkflowOptions {
|
|
|
20397
20287
|
}
|
|
20398
20288
|
type StartWorkflowTypedBaseOptions<W extends WorkflowLike$1> = {
|
|
20399
20289
|
workflow: W;
|
|
20400
|
-
|
|
20290
|
+
invoker: MachineUserName$1;
|
|
20401
20291
|
workspaceId?: string;
|
|
20402
20292
|
profile?: string;
|
|
20293
|
+
configPath?: string;
|
|
20403
20294
|
interval?: number;
|
|
20404
20295
|
};
|
|
20405
20296
|
type StartWorkflowTypedOptions<W extends WorkflowLike$1 = WorkflowLike$1> = W extends WorkflowLike$1 ? StartWorkflowTypedBaseOptions<W> & StartWorkflowArgOption<W> : never;
|
|
20406
20297
|
interface WaitOptions {
|
|
20407
20298
|
showProgress?: boolean;
|
|
20299
|
+
timeout?: number;
|
|
20300
|
+
until?: WorkflowWaitUntil;
|
|
20408
20301
|
}
|
|
20409
20302
|
interface StartWorkflowResultWithWait {
|
|
20410
20303
|
executionId: string;
|
|
20411
|
-
wait: (options?: WaitOptions) => Promise<
|
|
20304
|
+
wait: (options?: WaitOptions) => Promise<WorkflowWaitResult>;
|
|
20412
20305
|
}
|
|
20413
20306
|
/**
|
|
20414
20307
|
* Start a workflow and return a handle to wait for completion.
|
|
@@ -20446,6 +20339,8 @@ interface GetWorkflowExecutionOptions {
|
|
|
20446
20339
|
workspaceId?: string;
|
|
20447
20340
|
profile?: string;
|
|
20448
20341
|
interval?: number;
|
|
20342
|
+
timeout?: number;
|
|
20343
|
+
until?: WorkflowWaitUntil;
|
|
20449
20344
|
logs?: boolean;
|
|
20450
20345
|
}
|
|
20451
20346
|
interface WorkflowExecutionDetailInfo extends WorkflowExecutionInfo {
|
|
@@ -20454,9 +20349,16 @@ interface WorkflowExecutionDetailInfo extends WorkflowExecutionInfo {
|
|
|
20454
20349
|
result?: string;
|
|
20455
20350
|
})[];
|
|
20456
20351
|
}
|
|
20352
|
+
interface WorkflowExecutionWaitInfo extends WorkflowExecutionDetailInfo {
|
|
20353
|
+
statusClass: WorkflowWaitResult["statusClass"];
|
|
20354
|
+
elapsedMs: number;
|
|
20355
|
+
attempts: number;
|
|
20356
|
+
timedOut: boolean;
|
|
20357
|
+
lastError: string | null;
|
|
20358
|
+
}
|
|
20457
20359
|
interface GetWorkflowExecutionResult {
|
|
20458
20360
|
execution: WorkflowExecutionDetailInfo;
|
|
20459
|
-
wait: () => Promise<
|
|
20361
|
+
wait: () => Promise<WorkflowExecutionWaitInfo>;
|
|
20460
20362
|
}
|
|
20461
20363
|
/**
|
|
20462
20364
|
* List workflow executions with optional filters.
|
|
@@ -20477,6 +20379,17 @@ declare function listWorkflowExecutions(options?: ListWorkflowExecutionsOptions)
|
|
|
20477
20379
|
*/
|
|
20478
20380
|
declare function getWorkflowExecution(options: GetWorkflowExecutionOptions): Promise<GetWorkflowExecutionResult>;
|
|
20479
20381
|
//#endregion
|
|
20382
|
+
//#region src/cli/commands/workflow/wait.d.ts
|
|
20383
|
+
interface WorkflowWaitOutput extends WorkflowWaitResult {
|
|
20384
|
+
jobDetails?: Awaited<ReturnType<typeof getWorkflowExecution>>["execution"]["jobDetails"];
|
|
20385
|
+
}
|
|
20386
|
+
/**
|
|
20387
|
+
* Wait for an existing workflow execution by ID.
|
|
20388
|
+
* @param options - Workflow wait options
|
|
20389
|
+
* @returns Workflow wait result
|
|
20390
|
+
*/
|
|
20391
|
+
declare function waitWorkflowExecution(options: WaitWorkflowExecutionOptions): Promise<WorkflowWaitResult>;
|
|
20392
|
+
//#endregion
|
|
20480
20393
|
//#region src/cli/commands/workflow/resume.d.ts
|
|
20481
20394
|
interface ResumeWorkflowOptions {
|
|
20482
20395
|
executionId: string;
|
|
@@ -20486,7 +20399,7 @@ interface ResumeWorkflowOptions {
|
|
|
20486
20399
|
}
|
|
20487
20400
|
interface ResumeWorkflowResultWithWait {
|
|
20488
20401
|
executionId: string;
|
|
20489
|
-
wait: (options?: WaitOptions) => Promise<
|
|
20402
|
+
wait: (options?: WaitOptions) => Promise<WorkflowWaitResult>;
|
|
20490
20403
|
}
|
|
20491
20404
|
/**
|
|
20492
20405
|
* Resume a suspended workflow execution and return a handle to wait for completion.
|
|
@@ -20596,7 +20509,9 @@ type WatchExecutorJobTypedOptions<E extends ExecutorLike$1 = ExecutorLike$1> = {
|
|
|
20596
20509
|
workspaceId?: string;
|
|
20597
20510
|
profile?: string;
|
|
20598
20511
|
interval?: number;
|
|
20512
|
+
timeout?: number;
|
|
20599
20513
|
logs?: boolean;
|
|
20514
|
+
showProgress?: boolean;
|
|
20600
20515
|
};
|
|
20601
20516
|
/**
|
|
20602
20517
|
* @deprecated Use ListExecutorJobsTypedOptions instead.
|
|
@@ -20628,7 +20543,9 @@ interface WatchExecutorJobOptions {
|
|
|
20628
20543
|
workspaceId?: string;
|
|
20629
20544
|
profile?: string;
|
|
20630
20545
|
interval?: number;
|
|
20546
|
+
timeout?: number;
|
|
20631
20547
|
logs?: boolean;
|
|
20548
|
+
showProgress?: boolean;
|
|
20632
20549
|
}
|
|
20633
20550
|
interface ExecutorJobDetailInfo extends ExecutorJobInfo {
|
|
20634
20551
|
attempts?: ExecutorJobAttemptInfo[];
|
|
@@ -20641,6 +20558,10 @@ interface WorkflowJobLog {
|
|
|
20641
20558
|
interface WatchExecutorJobResult {
|
|
20642
20559
|
job: ExecutorJobDetailInfo;
|
|
20643
20560
|
targetType: string;
|
|
20561
|
+
elapsedMs: number;
|
|
20562
|
+
attempts: number;
|
|
20563
|
+
timedOut: boolean;
|
|
20564
|
+
lastError: string | null;
|
|
20644
20565
|
workflowExecutionId?: string;
|
|
20645
20566
|
workflowStatus?: string;
|
|
20646
20567
|
workflowJobLogs?: WorkflowJobLog[];
|
|
@@ -20674,6 +20595,12 @@ declare function getExecutorJob(options: GetExecutorJobOptions): Promise<Executo
|
|
|
20674
20595
|
*/
|
|
20675
20596
|
declare function watchExecutorJob<E extends ExecutorLike$1>(options: WatchExecutorJobTypedOptions<E>): Promise<WatchExecutorJobResult>;
|
|
20676
20597
|
declare function watchExecutorJob(options: WatchExecutorJobOptions): Promise<WatchExecutorJobResult>;
|
|
20598
|
+
/**
|
|
20599
|
+
* Build a user-facing failure message for an executor job wait result.
|
|
20600
|
+
* @param result - Executor job wait result
|
|
20601
|
+
* @returns Failure message, or undefined when the wait succeeded
|
|
20602
|
+
*/
|
|
20603
|
+
declare function getExecutorWaitFailureMessage(result: WatchExecutorJobResult): string | undefined;
|
|
20677
20604
|
//#endregion
|
|
20678
20605
|
//#region src/cli/commands/executor/list.d.ts
|
|
20679
20606
|
interface ListExecutorsOptions {
|
|
@@ -21111,7 +21038,7 @@ declare function bundleMigrationScript(sourceFile: string, namespace: string, mi
|
|
|
21111
21038
|
/**
|
|
21112
21039
|
* Options for script execution
|
|
21113
21040
|
*/
|
|
21114
|
-
interface ScriptExecutionOptions {
|
|
21041
|
+
interface ScriptExecutionOptions<T extends Jsonifiable = Jsonifiable> {
|
|
21115
21042
|
/** Operator client instance */
|
|
21116
21043
|
client: OperatorClient;
|
|
21117
21044
|
/** Workspace ID */
|
|
@@ -21120,8 +21047,8 @@ interface ScriptExecutionOptions {
|
|
|
21120
21047
|
name: string;
|
|
21121
21048
|
/** Bundled script code to execute */
|
|
21122
21049
|
code: string;
|
|
21123
|
-
/** Optional JSON
|
|
21124
|
-
arg?:
|
|
21050
|
+
/** Optional JSON-serializable argument to pass to the script */
|
|
21051
|
+
arg?: T;
|
|
21125
21052
|
/** Auth invoker for script execution */
|
|
21126
21053
|
invoker: AuthInvoker;
|
|
21127
21054
|
/** Polling interval in milliseconds (default: 1000ms) */
|
|
@@ -21174,7 +21101,7 @@ declare function waitForExecution(client: OperatorClient, workspaceId: string, e
|
|
|
21174
21101
|
* @param {ScriptExecutionOptions} options - Execution options
|
|
21175
21102
|
* @returns {Promise<ScriptExecutionResult>} Execution result
|
|
21176
21103
|
*/
|
|
21177
|
-
declare function executeScript(options: ScriptExecutionOptions): Promise<ScriptExecutionResult>;
|
|
21104
|
+
declare function executeScript<T extends Jsonifiable = Jsonifiable>(options: ScriptExecutionOptions<T>): Promise<ScriptExecutionResult>;
|
|
21178
21105
|
//#endregion
|
|
21179
|
-
export { type
|
|
21106
|
+
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 WaitWorkflowExecutionOptions, type WatchExecutorJobOptions, type WatchExecutorJobResult, type WatchExecutorJobTypedOptions, type WebhookExecutorInfo, type WorkflowExecutionInfo, type WorkflowExecutionWaitInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkflowWaitOutput, type WorkflowWaitResult, 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, getExecutorWaitFailureMessage, 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, waitWorkflowExecution, watchExecutorJob };
|
|
21180
21107
|
//# sourceMappingURL=lib.d.mts.map
|