Skip to content

Commit

Permalink
Release 0.0.655
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 17, 2024
1 parent 8ca39a8 commit 6a079f7
Show file tree
Hide file tree
Showing 60 changed files with 388 additions and 232 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.650",
"version": "0.0.655",
"private": false,
"repository": "https://github.com/revertinc/revert-node-ts",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/chat/resources/channels/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class Channels {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/chat/resources/messages/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Messages {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/chat/resources/users/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class Users {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Contact extends Revert.common.CommonUnifiedFields, Revert.common.ContactWrite {}
export interface Contact extends Revert.common.CommonUnifiedFields, Revert.common.ContactRead {}
14 changes: 14 additions & 0 deletions src/api/resources/common/resources/unified/types/ContactRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface ContactRead {
/** The first name of the contact in a CRM. */
firstName: string;
/** The last name of the contact in a CRM. */
lastName: string;
/** The phone number of the contact in a CRM. */
phone: string;
/** The email of the contact in a CRM. */
email: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

import * as Revert from "../../../../..";

export interface ContactWrite {
/** The first name of the contact in a CRM. */
firstName: string;
/** The last name of the contact in a CRM. */
lastName: string;
/** The phone number of the contact in a CRM. */
phone: string;
/** The email of the contact in a CRM. */
email: string;
export interface ContactWrite extends Revert.common.ContactRead {
associations?: Revert.common.ContactAssociation;
}
2 changes: 1 addition & 1 deletion src/api/resources/common/resources/unified/types/Deal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Deal extends Revert.common.CommonUnifiedFields, Revert.common.DealWrite {}
export interface Deal extends Revert.common.CommonUnifiedFields, Revert.common.DealRead {}
20 changes: 20 additions & 0 deletions src/api/resources/common/resources/unified/types/DealRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface DealRead {
/** The deal amount mentioned in the CRM for this deal. */
amount: number;
/** The priority attached to this deal. (not supported by pipedrive) */
priority?: string;
/** Deal stage in the CRM. */
stage: string;
/** The name of the deal in a CRM. */
name: string;
/** Expected close date for this deal. (not supported by pipedrive search api) */
expectedCloseDate?: unknown;
/** Is `true` if the deal is closed (won). */
isWon: boolean;
/** Probability of the deal getting closed, a decimal number between 0 to 1 (inclusive). */
probability: number;
}
16 changes: 1 addition & 15 deletions src/api/resources/common/resources/unified/types/DealWrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@

import * as Revert from "../../../../..";

export interface DealWrite {
/** The deal amount mentioned in the CRM for this deal. */
amount: number;
/** The priority attached to this deal. (not supported by pipedrive) */
priority?: string;
/** Deal stage in the CRM. */
stage: string;
/** The name of the deal in a CRM. */
name: string;
/** Expected close date for this deal. (not supported by pipedrive search api) */
expectedCloseDate?: unknown;
/** Is `true` if the deal is closed (won). */
isWon: boolean;
/** Probability of the deal getting closed, a decimal number between 0 to 1 (inclusive). */
probability: number;
export interface DealWrite extends Revert.common.DealRead {
associations?: Revert.common.DealAssociation;
}
2 changes: 1 addition & 1 deletion src/api/resources/common/resources/unified/types/Event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Event extends Revert.common.CommonUnifiedFields, Revert.common.EventWrite {}
export interface Event extends Revert.common.CommonUnifiedFields, Revert.common.EventRead {}
20 changes: 20 additions & 0 deletions src/api/resources/common/resources/unified/types/EventRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface EventRead {
/** The type of the event in the CRM. */
type: string;
/** The Subject of the event/meeting in the CRM. */
subject: string;
/** Event start date time. */
startDateTime: string;
/** Event end date time. */
endDateTime: string;
/** Is `true` if the event is an all day event. */
isAllDayEvent: boolean;
/** Description of the event/meeting. */
description: string;
/** The location of the event/meeting. */
location: string;
}
16 changes: 1 addition & 15 deletions src/api/resources/common/resources/unified/types/EventWrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@

import * as Revert from "../../../../..";

export interface EventWrite {
/** The type of the event in the CRM. */
type: string;
/** The Subject of the event/meeting in the CRM. */
subject: string;
/** Event start date time. */
startDateTime: string;
/** Event end date time. */
endDateTime: string;
/** Is `true` if the event is an all day event. */
isAllDayEvent: boolean;
/** Description of the event/meeting. */
description: string;
/** The location of the event/meeting. */
location: string;
export interface EventWrite extends Revert.common.EventRead {
associations?: Revert.common.EventAssociation;
}
2 changes: 1 addition & 1 deletion src/api/resources/common/resources/unified/types/Lead.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Lead extends Revert.common.CommonUnifiedFields, Revert.common.LeadWrite {}
export interface Lead extends Revert.common.CommonUnifiedFields, Revert.common.LeadRead {}
14 changes: 14 additions & 0 deletions src/api/resources/common/resources/unified/types/LeadRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface LeadRead {
/** The first name of the lead in a CRM. */
firstName: string;
/** The last name of the lead in a CRM. */
lastName: string;
/** The phone number of the lead in a CRM. */
phone: string;
/** The email of the lead in a CRM. */
email: string;
}
10 changes: 1 addition & 9 deletions src/api/resources/common/resources/unified/types/LeadWrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

import * as Revert from "../../../../..";

export interface LeadWrite {
/** The first name of the lead in a CRM. */
firstName: string;
/** The last name of the lead in a CRM. */
lastName: string;
/** The phone number of the lead in a CRM. */
phone: string;
/** The email of the lead in a CRM. */
email: string;
export interface LeadWrite extends Revert.common.LeadRead {
associations?: Revert.common.LeadAssociation;
}
2 changes: 1 addition & 1 deletion src/api/resources/common/resources/unified/types/Note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Note extends Revert.common.CommonUnifiedFields, Revert.common.NoteWrite {}
export interface Note extends Revert.common.CommonUnifiedFields, Revert.common.NoteRead {}
8 changes: 8 additions & 0 deletions src/api/resources/common/resources/unified/types/NoteRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface NoteRead {
/** The contents of the note in plain text or HTML. */
content: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import * as Revert from "../../../../..";

export interface NoteWrite {
/** The contents of the note in plain text or HTML. */
content: string;
export interface NoteWrite extends Revert.common.NoteRead {
associations?: Revert.common.DealAssociation;
}
2 changes: 1 addition & 1 deletion src/api/resources/common/resources/unified/types/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

import * as Revert from "../../../../..";

export interface Task extends Revert.common.CommonUnifiedFields, Revert.common.TaskWrite {}
export interface Task extends Revert.common.CommonUnifiedFields, Revert.common.TaskRead {}
16 changes: 16 additions & 0 deletions src/api/resources/common/resources/unified/types/TaskRead.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

export interface TaskRead {
/** Subject of the task. */
subject: string;
/** Body of the task description. */
body: string;
/** The priority of the task in hand. (not supported by pipedrive) */
priority: string;
/** Completion status of the task. */
status: string;
/** The date when this task is due. */
dueDate?: unknown;
}
10 changes: 0 additions & 10 deletions src/api/resources/common/resources/unified/types/TaskWrite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,5 @@
import * as Revert from "../../../../..";

export interface TaskWrite {
/** Subject of the task. */
subject: string;
/** Body of the task description. */
body: string;
/** The priority of the task in hand. (not supported by pipedrive) */
priority: string;
/** Completion status of the task. */
status: string;
/** The date when this task is due. */
dueDate?: unknown;
associations?: Revert.common.TaskAssociation;
}
6 changes: 6 additions & 0 deletions src/api/resources/common/resources/unified/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
export * from "./CommonUnifiedFields";
export * from "./LeadRead";
export * from "./LeadWrite";
export * from "./Lead";
export * from "./DealRead";
export * from "./DealWrite";
export * from "./Deal";
export * from "./NoteRead";
export * from "./NoteWrite";
export * from "./Note";
export * from "./Company";
export * from "./CompanyAddress";
export * from "./ContactRead";
export * from "./ContactWrite";
export * from "./Contact";
export * from "./EventRead";
export * from "./EventWrite";
export * from "./Event";
export * from "./TaskRead";
export * from "./TaskWrite";
export * from "./Task";
export * from "./UserWrite";
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/connection/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
"x-revert-t-id": xRevertTId,
Expand Down Expand Up @@ -133,7 +133,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
"x-revert-t-id": xRevertTId,
Expand Down Expand Up @@ -223,7 +223,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
},
Expand Down Expand Up @@ -312,7 +312,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
"x-revert-t-id": xRevertTId,
Expand Down Expand Up @@ -405,7 +405,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
"x-revert-t-id": xRevertTId,
Expand Down Expand Up @@ -495,7 +495,7 @@ export class Connection {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
"x-revert-t-id": xRevertTId,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/crm/resources/company/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Company {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down Expand Up @@ -153,7 +153,7 @@ export class Company {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down Expand Up @@ -244,7 +244,7 @@ export class Company {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down Expand Up @@ -338,7 +338,7 @@ export class Company {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down Expand Up @@ -434,7 +434,7 @@ export class Company {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@revertdotdev/node",
"X-Fern-SDK-Version": "0.0.650",
"X-Fern-SDK-Version": "0.0.655",
"x-revert-api-token": xRevertApiToken,
"x-revert-t-id": xRevertTId,
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
Expand Down
Loading

0 comments on commit 6a079f7

Please sign in to comment.