@vertesia/common 1.6.0-dev.20261004.085740Z → 1.6.0-dev.20261009.095813Z

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.
Files changed (84) hide show
  1. package/lib/api-contract/components.generated.json +572 -403
  2. package/lib/api-contract/engine.d.ts +65 -0
  3. package/lib/api-contract/engine.d.ts.map +1 -0
  4. package/lib/api-contract/engine.js +572 -0
  5. package/lib/api-contract/engine.js.map +1 -0
  6. package/lib/api-contract/index.d.ts +22 -183
  7. package/lib/api-contract/index.d.ts.map +1 -1
  8. package/lib/api-contract/index.js +13 -551
  9. package/lib/api-contract/index.js.map +1 -1
  10. package/lib/api-contract/types.d.ts +70 -0
  11. package/lib/api-contract/types.d.ts.map +1 -0
  12. package/lib/api-contract/types.js +2 -0
  13. package/lib/api-contract/types.js.map +1 -0
  14. package/lib/api-schemas/account.d.ts +0 -5
  15. package/lib/api-schemas/account.d.ts.map +1 -1
  16. package/lib/api-schemas/account.js +0 -7
  17. package/lib/api-schemas/account.js.map +1 -1
  18. package/lib/api-schemas/audit-trail.d.ts +255 -0
  19. package/lib/api-schemas/audit-trail.d.ts.map +1 -1
  20. package/lib/api-schemas/audit-trail.js +150 -1
  21. package/lib/api-schemas/audit-trail.js.map +1 -1
  22. package/lib/api-schemas/cost-analytics.d.ts +1 -0
  23. package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
  24. package/lib/api-schemas/cost-analytics.js +7 -0
  25. package/lib/api-schemas/cost-analytics.js.map +1 -1
  26. package/lib/api-schemas/group.d.ts +2 -0
  27. package/lib/api-schemas/group.d.ts.map +1 -1
  28. package/lib/api-schemas/group.js +5 -0
  29. package/lib/api-schemas/group.js.map +1 -1
  30. package/lib/api-schemas/index.d.ts +1 -0
  31. package/lib/api-schemas/index.d.ts.map +1 -1
  32. package/lib/api-schemas/index.js +1 -0
  33. package/lib/api-schemas/index.js.map +1 -1
  34. package/lib/api-schemas/registry.d.ts +270 -186
  35. package/lib/api-schemas/registry.d.ts.map +1 -1
  36. package/lib/api-schemas/registry.js +26 -29
  37. package/lib/api-schemas/registry.js.map +1 -1
  38. package/lib/api-schemas/run-budget.d.ts +0 -36
  39. package/lib/api-schemas/run-budget.d.ts.map +1 -1
  40. package/lib/api-schemas/run-budget.js +0 -33
  41. package/lib/api-schemas/run-budget.js.map +1 -1
  42. package/lib/api-schemas/secrets.d.ts +0 -71
  43. package/lib/api-schemas/secrets.d.ts.map +1 -1
  44. package/lib/api-schemas/secrets.js +0 -73
  45. package/lib/api-schemas/secrets.js.map +1 -1
  46. package/lib/audit-trail.d.ts +14 -2
  47. package/lib/audit-trail.d.ts.map +1 -1
  48. package/lib/audit-trail.js +4 -0
  49. package/lib/audit-trail.js.map +1 -1
  50. package/lib/index.d.ts +1 -1
  51. package/lib/index.d.ts.map +1 -1
  52. package/lib/index.js.map +1 -1
  53. package/lib/platform-event.d.ts +0 -20
  54. package/lib/platform-event.d.ts.map +1 -1
  55. package/lib/run-budget.d.ts +0 -4
  56. package/lib/run-budget.d.ts.map +1 -1
  57. package/lib/secrets.d.ts +0 -10
  58. package/lib/secrets.d.ts.map +1 -1
  59. package/lib/user.d.ts +0 -1
  60. package/lib/user.d.ts.map +1 -1
  61. package/lib/vertesia-common.js +1 -1
  62. package/lib/vertesia-common.js.map +1 -1
  63. package/lib/wire-types.generated.d.ts +102 -105
  64. package/lib/wire-types.generated.d.ts.map +1 -1
  65. package/package.json +6 -6
  66. package/src/api-contract/components.generated.json +572 -403
  67. package/src/api-contract/engine.ts +644 -0
  68. package/src/api-contract/index.ts +32 -663
  69. package/src/api-contract/types.ts +108 -0
  70. package/src/api-schemas/account.ts +0 -8
  71. package/src/api-schemas/audit-trail.ts +169 -1
  72. package/src/api-schemas/cost-analytics.ts +8 -0
  73. package/src/api-schemas/group.ts +5 -0
  74. package/src/api-schemas/index.ts +1 -0
  75. package/src/api-schemas/registry.ts +41 -139
  76. package/src/api-schemas/run-budget.ts +0 -37
  77. package/src/api-schemas/secrets.ts +0 -84
  78. package/src/audit-trail.ts +17 -0
  79. package/src/index.ts +0 -4
  80. package/src/platform-event.ts +0 -25
  81. package/src/run-budget.ts +0 -4
  82. package/src/secrets.ts +0 -11
  83. package/src/user.ts +0 -2
  84. package/src/wire-types.generated.ts +103 -103
@@ -1,89 +1,5 @@
1
1
  // Runtime schemas for the secrets API domain.
2
2
  import { z } from 'zod';
3
- import { EventCategorySchema } from './audit-trail.js';
4
-
5
- export const EventWebhookSigningSecretRequestSchema = z
6
- .strictObject({
7
- account_id: z.string().optional(),
8
- project_id: z.string(),
9
- })
10
- .meta({ id: 'EventWebhookSigningSecretRequest' });
11
-
12
- export const EventWebhookSigningSecretResponseSchema = z
13
- .strictObject({
14
- subscription_id: z.string(),
15
- secret: z.string(),
16
- secret_label: z.string(),
17
- })
18
- .meta({ id: 'EventWebhookSigningSecretResponse' });
19
-
20
- export const SignEventWebhookRequestSchema = EventWebhookSigningSecretRequestSchema.extend({
21
- delivery_id: z.string(),
22
- body: z.string(),
23
- event_id: z.string(),
24
- event_category: EventCategorySchema,
25
- action: z.string(),
26
- timestamp: z.number().optional(),
27
- }).meta({ id: 'SignEventWebhookRequest' });
28
-
29
- export const SignEventWebhookResponseSchema = z
30
- .strictObject({
31
- headers: z.record(z.string(), z.string()),
32
- timestamp: z.number(),
33
- signature: z.string(),
34
- })
35
- .meta({ id: 'SignEventWebhookResponse' });
36
-
37
- export const EventIngestSigningSecretRequestSchema = z
38
- .strictObject({
39
- account_id: z.string().optional(),
40
- project_id: z.string(),
41
- })
42
- .meta({ id: 'EventIngestSigningSecretRequest' });
43
-
44
- export const EventIngestSigningSecretResponseSchema = z
45
- .strictObject({
46
- channel_id: z.string(),
47
- secret: z.string(),
48
- secret_label: z.string(),
49
- })
50
- .meta({ id: 'EventIngestSigningSecretResponse' });
51
-
52
- export const VerifyEventIngestSignatureRequestSchema = EventIngestSigningSecretRequestSchema.extend({
53
- body: z.string(),
54
- signature_header: z.string(),
55
- algorithm: z.enum(['sha256', 'sha1']).optional(),
56
- encoding: z.enum(['hex', 'base64']).optional(),
57
- prefix: z.string().optional(),
58
- }).meta({ id: 'VerifyEventIngestSignatureRequest' });
59
-
60
- export const VerifyEventIngestSignatureResponseSchema = z
61
- .strictObject({
62
- valid: z.boolean(),
63
- })
64
- .meta({ id: 'VerifyEventIngestSignatureResponse' });
65
-
66
- export const GithubInstallationTokenRequestSchema = z
67
- .strictObject({
68
- account_id: z.string().optional(),
69
- project_id: z.string(),
70
- installation_id: z.string(),
71
- repo: z.string(),
72
- })
73
- .meta({ id: 'GithubInstallationTokenRequest' });
74
-
75
- export const GithubInstallationTokenResponseSchema = z
76
- .strictObject({
77
- token: z.string(),
78
- expires_at: z.string().optional(),
79
- })
80
- .meta({ id: 'GithubInstallationTokenResponse' });
81
-
82
- export const InternalSecretDeleteResponseSchema = z
83
- .strictObject({
84
- deleted: z.literal(true),
85
- })
86
- .meta({ id: 'InternalSecretDeleteResponse' });
87
3
 
88
4
  export const WebsiteCredentialTotpAlgorithmSchema = z
89
5
  .enum(['SHA1', 'SHA256', 'SHA512'])
@@ -15,6 +15,9 @@ export const AUDIT_ACTIONS = [
15
15
  'credentials_totp_generation',
16
16
  'publish',
17
17
  'unpublish',
18
+ // Content access (retrieval is not proof of a human reading the document)
19
+ 'search',
20
+ 'read',
18
21
  // Billable operations
19
22
  'inference',
20
23
  'embedding',
@@ -56,6 +59,7 @@ export const AUDIT_AGGREGATION_DIMENSIONS = [
56
59
  'project_id',
57
60
  'principal_id',
58
61
  'actor_id',
62
+ 'user_id',
59
63
  'details.pipeline',
60
64
  'details.verdict',
61
65
  'details.workflow_type',
@@ -87,5 +91,18 @@ export type AuditAggregationRow = Wire.AuditAggregationRow;
87
91
 
88
92
  export type AuditAggregationResponse = Wire.AuditAggregationResponse;
89
93
 
94
+ export type AuditAdoptionFilter = Wire.AuditAdoptionFilter;
95
+ export type AuditAdoptionQuery = Wire.AuditAdoptionQuery;
96
+ export type AuditAdoptionPeriod = Wire.AuditAdoptionPeriod;
97
+ export type AuditAdoptionBucket = Wire.AuditAdoptionBucket;
98
+ export type AuditAdoptionActiveDays = Wire.AuditAdoptionActiveDays;
99
+ export type AuditAdoptionProject = Wire.AuditAdoptionProject;
100
+ export type AuditAdoptionHistory = Wire.AuditAdoptionHistory;
101
+ export type AuditAdoptionResponse = Wire.AuditAdoptionResponse;
102
+ export type AuditUsageQuery = Wire.AuditUsageQuery;
103
+ export type AuditUsageCounts = Wire.AuditUsageCounts;
104
+ export type AuditUsageBucket = Wire.AuditUsageBucket;
105
+ export type AuditUsageResponse = Wire.AuditUsageResponse;
106
+
90
107
  /** Billable audit actions for cost analytics queries */
91
108
  export const BILLABLE_AUDIT_ACTIONS = ['inference', 'embedding', 'image_generation'] satisfies KnownAuditAction[];
package/src/index.ts CHANGED
@@ -79,12 +79,8 @@ export * from './rate-limiter.js';
79
79
  export * from './refs.js';
80
80
  export * from './roles/types.js';
81
81
  export type {
82
- ReadRunBudgetUsagePayload,
83
82
  RunBudgetCapability,
84
83
  RunBudgetCapabilityQuery,
85
- RunBudgetOwner,
86
- RunBudgetTotals,
87
- RunBudgetUsage,
88
84
  } from './run-budget.js';
89
85
  export * from './runs.js';
90
86
  export * from './schema-for-extraction.js';
@@ -242,31 +242,6 @@ export interface ListEventSubscriptionsQuery {
242
242
  app_installation_id?: string;
243
243
  }
244
244
 
245
- /** Trusted Studio -> Zeno request used to provision subscriptions declared by an installed app. */
246
- export interface ProvisionAppEventSubscriptionsRequest {
247
- account_id: string;
248
- project_id: string;
249
- subscriptions: Array<
250
- CreateEventSubscriptionPayload & {
251
- target: AppEventDeliveryTargetInput;
252
- app_installation_id: string;
253
- app_id: string;
254
- app_subscription_id: string;
255
- }
256
- >;
257
- }
258
-
259
- /** Trusted Studio -> Zeno request used to remove every subscription owned by an app installation. */
260
- export interface RemoveAppEventSubscriptionsRequest {
261
- account_id: string;
262
- project_id: string;
263
- app_installation_id: string;
264
- }
265
-
266
- export interface AppEventSubscriptionsMutationResponse {
267
- subscription_ids: string[];
268
- }
269
-
270
245
  export type EventIngestChannelSortField = 'name' | 'source' | 'enabled' | 'updated_at';
271
246
 
272
247
  export interface ListEventIngestChannelsQuery {
package/src/run-budget.ts CHANGED
@@ -1,8 +1,4 @@
1
1
  import type * as Wire from './wire-types.generated.js';
2
2
 
3
- export type RunBudgetOwner = Wire.RunBudgetOwner;
4
- export type RunBudgetUsage = Wire.RunBudgetUsage;
5
- export type ReadRunBudgetUsagePayload = Wire.ReadRunBudgetUsagePayload;
6
- export type RunBudgetTotals = Wire.RunBudgetTotals;
7
3
  export type RunBudgetCapability = Wire.RunBudgetCapability;
8
4
  export type RunBudgetCapabilityQuery = Wire.RunBudgetCapabilityQuery;
package/src/secrets.ts CHANGED
@@ -18,15 +18,4 @@ export type CreateSecretRequest = Wire.CreateSecretRequest;
18
18
 
19
19
  export type UpdateSecretRequest = Wire.UpdateSecretRequest;
20
20
 
21
- export type EventWebhookSigningSecretRequest = Wire.EventWebhookSigningSecretRequest;
22
- export type EventWebhookSigningSecretResponse = Wire.EventWebhookSigningSecretResponse;
23
- export type SignEventWebhookRequest = Wire.SignEventWebhookRequest;
24
- export type SignEventWebhookResponse = Wire.SignEventWebhookResponse;
25
- export type EventIngestSigningSecretRequest = Wire.EventIngestSigningSecretRequest;
26
- export type EventIngestSigningSecretResponse = Wire.EventIngestSigningSecretResponse;
27
- export type VerifyEventIngestSignatureRequest = Wire.VerifyEventIngestSignatureRequest;
28
- export type VerifyEventIngestSignatureResponse = Wire.VerifyEventIngestSignatureResponse;
29
- export type GithubInstallationTokenRequest = Wire.GithubInstallationTokenRequest;
30
- export type GithubInstallationTokenResponse = Wire.GithubInstallationTokenResponse;
31
-
32
21
  export type DeleteSecretResponse = Wire.DeleteSecretResponse;
package/src/user.ts CHANGED
@@ -87,5 +87,3 @@ export type SignupData = Wire.SignupData;
87
87
  * The `POST /auth/signup` request body.
88
88
  */
89
89
  export type SignupPayload = Wire.SignupPayload;
90
-
91
- export type AccountApiVersionPolicy = Wire.AccountApiVersionPolicy;
@@ -65,7 +65,6 @@ import type {
65
65
  } from './store/store.js';
66
66
  import type { AgentMessageType, FileProcessingStatus, WorkflowExecutionStatusValues } from './store/workflow.js';
67
67
  import type { TransientTokenType } from './transient-tokens-values.js';
68
- import type { ApiVersions } from './versions.js';
69
68
  import type { ViewNavigationNode } from './views.js';
70
69
  import type { AgentEvent, LlmCallType } from './workflow-analytics.js';
71
70
 
@@ -1701,7 +1700,7 @@ export type AuditTrailResponse = {
1701
1700
  export type AuditAggregationResolution = 'hour' | 'day' | 'week' | 'month';
1702
1701
  export type AuditAggregationDetailField = 'pipeline' | 'verdict' | 'workflow_type' | 'rule_id';
1703
1702
  export type AuditAggregationOperation = 'count' | 'count_distinct' | 'sum_meter' | 'average_meter';
1704
- export type AuditAggregationDistinctField = 'resource_id' | 'request_id' | 'principal_id' | 'actor_id';
1703
+ export type AuditAggregationDistinctField = 'resource_id' | 'request_id' | 'principal_id' | 'actor_id' | 'user_id';
1705
1704
  export type AuditAggregationGroup = {
1706
1705
  dimension: AuditAggregationDimensionWire;
1707
1706
  resolution?: AuditAggregationResolution | undefined;
@@ -1748,6 +1747,90 @@ export type AuditAggregationResponse = {
1748
1747
  from: string;
1749
1748
  to: string;
1750
1749
  };
1750
+ export type AuditAdoptionFilter = {
1751
+ actions?: AuditActionWire[] | undefined;
1752
+ resourceTypes?: string[] | undefined;
1753
+ eventCategories?: EventCategory[] | undefined;
1754
+ };
1755
+ export type AuditAdoptionQuery = {
1756
+ projectId?: string | undefined;
1757
+ from?: string | undefined;
1758
+ to?: string | undefined;
1759
+ filter?: AuditAdoptionFilter | undefined;
1760
+ };
1761
+ export type AuditAdoptionPeriod = {
1762
+ from: string;
1763
+ to: string;
1764
+ };
1765
+ export type AuditAdoptionBucket = {
1766
+ from: string;
1767
+ to: string;
1768
+ partial: boolean;
1769
+ active_users: number;
1770
+ };
1771
+ export type AuditAdoptionActiveDays = {
1772
+ days: number;
1773
+ users: number;
1774
+ };
1775
+ export type AuditAdoptionProject = {
1776
+ project_id: string;
1777
+ project_name: string | null;
1778
+ active_users: number;
1779
+ active_user_days: number;
1780
+ };
1781
+ export type AuditAdoptionHistory = {
1782
+ earliest_observed_at: string | null;
1783
+ coverage_from: string | null;
1784
+ completeness: 'unknown' | 'insufficient' | 'verified';
1785
+ retention_unavailable_reason: 'no_previous_users' | 'insufficient_history' | null;
1786
+ };
1787
+ export type AuditAdoptionResponse = {
1788
+ period: AuditAdoptionPeriod;
1789
+ previous_period: AuditAdoptionPeriod;
1790
+ resolution: 'day' | 'week';
1791
+ active_users: number;
1792
+ previous_active_users: number;
1793
+ retained_users: number;
1794
+ observed_retention: number | null;
1795
+ returning_user_share: number | null;
1796
+ repeat_user_share: number | null;
1797
+ median_active_days: number | null;
1798
+ active_projects: number | null;
1799
+ timeline: AuditAdoptionBucket[];
1800
+ active_day_distribution: AuditAdoptionActiveDays[];
1801
+ top_projects: AuditAdoptionProject[];
1802
+ history: AuditAdoptionHistory;
1803
+ };
1804
+ export type AuditUsageQuery = {
1805
+ projectId?: string | undefined;
1806
+ from?: string | undefined;
1807
+ to?: string | undefined;
1808
+ resolution?: 'day' | 'week' | 'month' | undefined;
1809
+ };
1810
+ export type AuditUsageCounts = {
1811
+ active_users: number;
1812
+ agent_runs: number;
1813
+ user_agent_runs: number;
1814
+ automated_agent_runs: number;
1815
+ agent_users: number;
1816
+ direct_calls: number;
1817
+ direct_call_users: number;
1818
+ content_objects: number;
1819
+ user_content_objects: number;
1820
+ other_content_objects: number;
1821
+ };
1822
+ export type AuditUsageBucket = {
1823
+ from: string;
1824
+ to: string;
1825
+ partial: boolean;
1826
+ counts: AuditUsageCounts;
1827
+ };
1828
+ export type AuditUsageResponse = {
1829
+ period: AuditAdoptionPeriod;
1830
+ resolution: 'day' | 'week' | 'month';
1831
+ totals: AuditUsageCounts;
1832
+ timeline: AuditUsageBucket[];
1833
+ };
1751
1834
  export type WebsiteCredentialCapability = 'password' | 'totp' | 'oauth';
1752
1835
  export type WebsiteCredentialTotpAlgorithm = 'SHA1' | 'SHA256' | 'SHA512';
1753
1836
  export type WebsiteCredentialWebsite = {
@@ -2041,6 +2124,7 @@ export type CostAnalyticsQuery = {
2041
2124
  workflow_run_id?: string | undefined;
2042
2125
  run_id?: string | undefined;
2043
2126
  agent_run_id?: string | undefined;
2127
+ agent_only?: boolean | undefined;
2044
2128
  interaction_id?: string | undefined;
2045
2129
  principal_id?: string | undefined;
2046
2130
  account_id?: string | undefined;
@@ -3430,6 +3514,7 @@ export type UserGroup = {
3430
3514
  clearance?: number | undefined;
3431
3515
  compartments?: string[] | undefined;
3432
3516
  allowed_projects?: string[] | undefined;
3517
+ member_count?: number | undefined;
3433
3518
  };
3434
3519
  export type CreateUserGroupPayload = {
3435
3520
  name: string;
@@ -6111,30 +6196,6 @@ export type RoleDefinition = RoleDefinitionFromSchema;
6111
6196
  * by the server's `/roles/system` endpoint.
6112
6197
  */
6113
6198
  export type SystemRoleDefinition = SystemRoleDefinitionFromSchema;
6114
- export type RunBudgetOwner = {
6115
- workflow_id: string;
6116
- first_run_id: string;
6117
- };
6118
- export type RunBudgetUsage = {
6119
- input: number;
6120
- cached_input: number;
6121
- output: number;
6122
- };
6123
- export type ReadRunBudgetUsagePayload = {
6124
- account_id: string;
6125
- project_id: string;
6126
- agent_run_id: string;
6127
- owner: RunBudgetOwner;
6128
- require_estimates?: boolean | undefined;
6129
- };
6130
- export type RunBudgetTotals = {
6131
- measured: RunBudgetUsage;
6132
- unpriced: RunBudgetUsage;
6133
- reported_nano_usd: number;
6134
- estimated_nano_usd: number;
6135
- unmeasured_calls: number;
6136
- missing_usage_calls: number;
6137
- };
6138
6199
  export type RunBudgetCapability = {
6139
6200
  supported: boolean;
6140
6201
  source: 'provider' | 'estimate' | 'unavailable';
@@ -6390,61 +6451,6 @@ export type UpdateSecretRequest = {
6390
6451
  clear_totp?: boolean | undefined;
6391
6452
  clear_oauth?: boolean | undefined;
6392
6453
  };
6393
- export type EventWebhookSigningSecretRequest = {
6394
- account_id?: string | undefined;
6395
- project_id: string;
6396
- };
6397
- export type EventWebhookSigningSecretResponse = {
6398
- subscription_id: string;
6399
- secret: string;
6400
- secret_label: string;
6401
- };
6402
- export type SignEventWebhookRequest = {
6403
- account_id?: string | undefined;
6404
- project_id: string;
6405
- delivery_id: string;
6406
- body: string;
6407
- event_id: string;
6408
- event_category: EventCategory;
6409
- action: string;
6410
- timestamp?: number | undefined;
6411
- };
6412
- export type SignEventWebhookResponse = {
6413
- headers: Record<string, string>;
6414
- timestamp: number;
6415
- signature: string;
6416
- };
6417
- export type EventIngestSigningSecretRequest = {
6418
- account_id?: string | undefined;
6419
- project_id: string;
6420
- };
6421
- export type EventIngestSigningSecretResponse = {
6422
- channel_id: string;
6423
- secret: string;
6424
- secret_label: string;
6425
- };
6426
- export type VerifyEventIngestSignatureRequest = {
6427
- account_id?: string | undefined;
6428
- project_id: string;
6429
- body: string;
6430
- signature_header: string;
6431
- algorithm?: 'sha256' | 'sha1' | undefined;
6432
- encoding?: 'hex' | 'base64' | undefined;
6433
- prefix?: string | undefined;
6434
- };
6435
- export type VerifyEventIngestSignatureResponse = {
6436
- valid: boolean;
6437
- };
6438
- export type GithubInstallationTokenRequest = {
6439
- account_id?: string | undefined;
6440
- project_id: string;
6441
- installation_id: string;
6442
- repo: string;
6443
- };
6444
- export type GithubInstallationTokenResponse = {
6445
- token: string;
6446
- expires_at?: string | undefined;
6447
- };
6448
6454
  export type DeleteSecretResponse = {
6449
6455
  ok: boolean;
6450
6456
  };
@@ -9163,9 +9169,6 @@ export type SignupPayload = {
9163
9169
  firebaseToken: string;
9164
9170
  signupData: SignupData;
9165
9171
  };
9166
- export type AccountApiVersionPolicy = {
9167
- default_api_version?: (typeof ApiVersions)[keyof typeof ApiVersions] | undefined;
9168
- };
9169
9172
  /** An author-provided Elasticsearch query subtree validated by the View runtime. */
9170
9173
  export type ViewElasticsearchQuery = {
9171
9174
  [k: string]: unknown;
@@ -10559,6 +10562,8 @@ export type KnownAuditActionWire =
10559
10562
  | 'credentials_totp_generation'
10560
10563
  | 'publish'
10561
10564
  | 'unpublish'
10565
+ | 'search'
10566
+ | 'read'
10562
10567
  | 'inference'
10563
10568
  | 'embedding'
10564
10569
  | 'image_generation'
@@ -10572,6 +10577,7 @@ export type AuditAggregationDimensionMap = {
10572
10577
  project_id?: string | null | undefined;
10573
10578
  principal_id?: string | null | undefined;
10574
10579
  actor_id?: string | null | undefined;
10580
+ user_id?: string | null | undefined;
10575
10581
  'details.pipeline'?: string | null | undefined;
10576
10582
  'details.verdict'?: string | null | undefined;
10577
10583
  'details.workflow_type'?: string | null | undefined;
@@ -10587,6 +10593,7 @@ export type AuditAggregationDimensionWire =
10587
10593
  | 'project_id'
10588
10594
  | 'principal_id'
10589
10595
  | 'actor_id'
10596
+ | 'user_id'
10590
10597
  | 'details.pipeline'
10591
10598
  | 'details.verdict'
10592
10599
  | 'details.workflow_type'
@@ -10617,9 +10624,6 @@ export type AppToolCollectionArray = AppToolCollection[];
10617
10624
  export type SystemPackageQuery = {
10618
10625
  scope?: AppPackageScopeWire[] | undefined;
10619
10626
  };
10620
- export type InternalSecretDeleteResponse = {
10621
- deleted: true;
10622
- };
10623
10627
  export type SupportedIntegrations_ask_user_webhook = (typeof SupportedIntegrations)['ask_user_webhook'];
10624
10628
  export type SupportedIntegrations_resend = (typeof SupportedIntegrations)['resend'];
10625
10629
  export type SupportedIntegrations_linkup = (typeof SupportedIntegrations)['linkup'];
@@ -10649,7 +10653,6 @@ export type AppInstallationListEntryArray = AppInstallationListEntry[];
10649
10653
  export type BinaryFileResponse = string;
10650
10654
  /** The wire type of every registry component, by component name: what `ApiComponentType<N>` resolves. */
10651
10655
  export interface ApiComponentTypes {
10652
- AccountApiVersionPolicy: AccountApiVersionPolicy;
10653
10656
  Account: AccountFromSchema;
10654
10657
  UpdateAccountPayload: UpdateAccountPayloadFromSchema;
10655
10658
  StripeBillingStatusResponse: StripeBillingStatusResponseFromSchema;
@@ -11603,6 +11606,18 @@ export interface ApiComponentTypes {
11603
11606
  OAuthAuthStatusArray: OAuthAuthStatusArray;
11604
11607
  SetMcpApiKeyRequest: SetMcpApiKeyRequest;
11605
11608
  McpApiKeyStatus: McpApiKeyStatus;
11609
+ AuditAdoptionActiveDays: AuditAdoptionActiveDays;
11610
+ AuditAdoptionBucket: AuditAdoptionBucket;
11611
+ AuditAdoptionFilter: AuditAdoptionFilter;
11612
+ AuditAdoptionHistory: AuditAdoptionHistory;
11613
+ AuditAdoptionPeriod: AuditAdoptionPeriod;
11614
+ AuditAdoptionProject: AuditAdoptionProject;
11615
+ AuditAdoptionQuery: AuditAdoptionQuery;
11616
+ AuditAdoptionResponse: AuditAdoptionResponse;
11617
+ AuditUsageQuery: AuditUsageQuery;
11618
+ AuditUsageCounts: AuditUsageCounts;
11619
+ AuditUsageBucket: AuditUsageBucket;
11620
+ AuditUsageResponse: AuditUsageResponse;
11606
11621
  AuditMeter: AuditMeter;
11607
11622
  KnownAuditAction: KnownAuditActionWire;
11608
11623
  EventCategory: EventCategory;
@@ -11762,17 +11777,6 @@ export interface ApiComponentTypes {
11762
11777
  SecretProjectQuery: SecretProjectQuery;
11763
11778
  ListSecretsQuery: ListSecretsQuery;
11764
11779
  SecretLookupQuery: SecretLookupQuery;
11765
- EventWebhookSigningSecretRequest: EventWebhookSigningSecretRequest;
11766
- EventWebhookSigningSecretResponse: EventWebhookSigningSecretResponse;
11767
- SignEventWebhookRequest: SignEventWebhookRequest;
11768
- SignEventWebhookResponse: SignEventWebhookResponse;
11769
- EventIngestSigningSecretRequest: EventIngestSigningSecretRequest;
11770
- EventIngestSigningSecretResponse: EventIngestSigningSecretResponse;
11771
- VerifyEventIngestSignatureRequest: VerifyEventIngestSignatureRequest;
11772
- VerifyEventIngestSignatureResponse: VerifyEventIngestSignatureResponse;
11773
- GithubInstallationTokenRequest: GithubInstallationTokenRequest;
11774
- GithubInstallationTokenResponse: GithubInstallationTokenResponse;
11775
- InternalSecretDeleteResponse: InternalSecretDeleteResponse;
11776
11780
  SupportedIntegrations_ask_user_webhook: SupportedIntegrations_ask_user_webhook;
11777
11781
  SupportedIntegrations_resend: SupportedIntegrations_resend;
11778
11782
  SupportedIntegrations_linkup: SupportedIntegrations_linkup;
@@ -11880,10 +11884,6 @@ export interface ApiComponentTypes {
11880
11884
  CreateDelegationGrantPayload: CreateDelegationGrantPayload;
11881
11885
  DelegationGrant: DelegationGrant;
11882
11886
  DelegationGrantArray: DelegationGrantArray;
11883
- RunBudgetOwner: RunBudgetOwner;
11884
- RunBudgetUsage: RunBudgetUsage;
11885
- ReadRunBudgetUsagePayload: ReadRunBudgetUsagePayload;
11886
- RunBudgetTotals: RunBudgetTotals;
11887
11887
  RunBudgetCapability: RunBudgetCapability;
11888
11888
  RunBudgetCapabilityQuery: RunBudgetCapabilityQuery;
11889
11889
  }