Skip to content

Commit 6dc093a

Browse files
committed
Release 0.0.860
1 parent 0c4dac5 commit 6dc093a

File tree

51 files changed

+221
-88
lines changed

Some content is hidden

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

51 files changed

+221
-88
lines changed

Diff for: package.json

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

Diff for: src/api/resources/chat/resources/channels/client/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class Channels {
5656
headers: {
5757
"X-Fern-Language": "JavaScript",
5858
"X-Fern-SDK-Name": "@revertdotdev/node",
59-
"X-Fern-SDK-Version": "0.0.853",
59+
"X-Fern-SDK-Version": "0.0.860",
6060
"x-revert-api-token": xRevertApiToken,
6161
"x-revert-t-id": xRevertTId,
6262
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/chat/resources/messages/client/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class Messages {
4444
headers: {
4545
"X-Fern-Language": "JavaScript",
4646
"X-Fern-SDK-Name": "@revertdotdev/node",
47-
"X-Fern-SDK-Version": "0.0.853",
47+
"X-Fern-SDK-Version": "0.0.860",
4848
"x-revert-api-token": xRevertApiToken,
4949
"x-revert-t-id": xRevertTId,
5050
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/chat/resources/users/client/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class Users {
5656
headers: {
5757
"X-Fern-Language": "JavaScript",
5858
"X-Fern-SDK-Name": "@revertdotdev/node",
59-
"X-Fern-SDK-Version": "0.0.853",
59+
"X-Fern-SDK-Version": "0.0.860",
6060
"x-revert-api-token": xRevertApiToken,
6161
"x-revert-t-id": xRevertTId,
6262
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/connection/client/Client.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Connection {
4343
headers: {
4444
"X-Fern-Language": "JavaScript",
4545
"X-Fern-SDK-Name": "@revertdotdev/node",
46-
"X-Fern-SDK-Version": "0.0.853",
46+
"X-Fern-SDK-Version": "0.0.860",
4747
"x-revert-api-token": xRevertApiToken,
4848
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
4949
"x-revert-t-id": xRevertTId,
@@ -133,7 +133,7 @@ export class Connection {
133133
headers: {
134134
"X-Fern-Language": "JavaScript",
135135
"X-Fern-SDK-Name": "@revertdotdev/node",
136-
"X-Fern-SDK-Version": "0.0.853",
136+
"X-Fern-SDK-Version": "0.0.860",
137137
"x-revert-api-token": xRevertApiToken,
138138
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
139139
"x-revert-t-id": xRevertTId,
@@ -223,7 +223,7 @@ export class Connection {
223223
headers: {
224224
"X-Fern-Language": "JavaScript",
225225
"X-Fern-SDK-Name": "@revertdotdev/node",
226-
"X-Fern-SDK-Version": "0.0.853",
226+
"X-Fern-SDK-Version": "0.0.860",
227227
"x-revert-api-token": xRevertApiToken,
228228
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
229229
},
@@ -312,7 +312,7 @@ export class Connection {
312312
headers: {
313313
"X-Fern-Language": "JavaScript",
314314
"X-Fern-SDK-Name": "@revertdotdev/node",
315-
"X-Fern-SDK-Version": "0.0.853",
315+
"X-Fern-SDK-Version": "0.0.860",
316316
"x-revert-api-token": xRevertApiToken,
317317
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
318318
"x-revert-t-id": xRevertTId,
@@ -405,7 +405,7 @@ export class Connection {
405405
headers: {
406406
"X-Fern-Language": "JavaScript",
407407
"X-Fern-SDK-Name": "@revertdotdev/node",
408-
"X-Fern-SDK-Version": "0.0.853",
408+
"X-Fern-SDK-Version": "0.0.860",
409409
"x-revert-api-token": xRevertApiToken,
410410
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
411411
"x-revert-t-id": xRevertTId,
@@ -495,7 +495,7 @@ export class Connection {
495495
headers: {
496496
"X-Fern-Language": "JavaScript",
497497
"X-Fern-SDK-Name": "@revertdotdev/node",
498-
"X-Fern-SDK-Version": "0.0.853",
498+
"X-Fern-SDK-Version": "0.0.860",
499499
"x-revert-api-token": xRevertApiToken,
500500
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
501501
"x-revert-t-id": xRevertTId,
@@ -587,7 +587,7 @@ export class Connection {
587587
headers: {
588588
"X-Fern-Language": "JavaScript",
589589
"X-Fern-SDK-Name": "@revertdotdev/node",
590-
"X-Fern-SDK-Version": "0.0.853",
590+
"X-Fern-SDK-Version": "0.0.860",
591591
"x-revert-api-token": xRevertApiToken,
592592
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
593593
},
@@ -668,7 +668,7 @@ export class Connection {
668668
headers: {
669669
"X-Fern-Language": "JavaScript",
670670
"X-Fern-SDK-Name": "@revertdotdev/node",
671-
"X-Fern-SDK-Version": "0.0.853",
671+
"X-Fern-SDK-Version": "0.0.860",
672672
"x-revert-api-token": xRevertApiToken,
673673
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
674674
"x-revert-t-id": xRevertTId,

Diff for: src/api/resources/crm/resources/company/client/Client.ts

+14-6
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Company {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "@revertdotdev/node",
52-
"X-Fern-SDK-Version": "0.0.853",
52+
"X-Fern-SDK-Version": "0.0.860",
5353
"x-revert-api-token": xRevertApiToken,
5454
"x-revert-t-id": xRevertTId,
5555
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -153,7 +153,7 @@ export class Company {
153153
headers: {
154154
"X-Fern-Language": "JavaScript",
155155
"X-Fern-SDK-Name": "@revertdotdev/node",
156-
"X-Fern-SDK-Version": "0.0.853",
156+
"X-Fern-SDK-Version": "0.0.860",
157157
"x-revert-api-token": xRevertApiToken,
158158
"x-revert-t-id": xRevertTId,
159159
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -244,7 +244,7 @@ export class Company {
244244
headers: {
245245
"X-Fern-Language": "JavaScript",
246246
"X-Fern-SDK-Name": "@revertdotdev/node",
247-
"X-Fern-SDK-Version": "0.0.853",
247+
"X-Fern-SDK-Version": "0.0.860",
248248
"x-revert-api-token": xRevertApiToken,
249249
"x-revert-t-id": xRevertTId,
250250
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -338,7 +338,7 @@ export class Company {
338338
headers: {
339339
"X-Fern-Language": "JavaScript",
340340
"X-Fern-SDK-Name": "@revertdotdev/node",
341-
"X-Fern-SDK-Version": "0.0.853",
341+
"X-Fern-SDK-Version": "0.0.860",
342342
"x-revert-api-token": xRevertApiToken,
343343
"x-revert-t-id": xRevertTId,
344344
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -419,12 +419,20 @@ export class Company {
419419
request: Revert.crm.SearchCompaniesRequest,
420420
requestOptions?: Company.RequestOptions
421421
): Promise<Revert.crm.SearchCompaniesResponse> {
422-
const { fields, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
422+
const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
423423
const _queryParams: Record<string, string | string[]> = {};
424424
if (fields != null) {
425425
_queryParams["fields"] = fields;
426426
}
427427

428+
if (pageSize != null) {
429+
_queryParams["pageSize"] = pageSize;
430+
}
431+
432+
if (cursor != null) {
433+
_queryParams["cursor"] = cursor;
434+
}
435+
428436
const _response = await core.fetcher({
429437
url: urlJoin(
430438
(await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production,
@@ -434,7 +442,7 @@ export class Company {
434442
headers: {
435443
"X-Fern-Language": "JavaScript",
436444
"X-Fern-SDK-Name": "@revertdotdev/node",
437-
"X-Fern-SDK-Version": "0.0.853",
445+
"X-Fern-SDK-Version": "0.0.860",
438446
"x-revert-api-token": xRevertApiToken,
439447
"x-revert-t-id": xRevertTId,
440448
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/crm/resources/company/client/requests/SearchCompaniesRequest.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
export interface SearchCompaniesRequest {
66
fields?: string;
7+
pageSize?: string;
8+
cursor?: string;
79
/**
810
* Your official API key for accessing revert apis.
911
*/

Diff for: src/api/resources/crm/resources/company/types/SearchCompaniesResponse.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ import * as Revert from "../../../../..";
66

77
export interface SearchCompaniesResponse {
88
status: Revert.common.ResponseStatus;
9+
next?: string;
10+
previous?: string;
911
results: Revert.common.Company[];
1012
}

Diff for: src/api/resources/crm/resources/contact/client/Client.ts

+14-6
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Contact {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "@revertdotdev/node",
52-
"X-Fern-SDK-Version": "0.0.853",
52+
"X-Fern-SDK-Version": "0.0.860",
5353
"x-revert-api-token": xRevertApiToken,
5454
"x-revert-t-id": xRevertTId,
5555
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -153,7 +153,7 @@ export class Contact {
153153
headers: {
154154
"X-Fern-Language": "JavaScript",
155155
"X-Fern-SDK-Name": "@revertdotdev/node",
156-
"X-Fern-SDK-Version": "0.0.853",
156+
"X-Fern-SDK-Version": "0.0.860",
157157
"x-revert-api-token": xRevertApiToken,
158158
"x-revert-t-id": xRevertTId,
159159
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -245,7 +245,7 @@ export class Contact {
245245
headers: {
246246
"X-Fern-Language": "JavaScript",
247247
"X-Fern-SDK-Name": "@revertdotdev/node",
248-
"X-Fern-SDK-Version": "0.0.853",
248+
"X-Fern-SDK-Version": "0.0.860",
249249
"x-revert-api-token": xRevertApiToken,
250250
"x-revert-t-id": xRevertTId,
251251
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -349,7 +349,7 @@ export class Contact {
349349
headers: {
350350
"X-Fern-Language": "JavaScript",
351351
"X-Fern-SDK-Name": "@revertdotdev/node",
352-
"X-Fern-SDK-Version": "0.0.853",
352+
"X-Fern-SDK-Version": "0.0.860",
353353
"x-revert-api-token": xRevertApiToken,
354354
"x-revert-t-id": xRevertTId,
355355
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -441,12 +441,20 @@ export class Contact {
441441
request: Revert.crm.SearchContactsRequest,
442442
requestOptions?: Contact.RequestOptions
443443
): Promise<Revert.crm.SearchContactsResponse> {
444-
const { fields, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
444+
const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
445445
const _queryParams: Record<string, string | string[]> = {};
446446
if (fields != null) {
447447
_queryParams["fields"] = fields;
448448
}
449449

450+
if (pageSize != null) {
451+
_queryParams["pageSize"] = pageSize;
452+
}
453+
454+
if (cursor != null) {
455+
_queryParams["cursor"] = cursor;
456+
}
457+
450458
const _response = await core.fetcher({
451459
url: urlJoin(
452460
(await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production,
@@ -456,7 +464,7 @@ export class Contact {
456464
headers: {
457465
"X-Fern-Language": "JavaScript",
458466
"X-Fern-SDK-Name": "@revertdotdev/node",
459-
"X-Fern-SDK-Version": "0.0.853",
467+
"X-Fern-SDK-Version": "0.0.860",
460468
"x-revert-api-token": xRevertApiToken,
461469
"x-revert-t-id": xRevertTId,
462470
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/crm/resources/contact/client/requests/SearchContactsRequest.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
export interface SearchContactsRequest {
66
fields?: string;
7+
pageSize?: string;
8+
cursor?: string;
79
/**
810
* Your official API key for accessing revert apis.
911
*/

Diff for: src/api/resources/crm/resources/contact/types/SearchContactsResponse.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ import * as Revert from "../../../../..";
66

77
export interface SearchContactsResponse {
88
status: Revert.common.ResponseStatus;
9+
next?: string;
10+
previous?: string;
911
results: Revert.common.Contact[];
1012
}

Diff for: src/api/resources/crm/resources/deal/client/Client.ts

+14-6
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Deal {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "@revertdotdev/node",
52-
"X-Fern-SDK-Version": "0.0.853",
52+
"X-Fern-SDK-Version": "0.0.860",
5353
"x-revert-api-token": xRevertApiToken,
5454
"x-revert-t-id": xRevertTId,
5555
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -153,7 +153,7 @@ export class Deal {
153153
headers: {
154154
"X-Fern-Language": "JavaScript",
155155
"X-Fern-SDK-Name": "@revertdotdev/node",
156-
"X-Fern-SDK-Version": "0.0.853",
156+
"X-Fern-SDK-Version": "0.0.860",
157157
"x-revert-api-token": xRevertApiToken,
158158
"x-revert-t-id": xRevertTId,
159159
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -244,7 +244,7 @@ export class Deal {
244244
headers: {
245245
"X-Fern-Language": "JavaScript",
246246
"X-Fern-SDK-Name": "@revertdotdev/node",
247-
"X-Fern-SDK-Version": "0.0.853",
247+
"X-Fern-SDK-Version": "0.0.860",
248248
"x-revert-api-token": xRevertApiToken,
249249
"x-revert-t-id": xRevertTId,
250250
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -338,7 +338,7 @@ export class Deal {
338338
headers: {
339339
"X-Fern-Language": "JavaScript",
340340
"X-Fern-SDK-Name": "@revertdotdev/node",
341-
"X-Fern-SDK-Version": "0.0.853",
341+
"X-Fern-SDK-Version": "0.0.860",
342342
"x-revert-api-token": xRevertApiToken,
343343
"x-revert-t-id": xRevertTId,
344344
"x-api-version": xApiVersion != null ? xApiVersion : undefined,
@@ -421,12 +421,20 @@ export class Deal {
421421
request: Revert.crm.SearchDealsRequest,
422422
requestOptions?: Deal.RequestOptions
423423
): Promise<Revert.crm.SearchDealsResponse> {
424-
const { fields, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
424+
const { fields, pageSize, cursor, xRevertApiToken, xRevertTId, xApiVersion, ..._body } = request;
425425
const _queryParams: Record<string, string | string[]> = {};
426426
if (fields != null) {
427427
_queryParams["fields"] = fields;
428428
}
429429

430+
if (pageSize != null) {
431+
_queryParams["pageSize"] = pageSize;
432+
}
433+
434+
if (cursor != null) {
435+
_queryParams["cursor"] = cursor;
436+
}
437+
430438
const _response = await core.fetcher({
431439
url: urlJoin(
432440
(await core.Supplier.get(this._options.environment)) ?? environments.RevertEnvironment.Production,
@@ -436,7 +444,7 @@ export class Deal {
436444
headers: {
437445
"X-Fern-Language": "JavaScript",
438446
"X-Fern-SDK-Name": "@revertdotdev/node",
439-
"X-Fern-SDK-Version": "0.0.853",
447+
"X-Fern-SDK-Version": "0.0.860",
440448
"x-revert-api-token": xRevertApiToken,
441449
"x-revert-t-id": xRevertTId,
442450
"x-api-version": xApiVersion != null ? xApiVersion : undefined,

Diff for: src/api/resources/crm/resources/deal/client/requests/SearchDealsRequest.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
export interface SearchDealsRequest {
66
fields?: string;
7+
pageSize?: string;
8+
cursor?: string;
79
/**
810
* Your official API key for accessing revert apis.
911
*/

Diff for: src/api/resources/crm/resources/deal/types/SearchDealsResponse.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ import * as Revert from "../../../../..";
66

77
export interface SearchDealsResponse {
88
status: Revert.common.ResponseStatus;
9+
next?: string;
10+
previous?: string;
911
results: Revert.common.Deal[];
1012
}

0 commit comments

Comments
 (0)