File size: 2,676 Bytes
1477a90 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
import { Client } from '../core.js'
import { Events } from './events.js'
import { Meters } from './meters.js'
import { Customers } from './customers.js'
import { Entitlements } from './entitlements.js'
import { Subscriptions } from './subscriptions.js'
import { Apps } from './apps.js'
import { Billing } from './billing.js'
import { Tax } from './tax.js'
import { Features } from './features.js'
import { LLMCost } from './llmCost.js'
import { Plans } from './plans.js'
import { Addons } from './addons.js'
import { PlanAddons } from './planAddons.js'
import { Defaults } from './defaults.js'
import { Internal } from './internal.js'
export class OpenMeter extends Client {
private _events?: Events
get events(): Events {
return (this._events ??= new Events(this))
}
private _meters?: Meters
get meters(): Meters {
return (this._meters ??= new Meters(this))
}
private _customers?: Customers
get customers(): Customers {
return (this._customers ??= new Customers(this))
}
private _entitlements?: Entitlements
get entitlements(): Entitlements {
return (this._entitlements ??= new Entitlements(this))
}
private _subscriptions?: Subscriptions
get subscriptions(): Subscriptions {
return (this._subscriptions ??= new Subscriptions(this))
}
private _apps?: Apps
get apps(): Apps {
return (this._apps ??= new Apps(this))
}
private _billing?: Billing
get billing(): Billing {
return (this._billing ??= new Billing(this))
}
private _tax?: Tax
get tax(): Tax {
return (this._tax ??= new Tax(this))
}
private _features?: Features
get features(): Features {
return (this._features ??= new Features(this))
}
private _llmCost?: LLMCost
get llmCost(): LLMCost {
return (this._llmCost ??= new LLMCost(this))
}
private _plans?: Plans
get plans(): Plans {
return (this._plans ??= new Plans(this))
}
private _addons?: Addons
get addons(): Addons {
return (this._addons ??= new Addons(this))
}
private _planAddons?: PlanAddons
get planAddons(): PlanAddons {
return (this._planAddons ??= new PlanAddons(this))
}
private _defaults?: Defaults
get defaults(): Defaults {
return (this._defaults ??= new Defaults(this))
}
private _internal?: Internal
/**
* Operations marked internal in the API definition. They are not part
* of the customer surface: they may require additional permissions,
* and they can change or be removed without notice or semver
* consideration.
*/
get internal(): Internal {
return (this._internal ??= new Internal(this))
}
}
|