|
| 1 | +/** |
| 2 | + * This file was auto-generated by Fern from our API Definition. |
| 3 | + */ |
| 4 | + |
| 5 | +import * as environments from "./environments"; |
| 6 | +import * as core from "./core"; |
| 7 | +import { Chat } from "./api/resources/chat/client/Client"; |
| 8 | +import { Connection } from "./api/resources/connection/client/Client"; |
| 9 | +import { Crm } from "./api/resources/crm/client/Client"; |
| 10 | +import { Internal } from "./api/resources/internal/client/Client"; |
| 11 | +import { Metadata } from "./api/resources/metadata/client/Client"; |
| 12 | +import { Ticket } from "./api/resources/ticket/client/Client"; |
| 13 | + |
| 14 | +export declare namespace RevertRevertApiClient { |
| 15 | + interface Options { |
| 16 | + environment?: core.Supplier<environments.RevertRevertApiEnvironment | string>; |
| 17 | + } |
| 18 | + |
| 19 | + interface RequestOptions { |
| 20 | + timeoutInSeconds?: number; |
| 21 | + maxRetries?: number; |
| 22 | + } |
| 23 | +} |
| 24 | + |
| 25 | +export class RevertRevertApiClient { |
| 26 | + constructor(protected readonly _options: RevertRevertApiClient.Options = {}) {} |
| 27 | + |
| 28 | + protected _chat: Chat | undefined; |
| 29 | + |
| 30 | + public get chat(): Chat { |
| 31 | + return (this._chat ??= new Chat(this._options)); |
| 32 | + } |
| 33 | + |
| 34 | + protected _connection: Connection | undefined; |
| 35 | + |
| 36 | + public get connection(): Connection { |
| 37 | + return (this._connection ??= new Connection(this._options)); |
| 38 | + } |
| 39 | + |
| 40 | + protected _crm: Crm | undefined; |
| 41 | + |
| 42 | + public get crm(): Crm { |
| 43 | + return (this._crm ??= new Crm(this._options)); |
| 44 | + } |
| 45 | + |
| 46 | + protected _internal: Internal | undefined; |
| 47 | + |
| 48 | + public get internal(): Internal { |
| 49 | + return (this._internal ??= new Internal(this._options)); |
| 50 | + } |
| 51 | + |
| 52 | + protected _metadata: Metadata | undefined; |
| 53 | + |
| 54 | + public get metadata(): Metadata { |
| 55 | + return (this._metadata ??= new Metadata(this._options)); |
| 56 | + } |
| 57 | + |
| 58 | + protected _ticket: Ticket | undefined; |
| 59 | + |
| 60 | + public get ticket(): Ticket { |
| 61 | + return (this._ticket ??= new Ticket(this._options)); |
| 62 | + } |
| 63 | +} |
0 commit comments