@vertesia/common 1.1.0-dev.20260427.060440Z → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/common",
3
- "version": "1.1.0-dev.20260427.060440Z",
3
+ "version": "1.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "types": "./lib/types/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "ajv": "^8.17.1",
29
- "@llumiverse/common": "1.1.0-dev.20260427.054520Z"
29
+ "@llumiverse/common": "1.1.0"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",
@@ -39,6 +39,12 @@ export interface CostAnalyticsQuery {
39
39
  run_id?: string;
40
40
  /** Filter by agent run ID */
41
41
  agent_run_id?: string;
42
+ /** Filter by saved-interaction ObjectId */
43
+ interaction_id?: string;
44
+ /** Filter by in-code interaction code (e.g. "@sys:chat") */
45
+ interaction_code?: string;
46
+ /** Filter by principal (bare user or API key id; matched against the suffix of principal_id) */
47
+ principal_id?: string;
42
48
  /** Filter by account ID (set automatically by server) */
43
49
  account_id?: string;
44
50
  /** Scope: 'project' (default, current project) or 'org' (all projects in account) */
@@ -5,7 +5,9 @@ export interface IntegrationConfigurationBase {
5
5
  }
6
6
 
7
7
  export interface GladiaConfiguration extends IntegrationConfigurationBase {
8
- api_key: string;
8
+ api_key?: string;
9
+ has_api_key?: boolean;
10
+ api_key_hint?: string;
9
11
  url?: string;
10
12
  }
11
13
 
@@ -25,27 +27,37 @@ export interface MagicPdfConfiguration extends IntegrationConfigurationBase {
25
27
  }
26
28
 
27
29
  export interface SerperConfiguration extends IntegrationConfigurationBase {
28
- api_key: string;
30
+ api_key?: string;
31
+ has_api_key?: boolean;
32
+ api_key_hint?: string;
29
33
  url?: string;
30
34
  }
31
35
 
32
36
  export interface ExaConfiguration extends IntegrationConfigurationBase {
33
- api_key: string;
37
+ api_key?: string;
38
+ has_api_key?: boolean;
39
+ api_key_hint?: string;
34
40
  }
35
41
 
36
42
  export interface LinkupConfiguration extends IntegrationConfigurationBase {
37
- api_key: string;
43
+ api_key?: string;
44
+ has_api_key?: boolean;
45
+ api_key_hint?: string;
38
46
  }
39
47
 
40
48
  export interface ResendConfiguration extends IntegrationConfigurationBase {
41
49
  /** Resend API key for sending emails */
42
- api_key: string;
50
+ api_key?: string;
51
+ has_api_key?: boolean;
52
+ api_key_hint?: string;
43
53
  /** Domain for email (both sending and receiving). Must be verified in Resend. */
44
54
  email_domain: string;
45
55
  /** Default display name for outgoing emails (e.g., "Vertesia - Project Name") */
46
56
  default_from_name?: string;
47
57
  /** Webhook secret for validating inbound email webhooks (required for receiving emails) */
48
- webhook_secret: string;
58
+ webhook_secret?: string;
59
+ has_webhook_secret?: boolean;
60
+ webhook_secret_hint?: string;
49
61
  /** Domains allowed to send emails TO start agents (for inbound validation) */
50
62
  allowed_sender_domains?: string[];
51
63
  /** Require sender to have project access to start agents via email (default: true) */
@@ -63,6 +75,8 @@ export interface AskUserWebhookConfiguration extends IntegrationConfigurationBas
63
75
  webhook_url: string;
64
76
  /** Secret for signing webhook payloads (HMAC-SHA256) */
65
77
  webhook_secret?: string;
78
+ has_webhook_secret?: boolean;
79
+ webhook_secret_hint?: string;
66
80
  /** Which events to send: ['requested', 'resolved'] or subset (default: both) */
67
81
  events?: ('requested' | 'resolved')[];
68
82
  /** Custom headers to include in webhook requests */
@@ -79,4 +93,4 @@ export enum SupportedIntegrations {
79
93
  linkup = "linkup",
80
94
  resend = "resend",
81
95
  ask_user_webhook = "ask_user_webhook",
82
- }
96
+ }
@@ -135,7 +135,7 @@ export interface OAuthAuthorizationServerMetadata {
135
135
 
136
136
  export interface OAuthClientMetadataDocument {
137
137
  client_id: string;
138
- client_name?: string;
138
+ client_name: string;
139
139
  redirect_uris: string[];
140
140
  grant_types?: OAuthGrantType[];
141
141
  response_types?: OAuthResponseType[];
@@ -143,6 +143,15 @@ export interface OAuthClientMetadataDocument {
143
143
  scope?: string;
144
144
  client_uri?: string;
145
145
  logo_uri?: string;
146
+ tos_uri?: string;
147
+ policy_uri?: string;
148
+ }
149
+
150
+ export interface OAuthClientDisplayMetadata {
151
+ client_uri?: string;
152
+ logo_uri?: string;
153
+ tos_uri?: string;
154
+ policy_uri?: string;
146
155
  }
147
156
 
148
157
  export interface OAuthAuthorizeQuery {
@@ -163,6 +172,7 @@ export interface OAuthAuthorizationRequest {
163
172
  request_id: string;
164
173
  client_id: string;
165
174
  client_name: string;
175
+ client_metadata?: OAuthClientDisplayMetadata;
166
176
  client_registration_mode?: OAuthClientRegistrationMode;
167
177
  redirect_uri: string;
168
178
  redirect_origin: string;
package/src/project.ts CHANGED
@@ -391,6 +391,12 @@ export interface CreateReindexTargetResult {
391
391
  index_name: string;
392
392
  alias_name: string;
393
393
  version: number;
394
+ dimensions?: {
395
+ text?: number;
396
+ image?: number;
397
+ properties?: number;
398
+ };
399
+ language?: string;
394
400
  }
395
401
 
396
402
  /**
@@ -455,6 +461,11 @@ export interface IndexShardParams {
455
461
  target_index: string;
456
462
  shard_min: string;
457
463
  shard_max?: string;
464
+ embedding_dimensions?: {
465
+ text?: number;
466
+ image?: number;
467
+ properties?: number;
468
+ };
458
469
  dry_run?: boolean;
459
470
  concurrency?: number;
460
471
  batch_size?: number;