@tailor-platform/sdk 1.57.0 → 1.58.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 +20 -0
- package/dist/{application-CdkoGX27.mjs → application-B59TaTk_.mjs} +4 -3
- package/dist/{application-CdkoGX27.mjs.map → application-B59TaTk_.mjs.map} +1 -1
- package/dist/application-gO_pa5BO.mjs +4 -0
- package/dist/cli/index.mjs +164 -13
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +581 -2
- package/dist/cli/lib.mjs +3 -3
- package/dist/{client-DLPEPJ_s.mjs → client-62B-r3MN.mjs} +39 -10
- package/dist/client-62B-r3MN.mjs.map +1 -0
- package/dist/{client-DrzwCD1W.mjs → client-BWl3f1XS.mjs} +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{crashreport-Bm2mN5tg.mjs → crashreport-CCGpLUlP.mjs} +2 -2
- package/dist/{crashreport-Bm2mN5tg.mjs.map → crashreport-CCGpLUlP.mjs.map} +1 -1
- package/dist/{crashreport-C5oHvHUC.mjs → crashreport-CXD_Kjk-.mjs} +1 -1
- package/dist/{index-B61gFI9a.d.mts → index-BWoHfE-i.d.mts} +3 -2
- package/dist/{runtime-1YuaoNr8.mjs → runtime-BC-FbQkg.mjs} +149 -133
- package/dist/runtime-BC-FbQkg.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/{workflow.generated-Kz-nQrTf.d.mts → workflow.generated-CV77NlFp.d.mts} +3 -2
- package/docs/cli/application.md +5 -5
- package/docs/cli/auth.md +55 -6
- package/docs/cli/function.md +2 -2
- package/docs/cli/staticwebsite.md +137 -0
- package/docs/cli-reference.md +17 -14
- package/docs/generator/builtin.md +1 -1
- package/docs/services/auth.md +0 -11
- package/docs/services/staticwebsite.md +13 -0
- package/package.json +4 -4
- package/dist/application-x_mURdR0.mjs +0 -4
- package/dist/client-DLPEPJ_s.mjs.map +0 -1
- package/dist/runtime-1YuaoNr8.mjs.map +0 -1
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as PluginAttachment, a as TypeSourceInfoEntry, i as TailorDBType } from "../tailordb-BlBGmQK-.mjs";
|
|
2
|
-
import { i as AppConfig } from "../workflow.generated-
|
|
2
|
+
import { i as AppConfig } from "../workflow.generated-CV77NlFp.mjs";
|
|
3
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-C_FyVSdl.mjs";
|
|
4
4
|
import { n as kyselyTypePlugin } from "../index-CQZVJ5SX.mjs";
|
|
5
5
|
import { n as enumConstantsPlugin } from "../index-CPRnOjjt.mjs";
|
|
@@ -3126,6 +3126,239 @@ declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus {
|
|
|
3126
3126
|
COMPOSITION_ERROR = 2
|
|
3127
3127
|
}
|
|
3128
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;
|
|
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
|
|
3129
3362
|
//#region ../tailor-proto/src/tailor/v1/tailordb_resource_pb.d.ts
|
|
3130
3363
|
/**
|
|
3131
3364
|
* @generated from message tailor.v1.TailorDBService
|
|
@@ -9427,6 +9660,33 @@ declare type RevokeAuthConnectionResponse = Message<"tailor.v1.RevokeAuthConnect
|
|
|
9427
9660
|
* Use `create(RevokeAuthConnectionResponseSchema)` to create a new message.
|
|
9428
9661
|
*/
|
|
9429
9662
|
declare const RevokeAuthConnectionResponseSchema: GenMessage<RevokeAuthConnectionResponse>;
|
|
9663
|
+
/**
|
|
9664
|
+
* @generated from message tailor.v1.DeleteAuthConnectionRequest
|
|
9665
|
+
*/
|
|
9666
|
+
declare type DeleteAuthConnectionRequest = Message<"tailor.v1.DeleteAuthConnectionRequest"> & {
|
|
9667
|
+
/**
|
|
9668
|
+
* @generated from field: string workspace_id = 1;
|
|
9669
|
+
*/
|
|
9670
|
+
workspaceId: string;
|
|
9671
|
+
/**
|
|
9672
|
+
* @generated from field: string connection_name = 2;
|
|
9673
|
+
*/
|
|
9674
|
+
connectionName: string;
|
|
9675
|
+
};
|
|
9676
|
+
/**
|
|
9677
|
+
* Describes the message tailor.v1.DeleteAuthConnectionRequest.
|
|
9678
|
+
* Use `create(DeleteAuthConnectionRequestSchema)` to create a new message.
|
|
9679
|
+
*/
|
|
9680
|
+
declare const DeleteAuthConnectionRequestSchema: GenMessage<DeleteAuthConnectionRequest>;
|
|
9681
|
+
/**
|
|
9682
|
+
* @generated from message tailor.v1.DeleteAuthConnectionResponse
|
|
9683
|
+
*/
|
|
9684
|
+
declare type DeleteAuthConnectionResponse = Message<"tailor.v1.DeleteAuthConnectionResponse"> & {};
|
|
9685
|
+
/**
|
|
9686
|
+
* Describes the message tailor.v1.DeleteAuthConnectionResponse.
|
|
9687
|
+
* Use `create(DeleteAuthConnectionResponseSchema)` to create a new message.
|
|
9688
|
+
*/
|
|
9689
|
+
declare const DeleteAuthConnectionResponseSchema: GenMessage<DeleteAuthConnectionResponse>;
|
|
9430
9690
|
/**
|
|
9431
9691
|
* @generated from message tailor.v1.RegisterAuthConnectionSessionRequest
|
|
9432
9692
|
*/
|
|
@@ -10122,6 +10382,23 @@ declare type FunctionErrorInfo = Message<"tailor.v1.FunctionErrorInfo"> & {
|
|
|
10122
10382
|
*/
|
|
10123
10383
|
stackTrace: string;
|
|
10124
10384
|
};
|
|
10385
|
+
/**
|
|
10386
|
+
* @generated from message tailor.v1.FunctionLogEntry
|
|
10387
|
+
*/
|
|
10388
|
+
declare type FunctionLogEntry = Message<"tailor.v1.FunctionLogEntry"> & {
|
|
10389
|
+
/**
|
|
10390
|
+
* @generated from field: string message = 1;
|
|
10391
|
+
*/
|
|
10392
|
+
message: string;
|
|
10393
|
+
/**
|
|
10394
|
+
* @generated from field: tailor.v1.FunctionLogSeverity severity = 2;
|
|
10395
|
+
*/
|
|
10396
|
+
severity: FunctionLogSeverity;
|
|
10397
|
+
/**
|
|
10398
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
|
10399
|
+
*/
|
|
10400
|
+
timestamp?: Timestamp;
|
|
10401
|
+
};
|
|
10125
10402
|
/**
|
|
10126
10403
|
* @generated from message tailor.v1.FunctionExecution
|
|
10127
10404
|
*/
|
|
@@ -10174,6 +10451,10 @@ declare type FunctionExecution = Message<"tailor.v1.FunctionExecution"> & {
|
|
|
10174
10451
|
* @generated from field: string content_hash = 12;
|
|
10175
10452
|
*/
|
|
10176
10453
|
contentHash: string;
|
|
10454
|
+
/**
|
|
10455
|
+
* @generated from field: repeated tailor.v1.FunctionLogEntry log_entries = 13;
|
|
10456
|
+
*/
|
|
10457
|
+
logEntries: FunctionLogEntry[];
|
|
10177
10458
|
};
|
|
10178
10459
|
/**
|
|
10179
10460
|
* @generated from enum tailor.v1.FunctionExecution.Status
|
|
@@ -10238,6 +10519,35 @@ declare enum FunctionErrorKind {
|
|
|
10238
10519
|
*/
|
|
10239
10520
|
PLATFORM = 4
|
|
10240
10521
|
}
|
|
10522
|
+
/**
|
|
10523
|
+
* @generated from enum tailor.v1.FunctionLogSeverity
|
|
10524
|
+
*/
|
|
10525
|
+
declare enum FunctionLogSeverity {
|
|
10526
|
+
/**
|
|
10527
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_UNSPECIFIED = 0;
|
|
10528
|
+
*/
|
|
10529
|
+
UNSPECIFIED = 0,
|
|
10530
|
+
/**
|
|
10531
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_LOG = 10;
|
|
10532
|
+
*/
|
|
10533
|
+
LOG = 10,
|
|
10534
|
+
/**
|
|
10535
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_DEBUG = 20;
|
|
10536
|
+
*/
|
|
10537
|
+
DEBUG = 20,
|
|
10538
|
+
/**
|
|
10539
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_INFO = 30;
|
|
10540
|
+
*/
|
|
10541
|
+
INFO = 30,
|
|
10542
|
+
/**
|
|
10543
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_WARNING = 40;
|
|
10544
|
+
*/
|
|
10545
|
+
WARNING = 40,
|
|
10546
|
+
/**
|
|
10547
|
+
* @generated from enum value: FUNCTION_LOG_SEVERITY_ERROR = 50;
|
|
10548
|
+
*/
|
|
10549
|
+
ERROR = 50
|
|
10550
|
+
}
|
|
10241
10551
|
//#endregion
|
|
10242
10552
|
//#region ../tailor-proto/src/tailor/v1/function_pb.d.ts
|
|
10243
10553
|
/**
|
|
@@ -11039,6 +11349,91 @@ declare type ListMeterEventCountsResponse_Value = Message<"tailor.v1.ListMeterEv
|
|
|
11039
11349
|
*/
|
|
11040
11350
|
count: bigint;
|
|
11041
11351
|
};
|
|
11352
|
+
/**
|
|
11353
|
+
* @generated from message tailor.v1.ListMeterAITokenUsagesRequest
|
|
11354
|
+
*/
|
|
11355
|
+
declare type ListMeterAITokenUsagesRequest = Message<"tailor.v1.ListMeterAITokenUsagesRequest"> & {
|
|
11356
|
+
/**
|
|
11357
|
+
* @generated from field: string workspace_id = 1;
|
|
11358
|
+
*/
|
|
11359
|
+
workspaceId: string;
|
|
11360
|
+
/**
|
|
11361
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
11362
|
+
*/
|
|
11363
|
+
startTime?: Timestamp;
|
|
11364
|
+
/**
|
|
11365
|
+
* @generated from field: google.protobuf.Timestamp end_time = 3;
|
|
11366
|
+
*/
|
|
11367
|
+
endTime?: Timestamp;
|
|
11368
|
+
/**
|
|
11369
|
+
* @generated from field: google.protobuf.Duration step = 4;
|
|
11370
|
+
*/
|
|
11371
|
+
step?: Duration;
|
|
11372
|
+
};
|
|
11373
|
+
/**
|
|
11374
|
+
* Describes the message tailor.v1.ListMeterAITokenUsagesRequest.
|
|
11375
|
+
* Use `create(ListMeterAITokenUsagesRequestSchema)` to create a new message.
|
|
11376
|
+
*/
|
|
11377
|
+
declare const ListMeterAITokenUsagesRequestSchema: GenMessage<ListMeterAITokenUsagesRequest>;
|
|
11378
|
+
/**
|
|
11379
|
+
* @generated from message tailor.v1.ListMeterAITokenUsagesResponse
|
|
11380
|
+
*/
|
|
11381
|
+
declare type ListMeterAITokenUsagesResponse = Message<"tailor.v1.ListMeterAITokenUsagesResponse"> & {
|
|
11382
|
+
/**
|
|
11383
|
+
* @generated from field: repeated tailor.v1.ListMeterAITokenUsagesResponse.TokenUsage usages = 1;
|
|
11384
|
+
*/
|
|
11385
|
+
usages: ListMeterAITokenUsagesResponse_TokenUsage[];
|
|
11386
|
+
};
|
|
11387
|
+
/**
|
|
11388
|
+
* Describes the message tailor.v1.ListMeterAITokenUsagesResponse.
|
|
11389
|
+
* Use `create(ListMeterAITokenUsagesResponseSchema)` to create a new message.
|
|
11390
|
+
*/
|
|
11391
|
+
declare const ListMeterAITokenUsagesResponseSchema: GenMessage<ListMeterAITokenUsagesResponse>;
|
|
11392
|
+
/**
|
|
11393
|
+
* @generated from message tailor.v1.ListMeterAITokenUsagesResponse.TokenUsage
|
|
11394
|
+
*/
|
|
11395
|
+
declare type ListMeterAITokenUsagesResponse_TokenUsage = Message<"tailor.v1.ListMeterAITokenUsagesResponse.TokenUsage"> & {
|
|
11396
|
+
/**
|
|
11397
|
+
* @generated from field: string aigateway_name = 1;
|
|
11398
|
+
*/
|
|
11399
|
+
aigatewayName: string;
|
|
11400
|
+
/**
|
|
11401
|
+
* Response model name reported by the upstream provider, e.g. "gpt-5",
|
|
11402
|
+
* "gemini-3-flash", "claude-sonnet-4-6".
|
|
11403
|
+
*
|
|
11404
|
+
* @generated from field: string model = 2;
|
|
11405
|
+
*/
|
|
11406
|
+
model: string;
|
|
11407
|
+
/**
|
|
11408
|
+
* One of: input, output, cached_input, cache_creation_input, reasoning.
|
|
11409
|
+
*
|
|
11410
|
+
* @generated from field: string token_type = 3;
|
|
11411
|
+
*/
|
|
11412
|
+
tokenType: string;
|
|
11413
|
+
/**
|
|
11414
|
+
* tokens per step
|
|
11415
|
+
*
|
|
11416
|
+
* @generated from field: repeated tailor.v1.ListMeterAITokenUsagesResponse.Value values = 4;
|
|
11417
|
+
*/
|
|
11418
|
+
values: ListMeterAITokenUsagesResponse_Value[];
|
|
11419
|
+
};
|
|
11420
|
+
/**
|
|
11421
|
+
* @generated from message tailor.v1.ListMeterAITokenUsagesResponse.Value
|
|
11422
|
+
*/
|
|
11423
|
+
declare type ListMeterAITokenUsagesResponse_Value = Message<"tailor.v1.ListMeterAITokenUsagesResponse.Value"> & {
|
|
11424
|
+
/**
|
|
11425
|
+
* @generated from field: google.protobuf.Timestamp from = 1;
|
|
11426
|
+
*/
|
|
11427
|
+
from?: Timestamp;
|
|
11428
|
+
/**
|
|
11429
|
+
* @generated from field: google.protobuf.Timestamp to = 2;
|
|
11430
|
+
*/
|
|
11431
|
+
to?: Timestamp;
|
|
11432
|
+
/**
|
|
11433
|
+
* @generated from field: int64 count = 3;
|
|
11434
|
+
*/
|
|
11435
|
+
count: bigint;
|
|
11436
|
+
};
|
|
11042
11437
|
//#endregion
|
|
11043
11438
|
//#region ../tailor-proto/src/tailor/v1/idp_resource_pb.d.ts
|
|
11044
11439
|
/**
|
|
@@ -12899,6 +13294,33 @@ declare type UpdateWorkflowJobFunctionResponse = Message<"tailor.v1.UpdateWorkfl
|
|
|
12899
13294
|
* Use `create(UpdateWorkflowJobFunctionResponseSchema)` to create a new message.
|
|
12900
13295
|
*/
|
|
12901
13296
|
declare const UpdateWorkflowJobFunctionResponseSchema: GenMessage<UpdateWorkflowJobFunctionResponse>;
|
|
13297
|
+
/**
|
|
13298
|
+
* @generated from message tailor.v1.DeleteWorkflowJobFunctionRequest
|
|
13299
|
+
*/
|
|
13300
|
+
declare type DeleteWorkflowJobFunctionRequest = Message<"tailor.v1.DeleteWorkflowJobFunctionRequest"> & {
|
|
13301
|
+
/**
|
|
13302
|
+
* @generated from field: string workspace_id = 1;
|
|
13303
|
+
*/
|
|
13304
|
+
workspaceId: string;
|
|
13305
|
+
/**
|
|
13306
|
+
* @generated from field: string job_function_name = 2;
|
|
13307
|
+
*/
|
|
13308
|
+
jobFunctionName: string;
|
|
13309
|
+
};
|
|
13310
|
+
/**
|
|
13311
|
+
* Describes the message tailor.v1.DeleteWorkflowJobFunctionRequest.
|
|
13312
|
+
* Use `create(DeleteWorkflowJobFunctionRequestSchema)` to create a new message.
|
|
13313
|
+
*/
|
|
13314
|
+
declare const DeleteWorkflowJobFunctionRequestSchema: GenMessage<DeleteWorkflowJobFunctionRequest>;
|
|
13315
|
+
/**
|
|
13316
|
+
* @generated from message tailor.v1.DeleteWorkflowJobFunctionResponse
|
|
13317
|
+
*/
|
|
13318
|
+
declare type DeleteWorkflowJobFunctionResponse = Message<"tailor.v1.DeleteWorkflowJobFunctionResponse"> & {};
|
|
13319
|
+
/**
|
|
13320
|
+
* Describes the message tailor.v1.DeleteWorkflowJobFunctionResponse.
|
|
13321
|
+
* Use `create(DeleteWorkflowJobFunctionResponseSchema)` to create a new message.
|
|
13322
|
+
*/
|
|
13323
|
+
declare const DeleteWorkflowJobFunctionResponseSchema: GenMessage<DeleteWorkflowJobFunctionResponse>;
|
|
12902
13324
|
/**
|
|
12903
13325
|
* @generated from message tailor.v1.GetWorkflowJobFunctionRequest
|
|
12904
13326
|
*/
|
|
@@ -14872,6 +15294,84 @@ declare const OperatorService: GenService<{
|
|
|
14872
15294
|
input: typeof GetApplicationSchemaHealthRequestSchema;
|
|
14873
15295
|
output: typeof GetApplicationSchemaHealthResponseSchema;
|
|
14874
15296
|
};
|
|
15297
|
+
/**
|
|
15298
|
+
* CreateAIGateway creates a new AI Gateway in a given workspace.
|
|
15299
|
+
*
|
|
15300
|
+
* [Errors]
|
|
15301
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
15302
|
+
* - PermissionDenied: can view workspace but no permission to create
|
|
15303
|
+
* - InvalidArgument: request is invalid
|
|
15304
|
+
* - AlreadyExists: an AI Gateway with the same name already exists
|
|
15305
|
+
*
|
|
15306
|
+
* @generated from rpc tailor.v1.OperatorService.CreateAIGateway
|
|
15307
|
+
*/
|
|
15308
|
+
createAIGateway: {
|
|
15309
|
+
methodKind: "unary";
|
|
15310
|
+
input: typeof CreateAIGatewayRequestSchema;
|
|
15311
|
+
output: typeof CreateAIGatewayResponseSchema;
|
|
15312
|
+
};
|
|
15313
|
+
/**
|
|
15314
|
+
* UpdateAIGateway updates an AI Gateway. Only `auth_namespace` is mutable.
|
|
15315
|
+
*
|
|
15316
|
+
* [Errors]
|
|
15317
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
15318
|
+
* - InvalidArgument: request is invalid
|
|
15319
|
+
* - PermissionDenied: can view AI Gateway but no permission to update
|
|
15320
|
+
* - NotFound: AI Gateway does not exist or can not be accessed
|
|
15321
|
+
*
|
|
15322
|
+
* @generated from rpc tailor.v1.OperatorService.UpdateAIGateway
|
|
15323
|
+
*/
|
|
15324
|
+
updateAIGateway: {
|
|
15325
|
+
methodKind: "unary";
|
|
15326
|
+
input: typeof UpdateAIGatewayRequestSchema;
|
|
15327
|
+
output: typeof UpdateAIGatewayResponseSchema;
|
|
15328
|
+
};
|
|
15329
|
+
/**
|
|
15330
|
+
* DeleteAIGateway deletes an AI Gateway.
|
|
15331
|
+
*
|
|
15332
|
+
* [Errors]
|
|
15333
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
15334
|
+
* - InvalidArgument: request is invalid
|
|
15335
|
+
* - PermissionDenied: can view AI Gateway but no permission to delete
|
|
15336
|
+
* - NotFound: AI Gateway does not exist or can not be accessed
|
|
15337
|
+
*
|
|
15338
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteAIGateway
|
|
15339
|
+
*/
|
|
15340
|
+
deleteAIGateway: {
|
|
15341
|
+
methodKind: "unary";
|
|
15342
|
+
input: typeof DeleteAIGatewayRequestSchema;
|
|
15343
|
+
output: typeof DeleteAIGatewayResponseSchema;
|
|
15344
|
+
};
|
|
15345
|
+
/**
|
|
15346
|
+
* GetAIGateway returns an AI Gateway.
|
|
15347
|
+
*
|
|
15348
|
+
* [Errors]
|
|
15349
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
15350
|
+
* - InvalidArgument: request is invalid
|
|
15351
|
+
* - NotFound: AI Gateway does not exist or can not be accessed
|
|
15352
|
+
*
|
|
15353
|
+
* @generated from rpc tailor.v1.OperatorService.GetAIGateway
|
|
15354
|
+
*/
|
|
15355
|
+
getAIGateway: {
|
|
15356
|
+
methodKind: "unary";
|
|
15357
|
+
input: typeof GetAIGatewayRequestSchema;
|
|
15358
|
+
output: typeof GetAIGatewayResponseSchema;
|
|
15359
|
+
};
|
|
15360
|
+
/**
|
|
15361
|
+
* ListAIGateways returns AI Gateways in a given workspace.
|
|
15362
|
+
*
|
|
15363
|
+
* [Errors]
|
|
15364
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
15365
|
+
* - InvalidArgument: request is invalid
|
|
15366
|
+
* - NotFound: workspace does not exist or can not be accessed
|
|
15367
|
+
*
|
|
15368
|
+
* @generated from rpc tailor.v1.OperatorService.ListAIGateways
|
|
15369
|
+
*/
|
|
15370
|
+
listAIGateways: {
|
|
15371
|
+
methodKind: "unary";
|
|
15372
|
+
input: typeof ListAIGatewaysRequestSchema;
|
|
15373
|
+
output: typeof ListAIGatewaysResponseSchema;
|
|
15374
|
+
};
|
|
14875
15375
|
/**
|
|
14876
15376
|
* ComposeTailorDBSDL returns the GraphQL schema of a TailorDB service.
|
|
14877
15377
|
*
|
|
@@ -16225,6 +16725,16 @@ declare const OperatorService: GenService<{
|
|
|
16225
16725
|
input: typeof RevokeAuthConnectionRequestSchema;
|
|
16226
16726
|
output: typeof RevokeAuthConnectionResponseSchema;
|
|
16227
16727
|
};
|
|
16728
|
+
/**
|
|
16729
|
+
* DeleteAuthConnection deletes an auth connection.
|
|
16730
|
+
*
|
|
16731
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteAuthConnection
|
|
16732
|
+
*/
|
|
16733
|
+
deleteAuthConnection: {
|
|
16734
|
+
methodKind: "unary";
|
|
16735
|
+
input: typeof DeleteAuthConnectionRequestSchema;
|
|
16736
|
+
output: typeof DeleteAuthConnectionResponseSchema;
|
|
16737
|
+
};
|
|
16228
16738
|
/**
|
|
16229
16739
|
* RegisterAuthConnectionSession creates a new auth connection.
|
|
16230
16740
|
*
|
|
@@ -16470,6 +16980,17 @@ declare const OperatorService: GenService<{
|
|
|
16470
16980
|
input: typeof ListMeterEventCountsRequestSchema;
|
|
16471
16981
|
output: typeof ListMeterEventCountsResponseSchema;
|
|
16472
16982
|
};
|
|
16983
|
+
/**
|
|
16984
|
+
* ListMeterAITokenUsages returns AI Gateway token usage in a workspace,
|
|
16985
|
+
* with one row per (aigateway_name, model, token_type) combination.
|
|
16986
|
+
*
|
|
16987
|
+
* @generated from rpc tailor.v1.OperatorService.ListMeterAITokenUsages
|
|
16988
|
+
*/
|
|
16989
|
+
listMeterAITokenUsages: {
|
|
16990
|
+
methodKind: "unary";
|
|
16991
|
+
input: typeof ListMeterAITokenUsagesRequestSchema;
|
|
16992
|
+
output: typeof ListMeterAITokenUsagesResponseSchema;
|
|
16993
|
+
};
|
|
16473
16994
|
/**
|
|
16474
16995
|
* ListIdPServices list all namespaces under a workspace.
|
|
16475
16996
|
*
|
|
@@ -16685,10 +17206,11 @@ declare const OperatorService: GenService<{
|
|
|
16685
17206
|
*
|
|
16686
17207
|
* [Errors]
|
|
16687
17208
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
16688
|
-
* - InvalidArgument: request is invalid
|
|
17209
|
+
* - InvalidArgument: request is invalid or domain format is rejected
|
|
16689
17210
|
* - NotFound: static website does not exist
|
|
16690
17211
|
* - AlreadyExists: domain is already registered
|
|
16691
17212
|
* - ResourceExhausted: maximum number of custom domains reached
|
|
17213
|
+
* - FailedPrecondition: domain already has an active TLS subscription
|
|
16692
17214
|
*
|
|
16693
17215
|
* @generated from rpc tailor.v1.OperatorService.AddCustomDomain
|
|
16694
17216
|
*/
|
|
@@ -16734,6 +17256,7 @@ declare const OperatorService: GenService<{
|
|
|
16734
17256
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
16735
17257
|
* - InvalidArgument: request is invalid
|
|
16736
17258
|
* - NotFound: custom domain does not exist
|
|
17259
|
+
* - FailedPrecondition: domain DNS is still active, remove DNS record before deleting
|
|
16737
17260
|
*
|
|
16738
17261
|
* @generated from rpc tailor.v1.OperatorService.RemoveCustomDomain
|
|
16739
17262
|
*/
|
|
@@ -16906,6 +17429,22 @@ declare const OperatorService: GenService<{
|
|
|
16906
17429
|
input: typeof UpdateWorkflowJobFunctionRequestSchema;
|
|
16907
17430
|
output: typeof UpdateWorkflowJobFunctionResponseSchema;
|
|
16908
17431
|
};
|
|
17432
|
+
/**
|
|
17433
|
+
* DeleteWorkflowJobFunction deletes a workflow job function (all versions) by name.
|
|
17434
|
+
*
|
|
17435
|
+
* [Errors]
|
|
17436
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17437
|
+
* - InvalidArgument: request is invalid
|
|
17438
|
+
* - NotFound: job function does not exist or can not be accessed
|
|
17439
|
+
* - FailedPrecondition: job function is still referenced by one or more workflows
|
|
17440
|
+
*
|
|
17441
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteWorkflowJobFunction
|
|
17442
|
+
*/
|
|
17443
|
+
deleteWorkflowJobFunction: {
|
|
17444
|
+
methodKind: "unary";
|
|
17445
|
+
input: typeof DeleteWorkflowJobFunctionRequestSchema;
|
|
17446
|
+
output: typeof DeleteWorkflowJobFunctionResponseSchema;
|
|
17447
|
+
};
|
|
16909
17448
|
/**
|
|
16910
17449
|
* GetWorkflowJobFunction returns a workflow job function.
|
|
16911
17450
|
*
|
|
@@ -17689,6 +18228,31 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
17689
18228
|
input: typeof GetApplicationSchemaHealthRequestSchema;
|
|
17690
18229
|
output: typeof GetApplicationSchemaHealthResponseSchema;
|
|
17691
18230
|
};
|
|
18231
|
+
createAIGateway: {
|
|
18232
|
+
methodKind: "unary";
|
|
18233
|
+
input: typeof CreateAIGatewayRequestSchema;
|
|
18234
|
+
output: typeof CreateAIGatewayResponseSchema;
|
|
18235
|
+
};
|
|
18236
|
+
updateAIGateway: {
|
|
18237
|
+
methodKind: "unary";
|
|
18238
|
+
input: typeof UpdateAIGatewayRequestSchema;
|
|
18239
|
+
output: typeof UpdateAIGatewayResponseSchema;
|
|
18240
|
+
};
|
|
18241
|
+
deleteAIGateway: {
|
|
18242
|
+
methodKind: "unary";
|
|
18243
|
+
input: typeof DeleteAIGatewayRequestSchema;
|
|
18244
|
+
output: typeof DeleteAIGatewayResponseSchema;
|
|
18245
|
+
};
|
|
18246
|
+
getAIGateway: {
|
|
18247
|
+
methodKind: "unary";
|
|
18248
|
+
input: typeof GetAIGatewayRequestSchema;
|
|
18249
|
+
output: typeof GetAIGatewayResponseSchema;
|
|
18250
|
+
};
|
|
18251
|
+
listAIGateways: {
|
|
18252
|
+
methodKind: "unary";
|
|
18253
|
+
input: typeof ListAIGatewaysRequestSchema;
|
|
18254
|
+
output: typeof ListAIGatewaysResponseSchema;
|
|
18255
|
+
};
|
|
17692
18256
|
composeTailorDBSDL: {
|
|
17693
18257
|
methodKind: "unary";
|
|
17694
18258
|
input: typeof ComposeTailorDBSDLRequestSchema;
|
|
@@ -18184,6 +18748,11 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
18184
18748
|
input: typeof RevokeAuthConnectionRequestSchema;
|
|
18185
18749
|
output: typeof RevokeAuthConnectionResponseSchema;
|
|
18186
18750
|
};
|
|
18751
|
+
deleteAuthConnection: {
|
|
18752
|
+
methodKind: "unary";
|
|
18753
|
+
input: typeof DeleteAuthConnectionRequestSchema;
|
|
18754
|
+
output: typeof DeleteAuthConnectionResponseSchema;
|
|
18755
|
+
};
|
|
18187
18756
|
registerAuthConnectionSession: {
|
|
18188
18757
|
methodKind: "unary";
|
|
18189
18758
|
input: typeof RegisterAuthConnectionSessionRequestSchema;
|
|
@@ -18289,6 +18858,11 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
18289
18858
|
input: typeof ListMeterEventCountsRequestSchema;
|
|
18290
18859
|
output: typeof ListMeterEventCountsResponseSchema;
|
|
18291
18860
|
};
|
|
18861
|
+
listMeterAITokenUsages: {
|
|
18862
|
+
methodKind: "unary";
|
|
18863
|
+
input: typeof ListMeterAITokenUsagesRequestSchema;
|
|
18864
|
+
output: typeof ListMeterAITokenUsagesResponseSchema;
|
|
18865
|
+
};
|
|
18292
18866
|
listIdPServices: {
|
|
18293
18867
|
methodKind: "unary";
|
|
18294
18868
|
input: typeof ListIdPServicesRequestSchema;
|
|
@@ -18434,6 +19008,11 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
18434
19008
|
input: typeof UpdateWorkflowJobFunctionRequestSchema;
|
|
18435
19009
|
output: typeof UpdateWorkflowJobFunctionResponseSchema;
|
|
18436
19010
|
};
|
|
19011
|
+
deleteWorkflowJobFunction: {
|
|
19012
|
+
methodKind: "unary";
|
|
19013
|
+
input: typeof DeleteWorkflowJobFunctionRequestSchema;
|
|
19014
|
+
output: typeof DeleteWorkflowJobFunctionResponseSchema;
|
|
19015
|
+
};
|
|
18437
19016
|
getWorkflowJobFunction: {
|
|
18438
19017
|
methodKind: "unary";
|
|
18439
19018
|
input: typeof GetWorkflowJobFunctionRequestSchema;
|