@vertesia/common 1.6.0-dev.20261019.172735Z → 1.6.0-dev.20261022.120426Z

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 (40) hide show
  1. package/lib/api-contract/components.generated.json +40 -97
  2. package/lib/api-schemas/agent-runs.d.ts +2 -0
  3. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  4. package/lib/api-schemas/agent-runs.js +2 -1
  5. package/lib/api-schemas/agent-runs.js.map +1 -1
  6. package/lib/api-schemas/apikey.d.ts +3 -40
  7. package/lib/api-schemas/apikey.d.ts.map +1 -1
  8. package/lib/api-schemas/apikey.js +3 -17
  9. package/lib/api-schemas/apikey.js.map +1 -1
  10. package/lib/api-schemas/data-store.d.ts.map +1 -1
  11. package/lib/api-schemas/data-store.js +17 -1
  12. package/lib/api-schemas/data-store.js.map +1 -1
  13. package/lib/api-schemas/interaction.d.ts +10 -0
  14. package/lib/api-schemas/interaction.d.ts.map +1 -1
  15. package/lib/api-schemas/interaction.js +29 -0
  16. package/lib/api-schemas/interaction.js.map +1 -1
  17. package/lib/api-schemas/registry.d.ts +5 -30
  18. package/lib/api-schemas/registry.d.ts.map +1 -1
  19. package/lib/api-schemas/registry.js +6 -6
  20. package/lib/api-schemas/registry.js.map +1 -1
  21. package/lib/apikey.d.ts +0 -2
  22. package/lib/apikey.d.ts.map +1 -1
  23. package/lib/apikey.js.map +1 -1
  24. package/lib/interaction.d.ts +3 -3
  25. package/lib/interaction.d.ts.map +1 -1
  26. package/lib/interaction.js.map +1 -1
  27. package/lib/vertesia-common.js +1 -1
  28. package/lib/vertesia-common.js.map +1 -1
  29. package/lib/wire-types.generated.d.ts +15 -32
  30. package/lib/wire-types.generated.d.ts.map +1 -1
  31. package/package.json +12 -7
  32. package/src/api-contract/components.generated.json +40 -97
  33. package/src/api-schemas/agent-runs.ts +2 -0
  34. package/src/api-schemas/apikey.ts +3 -21
  35. package/src/api-schemas/data-store.ts +19 -1
  36. package/src/api-schemas/interaction.ts +39 -0
  37. package/src/api-schemas/registry.ts +8 -6
  38. package/src/apikey.ts +0 -2
  39. package/src/interaction.ts +5 -3
  40. package/src/wire-types.generated.ts +15 -32
@@ -182,9 +182,6 @@ export type StripeBillingStatusResponseFromSchema = StripeBillingEnabled | Strip
182
182
  export type ApiKeyListQueryFromSchema = {
183
183
  level?: 'account' | 'project' | undefined;
184
184
  };
185
- export type ApiKeyReadQueryFromSchema = {
186
- withValue?: boolean | undefined;
187
- };
188
185
  export type ProjectRefArrayFromSchema = ProjectRef[];
189
186
  export type ApiKeyFromSchema = {
190
187
  id: string;
@@ -228,27 +225,6 @@ export type ApiKeyWithValueFromSchema = {
228
225
  compartments?: string[] | undefined;
229
226
  value: string;
230
227
  };
231
- export type ApiKeyReadResponseFromSchema = {
232
- id: string;
233
- name: string;
234
- type: (typeof ApiKeyTypes)['secret'];
235
- role: (typeof SystemRoles)[keyof typeof SystemRoles];
236
- maskedValue?: string | undefined;
237
- can_retrieve_value?: boolean | undefined;
238
- account: string;
239
- project: ProjectRef;
240
- enabled: boolean;
241
- scim_provisioning?: boolean | undefined;
242
- created_by: string;
243
- updated_by: string;
244
- created_at: string;
245
- updated_at: string;
246
- expires_at?: string | undefined;
247
- properties?: Record<string, unknown> | undefined;
248
- clearance?: number | undefined;
249
- compartments?: string[] | undefined;
250
- value?: string | undefined;
251
- };
252
228
  export type CreateApiKeyPayloadFromSchema = {
253
229
  name: string;
254
230
  role: (typeof SystemRoles)[keyof typeof SystemRoles];
@@ -475,10 +451,8 @@ export type ApiKeyArray = ApiKeyArrayFromSchema;
475
451
  export type CreateApiKeyPayload = CreateApiKeyPayloadFromSchema;
476
452
  export type UpdateApiKeyPayload = UpdateApiKeyPayloadFromSchema;
477
453
  export type ApiKeyWithValue = ApiKeyWithValueFromSchema;
478
- export type ApiKeyReadResponse = ApiKeyReadResponseFromSchema;
479
454
  export type AuthTokenResponse = AuthTokenResponseFromSchema;
480
455
  export type ApiKeyListQuery = ApiKeyListQueryFromSchema;
481
- export type ApiKeyReadQuery = ApiKeyReadQueryFromSchema;
482
456
  export type AccountApiKey = {
483
457
  id: string;
484
458
  name: string;
@@ -3795,6 +3769,16 @@ export type CatalogInteractionRef = {
3795
3769
  title: string;
3796
3770
  description?: string | undefined;
3797
3771
  };
3772
+ export type ExecuteNamedInteractionQuery = {
3773
+ include_prompt?: boolean | undefined;
3774
+ };
3775
+ export type GetRunQuery = {
3776
+ include_prompt?: boolean | undefined;
3777
+ };
3778
+ export type ExecuteInteractionByEndpointQuery = {
3779
+ tag?: string | undefined;
3780
+ include_prompt?: boolean | undefined;
3781
+ };
3798
3782
  export type ResolveInteractionQuery = {
3799
3783
  environment?: string | undefined;
3800
3784
  model?: string | undefined;
@@ -4140,6 +4124,7 @@ export type AsyncConversationExecutionPayload = {
4140
4124
  asyncCompletion?: AsyncCompletionOptions | undefined;
4141
4125
  type: 'conversation';
4142
4126
  notify_endpoints?: string[] | undefined;
4127
+ idempotency_key?: string | undefined;
4143
4128
  task_queue?: string | undefined;
4144
4129
  tool_approval_mode?: AgentToolApprovalMode | undefined;
4145
4130
  visibility?: ConversationVisibility | undefined;
@@ -9437,6 +9422,7 @@ export type CreateAgentRunPayloadWire = {
9437
9422
  notify_endpoints?: string[] | undefined;
9438
9423
  debug_mode?: boolean | undefined;
9439
9424
  started_by?: string | undefined;
9425
+ idempotency_key?: string | undefined;
9440
9426
  };
9441
9427
  export type DSLActivitySpecWire = {
9442
9428
  name: string;
@@ -9831,9 +9817,6 @@ export type LegacyPopulatedExecutionRunResult = {
9831
9817
  conversation?: unknown | undefined;
9832
9818
  options?: StatelessExecutionOptions | undefined;
9833
9819
  };
9834
- export type ExecuteInteractionByEndpointQueryWire = {
9835
- tag?: string | undefined;
9836
- };
9837
9820
  export type ExecuteInteractionByEndpointHeadersWire = {
9838
9821
  'x-interaction-tag'?: string | undefined;
9839
9822
  };
@@ -10263,8 +10246,6 @@ export interface ApiComponentTypes {
10263
10246
  AccountApiKeyArray: AccountApiKeyArray;
10264
10247
  CreateAccountApiKeyPayload: CreateAccountApiKeyPayload;
10265
10248
  UpdateAccountApiKeyPayload: UpdateAccountApiKeyPayload;
10266
- ApiKeyReadResponse: ApiKeyReadResponseFromSchema;
10267
- ApiKeyReadQuery: ApiKeyReadQueryFromSchema;
10268
10249
  CreateApiKeyPayload: CreateApiKeyPayloadFromSchema;
10269
10250
  UpdateApiKeyPayload: UpdateApiKeyPayloadFromSchema;
10270
10251
  AuthTokenResponse: AuthTokenResponseFromSchema;
@@ -10555,6 +10536,7 @@ export interface ApiComponentTypes {
10555
10536
  ExecutionRunRefArray: ExecutionRunRefArray;
10556
10537
  UpdateExecutionRunPayload: UpdateExecutionRunPayload;
10557
10538
  RunCreatePayload: RunCreatePayload;
10539
+ GetRunQuery: GetRunQuery;
10558
10540
  SortOrder: SortOrder;
10559
10541
  SortOption: SortOption;
10560
10542
  RunSearchQuery: RunSearchQuery;
@@ -10571,7 +10553,8 @@ export interface ApiComponentTypes {
10571
10553
  InteractionExecutionConfiguration: InteractionExecutionConfiguration;
10572
10554
  InteractionExecutionError: InteractionExecutionError;
10573
10555
  ResultStorageOptions: ResultStorageOptions;
10574
- ExecuteInteractionByEndpointQuery: ExecuteInteractionByEndpointQueryWire;
10556
+ ExecuteNamedInteractionQuery: ExecuteNamedInteractionQuery;
10557
+ ExecuteInteractionByEndpointQuery: ExecuteInteractionByEndpointQuery;
10575
10558
  ExecuteInteractionByEndpointHeaders: ExecuteInteractionByEndpointHeadersWire;
10576
10559
  AsyncCompletionMode: AsyncCompletionMode;
10577
10560
  AsyncCompletionOptions: AsyncCompletionOptions;