@agent-finops/core 0.6.1 → 0.7.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.
@@ -53,9 +53,9 @@ export declare const activitySnapshotApiEquivalentWindowSchema: z.ZodObject<{
53
53
  missing: "missing";
54
54
  }>;
55
55
  coverage: z.ZodEnum<{
56
+ missing: "missing";
56
57
  complete: "complete";
57
58
  partial: "partial";
58
- missing: "missing";
59
59
  }>;
60
60
  }, z.core.$strict>;
61
61
  export type ActivitySnapshotApiEquivalentWindow = z.infer<typeof activitySnapshotApiEquivalentWindowSchema>;
@@ -64,13 +64,13 @@ export declare const activitySnapshotBilledWindowSchema: z.ZodObject<{
64
64
  recordCount: z.ZodNumber;
65
65
  basis: z.ZodLiteral<"provider_billed">;
66
66
  financialEvidence: z.ZodEnum<{
67
- missing: "missing";
68
67
  verified: "verified";
68
+ missing: "missing";
69
69
  }>;
70
70
  coverage: z.ZodEnum<{
71
+ missing: "missing";
71
72
  complete: "complete";
72
73
  partial: "partial";
73
- missing: "missing";
74
74
  }>;
75
75
  }, z.core.$strict>;
76
76
  export type ActivitySnapshotBilledWindow = z.infer<typeof activitySnapshotBilledWindowSchema>;
@@ -84,9 +84,9 @@ export declare const activitySnapshotApiEquivalentWindowsSchema: z.ZodObject<{
84
84
  missing: "missing";
85
85
  }>;
86
86
  coverage: z.ZodEnum<{
87
+ missing: "missing";
87
88
  complete: "complete";
88
89
  partial: "partial";
89
- missing: "missing";
90
90
  }>;
91
91
  }, z.core.$strict>;
92
92
  sevenDays: z.ZodObject<{
@@ -98,9 +98,9 @@ export declare const activitySnapshotApiEquivalentWindowsSchema: z.ZodObject<{
98
98
  missing: "missing";
99
99
  }>;
100
100
  coverage: z.ZodEnum<{
101
+ missing: "missing";
101
102
  complete: "complete";
102
103
  partial: "partial";
103
- missing: "missing";
104
104
  }>;
105
105
  }, z.core.$strict>;
106
106
  thirtyDays: z.ZodObject<{
@@ -112,9 +112,9 @@ export declare const activitySnapshotApiEquivalentWindowsSchema: z.ZodObject<{
112
112
  missing: "missing";
113
113
  }>;
114
114
  coverage: z.ZodEnum<{
115
+ missing: "missing";
115
116
  complete: "complete";
116
117
  partial: "partial";
117
- missing: "missing";
118
118
  }>;
119
119
  }, z.core.$strict>;
120
120
  }, z.core.$strict>;
@@ -125,13 +125,13 @@ export declare const activitySnapshotBilledWindowsSchema: z.ZodObject<{
125
125
  recordCount: z.ZodNumber;
126
126
  basis: z.ZodLiteral<"provider_billed">;
127
127
  financialEvidence: z.ZodEnum<{
128
- missing: "missing";
129
128
  verified: "verified";
129
+ missing: "missing";
130
130
  }>;
131
131
  coverage: z.ZodEnum<{
132
+ missing: "missing";
132
133
  complete: "complete";
133
134
  partial: "partial";
134
- missing: "missing";
135
135
  }>;
136
136
  }, z.core.$strict>;
137
137
  sevenDays: z.ZodObject<{
@@ -139,13 +139,13 @@ export declare const activitySnapshotBilledWindowsSchema: z.ZodObject<{
139
139
  recordCount: z.ZodNumber;
140
140
  basis: z.ZodLiteral<"provider_billed">;
141
141
  financialEvidence: z.ZodEnum<{
142
- missing: "missing";
143
142
  verified: "verified";
143
+ missing: "missing";
144
144
  }>;
145
145
  coverage: z.ZodEnum<{
146
+ missing: "missing";
146
147
  complete: "complete";
147
148
  partial: "partial";
148
- missing: "missing";
149
149
  }>;
150
150
  }, z.core.$strict>;
151
151
  thirtyDays: z.ZodObject<{
@@ -153,13 +153,13 @@ export declare const activitySnapshotBilledWindowsSchema: z.ZodObject<{
153
153
  recordCount: z.ZodNumber;
154
154
  basis: z.ZodLiteral<"provider_billed">;
155
155
  financialEvidence: z.ZodEnum<{
156
- missing: "missing";
157
156
  verified: "verified";
157
+ missing: "missing";
158
158
  }>;
159
159
  coverage: z.ZodEnum<{
160
+ missing: "missing";
160
161
  complete: "complete";
161
162
  partial: "partial";
162
- missing: "missing";
163
163
  }>;
164
164
  }, z.core.$strict>;
165
165
  }, z.core.$strict>;
@@ -183,9 +183,9 @@ export declare const activitySnapshotSubscriptionAgentSchema: z.ZodObject<{
183
183
  }>;
184
184
  billing: z.ZodLiteral<"subscription">;
185
185
  planId: z.ZodNullable<z.ZodEnum<{
186
- "claude-pro": "claude-pro";
187
- "claude-max-5x": "claude-max-5x";
188
186
  "claude-max-20x": "claude-max-20x";
187
+ "claude-max-5x": "claude-max-5x";
188
+ "claude-pro": "claude-pro";
189
189
  "chatgpt-plus": "chatgpt-plus";
190
190
  "chatgpt-pro": "chatgpt-pro";
191
191
  }>>;
@@ -199,9 +199,9 @@ export declare const activitySnapshotSubscriptionAgentSchema: z.ZodObject<{
199
199
  missing: "missing";
200
200
  }>;
201
201
  coverage: z.ZodEnum<{
202
+ missing: "missing";
202
203
  complete: "complete";
203
204
  partial: "partial";
204
- missing: "missing";
205
205
  }>;
206
206
  }, z.core.$strict>;
207
207
  sevenDays: z.ZodObject<{
@@ -213,9 +213,9 @@ export declare const activitySnapshotSubscriptionAgentSchema: z.ZodObject<{
213
213
  missing: "missing";
214
214
  }>;
215
215
  coverage: z.ZodEnum<{
216
+ missing: "missing";
216
217
  complete: "complete";
217
218
  partial: "partial";
218
- missing: "missing";
219
219
  }>;
220
220
  }, z.core.$strict>;
221
221
  thirtyDays: z.ZodObject<{
@@ -227,9 +227,9 @@ export declare const activitySnapshotSubscriptionAgentSchema: z.ZodObject<{
227
227
  missing: "missing";
228
228
  }>;
229
229
  coverage: z.ZodEnum<{
230
+ missing: "missing";
230
231
  complete: "complete";
231
232
  partial: "partial";
232
- missing: "missing";
233
233
  }>;
234
234
  }, z.core.$strict>;
235
235
  }, z.core.$strict>;
@@ -287,11 +287,11 @@ export declare const activitySnapshotCoverageSchema: z.ZodObject<{
287
287
  }, z.core.$strict>>;
288
288
  providers: z.ZodArray<z.ZodObject<{
289
289
  provider: z.ZodEnum<{
290
- openai: "openai";
291
290
  anthropic: "anthropic";
291
+ openai: "openai";
292
292
  cursor: "cursor";
293
- "github-copilot": "github-copilot";
294
293
  other: "other";
294
+ "github-copilot": "github-copilot";
295
295
  }>;
296
296
  status: z.ZodEnum<{
297
297
  error: "error";
@@ -315,9 +315,9 @@ export declare const activitySnapshotCoverageSchema: z.ZodObject<{
315
315
  recordsUnpriced: z.ZodNumber;
316
316
  validationStatus: z.ZodEnum<{
317
317
  complete: "complete";
318
- partial: "partial";
319
318
  failed: "failed";
320
319
  not_checked: "not_checked";
320
+ partial: "partial";
321
321
  }>;
322
322
  pricingAsOf: z.ZodString;
323
323
  networkUploaded: z.ZodLiteral<false>;
@@ -336,21 +336,21 @@ export declare const activitySnapshotSchema: z.ZodObject<{
336
336
  }, z.core.$strict>, z.ZodObject<{
337
337
  status: z.ZodLiteral<"error">;
338
338
  errorCode: z.ZodEnum<{
339
+ unknown: "unknown";
339
340
  scan_failed: "scan_failed";
340
341
  source_unreadable: "source_unreadable";
341
342
  invalid_evidence: "invalid_evidence";
342
343
  timeout: "timeout";
343
344
  cache_write_failed: "cache_write_failed";
344
- unknown: "unknown";
345
345
  }>;
346
346
  }, z.core.$strict>], "status">;
347
347
  mode: z.ZodEnum<{
348
- metered: "metered";
348
+ error: "error";
349
349
  subscription: "subscription";
350
+ metered: "metered";
350
351
  mixed: "mixed";
351
352
  unresolved: "unresolved";
352
353
  empty: "empty";
353
- error: "error";
354
354
  }>;
355
355
  subscription: z.ZodNullable<z.ZodObject<{
356
356
  agents: z.ZodArray<z.ZodObject<{
@@ -360,9 +360,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
360
360
  }>;
361
361
  billing: z.ZodLiteral<"subscription">;
362
362
  planId: z.ZodNullable<z.ZodEnum<{
363
- "claude-pro": "claude-pro";
364
- "claude-max-5x": "claude-max-5x";
365
363
  "claude-max-20x": "claude-max-20x";
364
+ "claude-max-5x": "claude-max-5x";
365
+ "claude-pro": "claude-pro";
366
366
  "chatgpt-plus": "chatgpt-plus";
367
367
  "chatgpt-pro": "chatgpt-pro";
368
368
  }>>;
@@ -376,9 +376,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
376
376
  missing: "missing";
377
377
  }>;
378
378
  coverage: z.ZodEnum<{
379
+ missing: "missing";
379
380
  complete: "complete";
380
381
  partial: "partial";
381
- missing: "missing";
382
382
  }>;
383
383
  }, z.core.$strict>;
384
384
  sevenDays: z.ZodObject<{
@@ -390,9 +390,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
390
390
  missing: "missing";
391
391
  }>;
392
392
  coverage: z.ZodEnum<{
393
+ missing: "missing";
393
394
  complete: "complete";
394
395
  partial: "partial";
395
- missing: "missing";
396
396
  }>;
397
397
  }, z.core.$strict>;
398
398
  thirtyDays: z.ZodObject<{
@@ -404,9 +404,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
404
404
  missing: "missing";
405
405
  }>;
406
406
  coverage: z.ZodEnum<{
407
+ missing: "missing";
407
408
  complete: "complete";
408
409
  partial: "partial";
409
- missing: "missing";
410
410
  }>;
411
411
  }, z.core.$strict>;
412
412
  }, z.core.$strict>;
@@ -434,9 +434,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
434
434
  }>;
435
435
  billing: z.ZodLiteral<"api_key">;
436
436
  planId: z.ZodNullable<z.ZodEnum<{
437
- "claude-pro": "claude-pro";
438
- "claude-max-5x": "claude-max-5x";
439
437
  "claude-max-20x": "claude-max-20x";
438
+ "claude-max-5x": "claude-max-5x";
439
+ "claude-pro": "claude-pro";
440
440
  "chatgpt-plus": "chatgpt-plus";
441
441
  "chatgpt-pro": "chatgpt-pro";
442
442
  }>>;
@@ -451,9 +451,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
451
451
  missing: "missing";
452
452
  }>;
453
453
  coverage: z.ZodEnum<{
454
+ missing: "missing";
454
455
  complete: "complete";
455
456
  partial: "partial";
456
- missing: "missing";
457
457
  }>;
458
458
  }, z.core.$strict>;
459
459
  sevenDays: z.ZodObject<{
@@ -465,9 +465,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
465
465
  missing: "missing";
466
466
  }>;
467
467
  coverage: z.ZodEnum<{
468
+ missing: "missing";
468
469
  complete: "complete";
469
470
  partial: "partial";
470
- missing: "missing";
471
471
  }>;
472
472
  }, z.core.$strict>;
473
473
  thirtyDays: z.ZodObject<{
@@ -479,9 +479,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
479
479
  missing: "missing";
480
480
  }>;
481
481
  coverage: z.ZodEnum<{
482
+ missing: "missing";
482
483
  complete: "complete";
483
484
  partial: "partial";
484
- missing: "missing";
485
485
  }>;
486
486
  }, z.core.$strict>;
487
487
  }, z.core.$strict>;
@@ -491,13 +491,13 @@ export declare const activitySnapshotSchema: z.ZodObject<{
491
491
  recordCount: z.ZodNumber;
492
492
  basis: z.ZodLiteral<"provider_billed">;
493
493
  financialEvidence: z.ZodEnum<{
494
- missing: "missing";
495
494
  verified: "verified";
495
+ missing: "missing";
496
496
  }>;
497
497
  coverage: z.ZodEnum<{
498
+ missing: "missing";
498
499
  complete: "complete";
499
500
  partial: "partial";
500
- missing: "missing";
501
501
  }>;
502
502
  }, z.core.$strict>;
503
503
  sevenDays: z.ZodObject<{
@@ -505,13 +505,13 @@ export declare const activitySnapshotSchema: z.ZodObject<{
505
505
  recordCount: z.ZodNumber;
506
506
  basis: z.ZodLiteral<"provider_billed">;
507
507
  financialEvidence: z.ZodEnum<{
508
- missing: "missing";
509
508
  verified: "verified";
509
+ missing: "missing";
510
510
  }>;
511
511
  coverage: z.ZodEnum<{
512
+ missing: "missing";
512
513
  complete: "complete";
513
514
  partial: "partial";
514
- missing: "missing";
515
515
  }>;
516
516
  }, z.core.$strict>;
517
517
  thirtyDays: z.ZodObject<{
@@ -519,13 +519,13 @@ export declare const activitySnapshotSchema: z.ZodObject<{
519
519
  recordCount: z.ZodNumber;
520
520
  basis: z.ZodLiteral<"provider_billed">;
521
521
  financialEvidence: z.ZodEnum<{
522
- missing: "missing";
523
522
  verified: "verified";
523
+ missing: "missing";
524
524
  }>;
525
525
  coverage: z.ZodEnum<{
526
+ missing: "missing";
526
527
  complete: "complete";
527
528
  partial: "partial";
528
- missing: "missing";
529
529
  }>;
530
530
  }, z.core.$strict>;
531
531
  }, z.core.$strict>;
@@ -538,9 +538,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
538
538
  }>;
539
539
  billing: z.ZodLiteral<"unknown">;
540
540
  planId: z.ZodNullable<z.ZodEnum<{
541
- "claude-pro": "claude-pro";
542
- "claude-max-5x": "claude-max-5x";
543
541
  "claude-max-20x": "claude-max-20x";
542
+ "claude-max-5x": "claude-max-5x";
543
+ "claude-pro": "claude-pro";
544
544
  "chatgpt-plus": "chatgpt-plus";
545
545
  "chatgpt-pro": "chatgpt-pro";
546
546
  }>>;
@@ -555,9 +555,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
555
555
  missing: "missing";
556
556
  }>;
557
557
  coverage: z.ZodEnum<{
558
+ missing: "missing";
558
559
  complete: "complete";
559
560
  partial: "partial";
560
- missing: "missing";
561
561
  }>;
562
562
  }, z.core.$strict>;
563
563
  sevenDays: z.ZodObject<{
@@ -569,9 +569,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
569
569
  missing: "missing";
570
570
  }>;
571
571
  coverage: z.ZodEnum<{
572
+ missing: "missing";
572
573
  complete: "complete";
573
574
  partial: "partial";
574
- missing: "missing";
575
575
  }>;
576
576
  }, z.core.$strict>;
577
577
  thirtyDays: z.ZodObject<{
@@ -583,9 +583,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
583
583
  missing: "missing";
584
584
  }>;
585
585
  coverage: z.ZodEnum<{
586
+ missing: "missing";
586
587
  complete: "complete";
587
588
  partial: "partial";
588
- missing: "missing";
589
589
  }>;
590
590
  }, z.core.$strict>;
591
591
  }, z.core.$strict>;
@@ -627,11 +627,11 @@ export declare const activitySnapshotSchema: z.ZodObject<{
627
627
  }, z.core.$strict>>;
628
628
  providers: z.ZodArray<z.ZodObject<{
629
629
  provider: z.ZodEnum<{
630
- openai: "openai";
631
630
  anthropic: "anthropic";
631
+ openai: "openai";
632
632
  cursor: "cursor";
633
- "github-copilot": "github-copilot";
634
633
  other: "other";
634
+ "github-copilot": "github-copilot";
635
635
  }>;
636
636
  status: z.ZodEnum<{
637
637
  error: "error";
@@ -655,9 +655,9 @@ export declare const activitySnapshotSchema: z.ZodObject<{
655
655
  recordsUnpriced: z.ZodNumber;
656
656
  validationStatus: z.ZodEnum<{
657
657
  complete: "complete";
658
- partial: "partial";
659
658
  failed: "failed";
660
659
  not_checked: "not_checked";
660
+ partial: "partial";
661
661
  }>;
662
662
  pricingAsOf: z.ZodString;
663
663
  networkUploaded: z.ZodLiteral<false>;