@agentuity/core 1.0.29 → 1.0.30

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.
@@ -1,85 +1,498 @@
1
1
  import { FetchAdapter } from './adapter.ts';
2
+ /**
3
+ * A scheduled job that fires at intervals defined by a cron expression.
4
+ *
5
+ * Schedules are the top-level resource. Each schedule has one or more
6
+ * {@link ScheduleDestination | destinations} that receive HTTP callbacks
7
+ * when the schedule fires.
8
+ */
2
9
  export interface Schedule {
10
+ /**
11
+ * Unique identifier for the schedule.
12
+ *
13
+ * @remarks Prefixed with `sch_`.
14
+ */
3
15
  id: string;
16
+ /**
17
+ * ISO 8601 timestamp when the schedule was created.
18
+ */
4
19
  created_at: string;
20
+ /**
21
+ * ISO 8601 timestamp when the schedule was last modified.
22
+ */
5
23
  updated_at: string;
24
+ /**
25
+ * ID of the user who created the schedule.
26
+ */
6
27
  created_by: string;
28
+ /**
29
+ * Human-readable name for the schedule.
30
+ */
7
31
  name: string;
32
+ /**
33
+ * Optional description of the schedule's purpose.
34
+ */
8
35
  description: string | null;
36
+ /**
37
+ * A cron expression defining the schedule's firing interval
38
+ * (e.g., `'0 9 * * 1-5'` for weekdays at 9 AM).
39
+ *
40
+ * @remarks Validated on creation and update by the server.
41
+ * Supports standard five-field cron syntax including step values (e.g., every 5 minutes).
42
+ */
9
43
  expression: string;
44
+ /**
45
+ * ISO 8601 timestamp of the next scheduled execution.
46
+ *
47
+ * @remarks Automatically computed from the cron expression. Updated each time
48
+ * the schedule fires or the expression is changed.
49
+ */
10
50
  due_date: string;
11
51
  }
52
+ /**
53
+ * A delivery target for a scheduled job.
54
+ *
55
+ * When the schedule fires, an HTTP request is sent to each of its destinations.
56
+ */
12
57
  export interface ScheduleDestination {
58
+ /**
59
+ * Unique identifier for the destination.
60
+ *
61
+ * @remarks Prefixed with `sdst_`.
62
+ */
13
63
  id: string;
64
+ /**
65
+ * The ID of the parent schedule.
66
+ */
14
67
  schedule_id: string;
68
+ /**
69
+ * ISO 8601 timestamp when the destination was created.
70
+ */
15
71
  created_at: string;
72
+ /**
73
+ * ISO 8601 timestamp when the destination was last updated.
74
+ */
16
75
  updated_at: string;
76
+ /**
77
+ * ID of the user who created the destination.
78
+ */
17
79
  created_by: string;
80
+ /**
81
+ * The destination type: `'url'` for HTTP endpoints or `'sandbox'` for Agentuity sandbox execution.
82
+ */
18
83
  type: 'url' | 'sandbox';
84
+ /**
85
+ * Type-specific destination configuration.
86
+ *
87
+ * @remarks
88
+ * For `'url'` type:
89
+ * ```typescript
90
+ * { url: string; headers?: Record<string, string>; method?: string }
91
+ * ```
92
+ * For `'sandbox'` type: sandbox-specific configuration.
93
+ */
19
94
  config: Record<string, unknown>;
20
95
  }
96
+ /**
97
+ * A record of a single delivery attempt for a scheduled execution.
98
+ *
99
+ * Each time a schedule fires, one delivery record is created per destination.
100
+ * Failed deliveries may be retried automatically.
101
+ */
21
102
  export interface ScheduleDelivery {
103
+ /**
104
+ * Unique identifier for the delivery attempt.
105
+ */
22
106
  id: string;
107
+ /**
108
+ * ISO 8601 timestamp when the delivery was attempted.
109
+ */
23
110
  date: string;
111
+ /**
112
+ * The ID of the schedule that triggered this delivery.
113
+ */
24
114
  schedule_id: string;
115
+ /**
116
+ * The ID of the destination this delivery was sent to.
117
+ */
25
118
  schedule_destination_id: string;
119
+ /**
120
+ * Delivery status: `'pending'` (queued), `'success'` (delivered), or `'failed'` (delivery error).
121
+ */
26
122
  status: 'pending' | 'success' | 'failed';
123
+ /**
124
+ * Number of retry attempts made for this delivery.
125
+ */
27
126
  retries: number;
127
+ /**
128
+ * Error message if the delivery failed, `null` on success.
129
+ */
28
130
  error: string | null;
131
+ /**
132
+ * The response received from the destination, or `null` if no response.
133
+ */
29
134
  response: Record<string, unknown> | null;
30
135
  }
136
+ /**
137
+ * Parameters for creating a new schedule.
138
+ */
31
139
  export interface CreateScheduleParams {
140
+ /**
141
+ * Human-readable name for the schedule.
142
+ */
32
143
  name: string;
144
+ /**
145
+ * Optional description of the schedule's purpose.
146
+ */
33
147
  description?: string;
148
+ /**
149
+ * Cron expression defining when the schedule fires
150
+ * (e.g., `'0 * * * *'` for every hour).
151
+ *
152
+ * @remarks Must be a valid cron expression. Validated by the server on creation.
153
+ * Supports standard five-field cron syntax including step values.
154
+ */
34
155
  expression: string;
156
+ /**
157
+ * Optional array of destinations to create alongside the schedule.
158
+ *
159
+ * @remarks Destinations are created atomically with the schedule — if any destination
160
+ * fails validation, the entire creation is rolled back.
161
+ */
35
162
  destinations?: CreateScheduleDestinationParams[];
36
163
  }
164
+ /**
165
+ * Parameters for creating a new destination on a schedule.
166
+ */
37
167
  export interface CreateScheduleDestinationParams {
168
+ /**
169
+ * The destination type: `'url'` for HTTP endpoints or `'sandbox'` for Agentuity sandbox execution.
170
+ */
38
171
  type: 'url' | 'sandbox';
172
+ /**
173
+ * Type-specific destination configuration.
174
+ *
175
+ * @remarks
176
+ * For `'url'` type:
177
+ * ```typescript
178
+ * { url: string; headers?: Record<string, string>; method?: string }
179
+ * ```
180
+ * For `'sandbox'` type: sandbox-specific configuration.
181
+ */
39
182
  config: Record<string, unknown>;
40
183
  }
184
+ /**
185
+ * Parameters for updating an existing schedule.
186
+ *
187
+ * All fields are optional; only provided fields are updated.
188
+ */
41
189
  export interface UpdateScheduleParams {
190
+ /**
191
+ * Updated human-readable name for the schedule.
192
+ */
42
193
  name?: string;
194
+ /**
195
+ * Updated description.
196
+ */
43
197
  description?: string;
198
+ /**
199
+ * Updated cron expression. If changed, the `due_date` is automatically recomputed.
200
+ *
201
+ * @remarks Must be a valid cron expression. Validated by the server on update.
202
+ */
44
203
  expression?: string;
45
204
  }
205
+ /**
206
+ * Paginated list of schedules.
207
+ */
46
208
  export interface ScheduleListResult {
209
+ /**
210
+ * Array of schedule records for the current page.
211
+ */
47
212
  schedules: Schedule[];
213
+ /**
214
+ * Total number of schedules across all pages.
215
+ */
48
216
  total: number;
49
217
  }
218
+ /**
219
+ * A schedule with its associated destinations.
220
+ */
50
221
  export interface ScheduleGetResult {
222
+ /**
223
+ * The schedule record.
224
+ */
51
225
  schedule: Schedule;
226
+ /**
227
+ * Array of destinations configured for this schedule.
228
+ */
52
229
  destinations: ScheduleDestination[];
53
230
  }
231
+ /**
232
+ * Result of creating a schedule, including any destinations created atomically.
233
+ */
54
234
  export interface ScheduleCreateResult {
235
+ /**
236
+ * The newly created schedule record.
237
+ */
55
238
  schedule: Schedule;
239
+ /**
240
+ * Array of destinations that were created alongside the schedule.
241
+ */
56
242
  destinations: ScheduleDestination[];
57
243
  }
244
+ /**
245
+ * List of delivery attempts for a schedule.
246
+ */
58
247
  export interface ScheduleDeliveryListResult {
248
+ /**
249
+ * Array of delivery attempt records.
250
+ */
59
251
  deliveries: ScheduleDelivery[];
60
252
  }
253
+ /**
254
+ * Client for the Agentuity Schedule service.
255
+ *
256
+ * Provides methods for creating, managing, and monitoring cron-based scheduled jobs.
257
+ * Schedules fire at intervals defined by cron expressions and deliver HTTP requests
258
+ * to configured destinations (URLs or sandboxes).
259
+ *
260
+ * The service supports:
261
+ * - CRUD operations on schedules and their destinations
262
+ * - Cron expression validation
263
+ * - Delivery history and monitoring
264
+ * - Automatic due date computation from cron expressions
265
+ *
266
+ * All methods are instrumented with OpenTelemetry spans for observability.
267
+ *
268
+ * @example
269
+ * ```typescript
270
+ * const schedules = new ScheduleService(baseUrl, adapter);
271
+ *
272
+ * // Create a schedule that fires every hour
273
+ * const result = await schedules.create({
274
+ * name: 'Hourly Sync',
275
+ * expression: '0 * * * *',
276
+ * destinations: [{ type: 'url', config: { url: 'https://example.com/sync' } }],
277
+ * });
278
+ *
279
+ * // List all schedules
280
+ * const { schedules: list, total } = await schedules.list();
281
+ * ```
282
+ */
61
283
  export declare class ScheduleService {
62
284
  #private;
285
+ /**
286
+ * Create a new ScheduleService instance.
287
+ *
288
+ * @param baseUrl - The base URL for the Agentuity Schedule API (e.g., `https://api.agentuity.com`)
289
+ * @param adapter - The HTTP fetch adapter used for making API requests
290
+ */
63
291
  constructor(baseUrl: string, adapter: FetchAdapter);
292
+ /**
293
+ * Create a new schedule with optional destinations.
294
+ *
295
+ * The schedule and its destinations are created atomically — if any validation
296
+ * fails, the entire operation is rolled back.
297
+ *
298
+ * @param params - The schedule creation parameters including name, cron expression, and optional destinations
299
+ * @returns The created schedule and its destinations
300
+ * @throws ServiceException on API errors (e.g., invalid cron expression, invalid destination URL)
301
+ *
302
+ * @example
303
+ * ```typescript
304
+ * const result = await schedules.create({
305
+ * name: 'Daily Report',
306
+ * description: 'Generate and send daily reports',
307
+ * expression: '0 9 * * *',
308
+ * destinations: [
309
+ * { type: 'url', config: { url: 'https://example.com/reports' } },
310
+ * ],
311
+ * });
312
+ * console.log('Created schedule:', result.schedule.id);
313
+ * console.log('Next run:', result.schedule.due_date);
314
+ * ```
315
+ */
64
316
  create(params: CreateScheduleParams): Promise<ScheduleCreateResult>;
317
+ /**
318
+ * List all schedules with optional pagination.
319
+ *
320
+ * @param params - Optional pagination parameters
321
+ * @param params.limit - Maximum number of schedules to return (max 500)
322
+ * @param params.offset - Number of schedules to skip for pagination
323
+ * @returns A paginated list of schedules with the total count
324
+ * @throws ServiceException on API errors
325
+ *
326
+ * @example
327
+ * ```typescript
328
+ * // List first page
329
+ * const { schedules, total } = await service.list({ limit: 20 });
330
+ * console.log(`Showing ${schedules.length} of ${total} schedules`);
331
+ *
332
+ * // Paginate through all schedules
333
+ * const page2 = await service.list({ limit: 20, offset: 20 });
334
+ * ```
335
+ */
65
336
  list(params?: {
66
337
  limit?: number;
67
338
  offset?: number;
68
339
  }): Promise<ScheduleListResult>;
340
+ /**
341
+ * Get a schedule by its ID, including all configured destinations.
342
+ *
343
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
344
+ * @returns The schedule record and its array of destinations
345
+ * @throws ServiceException on API errors (including 404 if not found)
346
+ *
347
+ * @example
348
+ * ```typescript
349
+ * const { schedule, destinations } = await service.get('sch_abc123');
350
+ * console.log('Schedule:', schedule.name);
351
+ * console.log('Next run:', schedule.due_date);
352
+ * console.log('Destinations:', destinations.length);
353
+ * ```
354
+ */
69
355
  get(scheduleId: string): Promise<ScheduleGetResult>;
356
+ /**
357
+ * Update an existing schedule. Only the provided fields are modified.
358
+ *
359
+ * @remarks If the `expression` field is changed, the `due_date` is automatically
360
+ * recomputed based on the new cron expression.
361
+ *
362
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
363
+ * @param params - The fields to update (all optional)
364
+ * @returns The updated schedule record
365
+ * @throws ServiceException on API errors (e.g., invalid cron expression, schedule not found)
366
+ *
367
+ * @example
368
+ * ```typescript
369
+ * // Update the name and expression
370
+ * const { schedule } = await service.update('sch_abc123', {
371
+ * name: 'Daily Midnight Sync',
372
+ * expression: '0 0 * * *',
373
+ * });
374
+ * console.log('Updated. Next run:', schedule.due_date);
375
+ * ```
376
+ */
70
377
  update(scheduleId: string, params: UpdateScheduleParams): Promise<{
71
378
  schedule: Schedule;
72
379
  }>;
380
+ /**
381
+ * Delete a schedule and all of its destinations and delivery history.
382
+ *
383
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
384
+ * @throws ServiceException on API errors (e.g., schedule not found)
385
+ *
386
+ * @example
387
+ * ```typescript
388
+ * await service.delete('sch_abc123');
389
+ * console.log('Schedule deleted');
390
+ * ```
391
+ */
73
392
  delete(scheduleId: string): Promise<void>;
393
+ /**
394
+ * Create a new destination on an existing schedule.
395
+ *
396
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
397
+ * @param params - The destination configuration including type and type-specific config
398
+ * @returns The newly created destination record
399
+ * @throws ServiceException on API errors (e.g., invalid URL, schedule not found)
400
+ *
401
+ * @example
402
+ * ```typescript
403
+ * const { destination } = await service.createDestination('sch_abc123', {
404
+ * type: 'url',
405
+ * config: {
406
+ * url: 'https://example.com/webhook',
407
+ * headers: { 'Authorization': 'Bearer token' },
408
+ * },
409
+ * });
410
+ * console.log('Destination created:', destination.id);
411
+ * ```
412
+ */
74
413
  createDestination(scheduleId: string, params: CreateScheduleDestinationParams): Promise<{
75
414
  destination: ScheduleDestination;
76
415
  }>;
416
+ /**
417
+ * Delete a destination from a schedule.
418
+ *
419
+ * @param destinationId - The destination ID (prefixed with `sdst_`)
420
+ * @throws ServiceException on API errors (e.g., destination not found)
421
+ *
422
+ * @example
423
+ * ```typescript
424
+ * await service.deleteDestination('sdst_xyz789');
425
+ * console.log('Destination removed');
426
+ * ```
427
+ */
77
428
  deleteDestination(destinationId: string): Promise<void>;
429
+ /**
430
+ * List delivery attempts for a schedule with optional pagination.
431
+ *
432
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
433
+ * @param params - Optional pagination parameters
434
+ * @param params.limit - Maximum number of deliveries to return
435
+ * @param params.offset - Number of deliveries to skip for pagination
436
+ * @returns A list of delivery attempt records
437
+ * @throws ServiceException on API errors (including 404 if schedule not found)
438
+ *
439
+ * @example
440
+ * ```typescript
441
+ * const { deliveries } = await service.listDeliveries('sch_abc123');
442
+ * for (const d of deliveries) {
443
+ * console.log(`${d.date}: ${d.status} (retries: ${d.retries})`);
444
+ * if (d.error) {
445
+ * console.error(' Error:', d.error);
446
+ * }
447
+ * }
448
+ * ```
449
+ */
78
450
  listDeliveries(scheduleId: string, params?: {
79
451
  limit?: number;
80
452
  offset?: number;
81
453
  }): Promise<ScheduleDeliveryListResult>;
454
+ /**
455
+ * Get a specific destination for a schedule by its ID.
456
+ *
457
+ * @remarks This is a convenience method that fetches the schedule and filters
458
+ * its destinations client-side. For large destination lists, prefer using
459
+ * {@link get} directly.
460
+ *
461
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
462
+ * @param destinationId - The destination ID (prefixed with `sdst_`)
463
+ * @returns The matching destination record
464
+ * @throws Error if the destination is not found within the schedule
465
+ * @throws ServiceException on API errors when fetching the schedule
466
+ *
467
+ * @example
468
+ * ```typescript
469
+ * const dest = await service.getDestination('sch_abc123', 'sdst_xyz789');
470
+ * console.log('Destination type:', dest.type);
471
+ * console.log('Config:', dest.config);
472
+ * ```
473
+ */
82
474
  getDestination(scheduleId: string, destinationId: string): Promise<ScheduleDestination>;
475
+ /**
476
+ * Get a specific delivery record by its ID.
477
+ *
478
+ * @remarks This is a convenience method that lists deliveries and filters
479
+ * client-side. Use the optional `params` to control the search window if
480
+ * the delivery may not be in the first page of results.
481
+ *
482
+ * @param scheduleId - The schedule ID (prefixed with `sch_`)
483
+ * @param deliveryId - The delivery ID to find
484
+ * @param params - Optional pagination parameters to control the search window
485
+ * @returns The matching delivery record
486
+ * @throws Error if the delivery is not found in the result set
487
+ * @throws ServiceException on API errors when listing deliveries
488
+ *
489
+ * @example
490
+ * ```typescript
491
+ * const delivery = await service.getDelivery('sch_abc123', 'del_xyz789');
492
+ * console.log('Status:', delivery.status);
493
+ * console.log('Retries:', delivery.retries);
494
+ * ```
495
+ */
83
496
  getDelivery(scheduleId: string, deliveryId: string, params?: {
84
497
  limit?: number;
85
498
  offset?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../src/services/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5C,MAAM,WAAW,QAAQ;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,KAAK,GAAG,SAAS,CAAC;IACxB,MAAM,EAAE,MAAM,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