@tailor-platform/sdk 1.44.0 → 1.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+
2
+ import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-7wtQzifE.mjs";
3
+
4
+ export { defineApplication };
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { G as PATScope, R as AuthInvokerSchema, c as fetchUserInfo, d as initOperatorClient, h as userAgent, i as fetchAll, j as FunctionExecution_Type, n as closeConnectionPool, o as fetchPaged, s as fetchPlatformMachineUserToken, u as initOAuth2Client } from "../client-DQl5NPG9.mjs";
3
+ import { G as PATScope, R as AuthInvokerSchema, c as fetchUserInfo, d as initOperatorClient, h as userAgent, i as fetchAll, j as FunctionExecution_Type, n as closeConnectionPool, o as fetchPaged, s as fetchPlatformMachineUserToken, u as initOAuth2Client } from "../client-DcuQRqSd.mjs";
4
4
  import { n as logger, r as styles } from "../logger-DTNAMYGy.mjs";
5
- import { $ as deleteCommand$3, At as executionsCommand, C as listCommand$13, Cn as toPageDirection, Ct as jobsCommand, E as resumeCommand, Et as startCommand, F as showCommand, Ft as getCommand$1, G as getCommand$5, H as treeCommand, I as logBetaWarning, Lt as apply, N as generateCommand$1, Nt as functionExecutionStatusToString, O as listCommand$12, Ot as getCommand$6, Pt as formatKeyValueTable, R as removeCommand$1, Rt as executeScript, Sn as paginationArgs, T as healthCommand, U as listCommand$11, Vt as parseMigrationLabelNumber, Y as listCommand$10, Z as getCommand$4, Zt as formatMigrationNumber, _n as commonArgs, _t as webhookCommand, at as getCommand$3, b as createCommand$4, bn as isVerbose, bt as listCommand$6, c as listCommand$14, ct as tokenCommand, dn as sdkNameLabelKey, dt as generate, en as getMigrationFilePath, f as restoreCommand, fn as trnPrefix, ft as listCommand$7, g as getCommand$7, gn as defineAppCommand, i as updateCommand$4, in as loadDiff, j as truncateCommand, ln as getNamespacesWithMigrations, lt as listCommand$8, m as listCommand$15, mn as apiCommand, mt as getCommand$2, o as removeCommand, q as updateCommand$2, r as queryCommand, rn as isValidMigrationNumber, rt as listCommand$9, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, tt as createCommand$3, u as inviteCommand, un as prompt, v as deleteCommand$4, vn as confirmationArgs, vt as triggerCommand, wn as workspaceArgs, xn as pagedLogArgs, yn as deploymentArgs, z as updateCommand$3 } from "../runtime-l7GFD3Xg.mjs";
6
- import { C as loadWorkspaceId, D as writePlatformConfig, E as saveUserTokens, S as loadAccessToken, T as resolveTokens, _ as getDistDir, a as WorkflowJobSchema, b as deleteUserTokens, c as ExecutorSchema, i as resolveInlineSourcemap, l as INVOKER_EXPR, o as ResolverSchema, w as readPlatformConfig, x as fetchLatestToken, y as loadConfig } from "../application-DkVNbIuh.mjs";
5
+ import { $ as deleteCommand$3, At as executionsCommand, C as listCommand$13, Cn as toPageDirection, Ct as jobsCommand, E as resumeCommand, Et as startCommand, F as showCommand, Ft as getCommand$1, G as getCommand$5, H as treeCommand, I as logBetaWarning, Lt as apply, N as generateCommand$1, Nt as functionExecutionStatusToString, O as listCommand$12, Ot as getCommand$6, Pt as formatKeyValueTable, R as removeCommand$1, Rt as executeScript, Sn as paginationArgs, T as healthCommand, U as listCommand$11, Vt as parseMigrationLabelNumber, Y as listCommand$10, Z as getCommand$4, Zt as formatMigrationNumber, _n as commonArgs, _t as webhookCommand, at as getCommand$3, b as createCommand$4, bn as isVerbose, bt as listCommand$6, c as listCommand$14, ct as tokenCommand, dn as sdkNameLabelKey, dt as generate, en as getMigrationFilePath, f as restoreCommand, fn as trnPrefix, ft as listCommand$7, g as getCommand$7, gn as defineAppCommand, i as updateCommand$4, in as loadDiff, j as truncateCommand, ln as getNamespacesWithMigrations, lt as listCommand$8, m as listCommand$15, mn as apiCommand, mt as getCommand$2, o as removeCommand, q as updateCommand$2, r as queryCommand, rn as isValidMigrationNumber, rt as listCommand$9, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, tt as createCommand$3, u as inviteCommand, un as prompt, v as deleteCommand$4, vn as confirmationArgs, vt as triggerCommand, wn as workspaceArgs, xn as pagedLogArgs, yn as deploymentArgs, z as updateCommand$3 } from "../runtime-CEj_sAfP.mjs";
6
+ import { C as loadWorkspaceId, D as writePlatformConfig, E as saveUserTokens, S as loadAccessToken, T as resolveTokens, _ as getDistDir, a as WorkflowJobSchema, b as deleteUserTokens, c as ExecutorSchema, i as resolveInlineSourcemap, l as INVOKER_EXPR, o as ResolverSchema, w as readPlatformConfig, x as fetchLatestToken, y as loadConfig } from "../application-7wtQzifE.mjs";
7
7
  import { t as readPackageJson } from "../package-json-CRzw5eUf.mjs";
8
8
  import { n as isCLIError } from "../errors-_M2TVoWh.mjs";
9
- import { a as JSON_FOOTER_MARKER, i as CRASH_LOG_EXTENSION, o as parseCrashReportConfig, r as sendCrashReport, t as initCrashReporting } from "../crash-report-CSSrblUv.mjs";
9
+ import { a as JSON_FOOTER_MARKER, i as CRASH_LOG_EXTENSION, o as parseCrashReportConfig, r as sendCrashReport, t as initCrashReporting } from "../crash-report-DVZsX1bs.mjs";
10
10
  import { createRequire } from "node:module";
11
11
  import { arg, defineCommand, runCommand, runMain } from "politty";
12
12
  import { withCompletionCommand } from "politty/completion";
@@ -4149,7 +4149,7 @@ runMain(mainCommand, {
4149
4149
  if (isVerbose() && error.stack) logger.debug(`\nStack trace:\n${error.stack}`);
4150
4150
  } else logger.error(`Unknown error: ${error}`);
4151
4151
  if (!isCLIError(error) && (!(error instanceof Error) || error instanceof TypeError || error instanceof RangeError)) {
4152
- const { reportCrash } = await import("../crash-report-DtkFq9JF.mjs");
4152
+ const { reportCrash } = await import("../crash-report-DQen2i_W.mjs");
4153
4153
  await reportCrash(error, "handledError");
4154
4154
  }
4155
4155
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@tailor-platform/function-types" />
2
2
  import { N as TailorDBType, P as TypeSourceInfoEntry, Q as Resolver, _t as IdProvider, ct as IncomingWebhookTrigger, o as Plugin, rt as Executor, s as PluginAttachment, ut as ScheduleTriggerInput, vt as OAuth2ClientInput } from "../tailor-db-field-D_z185oq.mjs";
3
- import { n as AppConfig } from "../workflow.generated-CDCnZNkH.mjs";
3
+ import { r as AppConfig } from "../workflow.generated-B7Mupf5V.mjs";
4
4
  import { n as kyselyTypePlugin } from "../index-0Dk-fDWi.mjs";
5
5
  import { n as enumConstantsPlugin } from "../index-ZZYEd_0R.mjs";
6
6
  import { n as fileUtilsPlugin } from "../index-DdsUV-aA.mjs";
@@ -2376,6 +2376,51 @@ declare type GetPlatformAccountPlanResponse = Message<"tailor.v1.GetPlatformAcco
2376
2376
  */
2377
2377
  declare const GetPlatformAccountPlanResponseSchema: GenMessage<GetPlatformAccountPlanResponse>;
2378
2378
  //#endregion
2379
+ //#region ../tailor-proto/src/tailor/v1/gateway_filter_resource_pb.d.ts
2380
+ /**
2381
+ * @generated from message tailor.v1.GatewayFilter
2382
+ */
2383
+ declare type GatewayFilter = Message<"tailor.v1.GatewayFilter"> & {
2384
+ /**
2385
+ * @generated from field: string name = 1;
2386
+ */
2387
+ name: string;
2388
+ /**
2389
+ * @generated from field: string path_pattern = 2;
2390
+ */
2391
+ pathPattern: string;
2392
+ /**
2393
+ * @generated from field: repeated string methods = 3;
2394
+ */
2395
+ methods: string[];
2396
+ /**
2397
+ * @generated from field: string input_filter_script = 4;
2398
+ */
2399
+ inputFilterScript: string;
2400
+ /**
2401
+ * optional
2402
+ *
2403
+ * @generated from field: string output_filter_script = 5;
2404
+ */
2405
+ outputFilterScript: string;
2406
+ /**
2407
+ * @generated from field: bool enabled = 6;
2408
+ */
2409
+ enabled: boolean;
2410
+ /**
2411
+ * @generated from field: int32 priority = 7;
2412
+ */
2413
+ priority: number;
2414
+ /**
2415
+ * @generated from field: google.protobuf.Timestamp create_time = 8;
2416
+ */
2417
+ createTime?: Timestamp;
2418
+ /**
2419
+ * @generated from field: google.protobuf.Timestamp update_time = 9;
2420
+ */
2421
+ updateTime?: Timestamp;
2422
+ };
2423
+ //#endregion
2379
2424
  //#region ../tailor-proto/src/tailor/v1/application_resource_pb.d.ts
2380
2425
  /**
2381
2426
  * @generated from message tailor.v1.Application
@@ -2439,6 +2484,10 @@ declare type Application = Message<"tailor.v1.Application"> & {
2439
2484
  * @generated from field: string auth_idp_config_name = 14;
2440
2485
  */
2441
2486
  authIdpConfigName: string;
2487
+ /**
2488
+ * @generated from field: repeated tailor.v1.GatewayFilter filters = 15;
2489
+ */
2490
+ filters: GatewayFilter[];
2442
2491
  };
2443
2492
  /**
2444
2493
  * @generated from message tailor.v1.ApplicationSchemaUpdateAttempt
@@ -2572,6 +2621,10 @@ declare type CreateApplicationRequest = Message<"tailor.v1.CreateApplicationRequ
2572
2621
  * @generated from field: bool disabled = 9;
2573
2622
  */
2574
2623
  disabled: boolean;
2624
+ /**
2625
+ * @generated from field: repeated tailor.v1.GatewayFilter filters = 10;
2626
+ */
2627
+ filters: GatewayFilter[];
2575
2628
  };
2576
2629
  /**
2577
2630
  * Describes the message tailor.v1.CreateApplicationRequest.
@@ -2636,6 +2689,10 @@ declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequ
2636
2689
  * @generated from field: bool disabled = 9;
2637
2690
  */
2638
2691
  disabled: boolean;
2692
+ /**
2693
+ * @generated from field: repeated tailor.v1.GatewayFilter filters = 10;
2694
+ */
2695
+ filters: GatewayFilter[];
2639
2696
  /**
2640
2697
  * @generated from field: google.protobuf.FieldMask update_mask = 100;
2641
2698
  */
@@ -9837,6 +9894,10 @@ declare type FunctionExecution = Message<"tailor.v1.FunctionExecution"> & {
9837
9894
  * @generated from field: tailor.v1.FunctionErrorKind error_kind = 11;
9838
9895
  */
9839
9896
  errorKind: FunctionErrorKind;
9897
+ /**
9898
+ * @generated from field: string content_hash = 12;
9899
+ */
9900
+ contentHash: string;
9840
9901
  };
9841
9902
  /**
9842
9903
  * @generated from enum tailor.v1.FunctionExecution.Status
@@ -11810,6 +11871,15 @@ declare type WorkflowJobFunction = Message<"tailor.v1.WorkflowJobFunction"> & {
11810
11871
  */
11811
11872
  scriptRef?: string;
11812
11873
  };
11874
+ /**
11875
+ * @generated from message tailor.v1.ConcurrencyPolicy
11876
+ */
11877
+ declare type ConcurrencyPolicy = Message<"tailor.v1.ConcurrencyPolicy"> & {
11878
+ /**
11879
+ * @generated from field: int32 max_concurrent_executions = 1;
11880
+ */
11881
+ maxConcurrentExecutions: number;
11882
+ };
11813
11883
  /**
11814
11884
  * @generated from message tailor.v1.RetryPolicy
11815
11885
  */
@@ -11867,6 +11937,10 @@ declare type Workflow = Message<"tailor.v1.Workflow"> & {
11867
11937
  * @generated from field: optional tailor.v1.RetryPolicy retry_policy = 7;
11868
11938
  */
11869
11939
  retryPolicy?: RetryPolicy;
11940
+ /**
11941
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 8;
11942
+ */
11943
+ concurrencyPolicy?: ConcurrencyPolicy;
11870
11944
  };
11871
11945
  /**
11872
11946
  * @generated from message tailor.v1.WorkflowJobExecution
@@ -12030,6 +12104,10 @@ declare type CreateWorkflowRequest = Message<"tailor.v1.CreateWorkflowRequest">
12030
12104
  * @generated from field: optional tailor.v1.RetryPolicy retry_policy = 5;
12031
12105
  */
12032
12106
  retryPolicy?: RetryPolicy;
12107
+ /**
12108
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
12109
+ */
12110
+ concurrencyPolicy?: ConcurrencyPolicy;
12033
12111
  };
12034
12112
  /**
12035
12113
  * Describes the message tailor.v1.CreateWorkflowRequest.
@@ -12076,6 +12154,10 @@ declare type UpdateWorkflowRequest = Message<"tailor.v1.UpdateWorkflowRequest">
12076
12154
  * @generated from field: optional tailor.v1.RetryPolicy retry_policy = 5;
12077
12155
  */
12078
12156
  retryPolicy?: RetryPolicy;
12157
+ /**
12158
+ * @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
12159
+ */
12160
+ concurrencyPolicy?: ConcurrencyPolicy;
12079
12161
  };
12080
12162
  /**
12081
12163
  * Describes the message tailor.v1.UpdateWorkflowRequest.
@@ -12798,6 +12880,40 @@ declare type TelemetryExportBearerTokenAuth = Message<"tailor.v1.TelemetryExport
12798
12880
  */
12799
12881
  secretValue?: SecretValue;
12800
12882
  };
12883
+ /**
12884
+ * ResourceAttributesConfig is a workspace-level singleton that controls
12885
+ * the resource attributes enriched onto outgoing telemetry signals.
12886
+ *
12887
+ * @generated from message tailor.v1.ResourceAttributesConfig
12888
+ */
12889
+ declare type ResourceAttributesConfig = Message<"tailor.v1.ResourceAttributesConfig"> & {
12890
+ /**
12891
+ * Developer-specified prefix prepended to each microservice's own
12892
+ * service.name (e.g. "gateway", "tailordb") to form the final
12893
+ * service.name resource attribute on outgoing signals:
12894
+ * "<service_name_prefix>-<service.name>".
12895
+ *
12896
+ * @generated from field: string service_name_prefix = 1;
12897
+ */
12898
+ serviceNamePrefix: string;
12899
+ /**
12900
+ * Customer-side deployment environment (e.g. "production", "staging").
12901
+ * Optional; when empty, the enricher leaves deployment.environment.name
12902
+ * untouched. Follows OTel semconv `deployment.environment.name` semantics
12903
+ * (free-form string; max 256 chars).
12904
+ *
12905
+ * @generated from field: string deployment_environment_name = 2;
12906
+ */
12907
+ deploymentEnvironmentName: string;
12908
+ /**
12909
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
12910
+ */
12911
+ createdAt?: Timestamp;
12912
+ /**
12913
+ * @generated from field: google.protobuf.Timestamp updated_at = 4;
12914
+ */
12915
+ updatedAt?: Timestamp;
12916
+ };
12801
12917
  /**
12802
12918
  * @generated from enum tailor.v1.TelemetryExportProtocol
12803
12919
  */
@@ -13024,6 +13140,121 @@ declare type TestTelemetryExportResponse = Message<"tailor.v1.TestTelemetryExpor
13024
13140
  * Use `create(TestTelemetryExportResponseSchema)` to create a new message.
13025
13141
  */
13026
13142
  declare const TestTelemetryExportResponseSchema: GenMessage<TestTelemetryExportResponse>;
13143
+ /**
13144
+ * @generated from message tailor.v1.CreateResourceAttributesConfigRequest
13145
+ */
13146
+ declare type CreateResourceAttributesConfigRequest = Message<"tailor.v1.CreateResourceAttributesConfigRequest"> & {
13147
+ /**
13148
+ * @generated from field: string workspace_id = 1;
13149
+ */
13150
+ workspaceId: string;
13151
+ /**
13152
+ * @generated from field: tailor.v1.ResourceAttributesConfig resource_attributes_config = 2;
13153
+ */
13154
+ resourceAttributesConfig?: ResourceAttributesConfig;
13155
+ };
13156
+ /**
13157
+ * Describes the message tailor.v1.CreateResourceAttributesConfigRequest.
13158
+ * Use `create(CreateResourceAttributesConfigRequestSchema)` to create a new message.
13159
+ */
13160
+ declare const CreateResourceAttributesConfigRequestSchema: GenMessage<CreateResourceAttributesConfigRequest>;
13161
+ /**
13162
+ * @generated from message tailor.v1.CreateResourceAttributesConfigResponse
13163
+ */
13164
+ declare type CreateResourceAttributesConfigResponse = Message<"tailor.v1.CreateResourceAttributesConfigResponse"> & {
13165
+ /**
13166
+ * @generated from field: tailor.v1.ResourceAttributesConfig resource_attributes_config = 1;
13167
+ */
13168
+ resourceAttributesConfig?: ResourceAttributesConfig;
13169
+ };
13170
+ /**
13171
+ * Describes the message tailor.v1.CreateResourceAttributesConfigResponse.
13172
+ * Use `create(CreateResourceAttributesConfigResponseSchema)` to create a new message.
13173
+ */
13174
+ declare const CreateResourceAttributesConfigResponseSchema: GenMessage<CreateResourceAttributesConfigResponse>;
13175
+ /**
13176
+ * @generated from message tailor.v1.GetResourceAttributesConfigRequest
13177
+ */
13178
+ declare type GetResourceAttributesConfigRequest = Message<"tailor.v1.GetResourceAttributesConfigRequest"> & {
13179
+ /**
13180
+ * @generated from field: string workspace_id = 1;
13181
+ */
13182
+ workspaceId: string;
13183
+ };
13184
+ /**
13185
+ * Describes the message tailor.v1.GetResourceAttributesConfigRequest.
13186
+ * Use `create(GetResourceAttributesConfigRequestSchema)` to create a new message.
13187
+ */
13188
+ declare const GetResourceAttributesConfigRequestSchema: GenMessage<GetResourceAttributesConfigRequest>;
13189
+ /**
13190
+ * @generated from message tailor.v1.GetResourceAttributesConfigResponse
13191
+ */
13192
+ declare type GetResourceAttributesConfigResponse = Message<"tailor.v1.GetResourceAttributesConfigResponse"> & {
13193
+ /**
13194
+ * @generated from field: tailor.v1.ResourceAttributesConfig resource_attributes_config = 1;
13195
+ */
13196
+ resourceAttributesConfig?: ResourceAttributesConfig;
13197
+ };
13198
+ /**
13199
+ * Describes the message tailor.v1.GetResourceAttributesConfigResponse.
13200
+ * Use `create(GetResourceAttributesConfigResponseSchema)` to create a new message.
13201
+ */
13202
+ declare const GetResourceAttributesConfigResponseSchema: GenMessage<GetResourceAttributesConfigResponse>;
13203
+ /**
13204
+ * @generated from message tailor.v1.UpdateResourceAttributesConfigRequest
13205
+ */
13206
+ declare type UpdateResourceAttributesConfigRequest = Message<"tailor.v1.UpdateResourceAttributesConfigRequest"> & {
13207
+ /**
13208
+ * @generated from field: string workspace_id = 1;
13209
+ */
13210
+ workspaceId: string;
13211
+ /**
13212
+ * @generated from field: tailor.v1.ResourceAttributesConfig resource_attributes_config = 2;
13213
+ */
13214
+ resourceAttributesConfig?: ResourceAttributesConfig;
13215
+ };
13216
+ /**
13217
+ * Describes the message tailor.v1.UpdateResourceAttributesConfigRequest.
13218
+ * Use `create(UpdateResourceAttributesConfigRequestSchema)` to create a new message.
13219
+ */
13220
+ declare const UpdateResourceAttributesConfigRequestSchema: GenMessage<UpdateResourceAttributesConfigRequest>;
13221
+ /**
13222
+ * @generated from message tailor.v1.UpdateResourceAttributesConfigResponse
13223
+ */
13224
+ declare type UpdateResourceAttributesConfigResponse = Message<"tailor.v1.UpdateResourceAttributesConfigResponse"> & {
13225
+ /**
13226
+ * @generated from field: tailor.v1.ResourceAttributesConfig resource_attributes_config = 1;
13227
+ */
13228
+ resourceAttributesConfig?: ResourceAttributesConfig;
13229
+ };
13230
+ /**
13231
+ * Describes the message tailor.v1.UpdateResourceAttributesConfigResponse.
13232
+ * Use `create(UpdateResourceAttributesConfigResponseSchema)` to create a new message.
13233
+ */
13234
+ declare const UpdateResourceAttributesConfigResponseSchema: GenMessage<UpdateResourceAttributesConfigResponse>;
13235
+ /**
13236
+ * @generated from message tailor.v1.DeleteResourceAttributesConfigRequest
13237
+ */
13238
+ declare type DeleteResourceAttributesConfigRequest = Message<"tailor.v1.DeleteResourceAttributesConfigRequest"> & {
13239
+ /**
13240
+ * @generated from field: string workspace_id = 1;
13241
+ */
13242
+ workspaceId: string;
13243
+ };
13244
+ /**
13245
+ * Describes the message tailor.v1.DeleteResourceAttributesConfigRequest.
13246
+ * Use `create(DeleteResourceAttributesConfigRequestSchema)` to create a new message.
13247
+ */
13248
+ declare const DeleteResourceAttributesConfigRequestSchema: GenMessage<DeleteResourceAttributesConfigRequest>;
13249
+ /**
13250
+ * @generated from message tailor.v1.DeleteResourceAttributesConfigResponse
13251
+ */
13252
+ declare type DeleteResourceAttributesConfigResponse = Message<"tailor.v1.DeleteResourceAttributesConfigResponse"> & {};
13253
+ /**
13254
+ * Describes the message tailor.v1.DeleteResourceAttributesConfigResponse.
13255
+ * Use `create(DeleteResourceAttributesConfigResponseSchema)` to create a new message.
13256
+ */
13257
+ declare const DeleteResourceAttributesConfigResponseSchema: GenMessage<DeleteResourceAttributesConfigResponse>;
13027
13258
  //#endregion
13028
13259
  //#region ../tailor-proto/src/tailor/v1/service_pb.d.ts
13029
13260
  /**
@@ -16127,6 +16358,74 @@ declare const OperatorService: GenService<{
16127
16358
  input: typeof TestTelemetryExportRequestSchema;
16128
16359
  output: typeof TestTelemetryExportResponseSchema;
16129
16360
  };
16361
+ /**
16362
+ * CreateResourceAttributesConfig creates the workspace-level resource
16363
+ * attributes enrichment configuration (singleton per workspace).
16364
+ *
16365
+ * [Errors]
16366
+ * - Unauthenticated: token is missing, expired, or invalid
16367
+ * - InvalidArgument: request is invalid
16368
+ * - PermissionDenied: can view workspace but no permission to create
16369
+ * - AlreadyExists: config already exists for this workspace
16370
+ *
16371
+ * @generated from rpc tailor.v1.OperatorService.CreateResourceAttributesConfig
16372
+ */
16373
+ createResourceAttributesConfig: {
16374
+ methodKind: "unary";
16375
+ input: typeof CreateResourceAttributesConfigRequestSchema;
16376
+ output: typeof CreateResourceAttributesConfigResponseSchema;
16377
+ };
16378
+ /**
16379
+ * GetResourceAttributesConfig returns the workspace-level resource
16380
+ * attributes enrichment configuration.
16381
+ *
16382
+ * [Errors]
16383
+ * - Unauthenticated: token is missing, expired, or invalid
16384
+ * - InvalidArgument: request is invalid
16385
+ * - PermissionDenied: can view workspace but no permission to read
16386
+ * - NotFound: config does not exist for this workspace
16387
+ *
16388
+ * @generated from rpc tailor.v1.OperatorService.GetResourceAttributesConfig
16389
+ */
16390
+ getResourceAttributesConfig: {
16391
+ methodKind: "unary";
16392
+ input: typeof GetResourceAttributesConfigRequestSchema;
16393
+ output: typeof GetResourceAttributesConfigResponseSchema;
16394
+ };
16395
+ /**
16396
+ * UpdateResourceAttributesConfig updates the workspace-level resource
16397
+ * attributes enrichment configuration.
16398
+ *
16399
+ * [Errors]
16400
+ * - Unauthenticated: token is missing, expired, or invalid
16401
+ * - InvalidArgument: request is invalid
16402
+ * - PermissionDenied: can view workspace but no permission to update
16403
+ * - NotFound: config does not exist for this workspace
16404
+ *
16405
+ * @generated from rpc tailor.v1.OperatorService.UpdateResourceAttributesConfig
16406
+ */
16407
+ updateResourceAttributesConfig: {
16408
+ methodKind: "unary";
16409
+ input: typeof UpdateResourceAttributesConfigRequestSchema;
16410
+ output: typeof UpdateResourceAttributesConfigResponseSchema;
16411
+ };
16412
+ /**
16413
+ * DeleteResourceAttributesConfig deletes the workspace-level resource
16414
+ * attributes enrichment configuration.
16415
+ *
16416
+ * [Errors]
16417
+ * - Unauthenticated: token is missing, expired, or invalid
16418
+ * - InvalidArgument: request is invalid
16419
+ * - PermissionDenied: can view workspace but no permission to delete
16420
+ * - NotFound: config does not exist for this workspace
16421
+ *
16422
+ * @generated from rpc tailor.v1.OperatorService.DeleteResourceAttributesConfig
16423
+ */
16424
+ deleteResourceAttributesConfig: {
16425
+ methodKind: "unary";
16426
+ input: typeof DeleteResourceAttributesConfigRequestSchema;
16427
+ output: typeof DeleteResourceAttributesConfigResponseSchema;
16428
+ };
16130
16429
  }>;
16131
16430
  //#endregion
16132
16431
  //#region src/cli/shared/client.d.ts
@@ -17227,6 +17526,26 @@ declare function initOperatorClient(accessToken: string): Promise<Client<_$_bufb
17227
17526
  input: typeof TestTelemetryExportRequestSchema;
17228
17527
  output: typeof TestTelemetryExportResponseSchema;
17229
17528
  };
17529
+ createResourceAttributesConfig: {
17530
+ methodKind: "unary";
17531
+ input: typeof CreateResourceAttributesConfigRequestSchema;
17532
+ output: typeof CreateResourceAttributesConfigResponseSchema;
17533
+ };
17534
+ getResourceAttributesConfig: {
17535
+ methodKind: "unary";
17536
+ input: typeof GetResourceAttributesConfigRequestSchema;
17537
+ output: typeof GetResourceAttributesConfigResponseSchema;
17538
+ };
17539
+ updateResourceAttributesConfig: {
17540
+ methodKind: "unary";
17541
+ input: typeof UpdateResourceAttributesConfigRequestSchema;
17542
+ output: typeof UpdateResourceAttributesConfigResponseSchema;
17543
+ };
17544
+ deleteResourceAttributesConfig: {
17545
+ methodKind: "unary";
17546
+ input: typeof DeleteResourceAttributesConfigRequestSchema;
17547
+ output: typeof DeleteResourceAttributesConfigResponseSchema;
17548
+ };
17230
17549
  }>>>;
17231
17550
  //#endregion
17232
17551
  //#region src/cli/shared/config-loader.d.ts
package/dist/cli/lib.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- import { d as initOperatorClient } from "../client-DQl5NPG9.mjs";
3
- import { $t as getMigrationDirPath, A as truncate, B as updateOrganization, Bt as MIGRATION_LABEL_KEY, D as resumeWorkflow, Dt as startWorkflow, Gt as INITIAL_SCHEMA_NUMBER, Ht as bundleMigrationScript, It as getExecutor, J as updateFolder, Jt as compareLocalTypesWithSnapshot, K as getOrganization, Kt as MIGRATE_FILE_NAME, L as remove, Lt as apply, M as generate$1, Mt as listWorkflowExecutions, P as show, Q as getFolder, Qt as getLatestMigrationNumber, Rt as executeScript, S as listApps, St as getExecutorJob, Tt as watchExecutorJob, Ut as DB_TYPES_FILE_NAME, V as organizationTree, W as listOrganizations, Wt as DIFF_FILE_NAME, X as listFolders, Xt as createSnapshotFromLocalTypes, Yt as compareSnapshots, _ as getWorkspace, a as updateUser, an as reconstructSnapshotFromMigrations, cn as hasChanges, d as inviteUser, dt as generate, en as getMigrationFilePath, et as deleteFolder, gt as listWebhookExecutors, h as listWorkspaces, hn as apiCall, ht as getFunctionRegistry, it as listOAuth2Clients, jt as getWorkflowExecution, k as listWorkflows, kt as getWorkflow, l as listUsers, ln as getNamespacesWithMigrations, n as query, nn as getNextMigrationNumber, nt as createFolder, on as formatDiffSummary, ot as getOAuth2Client, p as restoreWorkspace, pn as generateUserTypes, pt as listFunctionRegistries, qt as SCHEMA_FILE_NAME, s as removeUser, sn as formatMigrationDiff, st as getMachineUserToken, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, ut as listMachineUsers, w as getAppHealth, wt as listExecutorJobs, x as createWorkspace, xt as listExecutors, y as deleteWorkspace, yt as triggerExecutor, zt as waitForExecution } from "../runtime-l7GFD3Xg.mjs";
4
- import { C as loadWorkspaceId, S as loadAccessToken, _ as getDistDir, y as loadConfig } from "../application-DkVNbIuh.mjs";
2
+ import { d as initOperatorClient } from "../client-DcuQRqSd.mjs";
3
+ import { $t as getMigrationDirPath, A as truncate, B as updateOrganization, Bt as MIGRATION_LABEL_KEY, D as resumeWorkflow, Dt as startWorkflow, Gt as INITIAL_SCHEMA_NUMBER, Ht as bundleMigrationScript, It as getExecutor, J as updateFolder, Jt as compareLocalTypesWithSnapshot, K as getOrganization, Kt as MIGRATE_FILE_NAME, L as remove, Lt as apply, M as generate$1, Mt as listWorkflowExecutions, P as show, Q as getFolder, Qt as getLatestMigrationNumber, Rt as executeScript, S as listApps, St as getExecutorJob, Tt as watchExecutorJob, Ut as DB_TYPES_FILE_NAME, V as organizationTree, W as listOrganizations, Wt as DIFF_FILE_NAME, X as listFolders, Xt as createSnapshotFromLocalTypes, Yt as compareSnapshots, _ as getWorkspace, a as updateUser, an as reconstructSnapshotFromMigrations, cn as hasChanges, d as inviteUser, dt as generate, en as getMigrationFilePath, et as deleteFolder, gt as listWebhookExecutors, h as listWorkspaces, hn as apiCall, ht as getFunctionRegistry, it as listOAuth2Clients, jt as getWorkflowExecution, k as listWorkflows, kt as getWorkflow, l as listUsers, ln as getNamespacesWithMigrations, n as query, nn as getNextMigrationNumber, nt as createFolder, on as formatDiffSummary, ot as getOAuth2Client, p as restoreWorkspace, pn as generateUserTypes, pt as listFunctionRegistries, qt as SCHEMA_FILE_NAME, s as removeUser, sn as formatMigrationDiff, st as getMachineUserToken, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, ut as listMachineUsers, w as getAppHealth, wt as listExecutorJobs, x as createWorkspace, xt as listExecutors, y as deleteWorkspace, yt as triggerExecutor, zt as waitForExecution } from "../runtime-CEj_sAfP.mjs";
4
+ import { C as loadWorkspaceId, S as loadAccessToken, _ as getDistDir, y as loadConfig } from "../application-7wtQzifE.mjs";
5
5
  import { n as enumConstantsPlugin } from "../enum-constants-C3KSpsYj.mjs";
6
6
  import { n as fileUtilsPlugin } from "../file-utils-775qWKoo.mjs";
7
7
  import { n as kyselyTypePlugin } from "../kysely-type-BQsYEZoY.mjs";