orb-billing
Version:
The official TypeScript library for the Orb API
21 lines • 909 B
text/typescript
import { APIResource } from "../core/resource.mjs";
import { APIPromise } from "../core/api-promise.mjs";
import { RequestOptions } from "../internal/request-options.mjs";
export declare class TopLevel extends APIResource {
/**
* This endpoint allows you to test your connection to the Orb API and check the
* validity of your API key, passed in the Authorization header. This is
* particularly useful for checking that your environment is set up properly, and
* is a great choice for connectors and integrations.
*
* This API does not have any side-effects or return any Orb resources.
*/
ping(options?: RequestOptions): APIPromise<TopLevelPingResponse>;
}
export interface TopLevelPingResponse {
response: string;
}
export declare namespace TopLevel {
export { type TopLevelPingResponse as TopLevelPingResponse };
}
//# sourceMappingURL=top-level.d.mts.map