From 965808afd1ae659f011984beb336754ac1e00851 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 05:41:47 +0000 Subject: [PATCH] Release 0.0.1067 --- package.json | 2 +- .../chat/resources/channels/client/Client.ts | 2 +- .../chat/resources/messages/client/Client.ts | 2 +- .../chat/resources/users/client/Client.ts | 2 +- src/api/resources/connection/client/Client.ts | 16 ++++++------- .../crm/resources/company/client/Client.ts | 22 +++++++++++------ .../client/requests/GetCompaniesRequest.ts | 1 + .../client/requests/GetCompanyRequest.ts | 1 + .../crm/resources/contact/client/Client.ts | 22 +++++++++++------ .../client/requests/GetContactRequest.ts | 1 + .../client/requests/GetContactsRequest.ts | 1 + .../crm/resources/deal/client/Client.ts | 22 +++++++++++------ .../deal/client/requests/GetDealRequest.ts | 1 + .../deal/client/requests/GetDealsRequest.ts | 1 + .../crm/resources/event/client/Client.ts | 24 ++++++++++++------- .../event/client/requests/GetEventRequest.ts | 1 + .../event/client/requests/GetEventsRequest.ts | 1 + .../crm/resources/lead/client/Client.ts | 22 +++++++++++------ .../lead/client/requests/GetLeadRequest.ts | 1 + .../lead/client/requests/GetLeadsRequest.ts | 1 + .../crm/resources/note/client/Client.ts | 22 +++++++++++------ .../note/client/requests/GetNoteRequest.ts | 1 + .../note/client/requests/GetNotesRequest.ts | 1 + .../crm/resources/properties/client/Client.ts | 4 ++-- .../crm/resources/proxy/client/Client.ts | 2 +- .../crm/resources/task/client/Client.ts | 22 +++++++++++------ .../task/client/requests/GetTaskRequest.ts | 1 + .../task/client/requests/GetTasksRequest.ts | 1 + .../crm/resources/user/client/Client.ts | 18 ++++++++++---- .../user/client/requests/GetUserRequest.ts | 1 + .../user/client/requests/GetUsersRequest.ts | 1 + .../resources/fieldMapping/client/Client.ts | 12 +++++----- src/api/resources/metadata/client/Client.ts | 2 +- src/api/resources/sync/client/Client.ts | 2 +- .../resources/collection/client/Client.ts | 2 +- .../ticket/resources/comment/client/Client.ts | 8 +++---- .../ticket/resources/proxy/client/Client.ts | 2 +- .../ticket/resources/task/client/Client.ts | 8 +++---- .../ticket/resources/user/client/Client.ts | 4 ++-- yarn.lock | 6 ++--- 40 files changed, 173 insertions(+), 93 deletions(-) diff --git a/package.json b/package.json index df23d1a..9cfe4e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revertdotdev/node", - "version": "0.0.1066", + "version": "0.0.1067", "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 6ad3d2d..fdfd0e1 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 80de8df..f3fd275 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 fcfc4cd..d82712c 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 401a295..3324913 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, "x-revert-t-id": xRevertTId, @@ -587,7 +587,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-api-version": xApiVersion != null ? xApiVersion : undefined, }, @@ -668,7 +668,7 @@ export class Connection { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 cb9b8ec..379182e 100644 --- a/src/api/resources/crm/resources/company/client/Client.ts +++ b/src/api/resources/crm/resources/company/client/Client.ts @@ -34,12 +34,16 @@ export class Company { request: Revert.crm.GetCompanyRequest, requestOptions?: Company.RequestOptions ): Promise<Revert.crm.GetCompanyResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,12 +134,16 @@ export class Company { request: Revert.crm.GetCompaniesRequest, requestOptions?: Company.RequestOptions ): Promise<Revert.crm.GetCompaniesResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + if (pageSize != null) { _queryParams["pageSize"] = pageSize; } @@ -153,7 +161,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -442,7 +450,7 @@ export class Company { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/company/client/requests/GetCompaniesRequest.ts b/src/api/resources/crm/resources/company/client/requests/GetCompaniesRequest.ts index 1275053..b9c3401 100644 --- a/src/api/resources/crm/resources/company/client/requests/GetCompaniesRequest.ts +++ b/src/api/resources/crm/resources/company/client/requests/GetCompaniesRequest.ts @@ -4,6 +4,7 @@ export interface GetCompaniesRequest { fields?: string; + associations?: string; pageSize?: string; cursor?: string; /** diff --git a/src/api/resources/crm/resources/company/client/requests/GetCompanyRequest.ts b/src/api/resources/crm/resources/company/client/requests/GetCompanyRequest.ts index 3cb2380..c86105b 100644 --- a/src/api/resources/crm/resources/company/client/requests/GetCompanyRequest.ts +++ b/src/api/resources/crm/resources/company/client/requests/GetCompanyRequest.ts @@ -4,6 +4,7 @@ export interface GetCompanyRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/contact/client/Client.ts b/src/api/resources/crm/resources/contact/client/Client.ts index c2ed631..83004e0 100644 --- a/src/api/resources/crm/resources/contact/client/Client.ts +++ b/src/api/resources/crm/resources/contact/client/Client.ts @@ -34,12 +34,16 @@ export class Contact { request: Revert.crm.GetContactRequest, requestOptions?: Contact.RequestOptions ): Promise<Revert.crm.GetContactResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Contact { request: Revert.crm.GetContactsRequest, requestOptions?: Contact.RequestOptions ): Promise<Revert.crm.GetContactsResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Contact { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -245,7 +253,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -349,7 +357,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -464,7 +472,7 @@ export class Contact { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/requests/GetContactRequest.ts b/src/api/resources/crm/resources/contact/client/requests/GetContactRequest.ts index 2de9149..10dce10 100644 --- a/src/api/resources/crm/resources/contact/client/requests/GetContactRequest.ts +++ b/src/api/resources/crm/resources/contact/client/requests/GetContactRequest.ts @@ -4,6 +4,7 @@ export interface GetContactRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/contact/client/requests/GetContactsRequest.ts b/src/api/resources/crm/resources/contact/client/requests/GetContactsRequest.ts index fb2cbb8..8d15d1e 100644 --- a/src/api/resources/crm/resources/contact/client/requests/GetContactsRequest.ts +++ b/src/api/resources/crm/resources/contact/client/requests/GetContactsRequest.ts @@ -6,6 +6,7 @@ export interface GetContactsRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/deal/client/Client.ts b/src/api/resources/crm/resources/deal/client/Client.ts index a63995a..1e2b4f2 100644 --- a/src/api/resources/crm/resources/deal/client/Client.ts +++ b/src/api/resources/crm/resources/deal/client/Client.ts @@ -34,12 +34,16 @@ export class Deal { request: Revert.crm.GetDealRequest, requestOptions?: Deal.RequestOptions ): Promise<Revert.crm.GetDealResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Deal { request: Revert.crm.GetDealsRequest, requestOptions?: Deal.RequestOptions ): Promise<Revert.crm.GetDealsResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Deal { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -444,7 +452,7 @@ export class Deal { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/client/requests/GetDealRequest.ts b/src/api/resources/crm/resources/deal/client/requests/GetDealRequest.ts index 057416e..c43dea0 100644 --- a/src/api/resources/crm/resources/deal/client/requests/GetDealRequest.ts +++ b/src/api/resources/crm/resources/deal/client/requests/GetDealRequest.ts @@ -4,6 +4,7 @@ export interface GetDealRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/deal/client/requests/GetDealsRequest.ts b/src/api/resources/crm/resources/deal/client/requests/GetDealsRequest.ts index 646c4a6..4e5b876 100644 --- a/src/api/resources/crm/resources/deal/client/requests/GetDealsRequest.ts +++ b/src/api/resources/crm/resources/deal/client/requests/GetDealsRequest.ts @@ -6,6 +6,7 @@ export interface GetDealsRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/event/client/Client.ts b/src/api/resources/crm/resources/event/client/Client.ts index 899a047..d7169ba 100644 --- a/src/api/resources/crm/resources/event/client/Client.ts +++ b/src/api/resources/crm/resources/event/client/Client.ts @@ -34,12 +34,16 @@ export class Event { request: Revert.crm.GetEventRequest, requestOptions?: Event.RequestOptions ): Promise<Revert.crm.GetEventResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Event { request: Revert.crm.GetEventsRequest, requestOptions?: Event.RequestOptions ): Promise<Revert.crm.GetEventsResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Event { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -444,7 +452,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -537,7 +545,7 @@ export class Event { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/client/requests/GetEventRequest.ts b/src/api/resources/crm/resources/event/client/requests/GetEventRequest.ts index 416bf79..254f68f 100644 --- a/src/api/resources/crm/resources/event/client/requests/GetEventRequest.ts +++ b/src/api/resources/crm/resources/event/client/requests/GetEventRequest.ts @@ -4,6 +4,7 @@ export interface GetEventRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/event/client/requests/GetEventsRequest.ts b/src/api/resources/crm/resources/event/client/requests/GetEventsRequest.ts index 49fc7ef..49979d8 100644 --- a/src/api/resources/crm/resources/event/client/requests/GetEventsRequest.ts +++ b/src/api/resources/crm/resources/event/client/requests/GetEventsRequest.ts @@ -6,6 +6,7 @@ export interface GetEventsRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/lead/client/Client.ts b/src/api/resources/crm/resources/lead/client/Client.ts index e9e30d6..19471c2 100644 --- a/src/api/resources/crm/resources/lead/client/Client.ts +++ b/src/api/resources/crm/resources/lead/client/Client.ts @@ -34,12 +34,16 @@ export class Lead { request: Revert.crm.GetLeadRequest, requestOptions?: Lead.RequestOptions ): Promise<Revert.crm.GetLeadResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Lead { request: Revert.crm.GetLeadsRequest, requestOptions?: Lead.RequestOptions ): Promise<Revert.crm.GetLeadsResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Lead { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -444,7 +452,7 @@ export class Lead { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/client/requests/GetLeadRequest.ts b/src/api/resources/crm/resources/lead/client/requests/GetLeadRequest.ts index d70c4e8..e29dae3 100644 --- a/src/api/resources/crm/resources/lead/client/requests/GetLeadRequest.ts +++ b/src/api/resources/crm/resources/lead/client/requests/GetLeadRequest.ts @@ -4,6 +4,7 @@ export interface GetLeadRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/lead/client/requests/GetLeadsRequest.ts b/src/api/resources/crm/resources/lead/client/requests/GetLeadsRequest.ts index e205bb8..91f1716 100644 --- a/src/api/resources/crm/resources/lead/client/requests/GetLeadsRequest.ts +++ b/src/api/resources/crm/resources/lead/client/requests/GetLeadsRequest.ts @@ -6,6 +6,7 @@ export interface GetLeadsRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/note/client/Client.ts b/src/api/resources/crm/resources/note/client/Client.ts index 6b8a3f7..af516b1 100644 --- a/src/api/resources/crm/resources/note/client/Client.ts +++ b/src/api/resources/crm/resources/note/client/Client.ts @@ -34,12 +34,16 @@ export class Note { request: Revert.crm.GetNoteRequest, requestOptions?: Note.RequestOptions ): Promise<Revert.crm.GetNoteResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Note { request: Revert.crm.GetNotesRequest, requestOptions?: Note.RequestOptions ): Promise<Revert.crm.GetNotesResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Note { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -444,7 +452,7 @@ export class Note { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/client/requests/GetNoteRequest.ts b/src/api/resources/crm/resources/note/client/requests/GetNoteRequest.ts index 58487bf..91d4d76 100644 --- a/src/api/resources/crm/resources/note/client/requests/GetNoteRequest.ts +++ b/src/api/resources/crm/resources/note/client/requests/GetNoteRequest.ts @@ -4,6 +4,7 @@ export interface GetNoteRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/note/client/requests/GetNotesRequest.ts b/src/api/resources/crm/resources/note/client/requests/GetNotesRequest.ts index 74e0fd5..d410eb5 100644 --- a/src/api/resources/crm/resources/note/client/requests/GetNotesRequest.ts +++ b/src/api/resources/crm/resources/note/client/requests/GetNotesRequest.ts @@ -6,6 +6,7 @@ export interface GetNotesRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/properties/client/Client.ts b/src/api/resources/crm/resources/properties/client/Client.ts index 36d8208..0c11226 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 d2e3988..f4cad75 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 eb3d150..62ae2a0 100644 --- a/src/api/resources/crm/resources/task/client/Client.ts +++ b/src/api/resources/crm/resources/task/client/Client.ts @@ -34,12 +34,16 @@ export class Task { request: Revert.crm.GetTaskRequest, requestOptions?: Task.RequestOptions ): Promise<Revert.crm.GetTaskResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class Task { request: Revert.crm.GetTasksRequest, requestOptions?: Task.RequestOptions ): Promise<Revert.crm.GetTasksResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class Task { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -338,7 +346,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -444,7 +452,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/requests/GetTaskRequest.ts b/src/api/resources/crm/resources/task/client/requests/GetTaskRequest.ts index 558516d..07e7456 100644 --- a/src/api/resources/crm/resources/task/client/requests/GetTaskRequest.ts +++ b/src/api/resources/crm/resources/task/client/requests/GetTaskRequest.ts @@ -4,6 +4,7 @@ export interface GetTaskRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/task/client/requests/GetTasksRequest.ts b/src/api/resources/crm/resources/task/client/requests/GetTasksRequest.ts index bc7bd80..3b8d54b 100644 --- a/src/api/resources/crm/resources/task/client/requests/GetTasksRequest.ts +++ b/src/api/resources/crm/resources/task/client/requests/GetTasksRequest.ts @@ -6,6 +6,7 @@ export interface GetTasksRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/user/client/Client.ts b/src/api/resources/crm/resources/user/client/Client.ts index 358be04..472044c 100644 --- a/src/api/resources/crm/resources/user/client/Client.ts +++ b/src/api/resources/crm/resources/user/client/Client.ts @@ -34,12 +34,16 @@ export class User { request: Revert.crm.GetUserRequest, requestOptions?: User.RequestOptions ): Promise<Revert.crm.GetUserResponse> { - const { fields, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -49,7 +53,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -130,7 +134,7 @@ export class User { request: Revert.crm.GetUsersRequest, requestOptions?: User.RequestOptions ): Promise<Revert.crm.GetUsersResponse> { - const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion } = request; + const { fields, pageSize, cursor, associations, xRevertApiToken, xRevertTId, xApiVersion } = request; const _queryParams: Record<string, string | string[]> = {}; if (fields != null) { _queryParams["fields"] = fields; @@ -144,6 +148,10 @@ export class User { _queryParams["cursor"] = cursor; } + if (associations != null) { + _queryParams["associations"] = associations; + } + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production, @@ -153,7 +161,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -244,7 +252,7 @@ export class User { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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/client/requests/GetUserRequest.ts b/src/api/resources/crm/resources/user/client/requests/GetUserRequest.ts index d8168b9..32d1068 100644 --- a/src/api/resources/crm/resources/user/client/requests/GetUserRequest.ts +++ b/src/api/resources/crm/resources/user/client/requests/GetUserRequest.ts @@ -4,6 +4,7 @@ export interface GetUserRequest { fields?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/crm/resources/user/client/requests/GetUsersRequest.ts b/src/api/resources/crm/resources/user/client/requests/GetUsersRequest.ts index 314f6de..81dc489 100644 --- a/src/api/resources/crm/resources/user/client/requests/GetUsersRequest.ts +++ b/src/api/resources/crm/resources/user/client/requests/GetUsersRequest.ts @@ -6,6 +6,7 @@ export interface GetUsersRequest { fields?: string; pageSize?: string; cursor?: string; + associations?: string; /** * Your official API key for accessing revert apis. */ diff --git a/src/api/resources/fieldMapping/client/Client.ts b/src/api/resources/fieldMapping/client/Client.ts index 46ab766..37bc337 100644 --- a/src/api/resources/fieldMapping/client/Client.ts +++ b/src/api/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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-public-token": xRevertPublicToken, "x-revert-t-id": xRevertTId, "x-revert-t-token": xRevertTToken, @@ -123,7 +123,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, }, @@ -212,7 +212,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-public-token": xRevertPublicToken, "x-revert-t-id": xRevertTId, "x-revert-t-token": xRevertTToken, @@ -305,7 +305,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, }, @@ -394,7 +394,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, }, contentType: "application/json", @@ -485,7 +485,7 @@ export class FieldMapping { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, }, contentType: "application/json", diff --git a/src/api/resources/metadata/client/Client.ts b/src/api/resources/metadata/client/Client.ts index 994fc62..6f29e7d 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-public-token": xRevertPublicToken, }, contentType: "application/json", diff --git a/src/api/resources/sync/client/Client.ts b/src/api/resources/sync/client/Client.ts index 58d7d9d..43a0619 100644 --- a/src/api/resources/sync/client/Client.ts +++ b/src/api/resources/sync/client/Client.ts @@ -44,7 +44,7 @@ export class Sync { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-connection-api-key": xConnectionApiKey != null ? xConnectionApiKey : undefined, diff --git a/src/api/resources/ticket/resources/collection/client/Client.ts b/src/api/resources/ticket/resources/collection/client/Client.ts index 09237ad..36d1c1a 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 dc11ee4..f33798e 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -249,7 +249,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -349,7 +349,7 @@ export class Comment { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 c99c2ee..a3c4bfa 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 39f9227..15815d1 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -248,7 +248,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, @@ -349,7 +349,7 @@ export class Task { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@revertdotdev/node", - "X-Fern-SDK-Version": "0.0.1066", + "X-Fern-SDK-Version": "0.0.1067", "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 fcdadc1..cd7cdd8 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.1066", + "X-Fern-SDK-Version": "0.0.1067", "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.1066", + "X-Fern-SDK-Version": "0.0.1067", "x-revert-api-token": xRevertApiToken, "x-revert-t-id": xRevertTId, "x-api-version": xApiVersion != null ? xApiVersion : undefined, diff --git a/yarn.lock b/yarn.lock index ff7a16d..fd1702e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -148,9 +148,9 @@ mime-types@^2.1.12: mime-db "1.52.0" object-inspect@^1.13.1: - version "1.13.1" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" - integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== prettier@2.7.1: version "2.7.1"