@oxyhq/contracts 0.27.0 → 0.29.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.
Files changed (34) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/index.js +44 -1
  3. package/dist/cjs/inference/accountBilling.js +334 -0
  4. package/dist/cjs/inference/attribution.js +9 -4
  5. package/dist/cjs/inference/entitlement.js +217 -0
  6. package/dist/cjs/inference/errors.js +123 -9
  7. package/dist/cjs/inference/identifiers.js +11 -3
  8. package/dist/cjs/inference/money.js +43 -0
  9. package/dist/cjs/inference/streamEvents.js +11 -1
  10. package/dist/cjs/inference/usage.js +6 -0
  11. package/dist/cjs/inference/version.js +38 -3
  12. package/dist/esm/.tsbuildinfo +1 -1
  13. package/dist/esm/index.js +9 -0
  14. package/dist/esm/inference/accountBilling.js +331 -0
  15. package/dist/esm/inference/attribution.js +9 -4
  16. package/dist/esm/inference/entitlement.js +214 -0
  17. package/dist/esm/inference/errors.js +123 -9
  18. package/dist/esm/inference/identifiers.js +11 -3
  19. package/dist/esm/inference/money.js +43 -0
  20. package/dist/esm/inference/streamEvents.js +11 -1
  21. package/dist/esm/inference/usage.js +6 -0
  22. package/dist/esm/inference/version.js +38 -3
  23. package/dist/types/.tsbuildinfo +1 -1
  24. package/dist/types/index.d.ts +4 -0
  25. package/dist/types/inference/accountBilling.d.ts +738 -0
  26. package/dist/types/inference/attribution.d.ts +9 -4
  27. package/dist/types/inference/entitlement.d.ts +519 -0
  28. package/dist/types/inference/errors.d.ts +59 -10
  29. package/dist/types/inference/identifiers.d.ts +11 -3
  30. package/dist/types/inference/money.d.ts +43 -0
  31. package/dist/types/inference/streamEvents.d.ts +31 -22
  32. package/dist/types/inference/usage.d.ts +6 -0
  33. package/dist/types/inference/version.d.ts +38 -3
  34. package/package.json +1 -1
@@ -83,3 +83,7 @@ export { usageReservationRequestSchema, usageReservationStatusSchema, usageReser
83
83
  export type { UsageReservationRequest, UsageReservationStatus, UsageReservation, InferenceRequestOutcome, NormalizedUsageReport, UsageReceipt, UsageRefundSubject, UsageRefundReason, UsageRefund, } from './inference/usage';
84
84
  export { providerConnectionScopeSchema, providerSecretReferenceSchema, providerConnectionValidationSchema, providerConnectionStatusSchema, providerConnectionSchema, } from './inference/providerConnection';
85
85
  export type { ProviderConnectionScope, ProviderConnectionValidation, ProviderConnectionStatus, ProviderConnection, } from './inference/providerConnection';
86
+ export { BILLING_MODES, billingModeSchema, BILLING_PROFILE_STATUSES, billingProfileStatusSchema, autoRechargeSchema, billingProfileSchema, accountBillingStateSchema, BILLING_INVOICE_STATUSES, billingInvoiceStatusSchema, billingInvoiceSchema, EXTERNAL_PAYMENT_PROVIDERS, externalPaymentProviderSchema, EXTERNAL_PAYMENT_KINDS, externalPaymentKindSchema, externalPaymentSchema, AUTO_RECHARGE_STATUSES, autoRechargeStatusSchema, autoRechargeAttemptSchema, RECONCILIATION_DISCREPANCY_KINDS, reconciliationDiscrepancyKindSchema, RECONCILIATION_RUN_STATUSES, reconciliationRunStatusSchema, reconciliationDiscrepancySchema, reconciliationRunSchema, reconciliationReportSchema, } from './inference/accountBilling';
87
+ export type { BillingMode, BillingProfileStatus, AutoRecharge, BillingProfile, AccountBillingState, BillingInvoiceStatus, BillingInvoice, ExternalPaymentProvider, ExternalPaymentKind, ExternalPayment, AutoRechargeStatus, AutoRechargeAttempt, ReconciliationDiscrepancyKind, ReconciliationRunStatus, ReconciliationDiscrepancy, ReconciliationRun, ReconciliationReport, } from './inference/accountBilling';
88
+ export { PRODUCT_PLAN_STATUSES, productPlanStatusSchema, LIVE_PRODUCT_PLAN_STATUSES, planAllowanceSchema, productPlanSchema, payAsYouGoEntitlementSchema, COST_CENTER_STATUSES, costCenterStatusSchema, costCenterSchema, costCenterSpendSchema, productEntitlementSchema, } from './inference/entitlement';
89
+ export type { ProductPlanStatus, PlanAllowance, ProductPlan, PayAsYouGoEntitlement, CostCenterStatus, CostCenter, CostCenterSpend, ProductEntitlement, } from './inference/entitlement';