@fleettools/events 0.1.0 → 0.1.1

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.
@@ -40,8 +40,8 @@ export declare const MessageSentSchema: z.ZodObject<{
40
40
  ack_required?: boolean | undefined;
41
41
  }>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- id: string;
44
43
  type: "message_sent";
44
+ id: string;
45
45
  project_key: string;
46
46
  timestamp: string;
47
47
  sequence: number;
@@ -55,8 +55,8 @@ export declare const MessageSentSchema: z.ZodObject<{
55
55
  thread_id?: string | undefined;
56
56
  };
57
57
  }, {
58
- id: string;
59
58
  type: "message_sent";
59
+ id: string;
60
60
  project_key: string;
61
61
  timestamp: string;
62
62
  sequence: number;
@@ -94,8 +94,8 @@ export declare const MessageReadSchema: z.ZodObject<{
94
94
  read_at: string;
95
95
  }>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- id: string;
98
97
  type: "message_read";
98
+ id: string;
99
99
  project_key: string;
100
100
  timestamp: string;
101
101
  sequence: number;
@@ -105,8 +105,8 @@ export declare const MessageReadSchema: z.ZodObject<{
105
105
  read_at: string;
106
106
  };
107
107
  }, {
108
- id: string;
109
108
  type: "message_read";
109
+ id: string;
110
110
  project_key: string;
111
111
  timestamp: string;
112
112
  sequence: number;
@@ -143,8 +143,8 @@ export declare const MessageAcknowledgedSchema: z.ZodObject<{
143
143
  notes?: string | undefined;
144
144
  }>;
145
145
  }, "strip", z.ZodTypeAny, {
146
- id: string;
147
146
  type: "message_acknowledged";
147
+ id: string;
148
148
  project_key: string;
149
149
  timestamp: string;
150
150
  sequence: number;
@@ -155,8 +155,8 @@ export declare const MessageAcknowledgedSchema: z.ZodObject<{
155
155
  notes?: string | undefined;
156
156
  };
157
157
  }, {
158
- id: string;
159
158
  type: "message_acknowledged";
159
+ id: string;
160
160
  project_key: string;
161
161
  timestamp: string;
162
162
  sequence: number;
@@ -211,8 +211,8 @@ export declare const MessageUpdatedSchema: z.ZodObject<{
211
211
  }[];
212
212
  }>;
213
213
  }, "strip", z.ZodTypeAny, {
214
- id: string;
215
214
  type: "message_updated";
215
+ id: string;
216
216
  project_key: string;
217
217
  timestamp: string;
218
218
  sequence: number;
@@ -226,8 +226,8 @@ export declare const MessageUpdatedSchema: z.ZodObject<{
226
226
  }[];
227
227
  };
228
228
  }, {
229
- id: string;
230
229
  type: "message_updated";
230
+ id: string;
231
231
  project_key: string;
232
232
  timestamp: string;
233
233
  sequence: number;
@@ -265,8 +265,8 @@ export declare const MessageDeletedSchema: z.ZodObject<{
265
265
  reason?: string | undefined;
266
266
  }>;
267
267
  }, "strip", z.ZodTypeAny, {
268
- id: string;
269
268
  type: "message_deleted";
269
+ id: string;
270
270
  project_key: string;
271
271
  timestamp: string;
272
272
  sequence: number;
@@ -276,8 +276,8 @@ export declare const MessageDeletedSchema: z.ZodObject<{
276
276
  reason?: string | undefined;
277
277
  };
278
278
  }, {
279
- id: string;
280
279
  type: "message_deleted";
280
+ id: string;
281
281
  project_key: string;
282
282
  timestamp: string;
283
283
  sequence: number;
@@ -37,8 +37,8 @@ export declare const MissionCreatedSchema: z.ZodObject<{
37
37
  estimated_duration_hours?: number | undefined;
38
38
  }>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- id: string;
41
40
  type: "mission_created";
41
+ id: string;
42
42
  project_key: string;
43
43
  timestamp: string;
44
44
  sequence: number;
@@ -51,8 +51,8 @@ export declare const MissionCreatedSchema: z.ZodObject<{
51
51
  estimated_duration_hours?: number | undefined;
52
52
  };
53
53
  }, {
54
- id: string;
55
54
  type: "mission_created";
55
+ id: string;
56
56
  project_key: string;
57
57
  timestamp: string;
58
58
  sequence: number;
@@ -89,8 +89,8 @@ export declare const MissionStartedSchema: z.ZodObject<{
89
89
  started_at: string;
90
90
  }>;
91
91
  }, "strip", z.ZodTypeAny, {
92
- id: string;
93
92
  type: "mission_started";
93
+ id: string;
94
94
  project_key: string;
95
95
  timestamp: string;
96
96
  sequence: number;
@@ -100,8 +100,8 @@ export declare const MissionStartedSchema: z.ZodObject<{
100
100
  started_at: string;
101
101
  };
102
102
  }, {
103
- id: string;
104
103
  type: "mission_started";
104
+ id: string;
105
105
  project_key: string;
106
106
  timestamp: string;
107
107
  sequence: number;
@@ -144,8 +144,8 @@ export declare const MissionCompletedSchema: z.ZodObject<{
144
144
  metrics?: Record<string, number> | undefined;
145
145
  }>;
146
146
  }, "strip", z.ZodTypeAny, {
147
- id: string;
148
147
  type: "mission_completed";
148
+ id: string;
149
149
  project_key: string;
150
150
  timestamp: string;
151
151
  sequence: number;
@@ -158,8 +158,8 @@ export declare const MissionCompletedSchema: z.ZodObject<{
158
158
  metrics?: Record<string, number> | undefined;
159
159
  };
160
160
  }, {
161
- id: string;
162
161
  type: "mission_completed";
162
+ id: string;
163
163
  project_key: string;
164
164
  timestamp: string;
165
165
  sequence: number;
@@ -219,8 +219,8 @@ export declare const MissionUpdatedSchema: z.ZodObject<{
219
219
  updated_at: string;
220
220
  }>;
221
221
  }, "strip", z.ZodTypeAny, {
222
- id: string;
223
222
  type: "mission_updated";
223
+ id: string;
224
224
  project_key: string;
225
225
  timestamp: string;
226
226
  sequence: number;
@@ -235,8 +235,8 @@ export declare const MissionUpdatedSchema: z.ZodObject<{
235
235
  updated_at: string;
236
236
  };
237
237
  }, {
238
- id: string;
239
238
  type: "mission_updated";
239
+ id: string;
240
240
  project_key: string;
241
241
  timestamp: string;
242
242
  sequence: number;
@@ -31,8 +31,8 @@ export declare const PilotRegisteredSchema: z.ZodObject<{
31
31
  task_description?: string | undefined;
32
32
  }>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- id: string;
35
34
  type: "pilot_registered";
35
+ id: string;
36
36
  project_key: string;
37
37
  timestamp: string;
38
38
  sequence: number;
@@ -43,8 +43,8 @@ export declare const PilotRegisteredSchema: z.ZodObject<{
43
43
  task_description?: string | undefined;
44
44
  };
45
45
  }, {
46
- id: string;
47
46
  type: "pilot_registered";
47
+ id: string;
48
48
  project_key: string;
49
49
  timestamp: string;
50
50
  sequence: number;
@@ -79,8 +79,8 @@ export declare const PilotActiveSchema: z.ZodObject<{
79
79
  current_task?: string | undefined;
80
80
  }>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- id: string;
83
82
  type: "pilot_active";
83
+ id: string;
84
84
  project_key: string;
85
85
  timestamp: string;
86
86
  sequence: number;
@@ -90,8 +90,8 @@ export declare const PilotActiveSchema: z.ZodObject<{
90
90
  current_task?: string | undefined;
91
91
  };
92
92
  }, {
93
- id: string;
94
93
  type: "pilot_active";
94
+ id: string;
95
95
  project_key: string;
96
96
  timestamp: string;
97
97
  sequence: number;
@@ -125,8 +125,8 @@ export declare const PilotDeregisteredSchema: z.ZodObject<{
125
125
  final_status?: string | undefined;
126
126
  }>;
127
127
  }, "strip", z.ZodTypeAny, {
128
- id: string;
129
128
  type: "pilot_deregistered";
129
+ id: string;
130
130
  project_key: string;
131
131
  timestamp: string;
132
132
  sequence: number;
@@ -136,8 +136,8 @@ export declare const PilotDeregisteredSchema: z.ZodObject<{
136
136
  final_status?: string | undefined;
137
137
  };
138
138
  }, {
139
- id: string;
140
139
  type: "pilot_deregistered";
140
+ id: string;
141
141
  project_key: string;
142
142
  timestamp: string;
143
143
  sequence: number;
@@ -22,8 +22,8 @@ export declare const FileReservedSchema: z.ZodObject<{
22
22
  ttl_seconds: z.ZodOptional<z.ZodNumber>;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  callsign: string;
25
- exclusive: boolean;
26
25
  path_pattern: string;
26
+ exclusive: boolean;
27
27
  reason?: string | undefined;
28
28
  ttl_seconds?: number | undefined;
29
29
  }, {
@@ -34,21 +34,21 @@ export declare const FileReservedSchema: z.ZodObject<{
34
34
  ttl_seconds?: number | undefined;
35
35
  }>;
36
36
  }, "strip", z.ZodTypeAny, {
37
- id: string;
38
37
  type: "file_reserved";
38
+ id: string;
39
39
  project_key: string;
40
40
  timestamp: string;
41
41
  sequence: number;
42
42
  data: {
43
43
  callsign: string;
44
- exclusive: boolean;
45
44
  path_pattern: string;
45
+ exclusive: boolean;
46
46
  reason?: string | undefined;
47
47
  ttl_seconds?: number | undefined;
48
48
  };
49
49
  }, {
50
- id: string;
51
50
  type: "file_reserved";
51
+ id: string;
52
52
  project_key: string;
53
53
  timestamp: string;
54
54
  sequence: number;
@@ -87,8 +87,8 @@ export declare const FileReleasedSchema: z.ZodObject<{
87
87
  released_by?: string | undefined;
88
88
  }>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- id: string;
91
90
  type: "file_released";
91
+ id: string;
92
92
  project_key: string;
93
93
  timestamp: string;
94
94
  sequence: number;
@@ -99,8 +99,8 @@ export declare const FileReleasedSchema: z.ZodObject<{
99
99
  released_by?: string | undefined;
100
100
  };
101
101
  }, {
102
- id: string;
103
102
  type: "file_released";
103
+ id: string;
104
104
  project_key: string;
105
105
  timestamp: string;
106
106
  sequence: number;
@@ -141,8 +141,8 @@ export declare const FileConflictSchema: z.ZodObject<{
141
141
  resolved?: boolean | undefined;
142
142
  }>;
143
143
  }, "strip", z.ZodTypeAny, {
144
- id: string;
145
144
  type: "file_conflict";
145
+ id: string;
146
146
  project_key: string;
147
147
  timestamp: string;
148
148
  sequence: number;
@@ -154,8 +154,8 @@ export declare const FileConflictSchema: z.ZodObject<{
154
154
  resolved: boolean;
155
155
  };
156
156
  }, {
157
- id: string;
158
157
  type: "file_conflict";
158
+ id: string;
159
159
  project_key: string;
160
160
  timestamp: string;
161
161
  sequence: number;
@@ -43,8 +43,8 @@ export declare const SortieCreatedSchema: z.ZodObject<{
43
43
  estimated_hours?: number | undefined;
44
44
  }>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- id: string;
47
46
  type: "sortie_created";
47
+ id: string;
48
48
  project_key: string;
49
49
  timestamp: string;
50
50
  sequence: number;
@@ -59,8 +59,8 @@ export declare const SortieCreatedSchema: z.ZodObject<{
59
59
  estimated_hours?: number | undefined;
60
60
  };
61
61
  }, {
62
- id: string;
63
62
  type: "sortie_created";
63
+ id: string;
64
64
  project_key: string;
65
65
  timestamp: string;
66
66
  sequence: number;
@@ -99,8 +99,8 @@ export declare const SortieStartedSchema: z.ZodObject<{
99
99
  started_at: string;
100
100
  }>;
101
101
  }, "strip", z.ZodTypeAny, {
102
- id: string;
103
102
  type: "sortie_started";
103
+ id: string;
104
104
  project_key: string;
105
105
  timestamp: string;
106
106
  sequence: number;
@@ -110,8 +110,8 @@ export declare const SortieStartedSchema: z.ZodObject<{
110
110
  started_at: string;
111
111
  };
112
112
  }, {
113
- id: string;
114
113
  type: "sortie_started";
114
+ id: string;
115
115
  project_key: string;
116
116
  timestamp: string;
117
117
  sequence: number;
@@ -151,8 +151,8 @@ export declare const SortieCompletedSchema: z.ZodObject<{
151
151
  notes?: string | undefined;
152
152
  }>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- id: string;
155
154
  type: "sortie_completed";
155
+ id: string;
156
156
  project_key: string;
157
157
  timestamp: string;
158
158
  sequence: number;
@@ -164,8 +164,8 @@ export declare const SortieCompletedSchema: z.ZodObject<{
164
164
  notes?: string | undefined;
165
165
  };
166
166
  }, {
167
- id: string;
168
167
  type: "sortie_completed";
168
+ id: string;
169
169
  project_key: string;
170
170
  timestamp: string;
171
171
  sequence: number;
@@ -207,8 +207,8 @@ export declare const SortieBlockedSchema: z.ZodObject<{
207
207
  blocked_by_callsign?: string | undefined;
208
208
  }>;
209
209
  }, "strip", z.ZodTypeAny, {
210
- id: string;
211
210
  type: "sortie_blocked";
211
+ id: string;
212
212
  project_key: string;
213
213
  timestamp: string;
214
214
  sequence: number;
@@ -220,8 +220,8 @@ export declare const SortieBlockedSchema: z.ZodObject<{
220
220
  blocked_by_callsign?: string | undefined;
221
221
  };
222
222
  }, {
223
- id: string;
224
223
  type: "sortie_blocked";
224
+ id: string;
225
225
  project_key: string;
226
226
  timestamp: string;
227
227
  sequence: number;
@@ -260,8 +260,8 @@ export declare const SortieResumedSchema: z.ZodObject<{
260
260
  previous_state: string;
261
261
  }>;
262
262
  }, "strip", z.ZodTypeAny, {
263
- id: string;
264
263
  type: "sortie_resumed";
264
+ id: string;
265
265
  project_key: string;
266
266
  timestamp: string;
267
267
  sequence: number;
@@ -272,8 +272,8 @@ export declare const SortieResumedSchema: z.ZodObject<{
272
272
  previous_state: string;
273
273
  };
274
274
  }, {
275
- id: string;
276
275
  type: "sortie_resumed";
276
+ id: string;
277
277
  project_key: string;
278
278
  timestamp: string;
279
279
  sequence: number;
@@ -331,8 +331,8 @@ export declare const SortieUpdatedSchema: z.ZodObject<{
331
331
  updated_at: string;
332
332
  }>;
333
333
  }, "strip", z.ZodTypeAny, {
334
- id: string;
335
334
  type: "sortie_updated";
335
+ id: string;
336
336
  project_key: string;
337
337
  timestamp: string;
338
338
  sequence: number;
@@ -347,8 +347,8 @@ export declare const SortieUpdatedSchema: z.ZodObject<{
347
347
  updated_at: string;
348
348
  };
349
349
  }, {
350
- id: string;
351
350
  type: "sortie_updated";
351
+ id: string;
352
352
  project_key: string;
353
353
  timestamp: string;
354
354
  sequence: number;