@kortyx/telemetry-contracts 0.5.0 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.5.0...telemetry-contracts-v0.6.0) (2026-09-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * **studio:** add manual and scheduled updates through a release CDN ([#181](https://github.com/kortyx-io/kortyx/issues/181)) ([af1fde3](https://github.com/kortyx-io/kortyx/commit/af1fde351642f3bf8e240ff41f5c7f9ad88584de))
9
+
3
10
  ## [0.5.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.4.0...telemetry-contracts-v0.5.0) (2026-09-11)
4
11
 
5
12
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,88 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const StudioReleaseVersionSchema: z.ZodString;
4
+ declare const StudioReleaseSchema: z.ZodObject<{
5
+ format: z.ZodLiteral<1>;
6
+ installer: z.ZodLiteral<1>;
7
+ version: z.ZodString;
8
+ api: z.ZodString;
9
+ studio: z.ZodString;
10
+ }, z.core.$strip>;
11
+ type StudioRelease = z.infer<typeof StudioReleaseSchema>;
12
+ declare const StudioUpdateSettingsSchema: z.ZodObject<{
13
+ automatic: z.ZodBoolean;
14
+ hourUtc: z.ZodNumber;
15
+ }, z.core.$strip>;
16
+ type StudioUpdateSettings = z.infer<typeof StudioUpdateSettingsSchema>;
17
+ declare const StudioUpdateOperationSchema: z.ZodObject<{
18
+ id: z.ZodUUID;
19
+ from: z.ZodString;
20
+ release: z.ZodObject<{
21
+ format: z.ZodLiteral<1>;
22
+ installer: z.ZodLiteral<1>;
23
+ version: z.ZodString;
24
+ api: z.ZodString;
25
+ studio: z.ZodString;
26
+ }, z.core.$strip>;
27
+ phase: z.ZodEnum<{
28
+ failed: "failed";
29
+ succeeded: "succeeded";
30
+ starting: "starting";
31
+ pulling: "pulling";
32
+ backup: "backup";
33
+ installing: "installing";
34
+ verifying: "verifying";
35
+ }>;
36
+ startedAt: z.ZodISODateTime;
37
+ updatedAt: z.ZodISODateTime;
38
+ backup: z.ZodNullable<z.ZodString>;
39
+ messages: z.ZodArray<z.ZodString>;
40
+ }, z.core.$strip>;
41
+ type StudioUpdateOperation = z.infer<typeof StudioUpdateOperationSchema>;
42
+ declare const StudioUpdateStatusSchema: z.ZodObject<{
43
+ current: z.ZodNullable<z.ZodString>;
44
+ available: z.ZodNullable<z.ZodObject<{
45
+ format: z.ZodLiteral<1>;
46
+ installer: z.ZodLiteral<1>;
47
+ version: z.ZodString;
48
+ api: z.ZodString;
49
+ studio: z.ZodString;
50
+ }, z.core.$strip>>;
51
+ checkedAt: z.ZodNullable<z.ZodISODateTime>;
52
+ checkError: z.ZodNullable<z.ZodString>;
53
+ settings: z.ZodObject<{
54
+ automatic: z.ZodBoolean;
55
+ hourUtc: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ operation: z.ZodNullable<z.ZodObject<{
58
+ id: z.ZodUUID;
59
+ from: z.ZodString;
60
+ release: z.ZodObject<{
61
+ format: z.ZodLiteral<1>;
62
+ installer: z.ZodLiteral<1>;
63
+ version: z.ZodString;
64
+ api: z.ZodString;
65
+ studio: z.ZodString;
66
+ }, z.core.$strip>;
67
+ phase: z.ZodEnum<{
68
+ failed: "failed";
69
+ succeeded: "succeeded";
70
+ starting: "starting";
71
+ pulling: "pulling";
72
+ backup: "backup";
73
+ installing: "installing";
74
+ verifying: "verifying";
75
+ }>;
76
+ startedAt: z.ZodISODateTime;
77
+ updatedAt: z.ZodISODateTime;
78
+ backup: z.ZodNullable<z.ZodString>;
79
+ messages: z.ZodArray<z.ZodString>;
80
+ }, z.core.$strip>>;
81
+ }, z.core.$strip>;
82
+ type StudioUpdateStatus = z.infer<typeof StudioUpdateStatusSchema>;
83
+ declare function newerStudioVersion(candidate: string, current: string): boolean;
84
+ declare function studioUpdateRunning(operation: StudioUpdateOperation | null): boolean;
85
+
3
86
  type StudioWorkflowCall = {
4
87
  id: string;
5
88
  invocationId: string;
@@ -2036,4 +2119,4 @@ type StudioWorkflowsResponse = z.infer<typeof StudioWorkflowsResponseSchema>;
2036
2119
  type StudioCatalogsResponse = z.infer<typeof StudioCatalogsResponseSchema>;
2037
2120
  type StudioContextResponse = z.infer<typeof StudioContextResponseSchema>;
2038
2121
 
2039
- export { type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange };
2122
+ export { type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioRelease, StudioReleaseSchema, StudioReleaseVersionSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioUpdateOperation, StudioUpdateOperationSchema, type StudioUpdateSettings, StudioUpdateSettingsSchema, type StudioUpdateStatus, StudioUpdateStatusSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, newerStudioVersion, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning };