@vertesia/common 0.79.1 → 0.80.0-dev.20251121

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 (67) hide show
  1. package/LICENSE +13 -0
  2. package/lib/cjs/project.js.map +1 -1
  3. package/lib/cjs/store/store.js.map +1 -1
  4. package/lib/esm/project.js.map +1 -1
  5. package/lib/esm/store/store.js.map +1 -1
  6. package/lib/tsconfig.tsbuildinfo +1 -1
  7. package/lib/types/Progress.d.ts +0 -1
  8. package/lib/types/access-control.d.ts +0 -1
  9. package/lib/types/analytics.d.ts +0 -1
  10. package/lib/types/apikey.d.ts +0 -1
  11. package/lib/types/apps.d.ts +0 -1
  12. package/lib/types/common.d.ts +0 -1
  13. package/lib/types/environment.d.ts +0 -1
  14. package/lib/types/facets.d.ts +0 -1
  15. package/lib/types/group.d.ts +0 -1
  16. package/lib/types/index.d.ts +0 -1
  17. package/lib/types/integrations.d.ts +0 -1
  18. package/lib/types/interaction.d.ts +0 -1
  19. package/lib/types/json-schema.d.ts +0 -1
  20. package/lib/types/json.d.ts +0 -1
  21. package/lib/types/meters.d.ts +0 -1
  22. package/lib/types/model_utility.d.ts +0 -1
  23. package/lib/types/payload.d.ts +0 -1
  24. package/lib/types/project.d.ts +1 -1
  25. package/lib/types/project.d.ts.map +1 -1
  26. package/lib/types/prompt.d.ts +0 -1
  27. package/lib/types/query.d.ts +0 -1
  28. package/lib/types/rate-limiter.d.ts +0 -1
  29. package/lib/types/refs.d.ts +0 -1
  30. package/lib/types/runs.d.ts +0 -1
  31. package/lib/types/store/activity-catalog.d.ts +0 -1
  32. package/lib/types/store/agent.d.ts +0 -1
  33. package/lib/types/store/collections.d.ts +12 -1
  34. package/lib/types/store/collections.d.ts.map +1 -1
  35. package/lib/types/store/common.d.ts +0 -1
  36. package/lib/types/store/doc-analyzer.d.ts +0 -1
  37. package/lib/types/store/dsl-workflow.d.ts +0 -1
  38. package/lib/types/store/index.d.ts +0 -1
  39. package/lib/types/store/object-types.d.ts +0 -1
  40. package/lib/types/store/signals.d.ts +0 -1
  41. package/lib/types/store/store.d.ts +14 -1
  42. package/lib/types/store/store.d.ts.map +1 -1
  43. package/lib/types/store/temporalio.d.ts +0 -1
  44. package/lib/types/store/workflow.d.ts +0 -1
  45. package/lib/types/sts-token-types.d.ts +0 -1
  46. package/lib/types/tenant.d.ts +0 -1
  47. package/lib/types/training.d.ts +0 -1
  48. package/lib/types/transient-tokens.d.ts +0 -1
  49. package/lib/types/user.d.ts +0 -1
  50. package/lib/types/utils/auth.d.ts +0 -1
  51. package/lib/types/utils/schemas.d.ts +0 -1
  52. package/lib/types/utils/type-helpers.d.ts +0 -1
  53. package/lib/types/versions.d.ts +0 -1
  54. package/lib/vertesia-common.js.map +1 -1
  55. package/package.json +43 -38
  56. package/src/access-control.ts +4 -4
  57. package/src/apikey.ts +22 -21
  58. package/src/apps.ts +8 -0
  59. package/src/index.ts +1 -0
  60. package/src/interaction.ts +296 -18
  61. package/src/project.ts +2 -0
  62. package/src/prompt.ts +16 -9
  63. package/src/store/collections.ts +12 -0
  64. package/src/store/store.ts +22 -3
  65. package/src/store/workflow.ts +53 -8
  66. package/src/sts-token-types.ts +117 -0
  67. package/src/utils/schemas.ts +32 -9
@@ -14,4 +14,3 @@ interface ParentClosePolicyI {
14
14
  }
15
15
  export declare const ParentClosePolicy: ParentClosePolicyI;
16
16
  export {};
17
- //# sourceMappingURL=temporalio.d.ts.map
@@ -410,4 +410,3 @@ export interface WorkflowActionPayload {
410
410
  reason?: string;
411
411
  }
412
412
  export {};
413
- //# sourceMappingURL=workflow.d.ts.map
@@ -70,4 +70,3 @@ export interface ValidateTokenResponse {
70
70
  error?: string;
71
71
  }
72
72
  export {};
73
- //# sourceMappingURL=sts-token-types.d.ts.map
@@ -8,4 +8,3 @@ export interface UIResolvedTenant {
8
8
  provider?: string;
9
9
  name?: string;
10
10
  }
11
- //# sourceMappingURL=tenant.d.ts.map
@@ -36,4 +36,3 @@ export interface ListTrainingSessionsQuery {
36
36
  offset?: number;
37
37
  status?: TrainingSessionStatus;
38
38
  }
39
- //# sourceMappingURL=training.d.ts.map
@@ -22,4 +22,3 @@ export interface UserInviteTokenData {
22
22
  project: ProjectRef;
23
23
  invited_by: UserRef;
24
24
  }
25
- //# sourceMappingURL=transient-tokens.d.ts.map
@@ -111,4 +111,3 @@ export interface SignupPayload {
111
111
  signupData: SignupData;
112
112
  }
113
113
  export {};
114
- //# sourceMappingURL=user.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { ProjectRef } from "../project.js";
2
2
  export declare function getTenantId(accountId: string, projectId: string): string;
3
3
  export declare function getTenantIdFromProject(project: ProjectRef): string;
4
- //# sourceMappingURL=auth.d.ts.map
@@ -6,4 +6,3 @@ export declare function mergeJSONSchemas(schemas: JSONSchema[]): JSONSchema | nu
6
6
  export declare function _mergePromptsSchema(prompts: ExecutablePromptSegmentDef[]): JSONSchema4 | null;
7
7
  export declare function mergePromptsSchema(interaction: InteractionRefWithSchema | PopulatedInteraction): JSONSchema4 | null;
8
8
  export declare function mergeInCodePromptSchemas(prompts: InCodePrompt[]): JSONSchema | null;
9
- //# sourceMappingURL=schemas.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
2
2
  [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
3
3
  }[Keys];
4
- //# sourceMappingURL=type-helpers.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare enum ApiVersions {
2
2
  COMPLETION_RESULT_V1 = 20250925
3
3
  }
4
- //# sourceMappingURL=versions.d.ts.map