@ancplua/qyl-api-schema 0.5.12 → 0.5.13

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.
@@ -848,7 +848,6 @@
848
848
  "cluster_id",
849
849
  "workflow_key",
850
850
  "service_name",
851
- "span_name",
852
851
  "output_contract",
853
852
  "task_family",
854
853
  "call_count",
@@ -876,13 +875,14 @@
876
875
  },
877
876
  "workflow_key": {
878
877
  "type": "string",
879
- "description": "Privacy-safe workflow identity used to group repeated calls."
878
+ "description": "Privacy-safe derived grouping identity used to group repeated calls."
880
879
  },
881
880
  "service_name": {
882
881
  "type": "string"
883
882
  },
884
883
  "span_name": {
885
- "type": "string"
884
+ "type": "string",
885
+ "description": "Present only when an upstream source proves or canonicalizes a low-cardinality, privacy-safe span name."
886
886
  },
887
887
  "operation_name": {
888
888
  "type": "string"
@@ -1514,6 +1514,7 @@
1514
1514
  "type": "string",
1515
1515
  "enum": [
1516
1516
  "unconfigured",
1517
+ "pending",
1517
1518
  "current",
1518
1519
  "stale",
1519
1520
  "sync_failed",
@@ -4844,7 +4844,6 @@
4844
4844
  "cluster_id",
4845
4845
  "workflow_key",
4846
4846
  "service_name",
4847
- "span_name",
4848
4847
  "output_contract",
4849
4848
  "task_family",
4850
4849
  "call_count",
@@ -4872,13 +4871,14 @@
4872
4871
  },
4873
4872
  "workflow_key": {
4874
4873
  "type": "string",
4875
- "description": "Privacy-safe workflow identity used to group repeated calls."
4874
+ "description": "Privacy-safe derived grouping identity used to group repeated calls."
4876
4875
  },
4877
4876
  "service_name": {
4878
4877
  "type": "string"
4879
4878
  },
4880
4879
  "span_name": {
4881
- "type": "string"
4880
+ "type": "string",
4881
+ "description": "Present only when an upstream source proves or canonicalizes a low-cardinality, privacy-safe span name."
4882
4882
  },
4883
4883
  "operation_name": {
4884
4884
  "type": "string"
@@ -5510,6 +5510,7 @@
5510
5510
  "type": "string",
5511
5511
  "enum": [
5512
5512
  "unconfigured",
5513
+ "pending",
5513
5514
  "current",
5514
5515
  "stale",
5515
5516
  "sync_failed",
@@ -296,6 +296,7 @@ export declare const ProviderCostSourceKindValues: {
296
296
  export type ProviderCostSourceKind = typeof ProviderCostSourceKindValues[keyof typeof ProviderCostSourceKindValues];
297
297
  export declare const ProviderCostSourceStatusValues: {
298
298
  readonly unconfigured: "unconfigured";
299
+ readonly pending: "pending";
299
300
  readonly current: "current";
300
301
  readonly stale: "stale";
301
302
  readonly syncFailed: "sync_failed";
@@ -1077,7 +1078,7 @@ export interface GenAiEtlAuditCluster {
1077
1078
  "cluster_id": string;
1078
1079
  "workflow_key": string;
1079
1080
  "service_name": string;
1080
- "span_name": string;
1081
+ "span_name"?: string;
1081
1082
  "operation_name"?: string;
1082
1083
  "provider"?: string;
1083
1084
  "model"?: string;
@@ -254,6 +254,7 @@ export const ProviderCostSourceKindValues = {
254
254
  };
255
255
  export const ProviderCostSourceStatusValues = {
256
256
  "unconfigured": "unconfigured",
257
+ "pending": "pending",
257
258
  "current": "current",
258
259
  "stale": "stale",
259
260
  "syncFailed": "sync_failed",
@@ -24,6 +24,9 @@ enum ProviderCostSourceStatus {
24
24
  @doc("The source has no configured provider credential or cloud identity.")
25
25
  unconfigured: "unconfigured",
26
26
 
27
+ @doc("A provider credential or cloud identity is configured, but no fetch has completed yet.")
28
+ pending: "pending",
29
+
27
30
  @doc("The most recent provider fetch completed inside its freshness window.")
28
31
  current: "current",
29
32
 
@@ -217,15 +220,16 @@ model GenAiEtlAuditCluster {
217
220
  @encodedName("application/json", "cluster_id")
218
221
  clusterId: string;
219
222
 
220
- @doc("Privacy-safe workflow identity used to group repeated calls.")
223
+ @doc("Privacy-safe derived grouping identity used to group repeated calls.")
221
224
  @encodedName("application/json", "workflow_key")
222
225
  workflowKey: string;
223
226
 
224
227
  @encodedName("application/json", "service_name")
225
228
  serviceName: string;
226
229
 
230
+ @doc("Present only when an upstream source proves or canonicalizes a low-cardinality, privacy-safe span name.")
227
231
  @encodedName("application/json", "span_name")
228
- spanName: string;
232
+ spanName?: string;
229
233
 
230
234
  @encodedName("application/json", "operation_name")
231
235
  operationName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancplua/qyl-api-schema",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {