diff --git a/package.json b/package.json index ee03ceb2..f0bc4aba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mergeapi/merge-node-client", - "version": "1.0.10", + "version": "1.0.11", "private": false, "repository": "https://github.com/merge-api/merge-node-client", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index 0d06bb27..6d6873d6 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -5,10 +5,10 @@ import * as environments from "./environments"; import * as core from "./core"; import { Filestorage } from "./api/resources/filestorage/client/Client"; +import { Ticketing } from "./api/resources/ticketing/client/Client"; import { Ats } from "./api/resources/ats/client/Client"; import { Crm } from "./api/resources/crm/client/Client"; import { Hris } from "./api/resources/hris/client/Client"; -import { Ticketing } from "./api/resources/ticketing/client/Client"; import { Accounting } from "./api/resources/accounting/client/Client"; export declare namespace MergeClient { @@ -33,6 +33,12 @@ export class MergeClient { return (this._filestorage ??= new Filestorage(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 { @@ -51,12 +57,6 @@ export class MergeClient { return (this._hris ??= new Hris(this._options)); } - protected _ticketing: Ticketing | undefined; - - public get ticketing(): Ticketing { - return (this._ticketing ??= new Ticketing(this._options)); - } - protected _accounting: Accounting | undefined; public get accounting(): Accounting { diff --git a/src/api/resources/accounting/resources/accountDetails/client/Client.ts b/src/api/resources/accounting/resources/accountDetails/client/Client.ts index 1a25101d..10d6b402 100644 --- a/src/api/resources/accounting/resources/accountDetails/client/Client.ts +++ b/src/api/resources/accounting/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/accountToken/client/Client.ts b/src/api/resources/accounting/resources/accountToken/client/Client.ts index b20727ec..7e9442a2 100644 --- a/src/api/resources/accounting/resources/accountToken/client/Client.ts +++ b/src/api/resources/accounting/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts index d91288b2..f6fd631e 100644 --- a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts +++ b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts @@ -71,7 +71,7 @@ export class AccountingPeriods { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -141,7 +141,7 @@ export class AccountingPeriods { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/accounts/client/Client.ts b/src/api/resources/accounting/resources/accounts/client/Client.ts index 9f4789fd..117db7c8 100644 --- a/src/api/resources/accounting/resources/accounts/client/Client.ts +++ b/src/api/resources/accounting/resources/accounts/client/Client.ts @@ -122,7 +122,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -197,7 +197,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -282,7 +282,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -342,7 +342,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/addresses/client/Client.ts b/src/api/resources/accounting/resources/addresses/client/Client.ts index e3c2b5a0..708ac324 100644 --- a/src/api/resources/accounting/resources/addresses/client/Client.ts +++ b/src/api/resources/accounting/resources/addresses/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts b/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts index 55afeb3e..ab919086 100644 --- a/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/attachments/client/Client.ts b/src/api/resources/accounting/resources/attachments/client/Client.ts index 2e3962bf..17df5982 100644 --- a/src/api/resources/accounting/resources/attachments/client/Client.ts +++ b/src/api/resources/accounting/resources/attachments/client/Client.ts @@ -107,7 +107,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -255,7 +255,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -315,7 +315,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/auditTrail/client/Client.ts b/src/api/resources/accounting/resources/auditTrail/client/Client.ts index 7a53c06e..ad3b89a6 100644 --- a/src/api/resources/accounting/resources/auditTrail/client/Client.ts +++ b/src/api/resources/accounting/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/availableActions/client/Client.ts b/src/api/resources/accounting/resources/availableActions/client/Client.ts index 60582844..3c37de77 100644 --- a/src/api/resources/accounting/resources/availableActions/client/Client.ts +++ b/src/api/resources/accounting/resources/availableActions/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts index 2ae80762..785f95c2 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts @@ -112,7 +112,7 @@ export class BalanceSheets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -186,7 +186,7 @@ export class BalanceSheets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts index f886318b..150fd5c5 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts @@ -112,7 +112,7 @@ export class CashFlowStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -186,7 +186,7 @@ export class CashFlowStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/companyInfo/client/Client.ts b/src/api/resources/accounting/resources/companyInfo/client/Client.ts index 627666cf..7421517b 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/Client.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/Client.ts @@ -107,7 +107,7 @@ export class CompanyInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +181,7 @@ export class CompanyInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/contacts/client/Client.ts b/src/api/resources/accounting/resources/contacts/client/Client.ts index 3c93ab8b..7ba6f340 100644 --- a/src/api/resources/accounting/resources/contacts/client/Client.ts +++ b/src/api/resources/accounting/resources/contacts/client/Client.ts @@ -137,7 +137,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -212,7 +212,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -301,7 +301,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -361,7 +361,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -450,7 +450,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/creditNotes/client/Client.ts b/src/api/resources/accounting/resources/creditNotes/client/Client.ts index eb5637b1..341190c1 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/Client.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/Client.ts @@ -132,7 +132,7 @@ export class CreditNotes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -214,7 +214,7 @@ export class CreditNotes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/deleteAccount/client/Client.ts b/src/api/resources/accounting/resources/deleteAccount/client/Client.ts index ca6d6126..1acbbc26 100644 --- a/src/api/resources/accounting/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/accounting/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/expenses/client/Client.ts b/src/api/resources/accounting/resources/expenses/client/Client.ts index 0120f254..36a648f6 100644 --- a/src/api/resources/accounting/resources/expenses/client/Client.ts +++ b/src/api/resources/accounting/resources/expenses/client/Client.ts @@ -127,7 +127,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -202,7 +202,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -283,7 +283,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -373,7 +373,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -433,7 +433,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -522,7 +522,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/fieldMapping/client/Client.ts b/src/api/resources/accounting/resources/fieldMapping/client/Client.ts index 2e5691c7..b1394ab8 100644 --- a/src/api/resources/accounting/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/accounting/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/forceResync/client/Client.ts b/src/api/resources/accounting/resources/forceResync/client/Client.ts index c3a6ea68..225fda89 100644 --- a/src/api/resources/accounting/resources/forceResync/client/Client.ts +++ b/src/api/resources/accounting/resources/forceResync/client/Client.ts @@ -48,7 +48,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/generateKey/client/Client.ts b/src/api/resources/accounting/resources/generateKey/client/Client.ts index 10370693..03e5842b 100644 --- a/src/api/resources/accounting/resources/generateKey/client/Client.ts +++ b/src/api/resources/accounting/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts index a38a5787..b2db6775 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts @@ -112,7 +112,7 @@ export class IncomeStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -186,7 +186,7 @@ export class IncomeStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/invoices/client/Client.ts b/src/api/resources/accounting/resources/invoices/client/Client.ts index 1bc77f95..a491e257 100644 --- a/src/api/resources/accounting/resources/invoices/client/Client.ts +++ b/src/api/resources/accounting/resources/invoices/client/Client.ts @@ -147,7 +147,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -222,7 +222,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -311,7 +311,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -387,7 +387,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -480,7 +480,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -543,7 +543,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -602,7 +602,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -691,7 +691,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/issues/client/Client.ts b/src/api/resources/accounting/resources/issues/client/Client.ts index 96ec7fff..cf2d5e1c 100644 --- a/src/api/resources/accounting/resources/issues/client/Client.ts +++ b/src/api/resources/accounting/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/accounting/resources/items/client/Client.ts b/src/api/resources/accounting/resources/items/client/Client.ts index 252ea4d1..1608069c 100644 --- a/src/api/resources/accounting/resources/items/client/Client.ts +++ b/src/api/resources/accounting/resources/items/client/Client.ts @@ -122,7 +122,7 @@ export class Items { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +204,7 @@ export class Items { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/journalEntries/client/Client.ts b/src/api/resources/accounting/resources/journalEntries/client/Client.ts index e308d178..6062e522 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/Client.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/Client.ts @@ -127,7 +127,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -202,7 +202,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -283,7 +283,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -373,7 +373,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -435,7 +435,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -524,7 +524,7 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/linkToken/client/Client.ts b/src/api/resources/accounting/resources/linkToken/client/Client.ts index d608c504..ce436e87 100644 --- a/src/api/resources/accounting/resources/linkToken/client/Client.ts +++ b/src/api/resources/accounting/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.EndUserDetailsRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts index 09062172..b21e8d5a 100644 --- a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/passthrough/client/Client.ts b/src/api/resources/accounting/resources/passthrough/client/Client.ts index da54935c..c5fab411 100644 --- a/src/api/resources/accounting/resources/passthrough/client/Client.ts +++ b/src/api/resources/accounting/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/resources/payments/client/Client.ts b/src/api/resources/accounting/resources/payments/client/Client.ts index e9b0187f..afc685b8 100644 --- a/src/api/resources/accounting/resources/payments/client/Client.ts +++ b/src/api/resources/accounting/resources/payments/client/Client.ts @@ -137,7 +137,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -212,7 +212,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -293,7 +293,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -369,7 +369,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -462,7 +462,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -525,7 +525,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -584,7 +584,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -673,7 +673,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts b/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts index 37642296..7cea6e9b 100644 --- a/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts +++ b/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts @@ -56,7 +56,7 @@ export class PhoneNumbers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts index 6f12df88..14e77b99 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts @@ -137,7 +137,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -212,7 +212,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -301,7 +301,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -391,7 +391,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -453,7 +453,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -542,7 +542,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/regenerateKey/client/Client.ts b/src/api/resources/accounting/resources/regenerateKey/client/Client.ts index 54f32ace..e39cd7bb 100644 --- a/src/api/resources/accounting/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/accounting/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/resources/scopes/client/Client.ts b/src/api/resources/accounting/resources/scopes/client/Client.ts index 1dcd6b99..7790f1e6 100644 --- a/src/api/resources/accounting/resources/scopes/client/Client.ts +++ b/src/api/resources/accounting/resources/scopes/client/Client.ts @@ -48,7 +48,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -109,7 +109,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -190,7 +190,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/resources/syncStatus/client/Client.ts b/src/api/resources/accounting/resources/syncStatus/client/Client.ts index 9a01e53f..c651140c 100644 --- a/src/api/resources/accounting/resources/syncStatus/client/Client.ts +++ b/src/api/resources/accounting/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/taxRates/client/Client.ts b/src/api/resources/accounting/resources/taxRates/client/Client.ts index 5e40152e..e86915db 100644 --- a/src/api/resources/accounting/resources/taxRates/client/Client.ts +++ b/src/api/resources/accounting/resources/taxRates/client/Client.ts @@ -112,7 +112,7 @@ export class TaxRates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -186,7 +186,7 @@ export class TaxRates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts index c6238603..c9eb8f67 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts @@ -122,7 +122,7 @@ export class TrackingCategories { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +204,7 @@ export class TrackingCategories { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/transactions/client/Client.ts b/src/api/resources/accounting/resources/transactions/client/Client.ts index 9282b4c3..9a3d23ae 100644 --- a/src/api/resources/accounting/resources/transactions/client/Client.ts +++ b/src/api/resources/accounting/resources/transactions/client/Client.ts @@ -122,7 +122,7 @@ export class Transactions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -196,7 +196,7 @@ export class Transactions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts index 3a5d034d..1772377f 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts @@ -122,7 +122,7 @@ export class VendorCredits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -196,7 +196,7 @@ export class VendorCredits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts b/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts index d812918f..6539a46f 100644 --- a/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.accounting.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts b/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts index e6aad5b5..a14bbb5e 100644 --- a/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts +++ b/src/api/resources/accounting/types/ExternalTargetFieldApiResponse.ts @@ -25,4 +25,5 @@ export interface ExternalTargetFieldApiResponse { transaction?: Merge.accounting.ExternalTargetFieldApi[]; accountingPeriod?: Merge.accounting.ExternalTargetFieldApi[]; generalLedgerTransaction?: Merge.accounting.ExternalTargetFieldApi[]; + bankFeedAccount?: Merge.accounting.ExternalTargetFieldApi[]; } diff --git a/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts b/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts index b64e431f..2fd9d964 100644 --- a/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts +++ b/src/api/resources/accounting/types/FieldMappingApiInstanceResponse.ts @@ -25,4 +25,5 @@ export interface FieldMappingApiInstanceResponse { transaction?: Merge.accounting.FieldMappingApiInstance[]; accountingPeriod?: Merge.accounting.FieldMappingApiInstance[]; generalLedgerTransaction?: Merge.accounting.FieldMappingApiInstance[]; + bankFeedAccount?: Merge.accounting.FieldMappingApiInstance[]; } diff --git a/src/api/resources/accounting/types/RemoteFieldApiResponse.ts b/src/api/resources/accounting/types/RemoteFieldApiResponse.ts index 2eaf840a..e71c2e9c 100644 --- a/src/api/resources/accounting/types/RemoteFieldApiResponse.ts +++ b/src/api/resources/accounting/types/RemoteFieldApiResponse.ts @@ -25,4 +25,5 @@ export interface RemoteFieldApiResponse { transaction?: Merge.accounting.RemoteFieldApi[]; accountingPeriod?: Merge.accounting.RemoteFieldApi[]; generalLedgerTransaction?: Merge.accounting.RemoteFieldApi[]; + bankFeedAccount?: Merge.accounting.RemoteFieldApi[]; } diff --git a/src/api/resources/accounting/types/ReportItem.ts b/src/api/resources/accounting/types/ReportItem.ts index e715d446..19632271 100644 --- a/src/api/resources/accounting/types/ReportItem.ts +++ b/src/api/resources/accounting/types/ReportItem.ts @@ -27,4 +27,6 @@ export interface ReportItem { subItems?: Record[]; /** The company the report item belongs to. */ company?: string; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ + remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/resources/accountDetails/client/Client.ts b/src/api/resources/ats/resources/accountDetails/client/Client.ts index 28161a49..d00313fc 100644 --- a/src/api/resources/ats/resources/accountDetails/client/Client.ts +++ b/src/api/resources/ats/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/accountToken/client/Client.ts b/src/api/resources/ats/resources/accountToken/client/Client.ts index dfc5eef3..e9b5e116 100644 --- a/src/api/resources/ats/resources/accountToken/client/Client.ts +++ b/src/api/resources/ats/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/activities/client/Client.ts b/src/api/resources/ats/resources/activities/client/Client.ts index 301ef2d0..43a26a56 100644 --- a/src/api/resources/ats/resources/activities/client/Client.ts +++ b/src/api/resources/ats/resources/activities/client/Client.ts @@ -42,6 +42,7 @@ export class Activities { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -75,6 +76,10 @@ export class Activities { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -193,7 +198,7 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -276,7 +281,7 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -336,7 +341,7 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts b/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts index 9cc25b38..15e62d20 100644 --- a/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts +++ b/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts @@ -26,13 +26,17 @@ export interface ActivitiesListRequest { */ expand?: "user"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/applications/client/Client.ts b/src/api/resources/ats/resources/applications/client/Client.ts index 59bc9e97..b3929296 100644 --- a/src/api/resources/ats/resources/applications/client/Client.ts +++ b/src/api/resources/ats/resources/applications/client/Client.ts @@ -45,6 +45,7 @@ export class Applications { expand, includeDeletedData, includeRemoteData, + includeShellData, jobId, modifiedAfter, modifiedBefore, @@ -90,6 +91,10 @@ export class Applications { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (jobId != null) { _queryParams["job_id"] = jobId; } @@ -132,7 +137,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -208,7 +213,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -285,7 +290,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -359,7 +364,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -431,7 +436,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts b/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts index 89b5a7fb..319c1efd 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts @@ -38,13 +38,17 @@ export interface ApplicationsListRequest { */ expand?: Merge.ats.ApplicationsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return applications for this job. */ diff --git a/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts b/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts index 31231f8e..5c8d55b0 100644 --- a/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/attachments/client/Client.ts b/src/api/resources/ats/resources/attachments/client/Client.ts index 40a9bc53..4908e913 100644 --- a/src/api/resources/ats/resources/attachments/client/Client.ts +++ b/src/api/resources/ats/resources/attachments/client/Client.ts @@ -43,6 +43,7 @@ export class Attachments { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -79,6 +80,10 @@ export class Attachments { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -193,7 +198,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -278,7 +283,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -338,7 +343,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts index eacb2deb..1c22c49d 100644 --- a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -28,13 +28,17 @@ export interface AttachmentsListRequest { */ expand?: "candidate"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/auditTrail/client/Client.ts b/src/api/resources/ats/resources/auditTrail/client/Client.ts index 07e3308b..5cb66440 100644 --- a/src/api/resources/ats/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ats/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/availableActions/client/Client.ts b/src/api/resources/ats/resources/availableActions/client/Client.ts index 4f5a4825..d0b45d37 100644 --- a/src/api/resources/ats/resources/availableActions/client/Client.ts +++ b/src/api/resources/ats/resources/availableActions/client/Client.ts @@ -46,7 +46,7 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/candidates/client/Client.ts b/src/api/resources/ats/resources/candidates/client/Client.ts index f3ca7c9f..7c884338 100644 --- a/src/api/resources/ats/resources/candidates/client/Client.ts +++ b/src/api/resources/ats/resources/candidates/client/Client.ts @@ -44,6 +44,7 @@ export class Candidates { firstName, includeDeletedData, includeRemoteData, + includeShellData, lastName, modifiedAfter, modifiedBefore, @@ -84,6 +85,10 @@ export class Candidates { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (lastName != null) { _queryParams["last_name"] = lastName; } @@ -122,7 +127,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -198,7 +203,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -275,7 +280,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -352,7 +357,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -421,7 +426,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.IgnoreCommonModelRequest.jsonOrThrow(request, { @@ -480,7 +485,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -539,7 +544,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts b/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts index 88c722c3..3adcd606 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts @@ -34,13 +34,17 @@ export interface CandidatesListRequest { */ firstName?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return candidates with this last name. */ diff --git a/src/api/resources/ats/resources/deleteAccount/client/Client.ts b/src/api/resources/ats/resources/deleteAccount/client/Client.ts index a010fdf5..0e1bb394 100644 --- a/src/api/resources/ats/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/ats/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/departments/client/Client.ts b/src/api/resources/ats/resources/departments/client/Client.ts index 3e5d6b6c..9d247ab6 100644 --- a/src/api/resources/ats/resources/departments/client/Client.ts +++ b/src/api/resources/ats/resources/departments/client/Client.ts @@ -41,6 +41,7 @@ export class Departments { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Departments { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Departments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Departments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts b/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts index 0b1187c1..1de96030 100644 --- a/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts +++ b/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts @@ -20,13 +20,17 @@ export interface DepartmentsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/eeocs/client/Client.ts b/src/api/resources/ats/resources/eeocs/client/Client.ts index e2631555..3fd24fc6 100644 --- a/src/api/resources/ats/resources/eeocs/client/Client.ts +++ b/src/api/resources/ats/resources/eeocs/client/Client.ts @@ -43,6 +43,7 @@ export class Eeocs { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -79,6 +80,10 @@ export class Eeocs { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Eeocs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -199,7 +204,7 @@ export class Eeocs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts b/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts index 3b0a8d3f..078f6cb5 100644 --- a/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts +++ b/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts @@ -30,13 +30,17 @@ export interface EeocsListRequest { */ expand?: "candidate"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/fieldMapping/client/Client.ts b/src/api/resources/ats/resources/fieldMapping/client/Client.ts index 9d5ec227..80f72fdf 100644 --- a/src/api/resources/ats/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/ats/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/forceResync/client/Client.ts b/src/api/resources/ats/resources/forceResync/client/Client.ts index 4c4a6adc..3966c22a 100644 --- a/src/api/resources/ats/resources/forceResync/client/Client.ts +++ b/src/api/resources/ats/resources/forceResync/client/Client.ts @@ -26,7 +26,7 @@ export class ForceResync { constructor(protected readonly _options: ForceResync.Options) {} /** - * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. * * @example * await merge.ats.forceResync.syncStatusResyncCreate() @@ -46,7 +46,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/generateKey/client/Client.ts b/src/api/resources/ats/resources/generateKey/client/Client.ts index 55ff8e8c..4bf9e779 100644 --- a/src/api/resources/ats/resources/generateKey/client/Client.ts +++ b/src/api/resources/ats/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ats/resources/interviews/client/Client.ts b/src/api/resources/ats/resources/interviews/client/Client.ts index 8850c209..0eb997c9 100644 --- a/src/api/resources/ats/resources/interviews/client/Client.ts +++ b/src/api/resources/ats/resources/interviews/client/Client.ts @@ -43,6 +43,7 @@ export class Interviews { expand, includeDeletedData, includeRemoteData, + includeShellData, jobId, jobInterviewStageId, modifiedAfter, @@ -82,6 +83,10 @@ export class Interviews { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (jobId != null) { _queryParams["job_id"] = jobId; } @@ -132,7 +137,7 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -208,7 +213,7 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -293,7 +298,7 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -353,7 +358,7 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts b/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts index f37ced74..185cddf4 100644 --- a/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts +++ b/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts @@ -30,13 +30,17 @@ export interface InterviewsListRequest { */ expand?: Merge.ats.InterviewsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, wll only return interviews organized for this job. */ diff --git a/src/api/resources/ats/resources/issues/client/Client.ts b/src/api/resources/ats/resources/issues/client/Client.ts index 8bf87964..9c3465ce 100644 --- a/src/api/resources/ats/resources/issues/client/Client.ts +++ b/src/api/resources/ats/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts index 0939a44f..75f7a4e1 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts @@ -42,6 +42,7 @@ export class JobInterviewStages { expand, includeDeletedData, includeRemoteData, + includeShellData, jobId, modifiedAfter, modifiedBefore, @@ -73,6 +74,10 @@ export class JobInterviewStages { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (jobId != null) { _queryParams["job_id"] = jobId; } @@ -107,7 +112,7 @@ export class JobInterviewStages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +186,7 @@ export class JobInterviewStages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts index 84ea8404..4acda2c0 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts @@ -24,13 +24,17 @@ export interface JobInterviewStagesListRequest { */ expand?: "job"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return interview stages for this job. */ diff --git a/src/api/resources/ats/resources/jobPostings/client/Client.ts b/src/api/resources/ats/resources/jobPostings/client/Client.ts index b66f7249..f6363b3e 100644 --- a/src/api/resources/ats/resources/jobPostings/client/Client.ts +++ b/src/api/resources/ats/resources/jobPostings/client/Client.ts @@ -42,6 +42,7 @@ export class JobPostings { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -73,6 +74,10 @@ export class JobPostings { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -107,7 +112,7 @@ export class JobPostings { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +186,7 @@ export class JobPostings { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts index 2def76bf..069c3518 100644 --- a/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts +++ b/src/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.ts @@ -26,13 +26,17 @@ export interface JobPostingsListRequest { */ expand?: "job"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/jobs/client/Client.ts b/src/api/resources/ats/resources/jobs/client/Client.ts index 64ea9e08..e349659e 100644 --- a/src/api/resources/ats/resources/jobs/client/Client.ts +++ b/src/api/resources/ats/resources/jobs/client/Client.ts @@ -43,6 +43,7 @@ export class Jobs { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, offices, @@ -81,6 +82,10 @@ export class Jobs { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -127,7 +132,7 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -209,7 +214,7 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -259,7 +264,7 @@ export class Jobs { request: Merge.ats.JobsScreeningQuestionsListRequest = {}, requestOptions?: Jobs.RequestOptions ): Promise { - const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -277,6 +282,10 @@ export class Jobs { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (pageSize != null) { _queryParams["page_size"] = pageSize.toString(); } @@ -295,7 +304,7 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts index b44e4c1f..b2318fe8 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts @@ -30,13 +30,17 @@ export interface JobsListRequest { */ expand?: Merge.ats.JobsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts index a9269d40..ac9c7ffa 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts @@ -18,13 +18,17 @@ export interface JobsScreeningQuestionsListRequest { */ expand?: Merge.ats.JobsScreeningQuestionsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * Number of results to return per page. */ diff --git a/src/api/resources/ats/resources/linkToken/client/Client.ts b/src/api/resources/ats/resources/linkToken/client/Client.ts index 8985349d..3e595096 100644 --- a/src/api/resources/ats/resources/linkToken/client/Client.ts +++ b/src/api/resources/ats/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 12ba2cf2..27c04ea1 100644 --- a/src/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -34,8 +34,13 @@ export interface EndUserDetailsRequest { commonModels?: Merge.ats.CommonModelScopesBodyRequest[]; /** When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. */ categoryCommonModelScopes?: Record; - /** The language code for the language to localize Merge Link to. */ - language?: string; + /** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ + language?: Merge.ats.LanguageEnum; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; } diff --git a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts index d6e0ca11..be4e3278 100644 --- a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index 328c8773..fd2b894f 100644 --- a/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -63,7 +63,7 @@ export interface LinkedAccountsListRequest { */ pageSize?: number; /** - * Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + * Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; } diff --git a/src/api/resources/ats/resources/offers/client/Client.ts b/src/api/resources/ats/resources/offers/client/Client.ts index 1750bda0..b51a39e3 100644 --- a/src/api/resources/ats/resources/offers/client/Client.ts +++ b/src/api/resources/ats/resources/offers/client/Client.ts @@ -44,6 +44,7 @@ export class Offers { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -84,6 +85,10 @@ export class Offers { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -122,7 +127,7 @@ export class Offers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +209,7 @@ export class Offers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts b/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts index 12fd0ffe..2d1b1911 100644 --- a/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts +++ b/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts @@ -34,13 +34,17 @@ export interface OffersListRequest { */ expand?: Merge.ats.OffersListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/offices/client/Client.ts b/src/api/resources/ats/resources/offices/client/Client.ts index 3c577b46..ed0ae39f 100644 --- a/src/api/resources/ats/resources/offices/client/Client.ts +++ b/src/api/resources/ats/resources/offices/client/Client.ts @@ -41,6 +41,7 @@ export class Offices { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Offices { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Offices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Offices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts b/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts index e47d8edc..22ebcc7a 100644 --- a/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts +++ b/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts @@ -20,13 +20,17 @@ export interface OfficesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/passthrough/client/Client.ts b/src/api/resources/ats/resources/passthrough/client/Client.ts index c5befb97..03d2d310 100644 --- a/src/api/resources/ats/resources/passthrough/client/Client.ts +++ b/src/api/resources/ats/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ats/resources/regenerateKey/client/Client.ts b/src/api/resources/ats/resources/regenerateKey/client/Client.ts index 901bf692..6a7ce6c8 100644 --- a/src/api/resources/ats/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/ats/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ats/resources/rejectReasons/client/Client.ts b/src/api/resources/ats/resources/rejectReasons/client/Client.ts index 8e3a5161..b4d555dc 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/Client.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/Client.ts @@ -41,6 +41,7 @@ export class RejectReasons { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class RejectReasons { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class RejectReasons { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class RejectReasons { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts b/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts index bad57bc7..eec6d7c9 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts @@ -20,13 +20,17 @@ export interface RejectReasonsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/scopes/client/Client.ts b/src/api/resources/ats/resources/scopes/client/Client.ts index 78e6531c..af72458d 100644 --- a/src/api/resources/ats/resources/scopes/client/Client.ts +++ b/src/api/resources/ats/resources/scopes/client/Client.ts @@ -26,7 +26,7 @@ export class Scopes { constructor(protected readonly _options: Scopes.Options) {} /** - * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.ats.scopes.defaultScopesRetrieve() @@ -46,7 +46,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -85,7 +85,7 @@ export class Scopes { } /** - * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.ats.scopes.linkedAccountScopesRetrieve() @@ -107,7 +107,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -146,7 +146,7 @@ export class Scopes { } /** - * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) + * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * * @example * await merge.ats.scopes.linkedAccountScopesCreate({ @@ -188,7 +188,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ats/resources/scorecards/client/Client.ts b/src/api/resources/ats/resources/scorecards/client/Client.ts index a25c0d2a..dd0dd0e0 100644 --- a/src/api/resources/ats/resources/scorecards/client/Client.ts +++ b/src/api/resources/ats/resources/scorecards/client/Client.ts @@ -43,6 +43,7 @@ export class Scorecards { expand, includeDeletedData, includeRemoteData, + includeShellData, interviewId, interviewerId, modifiedAfter, @@ -81,6 +82,10 @@ export class Scorecards { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (interviewId != null) { _queryParams["interview_id"] = interviewId; } @@ -127,7 +132,7 @@ export class Scorecards { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -209,7 +214,7 @@ export class Scorecards { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts index a8fb560a..f2a43f1c 100644 --- a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts +++ b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts @@ -30,13 +30,17 @@ export interface ScorecardsListRequest { */ expand?: Merge.ats.ScorecardsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return scorecards for this interview. */ diff --git a/src/api/resources/ats/resources/syncStatus/client/Client.ts b/src/api/resources/ats/resources/syncStatus/client/Client.ts index 15af6418..0a80fe00 100644 --- a/src/api/resources/ats/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ats/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/tags/client/Client.ts b/src/api/resources/ats/resources/tags/client/Client.ts index 823303c6..d3c82bec 100644 --- a/src/api/resources/ats/resources/tags/client/Client.ts +++ b/src/api/resources/ats/resources/tags/client/Client.ts @@ -41,6 +41,7 @@ export class Tags { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Tags { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts b/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts index cc01a51e..513564ff 100644 --- a/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts +++ b/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts @@ -20,13 +20,17 @@ export interface TagsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/users/client/Client.ts b/src/api/resources/ats/resources/users/client/Client.ts index 7cd7ad71..c27f519e 100644 --- a/src/api/resources/ats/resources/users/client/Client.ts +++ b/src/api/resources/ats/resources/users/client/Client.ts @@ -42,6 +42,7 @@ export class Users { email, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -74,6 +75,10 @@ export class Users { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -112,7 +117,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,7 +195,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts index 38e1c528..4f91a2ce 100644 --- a/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts @@ -24,13 +24,17 @@ export interface UsersListRequest { */ email?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ats/resources/webhookReceivers/client/Client.ts b/src/api/resources/ats/resources/webhookReceivers/client/Client.ts index 13185d0a..184a61a2 100644 --- a/src/api/resources/ats/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/ats/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ats.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ats/types/AccountDetails.ts b/src/api/resources/ats/types/AccountDetails.ts index 4d1c51bf..72e5cf80 100644 --- a/src/api/resources/ats/types/AccountDetails.ts +++ b/src/api/resources/ats/types/AccountDetails.ts @@ -17,4 +17,6 @@ export interface AccountDetails { /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; accountType?: string; + /** The time at which account completes the linking flow. */ + completedAt?: Date; } diff --git a/src/api/resources/ats/types/AccountDetailsAndActions.ts b/src/api/resources/ats/types/AccountDetailsAndActions.ts index bca6a8f1..6bc99de8 100644 --- a/src/api/resources/ats/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ats/types/AccountDetailsAndActions.ts @@ -30,4 +30,5 @@ export interface AccountDetailsAndActions { isDuplicate?: boolean; integration?: Merge.ats.AccountDetailsAndActionsIntegration; accountType: string; + completedAt: Date; } diff --git a/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts index a94a4157..084a62d2 100644 --- a/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts @@ -6,11 +6,13 @@ * - `COMPLETE` - COMPLETE * - `INCOMPLETE` - INCOMPLETE * - `RELINK_NEEDED` - RELINK_NEEDED + * - `IDLE` - IDLE */ -export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; +export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; export const AccountDetailsAndActionsStatusEnum = { Complete: "COMPLETE", Incomplete: "INCOMPLETE", RelinkNeeded: "RELINK_NEEDED", + Idle: "IDLE", } as const; diff --git a/src/api/resources/ats/types/AccountIntegration.ts b/src/api/resources/ats/types/AccountIntegration.ts index e0382d06..53cc11ae 100644 --- a/src/api/resources/ats/types/AccountIntegration.ts +++ b/src/api/resources/ats/types/AccountIntegration.ts @@ -11,9 +11,9 @@ export interface AccountIntegration { abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ categories?: Merge.ats.CategoriesEnum[]; - /** Company logo in rectangular shape. Upload an image with a clear background. */ + /** Company logo in rectangular shape. */ image?: string; - /** Company logo in square shape. Upload an image with a white background. */ + /** Company logo in square shape. */ squareImage?: string; /** The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. */ color?: string; diff --git a/src/api/resources/ats/types/Activity.ts b/src/api/resources/ats/types/Activity.ts index 516de7c0..6150bac4 100644 --- a/src/api/resources/ats/types/Activity.ts +++ b/src/api/resources/ats/types/Activity.ts @@ -48,7 +48,7 @@ export interface Activity { */ visibility?: Merge.ats.ActivityVisibility; candidate?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Application.ts b/src/api/resources/ats/types/Application.ts index fed3f12e..0754a10c 100644 --- a/src/api/resources/ats/types/Application.ts +++ b/src/api/resources/ats/types/Application.ts @@ -41,6 +41,7 @@ export interface Application { currentStage?: Merge.ats.ApplicationCurrentStage; /** The application's reason for rejection. */ rejectReason?: Merge.ats.ApplicationRejectReason; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Attachment.ts b/src/api/resources/ats/types/Attachment.ts index 06e58485..f0bc3a65 100644 --- a/src/api/resources/ats/types/Attachment.ts +++ b/src/api/resources/ats/types/Attachment.ts @@ -38,6 +38,7 @@ export interface Attachment { * - `OTHER` - OTHER */ attachmentType?: Merge.ats.AttachmentAttachmentType; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Candidate.ts b/src/api/resources/ats/types/Candidate.ts index a4bae6ac..60599887 100644 --- a/src/api/resources/ats/types/Candidate.ts +++ b/src/api/resources/ats/types/Candidate.ts @@ -52,6 +52,7 @@ export interface Candidate { applications?: (Merge.ats.CandidateApplicationsItem | undefined)[]; /** Array of `Attachment` object IDs. */ attachments?: (Merge.ats.CandidateAttachmentsItem | undefined)[]; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Department.ts b/src/api/resources/ats/types/Department.ts index 4845b394..b3f390b4 100644 --- a/src/api/resources/ats/types/Department.ts +++ b/src/api/resources/ats/types/Department.ts @@ -25,7 +25,7 @@ export interface Department { modifiedAt?: Date; /** The department's name. */ name?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Eeoc.ts b/src/api/resources/ats/types/Eeoc.ts index 2272b15d..63c7e942 100644 --- a/src/api/resources/ats/types/Eeoc.ts +++ b/src/api/resources/ats/types/Eeoc.ts @@ -66,7 +66,7 @@ export interface Eeoc { * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ disabilityStatus?: Merge.ats.EeocDisabilityStatus; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/EmailAddress.ts b/src/api/resources/ats/types/EmailAddress.ts index bd127506..eb4c4d46 100644 --- a/src/api/resources/ats/types/EmailAddress.ts +++ b/src/api/resources/ats/types/EmailAddress.ts @@ -30,6 +30,6 @@ export interface EmailAddress { * - `OTHER` - OTHER */ emailAddressType?: Merge.ats.EmailAddressEmailAddressType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/Job.ts b/src/api/resources/ats/types/Job.ts index 0b05b920..dbd52285 100644 --- a/src/api/resources/ats/types/Job.ts +++ b/src/api/resources/ats/types/Job.ts @@ -64,7 +64,7 @@ export interface Job { hiringManagers?: (Merge.ats.JobHiringManagersItem | undefined)[]; /** IDs of `RemoteUser` objects that serve as recruiters for this `Job`. */ recruiters?: (Merge.ats.JobRecruitersItem | undefined)[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/JobInterviewStage.ts b/src/api/resources/ats/types/JobInterviewStage.ts index 797d5703..1a8fc87a 100644 --- a/src/api/resources/ats/types/JobInterviewStage.ts +++ b/src/api/resources/ats/types/JobInterviewStage.ts @@ -29,7 +29,7 @@ export interface JobInterviewStage { job?: Merge.ats.JobInterviewStageJob; /** The stage’s order, with the lowest values ordered first. If the third-party does not return details on the order of stages, this field will not be populated. */ stageOrder?: number; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/JobPosting.ts b/src/api/resources/ats/types/JobPosting.ts index 30a154d6..1849419c 100644 --- a/src/api/resources/ats/types/JobPosting.ts +++ b/src/api/resources/ats/types/JobPosting.ts @@ -47,7 +47,7 @@ export interface JobPosting { remoteUpdatedAt?: Date; /** Indicates whether the job posting is internal or external. */ isInternal?: boolean; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/LanguageEnum.ts b/src/api/resources/ats/types/LanguageEnum.ts new file mode 100644 index 00000000..92c0e577 --- /dev/null +++ b/src/api/resources/ats/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * - `en` - en + * - `de` - de + */ +export type LanguageEnum = "en" | "de"; + +export const LanguageEnum = { + En: "en", + De: "de", +} as const; diff --git a/src/api/resources/ats/types/Offer.ts b/src/api/resources/ats/types/Offer.ts index 121549e7..a6cd0570 100644 --- a/src/api/resources/ats/types/Offer.ts +++ b/src/api/resources/ats/types/Offer.ts @@ -49,7 +49,7 @@ export interface Offer { * - `DEPRECATED` - DEPRECATED */ status?: Merge.ats.OfferStatus; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Office.ts b/src/api/resources/ats/types/Office.ts index 27caccf5..2abc887f 100644 --- a/src/api/resources/ats/types/Office.ts +++ b/src/api/resources/ats/types/Office.ts @@ -27,7 +27,7 @@ export interface Office { name?: string; /** The office's location. */ location?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/PhoneNumber.ts b/src/api/resources/ats/types/PhoneNumber.ts index 2cbbb775..c0e99925 100644 --- a/src/api/resources/ats/types/PhoneNumber.ts +++ b/src/api/resources/ats/types/PhoneNumber.ts @@ -32,6 +32,6 @@ export interface PhoneNumber { * - `OTHER` - OTHER */ phoneNumberType?: Merge.ats.PhoneNumberPhoneNumberType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/RejectReason.ts b/src/api/resources/ats/types/RejectReason.ts index f1d16173..daac1440 100644 --- a/src/api/resources/ats/types/RejectReason.ts +++ b/src/api/resources/ats/types/RejectReason.ts @@ -25,7 +25,7 @@ export interface RejectReason { modifiedAt?: Date; /** The rejection reason’s name. */ name?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/RemoteUser.ts b/src/api/resources/ats/types/RemoteUser.ts index f208c85d..3dacaa9c 100644 --- a/src/api/resources/ats/types/RemoteUser.ts +++ b/src/api/resources/ats/types/RemoteUser.ts @@ -43,7 +43,7 @@ export interface RemoteUser { * - `INTERVIEWER` - INTERVIEWER */ accessRole?: Merge.ats.RemoteUserAccessRole; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/ScheduledInterview.ts b/src/api/resources/ats/types/ScheduledInterview.ts index 2d826c04..c10f6429 100644 --- a/src/api/resources/ats/types/ScheduledInterview.ts +++ b/src/api/resources/ats/types/ScheduledInterview.ts @@ -49,7 +49,7 @@ export interface ScheduledInterview { * - `COMPLETE` - COMPLETE */ status?: Merge.ats.ScheduledInterviewStatus; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/Scorecard.ts b/src/api/resources/ats/types/Scorecard.ts index 7ff068da..e2649e28 100644 --- a/src/api/resources/ats/types/Scorecard.ts +++ b/src/api/resources/ats/types/Scorecard.ts @@ -43,7 +43,7 @@ export interface Scorecard { * - `NO_DECISION` - NO_DECISION */ overallRecommendation?: Merge.ats.ScorecardOverallRecommendation; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ats.RemoteData[]; diff --git a/src/api/resources/ats/types/ScreeningQuestion.ts b/src/api/resources/ats/types/ScreeningQuestion.ts index 0a8df606..9a23ede9 100644 --- a/src/api/resources/ats/types/ScreeningQuestion.ts +++ b/src/api/resources/ats/types/ScreeningQuestion.ts @@ -45,6 +45,6 @@ export interface ScreeningQuestion { /** Whether or not the screening question is required. */ required?: boolean; options?: unknown[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/ScreeningQuestionAnswer.ts b/src/api/resources/ats/types/ScreeningQuestionAnswer.ts index 660dc98c..319d1824 100644 --- a/src/api/resources/ats/types/ScreeningQuestionAnswer.ts +++ b/src/api/resources/ats/types/ScreeningQuestionAnswer.ts @@ -27,6 +27,6 @@ export interface ScreeningQuestionAnswer { question?: Merge.ats.ScreeningQuestionAnswerQuestion; /** The candidate’s response to the screening question. */ answer?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/ScreeningQuestionOption.ts b/src/api/resources/ats/types/ScreeningQuestionOption.ts index 2c66655c..7ca064aa 100644 --- a/src/api/resources/ats/types/ScreeningQuestionOption.ts +++ b/src/api/resources/ats/types/ScreeningQuestionOption.ts @@ -23,6 +23,6 @@ export interface ScreeningQuestionOption { modifiedAt?: Date; /** Available response options */ label?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/Tag.ts b/src/api/resources/ats/types/Tag.ts index 7d01f7ba..54e951ab 100644 --- a/src/api/resources/ats/types/Tag.ts +++ b/src/api/resources/ats/types/Tag.ts @@ -22,7 +22,7 @@ export interface Tag { modifiedAt?: Date; /** The tag's name. */ name?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/ats/types/Url.ts b/src/api/resources/ats/types/Url.ts index cf8162bf..dec230ac 100644 --- a/src/api/resources/ats/types/Url.ts +++ b/src/api/resources/ats/types/Url.ts @@ -34,6 +34,6 @@ export interface Url { * - `JOB_POSTING` - JOB_POSTING */ urlType?: Merge.ats.UrlUrlType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; } diff --git a/src/api/resources/ats/types/index.ts b/src/api/resources/ats/types/index.ts index 0cfad5a5..2cf5be29 100644 --- a/src/api/resources/ats/types/index.ts +++ b/src/api/resources/ats/types/index.ts @@ -105,6 +105,7 @@ export * from "./JobPosting"; export * from "./JobPostingStatusEnum"; export * from "./JobStatusEnum"; export * from "./JobTypeEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/src/api/resources/crm/resources/accountDetails/client/Client.ts b/src/api/resources/crm/resources/accountDetails/client/Client.ts index 930f5fec..345d402e 100644 --- a/src/api/resources/crm/resources/accountDetails/client/Client.ts +++ b/src/api/resources/crm/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/accountToken/client/Client.ts b/src/api/resources/crm/resources/accountToken/client/Client.ts index aff58c98..dfdcee19 100644 --- a/src/api/resources/crm/resources/accountToken/client/Client.ts +++ b/src/api/resources/crm/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/accounts/client/Client.ts b/src/api/resources/crm/resources/accounts/client/Client.ts index d14beb7d..96c31b70 100644 --- a/src/api/resources/crm/resources/accounts/client/Client.ts +++ b/src/api/resources/crm/resources/accounts/client/Client.ts @@ -43,6 +43,7 @@ export class Accounts { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, name, @@ -79,6 +80,10 @@ export class Accounts { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -192,7 +197,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -273,7 +278,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -349,7 +354,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -415,7 +420,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -474,7 +479,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -522,8 +527,15 @@ export class Accounts { request: Merge.crm.AccountsRemoteFieldClassesListRequest = {}, requestOptions?: Accounts.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -541,6 +553,10 @@ export class Accounts { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -563,7 +579,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts index 38361a45..5653da50 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts @@ -24,7 +24,7 @@ export interface AccountsListRequest { */ expand?: "owner"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -35,6 +35,10 @@ export interface AccountsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts index 7bde0d10..9cb3a2bb 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface AccountsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface AccountsRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/associationTypes/client/Client.ts b/src/api/resources/crm/resources/associationTypes/client/Client.ts index 2dbff5b9..67f9d2c1 100644 --- a/src/api/resources/crm/resources/associationTypes/client/Client.ts +++ b/src/api/resources/crm/resources/associationTypes/client/Client.ts @@ -43,6 +43,7 @@ export class AssociationTypes { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -73,6 +74,10 @@ export class AssociationTypes { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -103,7 +108,7 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -189,7 +194,7 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -267,7 +272,7 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -330,7 +335,7 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts index 4dfca956..e4705334 100644 --- a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts +++ b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts @@ -24,13 +24,17 @@ export interface CustomObjectClassesAssociationTypesListRequest { */ expand?: "target_object_classes"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/associations/client/Client.ts b/src/api/resources/crm/resources/associations/client/Client.ts index bc5ca5ea..b4bcd6f8 100644 --- a/src/api/resources/crm/resources/associations/client/Client.ts +++ b/src/api/resources/crm/resources/associations/client/Client.ts @@ -45,6 +45,7 @@ export class Associations { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -79,6 +80,10 @@ export class Associations { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -109,7 +114,7 @@ export class Associations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -187,7 +192,7 @@ export class Associations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts index b6436fef..19fbfcfc 100644 --- a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts +++ b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts @@ -28,13 +28,17 @@ export interface CustomObjectClassesCustomObjectsAssociationsListRequest { */ expand?: "association_type"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts b/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts index a0db1f42..a5afb0ce 100644 --- a/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/auditTrail/client/Client.ts b/src/api/resources/crm/resources/auditTrail/client/Client.ts index 7986ea2c..81720995 100644 --- a/src/api/resources/crm/resources/auditTrail/client/Client.ts +++ b/src/api/resources/crm/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/availableActions/client/Client.ts b/src/api/resources/crm/resources/availableActions/client/Client.ts index 854452ba..db181088 100644 --- a/src/api/resources/crm/resources/availableActions/client/Client.ts +++ b/src/api/resources/crm/resources/availableActions/client/Client.ts @@ -46,7 +46,7 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/contacts/client/Client.ts b/src/api/resources/crm/resources/contacts/client/Client.ts index 6983a05b..febbe477 100644 --- a/src/api/resources/crm/resources/contacts/client/Client.ts +++ b/src/api/resources/crm/resources/contacts/client/Client.ts @@ -45,6 +45,7 @@ export class Contacts { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -88,6 +89,10 @@ export class Contacts { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -122,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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -197,7 +202,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -278,7 +283,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -354,7 +359,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -423,7 +428,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { @@ -482,7 +487,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -541,7 +546,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -589,8 +594,15 @@ export class Contacts { request: Merge.crm.ContactsRemoteFieldClassesListRequest = {}, requestOptions?: Contacts.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -608,6 +620,10 @@ export class Contacts { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -630,7 +646,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts index 3eb33672..2fd1e37b 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts @@ -34,7 +34,7 @@ export interface ContactsListRequest { */ expand?: Merge.crm.ContactsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -45,6 +45,10 @@ export interface ContactsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts index 33beb978..869d1451 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface ContactsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface ContactsRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts index f66e47b3..9a9a700b 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts @@ -42,6 +42,7 @@ export class CustomObjectClasses { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class CustomObjectClasses { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class CustomObjectClasses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -176,7 +181,7 @@ export class CustomObjectClasses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts index fa74a0aa..058ec83b 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts @@ -24,13 +24,17 @@ export interface CustomObjectClassesListRequest { */ expand?: "fields"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/customObjects/client/Client.ts b/src/api/resources/crm/resources/customObjects/client/Client.ts index eb1efca2..02067140 100644 --- a/src/api/resources/crm/resources/customObjects/client/Client.ts +++ b/src/api/resources/crm/resources/customObjects/client/Client.ts @@ -43,6 +43,7 @@ export class CustomObjects { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -73,6 +74,10 @@ export class CustomObjects { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -103,7 +108,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -183,7 +188,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -261,7 +266,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -324,7 +329,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -372,8 +377,15 @@ export class CustomObjects { request: Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest = {}, requestOptions?: CustomObjects.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -391,6 +403,10 @@ export class CustomObjects { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -413,7 +429,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts index 1bfb1553..a80b7afc 100644 --- a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts +++ b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts @@ -20,7 +20,7 @@ export interface CustomObjectClassesCustomObjectsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -31,6 +31,10 @@ export interface CustomObjectClassesCustomObjectsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.ts index da9003ac..85cc5fab 100644 --- a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/deleteAccount/client/Client.ts b/src/api/resources/crm/resources/deleteAccount/client/Client.ts index f2a2101a..8ee930de 100644 --- a/src/api/resources/crm/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/crm/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/engagementTypes/client/Client.ts b/src/api/resources/crm/resources/engagementTypes/client/Client.ts index ea6640ed..b22afe40 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/Client.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/Client.ts @@ -42,6 +42,7 @@ export class EngagementTypes { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class EngagementTypes { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -176,7 +181,7 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -225,8 +230,15 @@ export class EngagementTypes { request: Merge.crm.EngagementTypesRemoteFieldClassesListRequest = {}, requestOptions?: EngagementTypes.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -244,6 +256,10 @@ export class EngagementTypes { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -266,7 +282,7 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts index c8b9d257..8f20954e 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts @@ -20,7 +20,7 @@ export interface EngagementTypesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -31,6 +31,10 @@ export interface EngagementTypesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts index c9eee8c6..f710a911 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface EngagementTypesRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface EngagementTypesRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/engagements/client/Client.ts b/src/api/resources/crm/resources/engagements/client/Client.ts index a71a5580..d877f8cc 100644 --- a/src/api/resources/crm/resources/engagements/client/Client.ts +++ b/src/api/resources/crm/resources/engagements/client/Client.ts @@ -43,6 +43,7 @@ export class Engagements { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -79,6 +80,10 @@ export class Engagements { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -192,7 +197,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -273,7 +278,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -349,7 +354,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -415,7 +420,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -474,7 +479,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -522,8 +527,15 @@ export class Engagements { request: Merge.crm.EngagementsRemoteFieldClassesListRequest = {}, requestOptions?: Engagements.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -541,6 +553,10 @@ export class Engagements { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -563,7 +579,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts index 48897a35..1f4452c4 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts @@ -26,7 +26,7 @@ export interface EngagementsListRequest { */ expand?: Merge.crm.EngagementsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -37,6 +37,10 @@ export interface EngagementsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts index 0b815561..c75063c2 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface EngagementsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface EngagementsRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/fieldMapping/client/Client.ts b/src/api/resources/crm/resources/fieldMapping/client/Client.ts index 8e488121..b8bc626c 100644 --- a/src/api/resources/crm/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/crm/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/forceResync/client/Client.ts b/src/api/resources/crm/resources/forceResync/client/Client.ts index e86a2dbc..11b0220c 100644 --- a/src/api/resources/crm/resources/forceResync/client/Client.ts +++ b/src/api/resources/crm/resources/forceResync/client/Client.ts @@ -26,7 +26,7 @@ export class ForceResync { constructor(protected readonly _options: ForceResync.Options) {} /** - * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. * * @example * await merge.crm.forceResync.syncStatusResyncCreate() @@ -46,7 +46,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/generateKey/client/Client.ts b/src/api/resources/crm/resources/generateKey/client/Client.ts index 6745ba6d..ebc35b26 100644 --- a/src/api/resources/crm/resources/generateKey/client/Client.ts +++ b/src/api/resources/crm/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/crm/resources/issues/client/Client.ts b/src/api/resources/crm/resources/issues/client/Client.ts index 3fd33b8f..66ea3f87 100644 --- a/src/api/resources/crm/resources/issues/client/Client.ts +++ b/src/api/resources/crm/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/crm/resources/leads/client/Client.ts b/src/api/resources/crm/resources/leads/client/Client.ts index a822acfa..f3df5db9 100644 --- a/src/api/resources/crm/resources/leads/client/Client.ts +++ b/src/api/resources/crm/resources/leads/client/Client.ts @@ -46,6 +46,7 @@ export class Leads { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, ownerId, @@ -94,6 +95,10 @@ export class Leads { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -132,7 +137,7 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -207,7 +212,7 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -286,7 +291,7 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -346,7 +351,7 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -394,8 +399,15 @@ export class Leads { request: Merge.crm.LeadsRemoteFieldClassesListRequest = {}, requestOptions?: Leads.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -413,6 +425,10 @@ export class Leads { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -435,7 +451,7 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts index d16a3723..b4bc5df8 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts @@ -38,7 +38,7 @@ export interface LeadsListRequest { */ expand?: Merge.crm.LeadsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -49,6 +49,10 @@ export interface LeadsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts index 11acf166..43296ca4 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface LeadsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface LeadsRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/linkToken/client/Client.ts b/src/api/resources/crm/resources/linkToken/client/Client.ts index 6d17f7c2..9bcfbc63 100644 --- a/src/api/resources/crm/resources/linkToken/client/Client.ts +++ b/src/api/resources/crm/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts index f5faf8ae..69dc74ee 100644 --- a/src/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -34,8 +34,13 @@ export interface EndUserDetailsRequest { commonModels?: Merge.crm.CommonModelScopesBodyRequest[]; /** When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. */ categoryCommonModelScopes?: Record; - /** The language code for the language to localize Merge Link to. */ - language?: string; + /** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ + language?: Merge.crm.LanguageEnum; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; } diff --git a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts index e3c68df0..0421c3b9 100644 --- a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index b4e0dd48..d90ab02e 100644 --- a/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -63,7 +63,7 @@ export interface LinkedAccountsListRequest { */ pageSize?: number; /** - * Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + * Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; } diff --git a/src/api/resources/crm/resources/notes/client/Client.ts b/src/api/resources/crm/resources/notes/client/Client.ts index 51a007db..d0609ee0 100644 --- a/src/api/resources/crm/resources/notes/client/Client.ts +++ b/src/api/resources/crm/resources/notes/client/Client.ts @@ -45,6 +45,7 @@ export class Notes { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, opportunityId, @@ -89,6 +90,10 @@ export class Notes { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -127,7 +132,7 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -202,7 +207,7 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -281,7 +286,7 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -341,7 +346,7 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -389,8 +394,15 @@ export class Notes { request: Merge.crm.NotesRemoteFieldClassesListRequest = {}, requestOptions?: Notes.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -408,6 +420,10 @@ export class Notes { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -430,7 +446,7 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts index 061e5b67..d32bf1b6 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts @@ -34,7 +34,7 @@ export interface NotesListRequest { */ expand?: Merge.crm.NotesListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -45,6 +45,10 @@ export interface NotesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts index 69ebb54f..d025cff8 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface NotesRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface NotesRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/opportunities/client/Client.ts b/src/api/resources/crm/resources/opportunities/client/Client.ts index 24e4ad96..94567bc9 100644 --- a/src/api/resources/crm/resources/opportunities/client/Client.ts +++ b/src/api/resources/crm/resources/opportunities/client/Client.ts @@ -44,6 +44,7 @@ export class Opportunities { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, ownerId, @@ -88,6 +89,10 @@ export class Opportunities { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -142,7 +147,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -217,7 +222,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -306,7 +311,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +387,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -448,7 +453,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -507,7 +512,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -555,8 +560,15 @@ export class Opportunities { request: Merge.crm.OpportunitiesRemoteFieldClassesListRequest = {}, requestOptions?: Opportunities.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -574,6 +586,10 @@ export class Opportunities { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -596,7 +612,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts index 65262f55..5e2df337 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts @@ -30,7 +30,7 @@ export interface OpportunitiesListRequest { */ expand?: Merge.crm.OpportunitiesListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -41,6 +41,10 @@ export interface OpportunitiesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts index c5c35c74..27ae82f3 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface OpportunitiesRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface OpportunitiesRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/passthrough/client/Client.ts b/src/api/resources/crm/resources/passthrough/client/Client.ts index ee959922..7e5a248b 100644 --- a/src/api/resources/crm/resources/passthrough/client/Client.ts +++ b/src/api/resources/crm/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/crm/resources/regenerateKey/client/Client.ts b/src/api/resources/crm/resources/regenerateKey/client/Client.ts index b33d48cd..faf2b88f 100644 --- a/src/api/resources/crm/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/crm/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/crm/resources/scopes/client/Client.ts b/src/api/resources/crm/resources/scopes/client/Client.ts index 61a9a1f7..076444ff 100644 --- a/src/api/resources/crm/resources/scopes/client/Client.ts +++ b/src/api/resources/crm/resources/scopes/client/Client.ts @@ -26,7 +26,7 @@ export class Scopes { constructor(protected readonly _options: Scopes.Options) {} /** - * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.crm.scopes.defaultScopesRetrieve() @@ -46,7 +46,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -85,7 +85,7 @@ export class Scopes { } /** - * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.crm.scopes.linkedAccountScopesRetrieve() @@ -107,7 +107,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -146,7 +146,7 @@ export class Scopes { } /** - * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) + * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * * @example * await merge.crm.scopes.linkedAccountScopesCreate({ @@ -188,7 +188,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/crm/resources/stages/client/Client.ts b/src/api/resources/crm/resources/stages/client/Client.ts index 02b4e77a..df5bf12c 100644 --- a/src/api/resources/crm/resources/stages/client/Client.ts +++ b/src/api/resources/crm/resources/stages/client/Client.ts @@ -42,6 +42,7 @@ export class Stages { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class Stages { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -176,7 +181,7 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -225,8 +230,15 @@ export class Stages { request: Merge.crm.StagesRemoteFieldClassesListRequest = {}, requestOptions?: Stages.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -244,6 +256,10 @@ export class Stages { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -266,7 +282,7 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts b/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts index a9bc780a..1b5fd2d3 100644 --- a/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts +++ b/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts @@ -20,7 +20,7 @@ export interface StagesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -31,6 +31,10 @@ export interface StagesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts index 7e96247e..5d2e38df 100644 --- a/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface StagesRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface StagesRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/syncStatus/client/Client.ts b/src/api/resources/crm/resources/syncStatus/client/Client.ts index b3be6cbf..d8a665a3 100644 --- a/src/api/resources/crm/resources/syncStatus/client/Client.ts +++ b/src/api/resources/crm/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/tasks/client/Client.ts b/src/api/resources/crm/resources/tasks/client/Client.ts index 7491f992..b26525cf 100644 --- a/src/api/resources/crm/resources/tasks/client/Client.ts +++ b/src/api/resources/crm/resources/tasks/client/Client.ts @@ -43,6 +43,7 @@ export class Tasks { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -77,6 +78,10 @@ export class Tasks { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -107,7 +112,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +187,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -261,7 +266,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -337,7 +342,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -400,7 +405,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -459,7 +464,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -507,8 +512,15 @@ export class Tasks { request: Merge.crm.TasksRemoteFieldClassesListRequest = {}, requestOptions?: Tasks.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -526,6 +538,10 @@ export class Tasks { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -548,7 +564,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts index decd1a6b..997fe27f 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts @@ -26,7 +26,7 @@ export interface TasksListRequest { */ expand?: Merge.crm.TasksListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -37,6 +37,10 @@ export interface TasksListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts index fe517354..36de3204 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface TasksRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface TasksRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/users/client/Client.ts b/src/api/resources/crm/resources/users/client/Client.ts index 55682f50..d0e44bac 100644 --- a/src/api/resources/crm/resources/users/client/Client.ts +++ b/src/api/resources/crm/resources/users/client/Client.ts @@ -42,6 +42,7 @@ export class Users { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class Users { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -176,7 +181,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -242,7 +247,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { @@ -287,8 +292,15 @@ export class Users { request: Merge.crm.UsersRemoteFieldClassesListRequest = {}, requestOptions?: Users.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, isCommonModelField, pageSize } = - request; + const { + cursor, + includeDeletedData, + includeRemoteData, + includeRemoteFields, + includeShellData, + isCommonModelField, + pageSize, + } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -306,6 +318,10 @@ export class Users { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -328,7 +344,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts index c7dcdd02..8e8af7fa 100644 --- a/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts @@ -20,7 +20,7 @@ export interface UsersListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -31,6 +31,10 @@ export interface UsersListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts b/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts index aed5d166..cbe77759 100644 --- a/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts @@ -12,7 +12,7 @@ export interface UsersRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -23,6 +23,10 @@ export interface UsersRemoteFieldClassesListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/crm/resources/webhookReceivers/client/Client.ts b/src/api/resources/crm/resources/webhookReceivers/client/Client.ts index 57a6efac..6e3ae863 100644 --- a/src/api/resources/crm/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/crm/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.crm.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/crm/types/Account.ts b/src/api/resources/crm/types/Account.ts index 9cf22af8..f32d24e3 100644 --- a/src/api/resources/crm/types/Account.ts +++ b/src/api/resources/crm/types/Account.ts @@ -43,6 +43,7 @@ export interface Account { remoteUpdatedAt?: Date; /** When the third party's account was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/AccountDetails.ts b/src/api/resources/crm/types/AccountDetails.ts index 6fff61fb..134abff0 100644 --- a/src/api/resources/crm/types/AccountDetails.ts +++ b/src/api/resources/crm/types/AccountDetails.ts @@ -17,4 +17,6 @@ export interface AccountDetails { /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; accountType?: string; + /** The time at which account completes the linking flow. */ + completedAt?: Date; } diff --git a/src/api/resources/crm/types/AccountDetailsAndActions.ts b/src/api/resources/crm/types/AccountDetailsAndActions.ts index 28e751eb..58f7feb1 100644 --- a/src/api/resources/crm/types/AccountDetailsAndActions.ts +++ b/src/api/resources/crm/types/AccountDetailsAndActions.ts @@ -30,4 +30,5 @@ export interface AccountDetailsAndActions { isDuplicate?: boolean; integration?: Merge.crm.AccountDetailsAndActionsIntegration; accountType: string; + completedAt: Date; } diff --git a/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts index a94a4157..084a62d2 100644 --- a/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts @@ -6,11 +6,13 @@ * - `COMPLETE` - COMPLETE * - `INCOMPLETE` - INCOMPLETE * - `RELINK_NEEDED` - RELINK_NEEDED + * - `IDLE` - IDLE */ -export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; +export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; export const AccountDetailsAndActionsStatusEnum = { Complete: "COMPLETE", Incomplete: "INCOMPLETE", RelinkNeeded: "RELINK_NEEDED", + Idle: "IDLE", } as const; diff --git a/src/api/resources/crm/types/AccountIntegration.ts b/src/api/resources/crm/types/AccountIntegration.ts index a8576314..3528d498 100644 --- a/src/api/resources/crm/types/AccountIntegration.ts +++ b/src/api/resources/crm/types/AccountIntegration.ts @@ -11,9 +11,9 @@ export interface AccountIntegration { abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ categories?: Merge.crm.CategoriesEnum[]; - /** Company logo in rectangular shape. Upload an image with a clear background. */ + /** Company logo in rectangular shape. */ image?: string; - /** Company logo in square shape. Upload an image with a white background. */ + /** Company logo in square shape. */ squareImage?: string; /** The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. */ color?: string; diff --git a/src/api/resources/crm/types/Contact.ts b/src/api/resources/crm/types/Contact.ts index 3c161b10..15aa82df 100644 --- a/src/api/resources/crm/types/Contact.ts +++ b/src/api/resources/crm/types/Contact.ts @@ -38,6 +38,7 @@ export interface Contact { lastActivityAt?: Date; /** When the third party's contact was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/Engagement.ts b/src/api/resources/crm/types/Engagement.ts index 3cd9c971..fc6f0e69 100644 --- a/src/api/resources/crm/types/Engagement.ts +++ b/src/api/resources/crm/types/Engagement.ts @@ -45,7 +45,7 @@ export interface Engagement { /** The account of the engagement. */ account?: Merge.crm.EngagementAccount; contacts?: (Merge.crm.EngagementContactsItem | undefined)[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/LanguageEnum.ts b/src/api/resources/crm/types/LanguageEnum.ts new file mode 100644 index 00000000..92c0e577 --- /dev/null +++ b/src/api/resources/crm/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * - `en` - en + * - `de` - de + */ +export type LanguageEnum = "en" | "de"; + +export const LanguageEnum = { + En: "en", + De: "de", +} as const; diff --git a/src/api/resources/crm/types/Lead.ts b/src/api/resources/crm/types/Lead.ts index 86f1cd1b..0951fbac 100644 --- a/src/api/resources/crm/types/Lead.ts +++ b/src/api/resources/crm/types/Lead.ts @@ -48,6 +48,7 @@ export interface Lead { convertedContact?: Merge.crm.LeadConvertedContact; /** The account of the converted lead. */ convertedAccount?: Merge.crm.LeadConvertedAccount; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/Note.ts b/src/api/resources/crm/types/Note.ts index 8c2aec89..9e61c2d0 100644 --- a/src/api/resources/crm/types/Note.ts +++ b/src/api/resources/crm/types/Note.ts @@ -37,6 +37,7 @@ export interface Note { remoteUpdatedAt?: Date; /** When the third party's lead was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/Opportunity.ts b/src/api/resources/crm/types/Opportunity.ts index a4877048..8ecf45ce 100644 --- a/src/api/resources/crm/types/Opportunity.ts +++ b/src/api/resources/crm/types/Opportunity.ts @@ -49,6 +49,7 @@ export interface Opportunity { closeDate?: Date; /** When the third party's opportunity was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/Stage.ts b/src/api/resources/crm/types/Stage.ts index d80a5b75..2eec93ba 100644 --- a/src/api/resources/crm/types/Stage.ts +++ b/src/api/resources/crm/types/Stage.ts @@ -25,7 +25,7 @@ export interface Stage { modifiedAt?: Date; /** The stage's name. */ name?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/Task.ts b/src/api/resources/crm/types/Task.ts index ded55d46..12cf6619 100644 --- a/src/api/resources/crm/types/Task.ts +++ b/src/api/resources/crm/types/Task.ts @@ -44,7 +44,7 @@ export interface Task { * - `CLOSED` - CLOSED */ status?: Merge.crm.TaskStatus; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/User.ts b/src/api/resources/crm/types/User.ts index c5e6cf61..5f2ed14b 100644 --- a/src/api/resources/crm/types/User.ts +++ b/src/api/resources/crm/types/User.ts @@ -29,7 +29,7 @@ export interface User { email?: string; /** Whether or not the user is active. */ isActive?: boolean; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.crm.RemoteData[]; diff --git a/src/api/resources/crm/types/index.ts b/src/api/resources/crm/types/index.ts index 86f9e3c9..aa0504a2 100644 --- a/src/api/resources/crm/types/index.ts +++ b/src/api/resources/crm/types/index.ts @@ -93,6 +93,7 @@ export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; +export * from "./LanguageEnum"; export * from "./LeadOwner"; export * from "./LeadConvertedContact"; export * from "./LeadConvertedAccount"; diff --git a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts b/src/api/resources/filestorage/resources/accountDetails/client/Client.ts index 9315276e..ce9e3646 100644 --- a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts +++ b/src/api/resources/filestorage/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/accountToken/client/Client.ts b/src/api/resources/filestorage/resources/accountToken/client/Client.ts index aedd67ef..686fec8a 100644 --- a/src/api/resources/filestorage/resources/accountToken/client/Client.ts +++ b/src/api/resources/filestorage/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts b/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts index 6c2f4066..8dcfeced 100644 --- a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts b/src/api/resources/filestorage/resources/auditTrail/client/Client.ts index 18f3f47e..508b5588 100644 --- a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts +++ b/src/api/resources/filestorage/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/availableActions/client/Client.ts b/src/api/resources/filestorage/resources/availableActions/client/Client.ts index 9ed54e40..2a1a54ce 100644 --- a/src/api/resources/filestorage/resources/availableActions/client/Client.ts +++ b/src/api/resources/filestorage/resources/availableActions/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts b/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts index a8be2f5e..efddde24 100644 --- a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/drives/client/Client.ts b/src/api/resources/filestorage/resources/drives/client/Client.ts index 601d3d38..d90c7e4c 100644 --- a/src/api/resources/filestorage/resources/drives/client/Client.ts +++ b/src/api/resources/filestorage/resources/drives/client/Client.ts @@ -41,6 +41,7 @@ export class Drives { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, name, @@ -68,6 +69,10 @@ export class Drives { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class Drives { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -172,7 +177,7 @@ export class Drives { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts b/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts index b4afb44b..a285d1c1 100644 --- a/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts +++ b/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts @@ -20,13 +20,17 @@ export interface DrivesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts b/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts index 5cfd1055..6ecac3bd 100644 --- a/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/filestorage/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/files/client/Client.ts b/src/api/resources/filestorage/resources/files/client/Client.ts index 888314c2..f758a93b 100644 --- a/src/api/resources/filestorage/resources/files/client/Client.ts +++ b/src/api/resources/filestorage/resources/files/client/Client.ts @@ -45,6 +45,7 @@ export class Files { folderId, includeDeletedData, includeRemoteData, + includeShellData, mimeType, modifiedAfter, modifiedBefore, @@ -85,6 +86,10 @@ export class Files { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (mimeType != null) { _queryParams["mime_type"] = mimeType; } @@ -123,7 +128,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -198,7 +203,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -275,7 +280,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -342,7 +347,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -397,7 +402,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts b/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts index bbb1e3d2..f14599fc 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts +++ b/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts @@ -34,13 +34,17 @@ export interface FilesListRequest { */ folderId?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return files with these mime_types. Multiple values can be separated by commas. */ diff --git a/src/api/resources/filestorage/resources/folders/client/Client.ts b/src/api/resources/filestorage/resources/folders/client/Client.ts index 9bb04804..d7c5bcb4 100644 --- a/src/api/resources/filestorage/resources/folders/client/Client.ts +++ b/src/api/resources/filestorage/resources/folders/client/Client.ts @@ -43,6 +43,7 @@ export class Folders { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, name, @@ -79,6 +80,10 @@ export class Folders { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -117,7 +122,7 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -192,7 +197,7 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -269,7 +274,7 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -329,7 +334,7 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts b/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts index 925322f8..7b41b30f 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts +++ b/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts @@ -30,13 +30,17 @@ export interface FoldersListRequest { */ expand?: Merge.filestorage.FoldersListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/filestorage/resources/forceResync/client/Client.ts b/src/api/resources/filestorage/resources/forceResync/client/Client.ts index a40555f0..2649b861 100644 --- a/src/api/resources/filestorage/resources/forceResync/client/Client.ts +++ b/src/api/resources/filestorage/resources/forceResync/client/Client.ts @@ -26,7 +26,7 @@ export class ForceResync { constructor(protected readonly _options: ForceResync.Options) {} /** - * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. * * @example * await merge.filestorage.forceResync.syncStatusResyncCreate() @@ -48,7 +48,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/generateKey/client/Client.ts b/src/api/resources/filestorage/resources/generateKey/client/Client.ts index fa30d95c..faf2e82c 100644 --- a/src/api/resources/filestorage/resources/generateKey/client/Client.ts +++ b/src/api/resources/filestorage/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/resources/groups/client/Client.ts b/src/api/resources/filestorage/resources/groups/client/Client.ts index e9e063eb..4a0d46e7 100644 --- a/src/api/resources/filestorage/resources/groups/client/Client.ts +++ b/src/api/resources/filestorage/resources/groups/client/Client.ts @@ -41,6 +41,7 @@ export class Groups { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Groups { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts b/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts index 1e306b51..e1a72859 100644 --- a/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts @@ -20,13 +20,17 @@ export interface GroupsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/filestorage/resources/issues/client/Client.ts b/src/api/resources/filestorage/resources/issues/client/Client.ts index 8aabf883..c150f33d 100644 --- a/src/api/resources/filestorage/resources/issues/client/Client.ts +++ b/src/api/resources/filestorage/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/filestorage/resources/linkToken/client/Client.ts b/src/api/resources/filestorage/resources/linkToken/client/Client.ts index 38bd9155..b28740ef 100644 --- a/src/api/resources/filestorage/resources/linkToken/client/Client.ts +++ b/src/api/resources/filestorage/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.EndUserDetailsRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 39f60483..1e79062b 100644 --- a/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -37,8 +37,13 @@ export interface EndUserDetailsRequest { string, Merge.filestorage.IndividualCommonModelScopeDeserializerRequest[] | undefined >; - /** The language code for the language to localize Merge Link to. */ - language?: string; + /** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ + language?: Merge.filestorage.LanguageEnum; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; } diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts b/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts index 272fcab6..412954b1 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index bbd13724..a949f1f5 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -63,7 +63,7 @@ export interface LinkedAccountsListRequest { */ pageSize?: number; /** - * Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + * Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; } diff --git a/src/api/resources/filestorage/resources/passthrough/client/Client.ts b/src/api/resources/filestorage/resources/passthrough/client/Client.ts index 6050461a..8e881cd0 100644 --- a/src/api/resources/filestorage/resources/passthrough/client/Client.ts +++ b/src/api/resources/filestorage/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts b/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts index 07395538..aa2ba8cf 100644 --- a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/resources/scopes/client/Client.ts b/src/api/resources/filestorage/resources/scopes/client/Client.ts index 9804f875..8a50a5a3 100644 --- a/src/api/resources/filestorage/resources/scopes/client/Client.ts +++ b/src/api/resources/filestorage/resources/scopes/client/Client.ts @@ -26,7 +26,7 @@ export class Scopes { constructor(protected readonly _options: Scopes.Options) {} /** - * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.filestorage.scopes.defaultScopesRetrieve() @@ -48,7 +48,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -87,7 +87,7 @@ export class Scopes { } /** - * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.filestorage.scopes.linkedAccountScopesRetrieve() @@ -109,7 +109,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -148,7 +148,7 @@ export class Scopes { } /** - * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) + * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * * @example * await merge.filestorage.scopes.linkedAccountScopesCreate({ @@ -190,7 +190,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts b/src/api/resources/filestorage/resources/syncStatus/client/Client.ts index 656cd8aa..930adbc4 100644 --- a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts +++ b/src/api/resources/filestorage/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/users/client/Client.ts b/src/api/resources/filestorage/resources/users/client/Client.ts index 795a251f..e7400fe3 100644 --- a/src/api/resources/filestorage/resources/users/client/Client.ts +++ b/src/api/resources/filestorage/resources/users/client/Client.ts @@ -41,6 +41,7 @@ export class Users { cursor, includeDeletedData, includeRemoteData, + includeShellData, isMe, modifiedAfter, modifiedBefore, @@ -68,6 +69,10 @@ export class Users { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isMe != null) { _queryParams["is_me"] = isMe; } @@ -102,7 +107,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -172,7 +177,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts index eeac4134..b25bce04 100644 --- a/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts @@ -20,13 +20,17 @@ export interface UsersListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return the user object for requestor. */ diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts b/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts index 521eb3df..a1cbe291 100644 --- a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.filestorage.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/filestorage/types/AccountDetails.ts b/src/api/resources/filestorage/types/AccountDetails.ts index 74e8309c..23aae1d7 100644 --- a/src/api/resources/filestorage/types/AccountDetails.ts +++ b/src/api/resources/filestorage/types/AccountDetails.ts @@ -17,4 +17,6 @@ export interface AccountDetails { /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; accountType?: string; + /** The time at which account completes the linking flow. */ + completedAt?: Date; } diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts b/src/api/resources/filestorage/types/AccountDetailsAndActions.ts index 535413b4..d7756583 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts +++ b/src/api/resources/filestorage/types/AccountDetailsAndActions.ts @@ -30,4 +30,5 @@ export interface AccountDetailsAndActions { isDuplicate?: boolean; integration?: Merge.filestorage.AccountDetailsAndActionsIntegration; accountType: string; + completedAt: Date; } diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts index a94a4157..084a62d2 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts @@ -6,11 +6,13 @@ * - `COMPLETE` - COMPLETE * - `INCOMPLETE` - INCOMPLETE * - `RELINK_NEEDED` - RELINK_NEEDED + * - `IDLE` - IDLE */ -export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; +export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; export const AccountDetailsAndActionsStatusEnum = { Complete: "COMPLETE", Incomplete: "INCOMPLETE", RelinkNeeded: "RELINK_NEEDED", + Idle: "IDLE", } as const; diff --git a/src/api/resources/filestorage/types/AccountIntegration.ts b/src/api/resources/filestorage/types/AccountIntegration.ts index fe7dece5..2bcd8c83 100644 --- a/src/api/resources/filestorage/types/AccountIntegration.ts +++ b/src/api/resources/filestorage/types/AccountIntegration.ts @@ -11,9 +11,9 @@ export interface AccountIntegration { abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ categories?: Merge.filestorage.CategoriesEnum[]; - /** Company logo in rectangular shape. Upload an image with a clear background. */ + /** Company logo in rectangular shape. */ image?: string; - /** Company logo in square shape. Upload an image with a white background. */ + /** Company logo in square shape. */ squareImage?: string; /** The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. */ color?: string; diff --git a/src/api/resources/filestorage/types/Drive.ts b/src/api/resources/filestorage/types/Drive.ts index 5d25c7cf..387a5121 100644 --- a/src/api/resources/filestorage/types/Drive.ts +++ b/src/api/resources/filestorage/types/Drive.ts @@ -27,7 +27,7 @@ export interface Drive { remoteCreatedAt?: Date; /** The drive's url. */ driveUrl?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/filestorage/types/File_.ts b/src/api/resources/filestorage/types/File_.ts index 13debf10..8b80e0d1 100644 --- a/src/api/resources/filestorage/types/File_.ts +++ b/src/api/resources/filestorage/types/File_.ts @@ -45,7 +45,7 @@ export interface File_ { remoteCreatedAt?: Date; /** When the third party's file was updated. */ remoteUpdatedAt?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/filestorage/types/Folder.ts b/src/api/resources/filestorage/types/Folder.ts index 042e808d..f9d99e98 100644 --- a/src/api/resources/filestorage/types/Folder.ts +++ b/src/api/resources/filestorage/types/Folder.ts @@ -41,7 +41,7 @@ export interface Folder { remoteCreatedAt?: Date; /** When the third party's folder was updated. */ remoteUpdatedAt?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/filestorage/types/Group.ts b/src/api/resources/filestorage/types/Group.ts index e57c5dd5..5e5ac1ab 100644 --- a/src/api/resources/filestorage/types/Group.ts +++ b/src/api/resources/filestorage/types/Group.ts @@ -25,7 +25,7 @@ export interface Group { name?: string; /** The users that belong in the group. If null, this typically means it's either a domain or the third-party platform does not surface this information. */ users: string[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/filestorage/types/LanguageEnum.ts b/src/api/resources/filestorage/types/LanguageEnum.ts new file mode 100644 index 00000000..92c0e577 --- /dev/null +++ b/src/api/resources/filestorage/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * - `en` - en + * - `de` - de + */ +export type LanguageEnum = "en" | "de"; + +export const LanguageEnum = { + En: "en", + De: "de", +} as const; diff --git a/src/api/resources/filestorage/types/User.ts b/src/api/resources/filestorage/types/User.ts index 4e6766d2..8cfa84c5 100644 --- a/src/api/resources/filestorage/types/User.ts +++ b/src/api/resources/filestorage/types/User.ts @@ -27,7 +27,7 @@ export interface User { emailAddress?: string; /** Whether the user is the one who linked this account. */ isMe?: boolean; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/filestorage/types/index.ts b/src/api/resources/filestorage/types/index.ts index 752a4b4b..8e0eabbe 100644 --- a/src/api/resources/filestorage/types/index.ts +++ b/src/api/resources/filestorage/types/index.ts @@ -60,6 +60,7 @@ export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./IssueStatus"; export * from "./Issue"; export * from "./IssueStatusEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/src/api/resources/hris/resources/accountDetails/client/Client.ts b/src/api/resources/hris/resources/accountDetails/client/Client.ts index 6e80baf6..afc7f656 100644 --- a/src/api/resources/hris/resources/accountDetails/client/Client.ts +++ b/src/api/resources/hris/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/accountToken/client/Client.ts b/src/api/resources/hris/resources/accountToken/client/Client.ts index 8ac08054..d425622f 100644 --- a/src/api/resources/hris/resources/accountToken/client/Client.ts +++ b/src/api/resources/hris/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts b/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts index d82299cb..6d56c68b 100644 --- a/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/auditTrail/client/Client.ts b/src/api/resources/hris/resources/auditTrail/client/Client.ts index 27222615..2f75a737 100644 --- a/src/api/resources/hris/resources/auditTrail/client/Client.ts +++ b/src/api/resources/hris/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/availableActions/client/Client.ts b/src/api/resources/hris/resources/availableActions/client/Client.ts index 2a67ec2c..d5946a45 100644 --- a/src/api/resources/hris/resources/availableActions/client/Client.ts +++ b/src/api/resources/hris/resources/availableActions/client/Client.ts @@ -46,7 +46,7 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/bankInfo/client/Client.ts b/src/api/resources/hris/resources/bankInfo/client/Client.ts index 9c8b0c35..0ef9093b 100644 --- a/src/api/resources/hris/resources/bankInfo/client/Client.ts +++ b/src/api/resources/hris/resources/bankInfo/client/Client.ts @@ -45,6 +45,7 @@ export class BankInfo { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, orderBy, @@ -90,6 +91,10 @@ export class BankInfo { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -132,7 +137,7 @@ export class BankInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -214,7 +219,7 @@ export class BankInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts index b06961a9..6019be53 100644 --- a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts +++ b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts @@ -41,13 +41,17 @@ export interface BankInfoListRequest { */ expand?: "employee"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/benefits/client/Client.ts b/src/api/resources/hris/resources/benefits/client/Client.ts index e32d2eba..671cbd2e 100644 --- a/src/api/resources/hris/resources/benefits/client/Client.ts +++ b/src/api/resources/hris/resources/benefits/client/Client.ts @@ -43,6 +43,7 @@ export class Benefits { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -77,6 +78,10 @@ export class Benefits { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -107,7 +112,7 @@ export class Benefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +186,7 @@ export class Benefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts b/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts index 492ecb90..7cf99dfe 100644 --- a/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts +++ b/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts @@ -28,13 +28,17 @@ export interface BenefitsListRequest { */ expand?: "employee"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/companies/client/Client.ts b/src/api/resources/hris/resources/companies/client/Client.ts index d83b7ba3..e011765a 100644 --- a/src/api/resources/hris/resources/companies/client/Client.ts +++ b/src/api/resources/hris/resources/companies/client/Client.ts @@ -41,6 +41,7 @@ export class Companies { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Companies { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Companies { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Companies { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts b/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts index 5a70e65d..9645a4d5 100644 --- a/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts +++ b/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts @@ -20,13 +20,17 @@ export interface CompaniesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/deleteAccount/client/Client.ts b/src/api/resources/hris/resources/deleteAccount/client/Client.ts index e828f5c3..b4890f7b 100644 --- a/src/api/resources/hris/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/hris/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/dependents/client/Client.ts b/src/api/resources/hris/resources/dependents/client/Client.ts index 82829039..88f11f94 100644 --- a/src/api/resources/hris/resources/dependents/client/Client.ts +++ b/src/api/resources/hris/resources/dependents/client/Client.ts @@ -42,6 +42,7 @@ export class Dependents { includeDeletedData, includeRemoteData, includeSensitiveFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class Dependents { _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class Dependents { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -176,7 +181,7 @@ export class Dependents { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts b/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts index a3981dc6..7ff5c4f8 100644 --- a/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts +++ b/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts @@ -20,7 +20,7 @@ export interface DependentsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -31,6 +31,10 @@ export interface DependentsListRequest { * Whether to include sensitive fields (such as social security numbers) in the response. */ includeSensitiveFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts index 24408578..41f67627 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts @@ -45,6 +45,7 @@ export class EmployeePayrollRuns { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -90,6 +91,10 @@ export class EmployeePayrollRuns { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -132,7 +137,7 @@ export class EmployeePayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -206,7 +211,7 @@ export class EmployeePayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts index b4f8cb86..553dc22b 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts @@ -38,13 +38,17 @@ export interface EmployeePayrollRunsListRequest { */ expand?: Merge.hris.EmployeePayrollRunsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/employees/client/Client.ts b/src/api/resources/hris/resources/employees/client/Client.ts index ff5895aa..0970772b 100644 --- a/src/api/resources/hris/resources/employees/client/Client.ts +++ b/src/api/resources/hris/resources/employees/client/Client.ts @@ -50,6 +50,7 @@ export class Employees { includeDeletedData, includeRemoteData, includeSensitiveFields, + includeShellData, jobTitle, lastName, managerId, @@ -126,6 +127,10 @@ export class Employees { _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (jobTitle != null) { _queryParams["job_title"] = jobTitle; } @@ -212,7 +217,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -287,7 +292,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -376,7 +381,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -440,7 +445,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.IgnoreCommonModelRequest.jsonOrThrow(request, { @@ -496,7 +501,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts b/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts index 87064f5a..ff919b9f 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts @@ -58,7 +58,7 @@ export interface EmployeesListRequest { */ homeLocationId?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -69,6 +69,10 @@ export interface EmployeesListRequest { * Whether to include sensitive fields (such as social security numbers) in the response. */ includeSensitiveFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return employees that have an employment of the specified job_title. */ diff --git a/src/api/resources/hris/resources/employerBenefits/client/Client.ts b/src/api/resources/hris/resources/employerBenefits/client/Client.ts index 09e008c1..7db32675 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/Client.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/Client.ts @@ -41,6 +41,7 @@ export class EmployerBenefits { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class EmployerBenefits { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class EmployerBenefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class EmployerBenefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts index 38b0e7ca..1379aa74 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts @@ -20,13 +20,17 @@ export interface EmployerBenefitsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/employments/client/Client.ts b/src/api/resources/hris/resources/employments/client/Client.ts index 25112907..0f34ef5d 100644 --- a/src/api/resources/hris/resources/employments/client/Client.ts +++ b/src/api/resources/hris/resources/employments/client/Client.ts @@ -43,6 +43,7 @@ export class Employments { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, orderBy, @@ -80,6 +81,10 @@ export class Employments { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -122,7 +127,7 @@ export class Employments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +209,7 @@ export class Employments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts b/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts index e1a0bda8..373bcc16 100644 --- a/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts +++ b/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts @@ -30,13 +30,17 @@ export interface EmploymentsListRequest { */ expand?: Merge.hris.EmploymentsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/fieldMapping/client/Client.ts b/src/api/resources/hris/resources/fieldMapping/client/Client.ts index d76914f8..b9873339 100644 --- a/src/api/resources/hris/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/hris/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/forceResync/client/Client.ts b/src/api/resources/hris/resources/forceResync/client/Client.ts index 61a819f8..fbc0337c 100644 --- a/src/api/resources/hris/resources/forceResync/client/Client.ts +++ b/src/api/resources/hris/resources/forceResync/client/Client.ts @@ -26,7 +26,7 @@ export class ForceResync { constructor(protected readonly _options: ForceResync.Options) {} /** - * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. * * @example * await merge.hris.forceResync.syncStatusResyncCreate() @@ -46,7 +46,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/generateKey/client/Client.ts b/src/api/resources/hris/resources/generateKey/client/Client.ts index f0cc63ec..ddfa6986 100644 --- a/src/api/resources/hris/resources/generateKey/client/Client.ts +++ b/src/api/resources/hris/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/resources/groups/client/Client.ts b/src/api/resources/hris/resources/groups/client/Client.ts index d9f879e3..f4f4caaf 100644 --- a/src/api/resources/hris/resources/groups/client/Client.ts +++ b/src/api/resources/hris/resources/groups/client/Client.ts @@ -41,6 +41,7 @@ export class Groups { cursor, includeDeletedData, includeRemoteData, + includeShellData, isCommonlyUsedAsTeam, modifiedAfter, modifiedBefore, @@ -72,6 +73,10 @@ export class Groups { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonlyUsedAsTeam != null) { _queryParams["is_commonly_used_as_team"] = isCommonlyUsedAsTeam; } @@ -122,7 +127,7 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -200,7 +205,7 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts b/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts index 136a9341..49f9e376 100644 --- a/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts @@ -20,13 +20,17 @@ export interface GroupsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. */ diff --git a/src/api/resources/hris/resources/issues/client/Client.ts b/src/api/resources/hris/resources/issues/client/Client.ts index c9246139..c8e0ec09 100644 --- a/src/api/resources/hris/resources/issues/client/Client.ts +++ b/src/api/resources/hris/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/linkToken/client/Client.ts b/src/api/resources/hris/resources/linkToken/client/Client.ts index ca07bdd6..ed849ec8 100644 --- a/src/api/resources/hris/resources/linkToken/client/Client.ts +++ b/src/api/resources/hris/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.EndUserDetailsRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts index b3a26195..286f828c 100644 --- a/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -34,8 +34,13 @@ export interface EndUserDetailsRequest { commonModels?: Merge.hris.CommonModelScopesBodyRequest[]; /** When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. */ categoryCommonModelScopes?: Record; - /** The language code for the language to localize Merge Link to. */ - language?: string; + /** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ + language?: Merge.hris.LanguageEnum; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; } diff --git a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts index 2a4b7fb0..95e45f62 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index 7d4074d1..4c2a4864 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -63,7 +63,7 @@ export interface LinkedAccountsListRequest { */ pageSize?: number; /** - * Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + * Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; } diff --git a/src/api/resources/hris/resources/locations/client/Client.ts b/src/api/resources/hris/resources/locations/client/Client.ts index 15e03517..eb9e5fa9 100644 --- a/src/api/resources/hris/resources/locations/client/Client.ts +++ b/src/api/resources/hris/resources/locations/client/Client.ts @@ -41,6 +41,7 @@ export class Locations { cursor, includeDeletedData, includeRemoteData, + includeShellData, locationType, modifiedAfter, modifiedBefore, @@ -70,6 +71,10 @@ export class Locations { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (locationType != null) { _queryParams["location_type"] = locationType; } @@ -112,7 +117,7 @@ export class Locations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,7 +195,7 @@ export class Locations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts b/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts index 42eb6209..696d99b5 100644 --- a/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts +++ b/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts @@ -22,13 +22,17 @@ export interface LocationsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return locations with this location_type * diff --git a/src/api/resources/hris/resources/passthrough/client/Client.ts b/src/api/resources/hris/resources/passthrough/client/Client.ts index fb23d403..77a152c0 100644 --- a/src/api/resources/hris/resources/passthrough/client/Client.ts +++ b/src/api/resources/hris/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/resources/payGroups/client/Client.ts b/src/api/resources/hris/resources/payGroups/client/Client.ts index 0d988742..5394a1cf 100644 --- a/src/api/resources/hris/resources/payGroups/client/Client.ts +++ b/src/api/resources/hris/resources/payGroups/client/Client.ts @@ -41,6 +41,7 @@ export class PayGroups { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class PayGroups { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class PayGroups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class PayGroups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts index b846f078..2ae92a79 100644 --- a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts +++ b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts @@ -20,13 +20,17 @@ export interface PayGroupsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/payrollRuns/client/Client.ts b/src/api/resources/hris/resources/payrollRuns/client/Client.ts index 11149369..30d1aef5 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/Client.ts @@ -43,6 +43,7 @@ export class PayrollRuns { endedBefore, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -82,6 +83,10 @@ export class PayrollRuns { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -132,7 +137,7 @@ export class PayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -210,7 +215,7 @@ export class PayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts index 7c37c953..96f5bb83 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts @@ -30,13 +30,17 @@ export interface PayrollRunsListRequest { */ endedBefore?: Date; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/regenerateKey/client/Client.ts b/src/api/resources/hris/resources/regenerateKey/client/Client.ts index 404e5ec4..f302aef3 100644 --- a/src/api/resources/hris/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/hris/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/resources/scopes/client/Client.ts b/src/api/resources/hris/resources/scopes/client/Client.ts index 80c33439..63eb4b7c 100644 --- a/src/api/resources/hris/resources/scopes/client/Client.ts +++ b/src/api/resources/hris/resources/scopes/client/Client.ts @@ -26,7 +26,7 @@ export class Scopes { constructor(protected readonly _options: Scopes.Options) {} /** - * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.hris.scopes.defaultScopesRetrieve() @@ -48,7 +48,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -87,7 +87,7 @@ export class Scopes { } /** - * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.hris.scopes.linkedAccountScopesRetrieve() @@ -109,7 +109,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -148,7 +148,7 @@ export class Scopes { } /** - * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) + * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * * @example * await merge.hris.scopes.linkedAccountScopesCreate({ @@ -190,7 +190,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/resources/syncStatus/client/Client.ts b/src/api/resources/hris/resources/syncStatus/client/Client.ts index 721ebaad..8212b771 100644 --- a/src/api/resources/hris/resources/syncStatus/client/Client.ts +++ b/src/api/resources/hris/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/teams/client/Client.ts b/src/api/resources/hris/resources/teams/client/Client.ts index 6e7915d5..f39e8a3d 100644 --- a/src/api/resources/hris/resources/teams/client/Client.ts +++ b/src/api/resources/hris/resources/teams/client/Client.ts @@ -42,6 +42,7 @@ export class Teams { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -73,6 +74,10 @@ export class Teams { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -107,7 +112,7 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +186,7 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts b/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts index ae11cb39..dd357aa2 100644 --- a/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts @@ -24,13 +24,17 @@ export interface TeamsListRequest { */ expand?: "parent_team"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/timeOff/client/Client.ts b/src/api/resources/hris/resources/timeOff/client/Client.ts index 1d722d2d..31c04927 100644 --- a/src/api/resources/hris/resources/timeOff/client/Client.ts +++ b/src/api/resources/hris/resources/timeOff/client/Client.ts @@ -46,6 +46,7 @@ export class TimeOff { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -98,6 +99,10 @@ export class TimeOff { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -152,7 +157,7 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -227,7 +232,7 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -310,7 +315,7 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -370,7 +375,7 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts index 7f803e0f..0cda094e 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts @@ -42,13 +42,17 @@ export interface TimeOffListRequest { */ expand?: Merge.hris.TimeOffListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts index d106d075..c6b44300 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts @@ -43,6 +43,7 @@ export class TimeOffBalances { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -80,6 +81,10 @@ export class TimeOffBalances { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -122,7 +127,7 @@ export class TimeOffBalances { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +209,7 @@ export class TimeOffBalances { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts index ba0fd8f1..1ce838bf 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts @@ -30,13 +30,17 @@ export interface TimeOffBalancesListRequest { */ expand?: "employee"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts index db6db0d2..58ff84de 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts @@ -44,6 +44,7 @@ export class TimesheetEntries { endedBefore, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, orderBy, @@ -85,6 +86,10 @@ export class TimesheetEntries { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -127,7 +132,7 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -202,7 +207,7 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -275,7 +280,7 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -335,7 +340,7 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts index 2a6dacf8..7c5f182a 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts @@ -34,13 +34,17 @@ export interface TimesheetEntriesListRequest { */ endedBefore?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/hris/resources/webhookReceivers/client/Client.ts b/src/api/resources/hris/resources/webhookReceivers/client/Client.ts index f2c75012..889efe1a 100644 --- a/src/api/resources/hris/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/hris/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.hris.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/hris/types/AccountDetails.ts b/src/api/resources/hris/types/AccountDetails.ts index 3c57d0e9..4f823bf3 100644 --- a/src/api/resources/hris/types/AccountDetails.ts +++ b/src/api/resources/hris/types/AccountDetails.ts @@ -17,4 +17,6 @@ export interface AccountDetails { /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; accountType?: string; + /** The time at which account completes the linking flow. */ + completedAt?: Date; } diff --git a/src/api/resources/hris/types/AccountDetailsAndActions.ts b/src/api/resources/hris/types/AccountDetailsAndActions.ts index c52133e6..6fd337bb 100644 --- a/src/api/resources/hris/types/AccountDetailsAndActions.ts +++ b/src/api/resources/hris/types/AccountDetailsAndActions.ts @@ -30,4 +30,5 @@ export interface AccountDetailsAndActions { isDuplicate?: boolean; integration?: Merge.hris.AccountDetailsAndActionsIntegration; accountType: string; + completedAt: Date; } diff --git a/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts index a94a4157..084a62d2 100644 --- a/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts @@ -6,11 +6,13 @@ * - `COMPLETE` - COMPLETE * - `INCOMPLETE` - INCOMPLETE * - `RELINK_NEEDED` - RELINK_NEEDED + * - `IDLE` - IDLE */ -export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; +export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; export const AccountDetailsAndActionsStatusEnum = { Complete: "COMPLETE", Incomplete: "INCOMPLETE", RelinkNeeded: "RELINK_NEEDED", + Idle: "IDLE", } as const; diff --git a/src/api/resources/hris/types/AccountIntegration.ts b/src/api/resources/hris/types/AccountIntegration.ts index cd9d529d..2e462568 100644 --- a/src/api/resources/hris/types/AccountIntegration.ts +++ b/src/api/resources/hris/types/AccountIntegration.ts @@ -11,9 +11,9 @@ export interface AccountIntegration { abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ categories?: Merge.hris.CategoriesEnum[]; - /** Company logo in rectangular shape. Upload an image with a clear background. */ + /** Company logo in rectangular shape. */ image?: string; - /** Company logo in square shape. Upload an image with a white background. */ + /** Company logo in square shape. */ squareImage?: string; /** The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. */ color?: string; diff --git a/src/api/resources/hris/types/BankInfo.ts b/src/api/resources/hris/types/BankInfo.ts index 5be805ec..6fee2df7 100644 --- a/src/api/resources/hris/types/BankInfo.ts +++ b/src/api/resources/hris/types/BankInfo.ts @@ -40,7 +40,7 @@ export interface BankInfo { accountType?: Merge.hris.BankInfoAccountType; /** When the matching bank object was created in the third party system. */ remoteCreatedAt?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Benefit.ts b/src/api/resources/hris/types/Benefit.ts index b23e345d..2f3c2040 100644 --- a/src/api/resources/hris/types/Benefit.ts +++ b/src/api/resources/hris/types/Benefit.ts @@ -37,7 +37,7 @@ export interface Benefit { startDate?: Date; /** The day and time the benefit ended. */ endDate?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; /** The employer benefit plan the employee is enrolled in. */ employerBenefit?: string; diff --git a/src/api/resources/hris/types/Company.ts b/src/api/resources/hris/types/Company.ts index d3a49df7..eb7221c2 100644 --- a/src/api/resources/hris/types/Company.ts +++ b/src/api/resources/hris/types/Company.ts @@ -29,7 +29,7 @@ export interface Company { displayName?: string; /** The company's Employer Identification Numbers. */ eins?: (string | undefined)[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Deduction.ts b/src/api/resources/hris/types/Deduction.ts index d1425065..bcd268ee 100644 --- a/src/api/resources/hris/types/Deduction.ts +++ b/src/api/resources/hris/types/Deduction.ts @@ -30,7 +30,7 @@ export interface Deduction { employeeDeduction?: number; /** The amount of money that is withheld on behalf of an employee by the company. */ companyDeduction?: number; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Dependent.ts b/src/api/resources/hris/types/Dependent.ts index 13e6bcc2..0df0dc8b 100644 --- a/src/api/resources/hris/types/Dependent.ts +++ b/src/api/resources/hris/types/Dependent.ts @@ -59,7 +59,7 @@ export interface Dependent { isStudent?: boolean; /** The dependents's social security number. */ ssn?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Earning.ts b/src/api/resources/hris/types/Earning.ts index 57048b83..a11f082f 100644 --- a/src/api/resources/hris/types/Earning.ts +++ b/src/api/resources/hris/types/Earning.ts @@ -35,7 +35,7 @@ export interface Earning { * - `BONUS` - BONUS */ type?: Merge.hris.EarningType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Employee.ts b/src/api/resources/hris/types/Employee.ts index 0bc563bd..1345107e 100644 --- a/src/api/resources/hris/types/Employee.ts +++ b/src/api/resources/hris/types/Employee.ts @@ -113,6 +113,7 @@ export interface Employee { avatar?: string; /** Custom fields configured for a given model. */ customFields?: Record; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/EmployeePayrollRun.ts b/src/api/resources/hris/types/EmployeePayrollRun.ts index f776be7e..220a16da 100644 --- a/src/api/resources/hris/types/EmployeePayrollRun.ts +++ b/src/api/resources/hris/types/EmployeePayrollRun.ts @@ -40,7 +40,7 @@ export interface EmployeePayrollRun { earnings?: Merge.hris.Earning[]; deductions?: Merge.hris.Deduction[]; taxes?: Merge.hris.Tax[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/EmployerBenefit.ts b/src/api/resources/hris/types/EmployerBenefit.ts index 26ce052b..5a2b2623 100644 --- a/src/api/resources/hris/types/EmployerBenefit.ts +++ b/src/api/resources/hris/types/EmployerBenefit.ts @@ -39,7 +39,7 @@ export interface EmployerBenefit { description?: string; /** The employer benefit's deduction code. */ deductionCode?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/hris/types/Employment.ts b/src/api/resources/hris/types/Employment.ts index a86786f4..802b7a71 100644 --- a/src/api/resources/hris/types/Employment.ts +++ b/src/api/resources/hris/types/Employment.ts @@ -29,7 +29,7 @@ export interface Employment { employee?: Merge.hris.EmploymentEmployee; /** The position's title. */ jobTitle?: string; - /** The position's pay rate in dollars. */ + /** The position's pay rate. */ payRate?: number; /** * The time period this pay rate encompasses. @@ -393,7 +393,7 @@ export interface Employment { * - `FREELANCE` - FREELANCE */ employmentType?: Merge.hris.EmploymentEmploymentType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Group.ts b/src/api/resources/hris/types/Group.ts index f2540353..9341617a 100644 --- a/src/api/resources/hris/types/Group.ts +++ b/src/api/resources/hris/types/Group.ts @@ -37,7 +37,7 @@ export interface Group { * - `GROUP` - GROUP */ type?: Merge.hris.GroupType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; /** Indicates whether the Group refers to a team in the third party platform. Note that this is an opinionated view based on how Merge observes most organizations representing teams in each third party platform. If your customer uses a platform different from most, there is a chance this will not be correct. */ isCommonlyUsedAsTeam?: boolean; diff --git a/src/api/resources/hris/types/LanguageEnum.ts b/src/api/resources/hris/types/LanguageEnum.ts new file mode 100644 index 00000000..92c0e577 --- /dev/null +++ b/src/api/resources/hris/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * - `en` - en + * - `de` - de + */ +export type LanguageEnum = "en" | "de"; + +export const LanguageEnum = { + En: "en", + De: "de", +} as const; diff --git a/src/api/resources/hris/types/Location.ts b/src/api/resources/hris/types/Location.ts index 5f0e6f19..4a2d7d3e 100644 --- a/src/api/resources/hris/types/Location.ts +++ b/src/api/resources/hris/types/Location.ts @@ -298,7 +298,7 @@ export interface Location { * - `WORK` - WORK */ locationType?: Merge.hris.LocationLocationType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/PayGroup.ts b/src/api/resources/hris/types/PayGroup.ts index 72a45c75..beebeb0b 100644 --- a/src/api/resources/hris/types/PayGroup.ts +++ b/src/api/resources/hris/types/PayGroup.ts @@ -25,7 +25,7 @@ export interface PayGroup { modifiedAt?: Date; /** The pay group name. */ payGroupName?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/PayrollRun.ts b/src/api/resources/hris/types/PayrollRun.ts index ae0d3458..4503de41 100644 --- a/src/api/resources/hris/types/PayrollRun.ts +++ b/src/api/resources/hris/types/PayrollRun.ts @@ -49,7 +49,7 @@ export interface PayrollRun { endDate?: Date; /** The day and time the payroll run was checked. */ checkDate?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Tax.ts b/src/api/resources/hris/types/Tax.ts index e29555a8..02bf7916 100644 --- a/src/api/resources/hris/types/Tax.ts +++ b/src/api/resources/hris/types/Tax.ts @@ -30,7 +30,7 @@ export interface Tax { amount?: number; /** Whether or not the employer is responsible for paying the tax. */ employerTax?: boolean; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/Team.ts b/src/api/resources/hris/types/Team.ts index a474a251..ec45c98a 100644 --- a/src/api/resources/hris/types/Team.ts +++ b/src/api/resources/hris/types/Team.ts @@ -27,7 +27,7 @@ export interface Team { name?: string; /** The team's parent team. */ parentTeam?: Merge.hris.TeamParentTeam; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/TimeOff.ts b/src/api/resources/hris/types/TimeOff.ts index 2c3bdb99..b6df7d65 100644 --- a/src/api/resources/hris/types/TimeOff.ts +++ b/src/api/resources/hris/types/TimeOff.ts @@ -63,6 +63,7 @@ export interface TimeOff { startTime?: Date; /** The day and time of the end of the time requested off. */ endTime?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/TimeOffBalance.ts b/src/api/resources/hris/types/TimeOffBalance.ts index 1dd56cb3..7243024a 100644 --- a/src/api/resources/hris/types/TimeOffBalance.ts +++ b/src/api/resources/hris/types/TimeOffBalance.ts @@ -25,9 +25,9 @@ export interface TimeOffBalance { modifiedAt?: Date; /** The employee the balance belongs to. */ employee?: Merge.hris.TimeOffBalanceEmployee; - /** The current remaining PTO balance, always measured in terms of hours. */ + /** The current remaining PTO balance, measured in hours. For integrations that return this value in days, Merge multiplies by 8 to calculate hours. */ balance?: number; - /** The amount of PTO used in terms of hours. */ + /** The amount of PTO used in terms of hours. For integrations that return this value in days, Merge multiplies by 8 to calculate hours. */ used?: number; /** * The policy type of this time off balance. @@ -40,7 +40,7 @@ export interface TimeOffBalance { * - `BEREAVEMENT` - BEREAVEMENT */ policyType?: Merge.hris.TimeOffBalancePolicyType; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.hris.RemoteData[]; diff --git a/src/api/resources/hris/types/TimesheetEntry.ts b/src/api/resources/hris/types/TimesheetEntry.ts index e07fc47a..2717c8a9 100644 --- a/src/api/resources/hris/types/TimesheetEntry.ts +++ b/src/api/resources/hris/types/TimesheetEntry.ts @@ -29,7 +29,7 @@ export interface TimesheetEntry { startTime?: Date; /** The time at which the employee ended work. */ endTime?: Date; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: (Record | undefined)[]; diff --git a/src/api/resources/hris/types/index.ts b/src/api/resources/hris/types/index.ts index 7a3fbaf7..19b74853 100644 --- a/src/api/resources/hris/types/index.ts +++ b/src/api/resources/hris/types/index.ts @@ -100,6 +100,7 @@ export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./IssueStatus"; export * from "./Issue"; export * from "./IssueStatusEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./LocationCountry"; diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 822a7f79..207f6e47 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,6 +1,6 @@ export * as filestorage from "./filestorage"; +export * as ticketing from "./ticketing"; export * as ats from "./ats"; export * as crm from "./crm"; export * as hris from "./hris"; -export * as ticketing from "./ticketing"; export * as accounting from "./accounting"; diff --git a/src/api/resources/ticketing/resources/accountDetails/client/Client.ts b/src/api/resources/ticketing/resources/accountDetails/client/Client.ts index 30eb9309..3ce1f936 100644 --- a/src/api/resources/ticketing/resources/accountDetails/client/Client.ts +++ b/src/api/resources/ticketing/resources/accountDetails/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/accountToken/client/Client.ts b/src/api/resources/ticketing/resources/accountToken/client/Client.ts index bf12315c..6a211d8d 100644 --- a/src/api/resources/ticketing/resources/accountToken/client/Client.ts +++ b/src/api/resources/ticketing/resources/accountToken/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/accounts/client/Client.ts b/src/api/resources/ticketing/resources/accounts/client/Client.ts index 02ef9156..41c7168e 100644 --- a/src/api/resources/ticketing/resources/accounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/accounts/client/Client.ts @@ -41,6 +41,7 @@ export class Accounts { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Accounts { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts index eff6874c..35e42dbf 100644 --- a/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts @@ -20,13 +20,17 @@ export interface AccountsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts b/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts index a7bce3f8..35edd38c 100644 --- a/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, { @@ -117,7 +117,7 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/attachments/client/Client.ts b/src/api/resources/ticketing/resources/attachments/client/Client.ts index 9cc631a9..855a90f8 100644 --- a/src/api/resources/ticketing/resources/attachments/client/Client.ts +++ b/src/api/resources/ticketing/resources/attachments/client/Client.ts @@ -43,6 +43,7 @@ export class Attachments { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -75,6 +76,10 @@ export class Attachments { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -113,7 +118,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -188,7 +193,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -265,7 +270,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -332,7 +337,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -387,7 +392,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts index f4ec153f..3febf9bb 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -24,13 +24,17 @@ export interface AttachmentsListRequest { */ expand?: "ticket"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts index e4022f5c..d07b942b 100644 --- a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/availableActions/client/Client.ts b/src/api/resources/ticketing/resources/availableActions/client/Client.ts index 2d268413..1f37bd44 100644 --- a/src/api/resources/ticketing/resources/availableActions/client/Client.ts +++ b/src/api/resources/ticketing/resources/availableActions/client/Client.ts @@ -46,7 +46,7 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/collections/client/Client.ts b/src/api/resources/ticketing/resources/collections/client/Client.ts index 18637bfc..53f7407f 100644 --- a/src/api/resources/ticketing/resources/collections/client/Client.ts +++ b/src/api/resources/ticketing/resources/collections/client/Client.ts @@ -43,6 +43,7 @@ export class Collections { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -80,6 +81,10 @@ export class Collections { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -122,7 +127,7 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -204,7 +209,7 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -254,7 +259,7 @@ export class Collections { request: Merge.ticketing.CollectionsUsersListRequest = {}, requestOptions?: Collections.RequestOptions ): Promise { - const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -272,6 +277,10 @@ export class Collections { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (pageSize != null) { _queryParams["page_size"] = pageSize.toString(); } @@ -290,7 +299,7 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts index 24551d02..8f32cfcd 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts @@ -28,13 +28,17 @@ export interface CollectionsListRequest { */ expand?: "parent_collection"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts index a9dc45ff..e1e059e7 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts @@ -18,13 +18,17 @@ export interface CollectionsUsersListRequest { */ expand?: Merge.ticketing.CollectionsUsersListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * Number of results to return per page. */ diff --git a/src/api/resources/ticketing/resources/comments/client/Client.ts b/src/api/resources/ticketing/resources/comments/client/Client.ts index 351f6b3d..e1367e45 100644 --- a/src/api/resources/ticketing/resources/comments/client/Client.ts +++ b/src/api/resources/ticketing/resources/comments/client/Client.ts @@ -42,6 +42,7 @@ export class Comments { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -74,6 +75,10 @@ export class Comments { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -112,7 +117,7 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -187,7 +192,7 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -264,7 +269,7 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -324,7 +329,7 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts b/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts index 4d87ac67..22b851d9 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts @@ -26,13 +26,17 @@ export interface CommentsListRequest { */ expand?: Merge.ticketing.CommentsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/contacts/client/Client.ts b/src/api/resources/ticketing/resources/contacts/client/Client.ts index 5579ca90..a941c7cd 100644 --- a/src/api/resources/ticketing/resources/contacts/client/Client.ts +++ b/src/api/resources/ticketing/resources/contacts/client/Client.ts @@ -42,6 +42,7 @@ export class Contacts { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -72,6 +73,10 @@ export class Contacts { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -102,7 +107,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -177,7 +182,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -254,7 +259,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -314,7 +319,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts index 6b9a85f1..23db1392 100644 --- a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts @@ -24,13 +24,17 @@ export interface ContactsListRequest { */ expand?: "account"; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts b/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts index 7fae7e48..e47421aa 100644 --- a/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts @@ -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.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/fieldMapping/client/Client.ts b/src/api/resources/ticketing/resources/fieldMapping/client/Client.ts index 92d40f5b..e6f8f5ed 100644 --- a/src/api/resources/ticketing/resources/fieldMapping/client/Client.ts +++ b/src/api/resources/ticketing/resources/fieldMapping/client/Client.ts @@ -48,7 +48,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -117,7 +117,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.CreateFieldMappingRequest.jsonOrThrow(request, { @@ -182,7 +182,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -245,7 +245,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.PatchedEditFieldMappingRequest.jsonOrThrow(request, { @@ -320,7 +320,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -382,7 +382,7 @@ export class FieldMapping { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/forceResync/client/Client.ts b/src/api/resources/ticketing/resources/forceResync/client/Client.ts index 1671ab48..4486a98a 100644 --- a/src/api/resources/ticketing/resources/forceResync/client/Client.ts +++ b/src/api/resources/ticketing/resources/forceResync/client/Client.ts @@ -26,7 +26,7 @@ export class ForceResync { constructor(protected readonly _options: ForceResync.Options) {} /** - * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. * * @example * await merge.ticketing.forceResync.syncStatusResyncCreate() @@ -48,7 +48,7 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/generateKey/client/Client.ts b/src/api/resources/ticketing/resources/generateKey/client/Client.ts index f66f2916..52e334e6 100644 --- a/src/api/resources/ticketing/resources/generateKey/client/Client.ts +++ b/src/api/resources/ticketing/resources/generateKey/client/Client.ts @@ -51,7 +51,7 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.GenerateRemoteKeyRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/resources/issues/client/Client.ts b/src/api/resources/ticketing/resources/issues/client/Client.ts index aa51b2f4..740c9053 100644 --- a/src/api/resources/ticketing/resources/issues/client/Client.ts +++ b/src/api/resources/ticketing/resources/issues/client/Client.ts @@ -122,7 +122,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -182,7 +182,7 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/ticketing/resources/linkToken/client/Client.ts b/src/api/resources/ticketing/resources/linkToken/client/Client.ts index a7c8ca13..b4ec4d57 100644 --- a/src/api/resources/ticketing/resources/linkToken/client/Client.ts +++ b/src/api/resources/ticketing/resources/linkToken/client/Client.ts @@ -54,7 +54,7 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.EndUserDetailsRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts index ee9b70ed..9a295a6b 100644 --- a/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -37,8 +37,13 @@ export interface EndUserDetailsRequest { string, Merge.ticketing.IndividualCommonModelScopeDeserializerRequest[] | undefined >; - /** The language code for the language to localize Merge Link to. */ - language?: string; + /** + * The following subset of IETF language tags can be used to configure localization. + * + * * `en` - en + * * `de` - de + */ + language?: Merge.ticketing.LanguageEnum; /** A JSON object containing integration-specific configuration options. */ integrationSpecificConfig?: Record; } diff --git a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts index 80adfec4..6b053a5a 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts @@ -117,7 +117,7 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index 9105a979..b52db297 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -63,7 +63,7 @@ export interface LinkedAccountsListRequest { */ pageSize?: number; /** - * Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + * Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` */ status?: string; } diff --git a/src/api/resources/ticketing/resources/passthrough/client/Client.ts b/src/api/resources/ticketing/resources/passthrough/client/Client.ts index 237bd17b..c7a62ef6 100644 --- a/src/api/resources/ticketing/resources/passthrough/client/Client.ts +++ b/src/api/resources/ticketing/resources/passthrough/client/Client.ts @@ -52,7 +52,7 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/resources/projects/client/Client.ts b/src/api/resources/ticketing/resources/projects/client/Client.ts index 6731b088..41422ff2 100644 --- a/src/api/resources/ticketing/resources/projects/client/Client.ts +++ b/src/api/resources/ticketing/resources/projects/client/Client.ts @@ -41,6 +41,7 @@ export class Projects { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Projects { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -217,7 +222,7 @@ export class Projects { request: Merge.ticketing.ProjectsUsersListRequest = {}, requestOptions?: Projects.RequestOptions ): Promise { - const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -235,6 +240,10 @@ export class Projects { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (pageSize != null) { _queryParams["page_size"] = pageSize.toString(); } @@ -253,7 +262,7 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts index 28115fbf..3267915b 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts @@ -20,13 +20,17 @@ export interface ProjectsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts index 24357923..cdb3c9e4 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts @@ -18,13 +18,17 @@ export interface ProjectsUsersListRequest { */ expand?: Merge.ticketing.ProjectsUsersListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * Number of results to return per page. */ diff --git a/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts b/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts index c49ef14f..74ca46f5 100644 --- a/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts @@ -51,7 +51,7 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/resources/roles/client/Client.ts b/src/api/resources/ticketing/resources/roles/client/Client.ts index 9b683a69..d2699351 100644 --- a/src/api/resources/ticketing/resources/roles/client/Client.ts +++ b/src/api/resources/ticketing/resources/roles/client/Client.ts @@ -41,6 +41,7 @@ export class Roles { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Roles { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Roles { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Roles { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts b/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts index a2e5ab68..d4f551aa 100644 --- a/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts +++ b/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts @@ -20,13 +20,17 @@ export interface RolesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/scopes/client/Client.ts b/src/api/resources/ticketing/resources/scopes/client/Client.ts index a0c971ec..b94c42bd 100644 --- a/src/api/resources/ticketing/resources/scopes/client/Client.ts +++ b/src/api/resources/ticketing/resources/scopes/client/Client.ts @@ -26,7 +26,7 @@ export class Scopes { constructor(protected readonly _options: Scopes.Options) {} /** - * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.ticketing.scopes.defaultScopesRetrieve() @@ -48,7 +48,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -87,7 +87,7 @@ export class Scopes { } /** - * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). + * Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). * * @example * await merge.ticketing.scopes.linkedAccountScopesRetrieve() @@ -109,7 +109,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -148,7 +148,7 @@ export class Scopes { } /** - * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) + * Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) * * @example * await merge.ticketing.scopes.linkedAccountScopesCreate({ @@ -190,7 +190,7 @@ export class Scopes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts index b4e85d2e..ccd21e7b 100644 --- a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts @@ -59,7 +59,7 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/tags/client/Client.ts b/src/api/resources/ticketing/resources/tags/client/Client.ts index c8add1de..b57fcc36 100644 --- a/src/api/resources/ticketing/resources/tags/client/Client.ts +++ b/src/api/resources/ticketing/resources/tags/client/Client.ts @@ -41,6 +41,7 @@ export class Tags { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Tags { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts b/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts index cc01a51e..513564ff 100644 --- a/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts +++ b/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts @@ -20,13 +20,17 @@ export interface TagsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/teams/client/Client.ts b/src/api/resources/ticketing/resources/teams/client/Client.ts index 73805b8e..e5ca3229 100644 --- a/src/api/resources/ticketing/resources/teams/client/Client.ts +++ b/src/api/resources/ticketing/resources/teams/client/Client.ts @@ -41,6 +41,7 @@ export class Teams { cursor, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -67,6 +68,10 @@ export class Teams { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -97,7 +102,7 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -167,7 +172,7 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts b/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts index 81e15326..a656fb0c 100644 --- a/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts @@ -20,13 +20,17 @@ export interface TeamsListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/tickets/client/Client.ts b/src/api/resources/ticketing/resources/tickets/client/Client.ts index d6805963..b7c50757 100644 --- a/src/api/resources/ticketing/resources/tickets/client/Client.ts +++ b/src/api/resources/ticketing/resources/tickets/client/Client.ts @@ -51,6 +51,7 @@ export class Tickets { includeDeletedData, includeRemoteData, includeRemoteFields, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -129,6 +130,10 @@ export class Tickets { _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -207,7 +212,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -282,7 +287,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -371,7 +376,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -447,7 +452,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -500,7 +505,7 @@ export class Tickets { request: Merge.ticketing.TicketsCollaboratorsListRequest = {}, requestOptions?: Tickets.RequestOptions ): Promise { - const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; + const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -518,6 +523,10 @@ export class Tickets { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (pageSize != null) { _queryParams["page_size"] = pageSize.toString(); } @@ -536,7 +545,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -599,7 +608,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -658,7 +667,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -706,7 +715,8 @@ export class Tickets { request: Merge.ticketing.TicketsRemoteFieldClassesListRequest = {}, requestOptions?: Tickets.RequestOptions ): Promise { - const { cursor, includeDeletedData, includeRemoteData, isCommonModelField, pageSize } = request; + const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, pageSize } = + request; const _queryParams: Record = {}; if (cursor != null) { _queryParams["cursor"] = cursor; @@ -720,6 +730,10 @@ export class Tickets { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (isCommonModelField != null) { _queryParams["is_common_model_field"] = isCommonModelField.toString(); } @@ -742,7 +756,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts index 7d85ac12..061bac98 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts @@ -18,13 +18,17 @@ export interface TicketsCollaboratorsListRequest { */ expand?: Merge.ticketing.TicketsCollaboratorsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * Number of results to return per page. */ diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts index 1621e43e..124d739f 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts @@ -58,7 +58,7 @@ export interface TicketsListRequest { */ expand?: Merge.ticketing.TicketsListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** @@ -69,6 +69,10 @@ export interface TicketsListRequest { * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */ includeRemoteFields?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts index a9774db5..cb31eaa7 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts @@ -12,13 +12,17 @@ export interface TicketsRemoteFieldClassesListRequest { */ cursor?: string; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, will only return remote field classes with this is_common_model_field value */ diff --git a/src/api/resources/ticketing/resources/users/client/Client.ts b/src/api/resources/ticketing/resources/users/client/Client.ts index 502d8f0f..6b61ab8f 100644 --- a/src/api/resources/ticketing/resources/users/client/Client.ts +++ b/src/api/resources/ticketing/resources/users/client/Client.ts @@ -43,6 +43,7 @@ export class Users { expand, includeDeletedData, includeRemoteData, + includeShellData, modifiedAfter, modifiedBefore, pageSize, @@ -77,6 +78,10 @@ export class Users { _queryParams["include_remote_data"] = includeRemoteData.toString(); } + if (includeShellData != null) { + _queryParams["include_shell_data"] = includeShellData.toString(); + } + if (modifiedAfter != null) { _queryParams["modified_after"] = modifiedAfter.toISOString(); } @@ -107,7 +112,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, @@ -181,7 +186,7 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts b/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts index 80c5d773..c6f07f0a 100644 --- a/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts @@ -30,13 +30,17 @@ export interface UsersListRequest { */ expand?: Merge.ticketing.UsersListRequestExpand; /** - * Whether to include data that was marked as deleted by third party webhooks. + * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ includeDeletedData?: boolean; /** * Whether to include the original data Merge fetched from the third-party to produce these models. */ includeRemoteData?: boolean; + /** + * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + */ + includeShellData?: boolean; /** * If provided, only objects synced by Merge after this date time will be returned. */ diff --git a/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts b/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts index 9dc4f1e8..6e96dca9 100644 --- a/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts @@ -46,7 +46,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -111,7 +111,7 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.10", + "X-Fern-SDK-Version": "1.0.11", }, contentType: "application/json", body: await serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, { diff --git a/src/api/resources/ticketing/types/Account.ts b/src/api/resources/ticketing/types/Account.ts index c81eb7cc..a2c2fa79 100644 --- a/src/api/resources/ticketing/types/Account.ts +++ b/src/api/resources/ticketing/types/Account.ts @@ -29,7 +29,7 @@ export interface Account { name?: string; /** The account's domain names. */ domains?: (string | undefined)[]; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/AccountDetails.ts b/src/api/resources/ticketing/types/AccountDetails.ts index 8d900584..59df7421 100644 --- a/src/api/resources/ticketing/types/AccountDetails.ts +++ b/src/api/resources/ticketing/types/AccountDetails.ts @@ -17,4 +17,6 @@ export interface AccountDetails { /** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */ isDuplicate?: boolean; accountType?: string; + /** The time at which account completes the linking flow. */ + completedAt?: Date; } diff --git a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts index 2f276296..b118e75a 100644 --- a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts @@ -30,4 +30,5 @@ export interface AccountDetailsAndActions { isDuplicate?: boolean; integration?: Merge.ticketing.AccountDetailsAndActionsIntegration; accountType: string; + completedAt: Date; } diff --git a/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts index a94a4157..084a62d2 100644 --- a/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts @@ -6,11 +6,13 @@ * - `COMPLETE` - COMPLETE * - `INCOMPLETE` - INCOMPLETE * - `RELINK_NEEDED` - RELINK_NEEDED + * - `IDLE` - IDLE */ -export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; +export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; export const AccountDetailsAndActionsStatusEnum = { Complete: "COMPLETE", Incomplete: "INCOMPLETE", RelinkNeeded: "RELINK_NEEDED", + Idle: "IDLE", } as const; diff --git a/src/api/resources/ticketing/types/AccountIntegration.ts b/src/api/resources/ticketing/types/AccountIntegration.ts index b1205431..8dfc91f5 100644 --- a/src/api/resources/ticketing/types/AccountIntegration.ts +++ b/src/api/resources/ticketing/types/AccountIntegration.ts @@ -11,9 +11,9 @@ export interface AccountIntegration { abbreviatedName?: string; /** Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. */ categories?: Merge.ticketing.CategoriesEnum[]; - /** Company logo in rectangular shape. Upload an image with a clear background. */ + /** Company logo in rectangular shape. */ image?: string; - /** Company logo in square shape. Upload an image with a white background. */ + /** Company logo in square shape. */ squareImage?: string; /** The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. */ color?: string; diff --git a/src/api/resources/ticketing/types/Attachment.ts b/src/api/resources/ticketing/types/Attachment.ts index c76c8617..09f678ef 100644 --- a/src/api/resources/ticketing/types/Attachment.ts +++ b/src/api/resources/ticketing/types/Attachment.ts @@ -35,6 +35,7 @@ export interface Attachment { uploadedBy?: string; /** When the third party's attachment was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/Collection.ts b/src/api/resources/ticketing/types/Collection.ts index a1fbf8c6..1679ab6c 100644 --- a/src/api/resources/ticketing/types/Collection.ts +++ b/src/api/resources/ticketing/types/Collection.ts @@ -37,7 +37,7 @@ export interface Collection { collectionType?: Merge.ticketing.CollectionCollectionType; /** The parent collection for this collection. */ parentCollection?: Merge.ticketing.CollectionParentCollection; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; /** * The level of access a User has to the Collection and its sub-objects. diff --git a/src/api/resources/ticketing/types/Comment.ts b/src/api/resources/ticketing/types/Comment.ts index ae16d929..287aea03 100644 --- a/src/api/resources/ticketing/types/Comment.ts +++ b/src/api/resources/ticketing/types/Comment.ts @@ -23,9 +23,9 @@ export interface Comment { createdAt?: Date; /** The datetime that this object was modified by Merge. */ modifiedAt?: Date; - /** The author of the Comment, if the author is a User. */ + /** The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ user?: Merge.ticketing.CommentUser; - /** The author of the Comment, if the author is a Contact. */ + /** The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ contact?: Merge.ticketing.CommentContact; /** The comment's text body. */ body?: string; @@ -37,6 +37,7 @@ export interface Comment { isPrivate?: boolean; /** When the third party's comment was created. */ remoteCreatedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/CommentContact.ts b/src/api/resources/ticketing/types/CommentContact.ts index ea6b0c52..5f197baf 100644 --- a/src/api/resources/ticketing/types/CommentContact.ts +++ b/src/api/resources/ticketing/types/CommentContact.ts @@ -5,6 +5,6 @@ import * as Merge from "../../.."; /** - * The author of the Comment, if the author is a Contact. + * The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ export type CommentContact = string | Merge.ticketing.Contact; diff --git a/src/api/resources/ticketing/types/CommentRequest.ts b/src/api/resources/ticketing/types/CommentRequest.ts index 89461d66..f65ee1a7 100644 --- a/src/api/resources/ticketing/types/CommentRequest.ts +++ b/src/api/resources/ticketing/types/CommentRequest.ts @@ -16,9 +16,9 @@ import * as Merge from "../../.."; * TODO */ export interface CommentRequest { - /** The author of the Comment, if the author is a User. */ + /** The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ user?: Merge.ticketing.CommentRequestUser; - /** The author of the Comment, if the author is a Contact. */ + /** The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ contact?: Merge.ticketing.CommentRequestContact; /** The comment's text body. */ body?: string; diff --git a/src/api/resources/ticketing/types/CommentRequestContact.ts b/src/api/resources/ticketing/types/CommentRequestContact.ts index e48593e3..f399d6e8 100644 --- a/src/api/resources/ticketing/types/CommentRequestContact.ts +++ b/src/api/resources/ticketing/types/CommentRequestContact.ts @@ -5,6 +5,6 @@ import * as Merge from "../../.."; /** - * The author of the Comment, if the author is a Contact. + * The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ export type CommentRequestContact = string | Merge.ticketing.Contact; diff --git a/src/api/resources/ticketing/types/CommentRequestUser.ts b/src/api/resources/ticketing/types/CommentRequestUser.ts index 863364c3..1f2b0282 100644 --- a/src/api/resources/ticketing/types/CommentRequestUser.ts +++ b/src/api/resources/ticketing/types/CommentRequestUser.ts @@ -5,6 +5,6 @@ import * as Merge from "../../.."; /** - * The author of the Comment, if the author is a User. + * The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ export type CommentRequestUser = string | Merge.ticketing.User; diff --git a/src/api/resources/ticketing/types/CommentUser.ts b/src/api/resources/ticketing/types/CommentUser.ts index 5da2447f..74a2b328 100644 --- a/src/api/resources/ticketing/types/CommentUser.ts +++ b/src/api/resources/ticketing/types/CommentUser.ts @@ -5,6 +5,6 @@ import * as Merge from "../../.."; /** - * The author of the Comment, if the author is a User. + * The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. */ export type CommentUser = string | Merge.ticketing.User; diff --git a/src/api/resources/ticketing/types/Contact.ts b/src/api/resources/ticketing/types/Contact.ts index 7059a337..798c308f 100644 --- a/src/api/resources/ticketing/types/Contact.ts +++ b/src/api/resources/ticketing/types/Contact.ts @@ -33,7 +33,7 @@ export interface Contact { details?: string; /** The contact's account. */ account?: Merge.ticketing.ContactAccount; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/LanguageEnum.ts b/src/api/resources/ticketing/types/LanguageEnum.ts new file mode 100644 index 00000000..92c0e577 --- /dev/null +++ b/src/api/resources/ticketing/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * - `en` - en + * - `de` - de + */ +export type LanguageEnum = "en" | "de"; + +export const LanguageEnum = { + En: "en", + De: "de", +} as const; diff --git a/src/api/resources/ticketing/types/Project.ts b/src/api/resources/ticketing/types/Project.ts index 00dffa53..4ff763f5 100644 --- a/src/api/resources/ticketing/types/Project.ts +++ b/src/api/resources/ticketing/types/Project.ts @@ -27,7 +27,7 @@ export interface Project { name?: string; /** The project's description. */ description?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/Role.ts b/src/api/resources/ticketing/types/Role.ts index d86934d4..ae14fdc8 100644 --- a/src/api/resources/ticketing/types/Role.ts +++ b/src/api/resources/ticketing/types/Role.ts @@ -35,7 +35,7 @@ export interface Role { * - `TEAM_ONLY` - TEAM_ONLY */ ticketAccess?: Merge.ticketing.RoleTicketAccess; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/Tag.ts b/src/api/resources/ticketing/types/Tag.ts index 01b3f524..b012ac5a 100644 --- a/src/api/resources/ticketing/types/Tag.ts +++ b/src/api/resources/ticketing/types/Tag.ts @@ -25,7 +25,7 @@ export interface Tag { id?: string; /** The tag's name. */ name?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/Team.ts b/src/api/resources/ticketing/types/Team.ts index e4fa86f5..7cc46014 100644 --- a/src/api/resources/ticketing/types/Team.ts +++ b/src/api/resources/ticketing/types/Team.ts @@ -27,7 +27,7 @@ export interface Team { name?: string; /** The team's description. */ description?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/Ticket.ts b/src/api/resources/ticketing/types/Ticket.ts index 978e4440..63ecdb34 100644 --- a/src/api/resources/ticketing/types/Ticket.ts +++ b/src/api/resources/ticketing/types/Ticket.ts @@ -58,6 +58,7 @@ export interface Ticket { remoteUpdatedAt?: Date; /** When the ticket was completed. */ completedAt?: Date; + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; /** The 3rd party url of the Ticket. */ ticketUrl?: string; diff --git a/src/api/resources/ticketing/types/User.ts b/src/api/resources/ticketing/types/User.ts index 972d8774..be7674c3 100644 --- a/src/api/resources/ticketing/types/User.ts +++ b/src/api/resources/ticketing/types/User.ts @@ -33,7 +33,7 @@ export interface User { roles?: (Merge.ticketing.UserRolesItem | undefined)[]; /** The user's avatar picture. */ avatar?: string; - /** Indicates whether or not this object has been deleted in the third party platform. */ + /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */ remoteWasDeleted?: boolean; fieldMappings?: Record; remoteData?: Merge.ticketing.RemoteData[]; diff --git a/src/api/resources/ticketing/types/index.ts b/src/api/resources/ticketing/types/index.ts index 07367d1e..a12ad789 100644 --- a/src/api/resources/ticketing/types/index.ts +++ b/src/api/resources/ticketing/types/index.ts @@ -65,6 +65,7 @@ export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts b/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts index 300d5368..6ee733f3 100644 --- a/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts +++ b/src/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.ts @@ -170,6 +170,14 @@ export const ExternalTargetFieldApiResponse: core.serialization.ObjectSchema< ) .optional() ), + bankFeedAccount: core.serialization.property( + "BankFeedAccount", + core.serialization + .list( + core.serialization.lazyObject(async () => (await import("../../..")).accounting.ExternalTargetFieldApi) + ) + .optional() + ), }); export declare namespace ExternalTargetFieldApiResponse { @@ -194,5 +202,6 @@ export declare namespace ExternalTargetFieldApiResponse { Transaction?: serializers.accounting.ExternalTargetFieldApi.Raw[] | null; AccountingPeriod?: serializers.accounting.ExternalTargetFieldApi.Raw[] | null; GeneralLedgerTransaction?: serializers.accounting.ExternalTargetFieldApi.Raw[] | null; + BankFeedAccount?: serializers.accounting.ExternalTargetFieldApi.Raw[] | null; } } diff --git a/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts b/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts index 1f636cbb..dd4933aa 100644 --- a/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts +++ b/src/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.ts @@ -170,6 +170,14 @@ export const FieldMappingApiInstanceResponse: core.serialization.ObjectSchema< ) .optional() ), + bankFeedAccount: core.serialization.property( + "BankFeedAccount", + core.serialization + .list( + core.serialization.lazyObject(async () => (await import("../../..")).accounting.FieldMappingApiInstance) + ) + .optional() + ), }); export declare namespace FieldMappingApiInstanceResponse { @@ -194,5 +202,6 @@ export declare namespace FieldMappingApiInstanceResponse { Transaction?: serializers.accounting.FieldMappingApiInstance.Raw[] | null; AccountingPeriod?: serializers.accounting.FieldMappingApiInstance.Raw[] | null; GeneralLedgerTransaction?: serializers.accounting.FieldMappingApiInstance.Raw[] | null; + BankFeedAccount?: serializers.accounting.FieldMappingApiInstance.Raw[] | null; } } diff --git a/src/serialization/resources/accounting/types/RemoteFieldApiResponse.ts b/src/serialization/resources/accounting/types/RemoteFieldApiResponse.ts index 0523b6ef..a747acf1 100644 --- a/src/serialization/resources/accounting/types/RemoteFieldApiResponse.ts +++ b/src/serialization/resources/accounting/types/RemoteFieldApiResponse.ts @@ -130,6 +130,12 @@ export const RemoteFieldApiResponse: core.serialization.ObjectSchema< .list(core.serialization.lazyObject(async () => (await import("../../..")).accounting.RemoteFieldApi)) .optional() ), + bankFeedAccount: core.serialization.property( + "BankFeedAccount", + core.serialization + .list(core.serialization.lazyObject(async () => (await import("../../..")).accounting.RemoteFieldApi)) + .optional() + ), }); export declare namespace RemoteFieldApiResponse { @@ -154,5 +160,6 @@ export declare namespace RemoteFieldApiResponse { Transaction?: serializers.accounting.RemoteFieldApi.Raw[] | null; AccountingPeriod?: serializers.accounting.RemoteFieldApi.Raw[] | null; GeneralLedgerTransaction?: serializers.accounting.RemoteFieldApi.Raw[] | null; + BankFeedAccount?: serializers.accounting.RemoteFieldApi.Raw[] | null; } } diff --git a/src/serialization/resources/accounting/types/ReportItem.ts b/src/serialization/resources/accounting/types/ReportItem.ts index c1f1ce7d..6b9025a0 100644 --- a/src/serialization/resources/accounting/types/ReportItem.ts +++ b/src/serialization/resources/accounting/types/ReportItem.ts @@ -22,6 +22,7 @@ export const ReportItem: core.serialization.ObjectSchema< .optional() ), company: core.serialization.string().optional(), + remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()), }); export declare namespace ReportItem { @@ -33,5 +34,6 @@ export declare namespace ReportItem { value?: number | null; sub_items?: Record[] | null; company?: string | null; + remote_was_deleted?: boolean | null; } } diff --git a/src/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 94feadcf..f15f023a 100644 --- a/src/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -49,7 +49,7 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional() ), - language: core.serialization.string().optional(), + language: core.serialization.lazy(async () => (await import("../../../../../..")).ats.LanguageEnum).optional(), integrationSpecificConfig: core.serialization.property( "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() @@ -71,7 +71,7 @@ export declare namespace EndUserDetailsRequest { string, serializers.ats.IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: string | null; + language?: serializers.ats.LanguageEnum.Raw | null; integration_specific_config?: Record | null; } } diff --git a/src/serialization/resources/ats/types/AccountDetails.ts b/src/serialization/resources/ats/types/AccountDetails.ts index c03ab590..7b24e10a 100644 --- a/src/serialization/resources/ats/types/AccountDetails.ts +++ b/src/serialization/resources/ats/types/AccountDetails.ts @@ -24,6 +24,7 @@ export const AccountDetails: core.serialization.ObjectSchema< webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()), isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()), accountType: core.serialization.property("account_type", core.serialization.string().optional()), + completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), }); export declare namespace AccountDetails { @@ -39,5 +40,6 @@ export declare namespace AccountDetails { webhook_listener_url?: string | null; is_duplicate?: boolean | null; account_type?: string | null; + completed_at?: string | null; } } diff --git a/src/serialization/resources/ats/types/AccountDetailsAndActions.ts b/src/serialization/resources/ats/types/AccountDetailsAndActions.ts index 16ee1121..8a7e4e5b 100644 --- a/src/serialization/resources/ats/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/ats/types/AccountDetailsAndActions.ts @@ -24,6 +24,7 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< .lazyObject(async () => (await import("../../..")).ats.AccountDetailsAndActionsIntegration) .optional(), accountType: core.serialization.property("account_type", core.serialization.string()), + completedAt: core.serialization.property("completed_at", core.serialization.date()), }); export declare namespace AccountDetailsAndActions { @@ -40,5 +41,6 @@ export declare namespace AccountDetailsAndActions { is_duplicate?: boolean | null; integration?: serializers.ats.AccountDetailsAndActionsIntegration.Raw | null; account_type: string; + completed_at: string; } } diff --git a/src/serialization/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts index 62352275..f2368c41 100644 --- a/src/serialization/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< serializers.ats.AccountDetailsAndActionsStatusEnum.Raw, Merge.ats.AccountDetailsAndActionsStatusEnum -> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED"]); +> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { - type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; + type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; } diff --git a/src/serialization/resources/ats/types/LanguageEnum.ts b/src/serialization/resources/ats/types/LanguageEnum.ts new file mode 100644 index 00000000..2ed4a549 --- /dev/null +++ b/src/serialization/resources/ats/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Merge from "../../../../api"; +import * as core from "../../../../core"; + +export const LanguageEnum: core.serialization.Schema = + core.serialization.enum_(["en", "de"]); + +export declare namespace LanguageEnum { + type Raw = "en" | "de"; +} diff --git a/src/serialization/resources/ats/types/index.ts b/src/serialization/resources/ats/types/index.ts index 0cfad5a5..2cf5be29 100644 --- a/src/serialization/resources/ats/types/index.ts +++ b/src/serialization/resources/ats/types/index.ts @@ -105,6 +105,7 @@ export * from "./JobPosting"; export * from "./JobPostingStatusEnum"; export * from "./JobStatusEnum"; export * from "./JobTypeEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/src/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 1a936738..b5594532 100644 --- a/src/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -49,7 +49,7 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional() ), - language: core.serialization.string().optional(), + language: core.serialization.lazy(async () => (await import("../../../../../..")).crm.LanguageEnum).optional(), integrationSpecificConfig: core.serialization.property( "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() @@ -71,7 +71,7 @@ export declare namespace EndUserDetailsRequest { string, serializers.crm.IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: string | null; + language?: serializers.crm.LanguageEnum.Raw | null; integration_specific_config?: Record | null; } } diff --git a/src/serialization/resources/crm/types/AccountDetails.ts b/src/serialization/resources/crm/types/AccountDetails.ts index 8ba1c73b..2186501f 100644 --- a/src/serialization/resources/crm/types/AccountDetails.ts +++ b/src/serialization/resources/crm/types/AccountDetails.ts @@ -24,6 +24,7 @@ export const AccountDetails: core.serialization.ObjectSchema< webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()), isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()), accountType: core.serialization.property("account_type", core.serialization.string().optional()), + completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), }); export declare namespace AccountDetails { @@ -39,5 +40,6 @@ export declare namespace AccountDetails { webhook_listener_url?: string | null; is_duplicate?: boolean | null; account_type?: string | null; + completed_at?: string | null; } } diff --git a/src/serialization/resources/crm/types/AccountDetailsAndActions.ts b/src/serialization/resources/crm/types/AccountDetailsAndActions.ts index 990497dc..edae4053 100644 --- a/src/serialization/resources/crm/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/crm/types/AccountDetailsAndActions.ts @@ -24,6 +24,7 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< .lazyObject(async () => (await import("../../..")).crm.AccountDetailsAndActionsIntegration) .optional(), accountType: core.serialization.property("account_type", core.serialization.string()), + completedAt: core.serialization.property("completed_at", core.serialization.date()), }); export declare namespace AccountDetailsAndActions { @@ -40,5 +41,6 @@ export declare namespace AccountDetailsAndActions { is_duplicate?: boolean | null; integration?: serializers.crm.AccountDetailsAndActionsIntegration.Raw | null; account_type: string; + completed_at: string; } } diff --git a/src/serialization/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts index b9b55eff..8aa585ad 100644 --- a/src/serialization/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< serializers.crm.AccountDetailsAndActionsStatusEnum.Raw, Merge.crm.AccountDetailsAndActionsStatusEnum -> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED"]); +> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { - type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; + type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; } diff --git a/src/serialization/resources/crm/types/LanguageEnum.ts b/src/serialization/resources/crm/types/LanguageEnum.ts new file mode 100644 index 00000000..43a67833 --- /dev/null +++ b/src/serialization/resources/crm/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Merge from "../../../../api"; +import * as core from "../../../../core"; + +export const LanguageEnum: core.serialization.Schema = + core.serialization.enum_(["en", "de"]); + +export declare namespace LanguageEnum { + type Raw = "en" | "de"; +} diff --git a/src/serialization/resources/crm/types/index.ts b/src/serialization/resources/crm/types/index.ts index 86f9e3c9..aa0504a2 100644 --- a/src/serialization/resources/crm/types/index.ts +++ b/src/serialization/resources/crm/types/index.ts @@ -93,6 +93,7 @@ export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; +export * from "./LanguageEnum"; export * from "./LeadOwner"; export * from "./LeadConvertedContact"; export * from "./LeadConvertedAccount"; diff --git a/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 502b1416..17da878f 100644 --- a/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -50,7 +50,9 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional() ), - language: core.serialization.string().optional(), + language: core.serialization + .lazy(async () => (await import("../../../../../..")).filestorage.LanguageEnum) + .optional(), integrationSpecificConfig: core.serialization.property( "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() @@ -72,7 +74,7 @@ export declare namespace EndUserDetailsRequest { string, serializers.filestorage.IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: string | null; + language?: serializers.filestorage.LanguageEnum.Raw | null; integration_specific_config?: Record | null; } } diff --git a/src/serialization/resources/filestorage/types/AccountDetails.ts b/src/serialization/resources/filestorage/types/AccountDetails.ts index 46dd0de2..29011c66 100644 --- a/src/serialization/resources/filestorage/types/AccountDetails.ts +++ b/src/serialization/resources/filestorage/types/AccountDetails.ts @@ -24,6 +24,7 @@ export const AccountDetails: core.serialization.ObjectSchema< webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()), isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()), accountType: core.serialization.property("account_type", core.serialization.string().optional()), + completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), }); export declare namespace AccountDetails { @@ -39,5 +40,6 @@ export declare namespace AccountDetails { webhook_listener_url?: string | null; is_duplicate?: boolean | null; account_type?: string | null; + completed_at?: string | null; } } diff --git a/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts b/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts index 12b5b1b9..957acb41 100644 --- a/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/filestorage/types/AccountDetailsAndActions.ts @@ -26,6 +26,7 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< .lazyObject(async () => (await import("../../..")).filestorage.AccountDetailsAndActionsIntegration) .optional(), accountType: core.serialization.property("account_type", core.serialization.string()), + completedAt: core.serialization.property("completed_at", core.serialization.date()), }); export declare namespace AccountDetailsAndActions { @@ -42,5 +43,6 @@ export declare namespace AccountDetailsAndActions { is_duplicate?: boolean | null; integration?: serializers.filestorage.AccountDetailsAndActionsIntegration.Raw | null; account_type: string; + completed_at: string; } } diff --git a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts index 1986957d..8dfc3711 100644 --- a/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< serializers.filestorage.AccountDetailsAndActionsStatusEnum.Raw, Merge.filestorage.AccountDetailsAndActionsStatusEnum -> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED"]); +> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { - type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; + type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; } diff --git a/src/serialization/resources/filestorage/types/LanguageEnum.ts b/src/serialization/resources/filestorage/types/LanguageEnum.ts new file mode 100644 index 00000000..52769c3a --- /dev/null +++ b/src/serialization/resources/filestorage/types/LanguageEnum.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Merge from "../../../../api"; +import * as core from "../../../../core"; + +export const LanguageEnum: core.serialization.Schema< + serializers.filestorage.LanguageEnum.Raw, + Merge.filestorage.LanguageEnum +> = core.serialization.enum_(["en", "de"]); + +export declare namespace LanguageEnum { + type Raw = "en" | "de"; +} diff --git a/src/serialization/resources/filestorage/types/index.ts b/src/serialization/resources/filestorage/types/index.ts index 752a4b4b..8e0eabbe 100644 --- a/src/serialization/resources/filestorage/types/index.ts +++ b/src/serialization/resources/filestorage/types/index.ts @@ -60,6 +60,7 @@ export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./IssueStatus"; export * from "./Issue"; export * from "./IssueStatusEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 7286f013..50ed5c65 100644 --- a/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -49,7 +49,7 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional() ), - language: core.serialization.string().optional(), + language: core.serialization.lazy(async () => (await import("../../../../../..")).hris.LanguageEnum).optional(), integrationSpecificConfig: core.serialization.property( "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() @@ -71,7 +71,7 @@ export declare namespace EndUserDetailsRequest { string, serializers.hris.IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: string | null; + language?: serializers.hris.LanguageEnum.Raw | null; integration_specific_config?: Record | null; } } diff --git a/src/serialization/resources/hris/types/AccountDetails.ts b/src/serialization/resources/hris/types/AccountDetails.ts index 8f804f6e..d56cdc6e 100644 --- a/src/serialization/resources/hris/types/AccountDetails.ts +++ b/src/serialization/resources/hris/types/AccountDetails.ts @@ -24,6 +24,7 @@ export const AccountDetails: core.serialization.ObjectSchema< webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()), isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()), accountType: core.serialization.property("account_type", core.serialization.string().optional()), + completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), }); export declare namespace AccountDetails { @@ -39,5 +40,6 @@ export declare namespace AccountDetails { webhook_listener_url?: string | null; is_duplicate?: boolean | null; account_type?: string | null; + completed_at?: string | null; } } diff --git a/src/serialization/resources/hris/types/AccountDetailsAndActions.ts b/src/serialization/resources/hris/types/AccountDetailsAndActions.ts index 32aedbdf..831ac877 100644 --- a/src/serialization/resources/hris/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/hris/types/AccountDetailsAndActions.ts @@ -24,6 +24,7 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< .lazyObject(async () => (await import("../../..")).hris.AccountDetailsAndActionsIntegration) .optional(), accountType: core.serialization.property("account_type", core.serialization.string()), + completedAt: core.serialization.property("completed_at", core.serialization.date()), }); export declare namespace AccountDetailsAndActions { @@ -40,5 +41,6 @@ export declare namespace AccountDetailsAndActions { is_duplicate?: boolean | null; integration?: serializers.hris.AccountDetailsAndActionsIntegration.Raw | null; account_type: string; + completed_at: string; } } diff --git a/src/serialization/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts index 7003ddfb..3f145a82 100644 --- a/src/serialization/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< serializers.hris.AccountDetailsAndActionsStatusEnum.Raw, Merge.hris.AccountDetailsAndActionsStatusEnum -> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED"]); +> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { - type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; + type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; } diff --git a/src/serialization/resources/hris/types/LanguageEnum.ts b/src/serialization/resources/hris/types/LanguageEnum.ts new file mode 100644 index 00000000..915a9e8b --- /dev/null +++ b/src/serialization/resources/hris/types/LanguageEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Merge from "../../../../api"; +import * as core from "../../../../core"; + +export const LanguageEnum: core.serialization.Schema = + core.serialization.enum_(["en", "de"]); + +export declare namespace LanguageEnum { + type Raw = "en" | "de"; +} diff --git a/src/serialization/resources/hris/types/index.ts b/src/serialization/resources/hris/types/index.ts index 7a3fbaf7..19b74853 100644 --- a/src/serialization/resources/hris/types/index.ts +++ b/src/serialization/resources/hris/types/index.ts @@ -100,6 +100,7 @@ export * from "./IndividualCommonModelScopeDeserializerRequest"; export * from "./IssueStatus"; export * from "./Issue"; export * from "./IssueStatusEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./LocationCountry"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index 822a7f79..207f6e47 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,6 +1,6 @@ export * as filestorage from "./filestorage"; +export * as ticketing from "./ticketing"; export * as ats from "./ats"; export * as crm from "./crm"; export * as hris from "./hris"; -export * as ticketing from "./ticketing"; export * as accounting from "./accounting"; diff --git a/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts b/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts index 8d73f8ab..9c1c23c4 100644 --- a/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts +++ b/src/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.ts @@ -50,7 +50,9 @@ export const EndUserDetailsRequest: core.serialization.Schema< ) .optional() ), - language: core.serialization.string().optional(), + language: core.serialization + .lazy(async () => (await import("../../../../../..")).ticketing.LanguageEnum) + .optional(), integrationSpecificConfig: core.serialization.property( "integration_specific_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() @@ -72,7 +74,7 @@ export declare namespace EndUserDetailsRequest { string, serializers.ticketing.IndividualCommonModelScopeDeserializerRequest.Raw[] | null | undefined > | null; - language?: string | null; + language?: serializers.ticketing.LanguageEnum.Raw | null; integration_specific_config?: Record | null; } } diff --git a/src/serialization/resources/ticketing/types/AccountDetails.ts b/src/serialization/resources/ticketing/types/AccountDetails.ts index 72cbbc49..1482a7a5 100644 --- a/src/serialization/resources/ticketing/types/AccountDetails.ts +++ b/src/serialization/resources/ticketing/types/AccountDetails.ts @@ -24,6 +24,7 @@ export const AccountDetails: core.serialization.ObjectSchema< webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()), isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()), accountType: core.serialization.property("account_type", core.serialization.string().optional()), + completedAt: core.serialization.property("completed_at", core.serialization.date().optional()), }); export declare namespace AccountDetails { @@ -39,5 +40,6 @@ export declare namespace AccountDetails { webhook_listener_url?: string | null; is_duplicate?: boolean | null; account_type?: string | null; + completed_at?: string | null; } } diff --git a/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts b/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts index 31b8018c..100cbde7 100644 --- a/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts +++ b/src/serialization/resources/ticketing/types/AccountDetailsAndActions.ts @@ -26,6 +26,7 @@ export const AccountDetailsAndActions: core.serialization.ObjectSchema< .lazyObject(async () => (await import("../../..")).ticketing.AccountDetailsAndActionsIntegration) .optional(), accountType: core.serialization.property("account_type", core.serialization.string()), + completedAt: core.serialization.property("completed_at", core.serialization.date()), }); export declare namespace AccountDetailsAndActions { @@ -42,5 +43,6 @@ export declare namespace AccountDetailsAndActions { is_duplicate?: boolean | null; integration?: serializers.ticketing.AccountDetailsAndActionsIntegration.Raw | null; account_type: string; + completed_at: string; } } diff --git a/src/serialization/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts b/src/serialization/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts index bb7a0e3a..1f17c8e5 100644 --- a/src/serialization/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/serialization/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const AccountDetailsAndActionsStatusEnum: core.serialization.Schema< serializers.ticketing.AccountDetailsAndActionsStatusEnum.Raw, Merge.ticketing.AccountDetailsAndActionsStatusEnum -> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED"]); +> = core.serialization.enum_(["COMPLETE", "INCOMPLETE", "RELINK_NEEDED", "IDLE"]); export declare namespace AccountDetailsAndActionsStatusEnum { - type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; + type Raw = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED" | "IDLE"; } diff --git a/src/serialization/resources/ticketing/types/LanguageEnum.ts b/src/serialization/resources/ticketing/types/LanguageEnum.ts new file mode 100644 index 00000000..9a3b5d8d --- /dev/null +++ b/src/serialization/resources/ticketing/types/LanguageEnum.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Merge from "../../../../api"; +import * as core from "../../../../core"; + +export const LanguageEnum: core.serialization.Schema< + serializers.ticketing.LanguageEnum.Raw, + Merge.ticketing.LanguageEnum +> = core.serialization.enum_(["en", "de"]); + +export declare namespace LanguageEnum { + type Raw = "en" | "de"; +} diff --git a/src/serialization/resources/ticketing/types/index.ts b/src/serialization/resources/ticketing/types/index.ts index 07367d1e..a12ad789 100644 --- a/src/serialization/resources/ticketing/types/index.ts +++ b/src/serialization/resources/ticketing/types/index.ts @@ -65,6 +65,7 @@ export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; +export * from "./LanguageEnum"; export * from "./LinkToken"; export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; diff --git a/yarn.lock b/yarn.lock index 5503a851..153fdcc1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11,9 +11,9 @@ form-data "^4.0.0" "@types/node@*": - version "22.5.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.5.tgz#52f939dd0f65fc552a4ad0b392f3c466cc5d7a44" - integrity sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA== + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== dependencies: undici-types "~6.19.2"