diff --git a/package.json b/package.json index cbab2b2..d172515 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revertdotdev/node", - "version": "0.0.646", + "version": "0.0.650", "private": false, "repository": "https://github.com/revertinc/revert-node-ts", "main": "./index.js", diff --git a/src/api/resources/chat/resources/channels/client/Client.ts b/src/api/resources/chat/resources/channels/client/Client.ts index 49e162f..5ddc33c 100644 --- a/src/api/resources/chat/resources/channels/client/Client.ts +++ b/src/api/resources/chat/resources/channels/client/Client.ts @@ -56,7 +56,7 @@ export class Channels { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/chat/resources/messages/client/Client.ts b/src/api/resources/chat/resources/messages/client/Client.ts index 9c3d2fd..a274c3d 100644 --- a/src/api/resources/chat/resources/messages/client/Client.ts +++ b/src/api/resources/chat/resources/messages/client/Client.ts @@ -44,7 +44,7 @@ export class Messages { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/chat/resources/users/client/Client.ts b/src/api/resources/chat/resources/users/client/Client.ts index f408b56..d9186cf 100644 --- a/src/api/resources/chat/resources/users/client/Client.ts +++ b/src/api/resources/chat/resources/users/client/Client.ts @@ -56,7 +56,7 @@ export class Users { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/connection/client/Client.ts b/src/api/resources/connection/client/Client.ts index 20badfd..d02d887 100644 --- a/src/api/resources/connection/client/Client.ts +++ b/src/api/resources/connection/client/Client.ts @@ -43,7 +43,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, @@ -133,7 +133,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, @@ -223,7 +223,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, }, @@ -312,7 +312,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, @@ -405,7 +405,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, @@ -495,7 +495,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, diff --git a/src/api/resources/crm/resources/company/client/Client.ts b/src/api/resources/crm/resources/company/client/Client.ts index 2c4a67b..e4f1d50 100644 --- a/src/api/resources/crm/resources/company/client/Client.ts +++ b/src/api/resources/crm/resources/company/client/Client.ts @@ -49,7 +49,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -434,7 +434,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/contact/client/Client.ts b/src/api/resources/crm/resources/contact/client/Client.ts index 366acc7..256c7e2 100644 --- a/src/api/resources/crm/resources/contact/client/Client.ts +++ b/src/api/resources/crm/resources/contact/client/Client.ts @@ -49,7 +49,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -245,7 +245,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -349,7 +349,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -456,7 +456,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts b/src/api/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts index 57460cf..3010769 100644 --- a/src/api/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts +++ b/src/api/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export type CreateOrUpdateContactRequest = Revert.common.ContactWrite; +export interface CreateOrUpdateContactRequest extends Revert.common.ContactWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/deal/client/Client.ts b/src/api/resources/crm/resources/deal/client/Client.ts index c386bdc..4eeb6b5 100644 --- a/src/api/resources/crm/resources/deal/client/Client.ts +++ b/src/api/resources/crm/resources/deal/client/Client.ts @@ -49,7 +49,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -436,7 +436,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts b/src/api/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts index 539ba3c..4f02675 100644 --- a/src/api/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts +++ b/src/api/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateDealRequest extends Revert.common.DealWrite {} +export interface CreateOrUpdateDealRequest extends Revert.common.DealWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/event/client/Client.ts b/src/api/resources/crm/resources/event/client/Client.ts index f5877c6..cb14d65 100644 --- a/src/api/resources/crm/resources/event/client/Client.ts +++ b/src/api/resources/crm/resources/event/client/Client.ts @@ -49,7 +49,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -436,7 +436,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -529,7 +529,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts b/src/api/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts index 8f6d57e..38b6d9a 100644 --- a/src/api/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts +++ b/src/api/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateEventRequest extends Revert.common.EventWrite {} +export interface CreateOrUpdateEventRequest extends Revert.common.EventWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/fieldMapping/resources/fieldMapping/client/Client.ts b/src/api/resources/crm/resources/fieldMapping/resources/fieldMapping/client/Client.ts index 8eb6624..e558bf6 100644 --- a/src/api/resources/crm/resources/fieldMapping/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/crm/resources/fieldMapping/resources/fieldMapping/client/Client.ts @@ -42,7 +42,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken != null ? xRevertApiToken : undefined, "x-revert-t-id": xRevertTId, "x-revert-t-token": xRevertTToken != null ? xRevertTToken : undefined, @@ -124,7 +124,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken != null ? xRevertApiToken : undefined, "x-revert-t-id": xRevertTId, "x-revert-t-token": xRevertTToken != null ? xRevertTToken : undefined, diff --git a/src/api/resources/crm/resources/lead/client/Client.ts b/src/api/resources/crm/resources/lead/client/Client.ts index 14f229f..e7d53e6 100644 --- a/src/api/resources/crm/resources/lead/client/Client.ts +++ b/src/api/resources/crm/resources/lead/client/Client.ts @@ -49,7 +49,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -436,7 +436,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts b/src/api/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts index 62e27fd..10c0492 100644 --- a/src/api/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts +++ b/src/api/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateLeadRequest extends Revert.common.LeadWrite {} +export interface CreateOrUpdateLeadRequest extends Revert.common.LeadWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/note/client/Client.ts b/src/api/resources/crm/resources/note/client/Client.ts index b11e448..a12e331 100644 --- a/src/api/resources/crm/resources/note/client/Client.ts +++ b/src/api/resources/crm/resources/note/client/Client.ts @@ -49,7 +49,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -436,7 +436,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts b/src/api/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts index 98dac74..799454c 100644 --- a/src/api/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts +++ b/src/api/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateNoteRequest extends Revert.common.NoteWrite {} +export interface CreateOrUpdateNoteRequest extends Revert.common.NoteWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/properties/client/Client.ts b/src/api/resources/crm/resources/properties/client/Client.ts index 7861fbe..6623b5f 100644 --- a/src/api/resources/crm/resources/properties/client/Client.ts +++ b/src/api/resources/crm/resources/properties/client/Client.ts @@ -44,7 +44,7 @@ export class Properties { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -135,7 +135,7 @@ export class Properties { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/proxy/client/Client.ts b/src/api/resources/crm/resources/proxy/client/Client.ts index 7fb6719..57ceca9 100644 --- a/src/api/resources/crm/resources/proxy/client/Client.ts +++ b/src/api/resources/crm/resources/proxy/client/Client.ts @@ -43,7 +43,7 @@ export class Proxy { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/task/client/Client.ts b/src/api/resources/crm/resources/task/client/Client.ts index 0b337cb..a013332 100644 --- a/src/api/resources/crm/resources/task/client/Client.ts +++ b/src/api/resources/crm/resources/task/client/Client.ts @@ -49,7 +49,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -436,7 +436,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts b/src/api/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts index 27c97ee..88596c5 100644 --- a/src/api/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts +++ b/src/api/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateTaskRequest extends Revert.common.TaskWrite {} +export interface CreateOrUpdateTaskRequest extends Revert.common.TaskWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/crm/resources/user/client/Client.ts b/src/api/resources/crm/resources/user/client/Client.ts index dbb6679..dbec54e 100644 --- a/src/api/resources/crm/resources/user/client/Client.ts +++ b/src/api/resources/crm/resources/user/client/Client.ts @@ -49,7 +49,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts b/src/api/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts index 7740e92..964ae95 100644 --- a/src/api/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts +++ b/src/api/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts @@ -4,4 +4,7 @@ import * as Revert from "../../../../.."; -export interface CreateOrUpdateUserRequest extends Revert.common.UserWrite {} +export interface CreateOrUpdateUserRequest extends Revert.common.UserWrite { + /** Any fields that are not unified yet/non-unifiable come inside this `json` object. */ + additional?: unknown; +} diff --git a/src/api/resources/metadata/client/Client.ts b/src/api/resources/metadata/client/Client.ts index f51597a..a0b3f7e 100644 --- a/src/api/resources/metadata/client/Client.ts +++ b/src/api/resources/metadata/client/Client.ts @@ -42,7 +42,7 @@ export class Metadata { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-public-token": xRevertPublicToken, }, contentType: "application/json", diff --git a/src/api/resources/ticket/resources/collection/client/Client.ts b/src/api/resources/ticket/resources/collection/client/Client.ts index f12775b..2c5a65a 100644 --- a/src/api/resources/ticket/resources/collection/client/Client.ts +++ b/src/api/resources/ticket/resources/collection/client/Client.ts @@ -56,7 +56,7 @@ export class Collection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/ticket/resources/comment/client/Client.ts b/src/api/resources/ticket/resources/comment/client/Client.ts index 0a3dcf5..b35ebb5 100644 --- a/src/api/resources/ticket/resources/comment/client/Client.ts +++ b/src/api/resources/ticket/resources/comment/client/Client.ts @@ -49,7 +49,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +244,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/ticket/resources/proxy/client/Client.ts b/src/api/resources/ticket/resources/proxy/client/Client.ts index 0c26696..c4f675b 100644 --- a/src/api/resources/ticket/resources/proxy/client/Client.ts +++ b/src/api/resources/ticket/resources/proxy/client/Client.ts @@ -43,7 +43,7 @@ export class Proxy { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/ticket/resources/task/client/Client.ts b/src/api/resources/ticket/resources/task/client/Client.ts index 041e25c..d66ac56 100644 --- a/src/api/resources/ticket/resources/task/client/Client.ts +++ b/src/api/resources/ticket/resources/task/client/Client.ts @@ -49,7 +49,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -243,7 +243,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +338,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/api/resources/ticket/resources/user/client/Client.ts b/src/api/resources/ticket/resources/user/client/Client.ts index 5327b28..cdfabcb 100644 --- a/src/api/resources/ticket/resources/user/client/Client.ts +++ b/src/api/resources/ticket/resources/user/client/Client.ts @@ -49,7 +49,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -153,7 +153,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.646", + "X-Fern-SDK-Version": "0.0.650", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/src/serialization/resources/common/resources/unified/types/CommonUnifiedFields.ts b/src/serialization/resources/common/resources/unified/types/CommonUnifiedFields.ts index 664ca7f..3a657bc 100644 --- a/src/serialization/resources/common/resources/unified/types/CommonUnifiedFields.ts +++ b/src/serialization/resources/common/resources/unified/types/CommonUnifiedFields.ts @@ -14,7 +14,7 @@ export const CommonUnifiedFields: core.serialization.ObjectSchema< remoteId: core.serialization.string(), createdTimestamp: core.serialization.unknown(), updatedTimestamp: core.serialization.unknown(), - additional: core.serialization.unknown(), + additional: core.serialization.unknown().optional(), }); export declare namespace CommonUnifiedFields { @@ -23,6 +23,6 @@ export declare namespace CommonUnifiedFields { remoteId: string; createdTimestamp?: unknown; updatedTimestamp?: unknown; - additional?: unknown; + additional?: unknown | null; } } diff --git a/src/serialization/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts b/src/serialization/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts index 55b642c..b742e71 100644 --- a/src/serialization/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts +++ b/src/serialization/resources/crm/resources/contact/types/CreateOrUpdateContactRequest.ts @@ -9,8 +9,14 @@ import * as core from "../../../../../../core"; export const CreateOrUpdateContactRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateContactRequest.Raw, Revert.crm.CreateOrUpdateContactRequest -> = core.serialization.lazyObject(async () => (await import("../../../../..")).common.ContactWrite); +> = core.serialization + .object({ + additional: core.serialization.unknown(), + }) + .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.ContactWrite)); export declare namespace CreateOrUpdateContactRequest { - type Raw = serializers.common.ContactWrite.Raw; + interface Raw extends serializers.common.ContactWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts b/src/serialization/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts index 14fa032..e98849d 100644 --- a/src/serialization/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts +++ b/src/serialization/resources/crm/resources/deal/types/CreateOrUpdateDealRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateDealRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateDealRequest.Raw, Revert.crm.CreateOrUpdateDealRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.DealWrite)); export declare namespace CreateOrUpdateDealRequest { - interface Raw extends serializers.common.DealWrite.Raw {} + interface Raw extends serializers.common.DealWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts b/src/serialization/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts index 936b27b..0090dc0 100644 --- a/src/serialization/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts +++ b/src/serialization/resources/crm/resources/event/types/CreateOrUpdateEventRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateEventRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateEventRequest.Raw, Revert.crm.CreateOrUpdateEventRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.EventWrite)); export declare namespace CreateOrUpdateEventRequest { - interface Raw extends serializers.common.EventWrite.Raw {} + interface Raw extends serializers.common.EventWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts b/src/serialization/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts index 069b883..6958048 100644 --- a/src/serialization/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts +++ b/src/serialization/resources/crm/resources/lead/types/CreateOrUpdateLeadRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateLeadRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateLeadRequest.Raw, Revert.crm.CreateOrUpdateLeadRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.LeadWrite)); export declare namespace CreateOrUpdateLeadRequest { - interface Raw extends serializers.common.LeadWrite.Raw {} + interface Raw extends serializers.common.LeadWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts b/src/serialization/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts index b889591..bd22a76 100644 --- a/src/serialization/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts +++ b/src/serialization/resources/crm/resources/note/types/CreateOrUpdateNoteRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateNoteRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateNoteRequest.Raw, Revert.crm.CreateOrUpdateNoteRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.NoteWrite)); export declare namespace CreateOrUpdateNoteRequest { - interface Raw extends serializers.common.NoteWrite.Raw {} + interface Raw extends serializers.common.NoteWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts b/src/serialization/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts index c564062..0b7a1ec 100644 --- a/src/serialization/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts +++ b/src/serialization/resources/crm/resources/task/types/CreateOrUpdateTaskRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateTaskRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateTaskRequest.Raw, Revert.crm.CreateOrUpdateTaskRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.TaskWrite)); export declare namespace CreateOrUpdateTaskRequest { - interface Raw extends serializers.common.TaskWrite.Raw {} + interface Raw extends serializers.common.TaskWrite.Raw { + additional?: unknown; + } } diff --git a/src/serialization/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts b/src/serialization/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts index 7d2fe86..0257417 100644 --- a/src/serialization/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts +++ b/src/serialization/resources/crm/resources/user/types/CreateOrUpdateUserRequest.ts @@ -10,9 +10,13 @@ export const CreateOrUpdateUserRequest: core.serialization.ObjectSchema< serializers.crm.CreateOrUpdateUserRequest.Raw, Revert.crm.CreateOrUpdateUserRequest > = core.serialization - .object({}) + .object({ + additional: core.serialization.unknown(), + }) .extend(core.serialization.lazyObject(async () => (await import("../../../../..")).common.UserWrite)); export declare namespace CreateOrUpdateUserRequest { - interface Raw extends serializers.common.UserWrite.Raw {} + interface Raw extends serializers.common.UserWrite.Raw { + additional?: unknown; + } }