Leon4gr45's picture
Upload folder using huggingface_hub (part 2)
1477a90 verified
Raw
History Blame Contribute Delete
851 Bytes
// Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
import { type Client } from '../core.js'
import { unwrap, type RequestOptions } from '../lib/types.js'
import { listCustomerEntitlementAccess } from '../funcs/entitlements.js'
import type {
ListCustomerEntitlementAccessRequest,
ListCustomerEntitlementAccessResponse,
} from '../models/operations/entitlements.js'
export class Entitlements {
constructor(private readonly _client: Client) {}
/**
* List customer entitlement access
*
* GET /openmeter/customers/{customerId}/entitlement-access
*/
async listCustomerAccess(
request: ListCustomerEntitlementAccessRequest,
options?: RequestOptions,
): Promise<ListCustomerEntitlementAccessResponse> {
return unwrap(
await listCustomerEntitlementAccess(this._client, request, options),
)
}
}