Skip to content

Commit df548c1

Browse files
committed
Release 0.0.1068
1 parent 965808a commit df548c1

File tree

132 files changed

+3585
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+3585
-74
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@revertdotdev/node",
3-
"version": "0.0.1067",
3+
"version": "0.0.1068",
44
"private": false,
55
"repository": "https://github.com/revertinc/revert-node-ts",
66
"main": "./index.js",

src/Client.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

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

30+
protected _ats: Ats | undefined;
31+
32+
public get ats(): Ats {
33+
return (this._ats ??= new Ats(this._options));
34+
}
35+
2936
protected _chat: Chat | undefined;
3037

3138
public get chat(): Chat {
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 { Candidate } from "../resources/candidate/client/Client";
8+
import { Department } from "../resources/department/client/Client";
9+
import { Job } from "../resources/job/client/Client";
10+
import { Offer } from "../resources/offer/client/Client";
11+
import { Proxy } from "../resources/proxy/client/Client";
12+
13+
export declare namespace Ats {
14+
interface Options {
15+
environment?: core.Supplier<environments.RevertEnvironment | string>;
16+
}
17+
18+
interface RequestOptions {
19+
timeoutInSeconds?: number;
20+
maxRetries?: number;
21+
}
22+
}
23+
24+
export class Ats {
25+
constructor(protected readonly _options: Ats.Options = {}) {}
26+
27+
protected _candidate: Candidate | undefined;
28+
29+
public get candidate(): Candidate {
30+
return (this._candidate ??= new Candidate(this._options));
31+
}
32+
33+
protected _department: Department | undefined;
34+
35+
public get department(): Department {
36+
return (this._department ??= new Department(this._options));
37+
}
38+
39+
protected _job: Job | undefined;
40+
41+
public get job(): Job {
42+
return (this._job ??= new Job(this._options));
43+
}
44+
45+
protected _offer: Offer | undefined;
46+
47+
public get offer(): Offer {
48+
return (this._offer ??= new Offer(this._options));
49+
}
50+
51+
protected _proxy: Proxy | undefined;
52+
53+
public get proxy(): Proxy {
54+
return (this._proxy ??= new Proxy(this._options));
55+
}
56+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

src/api/resources/ats/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./resources";
2+
export * from "./client";

0 commit comments

Comments
 (0)