Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Feb 15, 2024
1 parent 4ca9614 commit 8050640
Show file tree
Hide file tree
Showing 239 changed files with 1,168 additions and 816 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.5",
"version": "1.0.6",
"private": false,
"repository": "https://github.com/merge-api/merge-node-client",
"main": "./index.js",
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.5",
"X-Fern-SDK-Version": "1.0.6",
},
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 @@ -27,6 +27,9 @@ export class AccountToken {

/**
* Returns the account token for the end user with the provided public token.
*
* @example
* await merge.accounting.accountToken.retrieve("string")
*/
public async retrieve(
publicToken: string,
Expand All @@ -46,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.5",
"X-Fern-SDK-Version": "1.0.6",
},
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.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -109,7 +109,7 @@ export class AccountingPeriods {
* Returns an `AccountingPeriod` object with the given `id`.
*
* @example
* await merge.accounting.accountingPeriods.retrieve("id", {})
* await merge.accounting.accountingPeriods.retrieve("string", {})
*/
public async retrieve(
id: string,
Expand All @@ -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.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
13 changes: 8 additions & 5 deletions src/api/resources/accounting/resources/accounts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -167,7 +167,10 @@ export class Accounts {
* model: {
* name: "Cash",
* description: "Cash",
* classification: undefined,
* type: "Asset",
* status: undefined,
* currency: undefined,
* accountNumber: "X12Y9AB",
* parentAccount: "22d92d6c-22f9-11ed-861d-0242ac120002",
* company: "595c8f97-2ac4-45b7-b000-41bdf43240b5"
Expand Down Expand Up @@ -202,7 +205,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -247,7 +250,7 @@ export class Accounts {
* Returns an `Account` object with the given `id`.
*
* @example
* await merge.accounting.accounts.retrieve("id", {
* await merge.accounting.accounts.retrieve("string", {
* expand: "company",
* remoteFields: Merge.accounting.AccountsRetrieveRequestRemoteFields.Classification,
* showEnumOrigins: Merge.accounting.AccountsRetrieveRequestShowEnumOrigins.Classification
Expand Down Expand Up @@ -290,7 +293,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -349,7 +352,7 @@ export class Accounts {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
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 @@ -10,7 +10,10 @@ import * as Merge from "../../../../../..";
* model: {
* name: "Cash",
* description: "Cash",
* classification: undefined,
* type: "Asset",
* status: undefined,
* currency: undefined,
* accountNumber: "X12Y9AB",
* parentAccount: "22d92d6c-22f9-11ed-861d-0242ac120002",
* company: "595c8f97-2ac4-45b7-b000-41bdf43240b5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Addresses {
* Returns an `Address` object with the given `id`.
*
* @example
* await merge.accounting.addresses.retrieve("id", {
* await merge.accounting.addresses.retrieve("string", {
* remoteFields: "type",
* showEnumOrigins: "type"
* })
Expand Down Expand Up @@ -67,7 +67,7 @@ export class Addresses {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ export class AsyncPassthrough {
* method: Merge.accounting.MethodEnum.Get,
* path: "/scooters",
* data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}",
* multipartFormData: [{
* name: "resume",
* data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=",
* fileName: "resume.pdf",
* contentType: "application/pdf"
* }],
* requestFormat: Merge.accounting.RequestFormatEnum.Json
* })
*/
Expand All @@ -60,7 +54,7 @@ export class AsyncPassthrough {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
Expand Down Expand Up @@ -102,6 +96,9 @@ export class AsyncPassthrough {

/**
* Retrieves data from earlier async-passthrough POST request
*
* @example
* await merge.accounting.asyncPassthrough.retrieve("string")
*/
public async retrieve(
asyncPassthroughReceiptId: string,
Expand All @@ -121,7 +118,7 @@ export class AsyncPassthrough {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
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.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -180,7 +180,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -225,7 +225,7 @@ export class Attachments {
* Returns an `AccountingAttachment` object with the given `id`.
*
* @example
* await merge.accounting.attachments.retrieve("id", {})
* await merge.accounting.attachments.retrieve("string", {})
*/
public async retrieve(
id: string,
Expand All @@ -252,7 +252,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -311,7 +311,7 @@ export class Attachments {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
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.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class AvailableActions {

/**
* Returns a list of models and actions available for an account.
*
* @example
* await merge.accounting.availableActions.retrieve()
*/
public async retrieve(
requestOptions?: AvailableActions.RequestOptions
Expand All @@ -45,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.5",
"X-Fern-SDK-Version": "1.0.6",
},
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 @@ -109,7 +109,7 @@ export class BalanceSheets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -151,7 +151,7 @@ export class BalanceSheets {
* Returns a `BalanceSheet` object with the given `id`.
*
* @example
* await merge.accounting.balanceSheets.retrieve("id", {
* await merge.accounting.balanceSheets.retrieve("string", {
* expand: "company"
* })
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ export class BalanceSheets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class CashFlowStatements {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -151,7 +151,7 @@ export class CashFlowStatements {
* Returns a `CashFlowStatement` object with the given `id`.
*
* @example
* await merge.accounting.cashFlowStatements.retrieve("id", {
* await merge.accounting.cashFlowStatements.retrieve("string", {
* expand: "company"
* })
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ export class CashFlowStatements {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class CompanyInfo {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -146,7 +146,7 @@ export class CompanyInfo {
* Returns a `CompanyInfo` object with the given `id`.
*
* @example
* await merge.accounting.companyInfo.retrieve("id", {
* await merge.accounting.companyInfo.retrieve("string", {
* expand: Merge.accounting.CompanyInfoRetrieveRequestExpand.Addresses
* })
*/
Expand Down Expand Up @@ -179,7 +179,7 @@ export class CompanyInfo {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
"X-Fern-SDK-Version": "1.0.5",
"X-Fern-SDK-Version": "1.0.6",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
Loading

0 comments on commit 8050640

Please sign in to comment.