Skip to content

Commit

Permalink
May 2024 SDK bump (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored May 22, 2024
1 parent c0d7f68 commit 10b6966
Show file tree
Hide file tree
Showing 611 changed files with 1,527 additions and 5,083 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mergeapi/merge-node-client",
"version": "1.0.7",
"version": "1.0.8",
"private": false,
"repository": "https://github.com/merge-api/merge-node-client",
"main": "./index.js",
Expand Down
14 changes: 7 additions & 7 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import * as environments from "./environments";
import * as core from "./core";
import { Filestorage } from "./api/resources/filestorage/client/Client";
import { Crm } from "./api/resources/crm/client/Client";
import { Ticketing } from "./api/resources/ticketing/client/Client";
import { Hris } from "./api/resources/hris/client/Client";
import { Ticketing } from "./api/resources/ticketing/client/Client";
import { Ats } from "./api/resources/ats/client/Client";
import { Accounting } from "./api/resources/accounting/client/Client";

Expand Down Expand Up @@ -39,18 +39,18 @@ export class MergeClient {
return (this._crm ??= new Crm(this._options));
}

protected _ticketing: Ticketing | undefined;

public get ticketing(): Ticketing {
return (this._ticketing ??= new Ticketing(this._options));
}

protected _hris: Hris | undefined;

public get hris(): Hris {
return (this._hris ??= new Hris(this._options));
}

protected _ticketing: Ticketing | undefined;

public get ticketing(): Ticketing {
return (this._ticketing ??= new Ticketing(this._options));
}

protected _ats: Ats | undefined;

public get ats(): Ats {
Expand Down
7 changes: 0 additions & 7 deletions src/api/resources/accounting/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import { Payments } from "../resources/payments/client/Client";
import { PhoneNumbers } from "../resources/phoneNumbers/client/Client";
import { PurchaseOrders } from "../resources/purchaseOrders/client/Client";
import { RegenerateKey } from "../resources/regenerateKey/client/Client";
import { SelectiveSync } from "../resources/selectiveSync/client/Client";
import { SyncStatus } from "../resources/syncStatus/client/Client";
import { ForceResync } from "../resources/forceResync/client/Client";
import { TaxRates } from "../resources/taxRates/client/Client";
Expand Down Expand Up @@ -246,12 +245,6 @@ export class Accounting {
return (this._regenerateKey ??= new RegenerateKey(this._options));
}

protected _selectiveSync: SelectiveSync | undefined;

public get selectiveSync(): SelectiveSync {
return (this._selectiveSync ??= new SelectiveSync(this._options));
}

protected _syncStatus: SyncStatus | undefined;

public get syncStatus(): SyncStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class AccountDetails {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class AccountToken {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class AccountingPeriods {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -136,7 +136,7 @@ export class AccountingPeriods {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -191,7 +191,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -275,7 +275,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -334,7 +334,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class Addresses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class AsyncPassthrough {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
Expand Down Expand Up @@ -116,7 +116,7 @@ export class AsyncPassthrough {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -176,7 +176,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -248,7 +248,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -307,7 +307,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class AuditTrail {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface AuditTrailListRequest {
*/
endDate?: string;
/**
* If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`
* If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`
*/
eventType?: string;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class AvailableActions {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class BalanceSheets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -180,7 +180,7 @@ export class BalanceSheets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class CashFlowStatements {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -180,7 +180,7 @@ export class CashFlowStatements {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class CompanyInfo {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -175,7 +175,7 @@ export class CompanyInfo {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class Contacts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -201,7 +201,7 @@ export class Contacts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -285,7 +285,7 @@ export class Contacts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -344,7 +344,7 @@ export class Contacts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class CreditNotes {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -208,7 +208,7 @@ export class CreditNotes {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class DeleteAccount {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class Expenses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -191,7 +191,7 @@ export class Expenses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -267,7 +267,7 @@ export class Expenses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -326,7 +326,7 @@ export class Expenses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.7",
"X-Fern-SDK-Version": "1.0.8",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
Loading

0 comments on commit 10b6966

Please sign in to comment.