Skip to content

Commit

Permalink
Release 0.0.1068
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 2, 2024
1 parent 965808a commit df548c1
Show file tree
Hide file tree
Showing 132 changed files with 3,585 additions and 74 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@revertdotdev/node",
"version": "0.0.1067",
"version": "0.0.1068",
"private": false,
"repository": "https://github.com/revertinc/revert-node-ts",
"main": "./index.js",
Expand Down
7 changes: 7 additions & 0 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import * as environments from "./environments";
import * as core from "./core";
import { Ats } from "./api/resources/ats/client/Client";
import { Chat } from "./api/resources/chat/client/Client";
import { Connection } from "./api/resources/connection/client/Client";
import { Crm } from "./api/resources/crm/client/Client";
Expand All @@ -26,6 +27,12 @@ export declare namespace RevertClient {
export class RevertClient {
constructor(protected readonly _options: RevertClient.Options = {}) {}

protected _ats: Ats | undefined;

public get ats(): Ats {
return (this._ats ??= new Ats(this._options));
}

protected _chat: Chat | undefined;

public get chat(): Chat {
Expand Down
56 changes: 56 additions & 0 deletions src/api/resources/ats/client/Client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

import * as environments from "../../../../environments";
import * as core from "../../../../core";
import { Candidate } from "../resources/candidate/client/Client";
import { Department } from "../resources/department/client/Client";
import { Job } from "../resources/job/client/Client";
import { Offer } from "../resources/offer/client/Client";
import { Proxy } from "../resources/proxy/client/Client";

export declare namespace Ats {
interface Options {
environment?: core.Supplier<environments.RevertEnvironment | string>;
}

interface RequestOptions {
timeoutInSeconds?: number;
maxRetries?: number;
}
}

export class Ats {
constructor(protected readonly _options: Ats.Options = {}) {}

protected _candidate: Candidate | undefined;

public get candidate(): Candidate {
return (this._candidate ??= new Candidate(this._options));
}

protected _department: Department | undefined;

public get department(): Department {
return (this._department ??= new Department(this._options));
}

protected _job: Job | undefined;

public get job(): Job {
return (this._job ??= new Job(this._options));
}

protected _offer: Offer | undefined;

public get offer(): Offer {
return (this._offer ??= new Offer(this._options));
}

protected _proxy: Proxy | undefined;

public get proxy(): Proxy {
return (this._proxy ??= new Proxy(this._options));
}
}
1 change: 1 addition & 0 deletions src/api/resources/ats/client/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions src/api/resources/ats/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./resources";
export * from "./client";
Loading

0 comments on commit df548c1

Please sign in to comment.