@tailor-platform/sdk 1.63.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/dist/{actor-J2gJ0eK5.d.mts → actor-D_2aJjYO.d.mts} +2 -2
- package/dist/{application-BezXGbrU.mjs → application-DGDmL8i_.mjs} +72 -9
- package/dist/application-DGDmL8i_.mjs.map +1 -0
- package/dist/application-nTydHJm8.mjs +4 -0
- package/dist/cli/index.mjs +66 -22
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +375 -375
- package/dist/cli/lib.mjs +3 -3
- package/dist/{client-CobIRHl-.mjs → client-F0a4cWUM.mjs} +3 -2
- package/dist/client-F0a4cWUM.mjs.map +1 -0
- package/dist/{client-C68VWo4g.mjs → client-boxXYevx.mjs} +1 -1
- package/dist/completion/zsh-worker.zsh +4043 -0
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +17 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{crashreport-BhD0y14F.mjs → crashreport-0EHy-ayY.mjs} +2 -2
- package/dist/{crashreport-BhD0y14F.mjs.map → crashreport-0EHy-ayY.mjs.map} +1 -1
- package/dist/{crashreport-D1wKBJ8N.mjs → crashreport-Bf6uT6mf.mjs} +1 -1
- package/dist/{index-CLxubakC.d.mts → index-BdLqzJDu.d.mts} +19 -6
- package/dist/{index-CfRFkXIO.d.mts → index-Bhjep8cS.d.mts} +2 -2
- package/dist/{index-DUupuPhZ.d.mts → index-CZ2r3qiO.d.mts} +2 -2
- package/dist/{index-CPRnOjjt.d.mts → index-Db2RvnEH.d.mts} +2 -2
- package/dist/{index-CQZVJ5SX.d.mts → index-QpC0TNbH.d.mts} +2 -2
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/index.d.mts +2 -2
- package/dist/{plugin-C_FyVSdl.d.mts → plugin-DylAsA4Z.d.mts} +2 -2
- package/dist/{runtime-CW3jcQCc.mjs → runtime-2nzOZCUb.mjs} +728 -182
- package/dist/runtime-2nzOZCUb.mjs.map +1 -0
- package/dist/{tailordb-BlBGmQK-.d.mts → tailordb-C-ar4XCX.d.mts} +4 -4
- package/dist/utils/test/index.d.mts +3 -3
- package/dist/{workflow.generated-Bf1tWylx.d.mts → workflow.generated--1Qc15Et.d.mts} +62 -7
- package/docs/cli/auth.md +4 -4
- package/docs/cli/completion.md +3 -0
- package/docs/cli/function.md +8 -8
- package/docs/cli/query.md +1 -1
- package/docs/cli/workflow.md +10 -10
- package/docs/cli/workspace.md +14 -10
- package/docs/cli-reference.md +1 -1
- package/docs/services/aigateway.md +97 -0
- package/docs/services/auth.md +19 -0
- package/docs/services/idp.md +96 -0
- package/docs/services/tailordb-migration.md +17 -6
- package/package.json +12 -12
- package/dist/application-BezXGbrU.mjs.map +0 -1
- package/dist/application-DSXntqnV.mjs +0 -4
- package/dist/client-CobIRHl-.mjs.map +0 -1
- package/dist/runtime-CW3jcQCc.mjs.map +0 -1
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as PluginAttachment, a as TypeSourceInfoEntry, i as TailorDBType } from "../tailordb-
|
|
2
|
-
import { i as AppConfig } from "../workflow.generated
|
|
3
|
-
import { B as IdProvider, E as Executor, N as ScheduleTriggerInput, V as OAuth2Client$1, j as IncomingWebhookTrigger, n as Plugin, x as Resolver } from "../plugin-
|
|
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 { _ as PluginAttachment, a as TypeSourceInfoEntry, i as TailorDBType } from "../tailordb-C-ar4XCX.mjs";
|
|
2
|
+
import { i as AppConfig } from "../workflow.generated--1Qc15Et.mjs";
|
|
3
|
+
import { B as IdProvider, E as Executor, N as ScheduleTriggerInput, V as OAuth2Client$1, j as IncomingWebhookTrigger, n as Plugin, x as Resolver } from "../plugin-DylAsA4Z.mjs";
|
|
4
|
+
import { n as kyselyTypePlugin } from "../index-QpC0TNbH.mjs";
|
|
5
|
+
import { n as enumConstantsPlugin } from "../index-Db2RvnEH.mjs";
|
|
6
|
+
import { n as fileUtilsPlugin } from "../index-CZ2r3qiO.mjs";
|
|
7
|
+
import { n as seedPlugin } from "../index-Bhjep8cS.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
10
10
|
import { GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -24,6 +24,353 @@ type BundledScripts = {
|
|
|
24
24
|
authHooks: Map<string, string>;
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
27
|
+
//#region ../tailor-proto/src/tailor/v1/aigateway_resource_pb.d.ts
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message tailor.v1.AIGateway
|
|
30
|
+
*/
|
|
31
|
+
declare type AIGateway = Message<"tailor.v1.AIGateway"> & {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string name = 1;
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: string domain = 2;
|
|
38
|
+
*/
|
|
39
|
+
domain: string;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string auth_namespace = 3;
|
|
42
|
+
*/
|
|
43
|
+
authNamespace: string;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
46
|
+
*/
|
|
47
|
+
createTime?: Timestamp;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: google.protobuf.Timestamp update_time = 5;
|
|
50
|
+
*/
|
|
51
|
+
updateTime?: Timestamp;
|
|
52
|
+
/**
|
|
53
|
+
* Allowed CORS origins for browser-based clients. Each entry is one of:
|
|
54
|
+
* - `*` — any origin (any scheme, any host).
|
|
55
|
+
* - `http(s)://*` — any host on the given scheme.
|
|
56
|
+
* - `http(s)://*.example.com`— any subdomain of example.com on the given scheme.
|
|
57
|
+
* - `http(s)://app.example.com` — an exact origin.
|
|
58
|
+
* An optional `:port` may be appended in all URL forms. Empty list
|
|
59
|
+
* disables cross-origin access (browsers will block any cross-origin
|
|
60
|
+
* reads).
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: repeated string cors = 6;
|
|
63
|
+
*/
|
|
64
|
+
cors: string[];
|
|
65
|
+
/**
|
|
66
|
+
* The base URL of the AI gateway.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string url = 7;
|
|
69
|
+
*/
|
|
70
|
+
url: string;
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message tailor.v1.Namespace
|
|
76
|
+
*/
|
|
77
|
+
declare type Namespace = Message<"tailor.v1.Namespace"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string name = 1;
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message tailor.v1.Script
|
|
85
|
+
*/
|
|
86
|
+
declare type Script = Message<"tailor.v1.Script"> & {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: string expr = 1;
|
|
89
|
+
*/
|
|
90
|
+
expr: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message tailor.v1.Filter
|
|
94
|
+
*/
|
|
95
|
+
declare type Filter = Message<"tailor.v1.Filter"> & {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: tailor.v1.Condition condition = 1;
|
|
98
|
+
*/
|
|
99
|
+
condition?: Condition;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: repeated tailor.v1.Filter and = 2;
|
|
102
|
+
*/
|
|
103
|
+
and: Filter[];
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: repeated tailor.v1.Filter or = 3;
|
|
106
|
+
*/
|
|
107
|
+
or: Filter[];
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message tailor.v1.Condition
|
|
111
|
+
*/
|
|
112
|
+
declare type Condition = Message<"tailor.v1.Condition"> & {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string field = 1;
|
|
115
|
+
*/
|
|
116
|
+
field: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: tailor.v1.Condition.Operator operator = 2;
|
|
119
|
+
*/
|
|
120
|
+
operator: Condition_Operator;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: google.protobuf.Value value = 3;
|
|
123
|
+
*/
|
|
124
|
+
value?: Value;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum tailor.v1.Condition.Operator
|
|
128
|
+
*/
|
|
129
|
+
declare enum Condition_Operator {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum value: OPERATOR_UNSPECIFIED = 0;
|
|
132
|
+
*/
|
|
133
|
+
UNSPECIFIED = 0,
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: OPERATOR_EQ = 1;
|
|
136
|
+
*/
|
|
137
|
+
EQ = 1,
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: OPERATOR_CONTAINS = 2;
|
|
140
|
+
*/
|
|
141
|
+
CONTAINS = 2,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: OPERATOR_GT = 3;
|
|
144
|
+
*/
|
|
145
|
+
GT = 3,
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: OPERATOR_GE = 4;
|
|
148
|
+
*/
|
|
149
|
+
GE = 4,
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: OPERATOR_LT = 5;
|
|
152
|
+
*/
|
|
153
|
+
LT = 5,
|
|
154
|
+
/**
|
|
155
|
+
* @generated from enum value: OPERATOR_LE = 6;
|
|
156
|
+
*/
|
|
157
|
+
LE = 6,
|
|
158
|
+
/**
|
|
159
|
+
* @generated from enum value: OPERATOR_NOT_CONTAINS = 7;
|
|
160
|
+
*/
|
|
161
|
+
NOT_CONTAINS = 7
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @generated from enum tailor.v1.PageDirection
|
|
165
|
+
*/
|
|
166
|
+
declare enum PageDirection {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum value: PAGE_DIRECTION_UNSPECIFIED = 0;
|
|
169
|
+
*/
|
|
170
|
+
UNSPECIFIED = 0,
|
|
171
|
+
/**
|
|
172
|
+
* @generated from enum value: PAGE_DIRECTION_ASC = 1;
|
|
173
|
+
*/
|
|
174
|
+
ASC = 1,
|
|
175
|
+
/**
|
|
176
|
+
* @generated from enum value: PAGE_DIRECTION_DESC = 2;
|
|
177
|
+
*/
|
|
178
|
+
DESC = 2
|
|
179
|
+
}
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region ../tailor-proto/src/tailor/v1/aigateway_pb.d.ts
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message tailor.v1.CreateAIGatewayRequest
|
|
184
|
+
*/
|
|
185
|
+
declare type CreateAIGatewayRequest = Message<"tailor.v1.CreateAIGatewayRequest"> & {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string workspace_id = 1;
|
|
188
|
+
*/
|
|
189
|
+
workspaceId: string;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: string aigateway_name = 2;
|
|
192
|
+
*/
|
|
193
|
+
aigatewayName: string;
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: string auth_namespace = 3;
|
|
196
|
+
*/
|
|
197
|
+
authNamespace: string;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: repeated string cors = 4;
|
|
200
|
+
*/
|
|
201
|
+
cors: string[];
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message tailor.v1.CreateAIGatewayRequest.
|
|
205
|
+
* Use `create(CreateAIGatewayRequestSchema)` to create a new message.
|
|
206
|
+
*/
|
|
207
|
+
declare const CreateAIGatewayRequestSchema: GenMessage<CreateAIGatewayRequest>;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from message tailor.v1.CreateAIGatewayResponse
|
|
210
|
+
*/
|
|
211
|
+
declare type CreateAIGatewayResponse = Message<"tailor.v1.CreateAIGatewayResponse"> & {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
214
|
+
*/
|
|
215
|
+
aigateway?: AIGateway;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message tailor.v1.CreateAIGatewayResponse.
|
|
219
|
+
* Use `create(CreateAIGatewayResponseSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
declare const CreateAIGatewayResponseSchema: GenMessage<CreateAIGatewayResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* @generated from message tailor.v1.UpdateAIGatewayRequest
|
|
224
|
+
*/
|
|
225
|
+
declare type UpdateAIGatewayRequest = Message<"tailor.v1.UpdateAIGatewayRequest"> & {
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: string workspace_id = 1;
|
|
228
|
+
*/
|
|
229
|
+
workspaceId: string;
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string aigateway_name = 2;
|
|
232
|
+
*/
|
|
233
|
+
aigatewayName: string;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: string auth_namespace = 3;
|
|
236
|
+
*/
|
|
237
|
+
authNamespace: string;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: repeated string cors = 4;
|
|
240
|
+
*/
|
|
241
|
+
cors: string[];
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
244
|
+
*/
|
|
245
|
+
updateMask?: FieldMask;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Describes the message tailor.v1.UpdateAIGatewayRequest.
|
|
249
|
+
* Use `create(UpdateAIGatewayRequestSchema)` to create a new message.
|
|
250
|
+
*/
|
|
251
|
+
declare const UpdateAIGatewayRequestSchema: GenMessage<UpdateAIGatewayRequest>;
|
|
252
|
+
/**
|
|
253
|
+
* @generated from message tailor.v1.UpdateAIGatewayResponse
|
|
254
|
+
*/
|
|
255
|
+
declare type UpdateAIGatewayResponse = Message<"tailor.v1.UpdateAIGatewayResponse"> & {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
258
|
+
*/
|
|
259
|
+
aigateway?: AIGateway;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Describes the message tailor.v1.UpdateAIGatewayResponse.
|
|
263
|
+
* Use `create(UpdateAIGatewayResponseSchema)` to create a new message.
|
|
264
|
+
*/
|
|
265
|
+
declare const UpdateAIGatewayResponseSchema: GenMessage<UpdateAIGatewayResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from message tailor.v1.DeleteAIGatewayRequest
|
|
268
|
+
*/
|
|
269
|
+
declare type DeleteAIGatewayRequest = Message<"tailor.v1.DeleteAIGatewayRequest"> & {
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string workspace_id = 1;
|
|
272
|
+
*/
|
|
273
|
+
workspaceId: string;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string aigateway_name = 2;
|
|
276
|
+
*/
|
|
277
|
+
aigatewayName: string;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message tailor.v1.DeleteAIGatewayRequest.
|
|
281
|
+
* Use `create(DeleteAIGatewayRequestSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
declare const DeleteAIGatewayRequestSchema: GenMessage<DeleteAIGatewayRequest>;
|
|
284
|
+
/**
|
|
285
|
+
* @generated from message tailor.v1.DeleteAIGatewayResponse
|
|
286
|
+
*/
|
|
287
|
+
declare type DeleteAIGatewayResponse = Message<"tailor.v1.DeleteAIGatewayResponse"> & {};
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message tailor.v1.DeleteAIGatewayResponse.
|
|
290
|
+
* Use `create(DeleteAIGatewayResponseSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
declare const DeleteAIGatewayResponseSchema: GenMessage<DeleteAIGatewayResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from message tailor.v1.GetAIGatewayRequest
|
|
295
|
+
*/
|
|
296
|
+
declare type GetAIGatewayRequest = Message<"tailor.v1.GetAIGatewayRequest"> & {
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string workspace_id = 1;
|
|
299
|
+
*/
|
|
300
|
+
workspaceId: string;
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: string aigateway_name = 2;
|
|
303
|
+
*/
|
|
304
|
+
aigatewayName: string;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message tailor.v1.GetAIGatewayRequest.
|
|
308
|
+
* Use `create(GetAIGatewayRequestSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
declare const GetAIGatewayRequestSchema: GenMessage<GetAIGatewayRequest>;
|
|
311
|
+
/**
|
|
312
|
+
* @generated from message tailor.v1.GetAIGatewayResponse
|
|
313
|
+
*/
|
|
314
|
+
declare type GetAIGatewayResponse = Message<"tailor.v1.GetAIGatewayResponse"> & {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
317
|
+
*/
|
|
318
|
+
aigateway?: AIGateway;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Describes the message tailor.v1.GetAIGatewayResponse.
|
|
322
|
+
* Use `create(GetAIGatewayResponseSchema)` to create a new message.
|
|
323
|
+
*/
|
|
324
|
+
declare const GetAIGatewayResponseSchema: GenMessage<GetAIGatewayResponse>;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from message tailor.v1.ListAIGatewaysRequest
|
|
327
|
+
*/
|
|
328
|
+
declare type ListAIGatewaysRequest = Message<"tailor.v1.ListAIGatewaysRequest"> & {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: string workspace_id = 1;
|
|
331
|
+
*/
|
|
332
|
+
workspaceId: string;
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: string page_token = 2;
|
|
335
|
+
*/
|
|
336
|
+
pageToken: string;
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: uint32 page_size = 3;
|
|
339
|
+
*/
|
|
340
|
+
pageSize: number;
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
343
|
+
*/
|
|
344
|
+
pageDirection: PageDirection;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Describes the message tailor.v1.ListAIGatewaysRequest.
|
|
348
|
+
* Use `create(ListAIGatewaysRequestSchema)` to create a new message.
|
|
349
|
+
*/
|
|
350
|
+
declare const ListAIGatewaysRequestSchema: GenMessage<ListAIGatewaysRequest>;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message tailor.v1.ListAIGatewaysResponse
|
|
353
|
+
*/
|
|
354
|
+
declare type ListAIGatewaysResponse = Message<"tailor.v1.ListAIGatewaysResponse"> & {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: repeated tailor.v1.AIGateway aigateways = 1;
|
|
357
|
+
*/
|
|
358
|
+
aigateways: AIGateway[];
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: string next_page_token = 2;
|
|
361
|
+
*/
|
|
362
|
+
nextPageToken: string;
|
|
363
|
+
/**
|
|
364
|
+
* @generated from field: int64 total_count = 3;
|
|
365
|
+
*/
|
|
366
|
+
totalCount: bigint;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* Describes the message tailor.v1.ListAIGatewaysResponse.
|
|
370
|
+
* Use `create(ListAIGatewaysResponseSchema)` to create a new message.
|
|
371
|
+
*/
|
|
372
|
+
declare const ListAIGatewaysResponseSchema: GenMessage<ListAIGatewaysResponse>;
|
|
373
|
+
//#endregion
|
|
27
374
|
//#region ../tailor-proto/src/tailor/v1/workspace_resource_pb.d.ts
|
|
28
375
|
/**
|
|
29
376
|
* @generated from message tailor.v1.Organization
|
|
@@ -499,115 +846,7 @@ declare enum PlatformAccountPlanType {
|
|
|
499
846
|
/**
|
|
500
847
|
* @generated from enum value: PLATFORM_ACCOUNT_PLAN_TYPE_BASIC = 2;
|
|
501
848
|
*/
|
|
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
|
|
849
|
+
BASIC = 2
|
|
611
850
|
}
|
|
612
851
|
//#endregion
|
|
613
852
|
//#region ../tailor-proto/src/tailor/v1/workspace_pb.d.ts
|
|
@@ -3126,239 +3365,6 @@ declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus {
|
|
|
3126
3365
|
COMPOSITION_ERROR = 2
|
|
3127
3366
|
}
|
|
3128
3367
|
//#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;
|
|
3178
|
-
/**
|
|
3179
|
-
* @generated from field: string aigateway_name = 2;
|
|
3180
|
-
*/
|
|
3181
|
-
aigatewayName: string;
|
|
3182
|
-
/**
|
|
3183
|
-
* @generated from field: string auth_namespace = 3;
|
|
3184
|
-
*/
|
|
3185
|
-
authNamespace: string;
|
|
3186
|
-
/**
|
|
3187
|
-
* @generated from field: repeated string cors = 4;
|
|
3188
|
-
*/
|
|
3189
|
-
cors: string[];
|
|
3190
|
-
};
|
|
3191
|
-
/**
|
|
3192
|
-
* Describes the message tailor.v1.CreateAIGatewayRequest.
|
|
3193
|
-
* Use `create(CreateAIGatewayRequestSchema)` to create a new message.
|
|
3194
|
-
*/
|
|
3195
|
-
declare const CreateAIGatewayRequestSchema: GenMessage<CreateAIGatewayRequest>;
|
|
3196
|
-
/**
|
|
3197
|
-
* @generated from message tailor.v1.CreateAIGatewayResponse
|
|
3198
|
-
*/
|
|
3199
|
-
declare type CreateAIGatewayResponse = Message<"tailor.v1.CreateAIGatewayResponse"> & {
|
|
3200
|
-
/**
|
|
3201
|
-
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
3202
|
-
*/
|
|
3203
|
-
aigateway?: AIGateway;
|
|
3204
|
-
};
|
|
3205
|
-
/**
|
|
3206
|
-
* Describes the message tailor.v1.CreateAIGatewayResponse.
|
|
3207
|
-
* Use `create(CreateAIGatewayResponseSchema)` to create a new message.
|
|
3208
|
-
*/
|
|
3209
|
-
declare const CreateAIGatewayResponseSchema: GenMessage<CreateAIGatewayResponse>;
|
|
3210
|
-
/**
|
|
3211
|
-
* @generated from message tailor.v1.UpdateAIGatewayRequest
|
|
3212
|
-
*/
|
|
3213
|
-
declare type UpdateAIGatewayRequest = Message<"tailor.v1.UpdateAIGatewayRequest"> & {
|
|
3214
|
-
/**
|
|
3215
|
-
* @generated from field: string workspace_id = 1;
|
|
3216
|
-
*/
|
|
3217
|
-
workspaceId: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* @generated from field: string aigateway_name = 2;
|
|
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;
|
|
3232
|
-
*/
|
|
3233
|
-
updateMask?: FieldMask;
|
|
3234
|
-
};
|
|
3235
|
-
/**
|
|
3236
|
-
* Describes the message tailor.v1.UpdateAIGatewayRequest.
|
|
3237
|
-
* Use `create(UpdateAIGatewayRequestSchema)` to create a new message.
|
|
3238
|
-
*/
|
|
3239
|
-
declare const UpdateAIGatewayRequestSchema: GenMessage<UpdateAIGatewayRequest>;
|
|
3240
|
-
/**
|
|
3241
|
-
* @generated from message tailor.v1.UpdateAIGatewayResponse
|
|
3242
|
-
*/
|
|
3243
|
-
declare type UpdateAIGatewayResponse = Message<"tailor.v1.UpdateAIGatewayResponse"> & {
|
|
3244
|
-
/**
|
|
3245
|
-
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
3246
|
-
*/
|
|
3247
|
-
aigateway?: AIGateway;
|
|
3248
|
-
};
|
|
3249
|
-
/**
|
|
3250
|
-
* Describes the message tailor.v1.UpdateAIGatewayResponse.
|
|
3251
|
-
* Use `create(UpdateAIGatewayResponseSchema)` to create a new message.
|
|
3252
|
-
*/
|
|
3253
|
-
declare const UpdateAIGatewayResponseSchema: GenMessage<UpdateAIGatewayResponse>;
|
|
3254
|
-
/**
|
|
3255
|
-
* @generated from message tailor.v1.DeleteAIGatewayRequest
|
|
3256
|
-
*/
|
|
3257
|
-
declare type DeleteAIGatewayRequest = Message<"tailor.v1.DeleteAIGatewayRequest"> & {
|
|
3258
|
-
/**
|
|
3259
|
-
* @generated from field: string workspace_id = 1;
|
|
3260
|
-
*/
|
|
3261
|
-
workspaceId: string;
|
|
3262
|
-
/**
|
|
3263
|
-
* @generated from field: string aigateway_name = 2;
|
|
3264
|
-
*/
|
|
3265
|
-
aigatewayName: string;
|
|
3266
|
-
};
|
|
3267
|
-
/**
|
|
3268
|
-
* Describes the message tailor.v1.DeleteAIGatewayRequest.
|
|
3269
|
-
* Use `create(DeleteAIGatewayRequestSchema)` to create a new message.
|
|
3270
|
-
*/
|
|
3271
|
-
declare const DeleteAIGatewayRequestSchema: GenMessage<DeleteAIGatewayRequest>;
|
|
3272
|
-
/**
|
|
3273
|
-
* @generated from message tailor.v1.DeleteAIGatewayResponse
|
|
3274
|
-
*/
|
|
3275
|
-
declare type DeleteAIGatewayResponse = Message<"tailor.v1.DeleteAIGatewayResponse"> & {};
|
|
3276
|
-
/**
|
|
3277
|
-
* Describes the message tailor.v1.DeleteAIGatewayResponse.
|
|
3278
|
-
* Use `create(DeleteAIGatewayResponseSchema)` to create a new message.
|
|
3279
|
-
*/
|
|
3280
|
-
declare const DeleteAIGatewayResponseSchema: GenMessage<DeleteAIGatewayResponse>;
|
|
3281
|
-
/**
|
|
3282
|
-
* @generated from message tailor.v1.GetAIGatewayRequest
|
|
3283
|
-
*/
|
|
3284
|
-
declare type GetAIGatewayRequest = Message<"tailor.v1.GetAIGatewayRequest"> & {
|
|
3285
|
-
/**
|
|
3286
|
-
* @generated from field: string workspace_id = 1;
|
|
3287
|
-
*/
|
|
3288
|
-
workspaceId: string;
|
|
3289
|
-
/**
|
|
3290
|
-
* @generated from field: string aigateway_name = 2;
|
|
3291
|
-
*/
|
|
3292
|
-
aigatewayName: string;
|
|
3293
|
-
};
|
|
3294
|
-
/**
|
|
3295
|
-
* Describes the message tailor.v1.GetAIGatewayRequest.
|
|
3296
|
-
* Use `create(GetAIGatewayRequestSchema)` to create a new message.
|
|
3297
|
-
*/
|
|
3298
|
-
declare const GetAIGatewayRequestSchema: GenMessage<GetAIGatewayRequest>;
|
|
3299
|
-
/**
|
|
3300
|
-
* @generated from message tailor.v1.GetAIGatewayResponse
|
|
3301
|
-
*/
|
|
3302
|
-
declare type GetAIGatewayResponse = Message<"tailor.v1.GetAIGatewayResponse"> & {
|
|
3303
|
-
/**
|
|
3304
|
-
* @generated from field: tailor.v1.AIGateway aigateway = 1;
|
|
3305
|
-
*/
|
|
3306
|
-
aigateway?: AIGateway;
|
|
3307
|
-
};
|
|
3308
|
-
/**
|
|
3309
|
-
* Describes the message tailor.v1.GetAIGatewayResponse.
|
|
3310
|
-
* Use `create(GetAIGatewayResponseSchema)` to create a new message.
|
|
3311
|
-
*/
|
|
3312
|
-
declare const GetAIGatewayResponseSchema: GenMessage<GetAIGatewayResponse>;
|
|
3313
|
-
/**
|
|
3314
|
-
* @generated from message tailor.v1.ListAIGatewaysRequest
|
|
3315
|
-
*/
|
|
3316
|
-
declare type ListAIGatewaysRequest = Message<"tailor.v1.ListAIGatewaysRequest"> & {
|
|
3317
|
-
/**
|
|
3318
|
-
* @generated from field: string workspace_id = 1;
|
|
3319
|
-
*/
|
|
3320
|
-
workspaceId: string;
|
|
3321
|
-
/**
|
|
3322
|
-
* @generated from field: string page_token = 2;
|
|
3323
|
-
*/
|
|
3324
|
-
pageToken: string;
|
|
3325
|
-
/**
|
|
3326
|
-
* @generated from field: uint32 page_size = 3;
|
|
3327
|
-
*/
|
|
3328
|
-
pageSize: number;
|
|
3329
|
-
/**
|
|
3330
|
-
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
3331
|
-
*/
|
|
3332
|
-
pageDirection: PageDirection;
|
|
3333
|
-
};
|
|
3334
|
-
/**
|
|
3335
|
-
* Describes the message tailor.v1.ListAIGatewaysRequest.
|
|
3336
|
-
* Use `create(ListAIGatewaysRequestSchema)` to create a new message.
|
|
3337
|
-
*/
|
|
3338
|
-
declare const ListAIGatewaysRequestSchema: GenMessage<ListAIGatewaysRequest>;
|
|
3339
|
-
/**
|
|
3340
|
-
* @generated from message tailor.v1.ListAIGatewaysResponse
|
|
3341
|
-
*/
|
|
3342
|
-
declare type ListAIGatewaysResponse = Message<"tailor.v1.ListAIGatewaysResponse"> & {
|
|
3343
|
-
/**
|
|
3344
|
-
* @generated from field: repeated tailor.v1.AIGateway aigateways = 1;
|
|
3345
|
-
*/
|
|
3346
|
-
aigateways: AIGateway[];
|
|
3347
|
-
/**
|
|
3348
|
-
* @generated from field: string next_page_token = 2;
|
|
3349
|
-
*/
|
|
3350
|
-
nextPageToken: string;
|
|
3351
|
-
/**
|
|
3352
|
-
* @generated from field: int64 total_count = 3;
|
|
3353
|
-
*/
|
|
3354
|
-
totalCount: bigint;
|
|
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>;
|
|
3361
|
-
//#endregion
|
|
3362
3368
|
//#region ../tailor-proto/src/tailor/v1/tailordb_resource_pb.d.ts
|
|
3363
3369
|
/**
|
|
3364
3370
|
* @generated from message tailor.v1.TailorDBService
|
|
@@ -11398,8 +11404,9 @@ declare type ListMeterAITokenUsagesResponse_TokenUsage = Message<"tailor.v1.List
|
|
|
11398
11404
|
*/
|
|
11399
11405
|
aigatewayName: string;
|
|
11400
11406
|
/**
|
|
11401
|
-
*
|
|
11402
|
-
* "gemini-
|
|
11407
|
+
* Request model name as the caller wrote it in their SDK call, e.g.
|
|
11408
|
+
* "gpt-4o-mini", "gemini-2.5-flash", "claude-sonnet-4-6". Stable across
|
|
11409
|
+
* provider-side alias rotations.
|
|
11403
11410
|
*
|
|
11404
11411
|
* @generated from field: string model = 2;
|
|
11405
11412
|
*/
|
|
@@ -19228,7 +19235,7 @@ interface SnapshotHook {
|
|
|
19228
19235
|
* Validation configuration in schema snapshot
|
|
19229
19236
|
*/
|
|
19230
19237
|
interface SnapshotValidation {
|
|
19231
|
-
script
|
|
19238
|
+
script?: {
|
|
19232
19239
|
expr: string;
|
|
19233
19240
|
};
|
|
19234
19241
|
errorMessage: string;
|
|
@@ -19387,12 +19394,20 @@ interface TailorDBSnapshotType {
|
|
|
19387
19394
|
gql?: SnapshotGqlPermission;
|
|
19388
19395
|
};
|
|
19389
19396
|
}
|
|
19390
|
-
//#endregion
|
|
19391
|
-
//#region src/cli/commands/tailordb/migrate/diff-calculator.d.ts
|
|
19392
19397
|
/**
|
|
19393
|
-
*
|
|
19398
|
+
* Schema snapshot - full schema state at a point in time.
|
|
19399
|
+
* Stored as XXXX/schema.json. Defined here (leaf module) so that
|
|
19400
|
+
* snapshot-schema.ts can reference it without importing snapshot.ts.
|
|
19394
19401
|
*/
|
|
19395
|
-
|
|
19402
|
+
interface SchemaSnapshot {
|
|
19403
|
+
/** Format version for future compatibility */
|
|
19404
|
+
version: number;
|
|
19405
|
+
namespace: string;
|
|
19406
|
+
createdAt: string;
|
|
19407
|
+
types: Record<string, TailorDBSnapshotType>;
|
|
19408
|
+
}
|
|
19409
|
+
//#endregion
|
|
19410
|
+
//#region src/cli/commands/tailordb/migrate/diff-calculator.d.ts
|
|
19396
19411
|
/**
|
|
19397
19412
|
* Properties shared by all diff change variants
|
|
19398
19413
|
*/
|
|
@@ -19540,7 +19555,7 @@ type DiffChange = TypeAddedChange | TypeRemovedChange | TypeModifiedChange | Fie
|
|
|
19540
19555
|
*/
|
|
19541
19556
|
interface MigrationDiff {
|
|
19542
19557
|
/** Format version for future compatibility */
|
|
19543
|
-
version:
|
|
19558
|
+
version: number;
|
|
19544
19559
|
namespace: string;
|
|
19545
19560
|
createdAt: string;
|
|
19546
19561
|
description?: string;
|
|
@@ -19621,17 +19636,6 @@ declare const DIFF_FILE_NAME = "diff.json";
|
|
|
19621
19636
|
declare const MIGRATE_FILE_NAME = "migrate.ts";
|
|
19622
19637
|
/** File name for generated DB type definitions. */
|
|
19623
19638
|
declare const DB_TYPES_FILE_NAME = "db.ts";
|
|
19624
|
-
/**
|
|
19625
|
-
* Schema snapshot - full schema state at a point in time
|
|
19626
|
-
* Stored as XXXX/schema.json (e.g., 0000/schema.json for initial snapshot)
|
|
19627
|
-
*/
|
|
19628
|
-
interface SchemaSnapshot {
|
|
19629
|
-
/** Format version for future compatibility */
|
|
19630
|
-
version: typeof SCHEMA_SNAPSHOT_VERSION;
|
|
19631
|
-
namespace: string;
|
|
19632
|
-
createdAt: string;
|
|
19633
|
-
types: Record<string, TailorDBSnapshotType>;
|
|
19634
|
-
}
|
|
19635
19639
|
/**
|
|
19636
19640
|
* Migration file type
|
|
19637
19641
|
*/
|
|
@@ -20230,7 +20234,7 @@ declare function listMachineUsers(options?: ListMachineUsersOptions): Promise<Ma
|
|
|
20230
20234
|
//#endregion
|
|
20231
20235
|
//#region src/cli/commands/machineuser/token.d.ts
|
|
20232
20236
|
interface GetMachineUserTokenOptions {
|
|
20233
|
-
name
|
|
20237
|
+
name?: string;
|
|
20234
20238
|
workspaceId?: string;
|
|
20235
20239
|
profile?: string;
|
|
20236
20240
|
configPath?: string;
|
|
@@ -20391,7 +20395,7 @@ type StartWorkflowArgOption<W extends WorkflowLike$1> = W extends WorkflowLike$1
|
|
|
20391
20395
|
*/
|
|
20392
20396
|
interface StartWorkflowOptions {
|
|
20393
20397
|
name: string;
|
|
20394
|
-
machineUser
|
|
20398
|
+
machineUser?: string;
|
|
20395
20399
|
arg?: Jsonifiable;
|
|
20396
20400
|
workspaceId?: string;
|
|
20397
20401
|
profile?: string;
|
|
@@ -20900,10 +20904,6 @@ type LoadWorkspaceIdOptions = {
|
|
|
20900
20904
|
type LoadAccessTokenOptions = {
|
|
20901
20905
|
profile?: string;
|
|
20902
20906
|
};
|
|
20903
|
-
/**
|
|
20904
|
-
* Read Tailor Platform CLI configuration, migrating from tailorctl or v1 if necessary.
|
|
20905
|
-
* @returns Parsed platform configuration
|
|
20906
|
-
*/
|
|
20907
20907
|
/**
|
|
20908
20908
|
* Load workspace ID from command options, environment variables, or platform config.
|
|
20909
20909
|
* In CLI context, env fallback is also handled by politty's arg env option.
|
|
@@ -20948,7 +20948,7 @@ declare const queryOptionsSchema: z.ZodObject<{
|
|
|
20948
20948
|
sql: "sql";
|
|
20949
20949
|
gql: "gql";
|
|
20950
20950
|
}>;
|
|
20951
|
-
machineUser: z.ZodString
|
|
20951
|
+
machineUser: z.ZodOptional<z.ZodString>;
|
|
20952
20952
|
query: z.ZodString;
|
|
20953
20953
|
}, z.core.$strip>;
|
|
20954
20954
|
type QueryOptions = z.input<typeof queryOptionsSchema>;
|