faros-airbyte-common 0.23.43-rc2 → 0.23.44

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.
@@ -219,6 +219,10 @@ export interface EnterpriseAiCreditUsage {
219
219
  product: string;
220
220
  sku: string;
221
221
  model: string;
222
+ organization?: string;
223
+ repository?: string;
224
+ unit_type?: string;
225
+ cost_center_name?: string;
222
226
  quantity?: number;
223
227
  gross_amount?: number;
224
228
  discount_amount?: number;
@@ -227,6 +231,10 @@ export interface EnterpriseAiCreditUsage {
227
231
  output?: number;
228
232
  cache_read?: number;
229
233
  cache_write?: number;
234
+ total_monthly_quota?: number;
235
+ applied_cost_per_quantity?: number;
236
+ aic_quantity?: number;
237
+ aic_gross_amount?: number;
230
238
  }
231
239
  export type CopilotUserUsageRecord = {
232
240
  ai_credits_used?: number;
@@ -432,6 +440,39 @@ export type EnterprisePremiumRequestUsage = {
432
440
  date: string;
433
441
  user: string;
434
442
  } & EnterprisePremiumRequestUsageResponse['usageItems'][number];
443
+ export interface EnterpriseBudget {
444
+ level: 'budget' | 'user_state';
445
+ enterprise: string;
446
+ observed_at: string;
447
+ id: string;
448
+ budget_type: string;
449
+ budget_product_sku: string;
450
+ budget_scope: string;
451
+ budget_entity_name?: string;
452
+ user?: string;
453
+ budget_amount: number;
454
+ consumed_amount?: number;
455
+ prevent_further_usage: boolean;
456
+ expires_at?: string;
457
+ target_amount?: number;
458
+ override_budget_id?: string;
459
+ }
460
+ export interface EnterpriseBillingUsage {
461
+ enterprise: string;
462
+ date: string;
463
+ product: string;
464
+ sku: string;
465
+ quantity: number;
466
+ unitType: string;
467
+ pricePerUnit: number;
468
+ grossAmount: number;
469
+ discountAmount: number;
470
+ netAmount: number;
471
+ organizationName?: string;
472
+ repositoryName?: string;
473
+ costCenterId?: string;
474
+ costCenterName?: string;
475
+ }
435
476
  export declare enum StatsType {
436
477
  MERGED_PRS_PER_MONTH = "merged_prs_per_month"
437
478
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AAiBtC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AA+oBvC,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,0DAA6C,CAAA;AAC/C,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AAiBtC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AA2rBvC,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,0DAA6C,CAAA;AAC/C,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}