@tailor-platform/sdk 1.67.1 → 1.69.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 +98 -1
- package/dist/application-Br48NXBD.mjs +4 -0
- package/dist/application-Cr-limKC.mjs +6192 -0
- package/dist/application-Cr-limKC.mjs.map +1 -0
- package/dist/cli/index.mjs +147 -34
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +297 -157
- package/dist/cli/lib.mjs +4 -4
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +1 -1
- package/dist/completion/zsh-worker.zsh +127 -48
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +4 -0
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{crashreport-u9y2npiy.mjs → crashreport-BqyvFk-_.mjs} +2 -2
- package/dist/{crashreport-u9y2npiy.mjs.map → crashreport-BqyvFk-_.mjs.map} +1 -1
- package/dist/{crashreport-6jpCceOF.mjs → crashreport-BwF8cHF0.mjs} +1 -1
- package/dist/enum-constants-C7DaWeQo.mjs.map +1 -1
- package/dist/field-C4zdJLW5.mjs.map +1 -1
- package/dist/file-utils-BHPxPXmn.mjs.map +1 -1
- package/dist/{idp-BlBPtXJ-.d.mts → idp-BmYwCXnJ.d.mts} +30 -3
- package/dist/{idp-BZPqpcYY.mjs → idp-ynUfzwpz.mjs} +9 -1
- package/dist/idp-ynUfzwpz.mjs.map +1 -0
- package/dist/{index-DvEUb3pX.d.mts → index-B7VbJm0_.d.mts} +25 -16
- package/dist/{index-DRhMpdnA.d.mts → index-dKNk8hjo.d.mts} +2 -2
- package/dist/job-BpsFXPbi.mjs.map +1 -1
- package/dist/{kysely-type-D1e0Vwkd.mjs → kysely-type-CSoZxVKN.mjs} +2 -2
- package/dist/{kysely-type-D1e0Vwkd.mjs.map → kysely-type-CSoZxVKN.mjs.map} +1 -1
- package/dist/{logger-DpJyJvNz.mjs → logger-DKF-JsAK.mjs} +3 -3
- package/dist/{logger-DpJyJvNz.mjs.map → logger-DKF-JsAK.mjs.map} +1 -1
- package/dist/{mock-DMgIygjE.mjs → mock-wf5qeZLi.mjs} +19 -9
- package/dist/mock-wf5qeZLi.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/registry-D0uB0OrK.mjs.map +1 -1
- package/dist/{repl-editor-CJG3sz7A.mjs → repl-editor-DD5YP5mt.mjs} +4 -4
- package/dist/{repl-editor-CJG3sz7A.mjs.map → repl-editor-DD5YP5mt.mjs.map} +1 -1
- package/dist/runtime/globals.d.mts +3 -2
- package/dist/runtime/idp.d.mts +2 -2
- package/dist/runtime/idp.mjs +1 -1
- package/dist/runtime/index.d.mts +2 -2
- package/dist/runtime/index.mjs +1 -1
- package/dist/{runtime-BU6KtCvk.mjs → runtime-jowoN6qC.mjs} +803 -226
- package/dist/runtime-jowoN6qC.mjs.map +1 -0
- package/dist/schema-1msIhXwA.mjs.map +1 -1
- package/dist/seed-YAbtMy65.mjs.map +1 -1
- package/dist/{service-wI3Hvrgx.mjs → service-B2Jd9CxS.mjs} +2 -2
- package/dist/service-B2Jd9CxS.mjs.map +1 -0
- package/dist/service-CRaa4Joe.mjs +4 -0
- package/dist/{service-DMohAx8a.mjs → service-DDWgZL_L2.mjs} +2 -2
- package/dist/service-DDWgZL_L2.mjs.map +1 -0
- package/dist/service_pb-DGSmn-aF.mjs +4 -0
- package/dist/{application-WpWwTyk9.mjs → service_pb-DSNjrcbW.mjs} +22 -6176
- package/dist/service_pb-DSNjrcbW.mjs.map +1 -0
- package/dist/telemetry-BQbbVo2t.mjs.map +1 -1
- package/dist/types-CmzfQP_m.mjs.map +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs +1 -1
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.mjs +4 -4
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/setup.mjs +1 -1
- package/dist/{workflow.generated-1S50BhEb.d.mts → workflow.generated-Br9bmLdX.d.mts} +98 -3
- package/docs/cli/application.md +5 -202
- package/docs/cli/auth.md +12 -256
- package/docs/cli/completion.md +0 -24
- package/docs/cli/crashreport.md +0 -58
- package/docs/cli/executor.md +53 -164
- package/docs/cli/function.md +2 -118
- package/docs/cli/organization.md +1 -211
- package/docs/cli/query.md +0 -20
- package/docs/cli/secret.md +70 -250
- package/docs/cli/setup.md +21 -59
- package/docs/cli/skills.md +0 -39
- package/docs/cli/staticwebsite.md +24 -172
- package/docs/cli/tailordb.md +5 -255
- package/docs/cli/upgrade.md +0 -20
- package/docs/cli/user.md +32 -247
- package/docs/cli/workflow.md +139 -161
- package/docs/cli/workspace.md +158 -537
- package/docs/cli-reference.md +59 -40
- package/docs/configuration.md +7 -1
- package/docs/github-actions.md +27 -14
- package/docs/services/idp.md +55 -2
- package/docs/services/staticwebsite.md +7 -1
- package/package.json +23 -18
- package/dist/application-Djeezk3m.mjs +0 -4
- package/dist/application-WpWwTyk9.mjs.map +0 -1
- package/dist/idp-BZPqpcYY.mjs.map +0 -1
- package/dist/mock-DMgIygjE.mjs.map +0 -1
- package/dist/runtime-BU6KtCvk.mjs.map +0 -1
- package/dist/service-BHQIerYh.mjs +0 -4
- package/dist/service-DMohAx8a.mjs.map +0 -1
- package/dist/service-wI3Hvrgx.mjs.map +0 -1
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as PluginAttachment } from "../types-DZrtN6-H.mjs";
|
|
2
2
|
import { A as IncomingWebhookTrigger, L as TailorDBType, M as ScheduleTriggerInput, R as TypeSourceInfoEntry, S as Resolver, T as Executor, a as Plugin, ot as IdProvider, st as OAuth2Client$1 } from "../types-Bzr0RQME.mjs";
|
|
3
|
-
import { i as AppConfig } from "../workflow.generated-
|
|
3
|
+
import { i as AppConfig } from "../workflow.generated-Br9bmLdX.mjs";
|
|
4
4
|
import { n as kyselyTypePlugin } from "../index-DlDRSzFZ.mjs";
|
|
5
5
|
import { n as enumConstantsPlugin } from "../index-CklcVeMG.mjs";
|
|
6
6
|
import { n as fileUtilsPlugin } from "../index-DYhnxXYR.mjs";
|
|
@@ -68,6 +68,13 @@ declare type AIGateway = Message<"tailor.v1.AIGateway"> & {
|
|
|
68
68
|
* @generated from field: string url = 7;
|
|
69
69
|
*/
|
|
70
70
|
url: string;
|
|
71
|
+
/**
|
|
72
|
+
* When true, the AI gateway stops serving traffic. Flip back to false to
|
|
73
|
+
* resume traffic. Defaults to false on create.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: bool disabled = 8;
|
|
76
|
+
*/
|
|
77
|
+
disabled: boolean;
|
|
71
78
|
};
|
|
72
79
|
//#endregion
|
|
73
80
|
//#region ../tailor-proto/src/tailor/v1/resource_pb.d.ts
|
|
@@ -239,6 +246,10 @@ declare type UpdateAIGatewayRequest = Message<"tailor.v1.UpdateAIGatewayRequest"
|
|
|
239
246
|
* @generated from field: repeated string cors = 4;
|
|
240
247
|
*/
|
|
241
248
|
cors: string[];
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: bool disabled = 5;
|
|
251
|
+
*/
|
|
252
|
+
disabled: boolean;
|
|
242
253
|
/**
|
|
243
254
|
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
244
255
|
*/
|
|
@@ -11515,6 +11526,13 @@ declare type IdPPermission = Message<"tailor.v1.IdPPermission"> & {
|
|
|
11515
11526
|
* @generated from field: repeated tailor.v1.IdPPermissionPolicy send_password_reset_email = 5;
|
|
11516
11527
|
*/
|
|
11517
11528
|
sendPasswordResetEmail: IdPPermissionPolicy[];
|
|
11529
|
+
/**
|
|
11530
|
+
* unenroll_mfa policies guard the dataplane MFA-unenroll mutation, which
|
|
11531
|
+
* removes a single enrolled MFA factor from a user.
|
|
11532
|
+
*
|
|
11533
|
+
* @generated from field: repeated tailor.v1.IdPPermissionPolicy unenroll_mfa = 6;
|
|
11534
|
+
*/
|
|
11535
|
+
unenrollMfa: IdPPermissionPolicy[];
|
|
11518
11536
|
};
|
|
11519
11537
|
/**
|
|
11520
11538
|
* @generated from message tailor.v1.IdPPermissionPolicy
|
|
@@ -11628,6 +11646,18 @@ declare type IdPDisableGqlOperations = Message<"tailor.v1.IdPDisableGqlOperation
|
|
|
11628
11646
|
* @generated from field: bool send_password_reset_email = 5;
|
|
11629
11647
|
*/
|
|
11630
11648
|
sendPasswordResetEmail: boolean;
|
|
11649
|
+
/**
|
|
11650
|
+
* request_mfa_settings_url disables the _requestMfaSettingsUrl GraphQL query.
|
|
11651
|
+
*
|
|
11652
|
+
* @generated from field: bool request_mfa_settings_url = 6;
|
|
11653
|
+
*/
|
|
11654
|
+
requestMfaSettingsUrl: boolean;
|
|
11655
|
+
/**
|
|
11656
|
+
* unenroll_mfa disables the _unenrollMfa GraphQL mutation.
|
|
11657
|
+
*
|
|
11658
|
+
* @generated from field: bool unenroll_mfa = 7;
|
|
11659
|
+
*/
|
|
11660
|
+
unenrollMfa: boolean;
|
|
11631
11661
|
};
|
|
11632
11662
|
/**
|
|
11633
11663
|
* IdPEmailConfig holds namespace-level email configuration defaults.
|
|
@@ -11741,6 +11771,49 @@ declare type IdPUserAuthPolicy = Message<"tailor.v1.IdPUserAuthPolicy"> & {
|
|
|
11741
11771
|
* @generated from field: bool allow_microsoft_oauth = 12;
|
|
11742
11772
|
*/
|
|
11743
11773
|
allowMicrosoftOauth: boolean;
|
|
11774
|
+
/**
|
|
11775
|
+
* enable_mfa makes TOTP MFA available for users in this namespace. When true the
|
|
11776
|
+
* Identity Platform tenant has mfaConfig.State=ENABLED. When false, MFA cannot
|
|
11777
|
+
* be enrolled or challenged regardless of require_mfa.
|
|
11778
|
+
*
|
|
11779
|
+
* @generated from field: bool enable_mfa = 13;
|
|
11780
|
+
*/
|
|
11781
|
+
enableMfa: boolean;
|
|
11782
|
+
/**
|
|
11783
|
+
* require_mfa enforces TOTP MFA enrollment and challenge for password-authenticated
|
|
11784
|
+
* users in this namespace. OAuth (Google/Microsoft) sign-in is not affected.
|
|
11785
|
+
* Requires enable_mfa to be true.
|
|
11786
|
+
*
|
|
11787
|
+
* @generated from field: bool require_mfa = 14;
|
|
11788
|
+
*/
|
|
11789
|
+
requireMfa: boolean;
|
|
11790
|
+
/**
|
|
11791
|
+
* allowed_return_origins lists application origins (e.g. "https://app.example.com")
|
|
11792
|
+
* that the IdP is allowed to redirect users back to from self-service pages such
|
|
11793
|
+
* as /mfa/settings. This is intentionally separate from OIDC redirect_uri, and
|
|
11794
|
+
* covers the general case of "send the user back to the app after an action in
|
|
11795
|
+
* the IdP UI". Each entry must be an origin (RFC 6454, scheme + host + optional
|
|
11796
|
+
* port, no path, query, or fragment). The caller's returnTo URL may freely
|
|
11797
|
+
* include a path and query; the matcher extracts its origin and compares against
|
|
11798
|
+
* this list.
|
|
11799
|
+
*
|
|
11800
|
+
* The per-item pattern is stricter than RFC 6454 by design:
|
|
11801
|
+
* - host must match [a-zA-Z0-9.-]+ (DNS-friendly), so IPv6 literals
|
|
11802
|
+
* (http://[::1]) and underscores in hostnames are not accepted
|
|
11803
|
+
* - only http and https schemes are allowed
|
|
11804
|
+
* - path / query / fragment are rejected, since matching is origin-only
|
|
11805
|
+
*
|
|
11806
|
+
* @generated from field: repeated string allowed_return_origins = 15;
|
|
11807
|
+
*/
|
|
11808
|
+
allowedReturnOrigins: string[];
|
|
11809
|
+
/**
|
|
11810
|
+
* mfa_issuer is the label shown next to the user account in authenticator apps
|
|
11811
|
+
* (Google Authenticator, 1Password, etc.) when TOTP is enrolled. When empty the
|
|
11812
|
+
* server falls back to "Tailor Platform IdP".
|
|
11813
|
+
*
|
|
11814
|
+
* @generated from field: string mfa_issuer = 16;
|
|
11815
|
+
*/
|
|
11816
|
+
mfaIssuer: string;
|
|
11744
11817
|
};
|
|
11745
11818
|
/**
|
|
11746
11819
|
* @generated from enum tailor.v1.IdPPermissionOperator
|
|
@@ -11919,6 +11992,13 @@ declare type CreateIdPServiceResponse = Message<"tailor.v1.CreateIdPServiceRespo
|
|
|
11919
11992
|
*/
|
|
11920
11993
|
declare const CreateIdPServiceResponseSchema: GenMessage<CreateIdPServiceResponse>;
|
|
11921
11994
|
/**
|
|
11995
|
+
* UpdateIdPServiceRequest is a full replacement of the idp service config.
|
|
11996
|
+
* Every field on `user_auth_policy` (and the other config sub-messages) is
|
|
11997
|
+
* written through to storage; proto3 default values (false, "", []) overwrite
|
|
11998
|
+
* the previously stored value. Clients must read the current config with
|
|
11999
|
+
* GetIdPService and resend the entire `user_auth_policy` payload, mutating
|
|
12000
|
+
* only the field they intend to change. Partial updates are not supported.
|
|
12001
|
+
*
|
|
11922
12002
|
* @generated from message tailor.v1.UpdateIdPServiceRequest
|
|
11923
12003
|
*/
|
|
11924
12004
|
declare type UpdateIdPServiceRequest = Message<"tailor.v1.UpdateIdPServiceRequest"> & {
|
|
@@ -13895,9 +13975,9 @@ declare const GetMetadataResponseSchema: GenMessage<GetMetadataResponse>;
|
|
|
13895
13975
|
//#endregion
|
|
13896
13976
|
//#region ../tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.ts
|
|
13897
13977
|
/**
|
|
13898
|
-
* @generated from message tailor.v1.
|
|
13978
|
+
* @generated from message tailor.v1.OTLPExporter
|
|
13899
13979
|
*/
|
|
13900
|
-
declare type
|
|
13980
|
+
declare type OTLPExporter = Message<"tailor.v1.OTLPExporter"> & {
|
|
13901
13981
|
/**
|
|
13902
13982
|
* @generated from field: string name = 1;
|
|
13903
13983
|
*/
|
|
@@ -13911,9 +13991,9 @@ declare type TelemetryExport = Message<"tailor.v1.TelemetryExport"> & {
|
|
|
13911
13991
|
*/
|
|
13912
13992
|
endpoint: string;
|
|
13913
13993
|
/**
|
|
13914
|
-
* @generated from field: tailor.v1.
|
|
13994
|
+
* @generated from field: tailor.v1.OTLPExporterProtocol protocol = 4;
|
|
13915
13995
|
*/
|
|
13916
|
-
protocol:
|
|
13996
|
+
protocol: OTLPExporterProtocol;
|
|
13917
13997
|
/**
|
|
13918
13998
|
* @generated from field: map<string, string> headers = 5;
|
|
13919
13999
|
*/
|
|
@@ -13921,9 +14001,9 @@ declare type TelemetryExport = Message<"tailor.v1.TelemetryExport"> & {
|
|
|
13921
14001
|
[key: string]: string;
|
|
13922
14002
|
};
|
|
13923
14003
|
/**
|
|
13924
|
-
* @generated from field: tailor.v1.
|
|
14004
|
+
* @generated from field: tailor.v1.OTLPExporterAuthConfig auth = 6;
|
|
13925
14005
|
*/
|
|
13926
|
-
auth?:
|
|
14006
|
+
auth?: OTLPExporterAuthConfig;
|
|
13927
14007
|
/**
|
|
13928
14008
|
* @generated from field: tailor.v1.TracesConfig traces = 7;
|
|
13929
14009
|
*/
|
|
@@ -13973,23 +14053,23 @@ declare type LogsConfig = Message<"tailor.v1.LogsConfig"> & {
|
|
|
13973
14053
|
enabled: boolean;
|
|
13974
14054
|
};
|
|
13975
14055
|
/**
|
|
13976
|
-
* @generated from message tailor.v1.
|
|
14056
|
+
* @generated from message tailor.v1.OTLPExporterAuthConfig
|
|
13977
14057
|
*/
|
|
13978
|
-
declare type
|
|
14058
|
+
declare type OTLPExporterAuthConfig = Message<"tailor.v1.OTLPExporterAuthConfig"> & {
|
|
13979
14059
|
/**
|
|
13980
|
-
* @generated from oneof tailor.v1.
|
|
14060
|
+
* @generated from oneof tailor.v1.OTLPExporterAuthConfig.method
|
|
13981
14061
|
*/
|
|
13982
14062
|
method: {
|
|
13983
14063
|
/**
|
|
13984
|
-
* @generated from field: tailor.v1.
|
|
14064
|
+
* @generated from field: tailor.v1.OTLPExporterApiKeyAuth api_key = 1;
|
|
13985
14065
|
*/
|
|
13986
|
-
value:
|
|
14066
|
+
value: OTLPExporterApiKeyAuth;
|
|
13987
14067
|
case: "apiKey";
|
|
13988
14068
|
} | {
|
|
13989
14069
|
/**
|
|
13990
|
-
* @generated from field: tailor.v1.
|
|
14070
|
+
* @generated from field: tailor.v1.OTLPExporterBearerTokenAuth bearer_token = 2;
|
|
13991
14071
|
*/
|
|
13992
|
-
value:
|
|
14072
|
+
value: OTLPExporterBearerTokenAuth;
|
|
13993
14073
|
case: "bearerToken";
|
|
13994
14074
|
} | {
|
|
13995
14075
|
case: undefined;
|
|
@@ -13997,9 +14077,9 @@ declare type TelemetryExportAuthConfig = Message<"tailor.v1.TelemetryExportAuthC
|
|
|
13997
14077
|
};
|
|
13998
14078
|
};
|
|
13999
14079
|
/**
|
|
14000
|
-
* @generated from message tailor.v1.
|
|
14080
|
+
* @generated from message tailor.v1.OTLPExporterApiKeyAuth
|
|
14001
14081
|
*/
|
|
14002
|
-
declare type
|
|
14082
|
+
declare type OTLPExporterApiKeyAuth = Message<"tailor.v1.OTLPExporterApiKeyAuth"> & {
|
|
14003
14083
|
/**
|
|
14004
14084
|
* @generated from field: string header_name = 1;
|
|
14005
14085
|
*/
|
|
@@ -14010,9 +14090,9 @@ declare type TelemetryExportApiKeyAuth = Message<"tailor.v1.TelemetryExportApiKe
|
|
|
14010
14090
|
secretValue?: SecretValue;
|
|
14011
14091
|
};
|
|
14012
14092
|
/**
|
|
14013
|
-
* @generated from message tailor.v1.
|
|
14093
|
+
* @generated from message tailor.v1.OTLPExporterBearerTokenAuth
|
|
14014
14094
|
*/
|
|
14015
|
-
declare type
|
|
14095
|
+
declare type OTLPExporterBearerTokenAuth = Message<"tailor.v1.OTLPExporterBearerTokenAuth"> & {
|
|
14016
14096
|
/**
|
|
14017
14097
|
* @generated from field: tailor.v1.SecretValue secret_value = 1;
|
|
14018
14098
|
*/
|
|
@@ -14053,92 +14133,92 @@ declare type ResourceAttributesConfig = Message<"tailor.v1.ResourceAttributesCon
|
|
|
14053
14133
|
updatedAt?: Timestamp;
|
|
14054
14134
|
};
|
|
14055
14135
|
/**
|
|
14056
|
-
* @generated from enum tailor.v1.
|
|
14136
|
+
* @generated from enum tailor.v1.OTLPExporterProtocol
|
|
14057
14137
|
*/
|
|
14058
|
-
declare enum
|
|
14138
|
+
declare enum OTLPExporterProtocol {
|
|
14059
14139
|
/**
|
|
14060
|
-
* @generated from enum value:
|
|
14140
|
+
* @generated from enum value: OTLP_EXPORTER_PROTOCOL_UNSPECIFIED = 0;
|
|
14061
14141
|
*/
|
|
14062
|
-
|
|
14142
|
+
OTLP_EXPORTER_PROTOCOL_UNSPECIFIED = 0,
|
|
14063
14143
|
/**
|
|
14064
|
-
* @generated from enum value:
|
|
14144
|
+
* @generated from enum value: OTLP_EXPORTER_PROTOCOL_GRPC = 1;
|
|
14065
14145
|
*/
|
|
14066
|
-
|
|
14146
|
+
OTLP_EXPORTER_PROTOCOL_GRPC = 1,
|
|
14067
14147
|
/**
|
|
14068
|
-
* @generated from enum value:
|
|
14148
|
+
* @generated from enum value: OTLP_EXPORTER_PROTOCOL_HTTP = 2;
|
|
14069
14149
|
*/
|
|
14070
|
-
|
|
14150
|
+
OTLP_EXPORTER_PROTOCOL_HTTP = 2
|
|
14071
14151
|
}
|
|
14072
14152
|
//#endregion
|
|
14073
14153
|
//#region ../tailor-proto/src/tailor/v1/telemetryrouter_pb.d.ts
|
|
14074
14154
|
/**
|
|
14075
|
-
* @generated from message tailor.v1.
|
|
14155
|
+
* @generated from message tailor.v1.CreateOTLPExporterRequest
|
|
14076
14156
|
*/
|
|
14077
|
-
declare type
|
|
14157
|
+
declare type CreateOTLPExporterRequest = Message<"tailor.v1.CreateOTLPExporterRequest"> & {
|
|
14078
14158
|
/**
|
|
14079
14159
|
* @generated from field: string workspace_id = 1;
|
|
14080
14160
|
*/
|
|
14081
14161
|
workspaceId: string;
|
|
14082
14162
|
/**
|
|
14083
|
-
* @generated from field: tailor.v1.
|
|
14163
|
+
* @generated from field: tailor.v1.OTLPExporter otlp_exporter = 2;
|
|
14084
14164
|
*/
|
|
14085
|
-
|
|
14165
|
+
otlpExporter?: OTLPExporter;
|
|
14086
14166
|
};
|
|
14087
14167
|
/**
|
|
14088
|
-
* Describes the message tailor.v1.
|
|
14089
|
-
* Use `create(
|
|
14168
|
+
* Describes the message tailor.v1.CreateOTLPExporterRequest.
|
|
14169
|
+
* Use `create(CreateOTLPExporterRequestSchema)` to create a new message.
|
|
14090
14170
|
*/
|
|
14091
|
-
declare const
|
|
14171
|
+
declare const CreateOTLPExporterRequestSchema: GenMessage<CreateOTLPExporterRequest>;
|
|
14092
14172
|
/**
|
|
14093
|
-
* @generated from message tailor.v1.
|
|
14173
|
+
* @generated from message tailor.v1.CreateOTLPExporterResponse
|
|
14094
14174
|
*/
|
|
14095
|
-
declare type
|
|
14175
|
+
declare type CreateOTLPExporterResponse = Message<"tailor.v1.CreateOTLPExporterResponse"> & {
|
|
14096
14176
|
/**
|
|
14097
|
-
* @generated from field: tailor.v1.
|
|
14177
|
+
* @generated from field: tailor.v1.OTLPExporter otlp_exporter = 1;
|
|
14098
14178
|
*/
|
|
14099
|
-
|
|
14179
|
+
otlpExporter?: OTLPExporter;
|
|
14100
14180
|
};
|
|
14101
14181
|
/**
|
|
14102
|
-
* Describes the message tailor.v1.
|
|
14103
|
-
* Use `create(
|
|
14182
|
+
* Describes the message tailor.v1.CreateOTLPExporterResponse.
|
|
14183
|
+
* Use `create(CreateOTLPExporterResponseSchema)` to create a new message.
|
|
14104
14184
|
*/
|
|
14105
|
-
declare const
|
|
14185
|
+
declare const CreateOTLPExporterResponseSchema: GenMessage<CreateOTLPExporterResponse>;
|
|
14106
14186
|
/**
|
|
14107
|
-
* @generated from message tailor.v1.
|
|
14187
|
+
* @generated from message tailor.v1.UpdateOTLPExporterRequest
|
|
14108
14188
|
*/
|
|
14109
|
-
declare type
|
|
14189
|
+
declare type UpdateOTLPExporterRequest = Message<"tailor.v1.UpdateOTLPExporterRequest"> & {
|
|
14110
14190
|
/**
|
|
14111
14191
|
* @generated from field: string workspace_id = 1;
|
|
14112
14192
|
*/
|
|
14113
14193
|
workspaceId: string;
|
|
14114
14194
|
/**
|
|
14115
|
-
* @generated from field: tailor.v1.
|
|
14195
|
+
* @generated from field: tailor.v1.OTLPExporter otlp_exporter = 2;
|
|
14116
14196
|
*/
|
|
14117
|
-
|
|
14197
|
+
otlpExporter?: OTLPExporter;
|
|
14118
14198
|
};
|
|
14119
14199
|
/**
|
|
14120
|
-
* Describes the message tailor.v1.
|
|
14121
|
-
* Use `create(
|
|
14200
|
+
* Describes the message tailor.v1.UpdateOTLPExporterRequest.
|
|
14201
|
+
* Use `create(UpdateOTLPExporterRequestSchema)` to create a new message.
|
|
14122
14202
|
*/
|
|
14123
|
-
declare const
|
|
14203
|
+
declare const UpdateOTLPExporterRequestSchema: GenMessage<UpdateOTLPExporterRequest>;
|
|
14124
14204
|
/**
|
|
14125
|
-
* @generated from message tailor.v1.
|
|
14205
|
+
* @generated from message tailor.v1.UpdateOTLPExporterResponse
|
|
14126
14206
|
*/
|
|
14127
|
-
declare type
|
|
14207
|
+
declare type UpdateOTLPExporterResponse = Message<"tailor.v1.UpdateOTLPExporterResponse"> & {
|
|
14128
14208
|
/**
|
|
14129
|
-
* @generated from field: tailor.v1.
|
|
14209
|
+
* @generated from field: tailor.v1.OTLPExporter otlp_exporter = 1;
|
|
14130
14210
|
*/
|
|
14131
|
-
|
|
14211
|
+
otlpExporter?: OTLPExporter;
|
|
14132
14212
|
};
|
|
14133
14213
|
/**
|
|
14134
|
-
* Describes the message tailor.v1.
|
|
14135
|
-
* Use `create(
|
|
14214
|
+
* Describes the message tailor.v1.UpdateOTLPExporterResponse.
|
|
14215
|
+
* Use `create(UpdateOTLPExporterResponseSchema)` to create a new message.
|
|
14136
14216
|
*/
|
|
14137
|
-
declare const
|
|
14217
|
+
declare const UpdateOTLPExporterResponseSchema: GenMessage<UpdateOTLPExporterResponse>;
|
|
14138
14218
|
/**
|
|
14139
|
-
* @generated from message tailor.v1.
|
|
14219
|
+
* @generated from message tailor.v1.GetOTLPExporterRequest
|
|
14140
14220
|
*/
|
|
14141
|
-
declare type
|
|
14221
|
+
declare type GetOTLPExporterRequest = Message<"tailor.v1.GetOTLPExporterRequest"> & {
|
|
14142
14222
|
/**
|
|
14143
14223
|
* @generated from field: string workspace_id = 1;
|
|
14144
14224
|
*/
|
|
@@ -14149,28 +14229,28 @@ declare type GetTelemetryExportRequest = Message<"tailor.v1.GetTelemetryExportRe
|
|
|
14149
14229
|
name: string;
|
|
14150
14230
|
};
|
|
14151
14231
|
/**
|
|
14152
|
-
* Describes the message tailor.v1.
|
|
14153
|
-
* Use `create(
|
|
14232
|
+
* Describes the message tailor.v1.GetOTLPExporterRequest.
|
|
14233
|
+
* Use `create(GetOTLPExporterRequestSchema)` to create a new message.
|
|
14154
14234
|
*/
|
|
14155
|
-
declare const
|
|
14235
|
+
declare const GetOTLPExporterRequestSchema: GenMessage<GetOTLPExporterRequest>;
|
|
14156
14236
|
/**
|
|
14157
|
-
* @generated from message tailor.v1.
|
|
14237
|
+
* @generated from message tailor.v1.GetOTLPExporterResponse
|
|
14158
14238
|
*/
|
|
14159
|
-
declare type
|
|
14239
|
+
declare type GetOTLPExporterResponse = Message<"tailor.v1.GetOTLPExporterResponse"> & {
|
|
14160
14240
|
/**
|
|
14161
|
-
* @generated from field: tailor.v1.
|
|
14241
|
+
* @generated from field: tailor.v1.OTLPExporter otlp_exporter = 1;
|
|
14162
14242
|
*/
|
|
14163
|
-
|
|
14243
|
+
otlpExporter?: OTLPExporter;
|
|
14164
14244
|
};
|
|
14165
14245
|
/**
|
|
14166
|
-
* Describes the message tailor.v1.
|
|
14167
|
-
* Use `create(
|
|
14246
|
+
* Describes the message tailor.v1.GetOTLPExporterResponse.
|
|
14247
|
+
* Use `create(GetOTLPExporterResponseSchema)` to create a new message.
|
|
14168
14248
|
*/
|
|
14169
|
-
declare const
|
|
14249
|
+
declare const GetOTLPExporterResponseSchema: GenMessage<GetOTLPExporterResponse>;
|
|
14170
14250
|
/**
|
|
14171
|
-
* @generated from message tailor.v1.
|
|
14251
|
+
* @generated from message tailor.v1.ListOTLPExportersRequest
|
|
14172
14252
|
*/
|
|
14173
|
-
declare type
|
|
14253
|
+
declare type ListOTLPExportersRequest = Message<"tailor.v1.ListOTLPExportersRequest"> & {
|
|
14174
14254
|
/**
|
|
14175
14255
|
* @generated from field: string workspace_id = 1;
|
|
14176
14256
|
*/
|
|
@@ -14189,18 +14269,18 @@ declare type ListTelemetryExportsRequest = Message<"tailor.v1.ListTelemetryExpor
|
|
|
14189
14269
|
pageDirection: PageDirection;
|
|
14190
14270
|
};
|
|
14191
14271
|
/**
|
|
14192
|
-
* Describes the message tailor.v1.
|
|
14193
|
-
* Use `create(
|
|
14272
|
+
* Describes the message tailor.v1.ListOTLPExportersRequest.
|
|
14273
|
+
* Use `create(ListOTLPExportersRequestSchema)` to create a new message.
|
|
14194
14274
|
*/
|
|
14195
|
-
declare const
|
|
14275
|
+
declare const ListOTLPExportersRequestSchema: GenMessage<ListOTLPExportersRequest>;
|
|
14196
14276
|
/**
|
|
14197
|
-
* @generated from message tailor.v1.
|
|
14277
|
+
* @generated from message tailor.v1.ListOTLPExportersResponse
|
|
14198
14278
|
*/
|
|
14199
|
-
declare type
|
|
14279
|
+
declare type ListOTLPExportersResponse = Message<"tailor.v1.ListOTLPExportersResponse"> & {
|
|
14200
14280
|
/**
|
|
14201
|
-
* @generated from field: repeated tailor.v1.
|
|
14281
|
+
* @generated from field: repeated tailor.v1.OTLPExporter otlp_exporters = 1;
|
|
14202
14282
|
*/
|
|
14203
|
-
|
|
14283
|
+
otlpExporters: OTLPExporter[];
|
|
14204
14284
|
/**
|
|
14205
14285
|
* @generated from field: string next_page_token = 2;
|
|
14206
14286
|
*/
|
|
@@ -14211,14 +14291,14 @@ declare type ListTelemetryExportsResponse = Message<"tailor.v1.ListTelemetryExpo
|
|
|
14211
14291
|
totalCount: bigint;
|
|
14212
14292
|
};
|
|
14213
14293
|
/**
|
|
14214
|
-
* Describes the message tailor.v1.
|
|
14215
|
-
* Use `create(
|
|
14294
|
+
* Describes the message tailor.v1.ListOTLPExportersResponse.
|
|
14295
|
+
* Use `create(ListOTLPExportersResponseSchema)` to create a new message.
|
|
14216
14296
|
*/
|
|
14217
|
-
declare const
|
|
14297
|
+
declare const ListOTLPExportersResponseSchema: GenMessage<ListOTLPExportersResponse>;
|
|
14218
14298
|
/**
|
|
14219
|
-
* @generated from message tailor.v1.
|
|
14299
|
+
* @generated from message tailor.v1.DeleteOTLPExporterRequest
|
|
14220
14300
|
*/
|
|
14221
|
-
declare type
|
|
14301
|
+
declare type DeleteOTLPExporterRequest = Message<"tailor.v1.DeleteOTLPExporterRequest"> & {
|
|
14222
14302
|
/**
|
|
14223
14303
|
* @generated from field: string workspace_id = 1;
|
|
14224
14304
|
*/
|
|
@@ -14229,23 +14309,23 @@ declare type DeleteTelemetryExportRequest = Message<"tailor.v1.DeleteTelemetryEx
|
|
|
14229
14309
|
name: string;
|
|
14230
14310
|
};
|
|
14231
14311
|
/**
|
|
14232
|
-
* Describes the message tailor.v1.
|
|
14233
|
-
* Use `create(
|
|
14312
|
+
* Describes the message tailor.v1.DeleteOTLPExporterRequest.
|
|
14313
|
+
* Use `create(DeleteOTLPExporterRequestSchema)` to create a new message.
|
|
14234
14314
|
*/
|
|
14235
|
-
declare const
|
|
14315
|
+
declare const DeleteOTLPExporterRequestSchema: GenMessage<DeleteOTLPExporterRequest>;
|
|
14236
14316
|
/**
|
|
14237
|
-
* @generated from message tailor.v1.
|
|
14317
|
+
* @generated from message tailor.v1.DeleteOTLPExporterResponse
|
|
14238
14318
|
*/
|
|
14239
|
-
declare type
|
|
14319
|
+
declare type DeleteOTLPExporterResponse = Message<"tailor.v1.DeleteOTLPExporterResponse"> & {};
|
|
14240
14320
|
/**
|
|
14241
|
-
* Describes the message tailor.v1.
|
|
14242
|
-
* Use `create(
|
|
14321
|
+
* Describes the message tailor.v1.DeleteOTLPExporterResponse.
|
|
14322
|
+
* Use `create(DeleteOTLPExporterResponseSchema)` to create a new message.
|
|
14243
14323
|
*/
|
|
14244
|
-
declare const
|
|
14324
|
+
declare const DeleteOTLPExporterResponseSchema: GenMessage<DeleteOTLPExporterResponse>;
|
|
14245
14325
|
/**
|
|
14246
|
-
* @generated from message tailor.v1.
|
|
14326
|
+
* @generated from message tailor.v1.TestOTLPExporterRequest
|
|
14247
14327
|
*/
|
|
14248
|
-
declare type
|
|
14328
|
+
declare type TestOTLPExporterRequest = Message<"tailor.v1.TestOTLPExporterRequest"> & {
|
|
14249
14329
|
/**
|
|
14250
14330
|
* @generated from field: string workspace_id = 1;
|
|
14251
14331
|
*/
|
|
@@ -14256,14 +14336,14 @@ declare type TestTelemetryExportRequest = Message<"tailor.v1.TestTelemetryExport
|
|
|
14256
14336
|
name: string;
|
|
14257
14337
|
};
|
|
14258
14338
|
/**
|
|
14259
|
-
* Describes the message tailor.v1.
|
|
14260
|
-
* Use `create(
|
|
14339
|
+
* Describes the message tailor.v1.TestOTLPExporterRequest.
|
|
14340
|
+
* Use `create(TestOTLPExporterRequestSchema)` to create a new message.
|
|
14261
14341
|
*/
|
|
14262
|
-
declare const
|
|
14342
|
+
declare const TestOTLPExporterRequestSchema: GenMessage<TestOTLPExporterRequest>;
|
|
14263
14343
|
/**
|
|
14264
|
-
* @generated from message tailor.v1.
|
|
14344
|
+
* @generated from message tailor.v1.TestOTLPExporterResponse
|
|
14265
14345
|
*/
|
|
14266
|
-
declare type
|
|
14346
|
+
declare type TestOTLPExporterResponse = Message<"tailor.v1.TestOTLPExporterResponse"> & {
|
|
14267
14347
|
/**
|
|
14268
14348
|
* @generated from field: bool success = 1;
|
|
14269
14349
|
*/
|
|
@@ -14274,10 +14354,10 @@ declare type TestTelemetryExportResponse = Message<"tailor.v1.TestTelemetryExpor
|
|
|
14274
14354
|
message: string;
|
|
14275
14355
|
};
|
|
14276
14356
|
/**
|
|
14277
|
-
* Describes the message tailor.v1.
|
|
14278
|
-
* Use `create(
|
|
14357
|
+
* Describes the message tailor.v1.TestOTLPExporterResponse.
|
|
14358
|
+
* Use `create(TestOTLPExporterResponseSchema)` to create a new message.
|
|
14279
14359
|
*/
|
|
14280
|
-
declare const
|
|
14360
|
+
declare const TestOTLPExporterResponseSchema: GenMessage<TestOTLPExporterResponse>;
|
|
14281
14361
|
/**
|
|
14282
14362
|
* @generated from message tailor.v1.CreateResourceAttributesConfigRequest
|
|
14283
14363
|
*/
|
|
@@ -15318,7 +15398,8 @@ declare const OperatorService: GenService<{
|
|
|
15318
15398
|
output: typeof CreateAIGatewayResponseSchema;
|
|
15319
15399
|
};
|
|
15320
15400
|
/**
|
|
15321
|
-
* UpdateAIGateway updates an AI Gateway.
|
|
15401
|
+
* UpdateAIGateway updates an AI Gateway. The mutable fields are
|
|
15402
|
+
* `auth_namespace`, `cors`, and `disabled`.
|
|
15322
15403
|
*
|
|
15323
15404
|
* [Errors]
|
|
15324
15405
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
@@ -16723,7 +16804,7 @@ declare const OperatorService: GenService<{
|
|
|
16723
16804
|
output: typeof ListAuthConnectionsResponseSchema;
|
|
16724
16805
|
};
|
|
16725
16806
|
/**
|
|
16726
|
-
* RevokeAuthConnection revokes an auth connection.
|
|
16807
|
+
* RevokeAuthConnection revokes an auth connection's active session.
|
|
16727
16808
|
*
|
|
16728
16809
|
* @generated from rpc tailor.v1.OperatorService.RevokeAuthConnection
|
|
16729
16810
|
*/
|
|
@@ -17773,99 +17854,99 @@ declare const OperatorService: GenService<{
|
|
|
17773
17854
|
output: typeof DeleteControlplaneMachineUserResponseSchema;
|
|
17774
17855
|
};
|
|
17775
17856
|
/**
|
|
17776
|
-
*
|
|
17857
|
+
* CreateOTLPExporter creates a new OTLP exporter configuration.
|
|
17777
17858
|
*
|
|
17778
17859
|
* [Errors]
|
|
17779
17860
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17780
17861
|
* - InvalidArgument: request is invalid
|
|
17781
17862
|
* - PermissionDenied: can view workspace but no permission to update
|
|
17782
17863
|
* - NotFound: workspace does not exist or can not be accessed
|
|
17783
|
-
* - AlreadyExists:
|
|
17864
|
+
* - AlreadyExists: OTLP exporter with the same name already exists
|
|
17784
17865
|
*
|
|
17785
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17866
|
+
* @generated from rpc tailor.v1.OperatorService.CreateOTLPExporter
|
|
17786
17867
|
*/
|
|
17787
|
-
|
|
17868
|
+
createOTLPExporter: {
|
|
17788
17869
|
methodKind: "unary";
|
|
17789
|
-
input: typeof
|
|
17790
|
-
output: typeof
|
|
17870
|
+
input: typeof CreateOTLPExporterRequestSchema;
|
|
17871
|
+
output: typeof CreateOTLPExporterResponseSchema;
|
|
17791
17872
|
};
|
|
17792
17873
|
/**
|
|
17793
|
-
*
|
|
17874
|
+
* UpdateOTLPExporter updates an existing OTLP exporter configuration.
|
|
17794
17875
|
*
|
|
17795
17876
|
* [Errors]
|
|
17796
17877
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17797
17878
|
* - InvalidArgument: request is invalid
|
|
17798
17879
|
* - PermissionDenied: can view workspace but no permission to update
|
|
17799
|
-
* - NotFound: workspace or
|
|
17880
|
+
* - NotFound: workspace or OTLP exporter does not exist or can not be accessed
|
|
17800
17881
|
*
|
|
17801
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17882
|
+
* @generated from rpc tailor.v1.OperatorService.UpdateOTLPExporter
|
|
17802
17883
|
*/
|
|
17803
|
-
|
|
17884
|
+
updateOTLPExporter: {
|
|
17804
17885
|
methodKind: "unary";
|
|
17805
|
-
input: typeof
|
|
17806
|
-
output: typeof
|
|
17886
|
+
input: typeof UpdateOTLPExporterRequestSchema;
|
|
17887
|
+
output: typeof UpdateOTLPExporterResponseSchema;
|
|
17807
17888
|
};
|
|
17808
17889
|
/**
|
|
17809
|
-
*
|
|
17890
|
+
* GetOTLPExporter returns an OTLP exporter configuration.
|
|
17810
17891
|
*
|
|
17811
17892
|
* [Errors]
|
|
17812
17893
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17813
17894
|
* - InvalidArgument: request is invalid
|
|
17814
|
-
* - NotFound: workspace or
|
|
17895
|
+
* - NotFound: workspace or OTLP exporter does not exist or can not be accessed
|
|
17815
17896
|
*
|
|
17816
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17897
|
+
* @generated from rpc tailor.v1.OperatorService.GetOTLPExporter
|
|
17817
17898
|
*/
|
|
17818
|
-
|
|
17899
|
+
getOTLPExporter: {
|
|
17819
17900
|
methodKind: "unary";
|
|
17820
|
-
input: typeof
|
|
17821
|
-
output: typeof
|
|
17901
|
+
input: typeof GetOTLPExporterRequestSchema;
|
|
17902
|
+
output: typeof GetOTLPExporterResponseSchema;
|
|
17822
17903
|
};
|
|
17823
17904
|
/**
|
|
17824
|
-
*
|
|
17905
|
+
* ListOTLPExporters returns OTLP exporter configurations in a workspace.
|
|
17825
17906
|
*
|
|
17826
17907
|
* [Errors]
|
|
17827
17908
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17828
17909
|
* - InvalidArgument: request is invalid
|
|
17829
17910
|
* - NotFound: workspace does not exist or can not be accessed
|
|
17830
17911
|
*
|
|
17831
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17912
|
+
* @generated from rpc tailor.v1.OperatorService.ListOTLPExporters
|
|
17832
17913
|
*/
|
|
17833
|
-
|
|
17914
|
+
listOTLPExporters: {
|
|
17834
17915
|
methodKind: "unary";
|
|
17835
|
-
input: typeof
|
|
17836
|
-
output: typeof
|
|
17916
|
+
input: typeof ListOTLPExportersRequestSchema;
|
|
17917
|
+
output: typeof ListOTLPExportersResponseSchema;
|
|
17837
17918
|
};
|
|
17838
17919
|
/**
|
|
17839
|
-
*
|
|
17920
|
+
* DeleteOTLPExporter deletes an OTLP exporter configuration.
|
|
17840
17921
|
*
|
|
17841
17922
|
* [Errors]
|
|
17842
17923
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17843
17924
|
* - InvalidArgument: request is invalid
|
|
17844
17925
|
* - PermissionDenied: can view workspace but no permission to delete
|
|
17845
|
-
* - NotFound: workspace or
|
|
17926
|
+
* - NotFound: workspace or OTLP exporter does not exist or can not be accessed
|
|
17846
17927
|
*
|
|
17847
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17928
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteOTLPExporter
|
|
17848
17929
|
*/
|
|
17849
|
-
|
|
17930
|
+
deleteOTLPExporter: {
|
|
17850
17931
|
methodKind: "unary";
|
|
17851
|
-
input: typeof
|
|
17852
|
-
output: typeof
|
|
17932
|
+
input: typeof DeleteOTLPExporterRequestSchema;
|
|
17933
|
+
output: typeof DeleteOTLPExporterResponseSchema;
|
|
17853
17934
|
};
|
|
17854
17935
|
/**
|
|
17855
|
-
*
|
|
17936
|
+
* TestOTLPExporter sends a test span to validate endpoint reachability.
|
|
17856
17937
|
*
|
|
17857
17938
|
* [Errors]
|
|
17858
17939
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
17859
17940
|
* - InvalidArgument: request is invalid
|
|
17860
17941
|
* - PermissionDenied: can view workspace but no permission to update
|
|
17861
|
-
* - NotFound: workspace or
|
|
17942
|
+
* - NotFound: workspace or OTLP exporter does not exist or can not be accessed
|
|
17862
17943
|
*
|
|
17863
|
-
* @generated from rpc tailor.v1.OperatorService.
|
|
17944
|
+
* @generated from rpc tailor.v1.OperatorService.TestOTLPExporter
|
|
17864
17945
|
*/
|
|
17865
|
-
|
|
17946
|
+
testOTLPExporter: {
|
|
17866
17947
|
methodKind: "unary";
|
|
17867
|
-
input: typeof
|
|
17868
|
-
output: typeof
|
|
17948
|
+
input: typeof TestOTLPExporterRequestSchema;
|
|
17949
|
+
output: typeof TestOTLPExporterResponseSchema;
|
|
17869
17950
|
};
|
|
17870
17951
|
/**
|
|
17871
17952
|
* CreateResourceAttributesConfig creates the workspace-level resource
|
|
@@ -19125,35 +19206,35 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
19125
19206
|
input: typeof DeleteControlplaneMachineUserRequestSchema;
|
|
19126
19207
|
output: typeof DeleteControlplaneMachineUserResponseSchema;
|
|
19127
19208
|
};
|
|
19128
|
-
|
|
19209
|
+
createOTLPExporter: {
|
|
19129
19210
|
methodKind: "unary";
|
|
19130
|
-
input: typeof
|
|
19131
|
-
output: typeof
|
|
19211
|
+
input: typeof CreateOTLPExporterRequestSchema;
|
|
19212
|
+
output: typeof CreateOTLPExporterResponseSchema;
|
|
19132
19213
|
};
|
|
19133
|
-
|
|
19214
|
+
updateOTLPExporter: {
|
|
19134
19215
|
methodKind: "unary";
|
|
19135
|
-
input: typeof
|
|
19136
|
-
output: typeof
|
|
19216
|
+
input: typeof UpdateOTLPExporterRequestSchema;
|
|
19217
|
+
output: typeof UpdateOTLPExporterResponseSchema;
|
|
19137
19218
|
};
|
|
19138
|
-
|
|
19219
|
+
getOTLPExporter: {
|
|
19139
19220
|
methodKind: "unary";
|
|
19140
|
-
input: typeof
|
|
19141
|
-
output: typeof
|
|
19221
|
+
input: typeof GetOTLPExporterRequestSchema;
|
|
19222
|
+
output: typeof GetOTLPExporterResponseSchema;
|
|
19142
19223
|
};
|
|
19143
|
-
|
|
19224
|
+
listOTLPExporters: {
|
|
19144
19225
|
methodKind: "unary";
|
|
19145
|
-
input: typeof
|
|
19146
|
-
output: typeof
|
|
19226
|
+
input: typeof ListOTLPExportersRequestSchema;
|
|
19227
|
+
output: typeof ListOTLPExportersResponseSchema;
|
|
19147
19228
|
};
|
|
19148
|
-
|
|
19229
|
+
deleteOTLPExporter: {
|
|
19149
19230
|
methodKind: "unary";
|
|
19150
|
-
input: typeof
|
|
19151
|
-
output: typeof
|
|
19231
|
+
input: typeof DeleteOTLPExporterRequestSchema;
|
|
19232
|
+
output: typeof DeleteOTLPExporterResponseSchema;
|
|
19152
19233
|
};
|
|
19153
|
-
|
|
19234
|
+
testOTLPExporter: {
|
|
19154
19235
|
methodKind: "unary";
|
|
19155
|
-
input: typeof
|
|
19156
|
-
output: typeof
|
|
19236
|
+
input: typeof TestOTLPExporterRequestSchema;
|
|
19237
|
+
output: typeof TestOTLPExporterResponseSchema;
|
|
19157
19238
|
};
|
|
19158
19239
|
createResourceAttributesConfig: {
|
|
19159
19240
|
methodKind: "unary";
|
|
@@ -20370,6 +20451,29 @@ interface GetWorkflowOptions {
|
|
|
20370
20451
|
declare function getWorkflow<W extends WorkflowLike$2>(options: GetWorkflowTypedOptions<W>): Promise<WorkflowInfo>;
|
|
20371
20452
|
declare function getWorkflow(options: GetWorkflowOptions): Promise<WorkflowInfo>;
|
|
20372
20453
|
//#endregion
|
|
20454
|
+
//#region src/cli/commands/workflow/status.d.ts
|
|
20455
|
+
type WorkflowWaitUntil = "success" | "suspended" | "terminal";
|
|
20456
|
+
type WorkflowExecutionStatusClass = "success" | "suspended" | "failure" | "transient";
|
|
20457
|
+
//#endregion
|
|
20458
|
+
//#region src/cli/commands/workflow/waiter.d.ts
|
|
20459
|
+
interface WaitWorkflowExecutionOptions {
|
|
20460
|
+
executionId: string;
|
|
20461
|
+
workspaceId?: string;
|
|
20462
|
+
profile?: string;
|
|
20463
|
+
interval?: number;
|
|
20464
|
+
timeout?: number;
|
|
20465
|
+
until?: WorkflowWaitUntil;
|
|
20466
|
+
showProgress?: boolean;
|
|
20467
|
+
trackJobs?: boolean;
|
|
20468
|
+
}
|
|
20469
|
+
interface WorkflowWaitResult extends WorkflowExecutionInfo {
|
|
20470
|
+
statusClass: WorkflowExecutionStatusClass | "unknown";
|
|
20471
|
+
elapsedMs: number;
|
|
20472
|
+
attempts: number;
|
|
20473
|
+
timedOut: boolean;
|
|
20474
|
+
lastError: string | null;
|
|
20475
|
+
}
|
|
20476
|
+
//#endregion
|
|
20373
20477
|
//#region src/cli/commands/workflow/start.d.ts
|
|
20374
20478
|
type WorkflowLike$1 = {
|
|
20375
20479
|
name: string;
|
|
@@ -20412,10 +20516,12 @@ type StartWorkflowTypedBaseOptions<W extends WorkflowLike$1> = {
|
|
|
20412
20516
|
type StartWorkflowTypedOptions<W extends WorkflowLike$1 = WorkflowLike$1> = W extends WorkflowLike$1 ? StartWorkflowTypedBaseOptions<W> & StartWorkflowArgOption<W> : never;
|
|
20413
20517
|
interface WaitOptions {
|
|
20414
20518
|
showProgress?: boolean;
|
|
20519
|
+
timeout?: number;
|
|
20520
|
+
until?: WorkflowWaitUntil;
|
|
20415
20521
|
}
|
|
20416
20522
|
interface StartWorkflowResultWithWait {
|
|
20417
20523
|
executionId: string;
|
|
20418
|
-
wait: (options?: WaitOptions) => Promise<
|
|
20524
|
+
wait: (options?: WaitOptions) => Promise<WorkflowWaitResult>;
|
|
20419
20525
|
}
|
|
20420
20526
|
/**
|
|
20421
20527
|
* Start a workflow and return a handle to wait for completion.
|
|
@@ -20453,6 +20559,8 @@ interface GetWorkflowExecutionOptions {
|
|
|
20453
20559
|
workspaceId?: string;
|
|
20454
20560
|
profile?: string;
|
|
20455
20561
|
interval?: number;
|
|
20562
|
+
timeout?: number;
|
|
20563
|
+
until?: WorkflowWaitUntil;
|
|
20456
20564
|
logs?: boolean;
|
|
20457
20565
|
}
|
|
20458
20566
|
interface WorkflowExecutionDetailInfo extends WorkflowExecutionInfo {
|
|
@@ -20461,9 +20569,16 @@ interface WorkflowExecutionDetailInfo extends WorkflowExecutionInfo {
|
|
|
20461
20569
|
result?: string;
|
|
20462
20570
|
})[];
|
|
20463
20571
|
}
|
|
20572
|
+
interface WorkflowExecutionWaitInfo extends WorkflowExecutionDetailInfo {
|
|
20573
|
+
statusClass: WorkflowWaitResult["statusClass"];
|
|
20574
|
+
elapsedMs: number;
|
|
20575
|
+
attempts: number;
|
|
20576
|
+
timedOut: boolean;
|
|
20577
|
+
lastError: string | null;
|
|
20578
|
+
}
|
|
20464
20579
|
interface GetWorkflowExecutionResult {
|
|
20465
20580
|
execution: WorkflowExecutionDetailInfo;
|
|
20466
|
-
wait: () => Promise<
|
|
20581
|
+
wait: () => Promise<WorkflowExecutionWaitInfo>;
|
|
20467
20582
|
}
|
|
20468
20583
|
/**
|
|
20469
20584
|
* List workflow executions with optional filters.
|
|
@@ -20484,6 +20599,17 @@ declare function listWorkflowExecutions(options?: ListWorkflowExecutionsOptions)
|
|
|
20484
20599
|
*/
|
|
20485
20600
|
declare function getWorkflowExecution(options: GetWorkflowExecutionOptions): Promise<GetWorkflowExecutionResult>;
|
|
20486
20601
|
//#endregion
|
|
20602
|
+
//#region src/cli/commands/workflow/wait.d.ts
|
|
20603
|
+
interface WorkflowWaitOutput extends WorkflowWaitResult {
|
|
20604
|
+
jobDetails?: Awaited<ReturnType<typeof getWorkflowExecution>>["execution"]["jobDetails"];
|
|
20605
|
+
}
|
|
20606
|
+
/**
|
|
20607
|
+
* Wait for an existing workflow execution by ID.
|
|
20608
|
+
* @param options - Workflow wait options
|
|
20609
|
+
* @returns Workflow wait result
|
|
20610
|
+
*/
|
|
20611
|
+
declare function waitWorkflowExecution(options: WaitWorkflowExecutionOptions): Promise<WorkflowWaitResult>;
|
|
20612
|
+
//#endregion
|
|
20487
20613
|
//#region src/cli/commands/workflow/resume.d.ts
|
|
20488
20614
|
interface ResumeWorkflowOptions {
|
|
20489
20615
|
executionId: string;
|
|
@@ -20493,7 +20619,7 @@ interface ResumeWorkflowOptions {
|
|
|
20493
20619
|
}
|
|
20494
20620
|
interface ResumeWorkflowResultWithWait {
|
|
20495
20621
|
executionId: string;
|
|
20496
|
-
wait: (options?: WaitOptions) => Promise<
|
|
20622
|
+
wait: (options?: WaitOptions) => Promise<WorkflowWaitResult>;
|
|
20497
20623
|
}
|
|
20498
20624
|
/**
|
|
20499
20625
|
* Resume a suspended workflow execution and return a handle to wait for completion.
|
|
@@ -20603,7 +20729,9 @@ type WatchExecutorJobTypedOptions<E extends ExecutorLike$1 = ExecutorLike$1> = {
|
|
|
20603
20729
|
workspaceId?: string;
|
|
20604
20730
|
profile?: string;
|
|
20605
20731
|
interval?: number;
|
|
20732
|
+
timeout?: number;
|
|
20606
20733
|
logs?: boolean;
|
|
20734
|
+
showProgress?: boolean;
|
|
20607
20735
|
};
|
|
20608
20736
|
/**
|
|
20609
20737
|
* @deprecated Use ListExecutorJobsTypedOptions instead.
|
|
@@ -20635,7 +20763,9 @@ interface WatchExecutorJobOptions {
|
|
|
20635
20763
|
workspaceId?: string;
|
|
20636
20764
|
profile?: string;
|
|
20637
20765
|
interval?: number;
|
|
20766
|
+
timeout?: number;
|
|
20638
20767
|
logs?: boolean;
|
|
20768
|
+
showProgress?: boolean;
|
|
20639
20769
|
}
|
|
20640
20770
|
interface ExecutorJobDetailInfo extends ExecutorJobInfo {
|
|
20641
20771
|
attempts?: ExecutorJobAttemptInfo[];
|
|
@@ -20648,6 +20778,10 @@ interface WorkflowJobLog {
|
|
|
20648
20778
|
interface WatchExecutorJobResult {
|
|
20649
20779
|
job: ExecutorJobDetailInfo;
|
|
20650
20780
|
targetType: string;
|
|
20781
|
+
elapsedMs: number;
|
|
20782
|
+
attempts: number;
|
|
20783
|
+
timedOut: boolean;
|
|
20784
|
+
lastError: string | null;
|
|
20651
20785
|
workflowExecutionId?: string;
|
|
20652
20786
|
workflowStatus?: string;
|
|
20653
20787
|
workflowJobLogs?: WorkflowJobLog[];
|
|
@@ -20681,6 +20815,12 @@ declare function getExecutorJob(options: GetExecutorJobOptions): Promise<Executo
|
|
|
20681
20815
|
*/
|
|
20682
20816
|
declare function watchExecutorJob<E extends ExecutorLike$1>(options: WatchExecutorJobTypedOptions<E>): Promise<WatchExecutorJobResult>;
|
|
20683
20817
|
declare function watchExecutorJob(options: WatchExecutorJobOptions): Promise<WatchExecutorJobResult>;
|
|
20818
|
+
/**
|
|
20819
|
+
* Build a user-facing failure message for an executor job wait result.
|
|
20820
|
+
* @param result - Executor job wait result
|
|
20821
|
+
* @returns Failure message, or undefined when the wait succeeded
|
|
20822
|
+
*/
|
|
20823
|
+
declare function getExecutorWaitFailureMessage(result: WatchExecutorJobResult): string | undefined;
|
|
20684
20824
|
//#endregion
|
|
20685
20825
|
//#region src/cli/commands/executor/list.d.ts
|
|
20686
20826
|
interface ListExecutorsOptions {
|
|
@@ -21183,5 +21323,5 @@ declare function waitForExecution(client: OperatorClient, workspaceId: string, e
|
|
|
21183
21323
|
*/
|
|
21184
21324
|
declare function executeScript(options: ScriptExecutionOptions): Promise<ScriptExecutionResult>;
|
|
21185
21325
|
//#endregion
|
|
21186
|
-
export { type AggregateArgs, 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 CodeGenerator, type CreateFolderOptions, type CreateWorkspaceOptions, DB_TYPES_FILE_NAME, DIFF_FILE_NAME, type DeleteFolderOptions, type DeleteWorkspaceOptions, type DependencyKind, type ExecutionWaitResult, type Executor, type ExecutorGenerator, type ExecutorInfo, type ExecutorInput, type ExecutorJobAttemptInfo, type ExecutorJobDetailInfo, type ExecutorJobInfo, type ExecutorJobListInfo, type ExecutorListInfo, type FolderInfo, type FolderListInfo, type FullCodeGenerator, type FullInput, 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 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 ResolverGenerator, type ResolverInput, 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 TailorDBGenerator, type TailorDBInput, type TailorDBResolverGenerator, type TailorDBSnapshotType, type TailorDBType, type TriggerExecutorOptions, type TriggerExecutorResult, type TriggerExecutorTypedOptions, type TruncateOptions, type TypeSourceInfoEntry, type UpdateFolderOptions, type UpdateOrganizationOptions, type UpdateUserOptions, type UserInfo, type UserOrganizationInfo, type WaitOptions, type WatchExecutorJobOptions, type WatchExecutorJobResult, type WatchExecutorJobTypedOptions, type WebhookExecutorInfo, type WorkflowExecutionInfo, type WorkflowInfo, type WorkflowJobExecutionInfo, type WorkflowListInfo, type WorkspaceDetails, type WorkspaceInfo, apiCall, deploy as apply, deploy, bundleMigrationScript, bundleSeedScript, chunkSeedData, compareLocalTypesWithSnapshot, compareSnapshots, createFolder, createSnapshotFromLocalTypes, createWorkspace, deleteFolder, deleteWorkspace, enumConstantsPlugin, executeScript, fileUtilsPlugin, formatDiffSummary, formatMigrationDiff, generate, generateUserTypes, getAppHealth, getExecutor, getExecutorJob, getFolder, getFunctionRegistry, getLatestMigrationNumber, getMachineUserToken, getMigrationDirPath, getMigrationFilePath, getMigrationFiles, getNamespacesWithMigrations, getNextMigrationNumber, getOAuth2Client, getOrganization, getWorkflow, getWorkflowExecution, getWorkspace, hasChanges, initOperatorClient, inviteUser, kyselyTypePlugin, listApps, listExecutorJobs, listExecutors, listFolders, listFunctionRegistries, listMachineUsers, listOAuth2Clients, listOrganizations, listUsers, listWebhookExecutors, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, generate$1 as migrateGenerate, organizationTree, query, reconstructSnapshotFromMigrations, remove, removeUser, restoreWorkspace, resumeWorkflow, seedPlugin, show, startWorkflow, triggerExecutor, truncate, updateFolder, updateOrganization, updateUser, waitForExecution, watchExecutorJob };
|
|
21326
|
+
export { type AggregateArgs, 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 CodeGenerator, type CreateFolderOptions, type CreateWorkspaceOptions, DB_TYPES_FILE_NAME, DIFF_FILE_NAME, type DeleteFolderOptions, type DeleteWorkspaceOptions, type DependencyKind, type ExecutionWaitResult, type Executor, type ExecutorGenerator, type ExecutorInfo, type ExecutorInput, type ExecutorJobAttemptInfo, type ExecutorJobDetailInfo, type ExecutorJobInfo, type ExecutorJobListInfo, type ExecutorListInfo, type FolderInfo, type FolderListInfo, type FullCodeGenerator, type FullInput, 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 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 ResolverGenerator, type ResolverInput, 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 TailorDBGenerator, type TailorDBInput, type TailorDBResolverGenerator, 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 };
|
|
21187
21327
|
//# sourceMappingURL=lib.d.mts.map
|