diff --git a/package.json b/package.json index faa7fb9a..63af8d0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mergeapi/merge-node-client", - "version": "1.0.4", + "version": "1.0.5", "private": false, "repository": "https://github.com/merge-api/merge-node-client", "main": "./index.js", @@ -12,12 +12,15 @@ }, "dependencies": { "url-join": "4.0.1", - "@types/url-join": "4.0.1", - "@ungap/url-search-params": "0.2.2", - "axios": "0.27.2", + "form-data": "4.0.0", + "node-fetch": "2.7.0", + "qs": "6.11.2", "js-base64": "3.7.2" }, "devDependencies": { + "@types/url-join": "4.0.1", + "@types/qs": "6.9.8", + "@types/node-fetch": "2.6.9", "@types/node": "17.0.33", "prettier": "2.7.1", "typescript": "4.6.4" diff --git a/src/Client.ts b/src/Client.ts index a5405ae3..fc623a44 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -20,6 +20,7 @@ export declare namespace MergeClient { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/accounting/client/Client.ts b/src/api/resources/accounting/client/Client.ts index ced54616..f75dce89 100644 --- a/src/api/resources/accounting/client/Client.ts +++ b/src/api/resources/accounting/client/Client.ts @@ -51,6 +51,7 @@ export declare namespace Accounting { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/accounting/index.ts b/src/api/resources/accounting/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/accounting/index.ts +++ b/src/api/resources/accounting/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/accounting/resources/accountDetails/client/Client.ts b/src/api/resources/accounting/resources/accountDetails/client/Client.ts index f43966bd..9f4ce11d 100644 --- a/src/api/resources/accounting/resources/accountDetails/client/Client.ts +++ b/src/api/resources/accounting/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.accounting.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/accountToken/client/Client.ts b/src/api/resources/accounting/resources/accountToken/client/Client.ts index b6e9f26b..c478aec1 100644 --- a/src/api/resources/accounting/resources/accountToken/client/Client.ts +++ b/src/api/resources/accounting/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts index 7794874c..f60e9d38 100644 --- a/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts +++ b/src/api/resources/accounting/resources/accountingPeriods/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AccountingPeriods { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,27 +27,30 @@ export class AccountingPeriods { /** * Returns a list of `AccountingPeriod` objects. + * + * @example + * await merge.accounting.accountingPeriods.list({}) */ public async list( request: Merge.accounting.AccountingPeriodsListRequest = {}, requestOptions?: AccountingPeriods.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -64,11 +67,12 @@ export class AccountingPeriods { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedAccountingPeriodList.parseOrThrow(_response.body, { @@ -103,6 +107,9 @@ export class AccountingPeriods { /** * Returns an `AccountingPeriod` object with the given `id`. + * + * @example + * await merge.accounting.accountingPeriods.retrieve("id", {}) */ public async retrieve( id: string, @@ -110,9 +117,9 @@ export class AccountingPeriods { requestOptions?: AccountingPeriods.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -129,11 +136,12 @@ export class AccountingPeriods { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountingPeriod.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.ts b/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.ts index b46023e2..847e1f3d 100644 --- a/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.ts +++ b/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AccountingPeriodsListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.ts b/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.ts index 805645c4..55602a56 100644 --- a/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AccountingPeriodsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/accounting/resources/accounts/client/Client.ts b/src/api/resources/accounting/resources/accounts/client/Client.ts index 9ccb35e6..ba928b02 100644 --- a/src/api/resources/accounting/resources/accounts/client/Client.ts +++ b/src/api/resources/accounting/resources/accounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Accounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Accounts { /** * Returns a list of `Account` objects. + * + * @example + * await merge.accounting.accounts.list({ + * expand: "company", + * remoteFields: Merge.accounting.AccountsListRequestRemoteFields.Classification, + * showEnumOrigins: Merge.accounting.AccountsListRequestShowEnumOrigins.Classification + * }) */ public async list( request: Merge.accounting.AccountsListRequest = {}, @@ -47,57 +54,57 @@ export class Accounts { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedAccountList.parseOrThrow(_response.body, { @@ -153,19 +161,31 @@ export class Accounts { /** * Creates an `Account` object with the given values. + * + * @example + * await merge.accounting.accounts.create({ + * model: { + * name: "Cash", + * description: "Cash", + * type: "Asset", + * accountNumber: "X12Y9AB", + * parentAccount: "22d92d6c-22f9-11ed-861d-0242ac120002", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * } + * }) */ public async create( request: Merge.accounting.AccountEndpointRequest, requestOptions?: Accounts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +202,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +210,7 @@ export class Accounts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountResponse.parseOrThrow(_response.body, { @@ -224,6 +245,13 @@ export class Accounts { /** * Returns an `Account` object with the given `id`. + * + * @example + * await merge.accounting.accounts.retrieve("id", { + * expand: "company", + * remoteFields: Merge.accounting.AccountsRetrieveRequestRemoteFields.Classification, + * showEnumOrigins: Merge.accounting.AccountsRetrieveRequestShowEnumOrigins.Classification + * }) */ public async retrieve( id: string, @@ -231,21 +259,21 @@ export class Accounts { requestOptions?: Accounts.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -262,11 +290,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Account.parseOrThrow(_response.body, { @@ -301,6 +330,9 @@ export class Accounts { /** * Returns metadata for `Account` POSTs. + * + * @example + * await merge.accounting.accounts.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Accounts.RequestOptions): Promise { const _response = await core.fetcher({ @@ -317,10 +349,11 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.ts b/src/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.ts index 9fe9c435..55ed8fe8 100644 --- a/src/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.ts +++ b/src/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.ts @@ -4,6 +4,19 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Cash", + * description: "Cash", + * type: "Asset", + * accountNumber: "X12Y9AB", + * parentAccount: "22d92d6c-22f9-11ed-861d-0242ac120002", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * } + * } + */ export interface AccountEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts index 7cb66daa..d06d5331 100644 --- a/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "company", + * remoteFields: Merge.accounting.AccountsListRequestRemoteFields.Classification, + * showEnumOrigins: Merge.accounting.AccountsListRequestShowEnumOrigins.Classification + * } + */ export interface AccountsListRequest { /** * If provided, will only return accounts for this company. diff --git a/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts b/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts index 343b29a4..393f1caa 100644 --- a/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "company", + * remoteFields: Merge.accounting.AccountsRetrieveRequestRemoteFields.Classification, + * showEnumOrigins: Merge.accounting.AccountsRetrieveRequestShowEnumOrigins.Classification + * } + */ export interface AccountsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/accounts/index.ts b/src/api/resources/accounting/resources/accounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/accounts/index.ts +++ b/src/api/resources/accounting/resources/accounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/AccountsListRequestRemoteFields.ts b/src/api/resources/accounting/resources/accounts/types/AccountsListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/accounting/types/AccountsListRequestRemoteFields.ts rename to src/api/resources/accounting/resources/accounts/types/AccountsListRequestRemoteFields.ts diff --git a/src/api/resources/accounting/types/AccountsListRequestShowEnumOrigins.ts b/src/api/resources/accounting/resources/accounts/types/AccountsListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/accounting/types/AccountsListRequestShowEnumOrigins.ts rename to src/api/resources/accounting/resources/accounts/types/AccountsListRequestShowEnumOrigins.ts diff --git a/src/api/resources/accounting/types/AccountsRetrieveRequestRemoteFields.ts b/src/api/resources/accounting/resources/accounts/types/AccountsRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/accounting/types/AccountsRetrieveRequestRemoteFields.ts rename to src/api/resources/accounting/resources/accounts/types/AccountsRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/accounting/types/AccountsRetrieveRequestShowEnumOrigins.ts b/src/api/resources/accounting/resources/accounts/types/AccountsRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/accounting/types/AccountsRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/accounting/resources/accounts/types/AccountsRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/accounting/resources/accounts/types/index.ts b/src/api/resources/accounting/resources/accounts/types/index.ts new file mode 100644 index 00000000..52cc408e --- /dev/null +++ b/src/api/resources/accounting/resources/accounts/types/index.ts @@ -0,0 +1,4 @@ +export * from "./AccountsListRequestRemoteFields"; +export * from "./AccountsListRequestShowEnumOrigins"; +export * from "./AccountsRetrieveRequestRemoteFields"; +export * from "./AccountsRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/accounting/resources/addresses/client/Client.ts b/src/api/resources/accounting/resources/addresses/client/Client.ts index 97618ad3..2b28698c 100644 --- a/src/api/resources/accounting/resources/addresses/client/Client.ts +++ b/src/api/resources/accounting/resources/addresses/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Addresses { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,12 @@ export class Addresses { /** * Returns an `Address` object with the given `id`. + * + * @example + * await merge.accounting.addresses.retrieve("id", { + * remoteFields: "type", + * showEnumOrigins: "type" + * }) */ public async retrieve( id: string, @@ -34,17 +40,17 @@ export class Addresses { requestOptions?: Addresses.RequestOptions ): Promise { const { includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -61,11 +67,12 @@ export class Addresses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Address.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.ts b/src/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.ts index cd42ce6d..cfbd4195 100644 --- a/src/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "type", + * showEnumOrigins: "type" + * } + */ export interface AddressesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts b/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts index 0f7477f1..58cbc511 100644 --- a/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/accounting/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.accounting.asyncPassthrough.create({ + * method: Merge.accounting.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.accounting.RequestFormatEnum.Json + * }) */ public async create( request: Merge.accounting.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/attachments/client/Client.ts b/src/api/resources/accounting/resources/attachments/client/Client.ts index bbd809e1..5fa46fd4 100644 --- a/src/api/resources/accounting/resources/attachments/client/Client.ts +++ b/src/api/resources/accounting/resources/attachments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Attachments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Attachments { /** * Returns a list of `AccountingAttachment` objects. + * + * @example + * await merge.accounting.attachments.list({}) */ public async list( request: Merge.accounting.AttachmentsListRequest = {}, @@ -44,45 +47,45 @@ export class Attachments { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedAccountingAttachmentList.parseOrThrow(_response.body, { @@ -138,19 +142,28 @@ export class Attachments { /** * Creates an `AccountingAttachment` object with the given values. + * + * @example + * await merge.accounting.attachments.create({ + * model: { + * fileName: "invoice.png", + * fileUrl: "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * } + * }) */ public async create( request: Merge.accounting.AccountingAttachmentEndpointRequest, requestOptions?: Attachments.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -167,7 +180,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -175,6 +188,7 @@ export class Attachments { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountingAttachmentResponse.parseOrThrow(_response.body, { @@ -209,6 +223,9 @@ export class Attachments { /** * Returns an `AccountingAttachment` object with the given `id`. + * + * @example + * await merge.accounting.attachments.retrieve("id", {}) */ public async retrieve( id: string, @@ -216,9 +233,9 @@ export class Attachments { requestOptions?: Attachments.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -235,11 +252,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountingAttachment.parseOrThrow(_response.body, { @@ -274,6 +292,9 @@ export class Attachments { /** * Returns metadata for `AccountingAttachment` POSTs. + * + * @example + * await merge.accounting.attachments.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Attachments.RequestOptions): Promise { const _response = await core.fetcher({ @@ -290,10 +311,11 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.ts b/src/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.ts index d55cb53a..7f001f34 100644 --- a/src/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.ts +++ b/src/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.ts @@ -4,6 +4,16 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * fileName: "invoice.png", + * fileUrl: "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * } + * } + */ export interface AccountingAttachmentEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.ts b/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.ts index 7fc835d2..7ec70dce 100644 --- a/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AttachmentsListRequest { /** * If provided, will only return accounting attachments for this company. diff --git a/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts b/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts index eb9274fa..f37285a8 100644 --- a/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AttachmentsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/accounting/resources/auditTrail/client/Client.ts b/src/api/resources/accounting/resources/auditTrail/client/Client.ts index b07c96c4..867d3f2b 100644 --- a/src/api/resources/accounting/resources/auditTrail/client/Client.ts +++ b/src/api/resources/accounting/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.accounting.auditTrail.list({}) */ public async list( request: Merge.accounting.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/accounting/resources/availableActions/client/Client.ts b/src/api/resources/accounting/resources/availableActions/client/Client.ts index b2a61ebb..34c2a58c 100644 --- a/src/api/resources/accounting/resources/availableActions/client/Client.ts +++ b/src/api/resources/accounting/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -44,10 +45,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts index 8d669ff5..ea20c047 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/Client.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace BalanceSheets { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class BalanceSheets { /** * Returns a list of `BalanceSheet` objects. + * + * @example + * await merge.accounting.balanceSheets.list({ + * expand: "company" + * }) */ public async list( request: Merge.accounting.BalanceSheetsListRequest = {}, @@ -45,49 +50,49 @@ export class BalanceSheets { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class BalanceSheets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedBalanceSheetList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class BalanceSheets { /** * Returns a `BalanceSheet` object with the given `id`. + * + * @example + * await merge.accounting.balanceSheets.retrieve("id", { + * expand: "company" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class BalanceSheets { requestOptions?: BalanceSheets.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class BalanceSheets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.BalanceSheet.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts index 24d50784..f189ec4c 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface BalanceSheetsListRequest { /** * If provided, will only return balance sheets for this company. diff --git a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts index a4cd15f9..869a5613 100644 --- a/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface BalanceSheetsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts index 564edf0c..65b3d750 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace CashFlowStatements { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class CashFlowStatements { /** * Returns a list of `CashFlowStatement` objects. + * + * @example + * await merge.accounting.cashFlowStatements.list({ + * expand: "company" + * }) */ public async list( request: Merge.accounting.CashFlowStatementsListRequest = {}, @@ -45,49 +50,49 @@ export class CashFlowStatements { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class CashFlowStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedCashFlowStatementList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class CashFlowStatements { /** * Returns a `CashFlowStatement` object with the given `id`. + * + * @example + * await merge.accounting.cashFlowStatements.retrieve("id", { + * expand: "company" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class CashFlowStatements { requestOptions?: CashFlowStatements.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class CashFlowStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.CashFlowStatement.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts index 2f40cfd1..707f6f34 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface CashFlowStatementsListRequest { /** * If provided, will only return cash flow statements for this company. diff --git a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts index a3a9a55a..f297474c 100644 --- a/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface CashFlowStatementsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/companyInfo/client/Client.ts b/src/api/resources/accounting/resources/companyInfo/client/Client.ts index 477b4477..1a8d5574 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/Client.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace CompanyInfo { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class CompanyInfo { /** * Returns a list of `CompanyInfo` objects. + * + * @example + * await merge.accounting.companyInfo.list({ + * expand: Merge.accounting.CompanyInfoListRequestExpand.Addresses + * }) */ public async list( request: Merge.accounting.CompanyInfoListRequest = {}, @@ -44,45 +49,45 @@ export class CompanyInfo { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +104,12 @@ export class CompanyInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedCompanyInfoList.parseOrThrow(_response.body, { @@ -138,6 +144,11 @@ export class CompanyInfo { /** * Returns a `CompanyInfo` object with the given `id`. + * + * @example + * await merge.accounting.companyInfo.retrieve("id", { + * expand: Merge.accounting.CompanyInfoRetrieveRequestExpand.Addresses + * }) */ public async retrieve( id: string, @@ -145,13 +156,13 @@ export class CompanyInfo { requestOptions?: CompanyInfo.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -168,11 +179,12 @@ export class CompanyInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.CompanyInfo.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts index 081fc204..468f1aa2 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.CompanyInfoListRequestExpand.Addresses + * } + */ export interface CompanyInfoListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts index e04f7bf3..4d990f13 100644 --- a/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.CompanyInfoRetrieveRequestExpand.Addresses + * } + */ export interface CompanyInfoRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/companyInfo/index.ts b/src/api/resources/accounting/resources/companyInfo/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/companyInfo/index.ts +++ b/src/api/resources/accounting/resources/companyInfo/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/CompanyInfoListRequestExpand.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/CompanyInfoListRequestExpand.ts rename to src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts diff --git a/src/api/resources/accounting/types/CompanyInfoRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/CompanyInfoRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/companyInfo/types/index.ts b/src/api/resources/accounting/resources/companyInfo/types/index.ts new file mode 100644 index 00000000..8f0d30c9 --- /dev/null +++ b/src/api/resources/accounting/resources/companyInfo/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CompanyInfoListRequestExpand"; +export * from "./CompanyInfoRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/contacts/client/Client.ts b/src/api/resources/accounting/resources/contacts/client/Client.ts index 12c14050..93b75e80 100644 --- a/src/api/resources/accounting/resources/contacts/client/Client.ts +++ b/src/api/resources/accounting/resources/contacts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Contacts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Contacts { /** * Returns a list of `Contact` objects. + * + * @example + * await merge.accounting.contacts.list({ + * expand: Merge.accounting.ContactsListRequestExpand.Addresses, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.accounting.ContactsListRequest = {}, @@ -49,65 +56,65 @@ export class Contacts { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (isCustomer != null) { - _queryParams.append("is_customer", isCustomer); + _queryParams["is_customer"] = isCustomer; } if (isSupplier != null) { - _queryParams.append("is_supplier", isSupplier); + _queryParams["is_supplier"] = isSupplier; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -124,11 +131,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedContactList.parseOrThrow(_response.body, { @@ -163,19 +171,35 @@ export class Contacts { /** * Creates a `Contact` object with the given values. + * + * @example + * await merge.accounting.contacts.create({ + * model: { + * name: "Gil Feig's Pickleball Team", + * isCustomer: true, + * emailAddress: "pickleball@merge.dev", + * taxNumber: "12-3456789", + * currency: "USD", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * phoneNumbers: [{ + * number: "+3198675309", + * type: "Mobile" + * }] + * } + * }) */ public async create( request: Merge.accounting.ContactEndpointRequest, requestOptions?: Contacts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -192,7 +216,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -200,6 +224,7 @@ export class Contacts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.ContactResponse.parseOrThrow(_response.body, { @@ -234,6 +259,13 @@ export class Contacts { /** * Returns a `Contact` object with the given `id`. + * + * @example + * await merge.accounting.contacts.retrieve("id", { + * expand: Merge.accounting.ContactsRetrieveRequestExpand.Addresses, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -241,21 +273,21 @@ export class Contacts { requestOptions?: Contacts.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -272,11 +304,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Contact.parseOrThrow(_response.body, { @@ -311,6 +344,9 @@ export class Contacts { /** * Returns metadata for `Contact` POSTs. + * + * @example + * await merge.accounting.contacts.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Contacts.RequestOptions): Promise { const _response = await core.fetcher({ @@ -327,10 +363,11 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts index d332a4e7..5372ab58 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts @@ -4,6 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Gil Feig's Pickleball Team", + * isCustomer: true, + * emailAddress: "pickleball@merge.dev", + * taxNumber: "12-3456789", + * currency: "USD", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * phoneNumbers: [{ + * number: "+3198675309", + * type: "Mobile" + * }] + * } + * } + */ export interface ContactEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts index 4058fc7e..84b69445 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ContactsListRequestExpand.Addresses, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface ContactsListRequest { /** * If provided, will only return contacts for this company. diff --git a/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 82a70f0b..e2aa2a45 100644 --- a/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ContactsRetrieveRequestExpand.Addresses, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface ContactsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/contacts/index.ts b/src/api/resources/accounting/resources/contacts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/contacts/index.ts +++ b/src/api/resources/accounting/resources/contacts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/ContactsListRequestExpand.ts b/src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ContactsListRequestExpand.ts rename to src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts diff --git a/src/api/resources/accounting/types/ContactsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ContactsRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/contacts/types/index.ts b/src/api/resources/accounting/resources/contacts/types/index.ts new file mode 100644 index 00000000..1f8bc865 --- /dev/null +++ b/src/api/resources/accounting/resources/contacts/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ContactsListRequestExpand"; +export * from "./ContactsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/creditNotes/client/Client.ts b/src/api/resources/accounting/resources/creditNotes/client/Client.ts index 2ed6b170..97a850c0 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/Client.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace CreditNotes { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class CreditNotes { /** * Returns a list of `CreditNote` objects. + * + * @example + * await merge.accounting.creditNotes.list({ + * expand: Merge.accounting.CreditNotesListRequestExpand.AccountingPeriod, + * remoteFields: Merge.accounting.CreditNotesListRequestRemoteFields.Status, + * showEnumOrigins: Merge.accounting.CreditNotesListRequestShowEnumOrigins.Status + * }) */ public async list( request: Merge.accounting.CreditNotesListRequest = {}, @@ -49,65 +56,65 @@ export class CreditNotes { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -124,11 +131,12 @@ export class CreditNotes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedCreditNoteList.parseOrThrow(_response.body, { @@ -163,6 +171,13 @@ export class CreditNotes { /** * Returns a `CreditNote` object with the given `id`. + * + * @example + * await merge.accounting.creditNotes.retrieve("id", { + * expand: Merge.accounting.CreditNotesRetrieveRequestExpand.AccountingPeriod, + * remoteFields: Merge.accounting.CreditNotesRetrieveRequestRemoteFields.Status, + * showEnumOrigins: Merge.accounting.CreditNotesRetrieveRequestShowEnumOrigins.Status + * }) */ public async retrieve( id: string, @@ -170,21 +185,21 @@ export class CreditNotes { requestOptions?: CreditNotes.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -201,11 +216,12 @@ export class CreditNotes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.CreditNote.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts index cd884737..83e026ca 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.CreditNotesListRequestExpand.AccountingPeriod, + * remoteFields: Merge.accounting.CreditNotesListRequestRemoteFields.Status, + * showEnumOrigins: Merge.accounting.CreditNotesListRequestShowEnumOrigins.Status + * } + */ export interface CreditNotesListRequest { /** * If provided, will only return credit notes for this company. diff --git a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts index 6d5b6138..745b41a0 100644 --- a/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.CreditNotesRetrieveRequestExpand.AccountingPeriod, + * remoteFields: Merge.accounting.CreditNotesRetrieveRequestRemoteFields.Status, + * showEnumOrigins: Merge.accounting.CreditNotesRetrieveRequestShowEnumOrigins.Status + * } + */ export interface CreditNotesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/creditNotes/index.ts b/src/api/resources/accounting/resources/creditNotes/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/creditNotes/index.ts +++ b/src/api/resources/accounting/resources/creditNotes/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/CreditNotesListRequestExpand.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesListRequestExpand.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts diff --git a/src/api/resources/accounting/types/CreditNotesListRequestRemoteFields.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesListRequestRemoteFields.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestRemoteFields.ts diff --git a/src/api/resources/accounting/types/CreditNotesListRequestShowEnumOrigins.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesListRequestShowEnumOrigins.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestShowEnumOrigins.ts diff --git a/src/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/types/CreditNotesRetrieveRequestRemoteFields.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesRetrieveRequestRemoteFields.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/accounting/types/CreditNotesRetrieveRequestShowEnumOrigins.ts b/src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/accounting/types/CreditNotesRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/accounting/resources/creditNotes/types/index.ts b/src/api/resources/accounting/resources/creditNotes/types/index.ts new file mode 100644 index 00000000..87be1efa --- /dev/null +++ b/src/api/resources/accounting/resources/creditNotes/types/index.ts @@ -0,0 +1,6 @@ +export * from "./CreditNotesListRequestExpand"; +export * from "./CreditNotesListRequestRemoteFields"; +export * from "./CreditNotesListRequestShowEnumOrigins"; +export * from "./CreditNotesRetrieveRequestExpand"; +export * from "./CreditNotesRetrieveRequestRemoteFields"; +export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/accounting/resources/deleteAccount/client/Client.ts b/src/api/resources/accounting/resources/deleteAccount/client/Client.ts index c6814e4d..d4af245c 100644 --- a/src/api/resources/accounting/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/accounting/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.accounting.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/accounting/resources/expenses/client/Client.ts b/src/api/resources/accounting/resources/expenses/client/Client.ts index 9650ecf8..7df5d8e3 100644 --- a/src/api/resources/accounting/resources/expenses/client/Client.ts +++ b/src/api/resources/accounting/resources/expenses/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Expenses { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Expenses { /** * Returns a list of `Expense` objects. + * + * @example + * await merge.accounting.expenses.list({ + * expand: Merge.accounting.ExpensesListRequestExpand.Account + * }) */ public async list( request: Merge.accounting.ExpensesListRequest = {}, @@ -47,57 +52,57 @@ export class Expenses { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedExpenseList.parseOrThrow(_response.body, { @@ -153,19 +159,35 @@ export class Expenses { /** * Creates an `Expense` object with the given values. + * + * @example + * await merge.accounting.expenses.create({ + * model: { + * totalAmount: 10000, + * exchangeRate: "2.9", + * memo: "New employee supplies", + * lines: [{ + * remoteId: "121222", + * netAmount: 25.54, + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * description: "MacBook Pro", + * exchangeRate: "2.9" + * }] + * } + * }) */ public async create( request: Merge.accounting.ExpenseEndpointRequest, requestOptions?: Expenses.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +204,7 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +212,7 @@ export class Expenses { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.ExpenseResponse.parseOrThrow(_response.body, { @@ -224,6 +247,11 @@ export class Expenses { /** * Returns an `Expense` object with the given `id`. + * + * @example + * await merge.accounting.expenses.retrieve("id", { + * expand: Merge.accounting.ExpensesRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -231,13 +259,13 @@ export class Expenses { requestOptions?: Expenses.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -254,11 +282,12 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Expense.parseOrThrow(_response.body, { @@ -293,6 +322,9 @@ export class Expenses { /** * Returns metadata for `Expense` POSTs. + * + * @example + * await merge.accounting.expenses.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Expenses.RequestOptions): Promise { const _response = await core.fetcher({ @@ -309,10 +341,11 @@ export class Expenses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts b/src/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts index f197c993..1b6b193c 100644 --- a/src/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts +++ b/src/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts @@ -4,6 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * totalAmount: 10000, + * exchangeRate: "2.9", + * memo: "New employee supplies", + * lines: [{ + * remoteId: "121222", + * netAmount: 25.54, + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * description: "MacBook Pro", + * exchangeRate: "2.9" + * }] + * } + * } + */ export interface ExpenseEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts index c52ebf24..35bdd624 100644 --- a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts +++ b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ExpensesListRequestExpand.Account + * } + */ export interface ExpensesListRequest { /** * If provided, will only return expenses for this company. diff --git a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts index a67c2d32..709f90ea 100644 --- a/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ExpensesRetrieveRequestExpand.Account + * } + */ export interface ExpensesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/expenses/index.ts b/src/api/resources/accounting/resources/expenses/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/expenses/index.ts +++ b/src/api/resources/accounting/resources/expenses/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/ExpensesListRequestExpand.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ExpensesListRequestExpand.ts rename to src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts diff --git a/src/api/resources/accounting/types/ExpensesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ExpensesRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/expenses/types/index.ts b/src/api/resources/accounting/resources/expenses/types/index.ts new file mode 100644 index 00000000..2a53835e --- /dev/null +++ b/src/api/resources/accounting/resources/expenses/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ExpensesListRequestExpand"; +export * from "./ExpensesRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/forceResync/client/Client.ts b/src/api/resources/accounting/resources/forceResync/client/Client.ts index 92380bff..8def559f 100644 --- a/src/api/resources/accounting/resources/forceResync/client/Client.ts +++ b/src/api/resources/accounting/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.accounting.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate( requestOptions?: ForceResync.RequestOptions @@ -44,10 +48,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.forceResync.syncStatusResyncCreate.Response.parseOrThrow( diff --git a/src/api/resources/accounting/resources/generateKey/client/Client.ts b/src/api/resources/accounting/resources/generateKey/client/Client.ts index 206ec1e4..d3236ca2 100644 --- a/src/api/resources/accounting/resources/generateKey/client/Client.ts +++ b/src/api/resources/accounting/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.accounting.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.accounting.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/accounting/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/accounting/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/accounting/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts index d4bd3731..f1dd6e00 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/Client.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace IncomeStatements { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class IncomeStatements { /** * Returns a list of `IncomeStatement` objects. + * + * @example + * await merge.accounting.incomeStatements.list({ + * expand: "company" + * }) */ public async list( request: Merge.accounting.IncomeStatementsListRequest = {}, @@ -45,49 +50,49 @@ export class IncomeStatements { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class IncomeStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedIncomeStatementList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class IncomeStatements { /** * Returns an `IncomeStatement` object with the given `id`. + * + * @example + * await merge.accounting.incomeStatements.retrieve("id", { + * expand: "company" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class IncomeStatements { requestOptions?: IncomeStatements.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class IncomeStatements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.IncomeStatement.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts index 0f521d7e..90f8672b 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface IncomeStatementsListRequest { /** * If provided, will only return income statements for this company. diff --git a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts index 6d150887..1583f9a9 100644 --- a/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface IncomeStatementsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/index.ts b/src/api/resources/accounting/resources/index.ts index 17fafcf8..21a36016 100644 --- a/src/api/resources/accounting/resources/index.ts +++ b/src/api/resources/accounting/resources/index.ts @@ -1,7 +1,34 @@ +export * as accounts from "./accounts"; +export * from "./accounts/types"; +export * as companyInfo from "./companyInfo"; +export * from "./companyInfo/types"; +export * as contacts from "./contacts"; +export * from "./contacts/types"; +export * as creditNotes from "./creditNotes"; +export * from "./creditNotes/types"; +export * as expenses from "./expenses"; +export * from "./expenses/types"; +export * as invoices from "./invoices"; +export * from "./invoices/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as items from "./items"; +export * from "./items/types"; +export * as journalEntries from "./journalEntries"; +export * from "./journalEntries/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as payments from "./payments"; +export * from "./payments/types"; +export * as purchaseOrders from "./purchaseOrders"; +export * from "./purchaseOrders/types"; +export * as transactions from "./transactions"; +export * from "./transactions/types"; +export * as vendorCredits from "./vendorCredits"; +export * from "./vendorCredits/types"; export * as accountDetails from "./accountDetails"; export * as accountToken from "./accountToken"; export * as accountingPeriods from "./accountingPeriods"; -export * as accounts from "./accounts"; export * as addresses from "./addresses"; export * as asyncPassthrough from "./asyncPassthrough"; export * as attachments from "./attachments"; @@ -9,31 +36,18 @@ export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; export * as balanceSheets from "./balanceSheets"; export * as cashFlowStatements from "./cashFlowStatements"; -export * as companyInfo from "./companyInfo"; -export * as contacts from "./contacts"; -export * as creditNotes from "./creditNotes"; export * as deleteAccount from "./deleteAccount"; -export * as expenses from "./expenses"; export * as generateKey from "./generateKey"; export * as incomeStatements from "./incomeStatements"; -export * as invoices from "./invoices"; -export * as issues from "./issues"; -export * as items from "./items"; -export * as journalEntries from "./journalEntries"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; export * as passthrough from "./passthrough"; -export * as payments from "./payments"; export * as phoneNumbers from "./phoneNumbers"; -export * as purchaseOrders from "./purchaseOrders"; export * as regenerateKey from "./regenerateKey"; export * as selectiveSync from "./selectiveSync"; export * as syncStatus from "./syncStatus"; export * as forceResync from "./forceResync"; export * as taxRates from "./taxRates"; export * as trackingCategories from "./trackingCategories"; -export * as transactions from "./transactions"; -export * as vendorCredits from "./vendorCredits"; export * as webhookReceivers from "./webhookReceivers"; export * from "./accountingPeriods/client/requests"; export * from "./accounts/client/requests"; diff --git a/src/api/resources/accounting/resources/invoices/client/Client.ts b/src/api/resources/accounting/resources/invoices/client/Client.ts index 94d8b8cb..2291e0fa 100644 --- a/src/api/resources/accounting/resources/invoices/client/Client.ts +++ b/src/api/resources/accounting/resources/invoices/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Invoices { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Invoices { /** * Returns a list of `Invoice` objects. + * + * @example + * await merge.accounting.invoices.list({ + * expand: Merge.accounting.InvoicesListRequestExpand.AccountingPeriod, + * remoteFields: "type", + * showEnumOrigins: "type", + * type: Merge.accounting.InvoicesListRequestType.AccountsPayable + * }) */ public async list( request: Merge.accounting.InvoicesListRequest = {}, @@ -51,73 +59,73 @@ export class Invoices { showEnumOrigins, type: type_, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (contactId != null) { - _queryParams.append("contact_id", contactId); + _queryParams["contact_id"] = contactId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (issueDateAfter != null) { - _queryParams.append("issue_date_after", issueDateAfter.toISOString()); + _queryParams["issue_date_after"] = issueDateAfter.toISOString(); } if (issueDateBefore != null) { - _queryParams.append("issue_date_before", issueDateBefore.toISOString()); + _queryParams["issue_date_before"] = issueDateBefore.toISOString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (type_ != null) { - _queryParams.append("type", type_); + _queryParams["type"] = type_; } const _response = await core.fetcher({ @@ -134,11 +142,12 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedInvoiceList.parseOrThrow(_response.body, { @@ -173,19 +182,34 @@ export class Invoices { /** * Creates an `Invoice` object with the given values. + * + * @example + * await merge.accounting.invoices.create({ + * model: { + * lineItems: [{ + * remoteId: "8765432", + * description: "Pickleball lessons", + * unitPrice: 50, + * quantity: 1, + * totalAmount: 50, + * exchangeRate: "2.9", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * }] + * } + * }) */ public async create( request: Merge.accounting.InvoiceEndpointRequest, requestOptions?: Invoices.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -202,7 +226,7 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -210,6 +234,7 @@ export class Invoices { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.InvoiceResponse.parseOrThrow(_response.body, { @@ -244,6 +269,13 @@ export class Invoices { /** * Returns an `Invoice` object with the given `id`. + * + * @example + * await merge.accounting.invoices.retrieve("id", { + * expand: Merge.accounting.InvoicesRetrieveRequestExpand.AccountingPeriod, + * remoteFields: "type", + * showEnumOrigins: "type" + * }) */ public async retrieve( id: string, @@ -251,21 +283,21 @@ export class Invoices { requestOptions?: Invoices.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -282,11 +314,12 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Invoice.parseOrThrow(_response.body, { @@ -321,6 +354,9 @@ export class Invoices { /** * Returns metadata for `Invoice` POSTs. + * + * @example + * await merge.accounting.invoices.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Invoices.RequestOptions): Promise { const _response = await core.fetcher({ @@ -337,10 +373,11 @@ export class Invoices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts b/src/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts index 1f669b29..4eb8699c 100644 --- a/src/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts +++ b/src/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts @@ -4,6 +4,22 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * lineItems: [{ + * remoteId: "8765432", + * description: "Pickleball lessons", + * unitPrice: 50, + * quantity: 1, + * totalAmount: 50, + * exchangeRate: "2.9", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * }] + * } + * } + */ export interface InvoiceEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts index c6099605..80644ba0 100644 --- a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts +++ b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.InvoicesListRequestExpand.AccountingPeriod, + * remoteFields: "type", + * showEnumOrigins: "type", + * type: Merge.accounting.InvoicesListRequestType.AccountsPayable + * } + */ export interface InvoicesListRequest { /** * If provided, will only return invoices for this company. @@ -72,8 +81,8 @@ export interface InvoicesListRequest { /** * If provided, will only return Invoices with this type * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ type?: Merge.accounting.InvoicesListRequestType; } diff --git a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts index 5886cb00..30b79fff 100644 --- a/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.InvoicesRetrieveRequestExpand.AccountingPeriod, + * remoteFields: "type", + * showEnumOrigins: "type" + * } + */ export interface InvoicesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/invoices/index.ts b/src/api/resources/accounting/resources/invoices/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/invoices/index.ts +++ b/src/api/resources/accounting/resources/invoices/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/InvoicesListRequestExpand.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/InvoicesListRequestExpand.ts rename to src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts diff --git a/src/api/resources/accounting/types/InvoicesListRequestType.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesListRequestType.ts similarity index 100% rename from src/api/resources/accounting/types/InvoicesListRequestType.ts rename to src/api/resources/accounting/resources/invoices/types/InvoicesListRequestType.ts diff --git a/src/api/resources/accounting/types/InvoicesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/InvoicesRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/invoices/types/index.ts b/src/api/resources/accounting/resources/invoices/types/index.ts new file mode 100644 index 00000000..0f37ec2c --- /dev/null +++ b/src/api/resources/accounting/resources/invoices/types/index.ts @@ -0,0 +1,3 @@ +export * from "./InvoicesListRequestExpand"; +export * from "./InvoicesListRequestType"; +export * from "./InvoicesRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/issues/client/Client.ts b/src/api/resources/accounting/resources/issues/client/Client.ts index f2cc08ac..5fea5e40 100644 --- a/src/api/resources/accounting/resources/issues/client/Client.ts +++ b/src/api/resources/accounting/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.accounting.issues.list({ + * status: Merge.accounting.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.accounting.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.accounting.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.ts index e3852e95..1eed2fb1 100644 --- a/src/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.accounting.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.accounting.IssuesListRequestStatus; } diff --git a/src/api/resources/accounting/resources/issues/index.ts b/src/api/resources/accounting/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/issues/index.ts +++ b/src/api/resources/accounting/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/IssuesListRequestStatus.ts b/src/api/resources/accounting/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/accounting/types/IssuesListRequestStatus.ts rename to src/api/resources/accounting/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/accounting/resources/issues/types/index.ts b/src/api/resources/accounting/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/accounting/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/accounting/resources/items/client/Client.ts b/src/api/resources/accounting/resources/items/client/Client.ts index 9a6309ae..715645c9 100644 --- a/src/api/resources/accounting/resources/items/client/Client.ts +++ b/src/api/resources/accounting/resources/items/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Items { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Items { /** * Returns a list of `Item` objects. + * + * @example + * await merge.accounting.items.list({ + * expand: Merge.accounting.ItemsListRequestExpand.Company, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.accounting.ItemsListRequest = {}, @@ -47,57 +54,57 @@ export class Items { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class Items { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedItemList.parseOrThrow(_response.body, { @@ -153,6 +161,13 @@ export class Items { /** * Returns an `Item` object with the given `id`. + * + * @example + * await merge.accounting.items.retrieve("id", { + * expand: Merge.accounting.ItemsRetrieveRequestExpand.Company, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -160,21 +175,21 @@ export class Items { requestOptions?: Items.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -191,11 +206,12 @@ export class Items { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Item.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts b/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts index 260cbba1..0a8b9b39 100644 --- a/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts +++ b/src/api/resources/accounting/resources/items/client/requests/ItemsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ItemsListRequestExpand.Company, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface ItemsListRequest { /** * If provided, will only return items for this company. diff --git a/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts b/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts index 4a5ebd95..1e3bc3e8 100644 --- a/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.ItemsRetrieveRequestExpand.Company, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface ItemsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/items/index.ts b/src/api/resources/accounting/resources/items/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/items/index.ts +++ b/src/api/resources/accounting/resources/items/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/ItemsListRequestExpand.ts b/src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ItemsListRequestExpand.ts rename to src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts diff --git a/src/api/resources/accounting/types/ItemsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/ItemsRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/items/types/index.ts b/src/api/resources/accounting/resources/items/types/index.ts new file mode 100644 index 00000000..2d4c475a --- /dev/null +++ b/src/api/resources/accounting/resources/items/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ItemsListRequestExpand"; +export * from "./ItemsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/journalEntries/client/Client.ts b/src/api/resources/accounting/resources/journalEntries/client/Client.ts index ae437fa0..1bbb7e59 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/Client.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace JournalEntries { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class JournalEntries { /** * Returns a list of `JournalEntry` objects. + * + * @example + * await merge.accounting.journalEntries.list({ + * expand: Merge.accounting.JournalEntriesListRequestExpand.AccountingPeriod + * }) */ public async list( request: Merge.accounting.JournalEntriesListRequest = {}, @@ -47,57 +52,57 @@ export class JournalEntries { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedJournalEntryList.parseOrThrow(_response.body, { @@ -153,19 +159,33 @@ export class JournalEntries { /** * Creates a `JournalEntry` object with the given values. + * + * @example + * await merge.accounting.journalEntries.create({ + * model: { + * lines: [{ + * remoteId: "121222", + * netAmount: 25.54, + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * contact: "d2d5ea3c-b032-11ec-b909-0242ac120002", + * description: "Cash payment for lunch", + * exchangeRate: "2.9" + * }] + * } + * }) */ public async create( request: Merge.accounting.JournalEntryEndpointRequest, requestOptions?: JournalEntries.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,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.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +210,7 @@ export class JournalEntries { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.JournalEntryResponse.parseOrThrow(_response.body, { @@ -224,6 +245,11 @@ export class JournalEntries { /** * Returns a `JournalEntry` object with the given `id`. + * + * @example + * await merge.accounting.journalEntries.retrieve("id", { + * expand: Merge.accounting.JournalEntriesRetrieveRequestExpand.AccountingPeriod + * }) */ public async retrieve( id: string, @@ -231,13 +257,13 @@ export class JournalEntries { requestOptions?: JournalEntries.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -254,11 +280,12 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.JournalEntry.parseOrThrow(_response.body, { @@ -293,6 +320,9 @@ export class JournalEntries { /** * Returns metadata for `JournalEntry` POSTs. + * + * @example + * await merge.accounting.journalEntries.metaPostRetrieve() */ public async metaPostRetrieve( requestOptions?: JournalEntries.RequestOptions @@ -311,10 +341,11 @@ export class JournalEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts index 2ea8b4c7..33038413 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.JournalEntriesListRequestExpand.AccountingPeriod + * } + */ export interface JournalEntriesListRequest { /** * If provided, will only return journal entries for this company. diff --git a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts index a0d0cff1..02bff469 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.JournalEntriesRetrieveRequestExpand.AccountingPeriod + * } + */ export interface JournalEntriesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts index c12bbdfd..a27c58ac 100644 --- a/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts +++ b/src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts @@ -4,6 +4,21 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * lines: [{ + * remoteId: "121222", + * netAmount: 25.54, + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5", + * contact: "d2d5ea3c-b032-11ec-b909-0242ac120002", + * description: "Cash payment for lunch", + * exchangeRate: "2.9" + * }] + * } + * } + */ export interface JournalEntryEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/journalEntries/index.ts b/src/api/resources/accounting/resources/journalEntries/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/journalEntries/index.ts +++ b/src/api/resources/accounting/resources/journalEntries/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/JournalEntriesListRequestExpand.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/JournalEntriesListRequestExpand.ts rename to src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts diff --git a/src/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/journalEntries/types/index.ts b/src/api/resources/accounting/resources/journalEntries/types/index.ts new file mode 100644 index 00000000..d0572d02 --- /dev/null +++ b/src/api/resources/accounting/resources/journalEntries/types/index.ts @@ -0,0 +1,2 @@ +export * from "./JournalEntriesListRequestExpand"; +export * from "./JournalEntriesRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/linkToken/client/Client.ts b/src/api/resources/accounting/resources/linkToken/client/Client.ts index d42fbe85..1c1dede3 100644 --- a/src/api/resources/accounting/resources/linkToken/client/Client.ts +++ b/src/api/resources/accounting/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts index 18ea7fcd..e50bfe23 100644 --- a/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/accounting/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.accounting.linkedAccounts.list({ + * category: Merge.accounting.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.accounting.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts b/src/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts index 13b97215..17ba0243 100644 --- a/src/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.accounting.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.accounting.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/accounting/resources/linkedAccounts/index.ts b/src/api/resources/accounting/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/linkedAccounts/index.ts +++ b/src/api/resources/accounting/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/accounting/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/accounting/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/accounting/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/accounting/resources/linkedAccounts/types/index.ts b/src/api/resources/accounting/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/accounting/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/accounting/resources/passthrough/client/Client.ts b/src/api/resources/accounting/resources/passthrough/client/Client.ts index 82734d8b..a3b7a7ab 100644 --- a/src/api/resources/accounting/resources/passthrough/client/Client.ts +++ b/src/api/resources/accounting/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/payments/client/Client.ts b/src/api/resources/accounting/resources/payments/client/Client.ts index b368a6d0..772c1f2a 100644 --- a/src/api/resources/accounting/resources/payments/client/Client.ts +++ b/src/api/resources/accounting/resources/payments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Payments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Payments { /** * Returns a list of `Payment` objects. + * + * @example + * await merge.accounting.payments.list({ + * expand: Merge.accounting.PaymentsListRequestExpand.Account + * }) */ public async list( request: Merge.accounting.PaymentsListRequest = {}, @@ -49,65 +54,65 @@ export class Payments { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountId != null) { - _queryParams.append("account_id", accountId); + _queryParams["account_id"] = accountId; } if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (contactId != null) { - _queryParams.append("contact_id", contactId); + _queryParams["contact_id"] = contactId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -124,11 +129,12 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedPaymentList.parseOrThrow(_response.body, { @@ -163,19 +169,28 @@ export class Payments { /** * Creates a `Payment` object with the given values. + * + * @example + * await merge.accounting.payments.create({ + * model: { + * transactionDate: new Date("2020-03-31T00:00:00.000Z"), + * exchangeRate: "2.9", + * totalAmount: 50 + * } + * }) */ public async create( request: Merge.accounting.PaymentEndpointRequest, requestOptions?: Payments.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -192,7 +207,7 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -200,6 +215,7 @@ export class Payments { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaymentResponse.parseOrThrow(_response.body, { @@ -234,6 +250,11 @@ export class Payments { /** * Returns a `Payment` object with the given `id`. + * + * @example + * await merge.accounting.payments.retrieve("id", { + * expand: Merge.accounting.PaymentsRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -241,13 +262,13 @@ export class Payments { requestOptions?: Payments.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -264,11 +285,12 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Payment.parseOrThrow(_response.body, { @@ -303,6 +325,9 @@ export class Payments { /** * Returns metadata for `Payment` POSTs. + * + * @example + * await merge.accounting.payments.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Payments.RequestOptions): Promise { const _response = await core.fetcher({ @@ -319,10 +344,11 @@ export class Payments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts b/src/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts index 4d8f1bff..3c8ab913 100644 --- a/src/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts +++ b/src/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts @@ -4,6 +4,16 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * transactionDate: new Date("2020-03-31T00:00:00.000Z"), + * exchangeRate: "2.9", + * totalAmount: 50 + * } + * } + */ export interface PaymentEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts b/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts index 9c847edb..22370863 100644 --- a/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts +++ b/src/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.PaymentsListRequestExpand.Account + * } + */ export interface PaymentsListRequest { /** * If provided, will only return payments for this account. diff --git a/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts b/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts index 8a72078d..73538b01 100644 --- a/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.PaymentsRetrieveRequestExpand.Account + * } + */ export interface PaymentsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/payments/index.ts b/src/api/resources/accounting/resources/payments/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/payments/index.ts +++ b/src/api/resources/accounting/resources/payments/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/PaymentsListRequestExpand.ts b/src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/PaymentsListRequestExpand.ts rename to src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts diff --git a/src/api/resources/accounting/types/PaymentsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/PaymentsRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/payments/types/index.ts b/src/api/resources/accounting/resources/payments/types/index.ts new file mode 100644 index 00000000..56e4a369 --- /dev/null +++ b/src/api/resources/accounting/resources/payments/types/index.ts @@ -0,0 +1,2 @@ +export * from "./PaymentsListRequestExpand"; +export * from "./PaymentsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts b/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts index b821f78d..85eb218d 100644 --- a/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts +++ b/src/api/resources/accounting/resources/phoneNumbers/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace PhoneNumbers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class PhoneNumbers { /** * Returns an `AccountingPhoneNumber` object with the given `id`. + * + * @example + * await merge.accounting.phoneNumbers.retrieve("id", {}) */ public async retrieve( id: string, @@ -34,9 +37,9 @@ export class PhoneNumbers { requestOptions?: PhoneNumbers.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -53,11 +56,12 @@ export class PhoneNumbers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.AccountingPhoneNumber.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.ts b/src/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.ts index a7b0da91..552810b6 100644 --- a/src/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface PhoneNumbersRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts index eab8a494..a4c29a23 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace PurchaseOrders { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class PurchaseOrders { /** * Returns a list of `PurchaseOrder` objects. + * + * @example + * await merge.accounting.purchaseOrders.list({ + * expand: Merge.accounting.PurchaseOrdersListRequestExpand.AccountingPeriod, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.accounting.PurchaseOrdersListRequest = {}, @@ -49,65 +56,65 @@ export class PurchaseOrders { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (issueDateAfter != null) { - _queryParams.append("issue_date_after", issueDateAfter.toISOString()); + _queryParams["issue_date_after"] = issueDateAfter.toISOString(); } if (issueDateBefore != null) { - _queryParams.append("issue_date_before", issueDateBefore.toISOString()); + _queryParams["issue_date_before"] = issueDateBefore.toISOString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -124,11 +131,12 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedPurchaseOrderList.parseOrThrow(_response.body, { @@ -163,19 +171,35 @@ export class PurchaseOrders { /** * Creates a `PurchaseOrder` object with the given values. + * + * @example + * await merge.accounting.purchaseOrders.create({ + * model: { + * lineItems: [{ + * remoteId: "121222", + * description: "Pickleball paddles", + * unitPrice: 25, + * quantity: 10, + * trackingCategory: "f1214c24-2702-4617-b74b-3ddecfc0d384", + * trackingCategories: [], + * exchangeRate: "2.9", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * }] + * } + * }) */ public async create( request: Merge.accounting.PurchaseOrderEndpointRequest, requestOptions?: PurchaseOrders.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -192,7 +216,7 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -200,6 +224,7 @@ export class PurchaseOrders { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PurchaseOrderResponse.parseOrThrow(_response.body, { @@ -234,6 +259,13 @@ export class PurchaseOrders { /** * Returns a `PurchaseOrder` object with the given `id`. + * + * @example + * await merge.accounting.purchaseOrders.retrieve("id", { + * expand: Merge.accounting.PurchaseOrdersRetrieveRequestExpand.AccountingPeriod, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -241,21 +273,21 @@ export class PurchaseOrders { requestOptions?: PurchaseOrders.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -272,11 +304,12 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PurchaseOrder.parseOrThrow(_response.body, { @@ -311,6 +344,9 @@ export class PurchaseOrders { /** * Returns metadata for `PurchaseOrder` POSTs. + * + * @example + * await merge.accounting.purchaseOrders.metaPostRetrieve() */ public async metaPostRetrieve( requestOptions?: PurchaseOrders.RequestOptions @@ -329,10 +365,11 @@ export class PurchaseOrders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts index 65cf691b..b23d3709 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts @@ -4,6 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * lineItems: [{ + * remoteId: "121222", + * description: "Pickleball paddles", + * unitPrice: 25, + * quantity: 10, + * trackingCategory: "f1214c24-2702-4617-b74b-3ddecfc0d384", + * trackingCategories: [], + * exchangeRate: "2.9", + * company: "595c8f97-2ac4-45b7-b000-41bdf43240b5" + * }] + * } + * } + */ export interface PurchaseOrderEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts index 10262b96..0e710c65 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.PurchaseOrdersListRequestExpand.AccountingPeriod, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface PurchaseOrdersListRequest { /** * If provided, will only return purchase orders for this company. diff --git a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts index 276e74a9..f8f5b007 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.PurchaseOrdersRetrieveRequestExpand.AccountingPeriod, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface PurchaseOrdersRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/purchaseOrders/index.ts b/src/api/resources/accounting/resources/purchaseOrders/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/purchaseOrders/index.ts +++ b/src/api/resources/accounting/resources/purchaseOrders/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/PurchaseOrdersListRequestExpand.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/PurchaseOrdersListRequestExpand.ts rename to src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts diff --git a/src/api/resources/accounting/types/PurchaseOrdersRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/PurchaseOrdersRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/purchaseOrders/types/index.ts b/src/api/resources/accounting/resources/purchaseOrders/types/index.ts new file mode 100644 index 00000000..fd510edd --- /dev/null +++ b/src/api/resources/accounting/resources/purchaseOrders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./PurchaseOrdersListRequestExpand"; +export * from "./PurchaseOrdersRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/regenerateKey/client/Client.ts b/src/api/resources/accounting/resources/regenerateKey/client/Client.ts index 8f83d2a6..bb131517 100644 --- a/src/api/resources/accounting/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/accounting/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.accounting.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.accounting.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/accounting/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/accounting/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/accounting/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/accounting/resources/selectiveSync/client/Client.ts b/src/api/resources/accounting/resources/selectiveSync/client/Client.ts index 5d36b716..d0bb9afb 100644 --- a/src/api/resources/accounting/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/accounting/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.accounting.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.selectiveSync.configurationsList.Response.parseOrThrow(_response.body, { @@ -83,6 +87,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.accounting.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.accounting.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -102,13 +113,14 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.selectiveSync.configurationsUpdate.Response.parseOrThrow( @@ -146,23 +158,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.accounting.selectiveSync.metaList({}) */ public async metaList( request: Merge.accounting.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -179,11 +194,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/accounting/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index d8ccd0ef..20bffd41 100644 --- a/src/api/resources/accounting/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/accounting/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.accounting.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/accounting/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/accounting/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/accounting/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/accounting/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/accounting/resources/syncStatus/client/Client.ts b/src/api/resources/accounting/resources/syncStatus/client/Client.ts index 0b8336c2..09788351 100644 --- a/src/api/resources/accounting/resources/syncStatus/client/Client.ts +++ b/src/api/resources/accounting/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.accounting.syncStatus.list({}) */ public async list( request: Merge.accounting.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/accounting/resources/taxRates/client/Client.ts b/src/api/resources/accounting/resources/taxRates/client/Client.ts index 53636139..6275e57e 100644 --- a/src/api/resources/accounting/resources/taxRates/client/Client.ts +++ b/src/api/resources/accounting/resources/taxRates/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace TaxRates { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class TaxRates { /** * Returns a list of `TaxRate` objects. + * + * @example + * await merge.accounting.taxRates.list({ + * expand: "company" + * }) */ public async list( request: Merge.accounting.TaxRatesListRequest = {}, @@ -45,49 +50,49 @@ export class TaxRates { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class TaxRates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedTaxRateList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class TaxRates { /** * Returns a `TaxRate` object with the given `id`. + * + * @example + * await merge.accounting.taxRates.retrieve("id", { + * expand: "company" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class TaxRates { requestOptions?: TaxRates.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class TaxRates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.TaxRate.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts index 60f07b81..f92c156b 100644 --- a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts +++ b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface TaxRatesListRequest { /** * If provided, will only return tax rates for this company. diff --git a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts index 3ae9b68a..c2481e4c 100644 --- a/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company" + * } + */ export interface TaxRatesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts index ea4a31c8..eb273948 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/Client.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace TrackingCategories { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class TrackingCategories { /** * Returns a list of `TrackingCategory` objects. + * + * @example + * await merge.accounting.trackingCategories.list({ + * expand: "company", + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.accounting.TrackingCategoriesListRequest = {}, @@ -47,57 +54,57 @@ export class TrackingCategories { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class TrackingCategories { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedTrackingCategoryList.parseOrThrow(_response.body, { @@ -153,6 +161,13 @@ export class TrackingCategories { /** * Returns a `TrackingCategory` object with the given `id`. + * + * @example + * await merge.accounting.trackingCategories.retrieve("id", { + * expand: "company", + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -160,21 +175,21 @@ export class TrackingCategories { requestOptions?: TrackingCategories.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -191,11 +206,12 @@ export class TrackingCategories { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.TrackingCategory.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts index 5ca31da9..93bbd93a 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company", + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface TrackingCategoriesListRequest { /** * If provided, will only return tracking categories for this company. diff --git a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts index d2b8f1d0..9ed3b254 100644 --- a/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "company", + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface TrackingCategoriesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/transactions/client/Client.ts b/src/api/resources/accounting/resources/transactions/client/Client.ts index 617d6846..ea9cc560 100644 --- a/src/api/resources/accounting/resources/transactions/client/Client.ts +++ b/src/api/resources/accounting/resources/transactions/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Transactions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Transactions { /** * Returns a list of `Transaction` objects. + * + * @example + * await merge.accounting.transactions.list({ + * expand: Merge.accounting.TransactionsListRequestExpand.Account + * }) */ public async list( request: Merge.accounting.TransactionsListRequest = {}, @@ -47,57 +52,57 @@ export class Transactions { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Transactions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedTransactionList.parseOrThrow(_response.body, { @@ -153,6 +159,11 @@ export class Transactions { /** * Returns a `Transaction` object with the given `id`. + * + * @example + * await merge.accounting.transactions.retrieve("id", { + * expand: Merge.accounting.TransactionsRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -160,13 +171,13 @@ export class Transactions { requestOptions?: Transactions.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -183,11 +194,12 @@ export class Transactions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.Transaction.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts index 36686ae0..576f3cca 100644 --- a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts +++ b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.TransactionsListRequestExpand.Account + * } + */ export interface TransactionsListRequest { /** * If provided, will only return accounting transactions for this company. diff --git a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts index 582acf66..546e34e3 100644 --- a/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.TransactionsRetrieveRequestExpand.Account + * } + */ export interface TransactionsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/transactions/index.ts b/src/api/resources/accounting/resources/transactions/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/transactions/index.ts +++ b/src/api/resources/accounting/resources/transactions/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/TransactionsListRequestExpand.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/TransactionsListRequestExpand.ts rename to src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts diff --git a/src/api/resources/accounting/types/TransactionsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/TransactionsRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/transactions/types/index.ts b/src/api/resources/accounting/resources/transactions/types/index.ts new file mode 100644 index 00000000..d40b559e --- /dev/null +++ b/src/api/resources/accounting/resources/transactions/types/index.ts @@ -0,0 +1,2 @@ +export * from "./TransactionsListRequestExpand"; +export * from "./TransactionsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts index 28111d75..cae697cd 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/Client.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace VendorCredits { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class VendorCredits { /** * Returns a list of `VendorCredit` objects. + * + * @example + * await merge.accounting.vendorCredits.list({ + * expand: Merge.accounting.VendorCreditsListRequestExpand.AccountingPeriod + * }) */ public async list( request: Merge.accounting.VendorCreditsListRequest = {}, @@ -47,57 +52,57 @@ export class VendorCredits { transactionDateAfter, transactionDateBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (transactionDateAfter != null) { - _queryParams.append("transaction_date_after", transactionDateAfter.toISOString()); + _queryParams["transaction_date_after"] = transactionDateAfter.toISOString(); } if (transactionDateBefore != null) { - _queryParams.append("transaction_date_before", transactionDateBefore.toISOString()); + _queryParams["transaction_date_before"] = transactionDateBefore.toISOString(); } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class VendorCredits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.PaginatedVendorCreditList.parseOrThrow(_response.body, { @@ -153,6 +159,11 @@ export class VendorCredits { /** * Returns a `VendorCredit` object with the given `id`. + * + * @example + * await merge.accounting.vendorCredits.retrieve("id", { + * expand: Merge.accounting.VendorCreditsRetrieveRequestExpand.AccountingPeriod + * }) */ public async retrieve( id: string, @@ -160,13 +171,13 @@ export class VendorCredits { requestOptions?: VendorCredits.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -183,11 +194,12 @@ export class VendorCredits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.VendorCredit.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts index 98b523b4..5a47bde1 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.VendorCreditsListRequestExpand.AccountingPeriod + * } + */ export interface VendorCreditsListRequest { /** * If provided, will only return vendor credits for this company. diff --git a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts index c80cf462..be6818d4 100644 --- a/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts +++ b/src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.accounting.VendorCreditsRetrieveRequestExpand.AccountingPeriod + * } + */ export interface VendorCreditsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/accounting/resources/vendorCredits/index.ts b/src/api/resources/accounting/resources/vendorCredits/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/accounting/resources/vendorCredits/index.ts +++ b/src/api/resources/accounting/resources/vendorCredits/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/accounting/types/VendorCreditsListRequestExpand.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/VendorCreditsListRequestExpand.ts rename to src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts diff --git a/src/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.ts b/src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.ts rename to src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts diff --git a/src/api/resources/accounting/resources/vendorCredits/types/index.ts b/src/api/resources/accounting/resources/vendorCredits/types/index.ts new file mode 100644 index 00000000..23d33b55 --- /dev/null +++ b/src/api/resources/accounting/resources/vendorCredits/types/index.ts @@ -0,0 +1,2 @@ +export * from "./VendorCreditsListRequestExpand"; +export * from "./VendorCreditsRetrieveRequestExpand"; diff --git a/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts b/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts index c67a38e8..9a0446e5 100644 --- a/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/accounting/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.accounting.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.accounting.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.accounting.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/accounting/types/Account.ts b/src/api/resources/accounting/types/Account.ts index 65cb4c6f..a347fd3e 100644 --- a/src/api/resources/accounting/types/Account.ts +++ b/src/api/resources/accounting/types/Account.ts @@ -6,17 +6,21 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * An `Account` represents a category in a company’s ledger in which a financial transaction is recorded against. The aggregation of each `Account` object is often referred to as the **Chart of Accounts**. * * An `Account` can be classified into one of the following categories, determined through the `classification` field: - * * __Asset:__ Accounts Receivable and Bank Accounts - * * __Liability:__ Accounts Payable and Credit Card Accounts - * * __Equity:__ Treasury Accounts and Retained Earnings - * * __Revenue:__ Income and Other Income - * * __Expense:__ Cost of Goods Sold and Office Expenses + * + * - **Asset:** Accounts Receivable and Bank Accounts + * - **Liability:** Accounts Payable and Credit Card Accounts + * - **Equity:** Treasury Accounts and Retained Earnings + * - **Revenue:** Income and Other Income + * - **Expense:** Cost of Goods Sold and Office Expenses * * ### Usage Example + * * Fetch from the `LIST Accounts` endpoint and view a company's accounts. */ export interface Account { @@ -30,11 +34,11 @@ export interface Account { /** * The account's broadest grouping. * - * * `ASSET` - ASSET - * * `EQUITY` - EQUITY - * * `EXPENSE` - EXPENSE - * * `LIABILITY` - LIABILITY - * * `REVENUE` - REVENUE + * - `ASSET` - ASSET + * - `EQUITY` - EQUITY + * - `EXPENSE` - EXPENSE + * - `LIABILITY` - LIABILITY + * - `REVENUE` - REVENUE */ classification?: Merge.accounting.AccountClassification; /** The account's type is a narrower and more specific grouping within the account's classification. */ @@ -42,9 +46,9 @@ export interface Account { /** * The account's status. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ status?: Merge.accounting.AccountStatus; /** The account's current balance. */ @@ -52,312 +56,312 @@ export interface Account { /** * The account's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.AccountCurrency; /** The account's number. */ diff --git a/src/api/resources/accounting/types/AccountClassification.ts b/src/api/resources/accounting/types/AccountClassification.ts index 886a89f0..8de8e988 100644 --- a/src/api/resources/accounting/types/AccountClassification.ts +++ b/src/api/resources/accounting/types/AccountClassification.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The account's broadest grouping. * - * * `ASSET` - ASSET - * * `EQUITY` - EQUITY - * * `EXPENSE` - EXPENSE - * * `LIABILITY` - LIABILITY - * * `REVENUE` - REVENUE + * - `ASSET` - ASSET + * - `EQUITY` - EQUITY + * - `EXPENSE` - EXPENSE + * - `LIABILITY` - LIABILITY + * - `REVENUE` - REVENUE */ export type AccountClassification = Merge.accounting.ClassificationEnum | string; diff --git a/src/api/resources/accounting/types/AccountCurrency.ts b/src/api/resources/accounting/types/AccountCurrency.ts index 638f384a..c5388cbe 100644 --- a/src/api/resources/accounting/types/AccountCurrency.ts +++ b/src/api/resources/accounting/types/AccountCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The account's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type AccountCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/AccountDetailsAndActions.ts b/src/api/resources/accounting/types/AccountDetailsAndActions.ts index 81848bb8..5ad55b56 100644 --- a/src/api/resources/accounting/types/AccountDetailsAndActions.ts +++ b/src/api/resources/accounting/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/accounting/types/AccountRequest.ts b/src/api/resources/accounting/types/AccountRequest.ts index 0319e6e6..4f6fea3e 100644 --- a/src/api/resources/accounting/types/AccountRequest.ts +++ b/src/api/resources/accounting/types/AccountRequest.ts @@ -6,17 +6,21 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * An `Account` represents a category in a company’s ledger in which a financial transaction is recorded against. The aggregation of each `Account` object is often referred to as the **Chart of Accounts**. * * An `Account` can be classified into one of the following categories, determined through the `classification` field: - * * __Asset:__ Accounts Receivable and Bank Accounts - * * __Liability:__ Accounts Payable and Credit Card Accounts - * * __Equity:__ Treasury Accounts and Retained Earnings - * * __Revenue:__ Income and Other Income - * * __Expense:__ Cost of Goods Sold and Office Expenses + * + * - **Asset:** Accounts Receivable and Bank Accounts + * - **Liability:** Accounts Payable and Credit Card Accounts + * - **Equity:** Treasury Accounts and Retained Earnings + * - **Revenue:** Income and Other Income + * - **Expense:** Cost of Goods Sold and Office Expenses * * ### Usage Example + * * Fetch from the `LIST Accounts` endpoint and view a company's accounts. */ export interface AccountRequest { @@ -27,11 +31,11 @@ export interface AccountRequest { /** * The account's broadest grouping. * - * * `ASSET` - ASSET - * * `EQUITY` - EQUITY - * * `EXPENSE` - EXPENSE - * * `LIABILITY` - LIABILITY - * * `REVENUE` - REVENUE + * - `ASSET` - ASSET + * - `EQUITY` - EQUITY + * - `EXPENSE` - EXPENSE + * - `LIABILITY` - LIABILITY + * - `REVENUE` - REVENUE */ classification?: Merge.accounting.AccountRequestClassification; /** The account's type is a narrower and more specific grouping within the account's classification. */ @@ -39,9 +43,9 @@ export interface AccountRequest { /** * The account's status. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ status?: Merge.accounting.AccountRequestStatus; /** The account's current balance. */ @@ -49,312 +53,312 @@ export interface AccountRequest { /** * The account's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.AccountRequestCurrency; /** The account's number. */ diff --git a/src/api/resources/accounting/types/AccountRequestClassification.ts b/src/api/resources/accounting/types/AccountRequestClassification.ts index 0ab599e5..5e5dc091 100644 --- a/src/api/resources/accounting/types/AccountRequestClassification.ts +++ b/src/api/resources/accounting/types/AccountRequestClassification.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The account's broadest grouping. * - * * `ASSET` - ASSET - * * `EQUITY` - EQUITY - * * `EXPENSE` - EXPENSE - * * `LIABILITY` - LIABILITY - * * `REVENUE` - REVENUE + * - `ASSET` - ASSET + * - `EQUITY` - EQUITY + * - `EXPENSE` - EXPENSE + * - `LIABILITY` - LIABILITY + * - `REVENUE` - REVENUE */ export type AccountRequestClassification = Merge.accounting.ClassificationEnum | string; diff --git a/src/api/resources/accounting/types/AccountRequestCurrency.ts b/src/api/resources/accounting/types/AccountRequestCurrency.ts index e44d457d..36f8c90a 100644 --- a/src/api/resources/accounting/types/AccountRequestCurrency.ts +++ b/src/api/resources/accounting/types/AccountRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The account's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type AccountRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/AccountRequestStatus.ts b/src/api/resources/accounting/types/AccountRequestStatus.ts index 5c984192..f0ee3b7c 100644 --- a/src/api/resources/accounting/types/AccountRequestStatus.ts +++ b/src/api/resources/accounting/types/AccountRequestStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The account's status. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type AccountRequestStatus = Merge.accounting.AccountStatusEnum | string; diff --git a/src/api/resources/accounting/types/AccountStatus.ts b/src/api/resources/accounting/types/AccountStatus.ts index 6bf5173b..21e5daeb 100644 --- a/src/api/resources/accounting/types/AccountStatus.ts +++ b/src/api/resources/accounting/types/AccountStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The account's status. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type AccountStatus = Merge.accounting.AccountStatusEnum | string; diff --git a/src/api/resources/accounting/types/AccountStatusEnum.ts b/src/api/resources/accounting/types/AccountStatusEnum.ts index 3b097e90..16a1304d 100644 --- a/src/api/resources/accounting/types/AccountStatusEnum.ts +++ b/src/api/resources/accounting/types/AccountStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type AccountStatusEnum = "ACTIVE" | "PENDING" | "INACTIVE"; diff --git a/src/api/resources/accounting/types/AccountingAttachment.ts b/src/api/resources/accounting/types/AccountingAttachment.ts index 80f1064f..3e2307d9 100644 --- a/src/api/resources/accounting/types/AccountingAttachment.ts +++ b/src/api/resources/accounting/types/AccountingAttachment.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Accounting Attachment Object + * * ### Description + * * The `AccountingAttachment` object is used to represent a company's attachments. * * ### Usage Example + * * Fetch from the `LIST AccountingAttachments` endpoint and view a company's attachments. */ export interface AccountingAttachment { diff --git a/src/api/resources/accounting/types/AccountingAttachmentRequest.ts b/src/api/resources/accounting/types/AccountingAttachmentRequest.ts index 9e363740..5bbb6ab1 100644 --- a/src/api/resources/accounting/types/AccountingAttachmentRequest.ts +++ b/src/api/resources/accounting/types/AccountingAttachmentRequest.ts @@ -4,10 +4,13 @@ /** * # The Accounting Attachment Object + * * ### Description + * * The `AccountingAttachment` object is used to represent a company's attachments. * * ### Usage Example + * * Fetch from the `LIST AccountingAttachments` endpoint and view a company's attachments. */ export interface AccountingAttachmentRequest { diff --git a/src/api/resources/accounting/types/AccountingPeriod.ts b/src/api/resources/accounting/types/AccountingPeriod.ts index 77482884..92116b0b 100644 --- a/src/api/resources/accounting/types/AccountingPeriod.ts +++ b/src/api/resources/accounting/types/AccountingPeriod.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AccountingPeriod Object + * * ### Description + * * The `AccountingPeriod` object is used to define a period of time in which events occurred. * * ### Usage Example + * * Common models like `Invoice` and `Transaction` will have `AccountingPeriod` objects which will denote when they occurred. */ export interface AccountingPeriod { diff --git a/src/api/resources/accounting/types/AccountingPeriodStatusEnum.ts b/src/api/resources/accounting/types/AccountingPeriodStatusEnum.ts index 2787254e..86aa7c93 100644 --- a/src/api/resources/accounting/types/AccountingPeriodStatusEnum.ts +++ b/src/api/resources/accounting/types/AccountingPeriodStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ACTIVE` - ACTIVE - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `INACTIVE` - INACTIVE */ export type AccountingPeriodStatusEnum = "ACTIVE" | "INACTIVE"; diff --git a/src/api/resources/accounting/types/AccountingPhoneNumber.ts b/src/api/resources/accounting/types/AccountingPhoneNumber.ts index f218da3d..9fb6da98 100644 --- a/src/api/resources/accounting/types/AccountingPhoneNumber.ts +++ b/src/api/resources/accounting/types/AccountingPhoneNumber.ts @@ -4,10 +4,13 @@ /** * # The AccountingPhoneNumber Object + * * ### Description + * * The `AccountingPhoneNumber` object is used to represent a contact's or company's phone number. * * ### Usage Example + * * Fetch from the `GET CompanyInfo` endpoint and view the company's phone numbers. */ export interface AccountingPhoneNumber { diff --git a/src/api/resources/accounting/types/AccountingPhoneNumberRequest.ts b/src/api/resources/accounting/types/AccountingPhoneNumberRequest.ts index 439f1184..c0880c4e 100644 --- a/src/api/resources/accounting/types/AccountingPhoneNumberRequest.ts +++ b/src/api/resources/accounting/types/AccountingPhoneNumberRequest.ts @@ -4,10 +4,13 @@ /** * # The AccountingPhoneNumber Object + * * ### Description + * * The `AccountingPhoneNumber` object is used to represent a contact's or company's phone number. * * ### Usage Example + * * Fetch from the `GET CompanyInfo` endpoint and view the company's phone numbers. */ export interface AccountingPhoneNumberRequest { diff --git a/src/api/resources/accounting/types/Address.ts b/src/api/resources/accounting/types/Address.ts index 946e429e..156affda 100644 --- a/src/api/resources/accounting/types/Address.ts +++ b/src/api/resources/accounting/types/Address.ts @@ -6,18 +6,21 @@ import * as Merge from "../../.."; /** * # The Address Object + * * ### Description + * * The `Address` object is used to represent a contact's or company's address. * * ### Usage Example + * * Fetch from the `GET CompanyInfo` endpoint and view the company's addresses. */ export interface Address { /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ type?: Merge.accounting.AddressType; /** Line 1 of the address's street. */ @@ -32,255 +35,255 @@ export interface Address { /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ country?: Merge.accounting.AddressCountry; /** The address's zip code. */ diff --git a/src/api/resources/accounting/types/AddressCountry.ts b/src/api/resources/accounting/types/AddressCountry.ts index 3faf5a4b..a7c35815 100644 --- a/src/api/resources/accounting/types/AddressCountry.ts +++ b/src/api/resources/accounting/types/AddressCountry.ts @@ -7,254 +7,254 @@ import * as Merge from "../../.."; /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type AddressCountry = Merge.accounting.CountryEnum | string; diff --git a/src/api/resources/accounting/types/AddressRequest.ts b/src/api/resources/accounting/types/AddressRequest.ts index 94607115..34ec8ad1 100644 --- a/src/api/resources/accounting/types/AddressRequest.ts +++ b/src/api/resources/accounting/types/AddressRequest.ts @@ -6,18 +6,21 @@ import * as Merge from "../../.."; /** * # The Address Object + * * ### Description + * * The `Address` object is used to represent a contact's or company's address. * * ### Usage Example + * * Fetch from the `GET CompanyInfo` endpoint and view the company's addresses. */ export interface AddressRequest { /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ type?: Merge.accounting.AddressRequestType; /** Line 1 of the address's street. */ @@ -31,255 +34,255 @@ export interface AddressRequest { /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ country?: Merge.accounting.AddressRequestCountry; /** The address's zip code. */ diff --git a/src/api/resources/accounting/types/AddressRequestCountry.ts b/src/api/resources/accounting/types/AddressRequestCountry.ts index f154a0bf..5ad66871 100644 --- a/src/api/resources/accounting/types/AddressRequestCountry.ts +++ b/src/api/resources/accounting/types/AddressRequestCountry.ts @@ -7,254 +7,254 @@ import * as Merge from "../../.."; /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type AddressRequestCountry = Merge.accounting.CountryEnum | string; diff --git a/src/api/resources/accounting/types/AddressRequestType.ts b/src/api/resources/accounting/types/AddressRequestType.ts index 6990f1c1..52b82443 100644 --- a/src/api/resources/accounting/types/AddressRequestType.ts +++ b/src/api/resources/accounting/types/AddressRequestType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressRequestType = Merge.accounting.AddressTypeEnum | string; diff --git a/src/api/resources/accounting/types/AddressType.ts b/src/api/resources/accounting/types/AddressType.ts index 6b8381bf..c1ad97f2 100644 --- a/src/api/resources/accounting/types/AddressType.ts +++ b/src/api/resources/accounting/types/AddressType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressType = Merge.accounting.AddressTypeEnum | string; diff --git a/src/api/resources/accounting/types/AddressTypeEnum.ts b/src/api/resources/accounting/types/AddressTypeEnum.ts index f746123e..29edf7b9 100644 --- a/src/api/resources/accounting/types/AddressTypeEnum.ts +++ b/src/api/resources/accounting/types/AddressTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressTypeEnum = "BILLING" | "SHIPPING"; diff --git a/src/api/resources/accounting/types/AuditLogEvent.ts b/src/api/resources/accounting/types/AuditLogEvent.ts index 57adcd4b..56cbad17 100644 --- a/src/api/resources/accounting/types/AuditLogEvent.ts +++ b/src/api/resources/accounting/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.accounting.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.accounting.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/accounting/types/AuditLogEventEventType.ts b/src/api/resources/accounting/types/AuditLogEventEventType.ts index e827c3d1..2b494ef8 100644 --- a/src/api/resources/accounting/types/AuditLogEventEventType.ts +++ b/src/api/resources/accounting/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.accounting.EventTypeEnum | string; diff --git a/src/api/resources/accounting/types/AuditLogEventRole.ts b/src/api/resources/accounting/types/AuditLogEventRole.ts index 4e8c723b..2fa47e93 100644 --- a/src/api/resources/accounting/types/AuditLogEventRole.ts +++ b/src/api/resources/accounting/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.accounting.RoleEnum | string; diff --git a/src/api/resources/accounting/types/AvailableActions.ts b/src/api/resources/accounting/types/AvailableActions.ts index 42bc4165..83503baf 100644 --- a/src/api/resources/accounting/types/AvailableActions.ts +++ b/src/api/resources/accounting/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/accounting/types/BalanceSheet.ts b/src/api/resources/accounting/types/BalanceSheet.ts index 951c49d8..eda6547e 100644 --- a/src/api/resources/accounting/types/BalanceSheet.ts +++ b/src/api/resources/accounting/types/BalanceSheet.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The BalanceSheet Object + * * ### Description + * * The `BalanceSheet` object shows a company’s assets, liabilities, and equity. Assets should be equal to liability and equity combined. This shows the company’s financial health at a specific point in time. * * ### Usage Example + * * Fetch from the `LIST BalanceSheets` endpoint and view a company's balance sheets. */ export interface BalanceSheet { @@ -21,312 +24,312 @@ export interface BalanceSheet { /** * The balance sheet's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.BalanceSheetCurrency; /** `Company` object for the given `BalanceSheet` object. */ diff --git a/src/api/resources/accounting/types/BalanceSheetCurrency.ts b/src/api/resources/accounting/types/BalanceSheetCurrency.ts index 2202b6ab..e65f8e14 100644 --- a/src/api/resources/accounting/types/BalanceSheetCurrency.ts +++ b/src/api/resources/accounting/types/BalanceSheetCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The balance sheet's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type BalanceSheetCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/CashFlowStatement.ts b/src/api/resources/accounting/types/CashFlowStatement.ts index 31481ef7..057a5938 100644 --- a/src/api/resources/accounting/types/CashFlowStatement.ts +++ b/src/api/resources/accounting/types/CashFlowStatement.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The CashFlowStatement Object + * * ### Description + * * The `CashFlowStatement` object shows operating activities, investing activities, and financing activities over a period of time (month, quarter, or year). * * ### Usage Example + * * Fetch from the `LIST CashFlowStatements` endpoint and view a company's cash flow statements. */ export interface CashFlowStatement { @@ -21,312 +24,312 @@ export interface CashFlowStatement { /** * The cash flow statement's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.CashFlowStatementCurrency; /** The company the cash flow statement belongs to. */ diff --git a/src/api/resources/accounting/types/CashFlowStatementCurrency.ts b/src/api/resources/accounting/types/CashFlowStatementCurrency.ts index 4b214bf7..e552a14a 100644 --- a/src/api/resources/accounting/types/CashFlowStatementCurrency.ts +++ b/src/api/resources/accounting/types/CashFlowStatementCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The cash flow statement's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type CashFlowStatementCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/CategoriesEnum.ts b/src/api/resources/accounting/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/accounting/types/CategoriesEnum.ts +++ b/src/api/resources/accounting/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/accounting/types/CategoryEnum.ts b/src/api/resources/accounting/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/accounting/types/CategoryEnum.ts +++ b/src/api/resources/accounting/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/accounting/types/CategoryTypeEnum.ts b/src/api/resources/accounting/types/CategoryTypeEnum.ts index 782a6fb2..a1713a1a 100644 --- a/src/api/resources/accounting/types/CategoryTypeEnum.ts +++ b/src/api/resources/accounting/types/CategoryTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `CLASS` - CLASS - * * `DEPARTMENT` - DEPARTMENT + * - `CLASS` - CLASS + * - `DEPARTMENT` - DEPARTMENT */ export type CategoryTypeEnum = "CLASS" | "DEPARTMENT"; diff --git a/src/api/resources/accounting/types/ClassificationEnum.ts b/src/api/resources/accounting/types/ClassificationEnum.ts index 96d39f6e..199cf6c1 100644 --- a/src/api/resources/accounting/types/ClassificationEnum.ts +++ b/src/api/resources/accounting/types/ClassificationEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `ASSET` - ASSET - * * `EQUITY` - EQUITY - * * `EXPENSE` - EXPENSE - * * `LIABILITY` - LIABILITY - * * `REVENUE` - REVENUE + * - `ASSET` - ASSET + * - `EQUITY` - EQUITY + * - `EXPENSE` - EXPENSE + * - `LIABILITY` - LIABILITY + * - `REVENUE` - REVENUE */ export type ClassificationEnum = "ASSET" | "EQUITY" | "EXPENSE" | "LIABILITY" | "REVENUE"; diff --git a/src/api/resources/accounting/types/CompanyInfo.ts b/src/api/resources/accounting/types/CompanyInfo.ts index 67448b43..f2031bf6 100644 --- a/src/api/resources/accounting/types/CompanyInfo.ts +++ b/src/api/resources/accounting/types/CompanyInfo.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The CompanyInfo Object + * * ### Description + * * The `CompanyInfo` object contains information about the company of the linked account. If the company has multiple entities (also known as subsidiaries), each entity may show up as a single `CompanyInfo` record. * * ### Usage Example + * * Fetch from the `GET CompanyInfo` endpoint and view a company's information. */ export interface CompanyInfo { @@ -29,312 +32,312 @@ export interface CompanyInfo { /** * The currency set in the company's accounting platform. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.CompanyInfoCurrency; /** When the third party's company was created. */ diff --git a/src/api/resources/accounting/types/CompanyInfoCurrency.ts b/src/api/resources/accounting/types/CompanyInfoCurrency.ts index 127cc7a9..16940f50 100644 --- a/src/api/resources/accounting/types/CompanyInfoCurrency.ts +++ b/src/api/resources/accounting/types/CompanyInfoCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The currency set in the company's accounting platform. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type CompanyInfoCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ConditionSchema.ts b/src/api/resources/accounting/types/ConditionSchema.ts index 0ffe40c9..c4537b80 100644 --- a/src/api/resources/accounting/types/ConditionSchema.ts +++ b/src/api/resources/accounting/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.accounting.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/accounting/types/ConditionSchemaConditionType.ts b/src/api/resources/accounting/types/ConditionSchemaConditionType.ts index c9472bab..cc5e52b9 100644 --- a/src/api/resources/accounting/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/accounting/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.accounting.ConditionTypeEnum | string; diff --git a/src/api/resources/accounting/types/ConditionTypeEnum.ts b/src/api/resources/accounting/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/accounting/types/ConditionTypeEnum.ts +++ b/src/api/resources/accounting/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/accounting/types/Contact.ts b/src/api/resources/accounting/types/Contact.ts index e7f2cdc7..22b9ea98 100644 --- a/src/api/resources/accounting/types/Contact.ts +++ b/src/api/resources/accounting/types/Contact.ts @@ -6,12 +6,16 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. - * * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - * * A `Contact` is a customer if the `is_customer` property is true. + * + * - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. + * - A `Contact` is a customer if the `is_customer` property is true. * * ### Usage Example + * * Fetch from the `LIST Contacts` endpoint and view a company's contacts. */ export interface Contact { @@ -31,8 +35,8 @@ export interface Contact { /** * The contact's status * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ status?: Merge.accounting.ContactStatus; /** The currency the contact's transactions are in. */ diff --git a/src/api/resources/accounting/types/ContactRequest.ts b/src/api/resources/accounting/types/ContactRequest.ts index 924d31e5..6b6f61ac 100644 --- a/src/api/resources/accounting/types/ContactRequest.ts +++ b/src/api/resources/accounting/types/ContactRequest.ts @@ -6,12 +6,16 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. - * * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. - * * A `Contact` is a customer if the `is_customer` property is true. + * + * - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. + * - A `Contact` is a customer if the `is_customer` property is true. * * ### Usage Example + * * Fetch from the `LIST Contacts` endpoint and view a company's contacts. */ export interface ContactRequest { @@ -28,8 +32,8 @@ export interface ContactRequest { /** * The contact's status * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ status?: Merge.accounting.ContactRequestStatus; /** The currency the contact's transactions are in. */ diff --git a/src/api/resources/accounting/types/ContactRequestStatus.ts b/src/api/resources/accounting/types/ContactRequestStatus.ts index 854bc4b7..f744de40 100644 --- a/src/api/resources/accounting/types/ContactRequestStatus.ts +++ b/src/api/resources/accounting/types/ContactRequestStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The contact's status * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ export type ContactRequestStatus = Merge.accounting.Status7D1Enum | string; diff --git a/src/api/resources/accounting/types/ContactStatus.ts b/src/api/resources/accounting/types/ContactStatus.ts index 05087e9d..5b3502b1 100644 --- a/src/api/resources/accounting/types/ContactStatus.ts +++ b/src/api/resources/accounting/types/ContactStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The contact's status * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ export type ContactStatus = Merge.accounting.Status7D1Enum | string; diff --git a/src/api/resources/accounting/types/CountryEnum.ts b/src/api/resources/accounting/types/CountryEnum.ts index f5fc454d..e21e6bb7 100644 --- a/src/api/resources/accounting/types/CountryEnum.ts +++ b/src/api/resources/accounting/types/CountryEnum.ts @@ -3,255 +3,255 @@ */ /** - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type CountryEnum = | "AF" diff --git a/src/api/resources/accounting/types/CreditNote.ts b/src/api/resources/accounting/types/CreditNote.ts index 7cc76f64..4522db82 100644 --- a/src/api/resources/accounting/types/CreditNote.ts +++ b/src/api/resources/accounting/types/CreditNote.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The CreditNote Object + * * ### Description - * A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to *Accounts Receivable* Invoices to decrease the overall amount of the Invoice. + * + * A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to _Accounts Receivable_ Invoices to decrease the overall amount of the Invoice. * * ### Usage Example + * * Fetch from the `LIST CreditNotes` endpoint and view a company's credit notes. */ export interface CreditNote { @@ -21,9 +24,9 @@ export interface CreditNote { /** * The credit note's status. * - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `PAID` - PAID + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `PAID` - PAID */ status?: Merge.accounting.CreditNoteStatus; /** The credit note's number. */ @@ -43,312 +46,312 @@ export interface CreditNote { /** * The credit note's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.CreditNoteCurrency; /** When the third party's credit note was created. */ diff --git a/src/api/resources/accounting/types/CreditNoteCurrency.ts b/src/api/resources/accounting/types/CreditNoteCurrency.ts index 20675e77..f3a7865e 100644 --- a/src/api/resources/accounting/types/CreditNoteCurrency.ts +++ b/src/api/resources/accounting/types/CreditNoteCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The credit note's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type CreditNoteCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/CreditNoteStatus.ts b/src/api/resources/accounting/types/CreditNoteStatus.ts index 9cb898ca..b42051ac 100644 --- a/src/api/resources/accounting/types/CreditNoteStatus.ts +++ b/src/api/resources/accounting/types/CreditNoteStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The credit note's status. * - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `PAID` - PAID + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `PAID` - PAID */ export type CreditNoteStatus = Merge.accounting.CreditNoteStatusEnum | string; diff --git a/src/api/resources/accounting/types/CreditNoteStatusEnum.ts b/src/api/resources/accounting/types/CreditNoteStatusEnum.ts index a943cff5..a42e579c 100644 --- a/src/api/resources/accounting/types/CreditNoteStatusEnum.ts +++ b/src/api/resources/accounting/types/CreditNoteStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `PAID` - PAID + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `PAID` - PAID */ export type CreditNoteStatusEnum = "SUBMITTED" | "AUTHORIZED" | "PAID"; diff --git a/src/api/resources/accounting/types/CurrencyEnum.ts b/src/api/resources/accounting/types/CurrencyEnum.ts index 930bf42f..dd303c7d 100644 --- a/src/api/resources/accounting/types/CurrencyEnum.ts +++ b/src/api/resources/accounting/types/CurrencyEnum.ts @@ -3,312 +3,312 @@ */ /** - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type CurrencyEnum = | "XUA" diff --git a/src/api/resources/accounting/types/DataPassthroughRequest.ts b/src/api/resources/accounting/types/DataPassthroughRequest.ts index 2e8946bc..d22a2b0c 100644 --- a/src/api/resources/accounting/types/DataPassthroughRequest.ts +++ b/src/api/resources/accounting/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/accounting/types/EnabledActionsEnum.ts b/src/api/resources/accounting/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/accounting/types/EnabledActionsEnum.ts +++ b/src/api/resources/accounting/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/accounting/types/EncodingEnum.ts b/src/api/resources/accounting/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/accounting/types/EncodingEnum.ts +++ b/src/api/resources/accounting/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/accounting/types/EventTypeEnum.ts b/src/api/resources/accounting/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/accounting/types/EventTypeEnum.ts +++ b/src/api/resources/accounting/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/accounting/types/Expense.ts b/src/api/resources/accounting/types/Expense.ts index b4cd9f28..176d1630 100644 --- a/src/api/resources/accounting/types/Expense.ts +++ b/src/api/resources/accounting/types/Expense.ts @@ -6,12 +6,15 @@ import * as Merge from "../../.."; /** * # The Expense Object + * * ### Description + * * The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. * * The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. * * ### Usage Example + * * Fetch from the `GET Expense` endpoint and view a company's expense. */ export interface Expense { @@ -32,312 +35,312 @@ export interface Expense { /** * The expense's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.ExpenseCurrency; /** The expense's exchange rate. */ diff --git a/src/api/resources/accounting/types/ExpenseCurrency.ts b/src/api/resources/accounting/types/ExpenseCurrency.ts index 3925a8a0..9dd147ba 100644 --- a/src/api/resources/accounting/types/ExpenseCurrency.ts +++ b/src/api/resources/accounting/types/ExpenseCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The expense's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type ExpenseCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseLine.ts b/src/api/resources/accounting/types/ExpenseLine.ts index 7e0c23fd..aef9d532 100644 --- a/src/api/resources/accounting/types/ExpenseLine.ts +++ b/src/api/resources/accounting/types/ExpenseLine.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The ExpenseLine Object + * * ### Description + * * The `ExpenseLine` object is used to represent an expense's line items. * * ### Usage Example + * * Fetch from the `GET Expense` endpoint and view the expense's line items. */ export interface ExpenseLine { @@ -26,312 +29,312 @@ export interface ExpenseLine { /** * The expense line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.ExpenseLineCurrency; /** The expense's payment account. */ diff --git a/src/api/resources/accounting/types/ExpenseLineCurrency.ts b/src/api/resources/accounting/types/ExpenseLineCurrency.ts index d8a35b8c..06429e84 100644 --- a/src/api/resources/accounting/types/ExpenseLineCurrency.ts +++ b/src/api/resources/accounting/types/ExpenseLineCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The expense line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type ExpenseLineCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseLineRequest.ts b/src/api/resources/accounting/types/ExpenseLineRequest.ts index 21dc610e..37db37a8 100644 --- a/src/api/resources/accounting/types/ExpenseLineRequest.ts +++ b/src/api/resources/accounting/types/ExpenseLineRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The ExpenseLine Object + * * ### Description + * * The `ExpenseLine` object is used to represent an expense's line items. * * ### Usage Example + * * Fetch from the `GET Expense` endpoint and view the expense's line items. */ export interface ExpenseLineRequest { @@ -26,312 +29,312 @@ export interface ExpenseLineRequest { /** * The expense line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.ExpenseLineRequestCurrency; /** The expense's payment account. */ diff --git a/src/api/resources/accounting/types/ExpenseLineRequestCurrency.ts b/src/api/resources/accounting/types/ExpenseLineRequestCurrency.ts index 05760711..e5509d89 100644 --- a/src/api/resources/accounting/types/ExpenseLineRequestCurrency.ts +++ b/src/api/resources/accounting/types/ExpenseLineRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The expense line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type ExpenseLineRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/ExpenseRequest.ts b/src/api/resources/accounting/types/ExpenseRequest.ts index 91b1e633..5480b53a 100644 --- a/src/api/resources/accounting/types/ExpenseRequest.ts +++ b/src/api/resources/accounting/types/ExpenseRequest.ts @@ -6,12 +6,15 @@ import * as Merge from "../../.."; /** * # The Expense Object + * * ### Description + * * The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. * * The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. * * ### Usage Example + * * Fetch from the `GET Expense` endpoint and view a company's expense. */ export interface ExpenseRequest { @@ -30,312 +33,312 @@ export interface ExpenseRequest { /** * The expense's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.ExpenseRequestCurrency; /** The expense's exchange rate. */ diff --git a/src/api/resources/accounting/types/ExpenseRequestCurrency.ts b/src/api/resources/accounting/types/ExpenseRequestCurrency.ts index 93cb142f..a6544c8b 100644 --- a/src/api/resources/accounting/types/ExpenseRequestCurrency.ts +++ b/src/api/resources/accounting/types/ExpenseRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The expense's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type ExpenseRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/IncomeStatement.ts b/src/api/resources/accounting/types/IncomeStatement.ts index 96f794a6..5dd036a3 100644 --- a/src/api/resources/accounting/types/IncomeStatement.ts +++ b/src/api/resources/accounting/types/IncomeStatement.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The IncomeStatement Object + * * ### Description + * * The `IncomeStatement` object is used to represent a company’s income, the cost of sales, operating expenses, and other non-operating expenses. The object also includes other important values like gross profit, gross operating profit, and net income. This represents a period of time (month, quarter, or year). * * ### Usage Example + * * Fetch from the `GET IncomeStatement` endpoint and view a company's income statement for a given period. */ export interface IncomeStatement { @@ -21,312 +24,312 @@ export interface IncomeStatement { /** * The income statement's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.IncomeStatementCurrency; /** The company the income statement belongs to. */ diff --git a/src/api/resources/accounting/types/IncomeStatementCurrency.ts b/src/api/resources/accounting/types/IncomeStatementCurrency.ts index 075e8937..1b3a53d8 100644 --- a/src/api/resources/accounting/types/IncomeStatementCurrency.ts +++ b/src/api/resources/accounting/types/IncomeStatementCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The income statement's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type IncomeStatementCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/Invoice.ts b/src/api/resources/accounting/types/Invoice.ts index 74a65c4d..39f77e8b 100644 --- a/src/api/resources/accounting/types/Invoice.ts +++ b/src/api/resources/accounting/types/Invoice.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Invoice Object + * * ### Description + * * The `Invoice` object represents an itemized record of goods and/or services sold to a customer. * * ### Usage Example + * * Fetch from the `LIST Invoices` endpoint and view a company's invoices. */ export interface Invoice { @@ -17,8 +20,8 @@ export interface Invoice { /** * Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ type?: Merge.accounting.InvoiceType; /** The invoice's contact. */ @@ -38,312 +41,312 @@ export interface Invoice { /** * The invoice's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.InvoiceCurrency; /** The invoice's exchange rate. */ @@ -355,12 +358,12 @@ export interface Invoice { /** * The status of the invoice. * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `PARTIALLY_PAID` - PARTIALLY_PAID - * * `OPEN` - OPEN - * * `VOID` - VOID + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `PARTIALLY_PAID` - PARTIALLY_PAID + * - `OPEN` - OPEN + * - `VOID` - VOID */ status?: Merge.accounting.InvoiceStatus; /** The total amount being paid in taxes. */ diff --git a/src/api/resources/accounting/types/InvoiceCurrency.ts b/src/api/resources/accounting/types/InvoiceCurrency.ts index dce0b15c..f369c3b0 100644 --- a/src/api/resources/accounting/types/InvoiceCurrency.ts +++ b/src/api/resources/accounting/types/InvoiceCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The invoice's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type InvoiceCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceLineItem.ts b/src/api/resources/accounting/types/InvoiceLineItem.ts index 746b3ff5..aebe9cea 100644 --- a/src/api/resources/accounting/types/InvoiceLineItem.ts +++ b/src/api/resources/accounting/types/InvoiceLineItem.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The InvoiceLineItem Object + * * ### Description + * * The `InvoiceLineItem` object represents an itemized record of goods and/or services sold to a customer. * * ### Usage Example + * * Fetch from the `GET Invoice` endpoint and view the invoice's line items. */ export interface InvoiceLineItem { @@ -26,312 +29,312 @@ export interface InvoiceLineItem { /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.InvoiceLineItemCurrency; /** The line item's exchange rate. */ diff --git a/src/api/resources/accounting/types/InvoiceLineItemCurrency.ts b/src/api/resources/accounting/types/InvoiceLineItemCurrency.ts index a68749f5..39f9306f 100644 --- a/src/api/resources/accounting/types/InvoiceLineItemCurrency.ts +++ b/src/api/resources/accounting/types/InvoiceLineItemCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type InvoiceLineItemCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceLineItemRequest.ts b/src/api/resources/accounting/types/InvoiceLineItemRequest.ts index 43ec6e56..78d5b293 100644 --- a/src/api/resources/accounting/types/InvoiceLineItemRequest.ts +++ b/src/api/resources/accounting/types/InvoiceLineItemRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The InvoiceLineItem Object + * * ### Description + * * The `InvoiceLineItem` object represents an itemized record of goods and/or services sold to a customer. * * ### Usage Example + * * Fetch from the `GET Invoice` endpoint and view the invoice's line items. */ export interface InvoiceLineItemRequest { @@ -26,312 +29,312 @@ export interface InvoiceLineItemRequest { /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.InvoiceLineItemRequestCurrency; /** The line item's exchange rate. */ diff --git a/src/api/resources/accounting/types/InvoiceLineItemRequestCurrency.ts b/src/api/resources/accounting/types/InvoiceLineItemRequestCurrency.ts index 2790fda7..1ad6b4f1 100644 --- a/src/api/resources/accounting/types/InvoiceLineItemRequestCurrency.ts +++ b/src/api/resources/accounting/types/InvoiceLineItemRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type InvoiceLineItemRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceRequest.ts b/src/api/resources/accounting/types/InvoiceRequest.ts index a14f2f18..3ac99b58 100644 --- a/src/api/resources/accounting/types/InvoiceRequest.ts +++ b/src/api/resources/accounting/types/InvoiceRequest.ts @@ -6,8 +6,10 @@ import * as Merge from "../../.."; /** * # The Invoice Object + * * ### Description * The `Invoice` object represents an itemized record of goods and/or services sold to a customer. + * * If type = accounts_payable `Invoice` is a bill, if type = accounts_receivable it's an invoice. * * ### Usage Example @@ -17,8 +19,8 @@ export interface InvoiceRequest { /** * Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ type?: Merge.accounting.InvoiceRequestType; /** The invoice's contact. */ @@ -36,12 +38,12 @@ export interface InvoiceRequest { /** * The status of the invoice. * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `PARTIALLY_PAID` - PARTIALLY_PAID - * * `OPEN` - OPEN - * * `VOID` - VOID + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `PARTIALLY_PAID` - PARTIALLY_PAID + * - `OPEN` - OPEN + * - `VOID` - VOID */ status?: Merge.accounting.InvoiceRequestStatus; /** The company the invoice belongs to. */ @@ -49,312 +51,312 @@ export interface InvoiceRequest { /** * The invoice's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.InvoiceRequestCurrency; /** The invoice's exchange rate. */ diff --git a/src/api/resources/accounting/types/InvoiceRequestCurrency.ts b/src/api/resources/accounting/types/InvoiceRequestCurrency.ts index 8adc8d64..b16dfde6 100644 --- a/src/api/resources/accounting/types/InvoiceRequestCurrency.ts +++ b/src/api/resources/accounting/types/InvoiceRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The invoice's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type InvoiceRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceRequestStatus.ts b/src/api/resources/accounting/types/InvoiceRequestStatus.ts index a3dc09b5..148b323a 100644 --- a/src/api/resources/accounting/types/InvoiceRequestStatus.ts +++ b/src/api/resources/accounting/types/InvoiceRequestStatus.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * The status of the invoice. * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `PARTIALLY_PAID` - PARTIALLY_PAID - * * `OPEN` - OPEN - * * `VOID` - VOID + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `PARTIALLY_PAID` - PARTIALLY_PAID + * - `OPEN` - OPEN + * - `VOID` - VOID */ export type InvoiceRequestStatus = Merge.accounting.InvoiceStatusEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceRequestType.ts b/src/api/resources/accounting/types/InvoiceRequestType.ts index 3dfd299d..2bf4b748 100644 --- a/src/api/resources/accounting/types/InvoiceRequestType.ts +++ b/src/api/resources/accounting/types/InvoiceRequestType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ export type InvoiceRequestType = Merge.accounting.InvoiceTypeEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceStatus.ts b/src/api/resources/accounting/types/InvoiceStatus.ts index e01797a4..47901bba 100644 --- a/src/api/resources/accounting/types/InvoiceStatus.ts +++ b/src/api/resources/accounting/types/InvoiceStatus.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * The status of the invoice. * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `PARTIALLY_PAID` - PARTIALLY_PAID - * * `OPEN` - OPEN - * * `VOID` - VOID + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `PARTIALLY_PAID` - PARTIALLY_PAID + * - `OPEN` - OPEN + * - `VOID` - VOID */ export type InvoiceStatus = Merge.accounting.InvoiceStatusEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceStatusEnum.ts b/src/api/resources/accounting/types/InvoiceStatusEnum.ts index 452238d4..e3449c97 100644 --- a/src/api/resources/accounting/types/InvoiceStatusEnum.ts +++ b/src/api/resources/accounting/types/InvoiceStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `PARTIALLY_PAID` - PARTIALLY_PAID - * * `OPEN` - OPEN - * * `VOID` - VOID + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `PARTIALLY_PAID` - PARTIALLY_PAID + * - `OPEN` - OPEN + * - `VOID` - VOID */ export type InvoiceStatusEnum = "PAID" | "DRAFT" | "SUBMITTED" | "PARTIALLY_PAID" | "OPEN" | "VOID"; diff --git a/src/api/resources/accounting/types/InvoiceType.ts b/src/api/resources/accounting/types/InvoiceType.ts index cc2c4d80..081a788a 100644 --- a/src/api/resources/accounting/types/InvoiceType.ts +++ b/src/api/resources/accounting/types/InvoiceType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Whether the invoice is an accounts receivable or accounts payable. If `type` is `accounts_payable`, the invoice is a bill. If `type` is `accounts_receivable`, it is an invoice. * - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ export type InvoiceType = Merge.accounting.InvoiceTypeEnum | string; diff --git a/src/api/resources/accounting/types/InvoiceTypeEnum.ts b/src/api/resources/accounting/types/InvoiceTypeEnum.ts index 3685ca1c..c867accc 100644 --- a/src/api/resources/accounting/types/InvoiceTypeEnum.ts +++ b/src/api/resources/accounting/types/InvoiceTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE - * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + * - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + * - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE */ export type InvoiceTypeEnum = "ACCOUNTS_RECEIVABLE" | "ACCOUNTS_PAYABLE"; diff --git a/src/api/resources/accounting/types/Issue.ts b/src/api/resources/accounting/types/Issue.ts index 60d7df15..51e84fc3 100644 --- a/src/api/resources/accounting/types/Issue.ts +++ b/src/api/resources/accounting/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.accounting.IssueStatus; errorDescription: string; diff --git a/src/api/resources/accounting/types/IssueStatus.ts b/src/api/resources/accounting/types/IssueStatus.ts index 843cadbb..a0ec99ca 100644 --- a/src/api/resources/accounting/types/IssueStatus.ts +++ b/src/api/resources/accounting/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.accounting.IssueStatusEnum | string; diff --git a/src/api/resources/accounting/types/IssueStatusEnum.ts b/src/api/resources/accounting/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/accounting/types/IssueStatusEnum.ts +++ b/src/api/resources/accounting/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/accounting/types/Item.ts b/src/api/resources/accounting/types/Item.ts index 2b5a2eb7..7edc2671 100644 --- a/src/api/resources/accounting/types/Item.ts +++ b/src/api/resources/accounting/types/Item.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Item Object + * * ### Description + * * The `Item` object refers to the goods involved in a transaction. * * ### Usage Example + * * Fetch from the `LIST Items` endpoint and view a company's items. */ export interface Item { @@ -21,8 +24,8 @@ export interface Item { /** * The item's status. * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ status?: Merge.accounting.ItemStatus; /** The item's unit price. */ diff --git a/src/api/resources/accounting/types/ItemStatus.ts b/src/api/resources/accounting/types/ItemStatus.ts index 4837e0c1..44dac272 100644 --- a/src/api/resources/accounting/types/ItemStatus.ts +++ b/src/api/resources/accounting/types/ItemStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The item's status. * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ export type ItemStatus = Merge.accounting.Status7D1Enum | string; diff --git a/src/api/resources/accounting/types/JournalEntry.ts b/src/api/resources/accounting/types/JournalEntry.ts index 92ffe7df..75bbc75e 100644 --- a/src/api/resources/accounting/types/JournalEntry.ts +++ b/src/api/resources/accounting/types/JournalEntry.ts @@ -6,7 +6,9 @@ import * as Merge from "../../.."; /** * # The JournalEntry Object + * * ### Description + * * A `JournalEntry` is a record of a transaction or event that is entered into a company's accounting system. * * The `JournalEntry` common model contains records that are automatically created as a result of a certain type of transaction, like an Invoice, and records that are manually created against a company’s ledger. @@ -14,6 +16,7 @@ import * as Merge from "../../.."; * The lines of a given `JournalEntry` object should always sum to 0. A positive `net_amount` means the line represents a debit and a negative net_amount represents a credit. * * ### Usage Example + * * Fetch from the `GET JournalEntry` endpoint and view a company's journey entry. */ export interface JournalEntry { @@ -32,312 +35,312 @@ export interface JournalEntry { /** * The journal's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.JournalEntryCurrency; /** The journal entry's exchange rate. */ @@ -352,8 +355,8 @@ export interface JournalEntry { /** * The journal's posting status. * - * * `UNPOSTED` - UNPOSTED - * * `POSTED` - POSTED + * - `UNPOSTED` - UNPOSTED + * - `POSTED` - POSTED */ postingStatus?: Merge.accounting.JournalEntryPostingStatus; /** The accounting period that the JournalEntry was generated in. */ diff --git a/src/api/resources/accounting/types/JournalEntryCurrency.ts b/src/api/resources/accounting/types/JournalEntryCurrency.ts index 6ec66614..21be4332 100644 --- a/src/api/resources/accounting/types/JournalEntryCurrency.ts +++ b/src/api/resources/accounting/types/JournalEntryCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The journal's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type JournalEntryCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/JournalEntryPostingStatus.ts b/src/api/resources/accounting/types/JournalEntryPostingStatus.ts index a471f19f..835acc2e 100644 --- a/src/api/resources/accounting/types/JournalEntryPostingStatus.ts +++ b/src/api/resources/accounting/types/JournalEntryPostingStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The journal's posting status. * - * * `UNPOSTED` - UNPOSTED - * * `POSTED` - POSTED + * - `UNPOSTED` - UNPOSTED + * - `POSTED` - POSTED */ export type JournalEntryPostingStatus = Merge.accounting.PostingStatusEnum | string; diff --git a/src/api/resources/accounting/types/JournalEntryRequest.ts b/src/api/resources/accounting/types/JournalEntryRequest.ts index 71b3b386..64eec3fa 100644 --- a/src/api/resources/accounting/types/JournalEntryRequest.ts +++ b/src/api/resources/accounting/types/JournalEntryRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The JournalEntry Object + * * ### Description + * * The `JournalEntry` object is used to get a record of all manually created entries made in a company’s general ledger. The journal line items for each journal entry should sum to zero. * * ### Usage Example + * * Fetch from the `GET JournalEntry` endpoint and view a company's journey entry. */ export interface JournalEntryRequest { @@ -22,312 +25,312 @@ export interface JournalEntryRequest { /** * The journal's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.JournalEntryRequestCurrency; /** The journal entry's exchange rate. */ @@ -341,8 +344,8 @@ export interface JournalEntryRequest { /** * The journal's posting status. * - * * `UNPOSTED` - UNPOSTED - * * `POSTED` - POSTED + * - `UNPOSTED` - UNPOSTED + * - `POSTED` - POSTED */ postingStatus?: Merge.accounting.JournalEntryRequestPostingStatus; integrationParams?: Record; diff --git a/src/api/resources/accounting/types/JournalEntryRequestCurrency.ts b/src/api/resources/accounting/types/JournalEntryRequestCurrency.ts index 79344c9a..0186f267 100644 --- a/src/api/resources/accounting/types/JournalEntryRequestCurrency.ts +++ b/src/api/resources/accounting/types/JournalEntryRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The journal's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type JournalEntryRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/JournalEntryRequestPostingStatus.ts b/src/api/resources/accounting/types/JournalEntryRequestPostingStatus.ts index 47a40e1b..bd150736 100644 --- a/src/api/resources/accounting/types/JournalEntryRequestPostingStatus.ts +++ b/src/api/resources/accounting/types/JournalEntryRequestPostingStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The journal's posting status. * - * * `UNPOSTED` - UNPOSTED - * * `POSTED` - POSTED + * - `UNPOSTED` - UNPOSTED + * - `POSTED` - POSTED */ export type JournalEntryRequestPostingStatus = Merge.accounting.PostingStatusEnum | string; diff --git a/src/api/resources/accounting/types/JournalLine.ts b/src/api/resources/accounting/types/JournalLine.ts index 2c9721be..ac06922a 100644 --- a/src/api/resources/accounting/types/JournalLine.ts +++ b/src/api/resources/accounting/types/JournalLine.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The JournalLine Object + * * ### Description + * * The `JournalLine` object is used to represent a journal entry's line items. * * ### Usage Example + * * Fetch from the `GET JournalEntry` endpoint and view the journal entry's line items. */ export interface JournalLine { @@ -23,312 +26,312 @@ export interface JournalLine { /** * The journal line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.JournalLineCurrency; /** The company the journal entry belongs to. */ diff --git a/src/api/resources/accounting/types/JournalLineCurrency.ts b/src/api/resources/accounting/types/JournalLineCurrency.ts index 7c4f883a..0bddf483 100644 --- a/src/api/resources/accounting/types/JournalLineCurrency.ts +++ b/src/api/resources/accounting/types/JournalLineCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The journal line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type JournalLineCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/JournalLineRequest.ts b/src/api/resources/accounting/types/JournalLineRequest.ts index 55ad66ef..26fc43f1 100644 --- a/src/api/resources/accounting/types/JournalLineRequest.ts +++ b/src/api/resources/accounting/types/JournalLineRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The JournalLine Object + * * ### Description + * * The `JournalLine` object is used to represent a journal entry's line items. * * ### Usage Example + * * Fetch from the `GET JournalEntry` endpoint and view the journal entry's line items. */ export interface JournalLineRequest { @@ -23,312 +26,312 @@ export interface JournalLineRequest { /** * The journal line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.JournalLineRequestCurrency; /** The company the journal entry belongs to. */ diff --git a/src/api/resources/accounting/types/JournalLineRequestCurrency.ts b/src/api/resources/accounting/types/JournalLineRequestCurrency.ts index 310ae08d..006c184f 100644 --- a/src/api/resources/accounting/types/JournalLineRequestCurrency.ts +++ b/src/api/resources/accounting/types/JournalLineRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The journal line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type JournalLineRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/LinkedAccountCondition.ts b/src/api/resources/accounting/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/accounting/types/LinkedAccountCondition.ts +++ b/src/api/resources/accounting/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/accounting/types/MethodEnum.ts b/src/api/resources/accounting/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/accounting/types/MethodEnum.ts +++ b/src/api/resources/accounting/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/accounting/types/ModelOperation.ts b/src/api/resources/accounting/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/accounting/types/ModelOperation.ts +++ b/src/api/resources/accounting/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/accounting/types/MultipartFormFieldRequest.ts b/src/api/resources/accounting/types/MultipartFormFieldRequest.ts index 6eb8494c..bf1d4155 100644 --- a/src/api/resources/accounting/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/accounting/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.accounting.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts index 78be3c4f..7ff8d126 100644 --- a/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/accounting/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.accounting.EncodingEnum | string; diff --git a/src/api/resources/accounting/types/Payment.ts b/src/api/resources/accounting/types/Payment.ts index f3fef8b1..3b25e964 100644 --- a/src/api/resources/accounting/types/Payment.ts +++ b/src/api/resources/accounting/types/Payment.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Payment Object + * * ### Description + * * The `Payment` object represents general payments made towards a specific transaction. * * ### Usage Example + * * Fetch from the `GET Payment` endpoint and view an invoice's payment. */ export interface Payment { @@ -25,312 +28,312 @@ export interface Payment { /** * The payment's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PaymentCurrency; /** The payment's exchange rate. */ diff --git a/src/api/resources/accounting/types/PaymentCurrency.ts b/src/api/resources/accounting/types/PaymentCurrency.ts index 51bde65e..19ae1fed 100644 --- a/src/api/resources/accounting/types/PaymentCurrency.ts +++ b/src/api/resources/accounting/types/PaymentCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The payment's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PaymentCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PaymentLineItem.ts b/src/api/resources/accounting/types/PaymentLineItem.ts index 2134368f..27044334 100644 --- a/src/api/resources/accounting/types/PaymentLineItem.ts +++ b/src/api/resources/accounting/types/PaymentLineItem.ts @@ -4,10 +4,13 @@ /** * # The PaymentLineItem Object + * * ### Description + * * The `PaymentLineItem` object is an applied-to-line on a `Payment` that can either be a `Invoice`, `CreditNote`, or `JournalEntry`. * * ### Usage Example + * * `Payment` will have a field called `applied-to-lines` which will be an array of `PaymentLineItemInternalMappingSerializer` objects that can either be a `Invoice`, `CreditNote`, or `JournalEntry`. */ export interface PaymentLineItem { diff --git a/src/api/resources/accounting/types/PaymentLineItemRequest.ts b/src/api/resources/accounting/types/PaymentLineItemRequest.ts index 45af6942..4f65d958 100644 --- a/src/api/resources/accounting/types/PaymentLineItemRequest.ts +++ b/src/api/resources/accounting/types/PaymentLineItemRequest.ts @@ -4,10 +4,13 @@ /** * # The PaymentLineItem Object + * * ### Description + * * The `PaymentLineItem` object is an applied-to-line on a `Payment` that can either be a `Invoice`, `CreditNote`, or `JournalEntry`. * * ### Usage Example + * * `Payment` will have a field called `applied-to-lines` which will be an array of `PaymentLineItemInternalMappingSerializer` objects that can either be a `Invoice`, `CreditNote`, or `JournalEntry`. */ export interface PaymentLineItemRequest { diff --git a/src/api/resources/accounting/types/PaymentRequest.ts b/src/api/resources/accounting/types/PaymentRequest.ts index 6b5e8d57..709710fb 100644 --- a/src/api/resources/accounting/types/PaymentRequest.ts +++ b/src/api/resources/accounting/types/PaymentRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Payment Object + * * ### Description + * * The `Payment` object represents general payments made towards a specific transaction. * * ### Usage Example + * * Fetch from the `GET Payment` endpoint and view an invoice's payment. */ export interface PaymentRequest { @@ -22,312 +25,312 @@ export interface PaymentRequest { /** * The payment's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PaymentRequestCurrency; /** The payment's exchange rate. */ diff --git a/src/api/resources/accounting/types/PaymentRequestCurrency.ts b/src/api/resources/accounting/types/PaymentRequestCurrency.ts index 32838e84..7b510d7a 100644 --- a/src/api/resources/accounting/types/PaymentRequestCurrency.ts +++ b/src/api/resources/accounting/types/PaymentRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The payment's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PaymentRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PostingStatusEnum.ts b/src/api/resources/accounting/types/PostingStatusEnum.ts index 69a34e1a..47e7d1ba 100644 --- a/src/api/resources/accounting/types/PostingStatusEnum.ts +++ b/src/api/resources/accounting/types/PostingStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `UNPOSTED` - UNPOSTED - * * `POSTED` - POSTED + * - `UNPOSTED` - UNPOSTED + * - `POSTED` - POSTED */ export type PostingStatusEnum = "UNPOSTED" | "POSTED"; diff --git a/src/api/resources/accounting/types/PurchaseOrder.ts b/src/api/resources/accounting/types/PurchaseOrder.ts index 058cf8d0..4ab21b4e 100644 --- a/src/api/resources/accounting/types/PurchaseOrder.ts +++ b/src/api/resources/accounting/types/PurchaseOrder.ts @@ -6,23 +6,26 @@ import * as Merge from "../../.."; /** * # The PurchaseOrder Object + * * ### Description + * * A `PurchaseOrder` represents a request to purchase goods or services from a vendor. It outlines the details of the purchase, such as the items or services requested, quantities, prices, and delivery details. * - * A `PurchaseOrder` is a crucial component of the procurement process, but does not typically result in any impact on the company’s general ledger. The general ledger is typically only affected when the `PurchaseOrder` is fulfilled as an *Accounts Payable* Invoice object. + * A `PurchaseOrder` is a crucial component of the procurement process, but does not typically result in any impact on the company’s general ledger. The general ledger is typically only affected when the `PurchaseOrder` is fulfilled as an _Accounts Payable_ Invoice object. * * ### Usage Example + * * Fetch from the `LIST PurchaseOrders` endpoint and view a company's purchase orders. */ export interface PurchaseOrder { /** * The purchase order's status. * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `BILLED` - BILLED - * * `DELETED` - DELETED + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `BILLED` - BILLED + * - `DELETED` - DELETED */ status?: Merge.accounting.PurchaseOrderStatus; /** The purchase order's issue date. */ @@ -46,312 +49,312 @@ export interface PurchaseOrder { /** * The purchase order's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PurchaseOrderCurrency; /** The purchase order's exchange rate. */ diff --git a/src/api/resources/accounting/types/PurchaseOrderCurrency.ts b/src/api/resources/accounting/types/PurchaseOrderCurrency.ts index 43c1287b..3f568784 100644 --- a/src/api/resources/accounting/types/PurchaseOrderCurrency.ts +++ b/src/api/resources/accounting/types/PurchaseOrderCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The purchase order's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PurchaseOrderCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderLineItem.ts b/src/api/resources/accounting/types/PurchaseOrderLineItem.ts index ba6ac330..e79504af 100644 --- a/src/api/resources/accounting/types/PurchaseOrderLineItem.ts +++ b/src/api/resources/accounting/types/PurchaseOrderLineItem.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The PurchaseOrderLineItem Object + * * ### Description + * * The `PurchaseOrderLineItem` object is used to represent a purchase order's line item. * * ### Usage Example + * * Fetch from the `GET PurchaseOrder` endpoint and view a company's purchase orders. */ export interface PurchaseOrderLineItem { @@ -35,312 +38,312 @@ export interface PurchaseOrderLineItem { /** * The purchase order line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PurchaseOrderLineItemCurrency; /** The purchase order line item's exchange rate. */ diff --git a/src/api/resources/accounting/types/PurchaseOrderLineItemCurrency.ts b/src/api/resources/accounting/types/PurchaseOrderLineItemCurrency.ts index 8c6b465d..4bcb78d1 100644 --- a/src/api/resources/accounting/types/PurchaseOrderLineItemCurrency.ts +++ b/src/api/resources/accounting/types/PurchaseOrderLineItemCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The purchase order line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PurchaseOrderLineItemCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderLineItemRequest.ts b/src/api/resources/accounting/types/PurchaseOrderLineItemRequest.ts index 79ccc653..4b3151ec 100644 --- a/src/api/resources/accounting/types/PurchaseOrderLineItemRequest.ts +++ b/src/api/resources/accounting/types/PurchaseOrderLineItemRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The PurchaseOrderLineItem Object + * * ### Description + * * The `PurchaseOrderLineItem` object is used to represent a purchase order's line item. * * ### Usage Example + * * Fetch from the `GET PurchaseOrder` endpoint and view a company's purchase orders. */ export interface PurchaseOrderLineItemRequest { @@ -35,312 +38,312 @@ export interface PurchaseOrderLineItemRequest { /** * The purchase order line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PurchaseOrderLineItemRequestCurrency; /** The purchase order line item's exchange rate. */ diff --git a/src/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.ts b/src/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.ts index 9abc0974..4cb006f2 100644 --- a/src/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.ts +++ b/src/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The purchase order line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PurchaseOrderLineItemRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderRequest.ts b/src/api/resources/accounting/types/PurchaseOrderRequest.ts index eec72e73..43759e7c 100644 --- a/src/api/resources/accounting/types/PurchaseOrderRequest.ts +++ b/src/api/resources/accounting/types/PurchaseOrderRequest.ts @@ -6,21 +6,24 @@ import * as Merge from "../../.."; /** * # The PurchaseOrder Object + * * ### Description + * * The `PurchaseOrder` object is a record of request for a product or service between a buyer and seller. * * ### Usage Example + * * Fetch from the `LIST PurchaseOrders` endpoint and view a company's purchase orders. */ export interface PurchaseOrderRequest { /** * The purchase order's status. * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `BILLED` - BILLED - * * `DELETED` - DELETED + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `BILLED` - BILLED + * - `DELETED` - DELETED */ status?: Merge.accounting.PurchaseOrderRequestStatus; /** The purchase order's issue date. */ @@ -42,312 +45,312 @@ export interface PurchaseOrderRequest { /** * The purchase order's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.PurchaseOrderRequestCurrency; /** The purchase order's exchange rate. */ diff --git a/src/api/resources/accounting/types/PurchaseOrderRequestCurrency.ts b/src/api/resources/accounting/types/PurchaseOrderRequestCurrency.ts index c28a97c4..d55255f1 100644 --- a/src/api/resources/accounting/types/PurchaseOrderRequestCurrency.ts +++ b/src/api/resources/accounting/types/PurchaseOrderRequestCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The purchase order's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PurchaseOrderRequestCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderRequestStatus.ts b/src/api/resources/accounting/types/PurchaseOrderRequestStatus.ts index bd6ddeaa..8edd8149 100644 --- a/src/api/resources/accounting/types/PurchaseOrderRequestStatus.ts +++ b/src/api/resources/accounting/types/PurchaseOrderRequestStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The purchase order's status. * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `BILLED` - BILLED - * * `DELETED` - DELETED + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `BILLED` - BILLED + * - `DELETED` - DELETED */ export type PurchaseOrderRequestStatus = Merge.accounting.PurchaseOrderStatusEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderStatus.ts b/src/api/resources/accounting/types/PurchaseOrderStatus.ts index 56f4bf58..f8b34203 100644 --- a/src/api/resources/accounting/types/PurchaseOrderStatus.ts +++ b/src/api/resources/accounting/types/PurchaseOrderStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The purchase order's status. * - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `BILLED` - BILLED - * * `DELETED` - DELETED + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `BILLED` - BILLED + * - `DELETED` - DELETED */ export type PurchaseOrderStatus = Merge.accounting.PurchaseOrderStatusEnum | string; diff --git a/src/api/resources/accounting/types/PurchaseOrderStatusEnum.ts b/src/api/resources/accounting/types/PurchaseOrderStatusEnum.ts index df1bfe71..5e0e37e2 100644 --- a/src/api/resources/accounting/types/PurchaseOrderStatusEnum.ts +++ b/src/api/resources/accounting/types/PurchaseOrderStatusEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `DRAFT` - DRAFT - * * `SUBMITTED` - SUBMITTED - * * `AUTHORIZED` - AUTHORIZED - * * `BILLED` - BILLED - * * `DELETED` - DELETED + * - `DRAFT` - DRAFT + * - `SUBMITTED` - SUBMITTED + * - `AUTHORIZED` - AUTHORIZED + * - `BILLED` - BILLED + * - `DELETED` - DELETED */ export type PurchaseOrderStatusEnum = "DRAFT" | "SUBMITTED" | "AUTHORIZED" | "BILLED" | "DELETED"; diff --git a/src/api/resources/accounting/types/RemoteKey.ts b/src/api/resources/accounting/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/accounting/types/RemoteKey.ts +++ b/src/api/resources/accounting/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/accounting/types/RemoteResponse.ts b/src/api/resources/accounting/types/RemoteResponse.ts index 4e08353f..c45dca9e 100644 --- a/src/api/resources/accounting/types/RemoteResponse.ts +++ b/src/api/resources/accounting/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/accounting/types/ReportItem.ts b/src/api/resources/accounting/types/ReportItem.ts index 04f43c69..ce12a8d0 100644 --- a/src/api/resources/accounting/types/ReportItem.ts +++ b/src/api/resources/accounting/types/ReportItem.ts @@ -4,10 +4,13 @@ /** * # The ReportItem Object + * * ### Description + * * The `ReportItem` object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report. * * ### Usage Example + * * Fetch from the `GET BalanceSheet` endpoint and view the balance sheet's report items. */ export interface ReportItem { diff --git a/src/api/resources/accounting/types/RequestFormatEnum.ts b/src/api/resources/accounting/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/accounting/types/RequestFormatEnum.ts +++ b/src/api/resources/accounting/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/accounting/types/ResponseTypeEnum.ts b/src/api/resources/accounting/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/accounting/types/ResponseTypeEnum.ts +++ b/src/api/resources/accounting/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/accounting/types/RoleEnum.ts b/src/api/resources/accounting/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/accounting/types/RoleEnum.ts +++ b/src/api/resources/accounting/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/accounting/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/accounting/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/accounting/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/accounting/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/accounting/types/Status7D1Enum.ts b/src/api/resources/accounting/types/Status7D1Enum.ts index e327e9c8..0fadd399 100644 --- a/src/api/resources/accounting/types/Status7D1Enum.ts +++ b/src/api/resources/accounting/types/Status7D1Enum.ts @@ -3,8 +3,8 @@ */ /** - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ export type Status7D1Enum = "ACTIVE" | "ARCHIVED"; diff --git a/src/api/resources/accounting/types/SyncStatus.ts b/src/api/resources/accounting/types/SyncStatus.ts index b10911b8..1dd178af 100644 --- a/src/api/resources/accounting/types/SyncStatus.ts +++ b/src/api/resources/accounting/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/accounting/types/SyncStatusStatusEnum.ts b/src/api/resources/accounting/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/accounting/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/accounting/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/accounting/types/TaxRate.ts b/src/api/resources/accounting/types/TaxRate.ts index e49d38e5..e62aa2a5 100644 --- a/src/api/resources/accounting/types/TaxRate.ts +++ b/src/api/resources/accounting/types/TaxRate.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TaxRate Object + * * ### Description + * * The `TaxRate` object is used to represent a tax rate. * * ### Usage Example + * * Fetch from the `LIST TaxRates` endpoint and view tax rates relevant to a company. */ export interface TaxRate { diff --git a/src/api/resources/accounting/types/TrackingCategory.ts b/src/api/resources/accounting/types/TrackingCategory.ts index 3281393f..8941fe7f 100644 --- a/src/api/resources/accounting/types/TrackingCategory.ts +++ b/src/api/resources/accounting/types/TrackingCategory.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TrackingCategory Object + * * ### Description + * * A `TrackingCategory` object represents a categorization method used to classify transactions within an accounting platform. They are often used to group records for reporting and analysis purposes. The most common types of `TrackingCategories` are Classes and Departments. * * ### Usage Example + * * Fetch from the `GET TrackingCategory` endpoint and view a company's tracking category. */ export interface TrackingCategory { @@ -18,15 +21,15 @@ export interface TrackingCategory { /** * The tracking category's status. * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ status?: Merge.accounting.TrackingCategoryStatus; /** * The tracking category’s type. * - * * `CLASS` - CLASS - * * `DEPARTMENT` - DEPARTMENT + * - `CLASS` - CLASS + * - `DEPARTMENT` - DEPARTMENT */ categoryType?: Merge.accounting.TrackingCategoryCategoryType; /** ID of the parent tracking category. */ diff --git a/src/api/resources/accounting/types/TrackingCategoryCategoryType.ts b/src/api/resources/accounting/types/TrackingCategoryCategoryType.ts index 23c71710..69bf1aec 100644 --- a/src/api/resources/accounting/types/TrackingCategoryCategoryType.ts +++ b/src/api/resources/accounting/types/TrackingCategoryCategoryType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The tracking category’s type. * - * * `CLASS` - CLASS - * * `DEPARTMENT` - DEPARTMENT + * - `CLASS` - CLASS + * - `DEPARTMENT` - DEPARTMENT */ export type TrackingCategoryCategoryType = Merge.accounting.CategoryTypeEnum | string; diff --git a/src/api/resources/accounting/types/TrackingCategoryStatus.ts b/src/api/resources/accounting/types/TrackingCategoryStatus.ts index 74688a9b..8b6b3256 100644 --- a/src/api/resources/accounting/types/TrackingCategoryStatus.ts +++ b/src/api/resources/accounting/types/TrackingCategoryStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The tracking category's status. * - * * `ACTIVE` - ACTIVE - * * `ARCHIVED` - ARCHIVED + * - `ACTIVE` - ACTIVE + * - `ARCHIVED` - ARCHIVED */ export type TrackingCategoryStatus = Merge.accounting.Status7D1Enum | string; diff --git a/src/api/resources/accounting/types/Transaction.ts b/src/api/resources/accounting/types/Transaction.ts index 9ac552e7..b60b6311 100644 --- a/src/api/resources/accounting/types/Transaction.ts +++ b/src/api/resources/accounting/types/Transaction.ts @@ -6,17 +6,21 @@ import * as Merge from "../../.."; /** * # The Transaction Object + * * ### Description + * * The `Transaction` common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of: - * * __Credit Notes__ - * * __Expenses__ - * * __Invoices__ - * * __Journal Entries__ - * * __Payments__ - * * __Purchase Orders__ - * * __Vendor Credits__ + * + * - **Credit Notes** + * - **Expenses** + * - **Invoices** + * - **Journal Entries** + * - **Payments** + * - **Purchase Orders** + * - **Vendor Credits** * * ### Usage Example + * * Fetch from the `GET Transaction` endpoint and view a company's transactions. */ export interface Transaction { @@ -35,312 +39,312 @@ export interface Transaction { /** * The transaction's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.TransactionCurrency; /** The transaction's exchange rate. */ diff --git a/src/api/resources/accounting/types/TransactionCurrency.ts b/src/api/resources/accounting/types/TransactionCurrency.ts index 99b23b63..6ed48066 100644 --- a/src/api/resources/accounting/types/TransactionCurrency.ts +++ b/src/api/resources/accounting/types/TransactionCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The transaction's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type TransactionCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/TransactionLineItem.ts b/src/api/resources/accounting/types/TransactionLineItem.ts index d2c01ea1..b2803af9 100644 --- a/src/api/resources/accounting/types/TransactionLineItem.ts +++ b/src/api/resources/accounting/types/TransactionLineItem.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TransactionLineItem Object + * * ### Description + * * The `TransactionLineItem` object is used to represent a transaction's line items. * * ### Usage Example + * * Fetch from the `GET TransactionLineItem` endpoint and view the transaction's line items. */ export interface TransactionLineItem { @@ -35,312 +38,312 @@ export interface TransactionLineItem { /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.TransactionLineItemCurrency; /** The line item's exchange rate. */ diff --git a/src/api/resources/accounting/types/TransactionLineItemCurrency.ts b/src/api/resources/accounting/types/TransactionLineItemCurrency.ts index cb64d3c3..89fe36a9 100644 --- a/src/api/resources/accounting/types/TransactionLineItemCurrency.ts +++ b/src/api/resources/accounting/types/TransactionLineItemCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The line item's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type TransactionLineItemCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/VendorCredit.ts b/src/api/resources/accounting/types/VendorCredit.ts index 50e38c3e..5418a939 100644 --- a/src/api/resources/accounting/types/VendorCredit.ts +++ b/src/api/resources/accounting/types/VendorCredit.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The VendorCredit Object + * * ### Description - * A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to *Accounts Payable* Invoices to decrease the overall amount of the Invoice. + * + * A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to _Accounts Payable_ Invoices to decrease the overall amount of the Invoice. * * ### Usage Example + * * Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits. */ export interface VendorCredit { @@ -27,312 +30,312 @@ export interface VendorCredit { /** * The vendor credit's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ currency?: Merge.accounting.VendorCreditCurrency; /** The vendor credit's exchange rate. */ diff --git a/src/api/resources/accounting/types/VendorCreditCurrency.ts b/src/api/resources/accounting/types/VendorCreditCurrency.ts index 1be30c1e..5847354c 100644 --- a/src/api/resources/accounting/types/VendorCreditCurrency.ts +++ b/src/api/resources/accounting/types/VendorCreditCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The vendor credit's currency. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type VendorCreditCurrency = Merge.accounting.CurrencyEnum | string; diff --git a/src/api/resources/accounting/types/VendorCreditLine.ts b/src/api/resources/accounting/types/VendorCreditLine.ts index 621a051f..7d869c70 100644 --- a/src/api/resources/accounting/types/VendorCreditLine.ts +++ b/src/api/resources/accounting/types/VendorCreditLine.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The VendorCreditLine Object + * * ### Description + * * The `VendorCreditLine` object is used to represent a vendor credit's line items. * * ### Usage Example + * * Fetch from the `GET VendorCredit` endpoint and view the vendor credit's line items. */ export interface VendorCreditLine { diff --git a/src/api/resources/accounting/types/index.ts b/src/api/resources/accounting/types/index.ts index d292171d..fdf06f74 100644 --- a/src/api/resources/accounting/types/index.ts +++ b/src/api/resources/accounting/types/index.ts @@ -1,98 +1,63 @@ -export * from "./AccountsListRequestRemoteFields"; -export * from "./AccountsListRequestShowEnumOrigins"; -export * from "./AccountsRetrieveRequestRemoteFields"; -export * from "./AccountsRetrieveRequestShowEnumOrigins"; -export * from "./DataPassthroughRequest"; -export * from "./CompanyInfoListRequestExpand"; -export * from "./CompanyInfoRetrieveRequestExpand"; -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; -export * from "./CreditNotesListRequestExpand"; -export * from "./CreditNotesListRequestRemoteFields"; -export * from "./CreditNotesListRequestShowEnumOrigins"; -export * from "./CreditNotesRetrieveRequestExpand"; -export * from "./CreditNotesRetrieveRequestRemoteFields"; -export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; -export * from "./ExpensesListRequestExpand"; -export * from "./ExpensesRetrieveRequestExpand"; -export * from "./InvoicesListRequestExpand"; -export * from "./InvoicesListRequestType"; -export * from "./InvoicesRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./ItemsListRequestExpand"; -export * from "./ItemsRetrieveRequestExpand"; -export * from "./JournalEntriesListRequestExpand"; -export * from "./JournalEntriesRetrieveRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./PaymentsListRequestExpand"; -export * from "./PaymentsRetrieveRequestExpand"; -export * from "./PurchaseOrdersListRequestExpand"; -export * from "./PurchaseOrdersRetrieveRequestExpand"; -export * from "./TransactionsListRequestExpand"; -export * from "./TransactionsRetrieveRequestExpand"; -export * from "./VendorCreditsListRequestExpand"; -export * from "./VendorCreditsRetrieveRequestExpand"; -export * from "./Account"; export * from "./AccountClassification"; export * from "./AccountStatus"; export * from "./AccountCurrency"; +export * from "./Account"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; -export * from "./AccountRequest"; export * from "./AccountRequestClassification"; export * from "./AccountRequestStatus"; export * from "./AccountRequestCurrency"; +export * from "./AccountRequest"; export * from "./AccountResponse"; export * from "./AccountStatusEnum"; export * from "./AccountToken"; export * from "./AccountingAttachment"; export * from "./AccountingAttachmentRequest"; export * from "./AccountingAttachmentResponse"; -export * from "./AccountingPeriod"; export * from "./AccountingPeriodStatus"; +export * from "./AccountingPeriod"; export * from "./AccountingPeriodStatusEnum"; export * from "./AccountingPhoneNumber"; export * from "./AccountingPhoneNumberRequest"; -export * from "./Address"; export * from "./AddressType"; export * from "./AddressCountry"; -export * from "./AddressRequest"; +export * from "./Address"; export * from "./AddressRequestType"; export * from "./AddressRequestCountry"; +export * from "./AddressRequest"; export * from "./AddressTypeEnum"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./BalanceSheet"; export * from "./BalanceSheetCurrency"; export * from "./BalanceSheetCompany"; -export * from "./CashFlowStatement"; +export * from "./BalanceSheet"; export * from "./CashFlowStatementCurrency"; export * from "./CashFlowStatementCompany"; +export * from "./CashFlowStatement"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CategoryTypeEnum"; export * from "./ClassificationEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./CompanyInfo"; export * from "./CompanyInfoCurrency"; -export * from "./ConditionSchema"; +export * from "./CompanyInfo"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactStatus"; export * from "./ContactAddressesItem"; -export * from "./ContactRequest"; +export * from "./Contact"; export * from "./ContactRequestStatus"; export * from "./ContactRequestAddressesItem"; +export * from "./ContactRequest"; export * from "./ContactResponse"; export * from "./CountryEnum"; -export * from "./CreditNote"; export * from "./CreditNoteStatus"; export * from "./CreditNoteContact"; export * from "./CreditNoteCompany"; @@ -101,50 +66,51 @@ export * from "./CreditNoteCurrency"; export * from "./CreditNotePaymentsItem"; export * from "./CreditNoteAppliedPaymentsItem"; export * from "./CreditNoteAccountingPeriod"; -export * from "./CreditNoteLineItem"; +export * from "./CreditNote"; export * from "./CreditNoteLineItemItem"; export * from "./CreditNoteLineItemCompany"; +export * from "./CreditNoteLineItem"; export * from "./CreditNoteStatusEnum"; export * from "./CurrencyEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; -export * from "./Expense"; export * from "./ExpenseAccount"; export * from "./ExpenseContact"; export * from "./ExpenseCurrency"; export * from "./ExpenseCompany"; export * from "./ExpenseTrackingCategoriesItem"; export * from "./ExpenseAccountingPeriod"; -export * from "./ExpenseLine"; +export * from "./Expense"; export * from "./ExpenseLineItem"; export * from "./ExpenseLineTrackingCategory"; export * from "./ExpenseLineTrackingCategoriesItem"; export * from "./ExpenseLineCurrency"; export * from "./ExpenseLineAccount"; export * from "./ExpenseLineContact"; -export * from "./ExpenseLineRequest"; +export * from "./ExpenseLine"; export * from "./ExpenseLineRequestItem"; export * from "./ExpenseLineRequestTrackingCategory"; export * from "./ExpenseLineRequestTrackingCategoriesItem"; export * from "./ExpenseLineRequestCurrency"; export * from "./ExpenseLineRequestAccount"; export * from "./ExpenseLineRequestContact"; -export * from "./ExpenseRequest"; +export * from "./ExpenseLineRequest"; export * from "./ExpenseRequestAccount"; export * from "./ExpenseRequestContact"; export * from "./ExpenseRequestCurrency"; export * from "./ExpenseRequestCompany"; export * from "./ExpenseRequestTrackingCategoriesItem"; export * from "./ExpenseRequestAccountingPeriod"; +export * from "./ExpenseRequest"; export * from "./ExpenseResponse"; -export * from "./IncomeStatement"; export * from "./IncomeStatementCurrency"; export * from "./IncomeStatementCompany"; -export * from "./Invoice"; +export * from "./IncomeStatement"; export * from "./InvoiceType"; export * from "./InvoiceContact"; export * from "./InvoiceCompany"; @@ -155,19 +121,19 @@ export * from "./InvoicePaymentsItem"; export * from "./InvoiceAppliedPaymentsItem"; export * from "./InvoiceAccountingPeriod"; export * from "./InvoicePurchaseOrdersItem"; -export * from "./InvoiceLineItem"; +export * from "./Invoice"; export * from "./InvoiceLineItemCurrency"; export * from "./InvoiceLineItemItem"; export * from "./InvoiceLineItemAccount"; export * from "./InvoiceLineItemTrackingCategory"; export * from "./InvoiceLineItemTrackingCategoriesItem"; -export * from "./InvoiceLineItemRequest"; +export * from "./InvoiceLineItem"; export * from "./InvoiceLineItemRequestCurrency"; export * from "./InvoiceLineItemRequestItem"; export * from "./InvoiceLineItemRequestAccount"; export * from "./InvoiceLineItemRequestTrackingCategory"; export * from "./InvoiceLineItemRequestTrackingCategoriesItem"; -export * from "./InvoiceRequest"; +export * from "./InvoiceLineItemRequest"; export * from "./InvoiceRequestType"; export * from "./InvoiceRequestContact"; export * from "./InvoiceRequestStatus"; @@ -176,18 +142,18 @@ export * from "./InvoiceRequestCurrency"; export * from "./InvoiceRequestPaymentsItem"; export * from "./InvoiceRequestTrackingCategoriesItem"; export * from "./InvoiceRequestPurchaseOrdersItem"; +export * from "./InvoiceRequest"; export * from "./InvoiceResponse"; export * from "./InvoiceStatusEnum"; export * from "./InvoiceTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; -export * from "./Item"; export * from "./ItemStatus"; export * from "./ItemPurchaseAccount"; export * from "./ItemSalesAccount"; export * from "./ItemCompany"; -export * from "./JournalEntry"; +export * from "./Item"; export * from "./JournalEntryPaymentsItem"; export * from "./JournalEntryAppliedPaymentsItem"; export * from "./JournalEntryCurrency"; @@ -195,23 +161,24 @@ export * from "./JournalEntryCompany"; export * from "./JournalEntryTrackingCategoriesItem"; export * from "./JournalEntryPostingStatus"; export * from "./JournalEntryAccountingPeriod"; -export * from "./JournalEntryRequest"; +export * from "./JournalEntry"; export * from "./JournalEntryRequestPaymentsItem"; export * from "./JournalEntryRequestCurrency"; export * from "./JournalEntryRequestCompany"; export * from "./JournalEntryRequestTrackingCategoriesItem"; export * from "./JournalEntryRequestPostingStatus"; +export * from "./JournalEntryRequest"; export * from "./JournalEntryResponse"; -export * from "./JournalLine"; export * from "./JournalLineAccount"; export * from "./JournalLineTrackingCategory"; export * from "./JournalLineTrackingCategoriesItem"; export * from "./JournalLineCurrency"; -export * from "./JournalLineRequest"; +export * from "./JournalLine"; export * from "./JournalLineRequestAccount"; export * from "./JournalLineRequestTrackingCategory"; export * from "./JournalLineRequestTrackingCategoriesItem"; export * from "./JournalLineRequestCurrency"; +export * from "./JournalLineRequest"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; export * from "./LinkedAccountConditionRequest"; @@ -221,8 +188,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountList"; @@ -248,7 +215,6 @@ export * from "./PaginatedTaxRateList"; export * from "./PaginatedTrackingCategoryList"; export * from "./PaginatedTransactionList"; export * from "./PaginatedVendorCreditList"; -export * from "./Payment"; export * from "./PaymentContact"; export * from "./PaymentAccount"; export * from "./PaymentCurrency"; @@ -256,9 +222,9 @@ export * from "./PaymentCompany"; export * from "./PaymentTrackingCategoriesItem"; export * from "./PaymentAccountingPeriod"; export * from "./PaymentAppliedToLinesItem"; +export * from "./Payment"; export * from "./PaymentLineItem"; export * from "./PaymentLineItemRequest"; -export * from "./PaymentRequest"; export * from "./PaymentRequestContact"; export * from "./PaymentRequestAccount"; export * from "./PaymentRequestCurrency"; @@ -266,9 +232,9 @@ export * from "./PaymentRequestCompany"; export * from "./PaymentRequestTrackingCategoriesItem"; export * from "./PaymentRequestAccountingPeriod"; export * from "./PaymentRequestAppliedToLinesItem"; +export * from "./PaymentRequest"; export * from "./PaymentResponse"; export * from "./PostingStatusEnum"; -export * from "./PurchaseOrder"; export * from "./PurchaseOrderStatus"; export * from "./PurchaseOrderDeliveryAddress"; export * from "./PurchaseOrderVendor"; @@ -276,19 +242,20 @@ export * from "./PurchaseOrderCompany"; export * from "./PurchaseOrderCurrency"; export * from "./PurchaseOrderTrackingCategoriesItem"; export * from "./PurchaseOrderAccountingPeriod"; -export * from "./PurchaseOrderLineItem"; +export * from "./PurchaseOrder"; export * from "./PurchaseOrderLineItemItem"; export * from "./PurchaseOrderLineItemCurrency"; -export * from "./PurchaseOrderLineItemRequest"; +export * from "./PurchaseOrderLineItem"; export * from "./PurchaseOrderLineItemRequestItem"; export * from "./PurchaseOrderLineItemRequestCurrency"; -export * from "./PurchaseOrderRequest"; +export * from "./PurchaseOrderLineItemRequest"; export * from "./PurchaseOrderRequestStatus"; export * from "./PurchaseOrderRequestDeliveryAddress"; export * from "./PurchaseOrderRequestVendor"; export * from "./PurchaseOrderRequestCompany"; export * from "./PurchaseOrderRequestCurrency"; export * from "./PurchaseOrderRequestTrackingCategoriesItem"; +export * from "./PurchaseOrderRequest"; export * from "./PurchaseOrderResponse"; export * from "./PurchaseOrderStatusEnum"; export * from "./RemoteData"; @@ -302,29 +269,29 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./Status7D1Enum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; -export * from "./TaxRate"; export * from "./TaxRateCompany"; -export * from "./TrackingCategory"; +export * from "./TaxRate"; export * from "./TrackingCategoryStatus"; export * from "./TrackingCategoryCategoryType"; export * from "./TrackingCategoryCompany"; -export * from "./Transaction"; +export * from "./TrackingCategory"; export * from "./TransactionAccount"; export * from "./TransactionContact"; export * from "./TransactionCurrency"; export * from "./TransactionTrackingCategoriesItem"; export * from "./TransactionAccountingPeriod"; -export * from "./TransactionLineItem"; +export * from "./Transaction"; export * from "./TransactionLineItemItem"; export * from "./TransactionLineItemCurrency"; +export * from "./TransactionLineItem"; export * from "./ValidationProblemSource"; -export * from "./VendorCredit"; export * from "./VendorCreditVendor"; export * from "./VendorCreditCurrency"; export * from "./VendorCreditCompany"; export * from "./VendorCreditTrackingCategoriesItem"; export * from "./VendorCreditAccountingPeriod"; -export * from "./VendorCreditLine"; +export * from "./VendorCredit"; export * from "./VendorCreditLineAccount"; +export * from "./VendorCreditLine"; export * from "./WarningValidationProblem"; export * from "./WebhookReceiver"; diff --git a/src/api/resources/ats/client/Client.ts b/src/api/resources/ats/client/Client.ts index e35c3898..a444ccb6 100644 --- a/src/api/resources/ats/client/Client.ts +++ b/src/api/resources/ats/client/Client.ts @@ -45,6 +45,7 @@ export declare namespace Ats { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/ats/index.ts b/src/api/resources/ats/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/ats/index.ts +++ b/src/api/resources/ats/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/ats/resources/accountDetails/client/Client.ts b/src/api/resources/ats/resources/accountDetails/client/Client.ts index aea29081..212601c6 100644 --- a/src/api/resources/ats/resources/accountDetails/client/Client.ts +++ b/src/api/resources/ats/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.ats.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/accountToken/client/Client.ts b/src/api/resources/ats/resources/accountToken/client/Client.ts index 15d3da51..0e581c7c 100644 --- a/src/api/resources/ats/resources/accountToken/client/Client.ts +++ b/src/api/resources/ats/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/activities/client/Client.ts b/src/api/resources/ats/resources/activities/client/Client.ts index b5bb7a1e..74a6bf07 100644 --- a/src/api/resources/ats/resources/activities/client/Client.ts +++ b/src/api/resources/ats/resources/activities/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Activities { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Activities { /** * Returns a list of `Activity` objects. + * + * @example + * await merge.ats.activities.list({ + * expand: "user", + * remoteFields: Merge.ats.ActivitiesListRequestRemoteFields.ActivityType, + * showEnumOrigins: Merge.ats.ActivitiesListRequestShowEnumOrigins.ActivityType + * }) */ public async list( request: Merge.ats.ActivitiesListRequest = {}, @@ -47,57 +54,57 @@ export class Activities { showEnumOrigins, userId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (userId != null) { - _queryParams.append("user_id", userId); + _queryParams["user_id"] = userId; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedActivityList.parseOrThrow(_response.body, { @@ -159,13 +167,13 @@ export class Activities { requestOptions?: Activities.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,12 +190,13 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, body: await serializers.ats.ActivityEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.ActivityResponse.parseOrThrow(_response.body, { @@ -222,6 +231,13 @@ export class Activities { /** * Returns an `Activity` object with the given `id`. + * + * @example + * await merge.ats.activities.retrieve("id", { + * expand: "user", + * remoteFields: Merge.ats.ActivitiesRetrieveRequestRemoteFields.ActivityType, + * showEnumOrigins: Merge.ats.ActivitiesRetrieveRequestShowEnumOrigins.ActivityType + * }) */ public async retrieve( id: string, @@ -229,21 +245,21 @@ export class Activities { requestOptions?: Activities.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -260,11 +276,12 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Activity.parseOrThrow(_response.body, { @@ -299,6 +316,9 @@ export class Activities { /** * Returns metadata for `Activity` POSTs. + * + * @example + * await merge.ats.activities.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Activities.RequestOptions): Promise { const _response = await core.fetcher({ @@ -315,10 +335,11 @@ export class Activities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { 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 3a6e6c89..9e70aa58 100644 --- a/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts +++ b/src/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "user", + * remoteFields: Merge.ats.ActivitiesListRequestRemoteFields.ActivityType, + * showEnumOrigins: Merge.ats.ActivitiesListRequestShowEnumOrigins.ActivityType + * } + */ export interface ActivitiesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts b/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts index 4d07323b..59628972 100644 --- a/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "user", + * remoteFields: Merge.ats.ActivitiesRetrieveRequestRemoteFields.ActivityType, + * showEnumOrigins: Merge.ats.ActivitiesRetrieveRequestShowEnumOrigins.ActivityType + * } + */ export interface ActivitiesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/activities/index.ts b/src/api/resources/ats/resources/activities/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/activities/index.ts +++ b/src/api/resources/ats/resources/activities/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/ActivitiesListRequestRemoteFields.ts b/src/api/resources/ats/resources/activities/types/ActivitiesListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ats/types/ActivitiesListRequestRemoteFields.ts rename to src/api/resources/ats/resources/activities/types/ActivitiesListRequestRemoteFields.ts diff --git a/src/api/resources/ats/types/ActivitiesListRequestShowEnumOrigins.ts b/src/api/resources/ats/resources/activities/types/ActivitiesListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ats/types/ActivitiesListRequestShowEnumOrigins.ts rename to src/api/resources/ats/resources/activities/types/ActivitiesListRequestShowEnumOrigins.ts diff --git a/src/api/resources/ats/types/ActivitiesRetrieveRequestRemoteFields.ts b/src/api/resources/ats/resources/activities/types/ActivitiesRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ats/types/ActivitiesRetrieveRequestRemoteFields.ts rename to src/api/resources/ats/resources/activities/types/ActivitiesRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/ats/types/ActivitiesRetrieveRequestShowEnumOrigins.ts b/src/api/resources/ats/resources/activities/types/ActivitiesRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ats/types/ActivitiesRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/ats/resources/activities/types/ActivitiesRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/ats/resources/activities/types/index.ts b/src/api/resources/ats/resources/activities/types/index.ts new file mode 100644 index 00000000..82c34743 --- /dev/null +++ b/src/api/resources/ats/resources/activities/types/index.ts @@ -0,0 +1,4 @@ +export * from "./ActivitiesListRequestRemoteFields"; +export * from "./ActivitiesListRequestShowEnumOrigins"; +export * from "./ActivitiesRetrieveRequestRemoteFields"; +export * from "./ActivitiesRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/ats/resources/applications/client/Client.ts b/src/api/resources/ats/resources/applications/client/Client.ts index 8411dff7..71a3d973 100644 --- a/src/api/resources/ats/resources/applications/client/Client.ts +++ b/src/api/resources/ats/resources/applications/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Applications { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Applications { /** * Returns a list of `Application` objects. + * + * @example + * await merge.ats.applications.list({ + * expand: Merge.ats.ApplicationsListRequestExpand.Candidate + * }) */ public async list( request: Merge.ats.ApplicationsListRequest = {}, @@ -50,69 +55,69 @@ export class Applications { remoteId, source, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (candidateId != null) { - _queryParams.append("candidate_id", candidateId); + _queryParams["candidate_id"] = candidateId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (creditedToId != null) { - _queryParams.append("credited_to_id", creditedToId); + _queryParams["credited_to_id"] = creditedToId; } if (currentStageId != null) { - _queryParams.append("current_stage_id", currentStageId); + _queryParams["current_stage_id"] = currentStageId; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (jobId != null) { - _queryParams.append("job_id", jobId); + _queryParams["job_id"] = jobId; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (rejectReasonId != null) { - _queryParams.append("reject_reason_id", rejectReasonId); + _queryParams["reject_reason_id"] = rejectReasonId; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (source != null) { - _queryParams.append("source", source); + _queryParams["source"] = source; } const _response = await core.fetcher({ @@ -129,11 +134,12 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedApplicationList.parseOrThrow(_response.body, { @@ -174,13 +180,13 @@ export class Applications { requestOptions?: Applications.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -197,7 +203,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -205,6 +211,7 @@ export class Applications { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.ApplicationResponse.parseOrThrow(_response.body, { @@ -239,6 +246,11 @@ export class Applications { /** * Returns an `Application` object with the given `id`. + * + * @example + * await merge.ats.applications.retrieve("id", { + * expand: Merge.ats.ApplicationsRetrieveRequestExpand.Candidate + * }) */ public async retrieve( id: string, @@ -246,13 +258,13 @@ export class Applications { requestOptions?: Applications.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -269,11 +281,12 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Application.parseOrThrow(_response.body, { @@ -308,6 +321,9 @@ export class Applications { /** * Updates the `current_stage` field of an `Application` object + * + * @example + * await merge.ats.applications.changeStageCreate("id", {}) */ public async changeStageCreate( id: string, @@ -315,13 +331,13 @@ export class Applications { requestOptions?: Applications.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -338,7 +354,7 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -346,6 +362,7 @@ export class Applications { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.ApplicationResponse.parseOrThrow(_response.body, { @@ -380,15 +397,18 @@ export class Applications { /** * Returns metadata for `Application` POSTs. + * + * @example + * await merge.ats.applications.metaPostRetrieve({}) */ public async metaPostRetrieve( request: Merge.ats.ApplicationsMetaPostRetrieveRequest = {}, requestOptions?: Applications.RequestOptions ): Promise { const { applicationRemoteTemplateId } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (applicationRemoteTemplateId != null) { - _queryParams.append("application_remote_template_id", applicationRemoteTemplateId); + _queryParams["application_remote_template_id"] = applicationRemoteTemplateId; } const _response = await core.fetcher({ @@ -405,11 +425,12 @@ export class Applications { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { 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 ffe79834..d2f492b4 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.ApplicationsListRequestExpand.Candidate + * } + */ export interface ApplicationsListRequest { /** * If provided, will only return applications for this candidate. diff --git a/src/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.ts b/src/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.ts index 8a9946ce..0000c87e 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface ApplicationsMetaPostRetrieveRequest { /** * The template ID associated with the nested application in the request. diff --git a/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts b/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts index 049595d3..17cb8aeb 100644 --- a/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.ApplicationsRetrieveRequestExpand.Candidate + * } + */ export interface ApplicationsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.ts b/src/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.ts index 551cb521..f27055b3 100644 --- a/src/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.ts +++ b/src/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UpdateApplicationStageRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/ats/resources/applications/index.ts b/src/api/resources/ats/resources/applications/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/applications/index.ts +++ b/src/api/resources/ats/resources/applications/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/ApplicationsListRequestExpand.ts b/src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/ApplicationsListRequestExpand.ts rename to src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts diff --git a/src/api/resources/ats/types/ApplicationsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/ApplicationsRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/resources/applications/types/index.ts b/src/api/resources/ats/resources/applications/types/index.ts new file mode 100644 index 00000000..10d68b6c --- /dev/null +++ b/src/api/resources/ats/resources/applications/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ApplicationsListRequestExpand"; +export * from "./ApplicationsRetrieveRequestExpand"; diff --git a/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts b/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts index 2cfb6f2a..6fbcbe6a 100644 --- a/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/ats/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.ats.asyncPassthrough.create({ + * method: Merge.ats.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.ats.RequestFormatEnum.Json + * }) */ public async create( request: Merge.ats.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/attachments/client/Client.ts b/src/api/resources/ats/resources/attachments/client/Client.ts index 6c06b1cd..bc0612cb 100644 --- a/src/api/resources/ats/resources/attachments/client/Client.ts +++ b/src/api/resources/ats/resources/attachments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Attachments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Attachments { /** * Returns a list of `Attachment` objects. + * + * @example + * await merge.ats.attachments.list({ + * expand: "candidate", + * remoteFields: "attachment_type", + * showEnumOrigins: "attachment_type" + * }) */ public async list( request: Merge.ats.AttachmentsListRequest = {}, @@ -47,57 +54,57 @@ export class Attachments { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (candidateId != null) { - _queryParams.append("candidate_id", candidateId); + _queryParams["candidate_id"] = candidateId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedAttachmentList.parseOrThrow(_response.body, { @@ -159,13 +167,13 @@ export class Attachments { requestOptions?: Attachments.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +190,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +198,7 @@ export class Attachments { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.AttachmentResponse.parseOrThrow(_response.body, { @@ -224,6 +233,13 @@ export class Attachments { /** * Returns an `Attachment` object with the given `id`. + * + * @example + * await merge.ats.attachments.retrieve("id", { + * expand: "candidate", + * remoteFields: "attachment_type", + * showEnumOrigins: "attachment_type" + * }) */ public async retrieve( id: string, @@ -231,21 +247,21 @@ export class Attachments { requestOptions?: Attachments.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -262,11 +278,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Attachment.parseOrThrow(_response.body, { @@ -301,6 +318,9 @@ export class Attachments { /** * Returns metadata for `Attachment` POSTs. + * + * @example + * await merge.ats.attachments.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Attachments.RequestOptions): Promise { const _response = await core.fetcher({ @@ -317,10 +337,11 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { 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 b078d22d..3809c0c3 100644 --- a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "candidate", + * remoteFields: "attachment_type", + * showEnumOrigins: "attachment_type" + * } + */ export interface AttachmentsListRequest { /** * If provided, will only return attachments for this candidate. diff --git a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts index 9f7d326d..46698854 100644 --- a/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "candidate", + * remoteFields: "attachment_type", + * showEnumOrigins: "attachment_type" + * } + */ export interface AttachmentsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/auditTrail/client/Client.ts b/src/api/resources/ats/resources/auditTrail/client/Client.ts index 17e77594..160a2c1c 100644 --- a/src/api/resources/ats/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ats/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.ats.auditTrail.list({}) */ public async list( request: Merge.ats.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ats/resources/availableActions/client/Client.ts b/src/api/resources/ats/resources/availableActions/client/Client.ts index 3bc5e0bc..2e20b162 100644 --- a/src/api/resources/ats/resources/availableActions/client/Client.ts +++ b/src/api/resources/ats/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -42,10 +43,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/candidates/client/Client.ts b/src/api/resources/ats/resources/candidates/client/Client.ts index bd36a055..de5dd2c9 100644 --- a/src/api/resources/ats/resources/candidates/client/Client.ts +++ b/src/api/resources/ats/resources/candidates/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Candidates { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Candidates { /** * Returns a list of `Candidate` objects. + * + * @example + * await merge.ats.candidates.list({ + * expand: Merge.ats.CandidatesListRequestExpand.Applications + * }) */ public async list( request: Merge.ats.CandidatesListRequest = {}, @@ -48,61 +53,61 @@ export class Candidates { remoteId, tags, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (emailAddresses != null) { - _queryParams.append("email_addresses", emailAddresses); + _queryParams["email_addresses"] = emailAddresses; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (firstName != null) { - _queryParams.append("first_name", firstName); + _queryParams["first_name"] = firstName; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (lastName != null) { - _queryParams.append("last_name", lastName); + _queryParams["last_name"] = lastName; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (tags != null) { - _queryParams.append("tags", tags); + _queryParams["tags"] = tags; } const _response = await core.fetcher({ @@ -119,11 +124,12 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedCandidateList.parseOrThrow(_response.body, { @@ -164,13 +170,13 @@ export class Candidates { requestOptions?: Candidates.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -187,7 +193,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -195,6 +201,7 @@ export class Candidates { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.CandidateResponse.parseOrThrow(_response.body, { @@ -229,6 +236,11 @@ export class Candidates { /** * Returns a `Candidate` object with the given `id`. + * + * @example + * await merge.ats.candidates.retrieve("id", { + * expand: Merge.ats.CandidatesRetrieveRequestExpand.Applications + * }) */ public async retrieve( id: string, @@ -236,13 +248,13 @@ export class Candidates { requestOptions?: Candidates.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -259,11 +271,12 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Candidate.parseOrThrow(_response.body, { @@ -305,13 +318,13 @@ export class Candidates { requestOptions?: Candidates.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -328,7 +341,7 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -336,6 +349,7 @@ export class Candidates { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.CandidateResponse.parseOrThrow(_response.body, { @@ -370,6 +384,12 @@ export class Candidates { /** * Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. + * + * @example + * await merge.ats.candidates.ignoreCreate("model-id", { + * reason: Merge.ats.ReasonEnum.GeneralCustomerRequest, + * message: "deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39" + * }) */ public async ignoreCreate( modelId: string, @@ -390,13 +410,14 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; @@ -426,6 +447,9 @@ export class Candidates { /** * Returns metadata for `Candidate` PATCHs. + * + * @example + * await merge.ats.candidates.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -445,10 +469,11 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { @@ -483,6 +508,9 @@ export class Candidates { /** * Returns metadata for `Candidate` POSTs. + * + * @example + * await merge.ats.candidates.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Candidates.RequestOptions): Promise { const _response = await core.fetcher({ @@ -499,10 +527,11 @@ export class Candidates { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { 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 63fff5c9..9099e6ed 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.CandidatesListRequestExpand.Applications + * } + */ export interface CandidatesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts b/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts index 7982a053..fd939a90 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.CandidatesRetrieveRequestExpand.Applications + * } + */ export interface CandidatesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts b/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts index 84467919..ba0089d5 100644 --- a/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts +++ b/src/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.ts @@ -4,6 +4,13 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * reason: Merge.ats.ReasonEnum.GeneralCustomerRequest, + * message: "deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39" + * } + */ export interface IgnoreCommonModelRequest { reason: Merge.ats.ReasonEnum; message?: string; diff --git a/src/api/resources/ats/resources/candidates/index.ts b/src/api/resources/ats/resources/candidates/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/candidates/index.ts +++ b/src/api/resources/ats/resources/candidates/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/CandidatesListRequestExpand.ts b/src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/CandidatesListRequestExpand.ts rename to src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts diff --git a/src/api/resources/ats/types/CandidatesRetrieveRequestExpand.ts b/src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/CandidatesRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/resources/candidates/types/index.ts b/src/api/resources/ats/resources/candidates/types/index.ts new file mode 100644 index 00000000..61344cf8 --- /dev/null +++ b/src/api/resources/ats/resources/candidates/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CandidatesListRequestExpand"; +export * from "./CandidatesRetrieveRequestExpand"; diff --git a/src/api/resources/ats/resources/deleteAccount/client/Client.ts b/src/api/resources/ats/resources/deleteAccount/client/Client.ts index d9d474cc..1903e619 100644 --- a/src/api/resources/ats/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/ats/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.ats.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/ats/resources/departments/client/Client.ts b/src/api/resources/ats/resources/departments/client/Client.ts index ebdc28a0..9c73f1f0 100644 --- a/src/api/resources/ats/resources/departments/client/Client.ts +++ b/src/api/resources/ats/resources/departments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Departments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Departments { /** * Returns a list of `Department` objects. + * + * @example + * await merge.ats.departments.list({}) */ public async list( request: Merge.ats.DepartmentsListRequest = {}, @@ -43,41 +46,41 @@ export class Departments { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Departments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedDepartmentList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Departments { /** * Returns a `Department` object with the given `id`. + * + * @example + * await merge.ats.departments.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Departments { requestOptions?: Departments.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Departments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Department.parseOrThrow(_response.body, { 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 60b023ac..0b1187c1 100644 --- a/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts +++ b/src/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DepartmentsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.ts b/src/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.ts index b03d8a36..9ec2f971 100644 --- a/src/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DepartmentsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ats/resources/eeocs/client/Client.ts b/src/api/resources/ats/resources/eeocs/client/Client.ts index 2de47b58..3ae505b5 100644 --- a/src/api/resources/ats/resources/eeocs/client/Client.ts +++ b/src/api/resources/ats/resources/eeocs/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Eeocs { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Eeocs { /** * Returns a list of `EEOC` objects. + * + * @example + * await merge.ats.eeocs.list({ + * expand: "candidate", + * remoteFields: Merge.ats.EeocsListRequestRemoteFields.DisabilityStatus, + * showEnumOrigins: Merge.ats.EeocsListRequestShowEnumOrigins.DisabilityStatus + * }) */ public async list( request: Merge.ats.EeocsListRequest = {}, @@ -47,57 +54,57 @@ export class Eeocs { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (candidateId != null) { - _queryParams.append("candidate_id", candidateId); + _queryParams["candidate_id"] = candidateId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -114,11 +121,12 @@ export class Eeocs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedEeocList.parseOrThrow(_response.body, { @@ -153,6 +161,13 @@ export class Eeocs { /** * Returns an `EEOC` object with the given `id`. + * + * @example + * await merge.ats.eeocs.retrieve("id", { + * expand: "candidate", + * remoteFields: Merge.ats.EeocsRetrieveRequestRemoteFields.DisabilityStatus, + * showEnumOrigins: Merge.ats.EeocsRetrieveRequestShowEnumOrigins.DisabilityStatus + * }) */ public async retrieve( id: string, @@ -160,21 +175,21 @@ export class Eeocs { requestOptions?: Eeocs.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -191,11 +206,12 @@ export class Eeocs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Eeoc.parseOrThrow(_response.body, { 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 d2bcd652..3e7365dc 100644 --- a/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts +++ b/src/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "candidate", + * remoteFields: Merge.ats.EeocsListRequestRemoteFields.DisabilityStatus, + * showEnumOrigins: Merge.ats.EeocsListRequestShowEnumOrigins.DisabilityStatus + * } + */ export interface EeocsListRequest { /** * If provided, will only return EEOC info for this candidate. diff --git a/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts b/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts index fe6ee689..27e16302 100644 --- a/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "candidate", + * remoteFields: Merge.ats.EeocsRetrieveRequestRemoteFields.DisabilityStatus, + * showEnumOrigins: Merge.ats.EeocsRetrieveRequestShowEnumOrigins.DisabilityStatus + * } + */ export interface EeocsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/eeocs/index.ts b/src/api/resources/ats/resources/eeocs/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/eeocs/index.ts +++ b/src/api/resources/ats/resources/eeocs/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/EeocsListRequestRemoteFields.ts b/src/api/resources/ats/resources/eeocs/types/EeocsListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ats/types/EeocsListRequestRemoteFields.ts rename to src/api/resources/ats/resources/eeocs/types/EeocsListRequestRemoteFields.ts diff --git a/src/api/resources/ats/types/EeocsListRequestShowEnumOrigins.ts b/src/api/resources/ats/resources/eeocs/types/EeocsListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ats/types/EeocsListRequestShowEnumOrigins.ts rename to src/api/resources/ats/resources/eeocs/types/EeocsListRequestShowEnumOrigins.ts diff --git a/src/api/resources/ats/types/EeocsRetrieveRequestRemoteFields.ts b/src/api/resources/ats/resources/eeocs/types/EeocsRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ats/types/EeocsRetrieveRequestRemoteFields.ts rename to src/api/resources/ats/resources/eeocs/types/EeocsRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/ats/types/EeocsRetrieveRequestShowEnumOrigins.ts b/src/api/resources/ats/resources/eeocs/types/EeocsRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ats/types/EeocsRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/ats/resources/eeocs/types/EeocsRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/ats/resources/eeocs/types/index.ts b/src/api/resources/ats/resources/eeocs/types/index.ts new file mode 100644 index 00000000..55f674fd --- /dev/null +++ b/src/api/resources/ats/resources/eeocs/types/index.ts @@ -0,0 +1,4 @@ +export * from "./EeocsListRequestRemoteFields"; +export * from "./EeocsListRequestShowEnumOrigins"; +export * from "./EeocsRetrieveRequestRemoteFields"; +export * from "./EeocsRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/ats/resources/forceResync/client/Client.ts b/src/api/resources/ats/resources/forceResync/client/Client.ts index bbdb9e7a..817e1466 100644 --- a/src/api/resources/ats/resources/forceResync/client/Client.ts +++ b/src/api/resources/ats/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.ats.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate(requestOptions?: ForceResync.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.forceResync.syncStatusResyncCreate.Response.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/generateKey/client/Client.ts b/src/api/resources/ats/resources/generateKey/client/Client.ts index 76a0715c..c556f4b8 100644 --- a/src/api/resources/ats/resources/generateKey/client/Client.ts +++ b/src/api/resources/ats/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.ats.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.ats.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/ats/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/ats/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/ats/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/ats/resources/index.ts b/src/api/resources/ats/resources/index.ts index 7265d8e1..6e84dbe3 100644 --- a/src/api/resources/ats/resources/index.ts +++ b/src/api/resources/ats/resources/index.ts @@ -1,28 +1,38 @@ -export * as accountDetails from "./accountDetails"; -export * as accountToken from "./accountToken"; export * as activities from "./activities"; +export * from "./activities/types"; export * as applications from "./applications"; +export * from "./applications/types"; +export * as candidates from "./candidates"; +export * from "./candidates/types"; +export * as eeocs from "./eeocs"; +export * from "./eeocs/types"; +export * as interviews from "./interviews"; +export * from "./interviews/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as jobs from "./jobs"; +export * from "./jobs/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as offers from "./offers"; +export * from "./offers/types"; +export * as scorecards from "./scorecards"; +export * from "./scorecards/types"; +export * as accountDetails from "./accountDetails"; +export * as accountToken from "./accountToken"; export * as asyncPassthrough from "./asyncPassthrough"; export * as attachments from "./attachments"; export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; -export * as candidates from "./candidates"; export * as deleteAccount from "./deleteAccount"; export * as departments from "./departments"; -export * as eeocs from "./eeocs"; export * as generateKey from "./generateKey"; -export * as interviews from "./interviews"; -export * as issues from "./issues"; export * as jobInterviewStages from "./jobInterviewStages"; -export * as jobs from "./jobs"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; -export * as offers from "./offers"; export * as offices from "./offices"; export * as passthrough from "./passthrough"; export * as regenerateKey from "./regenerateKey"; export * as rejectReasons from "./rejectReasons"; -export * as scorecards from "./scorecards"; export * as selectiveSync from "./selectiveSync"; export * as syncStatus from "./syncStatus"; export * as forceResync from "./forceResync"; diff --git a/src/api/resources/ats/resources/interviews/client/Client.ts b/src/api/resources/ats/resources/interviews/client/Client.ts index 340458db..b8277cd6 100644 --- a/src/api/resources/ats/resources/interviews/client/Client.ts +++ b/src/api/resources/ats/resources/interviews/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Interviews { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Interviews { /** * Returns a list of `ScheduledInterview` objects. + * + * @example + * await merge.ats.interviews.list({ + * expand: Merge.ats.InterviewsListRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.ats.InterviewsListRequest = {}, @@ -50,69 +57,69 @@ export class Interviews { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (applicationId != null) { - _queryParams.append("application_id", applicationId); + _queryParams["application_id"] = applicationId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (jobId != null) { - _queryParams.append("job_id", jobId); + _queryParams["job_id"] = jobId; } if (jobInterviewStageId != null) { - _queryParams.append("job_interview_stage_id", jobInterviewStageId); + _queryParams["job_interview_stage_id"] = jobInterviewStageId; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (organizerId != null) { - _queryParams.append("organizer_id", organizerId); + _queryParams["organizer_id"] = organizerId; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -129,11 +136,12 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedScheduledInterviewList.parseOrThrow(_response.body, { @@ -174,13 +182,13 @@ export class Interviews { requestOptions?: Interviews.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -197,7 +205,7 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -205,6 +213,7 @@ export class Interviews { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.ScheduledInterviewResponse.parseOrThrow(_response.body, { @@ -239,6 +248,13 @@ export class Interviews { /** * Returns a `ScheduledInterview` object with the given `id`. + * + * @example + * await merge.ats.interviews.retrieve("id", { + * expand: Merge.ats.InterviewsRetrieveRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -246,21 +262,21 @@ export class Interviews { requestOptions?: Interviews.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -277,11 +293,12 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.ScheduledInterview.parseOrThrow(_response.body, { @@ -316,6 +333,9 @@ export class Interviews { /** * Returns metadata for `ScheduledInterview` POSTs. + * + * @example + * await merge.ats.interviews.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Interviews.RequestOptions): Promise { const _response = await core.fetcher({ @@ -332,10 +352,11 @@ export class Interviews { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.MetaResponse.parseOrThrow(_response.body, { 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 74aa8a4f..0bddb408 100644 --- a/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts +++ b/src/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.InterviewsListRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface InterviewsListRequest { /** * If provided, will only return interviews for this application. diff --git a/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts b/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts index 15d9a254..283c7ff3 100644 --- a/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.InterviewsRetrieveRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface InterviewsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/interviews/index.ts b/src/api/resources/ats/resources/interviews/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/interviews/index.ts +++ b/src/api/resources/ats/resources/interviews/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/InterviewsListRequestExpand.ts b/src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/InterviewsListRequestExpand.ts rename to src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts diff --git a/src/api/resources/ats/types/InterviewsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/InterviewsRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/resources/interviews/types/index.ts b/src/api/resources/ats/resources/interviews/types/index.ts new file mode 100644 index 00000000..51b55d6c --- /dev/null +++ b/src/api/resources/ats/resources/interviews/types/index.ts @@ -0,0 +1,2 @@ +export * from "./InterviewsListRequestExpand"; +export * from "./InterviewsRetrieveRequestExpand"; diff --git a/src/api/resources/ats/resources/issues/client/Client.ts b/src/api/resources/ats/resources/issues/client/Client.ts index ae1d6558..e1163424 100644 --- a/src/api/resources/ats/resources/issues/client/Client.ts +++ b/src/api/resources/ats/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.ats.issues.list({ + * status: Merge.ats.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.ats.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.ats.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/ats/resources/issues/client/requests/IssuesListRequest.ts index 88d0985a..79594e00 100644 --- a/src/api/resources/ats/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/ats/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.ats.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.ats.IssuesListRequestStatus; } diff --git a/src/api/resources/ats/resources/issues/index.ts b/src/api/resources/ats/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/issues/index.ts +++ b/src/api/resources/ats/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/IssuesListRequestStatus.ts b/src/api/resources/ats/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/ats/types/IssuesListRequestStatus.ts rename to src/api/resources/ats/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/ats/resources/issues/types/index.ts b/src/api/resources/ats/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/ats/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts index 8ede20ae..731a991d 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace JobInterviewStages { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class JobInterviewStages { /** * Returns a list of `JobInterviewStage` objects. + * + * @example + * await merge.ats.jobInterviewStages.list({ + * expand: "job" + * }) */ public async list( request: Merge.ats.JobInterviewStagesListRequest = {}, @@ -45,49 +50,49 @@ export class JobInterviewStages { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (jobId != null) { - _queryParams.append("job_id", jobId); + _queryParams["job_id"] = jobId; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class JobInterviewStages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedJobInterviewStageList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class JobInterviewStages { /** * Returns a `JobInterviewStage` object with the given `id`. + * + * @example + * await merge.ats.jobInterviewStages.retrieve("id", { + * expand: "job" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class JobInterviewStages { requestOptions?: JobInterviewStages.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class JobInterviewStages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.JobInterviewStage.parseOrThrow(_response.body, { 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 60d044ec..c1d8926c 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "job" + * } + */ export interface JobInterviewStagesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts index f4d51c10..9f358011 100644 --- a/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "job" + * } + */ export interface JobInterviewStagesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/jobs/client/Client.ts b/src/api/resources/ats/resources/jobs/client/Client.ts index 0844fc77..5cfb1d41 100644 --- a/src/api/resources/ats/resources/jobs/client/Client.ts +++ b/src/api/resources/ats/resources/jobs/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Jobs { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Jobs { /** * Returns a list of `Job` objects. + * + * @example + * await merge.ats.jobs.list({ + * expand: Merge.ats.JobsListRequestExpand.Departments, + * remoteFields: "status", + * showEnumOrigins: "status", + * status: Merge.ats.JobsListRequestStatus.Archived + * }) */ public async list( request: Merge.ats.JobsListRequest = {}, @@ -49,65 +57,65 @@ export class Jobs { showEnumOrigins, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (code != null) { - _queryParams.append("code", code); + _queryParams["code"] = code; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (offices != null) { - _queryParams.append("offices", offices); + _queryParams["offices"] = offices; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -124,11 +132,12 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedJobList.parseOrThrow(_response.body, { @@ -163,6 +172,13 @@ export class Jobs { /** * Returns a `Job` object with the given `id`. + * + * @example + * await merge.ats.jobs.retrieve("id", { + * expand: Merge.ats.JobsRetrieveRequestExpand.Departments, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -170,21 +186,21 @@ export class Jobs { requestOptions?: Jobs.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -201,11 +217,12 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Job.parseOrThrow(_response.body, { @@ -240,6 +257,11 @@ export class Jobs { /** * Returns a list of `ScreeningQuestion` objects. + * + * @example + * await merge.ats.jobs.screeningQuestionsList("job-id", { + * expand: Merge.ats.JobsScreeningQuestionsListRequestExpand.Job + * }) */ public async screeningQuestionsList( jobId: string, @@ -247,25 +269,25 @@ export class Jobs { requestOptions?: Jobs.RequestOptions ): Promise { const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -282,11 +304,12 @@ export class Jobs { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedScreeningQuestionList.parseOrThrow(_response.body, { 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 122dfdc1..30d3359a 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.JobsListRequestExpand.Departments, + * remoteFields: "status", + * showEnumOrigins: "status", + * status: Merge.ats.JobsListRequestStatus.Archived + * } + */ export interface JobsListRequest { /** * If provided, will only return jobs with this code. @@ -64,11 +73,11 @@ export interface JobsListRequest { /** * If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `DRAFT` - DRAFT - * * `ARCHIVED` - ARCHIVED - * * `PENDING` - PENDING + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `DRAFT` - DRAFT + * - `ARCHIVED` - ARCHIVED + * - `PENDING` - PENDING */ status?: Merge.ats.JobsListRequestStatus; } diff --git a/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts b/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts index 27ec5e6a..9bc571b1 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.JobsRetrieveRequestExpand.Departments, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface JobsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. 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 c459a761..2fd4607e 100644 --- a/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts +++ b/src/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.JobsScreeningQuestionsListRequestExpand.Job + * } + */ export interface JobsScreeningQuestionsListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ats/resources/jobs/index.ts b/src/api/resources/ats/resources/jobs/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/jobs/index.ts +++ b/src/api/resources/ats/resources/jobs/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/JobsListRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/JobsListRequestExpand.ts rename to src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts diff --git a/src/api/resources/ats/types/JobsListRequestStatus.ts b/src/api/resources/ats/resources/jobs/types/JobsListRequestStatus.ts similarity index 100% rename from src/api/resources/ats/types/JobsListRequestStatus.ts rename to src/api/resources/ats/resources/jobs/types/JobsListRequestStatus.ts diff --git a/src/api/resources/ats/types/JobsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/JobsRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/types/JobsScreeningQuestionsListRequestExpand.ts b/src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/JobsScreeningQuestionsListRequestExpand.ts rename to src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts diff --git a/src/api/resources/ats/resources/jobs/types/index.ts b/src/api/resources/ats/resources/jobs/types/index.ts new file mode 100644 index 00000000..ebb23b63 --- /dev/null +++ b/src/api/resources/ats/resources/jobs/types/index.ts @@ -0,0 +1,4 @@ +export * from "./JobsListRequestExpand"; +export * from "./JobsListRequestStatus"; +export * from "./JobsRetrieveRequestExpand"; +export * from "./JobsScreeningQuestionsListRequestExpand"; diff --git a/src/api/resources/ats/resources/linkToken/client/Client.ts b/src/api/resources/ats/resources/linkToken/client/Client.ts index b7181eb1..bb0585dd 100644 --- a/src/api/resources/ats/resources/linkToken/client/Client.ts +++ b/src/api/resources/ats/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,11 +46,12 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts index 43c9adc9..cd3276c3 100644 --- a/src/api/resources/ats/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ats/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.ats.linkedAccounts.list({ + * category: Merge.ats.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.ats.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { 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 75e4c1b0..3ca8597e 100644 --- a/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.ats.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.ats.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/ats/resources/linkedAccounts/index.ts b/src/api/resources/ats/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/linkedAccounts/index.ts +++ b/src/api/resources/ats/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/ats/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/ats/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/ats/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/ats/resources/linkedAccounts/types/index.ts b/src/api/resources/ats/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/ats/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/ats/resources/offers/client/Client.ts b/src/api/resources/ats/resources/offers/client/Client.ts index 9bfe4229..4706a3c1 100644 --- a/src/api/resources/ats/resources/offers/client/Client.ts +++ b/src/api/resources/ats/resources/offers/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Offers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Offers { /** * Returns a list of `Offer` objects. + * + * @example + * await merge.ats.offers.list({ + * expand: Merge.ats.OffersListRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async list( request: Merge.ats.OffersListRequest = {}, @@ -48,61 +55,61 @@ export class Offers { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (applicationId != null) { - _queryParams.append("application_id", applicationId); + _queryParams["application_id"] = applicationId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (creatorId != null) { - _queryParams.append("creator_id", creatorId); + _queryParams["creator_id"] = creatorId; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -119,11 +126,12 @@ export class Offers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedOfferList.parseOrThrow(_response.body, { @@ -158,6 +166,13 @@ export class Offers { /** * Returns an `Offer` object with the given `id`. + * + * @example + * await merge.ats.offers.retrieve("id", { + * expand: Merge.ats.OffersRetrieveRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -165,21 +180,21 @@ export class Offers { requestOptions?: Offers.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -196,11 +211,12 @@ export class Offers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Offer.parseOrThrow(_response.body, { 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 cabd0a4a..b63f9388 100644 --- a/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts +++ b/src/api/resources/ats/resources/offers/client/requests/OffersListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.OffersListRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface OffersListRequest { /** * If provided, will only return offers for this application. diff --git a/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts b/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts index c1c98bea..4072084d 100644 --- a/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts +++ b/src/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.OffersRetrieveRequestExpand.Application, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface OffersRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/offers/index.ts b/src/api/resources/ats/resources/offers/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/offers/index.ts +++ b/src/api/resources/ats/resources/offers/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/OffersListRequestExpand.ts b/src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/OffersListRequestExpand.ts rename to src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts diff --git a/src/api/resources/ats/types/OffersRetrieveRequestExpand.ts b/src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/OffersRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/resources/offers/types/index.ts b/src/api/resources/ats/resources/offers/types/index.ts new file mode 100644 index 00000000..4b81bcdb --- /dev/null +++ b/src/api/resources/ats/resources/offers/types/index.ts @@ -0,0 +1,2 @@ +export * from "./OffersListRequestExpand"; +export * from "./OffersRetrieveRequestExpand"; diff --git a/src/api/resources/ats/resources/offices/client/Client.ts b/src/api/resources/ats/resources/offices/client/Client.ts index 664097fa..919d7dfc 100644 --- a/src/api/resources/ats/resources/offices/client/Client.ts +++ b/src/api/resources/ats/resources/offices/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Offices { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Offices { /** * Returns a list of `Office` objects. + * + * @example + * await merge.ats.offices.list({}) */ public async list( request: Merge.ats.OfficesListRequest = {}, @@ -43,41 +46,41 @@ export class Offices { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Offices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedOfficeList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Offices { /** * Returns an `Office` object with the given `id`. + * + * @example + * await merge.ats.offices.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Offices { requestOptions?: Offices.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Offices { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Office.parseOrThrow(_response.body, { 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 07119ea8..e47d8edc 100644 --- a/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts +++ b/src/api/resources/ats/resources/offices/client/requests/OfficesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface OfficesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.ts b/src/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.ts index 80d210e6..6972f293 100644 --- a/src/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.ts +++ b/src/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface OfficesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ats/resources/passthrough/client/Client.ts b/src/api/resources/ats/resources/passthrough/client/Client.ts index d252253b..ed13c119 100644 --- a/src/api/resources/ats/resources/passthrough/client/Client.ts +++ b/src/api/resources/ats/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/regenerateKey/client/Client.ts b/src/api/resources/ats/resources/regenerateKey/client/Client.ts index 3b56a997..1ac6ce6a 100644 --- a/src/api/resources/ats/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/ats/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.ats.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.ats.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/ats/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/ats/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/ats/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/ats/resources/rejectReasons/client/Client.ts b/src/api/resources/ats/resources/rejectReasons/client/Client.ts index b0f825dd..1caaa67d 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/Client.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace RejectReasons { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class RejectReasons { /** * Returns a list of `RejectReason` objects. + * + * @example + * await merge.ats.rejectReasons.list({}) */ public async list( request: Merge.ats.RejectReasonsListRequest = {}, @@ -43,41 +46,41 @@ export class RejectReasons { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class RejectReasons { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedRejectReasonList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class RejectReasons { /** * Returns a `RejectReason` object with the given `id`. + * + * @example + * await merge.ats.rejectReasons.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class RejectReasons { requestOptions?: RejectReasons.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class RejectReasons { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RejectReason.parseOrThrow(_response.body, { 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 bb369ba2..bad57bc7 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface RejectReasonsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.ts b/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.ts index 2e03dff5..fce7b97b 100644 --- a/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface RejectReasonsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ats/resources/scorecards/client/Client.ts b/src/api/resources/ats/resources/scorecards/client/Client.ts index 3a1a84c5..3dfee070 100644 --- a/src/api/resources/ats/resources/scorecards/client/Client.ts +++ b/src/api/resources/ats/resources/scorecards/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Scorecards { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Scorecards { /** * Returns a list of `Scorecard` objects. + * + * @example + * await merge.ats.scorecards.list({ + * expand: Merge.ats.ScorecardsListRequestExpand.Application, + * remoteFields: "overall_recommendation", + * showEnumOrigins: "overall_recommendation" + * }) */ public async list( request: Merge.ats.ScorecardsListRequest = {}, @@ -49,65 +56,65 @@ export class Scorecards { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (applicationId != null) { - _queryParams.append("application_id", applicationId); + _queryParams["application_id"] = applicationId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (interviewId != null) { - _queryParams.append("interview_id", interviewId); + _queryParams["interview_id"] = interviewId; } if (interviewerId != null) { - _queryParams.append("interviewer_id", interviewerId); + _queryParams["interviewer_id"] = interviewerId; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -124,11 +131,12 @@ export class Scorecards { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedScorecardList.parseOrThrow(_response.body, { @@ -163,6 +171,13 @@ export class Scorecards { /** * Returns a `Scorecard` object with the given `id`. + * + * @example + * await merge.ats.scorecards.retrieve("id", { + * expand: Merge.ats.ScorecardsRetrieveRequestExpand.Application, + * remoteFields: "overall_recommendation", + * showEnumOrigins: "overall_recommendation" + * }) */ public async retrieve( id: string, @@ -170,21 +185,21 @@ export class Scorecards { requestOptions?: Scorecards.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -201,11 +216,12 @@ export class Scorecards { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.Scorecard.parseOrThrow(_response.body, { 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 8d7fde86..5a7ee3ac 100644 --- a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts +++ b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.ScorecardsListRequestExpand.Application, + * remoteFields: "overall_recommendation", + * showEnumOrigins: "overall_recommendation" + * } + */ export interface ScorecardsListRequest { /** * If provided, will only return scorecards for this application. diff --git a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts index 86b6b90d..8cab9854 100644 --- a/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts +++ b/src/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ats.ScorecardsRetrieveRequestExpand.Application, + * remoteFields: "overall_recommendation", + * showEnumOrigins: "overall_recommendation" + * } + */ export interface ScorecardsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ats/resources/scorecards/index.ts b/src/api/resources/ats/resources/scorecards/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ats/resources/scorecards/index.ts +++ b/src/api/resources/ats/resources/scorecards/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ats/types/ScorecardsListRequestExpand.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/ScorecardsListRequestExpand.ts rename to src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts diff --git a/src/api/resources/ats/types/ScorecardsRetrieveRequestExpand.ts b/src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ats/types/ScorecardsRetrieveRequestExpand.ts rename to src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts diff --git a/src/api/resources/ats/resources/scorecards/types/index.ts b/src/api/resources/ats/resources/scorecards/types/index.ts new file mode 100644 index 00000000..abc9dc75 --- /dev/null +++ b/src/api/resources/ats/resources/scorecards/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ScorecardsListRequestExpand"; +export * from "./ScorecardsRetrieveRequestExpand"; diff --git a/src/api/resources/ats/resources/selectiveSync/client/Client.ts b/src/api/resources/ats/resources/selectiveSync/client/Client.ts index 7177ec3b..3bfa155f 100644 --- a/src/api/resources/ats/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/ats/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.ats.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.selectiveSync.configurationsList.Response.parseOrThrow(_response.body, { @@ -83,6 +87,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.ats.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.ats.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -102,13 +113,14 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.selectiveSync.configurationsUpdate.Response.parseOrThrow(_response.body, { @@ -143,23 +155,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.ats.selectiveSync.metaList({}) */ public async metaList( request: Merge.ats.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -176,11 +191,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/ats/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index 15e69686..55c7d49d 100644 --- a/src/api/resources/ats/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/ats/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.ats.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/ats/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/ats/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/ats/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/ats/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/ats/resources/syncStatus/client/Client.ts b/src/api/resources/ats/resources/syncStatus/client/Client.ts index f0b5ae32..6af370d9 100644 --- a/src/api/resources/ats/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ats/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.ats.syncStatus.list({}) */ public async list( request: Merge.ats.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ats/resources/tags/client/Client.ts b/src/api/resources/ats/resources/tags/client/Client.ts index 7a0b80dc..3b1d3d1e 100644 --- a/src/api/resources/ats/resources/tags/client/Client.ts +++ b/src/api/resources/ats/resources/tags/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Tags { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Tags { /** * Returns a list of `Tag` objects. + * + * @example + * await merge.ats.tags.list({}) */ public async list( request: Merge.ats.TagsListRequest = {}, @@ -43,41 +46,41 @@ export class Tags { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedTagList.parseOrThrow(_response.body, { 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 af7e5609..cc01a51e 100644 --- a/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts +++ b/src/api/resources/ats/resources/tags/client/requests/TagsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TagsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/users/client/Client.ts b/src/api/resources/ats/resources/users/client/Client.ts index f45582e4..3843af29 100644 --- a/src/api/resources/ats/resources/users/client/Client.ts +++ b/src/api/resources/ats/resources/users/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Users { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,12 @@ export class Users { /** * Returns a list of `RemoteUser` objects. + * + * @example + * await merge.ats.users.list({ + * remoteFields: "access_role", + * showEnumOrigins: "access_role" + * }) */ public async list( request: Merge.ats.UsersListRequest = {}, @@ -46,53 +52,53 @@ export class Users { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (email != null) { - _queryParams.append("email", email); + _queryParams["email"] = email; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -109,11 +115,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.PaginatedRemoteUserList.parseOrThrow(_response.body, { @@ -148,6 +155,12 @@ export class Users { /** * Returns a `RemoteUser` object with the given `id`. + * + * @example + * await merge.ats.users.retrieve("id", { + * remoteFields: "access_role", + * showEnumOrigins: "access_role" + * }) */ public async retrieve( id: string, @@ -155,17 +168,17 @@ export class Users { requestOptions?: Users.RequestOptions ): Promise { const { includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -182,11 +195,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.RemoteUser.parseOrThrow(_response.body, { 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 ae6ff037..af38f0a5 100644 --- a/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/ats/resources/users/client/requests/UsersListRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "access_role", + * showEnumOrigins: "access_role" + * } + */ export interface UsersListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.ts index 6aacd721..994ce9cf 100644 --- a/src/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.ts +++ b/src/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "access_role", + * showEnumOrigins: "access_role" + * } + */ export interface UsersRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ats/resources/webhookReceivers/client/Client.ts b/src/api/resources/ats/resources/webhookReceivers/client/Client.ts index 57711428..095b571f 100644 --- a/src/api/resources/ats/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/ats/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.ats.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ats.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ats.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/ats/types/AccessRoleEnum.ts b/src/api/resources/ats/types/AccessRoleEnum.ts index 94fa1e63..8a08abd6 100644 --- a/src/api/resources/ats/types/AccessRoleEnum.ts +++ b/src/api/resources/ats/types/AccessRoleEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `SUPER_ADMIN` - SUPER_ADMIN - * * `ADMIN` - ADMIN - * * `TEAM_MEMBER` - TEAM_MEMBER - * * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * * `INTERVIEWER` - INTERVIEWER + * - `SUPER_ADMIN` - SUPER_ADMIN + * - `ADMIN` - ADMIN + * - `TEAM_MEMBER` - TEAM_MEMBER + * - `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER + * - `INTERVIEWER` - INTERVIEWER */ export type AccessRoleEnum = "SUPER_ADMIN" | "ADMIN" | "TEAM_MEMBER" | "LIMITED_TEAM_MEMBER" | "INTERVIEWER"; diff --git a/src/api/resources/ats/types/AccountDetailsAndActions.ts b/src/api/resources/ats/types/AccountDetailsAndActions.ts index 5ff34029..c28999a5 100644 --- a/src/api/resources/ats/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ats/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/ats/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/ats/types/Activity.ts b/src/api/resources/ats/types/Activity.ts index 65e231a9..a0e94b47 100644 --- a/src/api/resources/ats/types/Activity.ts +++ b/src/api/resources/ats/types/Activity.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Activity Object + * * ### Description + * * The `Activity` object is used to represent an activity for a candidate performed by a user. + * * ### Usage Example + * * Fetch from the `LIST Activities` endpoint and filter by `ID` to show all activities. */ export interface Activity { @@ -22,9 +26,9 @@ export interface Activity { /** * The activity's type. * - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER + * - `NOTE` - NOTE + * - `EMAIL` - EMAIL + * - `OTHER` - OTHER */ activityType?: Merge.ats.ActivityActivityType; /** The activity's subject. */ @@ -34,9 +38,9 @@ export interface Activity { /** * The activity's visibility. * - * * `ADMIN_ONLY` - ADMIN_ONLY - * * `PUBLIC` - PUBLIC - * * `PRIVATE` - PRIVATE + * - `ADMIN_ONLY` - ADMIN_ONLY + * - `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE */ visibility?: Merge.ats.ActivityVisibility; /** The activity’s candidate. */ diff --git a/src/api/resources/ats/types/ActivityActivityType.ts b/src/api/resources/ats/types/ActivityActivityType.ts index 2014875a..71af1ffe 100644 --- a/src/api/resources/ats/types/ActivityActivityType.ts +++ b/src/api/resources/ats/types/ActivityActivityType.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The activity's type. * - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER + * - `NOTE` - NOTE + * - `EMAIL` - EMAIL + * - `OTHER` - OTHER */ export type ActivityActivityType = Merge.ats.ActivityTypeEnum | string; diff --git a/src/api/resources/ats/types/ActivityRequest.ts b/src/api/resources/ats/types/ActivityRequest.ts index 28e44580..2bf371d7 100644 --- a/src/api/resources/ats/types/ActivityRequest.ts +++ b/src/api/resources/ats/types/ActivityRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Activity Object + * * ### Description + * * The `Activity` object is used to represent an activity for a candidate performed by a user. + * * ### Usage Example + * * Fetch from the `LIST Activities` endpoint and filter by `ID` to show all activities. */ export interface ActivityRequest { @@ -17,9 +21,9 @@ export interface ActivityRequest { /** * The activity's type. * - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER + * - `NOTE` - NOTE + * - `EMAIL` - EMAIL + * - `OTHER` - OTHER */ activityType?: Merge.ats.ActivityRequestActivityType; /** The activity's subject. */ @@ -29,9 +33,9 @@ export interface ActivityRequest { /** * The activity's visibility. * - * * `ADMIN_ONLY` - ADMIN_ONLY - * * `PUBLIC` - PUBLIC - * * `PRIVATE` - PRIVATE + * - `ADMIN_ONLY` - ADMIN_ONLY + * - `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE */ visibility?: Merge.ats.ActivityRequestVisibility; /** The activity’s candidate. */ diff --git a/src/api/resources/ats/types/ActivityRequestActivityType.ts b/src/api/resources/ats/types/ActivityRequestActivityType.ts index 4067f878..f155b70a 100644 --- a/src/api/resources/ats/types/ActivityRequestActivityType.ts +++ b/src/api/resources/ats/types/ActivityRequestActivityType.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The activity's type. * - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER + * - `NOTE` - NOTE + * - `EMAIL` - EMAIL + * - `OTHER` - OTHER */ export type ActivityRequestActivityType = Merge.ats.ActivityTypeEnum | string; diff --git a/src/api/resources/ats/types/ActivityRequestVisibility.ts b/src/api/resources/ats/types/ActivityRequestVisibility.ts index 4422a7a5..407d90c1 100644 --- a/src/api/resources/ats/types/ActivityRequestVisibility.ts +++ b/src/api/resources/ats/types/ActivityRequestVisibility.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The activity's visibility. * - * * `ADMIN_ONLY` - ADMIN_ONLY - * * `PUBLIC` - PUBLIC - * * `PRIVATE` - PRIVATE + * - `ADMIN_ONLY` - ADMIN_ONLY + * - `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE */ export type ActivityRequestVisibility = Merge.ats.VisibilityEnum | string; diff --git a/src/api/resources/ats/types/ActivityTypeEnum.ts b/src/api/resources/ats/types/ActivityTypeEnum.ts index a8b687e1..b9bf9a45 100644 --- a/src/api/resources/ats/types/ActivityTypeEnum.ts +++ b/src/api/resources/ats/types/ActivityTypeEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `NOTE` - NOTE - * * `EMAIL` - EMAIL - * * `OTHER` - OTHER + * - `NOTE` - NOTE + * - `EMAIL` - EMAIL + * - `OTHER` - OTHER */ export type ActivityTypeEnum = "NOTE" | "EMAIL" | "OTHER"; diff --git a/src/api/resources/ats/types/ActivityVisibility.ts b/src/api/resources/ats/types/ActivityVisibility.ts index 221238c9..d03a8990 100644 --- a/src/api/resources/ats/types/ActivityVisibility.ts +++ b/src/api/resources/ats/types/ActivityVisibility.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The activity's visibility. * - * * `ADMIN_ONLY` - ADMIN_ONLY - * * `PUBLIC` - PUBLIC - * * `PRIVATE` - PRIVATE + * - `ADMIN_ONLY` - ADMIN_ONLY + * - `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE */ export type ActivityVisibility = Merge.ats.VisibilityEnum | string; diff --git a/src/api/resources/ats/types/Application.ts b/src/api/resources/ats/types/Application.ts index e4b394df..4ca25cd2 100644 --- a/src/api/resources/ats/types/Application.ts +++ b/src/api/resources/ats/types/Application.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Application Object + * * ### Description + * * The Application Object is used to represent a candidate's journey through a particular Job's recruiting process. If a Candidate applies for multiple Jobs, there will be a separate Application for each Job if the third-party integration allows it. * * ### Usage Example + * * Fetch from the `LIST Applications` endpoint and filter by `ID` to show all applications. */ export interface Application { diff --git a/src/api/resources/ats/types/ApplicationRequest.ts b/src/api/resources/ats/types/ApplicationRequest.ts index 21a9050b..05f5bece 100644 --- a/src/api/resources/ats/types/ApplicationRequest.ts +++ b/src/api/resources/ats/types/ApplicationRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Application Object + * * ### Description + * * The Application Object is used to represent a candidate's journey through a particular Job's recruiting process. If a Candidate applies for multiple Jobs, there will be a separate Application for each Job if the third-party integration allows it. * * ### Usage Example + * * Fetch from the `LIST Applications` endpoint and filter by `ID` to show all applications. */ export interface ApplicationRequest { diff --git a/src/api/resources/ats/types/Attachment.ts b/src/api/resources/ats/types/Attachment.ts index cbd8ea6f..26abf84a 100644 --- a/src/api/resources/ats/types/Attachment.ts +++ b/src/api/resources/ats/types/Attachment.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Attachment Object + * * ### Description + * * The `Attachment` object is used to represent a file attached to a candidate. + * * ### Usage Example + * * Fetch from the `LIST Attachments` endpoint and view attachments accessible by a company. */ export interface Attachment { @@ -24,10 +28,10 @@ export interface Attachment { /** * The attachment's type. * - * * `RESUME` - RESUME - * * `COVER_LETTER` - COVER_LETTER - * * `OFFER_LETTER` - OFFER_LETTER - * * `OTHER` - OTHER + * - `RESUME` - RESUME + * - `COVER_LETTER` - COVER_LETTER + * - `OFFER_LETTER` - OFFER_LETTER + * - `OTHER` - OTHER */ attachmentType?: Merge.ats.AttachmentAttachmentType; remoteWasDeleted?: boolean; diff --git a/src/api/resources/ats/types/AttachmentAttachmentType.ts b/src/api/resources/ats/types/AttachmentAttachmentType.ts index cf2dcb89..1f69bd30 100644 --- a/src/api/resources/ats/types/AttachmentAttachmentType.ts +++ b/src/api/resources/ats/types/AttachmentAttachmentType.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The attachment's type. * - * * `RESUME` - RESUME - * * `COVER_LETTER` - COVER_LETTER - * * `OFFER_LETTER` - OFFER_LETTER - * * `OTHER` - OTHER + * - `RESUME` - RESUME + * - `COVER_LETTER` - COVER_LETTER + * - `OFFER_LETTER` - OFFER_LETTER + * - `OTHER` - OTHER */ export type AttachmentAttachmentType = Merge.ats.AttachmentTypeEnum | string; diff --git a/src/api/resources/ats/types/AttachmentRequest.ts b/src/api/resources/ats/types/AttachmentRequest.ts index a66984a9..98ac7041 100644 --- a/src/api/resources/ats/types/AttachmentRequest.ts +++ b/src/api/resources/ats/types/AttachmentRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Attachment Object + * * ### Description + * * The `Attachment` object is used to represent a file attached to a candidate. + * * ### Usage Example + * * Fetch from the `LIST Attachments` endpoint and view attachments accessible by a company. */ export interface AttachmentRequest { @@ -21,10 +25,10 @@ export interface AttachmentRequest { /** * The attachment's type. * - * * `RESUME` - RESUME - * * `COVER_LETTER` - COVER_LETTER - * * `OFFER_LETTER` - OFFER_LETTER - * * `OTHER` - OTHER + * - `RESUME` - RESUME + * - `COVER_LETTER` - COVER_LETTER + * - `OFFER_LETTER` - OFFER_LETTER + * - `OTHER` - OTHER */ attachmentType?: Merge.ats.AttachmentRequestAttachmentType; integrationParams?: Record; diff --git a/src/api/resources/ats/types/AttachmentRequestAttachmentType.ts b/src/api/resources/ats/types/AttachmentRequestAttachmentType.ts index ca0b4ea7..fa0a23a2 100644 --- a/src/api/resources/ats/types/AttachmentRequestAttachmentType.ts +++ b/src/api/resources/ats/types/AttachmentRequestAttachmentType.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The attachment's type. * - * * `RESUME` - RESUME - * * `COVER_LETTER` - COVER_LETTER - * * `OFFER_LETTER` - OFFER_LETTER - * * `OTHER` - OTHER + * - `RESUME` - RESUME + * - `COVER_LETTER` - COVER_LETTER + * - `OFFER_LETTER` - OFFER_LETTER + * - `OTHER` - OTHER */ export type AttachmentRequestAttachmentType = Merge.ats.AttachmentTypeEnum | string; diff --git a/src/api/resources/ats/types/AttachmentTypeEnum.ts b/src/api/resources/ats/types/AttachmentTypeEnum.ts index 87f96a82..16ecd822 100644 --- a/src/api/resources/ats/types/AttachmentTypeEnum.ts +++ b/src/api/resources/ats/types/AttachmentTypeEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `RESUME` - RESUME - * * `COVER_LETTER` - COVER_LETTER - * * `OFFER_LETTER` - OFFER_LETTER - * * `OTHER` - OTHER + * - `RESUME` - RESUME + * - `COVER_LETTER` - COVER_LETTER + * - `OFFER_LETTER` - OFFER_LETTER + * - `OTHER` - OTHER */ export type AttachmentTypeEnum = "RESUME" | "COVER_LETTER" | "OFFER_LETTER" | "OTHER"; diff --git a/src/api/resources/ats/types/AuditLogEvent.ts b/src/api/resources/ats/types/AuditLogEvent.ts index 560c791e..ecea60de 100644 --- a/src/api/resources/ats/types/AuditLogEvent.ts +++ b/src/api/resources/ats/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.ats.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.ats.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/ats/types/AuditLogEventEventType.ts b/src/api/resources/ats/types/AuditLogEventEventType.ts index 55578303..1514d952 100644 --- a/src/api/resources/ats/types/AuditLogEventEventType.ts +++ b/src/api/resources/ats/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.ats.EventTypeEnum | string; diff --git a/src/api/resources/ats/types/AuditLogEventRole.ts b/src/api/resources/ats/types/AuditLogEventRole.ts index 34991786..875bbf39 100644 --- a/src/api/resources/ats/types/AuditLogEventRole.ts +++ b/src/api/resources/ats/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.ats.RoleEnum | string; diff --git a/src/api/resources/ats/types/AvailableActions.ts b/src/api/resources/ats/types/AvailableActions.ts index 5a5c1437..0ad3be1f 100644 --- a/src/api/resources/ats/types/AvailableActions.ts +++ b/src/api/resources/ats/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/ats/types/Candidate.ts b/src/api/resources/ats/types/Candidate.ts index f72caefb..15431e3b 100644 --- a/src/api/resources/ats/types/Candidate.ts +++ b/src/api/resources/ats/types/Candidate.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Candidate Object + * * ### Description + * * The `Candidate` object is used to represent profile information about a given Candidate. Because it is specific to a Candidate, this information stays constant across applications. + * * ### Usage Example + * * Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all candidates. */ export interface Candidate { diff --git a/src/api/resources/ats/types/CandidateRequest.ts b/src/api/resources/ats/types/CandidateRequest.ts index 079302e3..0ffdb799 100644 --- a/src/api/resources/ats/types/CandidateRequest.ts +++ b/src/api/resources/ats/types/CandidateRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Candidate Object + * * ### Description + * * The `Candidate` object is used to represent profile information about a given Candidate. Because it is specific to a Candidate, this information stays constant across applications. + * * ### Usage Example + * * Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all candidates. */ export interface CandidateRequest { diff --git a/src/api/resources/ats/types/CategoriesEnum.ts b/src/api/resources/ats/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/ats/types/CategoriesEnum.ts +++ b/src/api/resources/ats/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/ats/types/CategoryEnum.ts b/src/api/resources/ats/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/ats/types/CategoryEnum.ts +++ b/src/api/resources/ats/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/ats/types/ConditionSchema.ts b/src/api/resources/ats/types/ConditionSchema.ts index 7e54eac5..589f9472 100644 --- a/src/api/resources/ats/types/ConditionSchema.ts +++ b/src/api/resources/ats/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.ats.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/ats/types/ConditionSchemaConditionType.ts b/src/api/resources/ats/types/ConditionSchemaConditionType.ts index 4ad06016..39c73c5a 100644 --- a/src/api/resources/ats/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/ats/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.ats.ConditionTypeEnum | string; diff --git a/src/api/resources/ats/types/ConditionTypeEnum.ts b/src/api/resources/ats/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/ats/types/ConditionTypeEnum.ts +++ b/src/api/resources/ats/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/ats/types/DataPassthroughRequest.ts b/src/api/resources/ats/types/DataPassthroughRequest.ts index a510ad2c..dc9ca18b 100644 --- a/src/api/resources/ats/types/DataPassthroughRequest.ts +++ b/src/api/resources/ats/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/ats/types/Department.ts b/src/api/resources/ats/types/Department.ts index e15a0af1..55aeaea7 100644 --- a/src/api/resources/ats/types/Department.ts +++ b/src/api/resources/ats/types/Department.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Department Object + * * ### Description + * * The `Department` object is used to represent a department within a company. + * * ### Usage Example + * * Fetch from the `LIST Departments` endpoint and view the departments within a company. */ export interface Department { diff --git a/src/api/resources/ats/types/DisabilityStatusEnum.ts b/src/api/resources/ats/types/DisabilityStatusEnum.ts index 2b37c305..0080fef4 100644 --- a/src/api/resources/ats/types/DisabilityStatusEnum.ts +++ b/src/api/resources/ats/types/DisabilityStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - * * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY + * - `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY + * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ export type DisabilityStatusEnum = | "YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY" diff --git a/src/api/resources/ats/types/Eeoc.ts b/src/api/resources/ats/types/Eeoc.ts index d2460e9b..14bdef54 100644 --- a/src/api/resources/ats/types/Eeoc.ts +++ b/src/api/resources/ats/types/Eeoc.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The EEOC Object + * * ### Description + * * The `EEOC` object is used to represent the Equal Employment Opportunity Commission information for a candidate (race, gender, veteran status, disability status). + * * ### Usage Example + * * Fetch from the `LIST EEOCs` endpoint and filter by `candidate` to show all EEOC information for a candidate. */ export interface Eeoc { @@ -22,40 +26,40 @@ export interface Eeoc { /** * The candidate's race. * - * * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - * * `ASIAN` - ASIAN - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `WHITE` - WHITE - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE + * - `ASIAN` - ASIAN + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `WHITE` - WHITE + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ race?: Merge.ats.EeocRace; /** * The candidate's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ gender?: Merge.ats.EeocGender; /** * The candidate's veteran status. * - * * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - * * `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN + * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN + * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ veteranStatus?: Merge.ats.EeocVeteranStatus; /** * The candidate's disability status. * - * * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - * * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY + * - `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY + * - `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. */ diff --git a/src/api/resources/ats/types/EeocDisabilityStatus.ts b/src/api/resources/ats/types/EeocDisabilityStatus.ts index 2017221a..9244b016 100644 --- a/src/api/resources/ats/types/EeocDisabilityStatus.ts +++ b/src/api/resources/ats/types/EeocDisabilityStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The candidate's disability status. * - * * `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY - * * `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY` - YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY + * - `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY + * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ export type EeocDisabilityStatus = Merge.ats.DisabilityStatusEnum | string; diff --git a/src/api/resources/ats/types/EeocGender.ts b/src/api/resources/ats/types/EeocGender.ts index 9e12b027..36f2254c 100644 --- a/src/api/resources/ats/types/EeocGender.ts +++ b/src/api/resources/ats/types/EeocGender.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The candidate's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ export type EeocGender = Merge.ats.GenderEnum | string; diff --git a/src/api/resources/ats/types/EeocRace.ts b/src/api/resources/ats/types/EeocRace.ts index d914cdab..20a01c18 100644 --- a/src/api/resources/ats/types/EeocRace.ts +++ b/src/api/resources/ats/types/EeocRace.ts @@ -7,13 +7,13 @@ import * as Merge from "../../.."; /** * The candidate's race. * - * * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - * * `ASIAN` - ASIAN - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `WHITE` - WHITE - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE + * - `ASIAN` - ASIAN + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `WHITE` - WHITE + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ export type EeocRace = Merge.ats.RaceEnum | string; diff --git a/src/api/resources/ats/types/EeocVeteranStatus.ts b/src/api/resources/ats/types/EeocVeteranStatus.ts index b157d0ea..e653db44 100644 --- a/src/api/resources/ats/types/EeocVeteranStatus.ts +++ b/src/api/resources/ats/types/EeocVeteranStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The candidate's veteran status. * - * * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - * * `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN + * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN + * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ export type EeocVeteranStatus = Merge.ats.VeteranStatusEnum | string; diff --git a/src/api/resources/ats/types/EmailAddress.ts b/src/api/resources/ats/types/EmailAddress.ts index ec4cf92c..fab59306 100644 --- a/src/api/resources/ats/types/EmailAddress.ts +++ b/src/api/resources/ats/types/EmailAddress.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The EmailAddress Object + * * ### Description + * * The `EmailAddress` object is used to represent a candidate's email address. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their email addresses. */ export interface EmailAddress { @@ -17,9 +21,9 @@ export interface EmailAddress { /** * The type of email address. * - * * `PERSONAL` - PERSONAL - * * `WORK` - WORK - * * `OTHER` - OTHER + * - `PERSONAL` - PERSONAL + * - `WORK` - WORK + * - `OTHER` - OTHER */ emailAddressType?: Merge.ats.EmailAddressEmailAddressType; createdAt?: Date; diff --git a/src/api/resources/ats/types/EmailAddressEmailAddressType.ts b/src/api/resources/ats/types/EmailAddressEmailAddressType.ts index 01fe640a..d00e1c08 100644 --- a/src/api/resources/ats/types/EmailAddressEmailAddressType.ts +++ b/src/api/resources/ats/types/EmailAddressEmailAddressType.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The type of email address. * - * * `PERSONAL` - PERSONAL - * * `WORK` - WORK - * * `OTHER` - OTHER + * - `PERSONAL` - PERSONAL + * - `WORK` - WORK + * - `OTHER` - OTHER */ export type EmailAddressEmailAddressType = Merge.ats.EmailAddressTypeEnum | string; diff --git a/src/api/resources/ats/types/EmailAddressRequest.ts b/src/api/resources/ats/types/EmailAddressRequest.ts index 55237675..c0ef8a9f 100644 --- a/src/api/resources/ats/types/EmailAddressRequest.ts +++ b/src/api/resources/ats/types/EmailAddressRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The EmailAddress Object + * * ### Description + * * The `EmailAddress` object is used to represent a candidate's email address. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their email addresses. */ export interface EmailAddressRequest { @@ -17,9 +21,9 @@ export interface EmailAddressRequest { /** * The type of email address. * - * * `PERSONAL` - PERSONAL - * * `WORK` - WORK - * * `OTHER` - OTHER + * - `PERSONAL` - PERSONAL + * - `WORK` - WORK + * - `OTHER` - OTHER */ emailAddressType?: Merge.ats.EmailAddressRequestEmailAddressType; integrationParams?: Record; diff --git a/src/api/resources/ats/types/EmailAddressRequestEmailAddressType.ts b/src/api/resources/ats/types/EmailAddressRequestEmailAddressType.ts index 3b9eec38..ffd71b01 100644 --- a/src/api/resources/ats/types/EmailAddressRequestEmailAddressType.ts +++ b/src/api/resources/ats/types/EmailAddressRequestEmailAddressType.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The type of email address. * - * * `PERSONAL` - PERSONAL - * * `WORK` - WORK - * * `OTHER` - OTHER + * - `PERSONAL` - PERSONAL + * - `WORK` - WORK + * - `OTHER` - OTHER */ export type EmailAddressRequestEmailAddressType = Merge.ats.EmailAddressTypeEnum | string; diff --git a/src/api/resources/ats/types/EmailAddressTypeEnum.ts b/src/api/resources/ats/types/EmailAddressTypeEnum.ts index 90c85e8c..bae18766 100644 --- a/src/api/resources/ats/types/EmailAddressTypeEnum.ts +++ b/src/api/resources/ats/types/EmailAddressTypeEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `PERSONAL` - PERSONAL - * * `WORK` - WORK - * * `OTHER` - OTHER + * - `PERSONAL` - PERSONAL + * - `WORK` - WORK + * - `OTHER` - OTHER */ export type EmailAddressTypeEnum = "PERSONAL" | "WORK" | "OTHER"; diff --git a/src/api/resources/ats/types/EnabledActionsEnum.ts b/src/api/resources/ats/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/ats/types/EnabledActionsEnum.ts +++ b/src/api/resources/ats/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/ats/types/EncodingEnum.ts b/src/api/resources/ats/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/ats/types/EncodingEnum.ts +++ b/src/api/resources/ats/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/ats/types/EventTypeEnum.ts b/src/api/resources/ats/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/ats/types/EventTypeEnum.ts +++ b/src/api/resources/ats/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/ats/types/GenderEnum.ts b/src/api/resources/ats/types/GenderEnum.ts index 0d338595..5e9ed19c 100644 --- a/src/api/resources/ats/types/GenderEnum.ts +++ b/src/api/resources/ats/types/GenderEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ export type GenderEnum = "MALE" | "FEMALE" | "NON-BINARY" | "OTHER" | "DECLINE_TO_SELF_IDENTIFY"; diff --git a/src/api/resources/ats/types/Issue.ts b/src/api/resources/ats/types/Issue.ts index fc007fda..3d36c560 100644 --- a/src/api/resources/ats/types/Issue.ts +++ b/src/api/resources/ats/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.ats.IssueStatus; errorDescription: string; diff --git a/src/api/resources/ats/types/IssueStatus.ts b/src/api/resources/ats/types/IssueStatus.ts index 83d33a6a..1e587c48 100644 --- a/src/api/resources/ats/types/IssueStatus.ts +++ b/src/api/resources/ats/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.ats.IssueStatusEnum | string; diff --git a/src/api/resources/ats/types/IssueStatusEnum.ts b/src/api/resources/ats/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/ats/types/IssueStatusEnum.ts +++ b/src/api/resources/ats/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/ats/types/Job.ts b/src/api/resources/ats/types/Job.ts index 854973a9..1bbd5ca7 100644 --- a/src/api/resources/ats/types/Job.ts +++ b/src/api/resources/ats/types/Job.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Job Object + * * ### Description + * * The `Job` object can be used to track any jobs that are currently or will be open/closed for applications. + * * ### Usage Example + * * Fetch from the `LIST Jobs` endpoint to show all job postings. */ export interface Job { @@ -24,11 +28,11 @@ export interface Job { /** * The job's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `DRAFT` - DRAFT - * * `ARCHIVED` - ARCHIVED - * * `PENDING` - PENDING + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `DRAFT` - DRAFT + * - `ARCHIVED` - ARCHIVED + * - `PENDING` - PENDING */ status?: Merge.ats.JobStatus; jobPostingUrls?: Merge.ats.Url[]; diff --git a/src/api/resources/ats/types/JobInterviewStage.ts b/src/api/resources/ats/types/JobInterviewStage.ts index a46ce124..7f7e0912 100644 --- a/src/api/resources/ats/types/JobInterviewStage.ts +++ b/src/api/resources/ats/types/JobInterviewStage.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The JobInterviewStage Object + * * ### Description + * * The `JobInterviewStage` object is used to represent a particular recruiting stage for an `Application`. A given `Application` typically has the `JobInterviewStage` object represented in the current_stage field. + * * ### Usage Example + * * Fetch from the `LIST JobInterviewStages` endpoint and view the job interview stages used by a company. */ export interface JobInterviewStage { diff --git a/src/api/resources/ats/types/JobStatus.ts b/src/api/resources/ats/types/JobStatus.ts index af919ebd..679a4257 100644 --- a/src/api/resources/ats/types/JobStatus.ts +++ b/src/api/resources/ats/types/JobStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The job's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `DRAFT` - DRAFT - * * `ARCHIVED` - ARCHIVED - * * `PENDING` - PENDING + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `DRAFT` - DRAFT + * - `ARCHIVED` - ARCHIVED + * - `PENDING` - PENDING */ export type JobStatus = Merge.ats.JobStatusEnum | string; diff --git a/src/api/resources/ats/types/JobStatusEnum.ts b/src/api/resources/ats/types/JobStatusEnum.ts index b7090e7b..85845326 100644 --- a/src/api/resources/ats/types/JobStatusEnum.ts +++ b/src/api/resources/ats/types/JobStatusEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `DRAFT` - DRAFT - * * `ARCHIVED` - ARCHIVED - * * `PENDING` - PENDING + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `DRAFT` - DRAFT + * - `ARCHIVED` - ARCHIVED + * - `PENDING` - PENDING */ export type JobStatusEnum = "OPEN" | "CLOSED" | "DRAFT" | "ARCHIVED" | "PENDING"; diff --git a/src/api/resources/ats/types/LinkedAccountCondition.ts b/src/api/resources/ats/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/ats/types/LinkedAccountCondition.ts +++ b/src/api/resources/ats/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/ats/types/MethodEnum.ts b/src/api/resources/ats/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/ats/types/MethodEnum.ts +++ b/src/api/resources/ats/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/ats/types/ModelOperation.ts b/src/api/resources/ats/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/ats/types/ModelOperation.ts +++ b/src/api/resources/ats/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/ats/types/MultipartFormFieldRequest.ts b/src/api/resources/ats/types/MultipartFormFieldRequest.ts index 68996dce..e9af7924 100644 --- a/src/api/resources/ats/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/ats/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.ats.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/ats/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/ats/types/MultipartFormFieldRequestEncoding.ts index 395ce7cf..40430f27 100644 --- a/src/api/resources/ats/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/ats/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.ats.EncodingEnum | string; diff --git a/src/api/resources/ats/types/Offer.ts b/src/api/resources/ats/types/Offer.ts index 4c1894e5..b88af230 100644 --- a/src/api/resources/ats/types/Offer.ts +++ b/src/api/resources/ats/types/Offer.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Offer Object + * * ### Description + * * The `Offer` object is used to represent an offer for a candidate's application specific to a job. + * * ### Usage Example + * * Fetch from the `LIST Offers` endpoint and filter by `ID` to show all offers. */ export interface Offer { @@ -30,15 +34,15 @@ export interface Offer { /** * The offer's status. * - * * `DRAFT` - DRAFT - * * `APPROVAL-SENT` - APPROVAL-SENT - * * `APPROVED` - APPROVED - * * `SENT` - SENT - * * `SENT-MANUALLY` - SENT-MANUALLY - * * `OPENED` - OPENED - * * `DENIED` - DENIED - * * `SIGNED` - SIGNED - * * `DEPRECATED` - DEPRECATED + * - `DRAFT` - DRAFT + * - `APPROVAL-SENT` - APPROVAL-SENT + * - `APPROVED` - APPROVED + * - `SENT` - SENT + * - `SENT-MANUALLY` - SENT-MANUALLY + * - `OPENED` - OPENED + * - `DENIED` - DENIED + * - `SIGNED` - SIGNED + * - `DEPRECATED` - DEPRECATED */ status?: Merge.ats.OfferStatus; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/ats/types/OfferStatus.ts b/src/api/resources/ats/types/OfferStatus.ts index b97aa6e0..fd893c42 100644 --- a/src/api/resources/ats/types/OfferStatus.ts +++ b/src/api/resources/ats/types/OfferStatus.ts @@ -7,14 +7,14 @@ import * as Merge from "../../.."; /** * The offer's status. * - * * `DRAFT` - DRAFT - * * `APPROVAL-SENT` - APPROVAL-SENT - * * `APPROVED` - APPROVED - * * `SENT` - SENT - * * `SENT-MANUALLY` - SENT-MANUALLY - * * `OPENED` - OPENED - * * `DENIED` - DENIED - * * `SIGNED` - SIGNED - * * `DEPRECATED` - DEPRECATED + * - `DRAFT` - DRAFT + * - `APPROVAL-SENT` - APPROVAL-SENT + * - `APPROVED` - APPROVED + * - `SENT` - SENT + * - `SENT-MANUALLY` - SENT-MANUALLY + * - `OPENED` - OPENED + * - `DENIED` - DENIED + * - `SIGNED` - SIGNED + * - `DEPRECATED` - DEPRECATED */ export type OfferStatus = Merge.ats.OfferStatusEnum | string; diff --git a/src/api/resources/ats/types/OfferStatusEnum.ts b/src/api/resources/ats/types/OfferStatusEnum.ts index 32c76dcf..ca265ec8 100644 --- a/src/api/resources/ats/types/OfferStatusEnum.ts +++ b/src/api/resources/ats/types/OfferStatusEnum.ts @@ -3,15 +3,15 @@ */ /** - * * `DRAFT` - DRAFT - * * `APPROVAL-SENT` - APPROVAL-SENT - * * `APPROVED` - APPROVED - * * `SENT` - SENT - * * `SENT-MANUALLY` - SENT-MANUALLY - * * `OPENED` - OPENED - * * `DENIED` - DENIED - * * `SIGNED` - SIGNED - * * `DEPRECATED` - DEPRECATED + * - `DRAFT` - DRAFT + * - `APPROVAL-SENT` - APPROVAL-SENT + * - `APPROVED` - APPROVED + * - `SENT` - SENT + * - `SENT-MANUALLY` - SENT-MANUALLY + * - `OPENED` - OPENED + * - `DENIED` - DENIED + * - `SIGNED` - SIGNED + * - `DEPRECATED` - DEPRECATED */ export type OfferStatusEnum = | "DRAFT" diff --git a/src/api/resources/ats/types/Office.ts b/src/api/resources/ats/types/Office.ts index 71e7ccd2..4bea67f3 100644 --- a/src/api/resources/ats/types/Office.ts +++ b/src/api/resources/ats/types/Office.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Office Object + * * ### Description + * * The `Office` object is used to represent an office within a company. A given `Job` has the `Office` ID in its offices field. + * * ### Usage Example + * * Fetch from the `LIST Offices` endpoint and view the offices within a company. */ export interface Office { diff --git a/src/api/resources/ats/types/OverallRecommendationEnum.ts b/src/api/resources/ats/types/OverallRecommendationEnum.ts index b4a8e75c..3d0b53e3 100644 --- a/src/api/resources/ats/types/OverallRecommendationEnum.ts +++ b/src/api/resources/ats/types/OverallRecommendationEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `DEFINITELY_NO` - DEFINITELY_NO - * * `NO` - NO - * * `YES` - YES - * * `STRONG_YES` - STRONG_YES - * * `NO_DECISION` - NO_DECISION + * - `DEFINITELY_NO` - DEFINITELY_NO + * - `NO` - NO + * - `YES` - YES + * - `STRONG_YES` - STRONG_YES + * - `NO_DECISION` - NO_DECISION */ export type OverallRecommendationEnum = "DEFINITELY_NO" | "NO" | "YES" | "STRONG_YES" | "NO_DECISION"; diff --git a/src/api/resources/ats/types/PatchedCandidateRequest.ts b/src/api/resources/ats/types/PatchedCandidateRequest.ts index 72974618..3c331a67 100644 --- a/src/api/resources/ats/types/PatchedCandidateRequest.ts +++ b/src/api/resources/ats/types/PatchedCandidateRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Candidate Object + * * ### Description + * * The `Candidate` object is used to represent profile information about a given Candidate. Because it is specific to a Candidate, this information stays constant across applications. + * * ### Usage Example + * * Fetch from the `LIST Candidates` endpoint and filter by `ID` to show all candidates. */ export interface PatchedCandidateRequest { diff --git a/src/api/resources/ats/types/PhoneNumber.ts b/src/api/resources/ats/types/PhoneNumber.ts index 5ad22eda..cb04fe2d 100644 --- a/src/api/resources/ats/types/PhoneNumber.ts +++ b/src/api/resources/ats/types/PhoneNumber.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The PhoneNumber Object + * * ### Description + * * The `PhoneNumber` object is used to represent a candidate's phone number. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their phone numbers. */ export interface PhoneNumber { @@ -17,11 +21,11 @@ export interface PhoneNumber { /** * The type of phone number. * - * * `HOME` - HOME - * * `WORK` - WORK - * * `MOBILE` - MOBILE - * * `SKYPE` - SKYPE - * * `OTHER` - OTHER + * - `HOME` - HOME + * - `WORK` - WORK + * - `MOBILE` - MOBILE + * - `SKYPE` - SKYPE + * - `OTHER` - OTHER */ phoneNumberType?: Merge.ats.PhoneNumberPhoneNumberType; createdAt?: Date; diff --git a/src/api/resources/ats/types/PhoneNumberPhoneNumberType.ts b/src/api/resources/ats/types/PhoneNumberPhoneNumberType.ts index ba96730c..12f7f590 100644 --- a/src/api/resources/ats/types/PhoneNumberPhoneNumberType.ts +++ b/src/api/resources/ats/types/PhoneNumberPhoneNumberType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The type of phone number. * - * * `HOME` - HOME - * * `WORK` - WORK - * * `MOBILE` - MOBILE - * * `SKYPE` - SKYPE - * * `OTHER` - OTHER + * - `HOME` - HOME + * - `WORK` - WORK + * - `MOBILE` - MOBILE + * - `SKYPE` - SKYPE + * - `OTHER` - OTHER */ export type PhoneNumberPhoneNumberType = Merge.ats.PhoneNumberTypeEnum | string; diff --git a/src/api/resources/ats/types/PhoneNumberRequest.ts b/src/api/resources/ats/types/PhoneNumberRequest.ts index 49395746..6dd61551 100644 --- a/src/api/resources/ats/types/PhoneNumberRequest.ts +++ b/src/api/resources/ats/types/PhoneNumberRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The PhoneNumber Object + * * ### Description + * * The `PhoneNumber` object is used to represent a candidate's phone number. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their phone numbers. */ export interface PhoneNumberRequest { @@ -17,11 +21,11 @@ export interface PhoneNumberRequest { /** * The type of phone number. * - * * `HOME` - HOME - * * `WORK` - WORK - * * `MOBILE` - MOBILE - * * `SKYPE` - SKYPE - * * `OTHER` - OTHER + * - `HOME` - HOME + * - `WORK` - WORK + * - `MOBILE` - MOBILE + * - `SKYPE` - SKYPE + * - `OTHER` - OTHER */ phoneNumberType?: Merge.ats.PhoneNumberRequestPhoneNumberType; integrationParams?: Record; diff --git a/src/api/resources/ats/types/PhoneNumberRequestPhoneNumberType.ts b/src/api/resources/ats/types/PhoneNumberRequestPhoneNumberType.ts index a57ebabc..37892087 100644 --- a/src/api/resources/ats/types/PhoneNumberRequestPhoneNumberType.ts +++ b/src/api/resources/ats/types/PhoneNumberRequestPhoneNumberType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The type of phone number. * - * * `HOME` - HOME - * * `WORK` - WORK - * * `MOBILE` - MOBILE - * * `SKYPE` - SKYPE - * * `OTHER` - OTHER + * - `HOME` - HOME + * - `WORK` - WORK + * - `MOBILE` - MOBILE + * - `SKYPE` - SKYPE + * - `OTHER` - OTHER */ export type PhoneNumberRequestPhoneNumberType = Merge.ats.PhoneNumberTypeEnum | string; diff --git a/src/api/resources/ats/types/PhoneNumberTypeEnum.ts b/src/api/resources/ats/types/PhoneNumberTypeEnum.ts index 44ba0b36..dbd9cd8f 100644 --- a/src/api/resources/ats/types/PhoneNumberTypeEnum.ts +++ b/src/api/resources/ats/types/PhoneNumberTypeEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `HOME` - HOME - * * `WORK` - WORK - * * `MOBILE` - MOBILE - * * `SKYPE` - SKYPE - * * `OTHER` - OTHER + * - `HOME` - HOME + * - `WORK` - WORK + * - `MOBILE` - MOBILE + * - `SKYPE` - SKYPE + * - `OTHER` - OTHER */ export type PhoneNumberTypeEnum = "HOME" | "WORK" | "MOBILE" | "SKYPE" | "OTHER"; diff --git a/src/api/resources/ats/types/RaceEnum.ts b/src/api/resources/ats/types/RaceEnum.ts index 4809e3f6..5f94cd93 100644 --- a/src/api/resources/ats/types/RaceEnum.ts +++ b/src/api/resources/ats/types/RaceEnum.ts @@ -3,14 +3,14 @@ */ /** - * * `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE - * * `ASIAN` - ASIAN - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `WHITE` - WHITE - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY + * - `AMERICAN_INDIAN_OR_ALASKAN_NATIVE` - AMERICAN_INDIAN_OR_ALASKAN_NATIVE + * - `ASIAN` - ASIAN + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `WHITE` - WHITE + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `DECLINE_TO_SELF_IDENTIFY` - DECLINE_TO_SELF_IDENTIFY */ export type RaceEnum = | "AMERICAN_INDIAN_OR_ALASKAN_NATIVE" diff --git a/src/api/resources/ats/types/ReasonEnum.ts b/src/api/resources/ats/types/ReasonEnum.ts index 13acd38b..28995e0a 100644 --- a/src/api/resources/ats/types/ReasonEnum.ts +++ b/src/api/resources/ats/types/ReasonEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * * `GDPR` - GDPR - * * `OTHER` - OTHER + * - `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST + * - `GDPR` - GDPR + * - `OTHER` - OTHER */ export type ReasonEnum = "GENERAL_CUSTOMER_REQUEST" | "GDPR" | "OTHER"; diff --git a/src/api/resources/ats/types/RejectReason.ts b/src/api/resources/ats/types/RejectReason.ts index 3e1de00e..01506b71 100644 --- a/src/api/resources/ats/types/RejectReason.ts +++ b/src/api/resources/ats/types/RejectReason.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The RejectReason Object + * * ### Description + * * The `RejectReason` object is used to represent a reason for rejecting an application. These can typically be configured within an ATS system. + * * ### Usage Example + * * Fetch from the `LIST RejectReasons` endpoint and filter by `ID` to show all reasons. */ export interface RejectReason { diff --git a/src/api/resources/ats/types/RemoteKey.ts b/src/api/resources/ats/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/ats/types/RemoteKey.ts +++ b/src/api/resources/ats/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/ats/types/RemoteResponse.ts b/src/api/resources/ats/types/RemoteResponse.ts index f7cc62f7..110cd0e4 100644 --- a/src/api/resources/ats/types/RemoteResponse.ts +++ b/src/api/resources/ats/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/ats/types/RemoteUser.ts b/src/api/resources/ats/types/RemoteUser.ts index 783b60da..5fe14eb5 100644 --- a/src/api/resources/ats/types/RemoteUser.ts +++ b/src/api/resources/ats/types/RemoteUser.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteUser Object + * * ### Description + * * The `RemoteUser` object is used to represent a user with a login to the ATS system. + * * ### Usage Example + * * Fetch from the `LIST RemoteUsers` endpoint to show all users for a third party. */ export interface RemoteUser { @@ -28,11 +32,11 @@ export interface RemoteUser { /** * The user's role. * - * * `SUPER_ADMIN` - SUPER_ADMIN - * * `ADMIN` - ADMIN - * * `TEAM_MEMBER` - TEAM_MEMBER - * * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * * `INTERVIEWER` - INTERVIEWER + * - `SUPER_ADMIN` - SUPER_ADMIN + * - `ADMIN` - ADMIN + * - `TEAM_MEMBER` - TEAM_MEMBER + * - `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER + * - `INTERVIEWER` - INTERVIEWER */ accessRole?: Merge.ats.RemoteUserAccessRole; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/ats/types/RemoteUserAccessRole.ts b/src/api/resources/ats/types/RemoteUserAccessRole.ts index a09603aa..f9d05845 100644 --- a/src/api/resources/ats/types/RemoteUserAccessRole.ts +++ b/src/api/resources/ats/types/RemoteUserAccessRole.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The user's role. * - * * `SUPER_ADMIN` - SUPER_ADMIN - * * `ADMIN` - ADMIN - * * `TEAM_MEMBER` - TEAM_MEMBER - * * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER - * * `INTERVIEWER` - INTERVIEWER + * - `SUPER_ADMIN` - SUPER_ADMIN + * - `ADMIN` - ADMIN + * - `TEAM_MEMBER` - TEAM_MEMBER + * - `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER + * - `INTERVIEWER` - INTERVIEWER */ export type RemoteUserAccessRole = Merge.ats.AccessRoleEnum | string; diff --git a/src/api/resources/ats/types/RequestFormatEnum.ts b/src/api/resources/ats/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/ats/types/RequestFormatEnum.ts +++ b/src/api/resources/ats/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/ats/types/ResponseTypeEnum.ts b/src/api/resources/ats/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/ats/types/ResponseTypeEnum.ts +++ b/src/api/resources/ats/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/ats/types/RoleEnum.ts b/src/api/resources/ats/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/ats/types/RoleEnum.ts +++ b/src/api/resources/ats/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/ats/types/ScheduledInterview.ts b/src/api/resources/ats/types/ScheduledInterview.ts index 155734d5..74afc2c5 100644 --- a/src/api/resources/ats/types/ScheduledInterview.ts +++ b/src/api/resources/ats/types/ScheduledInterview.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The ScheduledInterview Object + * * ### Description + * * The `ScheduledInterview` object is used to represent a scheduled interview for a given candidate’s application to a job. An `Application` can have multiple `ScheduledInterview`s depending on the particular hiring process. + * * ### Usage Example + * * Fetch from the `LIST ScheduledInterviews` endpoint and filter by `interviewers` to show all office locations. */ export interface ScheduledInterview { @@ -36,9 +40,9 @@ export interface ScheduledInterview { /** * The interview's status. * - * * `SCHEDULED` - SCHEDULED - * * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * * `COMPLETE` - COMPLETE + * - `SCHEDULED` - SCHEDULED + * - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK + * - `COMPLETE` - COMPLETE */ status?: Merge.ats.ScheduledInterviewStatus; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/ats/types/ScheduledInterviewRequest.ts b/src/api/resources/ats/types/ScheduledInterviewRequest.ts index 0b53e5e7..c90bb212 100644 --- a/src/api/resources/ats/types/ScheduledInterviewRequest.ts +++ b/src/api/resources/ats/types/ScheduledInterviewRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The ScheduledInterview Object + * * ### Description + * * The `ScheduledInterview` object is used to represent a scheduled interview for a given candidate’s application to a job. An `Application` can have multiple `ScheduledInterview`s depending on the particular hiring process. + * * ### Usage Example + * * Fetch from the `LIST ScheduledInterviews` endpoint and filter by `interviewers` to show all office locations. */ export interface ScheduledInterviewRequest { @@ -29,9 +33,9 @@ export interface ScheduledInterviewRequest { /** * The interview's status. * - * * `SCHEDULED` - SCHEDULED - * * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * * `COMPLETE` - COMPLETE + * - `SCHEDULED` - SCHEDULED + * - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK + * - `COMPLETE` - COMPLETE */ status?: Merge.ats.ScheduledInterviewRequestStatus; integrationParams?: Record; diff --git a/src/api/resources/ats/types/ScheduledInterviewRequestStatus.ts b/src/api/resources/ats/types/ScheduledInterviewRequestStatus.ts index 07dd3935..961c1407 100644 --- a/src/api/resources/ats/types/ScheduledInterviewRequestStatus.ts +++ b/src/api/resources/ats/types/ScheduledInterviewRequestStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The interview's status. * - * * `SCHEDULED` - SCHEDULED - * * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * * `COMPLETE` - COMPLETE + * - `SCHEDULED` - SCHEDULED + * - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK + * - `COMPLETE` - COMPLETE */ export type ScheduledInterviewRequestStatus = Merge.ats.ScheduledInterviewStatusEnum | string; diff --git a/src/api/resources/ats/types/ScheduledInterviewStatus.ts b/src/api/resources/ats/types/ScheduledInterviewStatus.ts index 4731dfd6..7a792d97 100644 --- a/src/api/resources/ats/types/ScheduledInterviewStatus.ts +++ b/src/api/resources/ats/types/ScheduledInterviewStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The interview's status. * - * * `SCHEDULED` - SCHEDULED - * * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * * `COMPLETE` - COMPLETE + * - `SCHEDULED` - SCHEDULED + * - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK + * - `COMPLETE` - COMPLETE */ export type ScheduledInterviewStatus = Merge.ats.ScheduledInterviewStatusEnum | string; diff --git a/src/api/resources/ats/types/ScheduledInterviewStatusEnum.ts b/src/api/resources/ats/types/ScheduledInterviewStatusEnum.ts index 9e0908f6..feb13994 100644 --- a/src/api/resources/ats/types/ScheduledInterviewStatusEnum.ts +++ b/src/api/resources/ats/types/ScheduledInterviewStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `SCHEDULED` - SCHEDULED - * * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK - * * `COMPLETE` - COMPLETE + * - `SCHEDULED` - SCHEDULED + * - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK + * - `COMPLETE` - COMPLETE */ export type ScheduledInterviewStatusEnum = "SCHEDULED" | "AWAITING_FEEDBACK" | "COMPLETE"; diff --git a/src/api/resources/ats/types/Scorecard.ts b/src/api/resources/ats/types/Scorecard.ts index b98a449e..3fed15bb 100644 --- a/src/api/resources/ats/types/Scorecard.ts +++ b/src/api/resources/ats/types/Scorecard.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Scorecard Object + * * ### Description + * * The `Scorecard` object is used to represent an interviewer's candidate recommendation based on a particular interview. + * * ### Usage Example + * * Fetch from the `LIST Scorecards` endpoint and filter by `application` to show all scorecard for an applicant. */ export interface Scorecard { @@ -28,11 +32,11 @@ export interface Scorecard { /** * The inteviewer's recommendation. * - * * `DEFINITELY_NO` - DEFINITELY_NO - * * `NO` - NO - * * `YES` - YES - * * `STRONG_YES` - STRONG_YES - * * `NO_DECISION` - NO_DECISION + * - `DEFINITELY_NO` - DEFINITELY_NO + * - `NO` - NO + * - `YES` - YES + * - `STRONG_YES` - STRONG_YES + * - `NO_DECISION` - NO_DECISION */ overallRecommendation?: Merge.ats.ScorecardOverallRecommendation; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/ats/types/ScorecardOverallRecommendation.ts b/src/api/resources/ats/types/ScorecardOverallRecommendation.ts index 65867bea..93ed5cdf 100644 --- a/src/api/resources/ats/types/ScorecardOverallRecommendation.ts +++ b/src/api/resources/ats/types/ScorecardOverallRecommendation.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The inteviewer's recommendation. * - * * `DEFINITELY_NO` - DEFINITELY_NO - * * `NO` - NO - * * `YES` - YES - * * `STRONG_YES` - STRONG_YES - * * `NO_DECISION` - NO_DECISION + * - `DEFINITELY_NO` - DEFINITELY_NO + * - `NO` - NO + * - `YES` - YES + * - `STRONG_YES` - STRONG_YES + * - `NO_DECISION` - NO_DECISION */ export type ScorecardOverallRecommendation = Merge.ats.OverallRecommendationEnum | string; diff --git a/src/api/resources/ats/types/ScreeningQuestion.ts b/src/api/resources/ats/types/ScreeningQuestion.ts index 1a557cfb..543efae3 100644 --- a/src/api/resources/ats/types/ScreeningQuestion.ts +++ b/src/api/resources/ats/types/ScreeningQuestion.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The ScreeningQuestion Object + * * ### Description + * * The `ScreeningQuestion` object is used to represent questions asked to screen candidates for a job. * * ### Usage Example + * * TODO */ export interface ScreeningQuestion { @@ -25,14 +28,14 @@ export interface ScreeningQuestion { /** * The data type for the screening question. * - * * `DATE` - DATE - * * `FILE` - FILE - * * `SINGLE_SELECT` - SINGLE_SELECT - * * `MULTI_SELECT` - MULTI_SELECT - * * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * * `NUMERIC` - NUMERIC - * * `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `FILE` - FILE + * - `SINGLE_SELECT` - SINGLE_SELECT + * - `MULTI_SELECT` - MULTI_SELECT + * - `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT + * - `MULTI_LINE_TEXT` - MULTI_LINE_TEXT + * - `NUMERIC` - NUMERIC + * - `BOOLEAN` - BOOLEAN */ type?: Merge.ats.ScreeningQuestionType; /** Whether or not the screening question is required. */ diff --git a/src/api/resources/ats/types/ScreeningQuestionOption.ts b/src/api/resources/ats/types/ScreeningQuestionOption.ts index 40686a83..0f5867b4 100644 --- a/src/api/resources/ats/types/ScreeningQuestionOption.ts +++ b/src/api/resources/ats/types/ScreeningQuestionOption.ts @@ -4,10 +4,13 @@ /** * # The ScreeningQuestionOption Object + * * ### Description + * * The `ScreeningQuestionOption` object is used to represent options for a `ScreeningQuestion` object * * ### Usage Example + * * TODO */ export interface ScreeningQuestionOption { diff --git a/src/api/resources/ats/types/ScreeningQuestionType.ts b/src/api/resources/ats/types/ScreeningQuestionType.ts index 6f30c561..a419eed9 100644 --- a/src/api/resources/ats/types/ScreeningQuestionType.ts +++ b/src/api/resources/ats/types/ScreeningQuestionType.ts @@ -7,13 +7,13 @@ import * as Merge from "../../.."; /** * The data type for the screening question. * - * * `DATE` - DATE - * * `FILE` - FILE - * * `SINGLE_SELECT` - SINGLE_SELECT - * * `MULTI_SELECT` - MULTI_SELECT - * * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * * `NUMERIC` - NUMERIC - * * `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `FILE` - FILE + * - `SINGLE_SELECT` - SINGLE_SELECT + * - `MULTI_SELECT` - MULTI_SELECT + * - `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT + * - `MULTI_LINE_TEXT` - MULTI_LINE_TEXT + * - `NUMERIC` - NUMERIC + * - `BOOLEAN` - BOOLEAN */ export type ScreeningQuestionType = Merge.ats.TypeEnum | string; diff --git a/src/api/resources/ats/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/ats/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/ats/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/ats/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/ats/types/SyncStatus.ts b/src/api/resources/ats/types/SyncStatus.ts index dc23979e..48485c16 100644 --- a/src/api/resources/ats/types/SyncStatus.ts +++ b/src/api/resources/ats/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/ats/types/SyncStatusStatusEnum.ts b/src/api/resources/ats/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/ats/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/ats/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/ats/types/Tag.ts b/src/api/resources/ats/types/Tag.ts index cd7057f8..9d8c3a08 100644 --- a/src/api/resources/ats/types/Tag.ts +++ b/src/api/resources/ats/types/Tag.ts @@ -4,9 +4,13 @@ /** * # The Tag Object + * * ### Description + * * The `Tag` object is used to represent a tag for a candidate. + * * ### Usage Example + * * Fetch from the `LIST Tags` endpoint and view the tags used within a company. */ export interface Tag { diff --git a/src/api/resources/ats/types/TypeEnum.ts b/src/api/resources/ats/types/TypeEnum.ts index 9fedf99d..7cd74221 100644 --- a/src/api/resources/ats/types/TypeEnum.ts +++ b/src/api/resources/ats/types/TypeEnum.ts @@ -3,14 +3,14 @@ */ /** - * * `DATE` - DATE - * * `FILE` - FILE - * * `SINGLE_SELECT` - SINGLE_SELECT - * * `MULTI_SELECT` - MULTI_SELECT - * * `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT - * * `MULTI_LINE_TEXT` - MULTI_LINE_TEXT - * * `NUMERIC` - NUMERIC - * * `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `FILE` - FILE + * - `SINGLE_SELECT` - SINGLE_SELECT + * - `MULTI_SELECT` - MULTI_SELECT + * - `SINGLE_LINE_TEXT` - SINGLE_LINE_TEXT + * - `MULTI_LINE_TEXT` - MULTI_LINE_TEXT + * - `NUMERIC` - NUMERIC + * - `BOOLEAN` - BOOLEAN */ export type TypeEnum = | "DATE" diff --git a/src/api/resources/ats/types/Url.ts b/src/api/resources/ats/types/Url.ts index df8392c9..584984aa 100644 --- a/src/api/resources/ats/types/Url.ts +++ b/src/api/resources/ats/types/Url.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Url Object + * * ### Description + * * The `Url` object is used to represent hyperlinks associated with the parent model. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their website urls. */ export interface Url { @@ -17,13 +21,13 @@ export interface Url { /** * The type of site. * - * * `PERSONAL` - PERSONAL - * * `COMPANY` - COMPANY - * * `PORTFOLIO` - PORTFOLIO - * * `BLOG` - BLOG - * * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * * `OTHER` - OTHER - * * `JOB_POSTING` - JOB_POSTING + * - `PERSONAL` - PERSONAL + * - `COMPANY` - COMPANY + * - `PORTFOLIO` - PORTFOLIO + * - `BLOG` - BLOG + * - `SOCIAL_MEDIA` - SOCIAL_MEDIA + * - `OTHER` - OTHER + * - `JOB_POSTING` - JOB_POSTING */ urlType?: Merge.ats.UrlUrlType; createdAt?: Date; diff --git a/src/api/resources/ats/types/UrlRequest.ts b/src/api/resources/ats/types/UrlRequest.ts index bc5c8bf2..a7f43424 100644 --- a/src/api/resources/ats/types/UrlRequest.ts +++ b/src/api/resources/ats/types/UrlRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Url Object + * * ### Description + * * The `Url` object is used to represent hyperlinks associated with the parent model. + * * ### Usage Example + * * Fetch from the `GET Candidate` endpoint and view their website urls. */ export interface UrlRequest { @@ -17,13 +21,13 @@ export interface UrlRequest { /** * The type of site. * - * * `PERSONAL` - PERSONAL - * * `COMPANY` - COMPANY - * * `PORTFOLIO` - PORTFOLIO - * * `BLOG` - BLOG - * * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * * `OTHER` - OTHER - * * `JOB_POSTING` - JOB_POSTING + * - `PERSONAL` - PERSONAL + * - `COMPANY` - COMPANY + * - `PORTFOLIO` - PORTFOLIO + * - `BLOG` - BLOG + * - `SOCIAL_MEDIA` - SOCIAL_MEDIA + * - `OTHER` - OTHER + * - `JOB_POSTING` - JOB_POSTING */ urlType?: Merge.ats.UrlRequestUrlType; integrationParams?: Record; diff --git a/src/api/resources/ats/types/UrlRequestUrlType.ts b/src/api/resources/ats/types/UrlRequestUrlType.ts index 8f0e38de..e8c22434 100644 --- a/src/api/resources/ats/types/UrlRequestUrlType.ts +++ b/src/api/resources/ats/types/UrlRequestUrlType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of site. * - * * `PERSONAL` - PERSONAL - * * `COMPANY` - COMPANY - * * `PORTFOLIO` - PORTFOLIO - * * `BLOG` - BLOG - * * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * * `OTHER` - OTHER - * * `JOB_POSTING` - JOB_POSTING + * - `PERSONAL` - PERSONAL + * - `COMPANY` - COMPANY + * - `PORTFOLIO` - PORTFOLIO + * - `BLOG` - BLOG + * - `SOCIAL_MEDIA` - SOCIAL_MEDIA + * - `OTHER` - OTHER + * - `JOB_POSTING` - JOB_POSTING */ export type UrlRequestUrlType = Merge.ats.UrlTypeEnum | string; diff --git a/src/api/resources/ats/types/UrlTypeEnum.ts b/src/api/resources/ats/types/UrlTypeEnum.ts index 0b72e46a..3efb1c67 100644 --- a/src/api/resources/ats/types/UrlTypeEnum.ts +++ b/src/api/resources/ats/types/UrlTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `PERSONAL` - PERSONAL - * * `COMPANY` - COMPANY - * * `PORTFOLIO` - PORTFOLIO - * * `BLOG` - BLOG - * * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * * `OTHER` - OTHER - * * `JOB_POSTING` - JOB_POSTING + * - `PERSONAL` - PERSONAL + * - `COMPANY` - COMPANY + * - `PORTFOLIO` - PORTFOLIO + * - `BLOG` - BLOG + * - `SOCIAL_MEDIA` - SOCIAL_MEDIA + * - `OTHER` - OTHER + * - `JOB_POSTING` - JOB_POSTING */ export type UrlTypeEnum = "PERSONAL" | "COMPANY" | "PORTFOLIO" | "BLOG" | "SOCIAL_MEDIA" | "OTHER" | "JOB_POSTING"; diff --git a/src/api/resources/ats/types/UrlUrlType.ts b/src/api/resources/ats/types/UrlUrlType.ts index 1682f676..5d96b03f 100644 --- a/src/api/resources/ats/types/UrlUrlType.ts +++ b/src/api/resources/ats/types/UrlUrlType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of site. * - * * `PERSONAL` - PERSONAL - * * `COMPANY` - COMPANY - * * `PORTFOLIO` - PORTFOLIO - * * `BLOG` - BLOG - * * `SOCIAL_MEDIA` - SOCIAL_MEDIA - * * `OTHER` - OTHER - * * `JOB_POSTING` - JOB_POSTING + * - `PERSONAL` - PERSONAL + * - `COMPANY` - COMPANY + * - `PORTFOLIO` - PORTFOLIO + * - `BLOG` - BLOG + * - `SOCIAL_MEDIA` - SOCIAL_MEDIA + * - `OTHER` - OTHER + * - `JOB_POSTING` - JOB_POSTING */ export type UrlUrlType = Merge.ats.UrlTypeEnum | string; diff --git a/src/api/resources/ats/types/VeteranStatusEnum.ts b/src/api/resources/ats/types/VeteranStatusEnum.ts index 3ccc542f..78df07af 100644 --- a/src/api/resources/ats/types/VeteranStatusEnum.ts +++ b/src/api/resources/ats/types/VeteranStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN - * * `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN - * * `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER + * - `I_AM_NOT_A_PROTECTED_VETERAN` - I_AM_NOT_A_PROTECTED_VETERAN + * - `I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN` - I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN + * - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER */ export type VeteranStatusEnum = | "I_AM_NOT_A_PROTECTED_VETERAN" diff --git a/src/api/resources/ats/types/VisibilityEnum.ts b/src/api/resources/ats/types/VisibilityEnum.ts index 7d0798eb..3bdf239d 100644 --- a/src/api/resources/ats/types/VisibilityEnum.ts +++ b/src/api/resources/ats/types/VisibilityEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `ADMIN_ONLY` - ADMIN_ONLY - * * `PUBLIC` - PUBLIC - * * `PRIVATE` - PRIVATE + * - `ADMIN_ONLY` - ADMIN_ONLY + * - `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE */ export type VisibilityEnum = "ADMIN_ONLY" | "PUBLIC" | "PRIVATE"; diff --git a/src/api/resources/ats/types/index.ts b/src/api/resources/ats/types/index.ts index e9fbf8f9..9d2492f7 100644 --- a/src/api/resources/ats/types/index.ts +++ b/src/api/resources/ats/types/index.ts @@ -1,28 +1,3 @@ -export * from "./ActivitiesListRequestRemoteFields"; -export * from "./ActivitiesListRequestShowEnumOrigins"; -export * from "./ActivitiesRetrieveRequestRemoteFields"; -export * from "./ActivitiesRetrieveRequestShowEnumOrigins"; -export * from "./ApplicationsListRequestExpand"; -export * from "./ApplicationsRetrieveRequestExpand"; -export * from "./DataPassthroughRequest"; -export * from "./CandidatesListRequestExpand"; -export * from "./CandidatesRetrieveRequestExpand"; -export * from "./EeocsListRequestRemoteFields"; -export * from "./EeocsListRequestShowEnumOrigins"; -export * from "./EeocsRetrieveRequestRemoteFields"; -export * from "./EeocsRetrieveRequestShowEnumOrigins"; -export * from "./InterviewsListRequestExpand"; -export * from "./InterviewsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./JobsListRequestExpand"; -export * from "./JobsListRequestStatus"; -export * from "./JobsRetrieveRequestExpand"; -export * from "./JobsScreeningQuestionsListRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./OffersListRequestExpand"; -export * from "./OffersRetrieveRequestExpand"; -export * from "./ScorecardsListRequestExpand"; -export * from "./ScorecardsRetrieveRequestExpand"; export * from "./AccessRoleEnum"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; @@ -30,84 +5,85 @@ export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; -export * from "./Activity"; export * from "./ActivityUser"; export * from "./ActivityActivityType"; export * from "./ActivityVisibility"; -export * from "./ActivityRequest"; +export * from "./Activity"; export * from "./ActivityRequestUser"; export * from "./ActivityRequestActivityType"; export * from "./ActivityRequestVisibility"; +export * from "./ActivityRequest"; export * from "./ActivityResponse"; export * from "./ActivityTypeEnum"; -export * from "./Application"; export * from "./ApplicationCandidate"; export * from "./ApplicationJob"; export * from "./ApplicationCreditedTo"; export * from "./ApplicationCurrentStage"; export * from "./ApplicationRejectReason"; -export * from "./ApplicationRequest"; +export * from "./Application"; export * from "./ApplicationRequestCandidate"; export * from "./ApplicationRequestJob"; export * from "./ApplicationRequestCreditedTo"; export * from "./ApplicationRequestCurrentStage"; export * from "./ApplicationRequestRejectReason"; +export * from "./ApplicationRequest"; export * from "./ApplicationResponse"; export * from "./AsyncPassthroughReciept"; -export * from "./Attachment"; export * from "./AttachmentAttachmentType"; -export * from "./AttachmentRequest"; +export * from "./Attachment"; export * from "./AttachmentRequestAttachmentType"; +export * from "./AttachmentRequest"; export * from "./AttachmentResponse"; export * from "./AttachmentTypeEnum"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./Candidate"; export * from "./CandidateApplicationsItem"; export * from "./CandidateAttachmentsItem"; -export * from "./CandidateRequest"; +export * from "./Candidate"; export * from "./CandidateRequestApplicationsItem"; export * from "./CandidateRequestAttachmentsItem"; +export * from "./CandidateRequest"; export * from "./CandidateResponse"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Department"; export * from "./DisabilityStatusEnum"; -export * from "./Eeoc"; export * from "./EeocCandidate"; export * from "./EeocRace"; export * from "./EeocGender"; export * from "./EeocVeteranStatus"; export * from "./EeocDisabilityStatus"; -export * from "./EmailAddress"; +export * from "./Eeoc"; export * from "./EmailAddressEmailAddressType"; -export * from "./EmailAddressRequest"; +export * from "./EmailAddress"; export * from "./EmailAddressRequestEmailAddressType"; +export * from "./EmailAddressRequest"; export * from "./EmailAddressTypeEnum"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./GenderEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; -export * from "./Job"; export * from "./JobStatus"; export * from "./JobDepartmentsItem"; export * from "./JobOfficesItem"; export * from "./JobHiringManagersItem"; export * from "./JobRecruitersItem"; -export * from "./JobInterviewStage"; +export * from "./Job"; export * from "./JobInterviewStageJob"; +export * from "./JobInterviewStage"; export * from "./JobStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -118,12 +94,12 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; -export * from "./Offer"; +export * from "./MultipartFormFieldRequest"; export * from "./OfferApplication"; export * from "./OfferCreator"; export * from "./OfferStatus"; +export * from "./Offer"; export * from "./OfferStatusEnum"; export * from "./Office"; export * from "./OperatorSchema"; @@ -150,55 +126,55 @@ export * from "./PaginatedScreeningQuestionList"; export * from "./PaginatedSyncStatusList"; export * from "./PaginatedTagList"; export * from "./PatchedCandidateRequest"; -export * from "./PhoneNumber"; export * from "./PhoneNumberPhoneNumberType"; -export * from "./PhoneNumberRequest"; +export * from "./PhoneNumber"; export * from "./PhoneNumberRequestPhoneNumberType"; +export * from "./PhoneNumberRequest"; export * from "./PhoneNumberTypeEnum"; export * from "./RaceEnum"; export * from "./ReasonEnum"; export * from "./RejectReason"; export * from "./RemoteData"; export * from "./RemoteKey"; -export * from "./RemoteResponse"; export * from "./RemoteResponseResponseType"; -export * from "./RemoteUser"; +export * from "./RemoteResponse"; export * from "./RemoteUserAccessRole"; +export * from "./RemoteUser"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; -export * from "./ScheduledInterview"; export * from "./ScheduledInterviewApplication"; export * from "./ScheduledInterviewJobInterviewStage"; export * from "./ScheduledInterviewOrganizer"; export * from "./ScheduledInterviewInterviewersItem"; export * from "./ScheduledInterviewStatus"; -export * from "./ScheduledInterviewRequest"; +export * from "./ScheduledInterview"; export * from "./ScheduledInterviewRequestApplication"; export * from "./ScheduledInterviewRequestJobInterviewStage"; export * from "./ScheduledInterviewRequestOrganizer"; export * from "./ScheduledInterviewRequestInterviewersItem"; export * from "./ScheduledInterviewRequestStatus"; +export * from "./ScheduledInterviewRequest"; export * from "./ScheduledInterviewResponse"; export * from "./ScheduledInterviewStatusEnum"; -export * from "./Scorecard"; export * from "./ScorecardApplication"; export * from "./ScorecardInterview"; export * from "./ScorecardInterviewer"; export * from "./ScorecardOverallRecommendation"; -export * from "./ScreeningQuestion"; +export * from "./Scorecard"; export * from "./ScreeningQuestionJob"; export * from "./ScreeningQuestionType"; +export * from "./ScreeningQuestion"; export * from "./ScreeningQuestionOption"; export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tag"; export * from "./TypeEnum"; -export * from "./Url"; export * from "./UrlUrlType"; -export * from "./UrlRequest"; +export * from "./Url"; export * from "./UrlRequestUrlType"; +export * from "./UrlRequest"; export * from "./UrlTypeEnum"; export * from "./ValidationProblemSource"; export * from "./VeteranStatusEnum"; diff --git a/src/api/resources/crm/client/Client.ts b/src/api/resources/crm/client/Client.ts index bba7f9a0..d59d4c6a 100644 --- a/src/api/resources/crm/client/Client.ts +++ b/src/api/resources/crm/client/Client.ts @@ -44,6 +44,7 @@ export declare namespace Crm { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/crm/index.ts b/src/api/resources/crm/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/crm/index.ts +++ b/src/api/resources/crm/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/crm/resources/accountDetails/client/Client.ts b/src/api/resources/crm/resources/accountDetails/client/Client.ts index 195e9f43..eba1f022 100644 --- a/src/api/resources/crm/resources/accountDetails/client/Client.ts +++ b/src/api/resources/crm/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.crm.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/accountToken/client/Client.ts b/src/api/resources/crm/resources/accountToken/client/Client.ts index 30edf450..5c07b129 100644 --- a/src/api/resources/crm/resources/accountToken/client/Client.ts +++ b/src/api/resources/crm/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/accounts/client/Client.ts b/src/api/resources/crm/resources/accounts/client/Client.ts index 0291dc10..e8354af3 100644 --- a/src/api/resources/crm/resources/accounts/client/Client.ts +++ b/src/api/resources/crm/resources/accounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Accounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Accounts { /** * Returns a list of `Account` objects. + * + * @example + * await merge.crm.accounts.list({ + * expand: "owner" + * }) */ public async list( request: Merge.crm.AccountsListRequest = {}, @@ -47,57 +52,57 @@ export class Accounts { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (name != null) { - _queryParams.append("name", name); + _queryParams["name"] = name; } if (ownerId != null) { - _queryParams.append("owner_id", ownerId); + _queryParams["owner_id"] = ownerId; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedAccountList.parseOrThrow(_response.body, { @@ -153,19 +159,31 @@ export class Accounts { /** * Creates an `Account` object with the given values. + * + * @example + * await merge.crm.accounts.create({ + * model: { + * name: "Merge API", + * description: "One API for all integrations", + * industry: "API's", + * website: "https://merge.dev/", + * numberOfEmployees: 276000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.crm.CrmAccountEndpointRequest, requestOptions?: Accounts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +200,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +208,7 @@ export class Accounts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmAccountResponse.parseOrThrow(_response.body, { @@ -224,6 +243,11 @@ export class Accounts { /** * Returns an `Account` object with the given `id`. + * + * @example + * await merge.crm.accounts.retrieve("id", { + * expand: "owner" + * }) */ public async retrieve( id: string, @@ -231,17 +255,17 @@ export class Accounts { requestOptions?: Accounts.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -258,11 +282,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Account.parseOrThrow(_response.body, { @@ -297,6 +322,19 @@ export class Accounts { /** * Updates an `Account` object with the given `id`. + * + * @example + * await merge.crm.accounts.partialUpdate("id", { + * model: { + * owner: "0258cbc6-6020-430a-848e-aafacbadf4ae", + * name: "Merge API", + * description: "One API for all integrations", + * industry: "API's", + * website: "https://merge.dev/", + * numberOfEmployees: 276000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async partialUpdate( id: string, @@ -304,13 +342,13 @@ export class Accounts { requestOptions?: Accounts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -327,7 +365,7 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -335,6 +373,7 @@ export class Accounts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmAccountResponse.parseOrThrow(_response.body, { @@ -369,6 +408,9 @@ export class Accounts { /** * Returns metadata for `CRMAccount` PATCHs. + * + * @example + * await merge.crm.accounts.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -388,10 +430,11 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -426,6 +469,9 @@ export class Accounts { /** * Returns metadata for `CRMAccount` POSTs. + * + * @example + * await merge.crm.accounts.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Accounts.RequestOptions): Promise { const _response = await core.fetcher({ @@ -442,10 +488,11 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -480,31 +527,34 @@ export class Accounts { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.accounts.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.AccountsRemoteFieldClassesListRequest = {}, requestOptions?: Accounts.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -521,11 +571,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 1911805c..5f1721c1 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "owner" + * } + */ export interface AccountsListRequest { /** * If provided, will only return objects created after this datetime. 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 a6ee648c..04218c99 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AccountsRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts index a4913f23..5065ebde 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "owner" + * } + */ export interface AccountsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.ts index ac283dc0..c48cdef1 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.ts @@ -4,6 +4,19 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Merge API", + * description: "One API for all integrations", + * industry: "API's", + * website: "https://merge.dev/", + * numberOfEmployees: 276000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface CrmAccountEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.ts b/src/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.ts index 512c41eb..96fdc145 100644 --- a/src/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.ts +++ b/src/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.ts @@ -4,6 +4,20 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * owner: "0258cbc6-6020-430a-848e-aafacbadf4ae", + * name: "Merge API", + * description: "One API for all integrations", + * industry: "API's", + * website: "https://merge.dev/", + * numberOfEmployees: 276000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface PatchedCrmAccountEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/associationTypes/client/Client.ts b/src/api/resources/crm/resources/associationTypes/client/Client.ts index 8e64f535..61cc0504 100644 --- a/src/api/resources/crm/resources/associationTypes/client/Client.ts +++ b/src/api/resources/crm/resources/associationTypes/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AssociationTypes { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class AssociationTypes { /** * Returns a list of `AssociationType` objects. + * + * @example + * await merge.crm.associationTypes.customObjectClassesAssociationTypesList("custom-object-class-id", { + * expand: "target_object_classes" + * }) */ public async customObjectClassesAssociationTypesList( customObjectClassId: string, @@ -45,45 +50,45 @@ export class AssociationTypes { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -100,11 +105,12 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedAssociationTypeList.parseOrThrow(_response.body, { @@ -146,13 +152,13 @@ export class AssociationTypes { requestOptions?: AssociationTypes.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -169,7 +175,7 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -177,6 +183,7 @@ export class AssociationTypes { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmAssociationTypeResponse.parseOrThrow(_response.body, { @@ -211,6 +218,11 @@ export class AssociationTypes { /** * Returns an `AssociationType` object with the given `id`. + * + * @example + * await merge.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom-object-class-id", "id", { + * expand: "target_object_classes" + * }) */ public async customObjectClassesAssociationTypesRetrieve( customObjectClassId: string, @@ -219,13 +231,13 @@ export class AssociationTypes { requestOptions?: AssociationTypes.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -242,11 +254,12 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.AssociationType.parseOrThrow(_response.body, { @@ -281,6 +294,9 @@ export class AssociationTypes { /** * Returns metadata for `CRMAssociationType` POSTs. + * + * @example + * await merge.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve("custom-object-class-id") */ public async customObjectClassesAssociationTypesMetaPostRetrieve( customObjectClassId: string, @@ -300,10 +316,11 @@ export class AssociationTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { 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 2527aafc..969f7519 100644 --- a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts +++ b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "target_object_classes" + * } + */ export interface CustomObjectClassesAssociationTypesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts index 951ee8ff..5facc809 100644 --- a/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "target_object_classes" + * } + */ export interface CustomObjectClassesAssociationTypesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/associations/client/Client.ts b/src/api/resources/crm/resources/associations/client/Client.ts index d850d672..4bf12b9b 100644 --- a/src/api/resources/crm/resources/associations/client/Client.ts +++ b/src/api/resources/crm/resources/associations/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Associations { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Associations { /** * Returns a list of `Association` objects. + * + * @example + * await merge.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom-object-class-id", "object-id", { + * expand: "association_type" + * }) */ public async customObjectClassesCustomObjectsAssociationsList( customObjectClassId: string, @@ -47,49 +52,49 @@ export class Associations { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (associationTypeId != null) { - _queryParams.append("association_type_id", associationTypeId); + _queryParams["association_type_id"] = associationTypeId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -106,11 +111,12 @@ export class Associations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedAssociationList.parseOrThrow(_response.body, { @@ -145,6 +151,9 @@ export class Associations { /** * Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`. + * + * @example + * await merge.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate("association-type-id", "source-class-id", "source-object-id", "target-class-id", "target-object-id", {}) */ public async customObjectClassesCustomObjectsAssociationsUpdate( associationTypeId: string, @@ -156,13 +165,13 @@ export class Associations { requestOptions?: Associations.RequestOptions ): Promise { const { isDebugMode, runAsync } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -179,11 +188,12 @@ export class Associations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Association.parseOrThrow(_response.body, { 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 1d2d8a9b..f3c161b4 100644 --- a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts +++ b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "association_type" + * } + */ export interface CustomObjectClassesCustomObjectsAssociationsListRequest { /** * If provided, will only return opportunities with this association_type. diff --git a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.ts b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.ts index 42996ec3..c78120bf 100644 --- a/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.ts +++ b/src/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface CustomObjectClassesCustomObjectsAssociationsUpdateRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts b/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts index a589bf66..7d593618 100644 --- a/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/crm/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.crm.asyncPassthrough.create({ + * method: Merge.crm.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.crm.RequestFormatEnum.Json + * }) */ public async create( request: Merge.crm.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/auditTrail/client/Client.ts b/src/api/resources/crm/resources/auditTrail/client/Client.ts index 84c7f004..60780a46 100644 --- a/src/api/resources/crm/resources/auditTrail/client/Client.ts +++ b/src/api/resources/crm/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.crm.auditTrail.list({}) */ public async list( request: Merge.crm.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/availableActions/client/Client.ts b/src/api/resources/crm/resources/availableActions/client/Client.ts index 8f63f763..d1b0835e 100644 --- a/src/api/resources/crm/resources/availableActions/client/Client.ts +++ b/src/api/resources/crm/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -42,10 +43,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/contacts/client/Client.ts b/src/api/resources/crm/resources/contacts/client/Client.ts index 2b330d07..17cae817 100644 --- a/src/api/resources/crm/resources/contacts/client/Client.ts +++ b/src/api/resources/crm/resources/contacts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Contacts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Contacts { /** * Returns a list of `Contact` objects. + * + * @example + * await merge.crm.contacts.list({ + * expand: Merge.crm.ContactsListRequestExpand.Account + * }) */ public async list( request: Merge.crm.ContactsListRequest = {}, @@ -48,61 +53,61 @@ export class Contacts { phoneNumbers, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountId != null) { - _queryParams.append("account_id", accountId); + _queryParams["account_id"] = accountId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (emailAddresses != null) { - _queryParams.append("email_addresses", emailAddresses); + _queryParams["email_addresses"] = emailAddresses; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (phoneNumbers != null) { - _queryParams.append("phone_numbers", phoneNumbers); + _queryParams["phone_numbers"] = phoneNumbers; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -119,11 +124,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedContactList.parseOrThrow(_response.body, { @@ -158,19 +164,43 @@ export class Contacts { /** * Creates a `Contact` object with the given values. + * + * @example + * await merge.crm.contacts.create({ + * model: { + * firstName: "Gil", + * lastName: "Feig", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.crm.CrmContactEndpointRequest, requestOptions?: Contacts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -187,7 +217,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -195,6 +225,7 @@ export class Contacts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmContactResponse.parseOrThrow(_response.body, { @@ -229,6 +260,11 @@ export class Contacts { /** * Returns a `Contact` object with the given `id`. + * + * @example + * await merge.crm.contacts.retrieve("id", { + * expand: Merge.crm.ContactsRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -236,17 +272,17 @@ export class Contacts { requestOptions?: Contacts.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -263,11 +299,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Contact.parseOrThrow(_response.body, { @@ -302,6 +339,31 @@ export class Contacts { /** * Updates a `Contact` object with the given `id`. + * + * @example + * await merge.crm.contacts.partialUpdate("id", { + * model: { + * firstName: "Gil", + * lastName: "Feig", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async partialUpdate( id: string, @@ -309,13 +371,13 @@ export class Contacts { requestOptions?: Contacts.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -332,7 +394,7 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -340,6 +402,7 @@ export class Contacts { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmContactResponse.parseOrThrow(_response.body, { @@ -374,6 +437,12 @@ export class Contacts { /** * Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. + * + * @example + * await merge.crm.contacts.ignoreCreate("model-id", { + * reason: Merge.crm.ReasonEnum.GeneralCustomerRequest, + * message: "deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39" + * }) */ public async ignoreCreate( modelId: string, @@ -394,13 +463,14 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; @@ -430,6 +500,9 @@ export class Contacts { /** * Returns metadata for `CRMContact` PATCHs. + * + * @example + * await merge.crm.contacts.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -449,10 +522,11 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -487,6 +561,9 @@ export class Contacts { /** * Returns metadata for `CRMContact` POSTs. + * + * @example + * await merge.crm.contacts.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Contacts.RequestOptions): Promise { const _response = await core.fetcher({ @@ -503,10 +580,11 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -541,31 +619,34 @@ export class Contacts { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.contacts.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.ContactsRemoteFieldClassesListRequest = {}, requestOptions?: Contacts.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -582,11 +663,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 2d2791ab..e4aa5145 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.ContactsListRequestExpand.Account + * } + */ export interface ContactsListRequest { /** * If provided, will only return contacts with this account. 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 3ef1cacb..58e523d0 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface ContactsRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 2e1801f7..5e940a12 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.ContactsRetrieveRequestExpand.Account + * } + */ export interface ContactsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.ts index 5ed3a9ed..43fb3452 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.ts @@ -4,6 +4,31 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * firstName: "Gil", + * lastName: "Feig", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface CrmContactEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.ts b/src/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.ts index 47761be7..d0c3ddf4 100644 --- a/src/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.ts +++ b/src/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.ts @@ -4,6 +4,32 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * firstName: "Gil", + * lastName: "Feig", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface PatchedCrmContactEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/contacts/index.ts b/src/api/resources/crm/resources/contacts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/contacts/index.ts +++ b/src/api/resources/crm/resources/contacts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/ContactsListRequestExpand.ts b/src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/ContactsListRequestExpand.ts rename to src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts diff --git a/src/api/resources/crm/types/ContactsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/ContactsRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/contacts/types/index.ts b/src/api/resources/crm/resources/contacts/types/index.ts new file mode 100644 index 00000000..1f8bc865 --- /dev/null +++ b/src/api/resources/crm/resources/contacts/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ContactsListRequestExpand"; +export * from "./ContactsRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts index 0778bde4..930c8a3c 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/Client.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace CustomObjectClasses { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class CustomObjectClasses { /** * Returns a list of `CustomObjectClass` objects. + * + * @example + * await merge.crm.customObjectClasses.list({ + * expand: "fields" + * }) */ public async list( request: Merge.crm.CustomObjectClassesListRequest = {}, @@ -44,45 +49,45 @@ export class CustomObjectClasses { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +104,12 @@ export class CustomObjectClasses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedCustomObjectClassList.parseOrThrow(_response.body, { @@ -138,6 +144,11 @@ export class CustomObjectClasses { /** * Returns a `CustomObjectClass` object with the given `id`. + * + * @example + * await merge.crm.customObjectClasses.retrieve("id", { + * expand: "fields" + * }) */ public async retrieve( id: string, @@ -145,13 +156,13 @@ export class CustomObjectClasses { requestOptions?: CustomObjectClasses.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -168,11 +179,12 @@ export class CustomObjectClasses { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CustomObjectClass.parseOrThrow(_response.body, { 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 ac2f82f1..bd1b5534 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "fields" + * } + */ export interface CustomObjectClassesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts index a2793bab..cbd6654c 100644 --- a/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "fields" + * } + */ export interface CustomObjectClassesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/customObjects/client/Client.ts b/src/api/resources/crm/resources/customObjects/client/Client.ts index 70f346d3..0d7a3ac2 100644 --- a/src/api/resources/crm/resources/customObjects/client/Client.ts +++ b/src/api/resources/crm/resources/customObjects/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace CustomObjects { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class CustomObjects { /** * Returns a list of `CustomObject` objects. + * + * @example + * await merge.crm.customObjects.customObjectClassesCustomObjectsList("custom-object-class-id", {}) */ public async customObjectClassesCustomObjectsList( customObjectClassId: string, @@ -45,45 +48,45 @@ export class CustomObjects { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -100,11 +103,12 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedCustomObjectList.parseOrThrow(_response.body, { @@ -139,6 +143,13 @@ export class CustomObjects { /** * Creates a `CustomObject` object with the given values. + * + * @example + * await merge.crm.customObjects.customObjectClassesCustomObjectsCreate("custom-object-class-id", { + * model: { + * fields: {} + * } + * }) */ public async customObjectClassesCustomObjectsCreate( customObjectClassId: string, @@ -146,13 +157,13 @@ export class CustomObjects { requestOptions?: CustomObjects.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -169,7 +180,7 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -177,6 +188,7 @@ export class CustomObjects { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CrmCustomObjectResponse.parseOrThrow(_response.body, { @@ -211,6 +223,9 @@ export class CustomObjects { /** * Returns a `CustomObject` object with the given `id`. + * + * @example + * await merge.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom-object-class-id", "id", {}) */ public async customObjectClassesCustomObjectsRetrieve( customObjectClassId: string, @@ -219,13 +234,13 @@ export class CustomObjects { requestOptions?: CustomObjects.RequestOptions ): Promise { const { includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -242,11 +257,12 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.CustomObject.parseOrThrow(_response.body, { @@ -281,6 +297,9 @@ export class CustomObjects { /** * Returns metadata for `CRMCustomObject` PATCHs. + * + * @example + * await merge.crm.customObjects.customObjectClassesCustomObjectsMetaPatchRetrieve("custom-object-class-id", "id") */ public async customObjectClassesCustomObjectsMetaPatchRetrieve( customObjectClassId: string, @@ -301,10 +320,11 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -339,6 +359,9 @@ export class CustomObjects { /** * Returns metadata for `CRMCustomObject` POSTs. + * + * @example + * await merge.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve("custom-object-class-id") */ public async customObjectClassesCustomObjectsMetaPostRetrieve( customObjectClassId: string, @@ -358,10 +381,11 @@ export class CustomObjects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.ts b/src/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.ts index eff72ec1..b5fabd94 100644 --- a/src/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.ts +++ b/src/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * fields: {} + * } + * } + */ export interface CrmCustomObjectEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 a2af95db..1bfb1553 100644 --- a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts +++ b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface CustomObjectClassesCustomObjectsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.ts b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.ts index 0c62b9ad..10dbb939 100644 --- a/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface CustomObjectClassesCustomObjectsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/crm/resources/deleteAccount/client/Client.ts b/src/api/resources/crm/resources/deleteAccount/client/Client.ts index bb9b0d4c..31cdf8da 100644 --- a/src/api/resources/crm/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/crm/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.crm.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/crm/resources/engagementTypes/client/Client.ts b/src/api/resources/crm/resources/engagementTypes/client/Client.ts index 9f85b242..57533d53 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/Client.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace EngagementTypes { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class EngagementTypes { /** * Returns a list of `EngagementType` objects. + * + * @example + * await merge.crm.engagementTypes.list({}) */ public async list( request: Merge.crm.EngagementTypesListRequest = {}, @@ -44,45 +47,45 @@ export class EngagementTypes { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedEngagementTypeList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class EngagementTypes { /** * Returns an `EngagementType` object with the given `id`. + * + * @example + * await merge.crm.engagementTypes.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,13 +152,13 @@ export class EngagementTypes { requestOptions?: EngagementTypes.RequestOptions ): Promise { const { includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -168,11 +175,12 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.EngagementType.parseOrThrow(_response.body, { @@ -207,31 +215,34 @@ export class EngagementTypes { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.engagementTypes.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.EngagementTypesRemoteFieldClassesListRequest = {}, requestOptions?: EngagementTypes.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -248,11 +259,12 @@ export class EngagementTypes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 b4b20132..c8b9d257 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EngagementTypesListRequest { /** * If provided, will only return objects created after this datetime. 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 1a1e8351..79c82156 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EngagementTypesRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.ts b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.ts index 3c2cd889..7c1712c6 100644 --- a/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EngagementTypesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/crm/resources/engagements/client/Client.ts b/src/api/resources/crm/resources/engagements/client/Client.ts index 81a21b3e..e9b6f082 100644 --- a/src/api/resources/crm/resources/engagements/client/Client.ts +++ b/src/api/resources/crm/resources/engagements/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Engagements { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Engagements { /** * Returns a list of `Engagement` objects. + * + * @example + * await merge.crm.engagements.list({ + * expand: Merge.crm.EngagementsListRequestExpand.Account + * }) */ public async list( request: Merge.crm.EngagementsListRequest = {}, @@ -47,57 +52,57 @@ export class Engagements { startedAfter, startedBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (startedAfter != null) { - _queryParams.append("started_after", startedAfter.toISOString()); + _queryParams["started_after"] = startedAfter.toISOString(); } if (startedBefore != null) { - _queryParams.append("started_before", startedBefore.toISOString()); + _queryParams["started_before"] = startedBefore.toISOString(); } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedEngagementList.parseOrThrow(_response.body, { @@ -153,19 +159,29 @@ export class Engagements { /** * Creates an `Engagement` object with the given values. + * + * @example + * await merge.crm.engagements.create({ + * model: { + * content: "Call for negotiation", + * subject: "Call from customer", + * startTime: new Date("2022-02-10T00:00:00.000Z"), + * endTime: new Date("2022-02-10T00:05:00.000Z") + * } + * }) */ public async create( request: Merge.crm.EngagementEndpointRequest, requestOptions?: Engagements.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +198,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +206,7 @@ export class Engagements { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.EngagementResponse.parseOrThrow(_response.body, { @@ -224,6 +241,11 @@ export class Engagements { /** * Returns an `Engagement` object with the given `id`. + * + * @example + * await merge.crm.engagements.retrieve("id", { + * expand: Merge.crm.EngagementsRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -231,17 +253,17 @@ export class Engagements { requestOptions?: Engagements.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -258,11 +280,12 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Engagement.parseOrThrow(_response.body, { @@ -297,6 +320,19 @@ export class Engagements { /** * Updates an `Engagement` object with the given `id`. + * + * @example + * await merge.crm.engagements.partialUpdate("id", { + * model: { + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * content: "Call for negotiation", + * subject: "Call from customer", + * engagementType: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * startTime: new Date("2022-02-10T00:00:00.000Z"), + * endTime: new Date("2022-02-10T00:05:00.000Z"), + * account: "025fjlc6-6000-430a-848e-aafacbadf4fe" + * } + * }) */ public async partialUpdate( id: string, @@ -304,13 +340,13 @@ export class Engagements { requestOptions?: Engagements.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -327,7 +363,7 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -335,6 +371,7 @@ export class Engagements { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.EngagementResponse.parseOrThrow(_response.body, { @@ -369,6 +406,9 @@ export class Engagements { /** * Returns metadata for `Engagement` PATCHs. + * + * @example + * await merge.crm.engagements.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -388,10 +428,11 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -426,6 +467,9 @@ export class Engagements { /** * Returns metadata for `Engagement` POSTs. + * + * @example + * await merge.crm.engagements.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Engagements.RequestOptions): Promise { const _response = await core.fetcher({ @@ -442,10 +486,11 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -480,31 +525,34 @@ export class Engagements { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.engagements.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.EngagementsRemoteFieldClassesListRequest = {}, requestOptions?: Engagements.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -521,11 +569,12 @@ export class Engagements { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.ts index 862c4dbb..bacbf124 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * content: "Call for negotiation", + * subject: "Call from customer", + * startTime: new Date("2022-02-10T00:00:00.000Z"), + * endTime: new Date("2022-02-10T00:05:00.000Z") + * } + * } + */ export interface EngagementEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 076733bf..f2227cbc 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.EngagementsListRequestExpand.Account + * } + */ export interface EngagementsListRequest { /** * If provided, will only return objects created after this datetime. 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 e9b5f4fa..3eaf2856 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EngagementsRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts index e078e7d0..a7a06d15 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.EngagementsRetrieveRequestExpand.Account + * } + */ export interface EngagementsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.ts b/src/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.ts index 97445307..a8a7ad24 100644 --- a/src/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.ts +++ b/src/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.ts @@ -4,6 +4,20 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * content: "Call for negotiation", + * subject: "Call from customer", + * engagementType: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * startTime: new Date("2022-02-10T00:00:00.000Z"), + * endTime: new Date("2022-02-10T00:05:00.000Z"), + * account: "025fjlc6-6000-430a-848e-aafacbadf4fe" + * } + * } + */ export interface PatchedEngagementEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/engagements/index.ts b/src/api/resources/crm/resources/engagements/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/engagements/index.ts +++ b/src/api/resources/crm/resources/engagements/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/EngagementsListRequestExpand.ts b/src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/EngagementsListRequestExpand.ts rename to src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts diff --git a/src/api/resources/crm/types/EngagementsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/EngagementsRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/engagements/types/index.ts b/src/api/resources/crm/resources/engagements/types/index.ts new file mode 100644 index 00000000..742b3ef6 --- /dev/null +++ b/src/api/resources/crm/resources/engagements/types/index.ts @@ -0,0 +1,2 @@ +export * from "./EngagementsListRequestExpand"; +export * from "./EngagementsRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/forceResync/client/Client.ts b/src/api/resources/crm/resources/forceResync/client/Client.ts index f904bf96..eea90c65 100644 --- a/src/api/resources/crm/resources/forceResync/client/Client.ts +++ b/src/api/resources/crm/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.crm.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate(requestOptions?: ForceResync.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.forceResync.syncStatusResyncCreate.Response.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/generateKey/client/Client.ts b/src/api/resources/crm/resources/generateKey/client/Client.ts index 4879d1e1..5830c294 100644 --- a/src/api/resources/crm/resources/generateKey/client/Client.ts +++ b/src/api/resources/crm/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.crm.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.crm.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/crm/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/crm/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/crm/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/crm/resources/index.ts b/src/api/resources/crm/resources/index.ts index e74d06b1..7e911c69 100644 --- a/src/api/resources/crm/resources/index.ts +++ b/src/api/resources/crm/resources/index.ts @@ -1,31 +1,39 @@ +export * as contacts from "./contacts"; +export * from "./contacts/types"; +export * as engagements from "./engagements"; +export * from "./engagements/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as leads from "./leads"; +export * from "./leads/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as notes from "./notes"; +export * from "./notes/types"; +export * as opportunities from "./opportunities"; +export * from "./opportunities/types"; +export * as tasks from "./tasks"; +export * from "./tasks/types"; export * as accountDetails from "./accountDetails"; export * as accountToken from "./accountToken"; export * as accounts from "./accounts"; export * as asyncPassthrough from "./asyncPassthrough"; export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; -export * as contacts from "./contacts"; export * as customObjectClasses from "./customObjectClasses"; export * as associationTypes from "./associationTypes"; export * as customObjects from "./customObjects"; export * as associations from "./associations"; export * as deleteAccount from "./deleteAccount"; export * as engagementTypes from "./engagementTypes"; -export * as engagements from "./engagements"; export * as generateKey from "./generateKey"; -export * as issues from "./issues"; -export * as leads from "./leads"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; -export * as notes from "./notes"; -export * as opportunities from "./opportunities"; export * as passthrough from "./passthrough"; export * as regenerateKey from "./regenerateKey"; export * as selectiveSync from "./selectiveSync"; export * as stages from "./stages"; export * as syncStatus from "./syncStatus"; export * as forceResync from "./forceResync"; -export * as tasks from "./tasks"; export * as users from "./users"; export * as webhookReceivers from "./webhookReceivers"; export * from "./accounts/client/requests"; diff --git a/src/api/resources/crm/resources/issues/client/Client.ts b/src/api/resources/crm/resources/issues/client/Client.ts index b6523a93..b4be2cee 100644 --- a/src/api/resources/crm/resources/issues/client/Client.ts +++ b/src/api/resources/crm/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.crm.issues.list({ + * status: Merge.crm.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.crm.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.crm.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/crm/resources/issues/client/requests/IssuesListRequest.ts index b821f9b4..85ee4e37 100644 --- a/src/api/resources/crm/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/crm/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.crm.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.crm.IssuesListRequestStatus; } diff --git a/src/api/resources/crm/resources/issues/index.ts b/src/api/resources/crm/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/issues/index.ts +++ b/src/api/resources/crm/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/IssuesListRequestStatus.ts b/src/api/resources/crm/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/crm/types/IssuesListRequestStatus.ts rename to src/api/resources/crm/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/crm/resources/issues/types/index.ts b/src/api/resources/crm/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/crm/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/crm/resources/leads/client/Client.ts b/src/api/resources/crm/resources/leads/client/Client.ts index ddea8fb4..8708c329 100644 --- a/src/api/resources/crm/resources/leads/client/Client.ts +++ b/src/api/resources/crm/resources/leads/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Leads { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Leads { /** * Returns a list of `Lead` objects. + * + * @example + * await merge.crm.leads.list({ + * expand: Merge.crm.LeadsListRequestExpand.ConvertedAccount + * }) */ public async list( request: Merge.crm.LeadsListRequest = {}, @@ -50,69 +55,69 @@ export class Leads { phoneNumbers, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (convertedAccountId != null) { - _queryParams.append("converted_account_id", convertedAccountId); + _queryParams["converted_account_id"] = convertedAccountId; } if (convertedContactId != null) { - _queryParams.append("converted_contact_id", convertedContactId); + _queryParams["converted_contact_id"] = convertedContactId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (emailAddresses != null) { - _queryParams.append("email_addresses", emailAddresses); + _queryParams["email_addresses"] = emailAddresses; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (ownerId != null) { - _queryParams.append("owner_id", ownerId); + _queryParams["owner_id"] = ownerId; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (phoneNumbers != null) { - _queryParams.append("phone_numbers", phoneNumbers); + _queryParams["phone_numbers"] = phoneNumbers; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -129,11 +134,12 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedLeadList.parseOrThrow(_response.body, { @@ -168,19 +174,46 @@ export class Leads { /** * Creates a `Lead` object with the given values. + * + * @example + * await merge.crm.leads.create({ + * model: { + * leadSource: "API Blogger", + * title: "Co-Founder", + * company: "Merge API", + * firstName: "Gil", + * lastName: "Feig", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * convertedDate: new Date("2022-03-10T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.crm.LeadEndpointRequest, requestOptions?: Leads.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -197,12 +230,13 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, body: await serializers.crm.LeadEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.LeadResponse.parseOrThrow(_response.body, { @@ -237,6 +271,11 @@ export class Leads { /** * Returns a `Lead` object with the given `id`. + * + * @example + * await merge.crm.leads.retrieve("id", { + * expand: Merge.crm.LeadsRetrieveRequestExpand.ConvertedAccount + * }) */ public async retrieve( id: string, @@ -244,17 +283,17 @@ export class Leads { requestOptions?: Leads.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -271,11 +310,12 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Lead.parseOrThrow(_response.body, { @@ -310,6 +350,9 @@ export class Leads { /** * Returns metadata for `Lead` POSTs. + * + * @example + * await merge.crm.leads.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Leads.RequestOptions): Promise { const _response = await core.fetcher({ @@ -326,10 +369,11 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -364,31 +408,34 @@ export class Leads { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.leads.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.LeadsRemoteFieldClassesListRequest = {}, requestOptions?: Leads.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -405,11 +452,12 @@ export class Leads { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.ts index 2068cea1..ddb0dad5 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.ts @@ -4,6 +4,34 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * leadSource: "API Blogger", + * title: "Co-Founder", + * company: "Merge API", + * firstName: "Gil", + * lastName: "Feig", + * addresses: [{ + * street1: "50 Bowling Green Dr", + * street2: "Golden Gate Park", + * city: "San Francisco", + * state: "CA", + * postalCode: "94122" + * }], + * emailAddresses: [{ + * emailAddress: "merge_is_hiring@merge.dev", + * emailAddressType: "Work" + * }], + * phoneNumbers: [{ + * phoneNumber: "+3198675309", + * phoneNumberType: "Mobile" + * }], + * convertedDate: new Date("2022-03-10T00:00:00.000Z") + * } + * } + */ export interface LeadEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 47525690..2e094b92 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.LeadsListRequestExpand.ConvertedAccount + * } + */ export interface LeadsListRequest { /** * If provided, will only return leads with this account. 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 b217bc2b..cc57a7f0 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface LeadsRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts b/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts index 4a6eff7d..9de006b9 100644 --- a/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts +++ b/src/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.LeadsRetrieveRequestExpand.ConvertedAccount + * } + */ export interface LeadsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/leads/index.ts b/src/api/resources/crm/resources/leads/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/leads/index.ts +++ b/src/api/resources/crm/resources/leads/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/LeadsListRequestExpand.ts b/src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/LeadsListRequestExpand.ts rename to src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts diff --git a/src/api/resources/crm/types/LeadsRetrieveRequestExpand.ts b/src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/LeadsRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/leads/types/index.ts b/src/api/resources/crm/resources/leads/types/index.ts new file mode 100644 index 00000000..139d390d --- /dev/null +++ b/src/api/resources/crm/resources/leads/types/index.ts @@ -0,0 +1,2 @@ +export * from "./LeadsListRequestExpand"; +export * from "./LeadsRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/linkToken/client/Client.ts b/src/api/resources/crm/resources/linkToken/client/Client.ts index 6ac959c3..4f196595 100644 --- a/src/api/resources/crm/resources/linkToken/client/Client.ts +++ b/src/api/resources/crm/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,11 +46,12 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts index 65032a44..448de7df 100644 --- a/src/api/resources/crm/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/crm/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.crm.linkedAccounts.list({ + * category: Merge.crm.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.crm.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { 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 19043ce1..19c99b20 100644 --- a/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.crm.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.crm.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/crm/resources/linkedAccounts/index.ts b/src/api/resources/crm/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/linkedAccounts/index.ts +++ b/src/api/resources/crm/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/crm/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/crm/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/crm/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/crm/resources/linkedAccounts/types/index.ts b/src/api/resources/crm/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/crm/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/crm/resources/notes/client/Client.ts b/src/api/resources/crm/resources/notes/client/Client.ts index 0471c928..0978140d 100644 --- a/src/api/resources/crm/resources/notes/client/Client.ts +++ b/src/api/resources/crm/resources/notes/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Notes { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Notes { /** * Returns a list of `Note` objects. + * + * @example + * await merge.crm.notes.list({ + * expand: Merge.crm.NotesListRequestExpand.Account + * }) */ public async list( request: Merge.crm.NotesListRequest = {}, @@ -49,65 +54,65 @@ export class Notes { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountId != null) { - _queryParams.append("account_id", accountId); + _queryParams["account_id"] = accountId; } if (contactId != null) { - _queryParams.append("contact_id", contactId); + _queryParams["contact_id"] = contactId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (opportunityId != null) { - _queryParams.append("opportunity_id", opportunityId); + _queryParams["opportunity_id"] = opportunityId; } if (ownerId != null) { - _queryParams.append("owner_id", ownerId); + _queryParams["owner_id"] = ownerId; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -124,11 +129,12 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedNoteList.parseOrThrow(_response.body, { @@ -163,19 +169,26 @@ export class Notes { /** * Creates a `Note` object with the given values. + * + * @example + * await merge.crm.notes.create({ + * model: { + * content: "Merge is hiring!" + * } + * }) */ public async create( request: Merge.crm.NoteEndpointRequest, requestOptions?: Notes.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -192,12 +205,13 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, body: await serializers.crm.NoteEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.NoteResponse.parseOrThrow(_response.body, { @@ -232,6 +246,11 @@ export class Notes { /** * Returns a `Note` object with the given `id`. + * + * @example + * await merge.crm.notes.retrieve("id", { + * expand: Merge.crm.NotesRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -239,17 +258,17 @@ export class Notes { requestOptions?: Notes.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -266,11 +285,12 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Note.parseOrThrow(_response.body, { @@ -305,6 +325,9 @@ export class Notes { /** * Returns metadata for `Note` POSTs. + * + * @example + * await merge.crm.notes.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Notes.RequestOptions): Promise { const _response = await core.fetcher({ @@ -321,10 +344,11 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -359,31 +383,34 @@ export class Notes { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.notes.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.NotesRemoteFieldClassesListRequest = {}, requestOptions?: Notes.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -400,11 +427,12 @@ export class Notes { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.ts index eb33f330..f724bb4e 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * content: "Merge is hiring!" + * } + * } + */ export interface NoteEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 b8585d12..19cfc400 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.NotesListRequestExpand.Account + * } + */ export interface NotesListRequest { /** * If provided, will only return notes with this account. 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 fb279f52..ecc25ded 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface NotesRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts b/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts index b85fef89..4baeda38 100644 --- a/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.NotesRetrieveRequestExpand.Account + * } + */ export interface NotesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/notes/index.ts b/src/api/resources/crm/resources/notes/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/notes/index.ts +++ b/src/api/resources/crm/resources/notes/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/NotesListRequestExpand.ts b/src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/NotesListRequestExpand.ts rename to src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts diff --git a/src/api/resources/crm/types/NotesRetrieveRequestExpand.ts b/src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/NotesRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/notes/types/index.ts b/src/api/resources/crm/resources/notes/types/index.ts new file mode 100644 index 00000000..619a79b7 --- /dev/null +++ b/src/api/resources/crm/resources/notes/types/index.ts @@ -0,0 +1,2 @@ +export * from "./NotesListRequestExpand"; +export * from "./NotesRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/opportunities/client/Client.ts b/src/api/resources/crm/resources/opportunities/client/Client.ts index 798b8687..fea5e1a5 100644 --- a/src/api/resources/crm/resources/opportunities/client/Client.ts +++ b/src/api/resources/crm/resources/opportunities/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Opportunities { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Opportunities { /** * Returns a list of `Opportunity` objects. + * + * @example + * await merge.crm.opportunities.list({ + * expand: Merge.crm.OpportunitiesListRequestExpand.Account, + * remoteFields: "status", + * showEnumOrigins: "status", + * status: Merge.crm.OpportunitiesListRequestStatus.Lost + * }) */ public async list( request: Merge.crm.OpportunitiesListRequest = {}, @@ -51,73 +59,73 @@ export class Opportunities { stageId, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountId != null) { - _queryParams.append("account_id", accountId); + _queryParams["account_id"] = accountId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (ownerId != null) { - _queryParams.append("owner_id", ownerId); + _queryParams["owner_id"] = ownerId; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (stageId != null) { - _queryParams.append("stage_id", stageId); + _queryParams["stage_id"] = stageId; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -134,11 +142,12 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedOpportunityList.parseOrThrow(_response.body, { @@ -173,19 +182,30 @@ export class Opportunities { /** * Creates an `Opportunity` object with the given values. + * + * @example + * await merge.crm.opportunities.create({ + * model: { + * name: "Needs Integrations", + * description: "Needs a Unified API for Integrations!", + * amount: 100000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z"), + * closeDate: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.crm.OpportunityEndpointRequest, requestOptions?: Opportunities.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -202,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.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -210,6 +230,7 @@ export class Opportunities { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.OpportunityResponse.parseOrThrow(_response.body, { @@ -244,6 +265,13 @@ export class Opportunities { /** * Returns an `Opportunity` object with the given `id`. + * + * @example + * await merge.crm.opportunities.retrieve("id", { + * expand: Merge.crm.OpportunitiesRetrieveRequestExpand.Account, + * remoteFields: "status", + * showEnumOrigins: "status" + * }) */ public async retrieve( id: string, @@ -251,25 +279,25 @@ export class Opportunities { requestOptions?: Opportunities.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -286,11 +314,12 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Opportunity.parseOrThrow(_response.body, { @@ -325,6 +354,20 @@ export class Opportunities { /** * Updates an `Opportunity` object with the given `id`. + * + * @example + * await merge.crm.opportunities.partialUpdate("id", { + * model: { + * name: "Needs Integrations", + * description: "Needs a Unified API for Integrations!", + * amount: 100000, + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * stage: "1968cbc6-6040-430a-848e-aafacbadf4ad", + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z"), + * closeDate: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async partialUpdate( id: string, @@ -332,13 +375,13 @@ export class Opportunities { requestOptions?: Opportunities.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -355,7 +398,7 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -363,6 +406,7 @@ export class Opportunities { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.OpportunityResponse.parseOrThrow(_response.body, { @@ -397,6 +441,9 @@ export class Opportunities { /** * Returns metadata for `Opportunity` PATCHs. + * + * @example + * await merge.crm.opportunities.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -416,10 +463,11 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -454,6 +502,9 @@ export class Opportunities { /** * Returns metadata for `Opportunity` POSTs. + * + * @example + * await merge.crm.opportunities.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Opportunities.RequestOptions): Promise { const _response = await core.fetcher({ @@ -470,10 +521,11 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -508,31 +560,34 @@ export class Opportunities { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.opportunities.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.OpportunitiesRemoteFieldClassesListRequest = {}, requestOptions?: Opportunities.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -549,11 +604,12 @@ export class Opportunities { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 ab8b63c4..5245d4a9 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.OpportunitiesListRequestExpand.Account, + * remoteFields: "status", + * showEnumOrigins: "status", + * status: Merge.crm.OpportunitiesListRequestStatus.Lost + * } + */ export interface OpportunitiesListRequest { /** * If provided, will only return opportunities with this account. @@ -72,9 +81,9 @@ export interface OpportunitiesListRequest { /** * If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ status?: Merge.crm.OpportunitiesListRequestStatus; } 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 8cb9baf2..2cf5d1bd 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface OpportunitiesRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts index 7a2257bf..0fcd88ca 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.OpportunitiesRetrieveRequestExpand.Account, + * remoteFields: "status", + * showEnumOrigins: "status" + * } + */ export interface OpportunitiesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.ts index 774f9b82..a64150e6 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.ts @@ -4,6 +4,18 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Needs Integrations", + * description: "Needs a Unified API for Integrations!", + * amount: 100000, + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z"), + * closeDate: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface OpportunityEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.ts b/src/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.ts index 559bcb0b..5ae7caec 100644 --- a/src/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.ts +++ b/src/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.ts @@ -4,6 +4,21 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Needs Integrations", + * description: "Needs a Unified API for Integrations!", + * amount: 100000, + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * stage: "1968cbc6-6040-430a-848e-aafacbadf4ad", + * lastActivityAt: new Date("2022-02-10T00:00:00.000Z"), + * closeDate: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface PatchedOpportunityEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/opportunities/index.ts b/src/api/resources/crm/resources/opportunities/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/opportunities/index.ts +++ b/src/api/resources/crm/resources/opportunities/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/OpportunitiesListRequestExpand.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/OpportunitiesListRequestExpand.ts rename to src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts diff --git a/src/api/resources/crm/types/OpportunitiesListRequestStatus.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestStatus.ts similarity index 100% rename from src/api/resources/crm/types/OpportunitiesListRequestStatus.ts rename to src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestStatus.ts diff --git a/src/api/resources/crm/types/OpportunitiesRetrieveRequestExpand.ts b/src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/OpportunitiesRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/opportunities/types/index.ts b/src/api/resources/crm/resources/opportunities/types/index.ts new file mode 100644 index 00000000..0d6d5b6f --- /dev/null +++ b/src/api/resources/crm/resources/opportunities/types/index.ts @@ -0,0 +1,3 @@ +export * from "./OpportunitiesListRequestExpand"; +export * from "./OpportunitiesListRequestStatus"; +export * from "./OpportunitiesRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/passthrough/client/Client.ts b/src/api/resources/crm/resources/passthrough/client/Client.ts index 19f589c8..fdcfb857 100644 --- a/src/api/resources/crm/resources/passthrough/client/Client.ts +++ b/src/api/resources/crm/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/regenerateKey/client/Client.ts b/src/api/resources/crm/resources/regenerateKey/client/Client.ts index 3d1cb22d..a08d2084 100644 --- a/src/api/resources/crm/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/crm/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.crm.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.crm.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/crm/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/crm/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/crm/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/crm/resources/selectiveSync/client/Client.ts b/src/api/resources/crm/resources/selectiveSync/client/Client.ts index 7c93cc7f..3d9141d3 100644 --- a/src/api/resources/crm/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/crm/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.crm.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.selectiveSync.configurationsList.Response.parseOrThrow(_response.body, { @@ -83,6 +87,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.crm.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.crm.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -102,13 +113,14 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.selectiveSync.configurationsUpdate.Response.parseOrThrow(_response.body, { @@ -143,23 +155,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.crm.selectiveSync.metaList({}) */ public async metaList( request: Merge.crm.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -176,11 +191,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/crm/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index 15c15bd9..4334bae4 100644 --- a/src/api/resources/crm/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/crm/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.crm.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/crm/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/crm/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/crm/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/crm/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/crm/resources/stages/client/Client.ts b/src/api/resources/crm/resources/stages/client/Client.ts index a298a9b8..a959e30b 100644 --- a/src/api/resources/crm/resources/stages/client/Client.ts +++ b/src/api/resources/crm/resources/stages/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Stages { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Stages { /** * Returns a list of `Stage` objects. + * + * @example + * await merge.crm.stages.list({}) */ public async list( request: Merge.crm.StagesListRequest = {}, @@ -44,45 +47,45 @@ export class Stages { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedStageList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class Stages { /** * Returns a `Stage` object with the given `id`. + * + * @example + * await merge.crm.stages.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,13 +152,13 @@ export class Stages { requestOptions?: Stages.RequestOptions ): Promise { const { includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -168,11 +175,12 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Stage.parseOrThrow(_response.body, { @@ -207,31 +215,34 @@ export class Stages { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.stages.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.StagesRemoteFieldClassesListRequest = {}, requestOptions?: Stages.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -248,11 +259,12 @@ export class Stages { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 3c35cac2..a9bc780a 100644 --- a/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts +++ b/src/api/resources/crm/resources/stages/client/requests/StagesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface StagesListRequest { /** * If provided, will only return objects created after this datetime. 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 82161130..caaeddc0 100644 --- a/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface StagesRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.ts b/src/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.ts index 9a4b026b..ccf072d6 100644 --- a/src/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.ts +++ b/src/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface StagesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/crm/resources/syncStatus/client/Client.ts b/src/api/resources/crm/resources/syncStatus/client/Client.ts index 7ae7bf84..18e03852 100644 --- a/src/api/resources/crm/resources/syncStatus/client/Client.ts +++ b/src/api/resources/crm/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.crm.syncStatus.list({}) */ public async list( request: Merge.crm.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/tasks/client/Client.ts b/src/api/resources/crm/resources/tasks/client/Client.ts index d7a92393..070ab2df 100644 --- a/src/api/resources/crm/resources/tasks/client/Client.ts +++ b/src/api/resources/crm/resources/tasks/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Tasks { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Tasks { /** * Returns a list of `Task` objects. + * + * @example + * await merge.crm.tasks.list({ + * expand: Merge.crm.TasksListRequestExpand.Account + * }) */ public async list( request: Merge.crm.TasksListRequest = {}, @@ -45,49 +50,49 @@ export class Tasks { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedTaskList.parseOrThrow(_response.body, { @@ -143,19 +149,29 @@ export class Tasks { /** * Creates a `Task` object with the given values. + * + * @example + * await merge.crm.tasks.create({ + * model: { + * subject: "Contact about Integration Strategy", + * content: "Follow up to see whether they need integrations", + * completedDate: new Date("2022-02-11T00:00:00.000Z"), + * dueDate: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.crm.TaskEndpointRequest, requestOptions?: Tasks.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -172,12 +188,13 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, body: await serializers.crm.TaskEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.TaskResponse.parseOrThrow(_response.body, { @@ -212,6 +229,11 @@ export class Tasks { /** * Returns a `Task` object with the given `id`. + * + * @example + * await merge.crm.tasks.retrieve("id", { + * expand: Merge.crm.TasksRetrieveRequestExpand.Account + * }) */ public async retrieve( id: string, @@ -219,17 +241,17 @@ export class Tasks { requestOptions?: Tasks.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -246,11 +268,12 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.Task.parseOrThrow(_response.body, { @@ -285,6 +308,19 @@ export class Tasks { /** * Updates a `Task` object with the given `id`. + * + * @example + * await merge.crm.tasks.partialUpdate("id", { + * model: { + * subject: "Contact about Integration Strategy", + * content: "Follow up to see whether they need integrations", + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * account: "3fa85f64-5717-4562-b3fc-2c963f66afa6", + * opportunity: "03455bc6-6040-430a-848e-aafacbfdf4fg", + * completedDate: new Date("2022-02-11T00:00:00.000Z"), + * dueDate: new Date("2022-02-10T00:00:00.000Z") + * } + * }) */ public async partialUpdate( id: string, @@ -292,13 +328,13 @@ export class Tasks { requestOptions?: Tasks.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -315,7 +351,7 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -323,6 +359,7 @@ export class Tasks { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.TaskResponse.parseOrThrow(_response.body, { @@ -357,6 +394,9 @@ export class Tasks { /** * Returns metadata for `Task` PATCHs. + * + * @example + * await merge.crm.tasks.metaPatchRetrieve("id") */ public async metaPatchRetrieve(id: string, requestOptions?: Tasks.RequestOptions): Promise { const _response = await core.fetcher({ @@ -373,10 +413,11 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -411,6 +452,9 @@ export class Tasks { /** * Returns metadata for `Task` POSTs. + * + * @example + * await merge.crm.tasks.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Tasks.RequestOptions): Promise { const _response = await core.fetcher({ @@ -427,10 +471,11 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.MetaResponse.parseOrThrow(_response.body, { @@ -465,31 +510,34 @@ export class Tasks { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.tasks.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.TasksRemoteFieldClassesListRequest = {}, requestOptions?: Tasks.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -506,11 +554,12 @@ export class Tasks { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.ts index fc7a8162..531b21d9 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.ts @@ -4,6 +4,20 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * subject: "Contact about Integration Strategy", + * content: "Follow up to see whether they need integrations", + * owner: "0358cbc6-2040-430a-848e-aafacbadf3aa", + * account: "3fa85f64-5717-4562-b3fc-2c963f66afa6", + * opportunity: "03455bc6-6040-430a-848e-aafacbfdf4fg", + * completedDate: new Date("2022-02-11T00:00:00.000Z"), + * dueDate: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface PatchedTaskEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.ts index 3302f5fa..cb5c2952 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * subject: "Contact about Integration Strategy", + * content: "Follow up to see whether they need integrations", + * completedDate: new Date("2022-02-11T00:00:00.000Z"), + * dueDate: new Date("2022-02-10T00:00:00.000Z") + * } + * } + */ export interface TaskEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 89860dbc..a897143a 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.TasksListRequestExpand.Account + * } + */ export interface TasksListRequest { /** * If provided, will only return objects created after this datetime. 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 7961a6bb..79ab6dac 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TasksRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts b/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts index 18d0b507..861e582c 100644 --- a/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts +++ b/src/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.crm.TasksRetrieveRequestExpand.Account + * } + */ export interface TasksRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/crm/resources/tasks/index.ts b/src/api/resources/crm/resources/tasks/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/crm/resources/tasks/index.ts +++ b/src/api/resources/crm/resources/tasks/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/crm/types/TasksListRequestExpand.ts b/src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/TasksListRequestExpand.ts rename to src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts diff --git a/src/api/resources/crm/types/TasksRetrieveRequestExpand.ts b/src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/crm/types/TasksRetrieveRequestExpand.ts rename to src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts diff --git a/src/api/resources/crm/resources/tasks/types/index.ts b/src/api/resources/crm/resources/tasks/types/index.ts new file mode 100644 index 00000000..570802a1 --- /dev/null +++ b/src/api/resources/crm/resources/tasks/types/index.ts @@ -0,0 +1,2 @@ +export * from "./TasksListRequestExpand"; +export * from "./TasksRetrieveRequestExpand"; diff --git a/src/api/resources/crm/resources/users/client/Client.ts b/src/api/resources/crm/resources/users/client/Client.ts index bbdf668f..a77018b3 100644 --- a/src/api/resources/crm/resources/users/client/Client.ts +++ b/src/api/resources/crm/resources/users/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Users { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Users { /** * Returns a list of `User` objects. + * + * @example + * await merge.crm.users.list({}) */ public async list( request: Merge.crm.UsersListRequest = {}, @@ -44,45 +47,45 @@ export class Users { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedUserList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class Users { /** * Returns a `User` object with the given `id`. + * + * @example + * await merge.crm.users.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,13 +152,13 @@ export class Users { requestOptions?: Users.RequestOptions ): Promise { const { includeRemoteData, includeRemoteFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } const _response = await core.fetcher({ @@ -168,11 +175,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.User.parseOrThrow(_response.body, { @@ -207,6 +215,12 @@ export class Users { /** * Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. + * + * @example + * await merge.crm.users.ignoreCreate("model-id", { + * reason: Merge.crm.ReasonEnum.GeneralCustomerRequest, + * message: "deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39" + * }) */ public async ignoreCreate( modelId: string, @@ -227,13 +241,14 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; @@ -263,31 +278,34 @@ export class Users { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.crm.users.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.crm.UsersRemoteFieldClassesListRequest = {}, requestOptions?: Users.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -304,11 +322,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { 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 47e63213..c7dcdd02 100644 --- a/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/crm/resources/users/client/requests/UsersListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UsersListRequest { /** * If provided, will only return objects created after this datetime. 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 d9a6771b..d44a8f5a 100644 --- a/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts +++ b/src/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UsersRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.ts index 39e87218..9280fff3 100644 --- a/src/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.ts +++ b/src/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UsersRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/crm/resources/webhookReceivers/client/Client.ts b/src/api/resources/crm/resources/webhookReceivers/client/Client.ts index 5af08320..ebeb792d 100644 --- a/src/api/resources/crm/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/crm/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.crm.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.crm.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.crm.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/crm/types/Account.ts b/src/api/resources/crm/types/Account.ts index f98a1fb8..3d4231ca 100644 --- a/src/api/resources/crm/types/Account.ts +++ b/src/api/resources/crm/types/Account.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * The `Account` object is used to represent a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface Account { diff --git a/src/api/resources/crm/types/AccountDetailsAndActions.ts b/src/api/resources/crm/types/AccountDetailsAndActions.ts index c33f4455..4c06685f 100644 --- a/src/api/resources/crm/types/AccountDetailsAndActions.ts +++ b/src/api/resources/crm/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/crm/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/crm/types/AccountRequest.ts b/src/api/resources/crm/types/AccountRequest.ts index 709b1844..6a239ff7 100644 --- a/src/api/resources/crm/types/AccountRequest.ts +++ b/src/api/resources/crm/types/AccountRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * The `Account` object is used to represent a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface AccountRequest { diff --git a/src/api/resources/crm/types/ActivityTypeEnum.ts b/src/api/resources/crm/types/ActivityTypeEnum.ts index e1e0f1f1..899bd762 100644 --- a/src/api/resources/crm/types/ActivityTypeEnum.ts +++ b/src/api/resources/crm/types/ActivityTypeEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `CALL` - CALL - * * `MEETING` - MEETING - * * `EMAIL` - EMAIL + * - `CALL` - CALL + * - `MEETING` - MEETING + * - `EMAIL` - EMAIL */ export type ActivityTypeEnum = "CALL" | "MEETING" | "EMAIL"; diff --git a/src/api/resources/crm/types/Address.ts b/src/api/resources/crm/types/Address.ts index 6a20dae7..728bb392 100644 --- a/src/api/resources/crm/types/Address.ts +++ b/src/api/resources/crm/types/Address.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Address Object + * * ### Description + * * The `Address` object is used to represent an entity's address. + * * ### Usage Example + * * TODO */ export interface Address { @@ -25,262 +29,262 @@ export interface Address { /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ country?: Merge.crm.AddressCountry; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ addressType?: Merge.crm.AddressAddressType; createdAt?: Date; diff --git a/src/api/resources/crm/types/AddressAddressType.ts b/src/api/resources/crm/types/AddressAddressType.ts index 82904f8c..66126eab 100644 --- a/src/api/resources/crm/types/AddressAddressType.ts +++ b/src/api/resources/crm/types/AddressAddressType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressAddressType = Merge.crm.AddressTypeEnum | string; diff --git a/src/api/resources/crm/types/AddressCountry.ts b/src/api/resources/crm/types/AddressCountry.ts index 00e39e10..303a0939 100644 --- a/src/api/resources/crm/types/AddressCountry.ts +++ b/src/api/resources/crm/types/AddressCountry.ts @@ -7,254 +7,254 @@ import * as Merge from "../../.."; /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type AddressCountry = Merge.crm.CountryEnum | string; diff --git a/src/api/resources/crm/types/AddressRequest.ts b/src/api/resources/crm/types/AddressRequest.ts index bb04a005..91345588 100644 --- a/src/api/resources/crm/types/AddressRequest.ts +++ b/src/api/resources/crm/types/AddressRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Address Object + * * ### Description + * * The `Address` object is used to represent an entity's address. + * * ### Usage Example + * * TODO */ export interface AddressRequest { @@ -25,262 +29,262 @@ export interface AddressRequest { /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ country?: Merge.crm.AddressRequestCountry; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ addressType?: Merge.crm.AddressRequestAddressType; integrationParams?: Record; diff --git a/src/api/resources/crm/types/AddressRequestAddressType.ts b/src/api/resources/crm/types/AddressRequestAddressType.ts index 62d8d93f..1a95b03d 100644 --- a/src/api/resources/crm/types/AddressRequestAddressType.ts +++ b/src/api/resources/crm/types/AddressRequestAddressType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The address type. * - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressRequestAddressType = Merge.crm.AddressTypeEnum | string; diff --git a/src/api/resources/crm/types/AddressRequestCountry.ts b/src/api/resources/crm/types/AddressRequestCountry.ts index 18574865..5a1576aa 100644 --- a/src/api/resources/crm/types/AddressRequestCountry.ts +++ b/src/api/resources/crm/types/AddressRequestCountry.ts @@ -7,254 +7,254 @@ import * as Merge from "../../.."; /** * The address's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type AddressRequestCountry = Merge.crm.CountryEnum | string; diff --git a/src/api/resources/crm/types/AddressTypeEnum.ts b/src/api/resources/crm/types/AddressTypeEnum.ts index f746123e..29edf7b9 100644 --- a/src/api/resources/crm/types/AddressTypeEnum.ts +++ b/src/api/resources/crm/types/AddressTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `BILLING` - BILLING - * * `SHIPPING` - SHIPPING + * - `BILLING` - BILLING + * - `SHIPPING` - SHIPPING */ export type AddressTypeEnum = "BILLING" | "SHIPPING"; diff --git a/src/api/resources/crm/types/Association.ts b/src/api/resources/crm/types/Association.ts index b1810d70..7aade2bd 100644 --- a/src/api/resources/crm/types/Association.ts +++ b/src/api/resources/crm/types/Association.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Association Object + * * ### Description + * * The `Association` record refers to an instance of an Association Type. + * * ### Usage Example + * * TODO */ export interface Association { diff --git a/src/api/resources/crm/types/AssociationType.ts b/src/api/resources/crm/types/AssociationType.ts index 5d854ef8..b4405774 100644 --- a/src/api/resources/crm/types/AssociationType.ts +++ b/src/api/resources/crm/types/AssociationType.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The AssociationType Object + * * ### Description + * * The `Association Type` object represents the relationship between two objects. + * * ### Usage Example + * * TODO */ export interface AssociationType { diff --git a/src/api/resources/crm/types/AuditLogEvent.ts b/src/api/resources/crm/types/AuditLogEvent.ts index b3246cce..35971325 100644 --- a/src/api/resources/crm/types/AuditLogEvent.ts +++ b/src/api/resources/crm/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.crm.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.crm.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/crm/types/AuditLogEventEventType.ts b/src/api/resources/crm/types/AuditLogEventEventType.ts index 49b0674e..c2e116d0 100644 --- a/src/api/resources/crm/types/AuditLogEventEventType.ts +++ b/src/api/resources/crm/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.crm.EventTypeEnum | string; diff --git a/src/api/resources/crm/types/AuditLogEventRole.ts b/src/api/resources/crm/types/AuditLogEventRole.ts index c148fece..24be16ed 100644 --- a/src/api/resources/crm/types/AuditLogEventRole.ts +++ b/src/api/resources/crm/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.crm.RoleEnum | string; diff --git a/src/api/resources/crm/types/AvailableActions.ts b/src/api/resources/crm/types/AvailableActions.ts index 79494c14..269c4ad0 100644 --- a/src/api/resources/crm/types/AvailableActions.ts +++ b/src/api/resources/crm/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/crm/types/CardinalityEnum.ts b/src/api/resources/crm/types/CardinalityEnum.ts index a235bb62..9b028f6a 100644 --- a/src/api/resources/crm/types/CardinalityEnum.ts +++ b/src/api/resources/crm/types/CardinalityEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `ONE_TO_ONE` - ONE_TO_ONE - * * `MANY_TO_ONE` - MANY_TO_ONE - * * `MANY_TO_MANY` - MANY_TO_MANY - * * `ONE_TO_MANY` - ONE_TO_MANY + * - `ONE_TO_ONE` - ONE_TO_ONE + * - `MANY_TO_ONE` - MANY_TO_ONE + * - `MANY_TO_MANY` - MANY_TO_MANY + * - `ONE_TO_MANY` - ONE_TO_MANY */ export type CardinalityEnum = "ONE_TO_ONE" | "MANY_TO_ONE" | "MANY_TO_MANY" | "ONE_TO_MANY"; diff --git a/src/api/resources/crm/types/CategoriesEnum.ts b/src/api/resources/crm/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/crm/types/CategoriesEnum.ts +++ b/src/api/resources/crm/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/crm/types/CategoryEnum.ts b/src/api/resources/crm/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/crm/types/CategoryEnum.ts +++ b/src/api/resources/crm/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/crm/types/ConditionSchema.ts b/src/api/resources/crm/types/ConditionSchema.ts index 3a8c7ec2..ea7ae737 100644 --- a/src/api/resources/crm/types/ConditionSchema.ts +++ b/src/api/resources/crm/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.crm.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/crm/types/ConditionSchemaConditionType.ts b/src/api/resources/crm/types/ConditionSchemaConditionType.ts index 3c51d497..96acfefb 100644 --- a/src/api/resources/crm/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/crm/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.crm.ConditionTypeEnum | string; diff --git a/src/api/resources/crm/types/ConditionTypeEnum.ts b/src/api/resources/crm/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/crm/types/ConditionTypeEnum.ts +++ b/src/api/resources/crm/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/crm/types/Contact.ts b/src/api/resources/crm/types/Contact.ts index cdce6535..4980aea9 100644 --- a/src/api/resources/crm/types/Contact.ts +++ b/src/api/resources/crm/types/Contact.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * The `Contact` object is used to represent an existing point of contact at a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface Contact { diff --git a/src/api/resources/crm/types/ContactRequest.ts b/src/api/resources/crm/types/ContactRequest.ts index dc04246e..5e463b79 100644 --- a/src/api/resources/crm/types/ContactRequest.ts +++ b/src/api/resources/crm/types/ContactRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * The `Contact` object is used to represent an existing point of contact at a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface ContactRequest { diff --git a/src/api/resources/crm/types/CountryEnum.ts b/src/api/resources/crm/types/CountryEnum.ts index f5fc454d..e21e6bb7 100644 --- a/src/api/resources/crm/types/CountryEnum.ts +++ b/src/api/resources/crm/types/CountryEnum.ts @@ -3,255 +3,255 @@ */ /** - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type CountryEnum = | "AF" diff --git a/src/api/resources/crm/types/CustomObject.ts b/src/api/resources/crm/types/CustomObject.ts index 1488e4ba..94ceaf11 100644 --- a/src/api/resources/crm/types/CustomObject.ts +++ b/src/api/resources/crm/types/CustomObject.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The CustomObject Object + * * ### Description + * * The `Custom Object` record refers to an instance of a Custom Object Class. + * * ### Usage Example + * * TODO */ export interface CustomObject { diff --git a/src/api/resources/crm/types/CustomObjectClass.ts b/src/api/resources/crm/types/CustomObjectClass.ts index 567ae036..2768b6e8 100644 --- a/src/api/resources/crm/types/CustomObjectClass.ts +++ b/src/api/resources/crm/types/CustomObjectClass.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Custom Object Class Object + * * ### Description + * * The `Custom Object Class` object is used to represent a Custom Object Schema in the remote system. + * * ### Usage Example + * * TODO */ export interface CustomObjectClass { diff --git a/src/api/resources/crm/types/DataPassthroughRequest.ts b/src/api/resources/crm/types/DataPassthroughRequest.ts index d465dac7..1da33667 100644 --- a/src/api/resources/crm/types/DataPassthroughRequest.ts +++ b/src/api/resources/crm/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/crm/types/DirectionEnum.ts b/src/api/resources/crm/types/DirectionEnum.ts index c29d204d..a1ba673c 100644 --- a/src/api/resources/crm/types/DirectionEnum.ts +++ b/src/api/resources/crm/types/DirectionEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ export type DirectionEnum = "INBOUND" | "OUTBOUND"; diff --git a/src/api/resources/crm/types/EmailAddress.ts b/src/api/resources/crm/types/EmailAddress.ts index c9f3edf3..28f75dbd 100644 --- a/src/api/resources/crm/types/EmailAddress.ts +++ b/src/api/resources/crm/types/EmailAddress.ts @@ -4,9 +4,13 @@ /** * # The EmailAddress Object + * * ### Description + * * The `EmailAddress` object is used to represent an entity's email address. + * * ### Usage Example + * * Fetch from the `GET Contact` endpoint and view their email addresses. */ export interface EmailAddress { diff --git a/src/api/resources/crm/types/EmailAddressRequest.ts b/src/api/resources/crm/types/EmailAddressRequest.ts index 0154ca77..05e87453 100644 --- a/src/api/resources/crm/types/EmailAddressRequest.ts +++ b/src/api/resources/crm/types/EmailAddressRequest.ts @@ -4,9 +4,13 @@ /** * # The EmailAddress Object + * * ### Description + * * The `EmailAddress` object is used to represent an entity's email address. + * * ### Usage Example + * * Fetch from the `GET Contact` endpoint and view their email addresses. */ export interface EmailAddressRequest { diff --git a/src/api/resources/crm/types/EnabledActionsEnum.ts b/src/api/resources/crm/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/crm/types/EnabledActionsEnum.ts +++ b/src/api/resources/crm/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/crm/types/EncodingEnum.ts b/src/api/resources/crm/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/crm/types/EncodingEnum.ts +++ b/src/api/resources/crm/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/crm/types/Engagement.ts b/src/api/resources/crm/types/Engagement.ts index d9c71c6a..dffc0450 100644 --- a/src/api/resources/crm/types/Engagement.ts +++ b/src/api/resources/crm/types/Engagement.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Engagement Object + * * ### Description + * * The `Engagement` object is used to represent an interaction noted in a CRM system. + * * ### Usage Example + * * TODO */ export interface Engagement { @@ -21,8 +25,8 @@ export interface Engagement { /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ direction?: Merge.crm.EngagementDirection; /** The engagement type of the engagement. */ diff --git a/src/api/resources/crm/types/EngagementDirection.ts b/src/api/resources/crm/types/EngagementDirection.ts index 1db2abbb..59adb51d 100644 --- a/src/api/resources/crm/types/EngagementDirection.ts +++ b/src/api/resources/crm/types/EngagementDirection.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ export type EngagementDirection = Merge.crm.DirectionEnum | string; diff --git a/src/api/resources/crm/types/EngagementRequest.ts b/src/api/resources/crm/types/EngagementRequest.ts index 08c12518..b5de4329 100644 --- a/src/api/resources/crm/types/EngagementRequest.ts +++ b/src/api/resources/crm/types/EngagementRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Engagement Object + * * ### Description + * * The `Engagement` object is used to represent an interaction noted in a CRM system. + * * ### Usage Example + * * TODO */ export interface EngagementRequest { @@ -21,8 +25,8 @@ export interface EngagementRequest { /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ direction?: Merge.crm.EngagementRequestDirection; /** The engagement type of the engagement. */ diff --git a/src/api/resources/crm/types/EngagementRequestDirection.ts b/src/api/resources/crm/types/EngagementRequestDirection.ts index 56477d4f..dc5001c2 100644 --- a/src/api/resources/crm/types/EngagementRequestDirection.ts +++ b/src/api/resources/crm/types/EngagementRequestDirection.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ export type EngagementRequestDirection = Merge.crm.DirectionEnum | string; diff --git a/src/api/resources/crm/types/EngagementType.ts b/src/api/resources/crm/types/EngagementType.ts index 29b0481c..d977022a 100644 --- a/src/api/resources/crm/types/EngagementType.ts +++ b/src/api/resources/crm/types/EngagementType.ts @@ -6,18 +6,22 @@ import * as Merge from "../../.."; /** * # The Engagement Type Object + * * ### Description + * * The `Engagement Type` object is used to represent an interaction activity. A given `Engagement` typically has an `Engagement Type` object represented in the engagement_type field. + * * ### Usage Example + * * TODO */ export interface EngagementType { /** * The engagement type's activity type. * - * * `CALL` - CALL - * * `MEETING` - MEETING - * * `EMAIL` - EMAIL + * - `CALL` - CALL + * - `MEETING` - MEETING + * - `EMAIL` - EMAIL */ activityType?: Merge.crm.EngagementTypeActivityType; /** The engagement type's name. */ diff --git a/src/api/resources/crm/types/EngagementTypeActivityType.ts b/src/api/resources/crm/types/EngagementTypeActivityType.ts index 69c9ba10..aa722c05 100644 --- a/src/api/resources/crm/types/EngagementTypeActivityType.ts +++ b/src/api/resources/crm/types/EngagementTypeActivityType.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The engagement type's activity type. * - * * `CALL` - CALL - * * `MEETING` - MEETING - * * `EMAIL` - EMAIL + * - `CALL` - CALL + * - `MEETING` - MEETING + * - `EMAIL` - EMAIL */ export type EngagementTypeActivityType = Merge.crm.ActivityTypeEnum | string; diff --git a/src/api/resources/crm/types/EventTypeEnum.ts b/src/api/resources/crm/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/crm/types/EventTypeEnum.ts +++ b/src/api/resources/crm/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/crm/types/FieldFormatEnum.ts b/src/api/resources/crm/types/FieldFormatEnum.ts index 1d6e6486..a5b54cac 100644 --- a/src/api/resources/crm/types/FieldFormatEnum.ts +++ b/src/api/resources/crm/types/FieldFormatEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type FieldFormatEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/crm/types/FieldTypeEnum.ts b/src/api/resources/crm/types/FieldTypeEnum.ts index c027cba1..39ace397 100644 --- a/src/api/resources/crm/types/FieldTypeEnum.ts +++ b/src/api/resources/crm/types/FieldTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type FieldTypeEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/crm/types/Issue.ts b/src/api/resources/crm/types/Issue.ts index ec718868..5ade8240 100644 --- a/src/api/resources/crm/types/Issue.ts +++ b/src/api/resources/crm/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.crm.IssueStatus; errorDescription: string; diff --git a/src/api/resources/crm/types/IssueStatus.ts b/src/api/resources/crm/types/IssueStatus.ts index 4035f210..26c565a0 100644 --- a/src/api/resources/crm/types/IssueStatus.ts +++ b/src/api/resources/crm/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.crm.IssueStatusEnum | string; diff --git a/src/api/resources/crm/types/IssueStatusEnum.ts b/src/api/resources/crm/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/crm/types/IssueStatusEnum.ts +++ b/src/api/resources/crm/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/crm/types/ItemFormatEnum.ts b/src/api/resources/crm/types/ItemFormatEnum.ts index a0ad449f..efd0263b 100644 --- a/src/api/resources/crm/types/ItemFormatEnum.ts +++ b/src/api/resources/crm/types/ItemFormatEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - uuid - * * `number` - url - * * `date` - email - * * `datetime` - phone - * * `bool` - currency - * * `list` - decimal + * - `string` - uuid + * - `number` - url + * - `date` - email + * - `datetime` - phone + * - `bool` - currency + * - `list` - decimal */ export type ItemFormatEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/crm/types/ItemTypeEnum.ts b/src/api/resources/crm/types/ItemTypeEnum.ts index a8f098db..b2883ed8 100644 --- a/src/api/resources/crm/types/ItemTypeEnum.ts +++ b/src/api/resources/crm/types/ItemTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type ItemTypeEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/crm/types/Lead.ts b/src/api/resources/crm/types/Lead.ts index e6e5eefb..ca900c8c 100644 --- a/src/api/resources/crm/types/Lead.ts +++ b/src/api/resources/crm/types/Lead.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Lead Object + * * ### Description + * * The `Lead` object is used to represent an individual who is a potential customer. + * * ### Usage Example + * * TODO */ export interface Lead { diff --git a/src/api/resources/crm/types/LeadRequest.ts b/src/api/resources/crm/types/LeadRequest.ts index 531dea94..552fc31b 100644 --- a/src/api/resources/crm/types/LeadRequest.ts +++ b/src/api/resources/crm/types/LeadRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Lead Object + * * ### Description + * * The `Lead` object is used to represent an individual who is a potential customer. + * * ### Usage Example + * * TODO */ export interface LeadRequest { diff --git a/src/api/resources/crm/types/LinkedAccountCondition.ts b/src/api/resources/crm/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/crm/types/LinkedAccountCondition.ts +++ b/src/api/resources/crm/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/crm/types/MethodEnum.ts b/src/api/resources/crm/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/crm/types/MethodEnum.ts +++ b/src/api/resources/crm/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/crm/types/ModelOperation.ts b/src/api/resources/crm/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/crm/types/ModelOperation.ts +++ b/src/api/resources/crm/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/crm/types/MultipartFormFieldRequest.ts b/src/api/resources/crm/types/MultipartFormFieldRequest.ts index b5381fb4..c7850171 100644 --- a/src/api/resources/crm/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/crm/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.crm.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/crm/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/crm/types/MultipartFormFieldRequestEncoding.ts index 2e1dd01a..5f05fcae 100644 --- a/src/api/resources/crm/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/crm/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.crm.EncodingEnum | string; diff --git a/src/api/resources/crm/types/Note.ts b/src/api/resources/crm/types/Note.ts index 6cc2e991..d152b3d5 100644 --- a/src/api/resources/crm/types/Note.ts +++ b/src/api/resources/crm/types/Note.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Note Object + * * ### Description + * * The `Note` object is used to represent a note on another object. + * * ### Usage Example + * * TODO */ export interface Note { diff --git a/src/api/resources/crm/types/NoteRequest.ts b/src/api/resources/crm/types/NoteRequest.ts index 6ae69855..a3b99aee 100644 --- a/src/api/resources/crm/types/NoteRequest.ts +++ b/src/api/resources/crm/types/NoteRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Note Object + * * ### Description + * * The `Note` object is used to represent a note on another object. + * * ### Usage Example + * * TODO */ export interface NoteRequest { diff --git a/src/api/resources/crm/types/Opportunity.ts b/src/api/resources/crm/types/Opportunity.ts index 93e97ae9..5b63da10 100644 --- a/src/api/resources/crm/types/Opportunity.ts +++ b/src/api/resources/crm/types/Opportunity.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Opportunity Object + * * ### Description + * * The `Opportunity` object is used to represent a deal opportunity in a CRM system. + * * ### Usage Example + * * TODO */ export interface Opportunity { @@ -27,9 +31,9 @@ export interface Opportunity { /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ status?: Merge.crm.OpportunityStatus; /** When the opportunity's last activity occurred. */ diff --git a/src/api/resources/crm/types/OpportunityRequest.ts b/src/api/resources/crm/types/OpportunityRequest.ts index 4e9fec0c..feccc5fe 100644 --- a/src/api/resources/crm/types/OpportunityRequest.ts +++ b/src/api/resources/crm/types/OpportunityRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Opportunity Object + * * ### Description + * * The `Opportunity` object is used to represent a deal opportunity in a CRM system. + * * ### Usage Example + * * TODO */ export interface OpportunityRequest { @@ -27,9 +31,9 @@ export interface OpportunityRequest { /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ status?: Merge.crm.OpportunityRequestStatus; /** When the opportunity's last activity occurred. */ diff --git a/src/api/resources/crm/types/OpportunityRequestStatus.ts b/src/api/resources/crm/types/OpportunityRequestStatus.ts index f29c6f97..036f4427 100644 --- a/src/api/resources/crm/types/OpportunityRequestStatus.ts +++ b/src/api/resources/crm/types/OpportunityRequestStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ export type OpportunityRequestStatus = Merge.crm.OpportunityStatusEnum | string; diff --git a/src/api/resources/crm/types/OpportunityStatus.ts b/src/api/resources/crm/types/OpportunityStatus.ts index 830701e7..471a0209 100644 --- a/src/api/resources/crm/types/OpportunityStatus.ts +++ b/src/api/resources/crm/types/OpportunityStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ export type OpportunityStatus = Merge.crm.OpportunityStatusEnum | string; diff --git a/src/api/resources/crm/types/OpportunityStatusEnum.ts b/src/api/resources/crm/types/OpportunityStatusEnum.ts index 2ed3c0db..bbc59aa9 100644 --- a/src/api/resources/crm/types/OpportunityStatusEnum.ts +++ b/src/api/resources/crm/types/OpportunityStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ export type OpportunityStatusEnum = "OPEN" | "WON" | "LOST"; diff --git a/src/api/resources/crm/types/OriginTypeEnum.ts b/src/api/resources/crm/types/OriginTypeEnum.ts index 3356a4fc..c9bacdb7 100644 --- a/src/api/resources/crm/types/OriginTypeEnum.ts +++ b/src/api/resources/crm/types/OriginTypeEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `CUSTOM_OBJECT` - CUSTOM_OBJECT - * * `COMMON_MODEL` - COMMON_MODEL - * * `REMOTE_ONLY_MODEL` - REMOTE_ONLY_MODEL + * - `CUSTOM_OBJECT` - CUSTOM_OBJECT + * - `COMMON_MODEL` - COMMON_MODEL + * - `REMOTE_ONLY_MODEL` - REMOTE_ONLY_MODEL */ export type OriginTypeEnum = "CUSTOM_OBJECT" | "COMMON_MODEL" | "REMOTE_ONLY_MODEL"; diff --git a/src/api/resources/crm/types/PatchedAccountRequest.ts b/src/api/resources/crm/types/PatchedAccountRequest.ts index 8ae1a977..d3adaf13 100644 --- a/src/api/resources/crm/types/PatchedAccountRequest.ts +++ b/src/api/resources/crm/types/PatchedAccountRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * The `Account` object is used to represent a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface PatchedAccountRequest { diff --git a/src/api/resources/crm/types/PatchedContactRequest.ts b/src/api/resources/crm/types/PatchedContactRequest.ts index fa053631..18fc949b 100644 --- a/src/api/resources/crm/types/PatchedContactRequest.ts +++ b/src/api/resources/crm/types/PatchedContactRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * The `Contact` object is used to represent an existing point of contact at a company in a CRM system. + * * ### Usage Example + * * TODO */ export interface PatchedContactRequest { diff --git a/src/api/resources/crm/types/PatchedEngagementRequest.ts b/src/api/resources/crm/types/PatchedEngagementRequest.ts index 5d60804d..ac18f829 100644 --- a/src/api/resources/crm/types/PatchedEngagementRequest.ts +++ b/src/api/resources/crm/types/PatchedEngagementRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Engagement Object + * * ### Description + * * The `Engagement` object is used to represent an interaction noted in a CRM system. + * * ### Usage Example + * * TODO */ export interface PatchedEngagementRequest { @@ -21,8 +25,8 @@ export interface PatchedEngagementRequest { /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ direction?: Merge.crm.PatchedEngagementRequestDirection; /** The engagement type of the engagement. */ diff --git a/src/api/resources/crm/types/PatchedEngagementRequestDirection.ts b/src/api/resources/crm/types/PatchedEngagementRequestDirection.ts index 9c19fbab..0f12e601 100644 --- a/src/api/resources/crm/types/PatchedEngagementRequestDirection.ts +++ b/src/api/resources/crm/types/PatchedEngagementRequestDirection.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The engagement's direction. * - * * `INBOUND` - INBOUND - * * `OUTBOUND` - OUTBOUND + * - `INBOUND` - INBOUND + * - `OUTBOUND` - OUTBOUND */ export type PatchedEngagementRequestDirection = Merge.crm.DirectionEnum | string; diff --git a/src/api/resources/crm/types/PatchedOpportunityRequest.ts b/src/api/resources/crm/types/PatchedOpportunityRequest.ts index 0d71a8b8..8c0a7944 100644 --- a/src/api/resources/crm/types/PatchedOpportunityRequest.ts +++ b/src/api/resources/crm/types/PatchedOpportunityRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Opportunity Object + * * ### Description + * * The `Opportunity` object is used to represent a deal opportunity in a CRM system. + * * ### Usage Example + * * TODO */ export interface PatchedOpportunityRequest { @@ -27,9 +31,9 @@ export interface PatchedOpportunityRequest { /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ status?: Merge.crm.PatchedOpportunityRequestStatus; /** When the opportunity's last activity occurred. */ diff --git a/src/api/resources/crm/types/PatchedOpportunityRequestStatus.ts b/src/api/resources/crm/types/PatchedOpportunityRequestStatus.ts index 61eaa968..d0892b11 100644 --- a/src/api/resources/crm/types/PatchedOpportunityRequestStatus.ts +++ b/src/api/resources/crm/types/PatchedOpportunityRequestStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The opportunity's status. * - * * `OPEN` - OPEN - * * `WON` - WON - * * `LOST` - LOST + * - `OPEN` - OPEN + * - `WON` - WON + * - `LOST` - LOST */ export type PatchedOpportunityRequestStatus = Merge.crm.OpportunityStatusEnum | string; diff --git a/src/api/resources/crm/types/PatchedTaskRequest.ts b/src/api/resources/crm/types/PatchedTaskRequest.ts index 1ee2523e..3f9f25a3 100644 --- a/src/api/resources/crm/types/PatchedTaskRequest.ts +++ b/src/api/resources/crm/types/PatchedTaskRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Task Object + * * ### Description + * * The `Task` object is used to represent a task, such as a to-do item. + * * ### Usage Example + * * TODO */ export interface PatchedTaskRequest { @@ -29,8 +33,8 @@ export interface PatchedTaskRequest { /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ status?: Merge.crm.PatchedTaskRequestStatus; integrationParams?: Record; diff --git a/src/api/resources/crm/types/PatchedTaskRequestStatus.ts b/src/api/resources/crm/types/PatchedTaskRequestStatus.ts index a94660d8..5e557ff4 100644 --- a/src/api/resources/crm/types/PatchedTaskRequestStatus.ts +++ b/src/api/resources/crm/types/PatchedTaskRequestStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ export type PatchedTaskRequestStatus = Merge.crm.TaskStatusEnum | string; diff --git a/src/api/resources/crm/types/PhoneNumber.ts b/src/api/resources/crm/types/PhoneNumber.ts index 97f1f6e3..351cbb4f 100644 --- a/src/api/resources/crm/types/PhoneNumber.ts +++ b/src/api/resources/crm/types/PhoneNumber.ts @@ -4,9 +4,13 @@ /** * # The PhoneNumber Object + * * ### Description + * * The `PhoneNumber` object is used to represent an entity's phone number. + * * ### Usage Example + * * Fetch from the `GET Contact` endpoint and view their phone numbers. */ export interface PhoneNumber { diff --git a/src/api/resources/crm/types/PhoneNumberRequest.ts b/src/api/resources/crm/types/PhoneNumberRequest.ts index 54352669..d2b74c31 100644 --- a/src/api/resources/crm/types/PhoneNumberRequest.ts +++ b/src/api/resources/crm/types/PhoneNumberRequest.ts @@ -4,9 +4,13 @@ /** * # The PhoneNumber Object + * * ### Description + * * The `PhoneNumber` object is used to represent an entity's phone number. + * * ### Usage Example + * * Fetch from the `GET Contact` endpoint and view their phone numbers. */ export interface PhoneNumberRequest { diff --git a/src/api/resources/crm/types/ReasonEnum.ts b/src/api/resources/crm/types/ReasonEnum.ts index 13acd38b..28995e0a 100644 --- a/src/api/resources/crm/types/ReasonEnum.ts +++ b/src/api/resources/crm/types/ReasonEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * * `GDPR` - GDPR - * * `OTHER` - OTHER + * - `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST + * - `GDPR` - GDPR + * - `OTHER` - OTHER */ export type ReasonEnum = "GENERAL_CUSTOMER_REQUEST" | "GDPR" | "OTHER"; diff --git a/src/api/resources/crm/types/RemoteKey.ts b/src/api/resources/crm/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/crm/types/RemoteKey.ts +++ b/src/api/resources/crm/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/crm/types/RemoteResponse.ts b/src/api/resources/crm/types/RemoteResponse.ts index a0e4057d..02742100 100644 --- a/src/api/resources/crm/types/RemoteResponse.ts +++ b/src/api/resources/crm/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/crm/types/RequestFormatEnum.ts b/src/api/resources/crm/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/crm/types/RequestFormatEnum.ts +++ b/src/api/resources/crm/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/crm/types/ResponseTypeEnum.ts b/src/api/resources/crm/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/crm/types/ResponseTypeEnum.ts +++ b/src/api/resources/crm/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/crm/types/RoleEnum.ts b/src/api/resources/crm/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/crm/types/RoleEnum.ts +++ b/src/api/resources/crm/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/crm/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/crm/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/crm/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/crm/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/crm/types/Stage.ts b/src/api/resources/crm/types/Stage.ts index dfc54cf9..f8e57dbe 100644 --- a/src/api/resources/crm/types/Stage.ts +++ b/src/api/resources/crm/types/Stage.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Stage Object + * * ### Description + * * The `Stage` object is used to represent the stage of an opportunity. + * * ### Usage Example + * * TODO */ export interface Stage { diff --git a/src/api/resources/crm/types/SyncStatus.ts b/src/api/resources/crm/types/SyncStatus.ts index ca5d577f..2036fa3a 100644 --- a/src/api/resources/crm/types/SyncStatus.ts +++ b/src/api/resources/crm/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/crm/types/SyncStatusStatusEnum.ts b/src/api/resources/crm/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/crm/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/crm/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/crm/types/Task.ts b/src/api/resources/crm/types/Task.ts index ce8cb506..7c957c53 100644 --- a/src/api/resources/crm/types/Task.ts +++ b/src/api/resources/crm/types/Task.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Task Object + * * ### Description + * * The `Task` object is used to represent a task, such as a to-do item. + * * ### Usage Example + * * TODO */ export interface Task { @@ -29,8 +33,8 @@ export interface Task { /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ status?: Merge.crm.TaskStatus; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/crm/types/TaskRequest.ts b/src/api/resources/crm/types/TaskRequest.ts index cbb8c59e..af0417b7 100644 --- a/src/api/resources/crm/types/TaskRequest.ts +++ b/src/api/resources/crm/types/TaskRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Task Object + * * ### Description + * * The `Task` object is used to represent a task, such as a to-do item. + * * ### Usage Example + * * TODO */ export interface TaskRequest { @@ -29,8 +33,8 @@ export interface TaskRequest { /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ status?: Merge.crm.TaskRequestStatus; integrationParams?: Record; diff --git a/src/api/resources/crm/types/TaskRequestStatus.ts b/src/api/resources/crm/types/TaskRequestStatus.ts index ae7ed6f9..987be094 100644 --- a/src/api/resources/crm/types/TaskRequestStatus.ts +++ b/src/api/resources/crm/types/TaskRequestStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ export type TaskRequestStatus = Merge.crm.TaskStatusEnum | string; diff --git a/src/api/resources/crm/types/TaskStatus.ts b/src/api/resources/crm/types/TaskStatus.ts index 423a2033..297d7a90 100644 --- a/src/api/resources/crm/types/TaskStatus.ts +++ b/src/api/resources/crm/types/TaskStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The task's status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ export type TaskStatus = Merge.crm.TaskStatusEnum | string; diff --git a/src/api/resources/crm/types/TaskStatusEnum.ts b/src/api/resources/crm/types/TaskStatusEnum.ts index 48612904..9dae09d6 100644 --- a/src/api/resources/crm/types/TaskStatusEnum.ts +++ b/src/api/resources/crm/types/TaskStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED */ export type TaskStatusEnum = "OPEN" | "CLOSED"; diff --git a/src/api/resources/crm/types/User.ts b/src/api/resources/crm/types/User.ts index e1ec753f..fc1878a6 100644 --- a/src/api/resources/crm/types/User.ts +++ b/src/api/resources/crm/types/User.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The User Object + * * ### Description + * * The `User` object is used to represent a user with a login to the CRM system. + * * ### Usage Example + * * TODO */ export interface User { diff --git a/src/api/resources/crm/types/index.ts b/src/api/resources/crm/types/index.ts index 191dbf7c..d8030738 100644 --- a/src/api/resources/crm/types/index.ts +++ b/src/api/resources/crm/types/index.ts @@ -1,48 +1,31 @@ -export * from "./DataPassthroughRequest"; -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; -export * from "./IgnoreCommonModelRequest"; -export * from "./EngagementsListRequestExpand"; -export * from "./EngagementsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LeadsListRequestExpand"; -export * from "./LeadsRetrieveRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./NotesListRequestExpand"; -export * from "./NotesRetrieveRequestExpand"; -export * from "./OpportunitiesListRequestExpand"; -export * from "./OpportunitiesListRequestStatus"; -export * from "./OpportunitiesRetrieveRequestExpand"; -export * from "./TasksListRequestExpand"; -export * from "./TasksRetrieveRequestExpand"; -export * from "./Account"; export * from "./AccountOwner"; +export * from "./Account"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; -export * from "./AccountRequest"; export * from "./AccountRequestOwner"; +export * from "./AccountRequest"; export * from "./AccountToken"; export * from "./ActivityTypeEnum"; -export * from "./Address"; export * from "./AddressCountry"; export * from "./AddressAddressType"; -export * from "./AddressRequest"; +export * from "./Address"; export * from "./AddressRequestCountry"; export * from "./AddressRequestAddressType"; +export * from "./AddressRequest"; export * from "./AddressTypeEnum"; -export * from "./Association"; export * from "./AssociationAssociationType"; +export * from "./Association"; export * from "./AssociationSubType"; -export * from "./AssociationType"; export * from "./AssociationTypeCardinality"; +export * from "./AssociationType"; export * from "./AssociationTypeRequestRequest"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CrmAccountResponse"; export * from "./CrmAssociationTypeResponse"; @@ -52,19 +35,20 @@ export * from "./CardinalityEnum"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactAccount"; export * from "./ContactOwner"; -export * from "./ContactRequest"; +export * from "./Contact"; export * from "./ContactRequestAccount"; export * from "./ContactRequestOwner"; +export * from "./ContactRequest"; export * from "./CountryEnum"; export * from "./CustomObject"; export * from "./CustomObjectClass"; export * from "./CustomObjectRequest"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./DirectionEnum"; @@ -72,39 +56,40 @@ export * from "./EmailAddress"; export * from "./EmailAddressRequest"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; -export * from "./Engagement"; export * from "./EngagementOwner"; export * from "./EngagementDirection"; export * from "./EngagementEngagementType"; export * from "./EngagementAccount"; export * from "./EngagementContactsItem"; -export * from "./EngagementRequest"; +export * from "./Engagement"; export * from "./EngagementRequestOwner"; export * from "./EngagementRequestDirection"; export * from "./EngagementRequestEngagementType"; export * from "./EngagementRequestAccount"; export * from "./EngagementRequestContactsItem"; +export * from "./EngagementRequest"; export * from "./EngagementResponse"; -export * from "./EngagementType"; export * from "./EngagementTypeActivityType"; +export * from "./EngagementType"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./FieldFormatEnum"; export * from "./FieldTypeEnum"; -export * from "./Issue"; +export * from "./IgnoreCommonModelRequest"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; -export * from "./Lead"; export * from "./LeadOwner"; export * from "./LeadConvertedContact"; export * from "./LeadConvertedAccount"; -export * from "./LeadRequest"; +export * from "./Lead"; export * from "./LeadRequestOwner"; export * from "./LeadRequestConvertedContact"; export * from "./LeadRequestConvertedAccount"; +export * from "./LeadRequest"; export * from "./LeadResponse"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -115,31 +100,31 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; -export * from "./Note"; +export * from "./MultipartFormFieldRequest"; export * from "./NoteOwner"; export * from "./NoteContact"; export * from "./NoteAccount"; export * from "./NoteOpportunity"; -export * from "./NoteRequest"; +export * from "./Note"; export * from "./NoteRequestOwner"; export * from "./NoteRequestContact"; export * from "./NoteRequestAccount"; export * from "./NoteRequestOpportunity"; +export * from "./NoteRequest"; export * from "./NoteResponse"; export * from "./ObjectClassDescriptionRequest"; export * from "./OperatorSchema"; -export * from "./Opportunity"; export * from "./OpportunityOwner"; export * from "./OpportunityAccount"; export * from "./OpportunityStage"; export * from "./OpportunityStatus"; -export * from "./OpportunityRequest"; +export * from "./Opportunity"; export * from "./OpportunityRequestOwner"; export * from "./OpportunityRequestAccount"; export * from "./OpportunityRequestStage"; export * from "./OpportunityRequestStatus"; +export * from "./OpportunityRequest"; export * from "./OpportunityResponse"; export * from "./OpportunityStatusEnum"; export * from "./OriginTypeEnum"; @@ -164,31 +149,31 @@ export * from "./PaginatedSyncStatusList"; export * from "./PaginatedTaskList"; export * from "./PaginatedUserList"; export * from "./PatchedAccountRequest"; -export * from "./PatchedContactRequest"; export * from "./PatchedContactRequestOwner"; -export * from "./PatchedEngagementRequest"; +export * from "./PatchedContactRequest"; export * from "./PatchedEngagementRequestDirection"; -export * from "./PatchedOpportunityRequest"; +export * from "./PatchedEngagementRequest"; export * from "./PatchedOpportunityRequestStatus"; -export * from "./PatchedTaskRequest"; +export * from "./PatchedOpportunityRequest"; export * from "./PatchedTaskRequestStatus"; +export * from "./PatchedTaskRequest"; export * from "./PhoneNumber"; export * from "./PhoneNumberRequest"; export * from "./ReasonEnum"; export * from "./RemoteData"; -export * from "./RemoteField"; export * from "./RemoteFieldRemoteFieldClass"; -export * from "./RemoteFieldClass"; +export * from "./RemoteField"; export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassFieldFormat"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassForCustomObjectClass"; +export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassForCustomObjectClassFieldType"; export * from "./RemoteFieldClassForCustomObjectClassFieldFormat"; export * from "./RemoteFieldClassForCustomObjectClassFieldChoicesItem"; export * from "./RemoteFieldClassForCustomObjectClassItemSchema"; -export * from "./RemoteFieldRequest"; +export * from "./RemoteFieldClassForCustomObjectClass"; export * from "./RemoteFieldRequestRemoteFieldClass"; +export * from "./RemoteFieldRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; @@ -198,16 +183,16 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./Stage"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; -export * from "./Task"; export * from "./TaskOwner"; export * from "./TaskAccount"; export * from "./TaskOpportunity"; export * from "./TaskStatus"; -export * from "./TaskRequest"; +export * from "./Task"; export * from "./TaskRequestOwner"; export * from "./TaskRequestAccount"; export * from "./TaskRequestOpportunity"; export * from "./TaskRequestStatus"; +export * from "./TaskRequest"; export * from "./TaskResponse"; export * from "./TaskStatusEnum"; export * from "./User"; diff --git a/src/api/resources/filestorage/client/Client.ts b/src/api/resources/filestorage/client/Client.ts index e6b898c6..ac975aaa 100644 --- a/src/api/resources/filestorage/client/Client.ts +++ b/src/api/resources/filestorage/client/Client.ts @@ -35,6 +35,7 @@ export declare namespace Filestorage { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/filestorage/index.ts b/src/api/resources/filestorage/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/filestorage/index.ts +++ b/src/api/resources/filestorage/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts b/src/api/resources/filestorage/resources/accountDetails/client/Client.ts index 82804777..5c9f5e5d 100644 --- a/src/api/resources/filestorage/resources/accountDetails/client/Client.ts +++ b/src/api/resources/filestorage/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.filestorage.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/accountToken/client/Client.ts b/src/api/resources/filestorage/resources/accountToken/client/Client.ts index f8c54389..0a452162 100644 --- a/src/api/resources/filestorage/resources/accountToken/client/Client.ts +++ b/src/api/resources/filestorage/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts b/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts index c1ff69cb..3803fcc7 100644 --- a/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/filestorage/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.filestorage.asyncPassthrough.create({ + * method: Merge.filestorage.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.filestorage.RequestFormatEnum.Json + * }) */ public async create( request: Merge.filestorage.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts b/src/api/resources/filestorage/resources/auditTrail/client/Client.ts index cb9e0154..70c87aa1 100644 --- a/src/api/resources/filestorage/resources/auditTrail/client/Client.ts +++ b/src/api/resources/filestorage/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.filestorage.auditTrail.list({}) */ public async list( request: Merge.filestorage.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/filestorage/resources/availableActions/client/Client.ts b/src/api/resources/filestorage/resources/availableActions/client/Client.ts index e102a3a4..25353790 100644 --- a/src/api/resources/filestorage/resources/availableActions/client/Client.ts +++ b/src/api/resources/filestorage/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -44,10 +45,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts b/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts index 7e016cef..e95ed4d7 100644 --- a/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/filestorage/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.filestorage.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/filestorage/resources/drives/client/Client.ts b/src/api/resources/filestorage/resources/drives/client/Client.ts index fe76129d..4593a24a 100644 --- a/src/api/resources/filestorage/resources/drives/client/Client.ts +++ b/src/api/resources/filestorage/resources/drives/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Drives { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Drives { /** * Returns a list of `Drive` objects. + * + * @example + * await merge.filestorage.drives.list({}) */ public async list( request: Merge.filestorage.DrivesListRequest = {}, @@ -44,45 +47,45 @@ export class Drives { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (name != null) { - _queryParams.append("name", name); + _queryParams["name"] = name; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Drives { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedDriveList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class Drives { /** * Returns a `Drive` object with the given `id`. + * + * @example + * await merge.filestorage.drives.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,9 +152,9 @@ export class Drives { requestOptions?: Drives.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -164,11 +171,12 @@ export class Drives { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.Drive.parseOrThrow(_response.body, { 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 b0465120..b4afb44b 100644 --- a/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts +++ b/src/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DrivesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts b/src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts index 83b51008..66307fa4 100644 --- a/src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts +++ b/src/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DrivesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/filestorage/resources/files/client/Client.ts b/src/api/resources/filestorage/resources/files/client/Client.ts index 770ec55e..a729b996 100644 --- a/src/api/resources/filestorage/resources/files/client/Client.ts +++ b/src/api/resources/filestorage/resources/files/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -20,6 +19,7 @@ export declare namespace Files { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -28,6 +28,11 @@ export class Files { /** * Returns a list of `File` objects. + * + * @example + * await merge.filestorage.files.list({ + * expand: Merge.filestorage.FilesListRequestExpand.Drive + * }) */ public async list( request: Merge.filestorage.FilesListRequest = {}, @@ -48,57 +53,57 @@ export class Files { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (driveId != null) { - _queryParams.append("drive_id", driveId); + _queryParams["drive_id"] = driveId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (folderId != null) { - _queryParams.append("folder_id", folderId); + _queryParams["folder_id"] = folderId; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (name != null) { - _queryParams.append("name", name); + _queryParams["name"] = name; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -115,11 +120,12 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedFileList.parseOrThrow(_response.body, { @@ -154,19 +160,31 @@ export class Files { /** * Creates a `File` object with the given values. + * + * @example + * await merge.filestorage.files.create({ + * model: { + * name: "omg_common_model_scope.docx", + * fileUrl: "https://drive.com/1234", + * fileThumbnailUrl: "https://drive.com/1234/thumbnail.png", + * size: 254, + * mimeType: ".docx", + * description: "This file is OP" + * } + * }) */ public async create( request: Merge.filestorage.FileStorageFileEndpointRequest, requestOptions?: Files.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -183,7 +201,7 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -191,6 +209,7 @@ export class Files { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.FileStorageFileResponse.parseOrThrow(_response.body, { @@ -225,6 +244,11 @@ export class Files { /** * Returns a `File` object with the given `id`. + * + * @example + * await merge.filestorage.files.retrieve("id", { + * expand: Merge.filestorage.FilesRetrieveRequestExpand.Drive + * }) */ public async retrieve( id: string, @@ -232,13 +256,13 @@ export class Files { requestOptions?: Files.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -255,11 +279,12 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.File_.parseOrThrow(_response.body, { @@ -301,12 +326,12 @@ export class Files { requestOptions?: Files.RequestOptions ): Promise { const { mimeType } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (mimeType != null) { - _queryParams.append("mime_type", mimeType); + _queryParams["mime_type"] = mimeType; } - const _response = await core.streamingFetcher({ + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.MergeEnvironment.Production, `api/filestorage/v1/files/${id}/download` @@ -320,21 +345,45 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, + contentType: "application/json", queryParameters: _queryParams, + responseType: "streaming", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - onError: (error) => { + maxRetries: requestOptions?.maxRetries, + }); + if (_response.ok) { + return _response.body; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + + switch (_response.error.reason) { + case "non-json": throw new errors.MergeError({ - message: (error as any)?.message, + statusCode: _response.error.statusCode, + body: _response.error.rawBody, }); - }, - }); - return _response.data; + case "timeout": + throw new errors.MergeTimeoutError(); + case "unknown": + throw new errors.MergeError({ + message: _response.error.errorMessage, + }); + } } /** * Returns metadata for `FileStorageFile` POSTs. + * + * @example + * await merge.filestorage.files.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Files.RequestOptions): Promise { const _response = await core.fetcher({ @@ -351,10 +400,11 @@ export class Files { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts b/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts index 06896e13..0881e9e8 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts +++ b/src/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.ts @@ -4,6 +4,19 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "omg_common_model_scope.docx", + * fileUrl: "https://drive.com/1234", + * fileThumbnailUrl: "https://drive.com/1234/thumbnail.png", + * size: 254, + * mimeType: ".docx", + * description: "This file is OP" + * } + * } + */ export interface FileStorageFileEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 c8de0599..208fd2d1 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts +++ b/src/api/resources/filestorage/resources/files/client/requests/FilesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.filestorage.FilesListRequestExpand.Drive + * } + */ export interface FilesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts b/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts index 3c22769e..eec5e1c7 100644 --- a/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts +++ b/src/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.filestorage.FilesRetrieveRequestExpand.Drive + * } + */ export interface FilesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/filestorage/resources/files/index.ts b/src/api/resources/filestorage/resources/files/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/filestorage/resources/files/index.ts +++ b/src/api/resources/filestorage/resources/files/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/filestorage/types/FilesListRequestExpand.ts b/src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts similarity index 100% rename from src/api/resources/filestorage/types/FilesListRequestExpand.ts rename to src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts diff --git a/src/api/resources/filestorage/types/FilesRetrieveRequestExpand.ts b/src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/filestorage/types/FilesRetrieveRequestExpand.ts rename to src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts diff --git a/src/api/resources/filestorage/resources/files/types/index.ts b/src/api/resources/filestorage/resources/files/types/index.ts new file mode 100644 index 00000000..33359ae5 --- /dev/null +++ b/src/api/resources/filestorage/resources/files/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FilesListRequestExpand"; +export * from "./FilesRetrieveRequestExpand"; diff --git a/src/api/resources/filestorage/resources/folders/client/Client.ts b/src/api/resources/filestorage/resources/folders/client/Client.ts index ee17149e..47894269 100644 --- a/src/api/resources/filestorage/resources/folders/client/Client.ts +++ b/src/api/resources/filestorage/resources/folders/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Folders { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Folders { /** * Returns a list of `Folder` objects. + * + * @example + * await merge.filestorage.folders.list({ + * expand: Merge.filestorage.FoldersListRequestExpand.Drive + * }) */ public async list( request: Merge.filestorage.FoldersListRequest = {}, @@ -47,57 +52,57 @@ export class Folders { parentFolderId, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (driveId != null) { - _queryParams.append("drive_id", driveId); + _queryParams["drive_id"] = driveId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (name != null) { - _queryParams.append("name", name); + _queryParams["name"] = name; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (parentFolderId != null) { - _queryParams.append("parent_folder_id", parentFolderId); + _queryParams["parent_folder_id"] = parentFolderId; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedFolderList.parseOrThrow(_response.body, { @@ -153,19 +159,29 @@ export class Folders { /** * Creates a `Folder` object with the given values. + * + * @example + * await merge.filestorage.folders.create({ + * model: { + * name: "Platform", + * folderUrl: "https://drive.com/1234", + * size: 2738000, + * description: "This is a wild folder." + * } + * }) */ public async create( request: Merge.filestorage.FileStorageFolderEndpointRequest, requestOptions?: Folders.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -182,7 +198,7 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -190,6 +206,7 @@ export class Folders { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.FileStorageFolderResponse.parseOrThrow(_response.body, { @@ -224,6 +241,11 @@ export class Folders { /** * Returns a `Folder` object with the given `id`. + * + * @example + * await merge.filestorage.folders.retrieve("id", { + * expand: Merge.filestorage.FoldersRetrieveRequestExpand.Drive + * }) */ public async retrieve( id: string, @@ -231,13 +253,13 @@ export class Folders { requestOptions?: Folders.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -254,11 +276,12 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.Folder.parseOrThrow(_response.body, { @@ -293,6 +316,9 @@ export class Folders { /** * Returns metadata for `FileStorageFolder` POSTs. + * + * @example + * await merge.filestorage.folders.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Folders.RequestOptions): Promise { const _response = await core.fetcher({ @@ -309,10 +335,11 @@ export class Folders { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts b/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts index fdd7954d..ec15ca44 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts +++ b/src/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Platform", + * folderUrl: "https://drive.com/1234", + * size: 2738000, + * description: "This is a wild folder." + * } + * } + */ export interface FileStorageFolderEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 114442e7..2ff71b88 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts +++ b/src/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.filestorage.FoldersListRequestExpand.Drive + * } + */ export interface FoldersListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts b/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts index 1a5e731c..03a44953 100644 --- a/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts +++ b/src/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.filestorage.FoldersRetrieveRequestExpand.Drive + * } + */ export interface FoldersRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/filestorage/resources/folders/index.ts b/src/api/resources/filestorage/resources/folders/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/filestorage/resources/folders/index.ts +++ b/src/api/resources/filestorage/resources/folders/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/filestorage/types/FoldersListRequestExpand.ts b/src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts similarity index 100% rename from src/api/resources/filestorage/types/FoldersListRequestExpand.ts rename to src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts diff --git a/src/api/resources/filestorage/types/FoldersRetrieveRequestExpand.ts b/src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/filestorage/types/FoldersRetrieveRequestExpand.ts rename to src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts diff --git a/src/api/resources/filestorage/resources/folders/types/index.ts b/src/api/resources/filestorage/resources/folders/types/index.ts new file mode 100644 index 00000000..855f5754 --- /dev/null +++ b/src/api/resources/filestorage/resources/folders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FoldersListRequestExpand"; +export * from "./FoldersRetrieveRequestExpand"; diff --git a/src/api/resources/filestorage/resources/forceResync/client/Client.ts b/src/api/resources/filestorage/resources/forceResync/client/Client.ts index 09ad389a..0f8b86a7 100644 --- a/src/api/resources/filestorage/resources/forceResync/client/Client.ts +++ b/src/api/resources/filestorage/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.filestorage.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate( requestOptions?: ForceResync.RequestOptions @@ -44,10 +48,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.forceResync.syncStatusResyncCreate.Response.parseOrThrow( diff --git a/src/api/resources/filestorage/resources/generateKey/client/Client.ts b/src/api/resources/filestorage/resources/generateKey/client/Client.ts index 012477e4..8dd2d261 100644 --- a/src/api/resources/filestorage/resources/generateKey/client/Client.ts +++ b/src/api/resources/filestorage/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.filestorage.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.filestorage.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/filestorage/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/filestorage/resources/groups/client/Client.ts b/src/api/resources/filestorage/resources/groups/client/Client.ts index f721d361..1d5534a0 100644 --- a/src/api/resources/filestorage/resources/groups/client/Client.ts +++ b/src/api/resources/filestorage/resources/groups/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Groups { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Groups { /** * Returns a list of `Group` objects. + * + * @example + * await merge.filestorage.groups.list({}) */ public async list( request: Merge.filestorage.GroupsListRequest = {}, @@ -43,41 +46,41 @@ export class Groups { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedGroupList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Groups { /** * Returns a `Group` object with the given `id`. + * + * @example + * await merge.filestorage.groups.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Groups { requestOptions?: Groups.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.Group.parseOrThrow(_response.body, { 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 c9783526..1e306b51 100644 --- a/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface GroupsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts b/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts index a61226e5..9d624736 100644 --- a/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts +++ b/src/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface GroupsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/filestorage/resources/index.ts b/src/api/resources/filestorage/resources/index.ts index 14d3929a..b8504553 100644 --- a/src/api/resources/filestorage/resources/index.ts +++ b/src/api/resources/filestorage/resources/index.ts @@ -1,3 +1,11 @@ +export * as files from "./files"; +export * from "./files/types"; +export * as folders from "./folders"; +export * from "./folders/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; export * as accountDetails from "./accountDetails"; export * as accountToken from "./accountToken"; export * as asyncPassthrough from "./asyncPassthrough"; @@ -5,13 +13,9 @@ export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; export * as deleteAccount from "./deleteAccount"; export * as drives from "./drives"; -export * as files from "./files"; -export * as folders from "./folders"; export * as generateKey from "./generateKey"; export * as groups from "./groups"; -export * as issues from "./issues"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; export * as passthrough from "./passthrough"; export * as regenerateKey from "./regenerateKey"; export * as selectiveSync from "./selectiveSync"; diff --git a/src/api/resources/filestorage/resources/issues/client/Client.ts b/src/api/resources/filestorage/resources/issues/client/Client.ts index 616dc899..014267f7 100644 --- a/src/api/resources/filestorage/resources/issues/client/Client.ts +++ b/src/api/resources/filestorage/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.filestorage.issues.list({ + * status: Merge.filestorage.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.filestorage.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.filestorage.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts index add66771..82e77d5a 100644 --- a/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.filestorage.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.filestorage.IssuesListRequestStatus; } diff --git a/src/api/resources/filestorage/resources/issues/index.ts b/src/api/resources/filestorage/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/filestorage/resources/issues/index.ts +++ b/src/api/resources/filestorage/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/filestorage/types/IssuesListRequestStatus.ts b/src/api/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/filestorage/types/IssuesListRequestStatus.ts rename to src/api/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/filestorage/resources/issues/types/index.ts b/src/api/resources/filestorage/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/filestorage/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/filestorage/resources/linkToken/client/Client.ts b/src/api/resources/filestorage/resources/linkToken/client/Client.ts index 1f5908ab..438fdd81 100644 --- a/src/api/resources/filestorage/resources/linkToken/client/Client.ts +++ b/src/api/resources/filestorage/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts b/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts index 63f6262c..be9d56d1 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/filestorage/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.filestorage.linkedAccounts.list({ + * category: Merge.filestorage.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.filestorage.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { 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 de7fab2a..6980db5c 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.filestorage.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.filestorage.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/filestorage/resources/linkedAccounts/index.ts b/src/api/resources/filestorage/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/filestorage/resources/linkedAccounts/index.ts +++ b/src/api/resources/filestorage/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/filestorage/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/filestorage/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/filestorage/resources/linkedAccounts/types/index.ts b/src/api/resources/filestorage/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/filestorage/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/filestorage/resources/passthrough/client/Client.ts b/src/api/resources/filestorage/resources/passthrough/client/Client.ts index 1482f83c..1ae4139a 100644 --- a/src/api/resources/filestorage/resources/passthrough/client/Client.ts +++ b/src/api/resources/filestorage/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts b/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts index 930ec8b4..bb69fff8 100644 --- a/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/filestorage/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.filestorage.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.filestorage.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/filestorage/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/filestorage/resources/selectiveSync/client/Client.ts b/src/api/resources/filestorage/resources/selectiveSync/client/Client.ts index 04199d2a..23f1e07e 100644 --- a/src/api/resources/filestorage/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/filestorage/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.filestorage.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.selectiveSync.configurationsList.Response.parseOrThrow( @@ -86,6 +90,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.filestorage.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.filestorage.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -105,7 +116,7 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow( @@ -113,6 +124,7 @@ export class SelectiveSync { { unrecognizedObjectKeys: "strip" } ), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.selectiveSync.configurationsUpdate.Response.parseOrThrow( @@ -150,23 +162,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.filestorage.selectiveSync.metaList({}) */ public async metaList( request: Merge.filestorage.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -183,11 +198,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/filestorage/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index d69c2a7c..8560be36 100644 --- a/src/api/resources/filestorage/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/filestorage/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.filestorage.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/filestorage/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/filestorage/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/filestorage/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/filestorage/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts b/src/api/resources/filestorage/resources/syncStatus/client/Client.ts index a22a03e0..471f6ce6 100644 --- a/src/api/resources/filestorage/resources/syncStatus/client/Client.ts +++ b/src/api/resources/filestorage/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.filestorage.syncStatus.list({}) */ public async list( request: Merge.filestorage.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/filestorage/resources/users/client/Client.ts b/src/api/resources/filestorage/resources/users/client/Client.ts index faa0b741..0faa0c9a 100644 --- a/src/api/resources/filestorage/resources/users/client/Client.ts +++ b/src/api/resources/filestorage/resources/users/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Users { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Users { /** * Returns a list of `User` objects. + * + * @example + * await merge.filestorage.users.list({}) */ public async list( request: Merge.filestorage.UsersListRequest = {}, @@ -44,45 +47,45 @@ export class Users { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (isMe != null) { - _queryParams.append("is_me", isMe); + _queryParams["is_me"] = isMe; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.PaginatedUserList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class Users { /** * Returns a `User` object with the given `id`. + * + * @example + * await merge.filestorage.users.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,9 +152,9 @@ export class Users { requestOptions?: Users.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -164,11 +171,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.User.parseOrThrow(_response.body, { 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 f74041aa..eeac4134 100644 --- a/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/filestorage/resources/users/client/requests/UsersListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UsersListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts index 0fa1d44b..45d78ee9 100644 --- a/src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts +++ b/src/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface UsersRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts b/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts index cf889954..5160e17f 100644 --- a/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/filestorage/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.filestorage.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.filestorage.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.filestorage.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts b/src/api/resources/filestorage/types/AccountDetailsAndActions.ts index 0e8ffb95..fae9a757 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActions.ts +++ b/src/api/resources/filestorage/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/filestorage/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/filestorage/types/AuditLogEvent.ts b/src/api/resources/filestorage/types/AuditLogEvent.ts index 2c23b2ef..d22bd8a3 100644 --- a/src/api/resources/filestorage/types/AuditLogEvent.ts +++ b/src/api/resources/filestorage/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.filestorage.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.filestorage.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/filestorage/types/AuditLogEventEventType.ts b/src/api/resources/filestorage/types/AuditLogEventEventType.ts index ba45909a..82f479e0 100644 --- a/src/api/resources/filestorage/types/AuditLogEventEventType.ts +++ b/src/api/resources/filestorage/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.filestorage.EventTypeEnum | string; diff --git a/src/api/resources/filestorage/types/AuditLogEventRole.ts b/src/api/resources/filestorage/types/AuditLogEventRole.ts index ee3a8594..7916b984 100644 --- a/src/api/resources/filestorage/types/AuditLogEventRole.ts +++ b/src/api/resources/filestorage/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.filestorage.RoleEnum | string; diff --git a/src/api/resources/filestorage/types/AvailableActions.ts b/src/api/resources/filestorage/types/AvailableActions.ts index 84511a09..4e69a250 100644 --- a/src/api/resources/filestorage/types/AvailableActions.ts +++ b/src/api/resources/filestorage/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/filestorage/types/CategoriesEnum.ts b/src/api/resources/filestorage/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/filestorage/types/CategoriesEnum.ts +++ b/src/api/resources/filestorage/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/filestorage/types/CategoryEnum.ts b/src/api/resources/filestorage/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/filestorage/types/CategoryEnum.ts +++ b/src/api/resources/filestorage/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/filestorage/types/ConditionSchema.ts b/src/api/resources/filestorage/types/ConditionSchema.ts index d6b98f43..78793295 100644 --- a/src/api/resources/filestorage/types/ConditionSchema.ts +++ b/src/api/resources/filestorage/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.filestorage.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/filestorage/types/ConditionSchemaConditionType.ts b/src/api/resources/filestorage/types/ConditionSchemaConditionType.ts index 4ced7ce8..392bed9f 100644 --- a/src/api/resources/filestorage/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/filestorage/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.filestorage.ConditionTypeEnum | string; diff --git a/src/api/resources/filestorage/types/ConditionTypeEnum.ts b/src/api/resources/filestorage/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/filestorage/types/ConditionTypeEnum.ts +++ b/src/api/resources/filestorage/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/filestorage/types/DataPassthroughRequest.ts b/src/api/resources/filestorage/types/DataPassthroughRequest.ts index e766dc5d..b024e6cd 100644 --- a/src/api/resources/filestorage/types/DataPassthroughRequest.ts +++ b/src/api/resources/filestorage/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/filestorage/types/Drive.ts b/src/api/resources/filestorage/types/Drive.ts index 6811ef5c..f0d391fb 100644 --- a/src/api/resources/filestorage/types/Drive.ts +++ b/src/api/resources/filestorage/types/Drive.ts @@ -4,9 +4,13 @@ /** * # The Drive Object + * * ### Description + * * The `Drive` object is used to represent a drive that contains the folders and files in the user's workspace. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/drives` endpoint and view their drives. */ export interface Drive { diff --git a/src/api/resources/filestorage/types/EnabledActionsEnum.ts b/src/api/resources/filestorage/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/filestorage/types/EnabledActionsEnum.ts +++ b/src/api/resources/filestorage/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/filestorage/types/EncodingEnum.ts b/src/api/resources/filestorage/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/filestorage/types/EncodingEnum.ts +++ b/src/api/resources/filestorage/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/filestorage/types/EventTypeEnum.ts b/src/api/resources/filestorage/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/filestorage/types/EventTypeEnum.ts +++ b/src/api/resources/filestorage/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/filestorage/types/FileRequest.ts b/src/api/resources/filestorage/types/FileRequest.ts index 73a8fc78..7e08e0c2 100644 --- a/src/api/resources/filestorage/types/FileRequest.ts +++ b/src/api/resources/filestorage/types/FileRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The File Object + * * ### Description + * * The `File` object is used to represent a file in the workspace. The Object typically exists under a folder or drive, if it exists. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/files` endpoint and view their files. */ export interface FileRequest { diff --git a/src/api/resources/filestorage/types/File_.ts b/src/api/resources/filestorage/types/File_.ts index 1738deaa..14d20320 100644 --- a/src/api/resources/filestorage/types/File_.ts +++ b/src/api/resources/filestorage/types/File_.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The File Object + * * ### Description + * * The `File` object is used to represent a file in the workspace. The Object typically exists under a folder or drive, if it exists. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/files` endpoint and view their files. */ export interface File_ { diff --git a/src/api/resources/filestorage/types/Folder.ts b/src/api/resources/filestorage/types/Folder.ts index e31e8c39..396c6def 100644 --- a/src/api/resources/filestorage/types/Folder.ts +++ b/src/api/resources/filestorage/types/Folder.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Folder Object + * * ### Description + * * The `Folder` object is used to represent a collection of files and/or folders in the workspace. Could be within a drive, if it exists. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/folders` endpoint and view their folders. */ export interface Folder { diff --git a/src/api/resources/filestorage/types/FolderRequest.ts b/src/api/resources/filestorage/types/FolderRequest.ts index 97ca81a0..3af5cdfc 100644 --- a/src/api/resources/filestorage/types/FolderRequest.ts +++ b/src/api/resources/filestorage/types/FolderRequest.ts @@ -6,9 +6,13 @@ import * as Merge from "../../.."; /** * # The Folder Object + * * ### Description + * * The `Folder` object is used to represent a collection of files and/or folders in the workspace. Could be within a drive, if it exists. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/folders` endpoint and view their folders. */ export interface FolderRequest { diff --git a/src/api/resources/filestorage/types/Group.ts b/src/api/resources/filestorage/types/Group.ts index e4c781a7..ebe53c0c 100644 --- a/src/api/resources/filestorage/types/Group.ts +++ b/src/api/resources/filestorage/types/Group.ts @@ -4,9 +4,13 @@ /** * # The Group Object + * * ### Description + * * The `Group` object is used to represent any subset of `User`s. This can extend to company domains as well. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/groups` endpoint and view their groups. */ export interface Group { diff --git a/src/api/resources/filestorage/types/Issue.ts b/src/api/resources/filestorage/types/Issue.ts index 73e9d2a7..bb579230 100644 --- a/src/api/resources/filestorage/types/Issue.ts +++ b/src/api/resources/filestorage/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.filestorage.IssueStatus; errorDescription: string; diff --git a/src/api/resources/filestorage/types/IssueStatus.ts b/src/api/resources/filestorage/types/IssueStatus.ts index a9fe8303..3731f15e 100644 --- a/src/api/resources/filestorage/types/IssueStatus.ts +++ b/src/api/resources/filestorage/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.filestorage.IssueStatusEnum | string; diff --git a/src/api/resources/filestorage/types/IssueStatusEnum.ts b/src/api/resources/filestorage/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/filestorage/types/IssueStatusEnum.ts +++ b/src/api/resources/filestorage/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/filestorage/types/LinkedAccountCondition.ts b/src/api/resources/filestorage/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/filestorage/types/LinkedAccountCondition.ts +++ b/src/api/resources/filestorage/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/filestorage/types/MethodEnum.ts b/src/api/resources/filestorage/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/filestorage/types/MethodEnum.ts +++ b/src/api/resources/filestorage/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/filestorage/types/ModelOperation.ts b/src/api/resources/filestorage/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/filestorage/types/ModelOperation.ts +++ b/src/api/resources/filestorage/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts b/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts index 4f5f2cda..3468d3b7 100644 --- a/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/filestorage/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.filestorage.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts index 8ae75099..c3bf9f24 100644 --- a/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/filestorage/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.filestorage.EncodingEnum | string; diff --git a/src/api/resources/filestorage/types/Permission.ts b/src/api/resources/filestorage/types/Permission.ts index 06ca9d94..6c790e9a 100644 --- a/src/api/resources/filestorage/types/Permission.ts +++ b/src/api/resources/filestorage/types/Permission.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Permission Object + * * ### Description + * * The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. * * ### Usage Example + * * Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details. */ export interface Permission { @@ -23,10 +26,10 @@ export interface Permission { /** * Denotes what type of people have access to the file. * - * * `USER` - USER - * * `GROUP` - GROUP - * * `COMPANY` - COMPANY - * * `ANYONE` - ANYONE + * - `USER` - USER + * - `GROUP` - GROUP + * - `COMPANY` - COMPANY + * - `ANYONE` - ANYONE */ type?: Merge.filestorage.PermissionType; /** The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. */ diff --git a/src/api/resources/filestorage/types/PermissionRequest.ts b/src/api/resources/filestorage/types/PermissionRequest.ts index 56fad4d8..0e598d59 100644 --- a/src/api/resources/filestorage/types/PermissionRequest.ts +++ b/src/api/resources/filestorage/types/PermissionRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Permission Object + * * ### Description + * * The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. * * ### Usage Example + * * Fetch from the `GET Files` or `GET Folders` endpoint. Permissions are unexpanded by default. Use the query param `expand=permissions` to see more details. */ export interface PermissionRequest { @@ -22,10 +25,10 @@ export interface PermissionRequest { /** * Denotes what type of people have access to the file. * - * * `USER` - USER - * * `GROUP` - GROUP - * * `COMPANY` - COMPANY - * * `ANYONE` - ANYONE + * - `USER` - USER + * - `GROUP` - GROUP + * - `COMPANY` - COMPANY + * - `ANYONE` - ANYONE */ type?: Merge.filestorage.PermissionRequestType; /** The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. */ diff --git a/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts b/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts index f2101267..d3be4aed 100644 --- a/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts +++ b/src/api/resources/filestorage/types/PermissionRequestRolesItem.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The permissions that the user or group has for the File or Folder. * - * * `READ` - READ - * * `WRITE` - WRITE - * * `OWNER` - OWNER + * - `READ` - READ + * - `WRITE` - WRITE + * - `OWNER` - OWNER */ export type PermissionRequestRolesItem = Merge.filestorage.RolesEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionRequestType.ts b/src/api/resources/filestorage/types/PermissionRequestType.ts index a844141f..5b8e9e59 100644 --- a/src/api/resources/filestorage/types/PermissionRequestType.ts +++ b/src/api/resources/filestorage/types/PermissionRequestType.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * Denotes what type of people have access to the file. * - * * `USER` - USER - * * `GROUP` - GROUP - * * `COMPANY` - COMPANY - * * `ANYONE` - ANYONE + * - `USER` - USER + * - `GROUP` - GROUP + * - `COMPANY` - COMPANY + * - `ANYONE` - ANYONE */ export type PermissionRequestType = Merge.filestorage.TypeEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionRolesItem.ts b/src/api/resources/filestorage/types/PermissionRolesItem.ts index 3f773c87..9706b03d 100644 --- a/src/api/resources/filestorage/types/PermissionRolesItem.ts +++ b/src/api/resources/filestorage/types/PermissionRolesItem.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The permissions that the user or group has for the File or Folder. * - * * `READ` - READ - * * `WRITE` - WRITE - * * `OWNER` - OWNER + * - `READ` - READ + * - `WRITE` - WRITE + * - `OWNER` - OWNER */ export type PermissionRolesItem = Merge.filestorage.RolesEnum | string; diff --git a/src/api/resources/filestorage/types/PermissionType.ts b/src/api/resources/filestorage/types/PermissionType.ts index cc6846e9..500dc2e7 100644 --- a/src/api/resources/filestorage/types/PermissionType.ts +++ b/src/api/resources/filestorage/types/PermissionType.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * Denotes what type of people have access to the file. * - * * `USER` - USER - * * `GROUP` - GROUP - * * `COMPANY` - COMPANY - * * `ANYONE` - ANYONE + * - `USER` - USER + * - `GROUP` - GROUP + * - `COMPANY` - COMPANY + * - `ANYONE` - ANYONE */ export type PermissionType = Merge.filestorage.TypeEnum | string; diff --git a/src/api/resources/filestorage/types/RemoteKey.ts b/src/api/resources/filestorage/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/filestorage/types/RemoteKey.ts +++ b/src/api/resources/filestorage/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/filestorage/types/RemoteResponse.ts b/src/api/resources/filestorage/types/RemoteResponse.ts index 97669db2..7d60ed41 100644 --- a/src/api/resources/filestorage/types/RemoteResponse.ts +++ b/src/api/resources/filestorage/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/filestorage/types/RequestFormatEnum.ts b/src/api/resources/filestorage/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/filestorage/types/RequestFormatEnum.ts +++ b/src/api/resources/filestorage/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/filestorage/types/ResponseTypeEnum.ts b/src/api/resources/filestorage/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/filestorage/types/ResponseTypeEnum.ts +++ b/src/api/resources/filestorage/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/filestorage/types/RoleEnum.ts b/src/api/resources/filestorage/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/filestorage/types/RoleEnum.ts +++ b/src/api/resources/filestorage/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/filestorage/types/RolesEnum.ts b/src/api/resources/filestorage/types/RolesEnum.ts index 2462ed4d..92a52787 100644 --- a/src/api/resources/filestorage/types/RolesEnum.ts +++ b/src/api/resources/filestorage/types/RolesEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE - * * `OWNER` - OWNER + * - `READ` - READ + * - `WRITE` - WRITE + * - `OWNER` - OWNER */ export type RolesEnum = "READ" | "WRITE" | "OWNER"; diff --git a/src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/filestorage/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/filestorage/types/SyncStatus.ts b/src/api/resources/filestorage/types/SyncStatus.ts index 32a13ba1..479a3991 100644 --- a/src/api/resources/filestorage/types/SyncStatus.ts +++ b/src/api/resources/filestorage/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/filestorage/types/SyncStatusStatusEnum.ts b/src/api/resources/filestorage/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/filestorage/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/filestorage/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/filestorage/types/TypeEnum.ts b/src/api/resources/filestorage/types/TypeEnum.ts index d76a2578..6fc00f94 100644 --- a/src/api/resources/filestorage/types/TypeEnum.ts +++ b/src/api/resources/filestorage/types/TypeEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `USER` - USER - * * `GROUP` - GROUP - * * `COMPANY` - COMPANY - * * `ANYONE` - ANYONE + * - `USER` - USER + * - `GROUP` - GROUP + * - `COMPANY` - COMPANY + * - `ANYONE` - ANYONE */ export type TypeEnum = "USER" | "GROUP" | "COMPANY" | "ANYONE"; diff --git a/src/api/resources/filestorage/types/User.ts b/src/api/resources/filestorage/types/User.ts index ff6e2cfd..9f566eeb 100644 --- a/src/api/resources/filestorage/types/User.ts +++ b/src/api/resources/filestorage/types/User.ts @@ -4,9 +4,13 @@ /** * # The User Object + * * ### Description + * * The `User` object is used to represent a user within the File Storage account. + * * ### Usage Example + * * Fetch from the `GET /api/filestorage/v1/users` endpoint and view their users. */ export interface User { diff --git a/src/api/resources/filestorage/types/index.ts b/src/api/resources/filestorage/types/index.ts index 412d254a..ac1c9dd5 100644 --- a/src/api/resources/filestorage/types/index.ts +++ b/src/api/resources/filestorage/types/index.ts @@ -1,10 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./FilesListRequestExpand"; -export * from "./FilesRetrieveRequestExpand"; -export * from "./FoldersListRequestExpand"; -export * from "./FoldersRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; @@ -12,16 +5,17 @@ export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Drive"; @@ -29,31 +23,31 @@ export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; -export * from "./File_"; export * from "./FileFolder"; -export * from "./FilePermissions"; export * from "./FilePermissionsItem"; +export * from "./FilePermissions"; export * from "./FileDrive"; -export * from "./FileRequest"; +export * from "./File_"; export * from "./FileRequestFolder"; -export * from "./FileRequestPermissions"; export * from "./FileRequestPermissionsItem"; +export * from "./FileRequestPermissions"; export * from "./FileRequestDrive"; +export * from "./FileRequest"; export * from "./FileStorageFileResponse"; export * from "./FileStorageFolderResponse"; -export * from "./Folder"; export * from "./FolderParentFolder"; export * from "./FolderDrive"; -export * from "./FolderPermissions"; export * from "./FolderPermissionsItem"; -export * from "./FolderRequest"; +export * from "./FolderPermissions"; +export * from "./Folder"; export * from "./FolderRequestParentFolder"; export * from "./FolderRequestDrive"; -export * from "./FolderRequestPermissions"; export * from "./FolderRequestPermissionsItem"; +export * from "./FolderRequestPermissions"; +export * from "./FolderRequest"; export * from "./Group"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -64,8 +58,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; @@ -77,16 +71,16 @@ export * from "./PaginatedGroupList"; export * from "./PaginatedIssueList"; export * from "./PaginatedSyncStatusList"; export * from "./PaginatedUserList"; -export * from "./Permission"; export * from "./PermissionUser"; export * from "./PermissionGroup"; export * from "./PermissionType"; export * from "./PermissionRolesItem"; -export * from "./PermissionRequest"; +export * from "./Permission"; export * from "./PermissionRequestUser"; export * from "./PermissionRequestGroup"; export * from "./PermissionRequestType"; export * from "./PermissionRequestRolesItem"; +export * from "./PermissionRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; diff --git a/src/api/resources/hris/client/Client.ts b/src/api/resources/hris/client/Client.ts index a634983f..509ebd8b 100644 --- a/src/api/resources/hris/client/Client.ts +++ b/src/api/resources/hris/client/Client.ts @@ -46,6 +46,7 @@ export declare namespace Hris { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/hris/index.ts b/src/api/resources/hris/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/hris/index.ts +++ b/src/api/resources/hris/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/hris/resources/accountDetails/client/Client.ts b/src/api/resources/hris/resources/accountDetails/client/Client.ts index b5f6b50b..a352226d 100644 --- a/src/api/resources/hris/resources/accountDetails/client/Client.ts +++ b/src/api/resources/hris/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.hris.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/accountToken/client/Client.ts b/src/api/resources/hris/resources/accountToken/client/Client.ts index 14fa772e..1022ae45 100644 --- a/src/api/resources/hris/resources/accountToken/client/Client.ts +++ b/src/api/resources/hris/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts b/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts index 3e764dd3..5cfb5029 100644 --- a/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/hris/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.hris.asyncPassthrough.create({ + * method: Merge.hris.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.hris.RequestFormatEnum.Json + * }) */ public async create( request: Merge.hris.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/auditTrail/client/Client.ts b/src/api/resources/hris/resources/auditTrail/client/Client.ts index 76102d55..8d6afbf6 100644 --- a/src/api/resources/hris/resources/auditTrail/client/Client.ts +++ b/src/api/resources/hris/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.hris.auditTrail.list({}) */ public async list( request: Merge.hris.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/hris/resources/availableActions/client/Client.ts b/src/api/resources/hris/resources/availableActions/client/Client.ts index 19158528..0431b73c 100644 --- a/src/api/resources/hris/resources/availableActions/client/Client.ts +++ b/src/api/resources/hris/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -42,10 +43,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/bankInfo/client/Client.ts b/src/api/resources/hris/resources/bankInfo/client/Client.ts index e98f65d6..751d5cd8 100644 --- a/src/api/resources/hris/resources/bankInfo/client/Client.ts +++ b/src/api/resources/hris/resources/bankInfo/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace BankInfo { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,15 @@ export class BankInfo { /** * Returns a list of `BankInfo` objects. + * + * @example + * await merge.hris.bankInfo.list({ + * accountType: Merge.hris.BankInfoListRequestAccountType.Checking, + * expand: "employee", + * orderBy: Merge.hris.BankInfoListRequestOrderBy.RemoteCreatedAtDescending, + * remoteFields: "account_type", + * showEnumOrigins: "account_type" + * }) */ public async list( request: Merge.hris.BankInfoListRequest = {}, @@ -50,69 +59,69 @@ export class BankInfo { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountType != null) { - _queryParams.append("account_type", accountType); + _queryParams["account_type"] = accountType; } if (bankName != null) { - _queryParams.append("bank_name", bankName); + _queryParams["bank_name"] = bankName; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (orderBy != null) { - _queryParams.append("order_by", orderBy); + _queryParams["order_by"] = orderBy; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -129,11 +138,12 @@ export class BankInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedBankInfoList.parseOrThrow(_response.body, { @@ -168,6 +178,13 @@ export class BankInfo { /** * Returns a `BankInfo` object with the given `id`. + * + * @example + * await merge.hris.bankInfo.retrieve("id", { + * expand: "employee", + * remoteFields: "account_type", + * showEnumOrigins: "account_type" + * }) */ public async retrieve( id: string, @@ -175,21 +192,21 @@ export class BankInfo { requestOptions?: BankInfo.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -206,11 +223,12 @@ export class BankInfo { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.BankInfo.parseOrThrow(_response.body, { 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 deb63e16..2ef9b908 100644 --- a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts +++ b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.ts @@ -4,12 +4,22 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * accountType: Merge.hris.BankInfoListRequestAccountType.Checking, + * expand: "employee", + * orderBy: Merge.hris.BankInfoListRequestOrderBy.RemoteCreatedAtDescending, + * remoteFields: "account_type", + * showEnumOrigins: "account_type" + * } + */ export interface BankInfoListRequest { /** * If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING') * - * * `SAVINGS` - SAVINGS - * * `CHECKING` - CHECKING + * - `SAVINGS` - SAVINGS + * - `CHECKING` - CHECKING */ accountType?: Merge.hris.BankInfoListRequestAccountType; /** diff --git a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts index 3841281d..baa406d1 100644 --- a/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts +++ b/src/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "employee", + * remoteFields: "account_type", + * showEnumOrigins: "account_type" + * } + */ export interface BankInfoRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/bankInfo/index.ts b/src/api/resources/hris/resources/bankInfo/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/bankInfo/index.ts +++ b/src/api/resources/hris/resources/bankInfo/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/BankInfoListRequestAccountType.ts b/src/api/resources/hris/resources/bankInfo/types/BankInfoListRequestAccountType.ts similarity index 100% rename from src/api/resources/hris/types/BankInfoListRequestAccountType.ts rename to src/api/resources/hris/resources/bankInfo/types/BankInfoListRequestAccountType.ts diff --git a/src/api/resources/hris/types/BankInfoListRequestOrderBy.ts b/src/api/resources/hris/resources/bankInfo/types/BankInfoListRequestOrderBy.ts similarity index 100% rename from src/api/resources/hris/types/BankInfoListRequestOrderBy.ts rename to src/api/resources/hris/resources/bankInfo/types/BankInfoListRequestOrderBy.ts diff --git a/src/api/resources/hris/resources/bankInfo/types/index.ts b/src/api/resources/hris/resources/bankInfo/types/index.ts new file mode 100644 index 00000000..37136ecc --- /dev/null +++ b/src/api/resources/hris/resources/bankInfo/types/index.ts @@ -0,0 +1,2 @@ +export * from "./BankInfoListRequestAccountType"; +export * from "./BankInfoListRequestOrderBy"; diff --git a/src/api/resources/hris/resources/benefits/client/Client.ts b/src/api/resources/hris/resources/benefits/client/Client.ts index b452f4f3..e7d192aa 100644 --- a/src/api/resources/hris/resources/benefits/client/Client.ts +++ b/src/api/resources/hris/resources/benefits/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Benefits { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Benefits { /** * Returns a list of `Benefit` objects. + * + * @example + * await merge.hris.benefits.list({ + * expand: "employee" + * }) */ public async list( request: Merge.hris.BenefitsListRequest = {}, @@ -45,49 +50,49 @@ export class Benefits { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class Benefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedBenefitList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class Benefits { /** * Returns a `Benefit` object with the given `id`. + * + * @example + * await merge.hris.benefits.retrieve("id", { + * expand: "employee" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class Benefits { requestOptions?: Benefits.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class Benefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Benefit.parseOrThrow(_response.body, { 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 e17fe7c3..1f7d9985 100644 --- a/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts +++ b/src/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "employee" + * } + */ export interface BenefitsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts b/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts index ee6ddf60..c3f51413 100644 --- a/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "employee" + * } + */ export interface BenefitsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/companies/client/Client.ts b/src/api/resources/hris/resources/companies/client/Client.ts index 4abd2554..92a2183f 100644 --- a/src/api/resources/hris/resources/companies/client/Client.ts +++ b/src/api/resources/hris/resources/companies/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Companies { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Companies { /** * Returns a list of `Company` objects. + * + * @example + * await merge.hris.companies.list({}) */ public async list( request: Merge.hris.CompaniesListRequest = {}, @@ -43,41 +46,41 @@ export class Companies { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Companies { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedCompanyList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Companies { /** * Returns a `Company` object with the given `id`. + * + * @example + * await merge.hris.companies.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Companies { requestOptions?: Companies.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Companies { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Company.parseOrThrow(_response.body, { 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 fafebe1c..5a70e65d 100644 --- a/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts +++ b/src/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface CompaniesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.ts b/src/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.ts index 4f8aef8d..b6b3b31a 100644 --- a/src/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface CompaniesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/deleteAccount/client/Client.ts b/src/api/resources/hris/resources/deleteAccount/client/Client.ts index bea49a25..525eac8d 100644 --- a/src/api/resources/hris/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/hris/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.hris.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/hris/resources/dependents/client/Client.ts b/src/api/resources/hris/resources/dependents/client/Client.ts index ba4f1056..3b85d2a8 100644 --- a/src/api/resources/hris/resources/dependents/client/Client.ts +++ b/src/api/resources/hris/resources/dependents/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Dependents { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Dependents { /** * Returns a list of `Dependent` objects. + * + * @example + * await merge.hris.dependents.list({}) */ public async list( request: Merge.hris.DependentsListRequest = {}, @@ -44,45 +47,45 @@ export class Dependents { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeSensitiveFields != null) { - _queryParams.append("include_sensitive_fields", includeSensitiveFields.toString()); + _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +102,12 @@ export class Dependents { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedDependentList.parseOrThrow(_response.body, { @@ -138,6 +142,9 @@ export class Dependents { /** * Returns a `Dependent` object with the given `id`. + * + * @example + * await merge.hris.dependents.retrieve("id", {}) */ public async retrieve( id: string, @@ -145,13 +152,13 @@ export class Dependents { requestOptions?: Dependents.RequestOptions ): Promise { const { includeRemoteData, includeSensitiveFields } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeSensitiveFields != null) { - _queryParams.append("include_sensitive_fields", includeSensitiveFields.toString()); + _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } const _response = await core.fetcher({ @@ -168,11 +175,12 @@ export class Dependents { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Dependent.parseOrThrow(_response.body, { 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 94e362ee..a3981dc6 100644 --- a/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts +++ b/src/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DependentsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.ts b/src/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.ts index 70c9c5a6..6a73fae0 100644 --- a/src/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface DependentsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts index fecc19c3..c55e4fca 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace EmployeePayrollRuns { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class EmployeePayrollRuns { /** * Returns a list of `EmployeePayrollRun` objects. + * + * @example + * await merge.hris.employeePayrollRuns.list({ + * expand: Merge.hris.EmployeePayrollRunsListRequestExpand.Employee + * }) */ public async list( request: Merge.hris.EmployeePayrollRunsListRequest = {}, @@ -50,69 +55,69 @@ export class EmployeePayrollRuns { startedAfter, startedBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (endedAfter != null) { - _queryParams.append("ended_after", endedAfter.toISOString()); + _queryParams["ended_after"] = endedAfter.toISOString(); } if (endedBefore != null) { - _queryParams.append("ended_before", endedBefore.toISOString()); + _queryParams["ended_before"] = endedBefore.toISOString(); } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (payrollRunId != null) { - _queryParams.append("payroll_run_id", payrollRunId); + _queryParams["payroll_run_id"] = payrollRunId; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (startedAfter != null) { - _queryParams.append("started_after", startedAfter.toISOString()); + _queryParams["started_after"] = startedAfter.toISOString(); } if (startedBefore != null) { - _queryParams.append("started_before", startedBefore.toISOString()); + _queryParams["started_before"] = startedBefore.toISOString(); } const _response = await core.fetcher({ @@ -129,11 +134,12 @@ export class EmployeePayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedEmployeePayrollRunList.parseOrThrow(_response.body, { @@ -168,6 +174,11 @@ export class EmployeePayrollRuns { /** * Returns an `EmployeePayrollRun` object with the given `id`. + * + * @example + * await merge.hris.employeePayrollRuns.retrieve("id", { + * expand: Merge.hris.EmployeePayrollRunsRetrieveRequestExpand.Employee + * }) */ public async retrieve( id: string, @@ -175,13 +186,13 @@ export class EmployeePayrollRuns { requestOptions?: EmployeePayrollRuns.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -198,11 +209,12 @@ export class EmployeePayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.EmployeePayrollRun.parseOrThrow(_response.body, { 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 8dfbbb24..607ec1e6 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.EmployeePayrollRunsListRequestExpand.Employee + * } + */ export interface EmployeePayrollRunsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts index dc7061d8..e838e3a5 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.EmployeePayrollRunsRetrieveRequestExpand.Employee + * } + */ export interface EmployeePayrollRunsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/employeePayrollRuns/index.ts b/src/api/resources/hris/resources/employeePayrollRuns/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/employeePayrollRuns/index.ts +++ b/src/api/resources/hris/resources/employeePayrollRuns/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/EmployeePayrollRunsListRequestExpand.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmployeePayrollRunsListRequestExpand.ts rename to src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts diff --git a/src/api/resources/hris/types/EmployeePayrollRunsRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmployeePayrollRunsRetrieveRequestExpand.ts rename to src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts diff --git a/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts b/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts new file mode 100644 index 00000000..7adf1672 --- /dev/null +++ b/src/api/resources/hris/resources/employeePayrollRuns/types/index.ts @@ -0,0 +1,2 @@ +export * from "./EmployeePayrollRunsListRequestExpand"; +export * from "./EmployeePayrollRunsRetrieveRequestExpand"; diff --git a/src/api/resources/hris/resources/employees/client/Client.ts b/src/api/resources/hris/resources/employees/client/Client.ts index d644d069..141dfd7d 100644 --- a/src/api/resources/hris/resources/employees/client/Client.ts +++ b/src/api/resources/hris/resources/employees/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Employees { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Employees { /** * Returns a list of `Employee` objects. + * + * @example + * await merge.hris.employees.list({ + * employmentStatus: Merge.hris.EmployeesListRequestEmploymentStatus.Active, + * expand: Merge.hris.EmployeesListRequestExpand.Company, + * remoteFields: Merge.hris.EmployeesListRequestRemoteFields.EmploymentStatus, + * showEnumOrigins: Merge.hris.EmployeesListRequestShowEnumOrigins.EmploymentStatus + * }) */ public async list( request: Merge.hris.EmployeesListRequest = {}, @@ -66,133 +74,133 @@ export class Employees { workEmail, workLocationId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (companyId != null) { - _queryParams.append("company_id", companyId); + _queryParams["company_id"] = companyId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (displayFullName != null) { - _queryParams.append("display_full_name", displayFullName); + _queryParams["display_full_name"] = displayFullName; } if (employmentStatus != null) { - _queryParams.append("employment_status", employmentStatus); + _queryParams["employment_status"] = employmentStatus; } if (employmentType != null) { - _queryParams.append("employment_type", employmentType); + _queryParams["employment_type"] = employmentType; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (firstName != null) { - _queryParams.append("first_name", firstName); + _queryParams["first_name"] = firstName; } if (groups != null) { - _queryParams.append("groups", groups); + _queryParams["groups"] = groups; } if (homeLocationId != null) { - _queryParams.append("home_location_id", homeLocationId); + _queryParams["home_location_id"] = homeLocationId; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeSensitiveFields != null) { - _queryParams.append("include_sensitive_fields", includeSensitiveFields.toString()); + _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } if (jobTitle != null) { - _queryParams.append("job_title", jobTitle); + _queryParams["job_title"] = jobTitle; } if (lastName != null) { - _queryParams.append("last_name", lastName); + _queryParams["last_name"] = lastName; } if (managerId != null) { - _queryParams.append("manager_id", managerId); + _queryParams["manager_id"] = managerId; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (payGroupId != null) { - _queryParams.append("pay_group_id", payGroupId); + _queryParams["pay_group_id"] = payGroupId; } if (personalEmail != null) { - _queryParams.append("personal_email", personalEmail); + _queryParams["personal_email"] = personalEmail; } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (startedAfter != null) { - _queryParams.append("started_after", startedAfter.toISOString()); + _queryParams["started_after"] = startedAfter.toISOString(); } if (startedBefore != null) { - _queryParams.append("started_before", startedBefore.toISOString()); + _queryParams["started_before"] = startedBefore.toISOString(); } if (teamId != null) { - _queryParams.append("team_id", teamId); + _queryParams["team_id"] = teamId; } if (terminatedAfter != null) { - _queryParams.append("terminated_after", terminatedAfter.toISOString()); + _queryParams["terminated_after"] = terminatedAfter.toISOString(); } if (terminatedBefore != null) { - _queryParams.append("terminated_before", terminatedBefore.toISOString()); + _queryParams["terminated_before"] = terminatedBefore.toISOString(); } if (workEmail != null) { - _queryParams.append("work_email", workEmail); + _queryParams["work_email"] = workEmail; } if (workLocationId != null) { - _queryParams.append("work_location_id", workLocationId); + _queryParams["work_location_id"] = workLocationId; } const _response = await core.fetcher({ @@ -209,11 +217,12 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedEmployeeList.parseOrThrow(_response.body, { @@ -248,19 +257,40 @@ export class Employees { /** * Creates an `Employee` object with the given values. + * + * @example + * await merge.hris.employees.create({ + * model: { + * employeeNumber: "2", + * firstName: "Greg", + * lastName: "Hirsch", + * preferredName: "Greg the egg", + * displayFullName: "Cousin Greg Hirsch", + * username: "cousingreg", + * workEmail: "greg@merge.dev", + * personalEmail: "greg@gmail.com", + * mobilePhoneNumber: "+1234567890", + * ssn: "1234567890", + * dateOfBirth: new Date("1990-11-10T00:00:00.000Z"), + * hireDate: new Date("2020-10-10T00:00:00.000Z"), + * startDate: new Date("2020-10-11T00:00:00.000Z"), + * terminationDate: new Date("2021-10-12T00:00:00.000Z"), + * avatar: "http://alturl.com/h2h8m" + * } + * }) */ public async create( request: Merge.hris.EmployeeEndpointRequest, requestOptions?: Employees.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -277,7 +307,7 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -285,6 +315,7 @@ export class Employees { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.EmployeeResponse.parseOrThrow(_response.body, { @@ -319,6 +350,13 @@ export class Employees { /** * Returns an `Employee` object with the given `id`. + * + * @example + * await merge.hris.employees.retrieve("id", { + * expand: Merge.hris.EmployeesRetrieveRequestExpand.Company, + * remoteFields: Merge.hris.EmployeesRetrieveRequestRemoteFields.EmploymentStatus, + * showEnumOrigins: Merge.hris.EmployeesRetrieveRequestShowEnumOrigins.EmploymentStatus + * }) */ public async retrieve( id: string, @@ -326,25 +364,25 @@ export class Employees { requestOptions?: Employees.RequestOptions ): Promise { const { expand, includeRemoteData, includeSensitiveFields, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeSensitiveFields != null) { - _queryParams.append("include_sensitive_fields", includeSensitiveFields.toString()); + _queryParams["include_sensitive_fields"] = includeSensitiveFields.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -361,11 +399,12 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Employee.parseOrThrow(_response.body, { @@ -420,13 +459,14 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; @@ -456,6 +496,9 @@ export class Employees { /** * Returns metadata for `Employee` POSTs. + * + * @example + * await merge.hris.employees.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Employees.RequestOptions): Promise { const _response = await core.fetcher({ @@ -472,10 +515,11 @@ export class Employees { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.ts b/src/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.ts index 61c28b8b..d50e7822 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.ts @@ -4,6 +4,28 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * employeeNumber: "2", + * firstName: "Greg", + * lastName: "Hirsch", + * preferredName: "Greg the egg", + * displayFullName: "Cousin Greg Hirsch", + * username: "cousingreg", + * workEmail: "greg@merge.dev", + * personalEmail: "greg@gmail.com", + * mobilePhoneNumber: "+1234567890", + * ssn: "1234567890", + * dateOfBirth: new Date("1990-11-10T00:00:00.000Z"), + * hireDate: new Date("2020-10-10T00:00:00.000Z"), + * startDate: new Date("2020-10-11T00:00:00.000Z"), + * terminationDate: new Date("2021-10-12T00:00:00.000Z"), + * avatar: "http://alturl.com/h2h8m" + * } + * } + */ export interface EmployeeEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 9ed1b193..e45d3513 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * employmentStatus: Merge.hris.EmployeesListRequestEmploymentStatus.Active, + * expand: Merge.hris.EmployeesListRequestExpand.Company, + * remoteFields: Merge.hris.EmployeesListRequestRemoteFields.EmploymentStatus, + * showEnumOrigins: Merge.hris.EmployeesListRequestShowEnumOrigins.EmploymentStatus + * } + */ export interface EmployeesListRequest { /** * If provided, will only return employees for this company. @@ -28,9 +37,9 @@ export interface EmployeesListRequest { /** * If provided, will only return employees with this employment status. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ employmentStatus?: Merge.hris.EmployeesListRequestEmploymentStatus; /** diff --git a/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts b/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts index 820308ca..6427377b 100644 --- a/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.EmployeesRetrieveRequestExpand.Company, + * remoteFields: Merge.hris.EmployeesRetrieveRequestRemoteFields.EmploymentStatus, + * showEnumOrigins: Merge.hris.EmployeesRetrieveRequestShowEnumOrigins.EmploymentStatus + * } + */ export interface EmployeesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/employees/index.ts b/src/api/resources/hris/resources/employees/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/employees/index.ts +++ b/src/api/resources/hris/resources/employees/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/EmployeesListRequestEmploymentStatus.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestEmploymentStatus.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesListRequestEmploymentStatus.ts rename to src/api/resources/hris/resources/employees/types/EmployeesListRequestEmploymentStatus.ts diff --git a/src/api/resources/hris/types/EmployeesListRequestExpand.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesListRequestExpand.ts rename to src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts diff --git a/src/api/resources/hris/types/EmployeesListRequestRemoteFields.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesListRequestRemoteFields.ts rename to src/api/resources/hris/resources/employees/types/EmployeesListRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/EmployeesListRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/employees/types/EmployeesListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesListRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/employees/types/EmployeesListRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/types/EmployeesRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesRetrieveRequestExpand.ts rename to src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts diff --git a/src/api/resources/hris/types/EmployeesRetrieveRequestRemoteFields.ts b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesRetrieveRequestRemoteFields.ts rename to src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/EmployeesRetrieveRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/EmployeesRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts b/src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts similarity index 78% rename from src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts rename to src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts index 4fdf531b..71e11c25 100644 --- a/src/api/resources/hris/types/IgnoreCommonModelRequestReason.ts +++ b/src/api/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts @@ -2,6 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Merge from "../../.."; +import * as Merge from "../../../../.."; export type IgnoreCommonModelRequestReason = Merge.hris.ReasonEnum | string; diff --git a/src/api/resources/hris/resources/employees/types/index.ts b/src/api/resources/hris/resources/employees/types/index.ts new file mode 100644 index 00000000..86b6c680 --- /dev/null +++ b/src/api/resources/hris/resources/employees/types/index.ts @@ -0,0 +1,8 @@ +export * from "./EmployeesListRequestEmploymentStatus"; +export * from "./EmployeesListRequestExpand"; +export * from "./EmployeesListRequestRemoteFields"; +export * from "./EmployeesListRequestShowEnumOrigins"; +export * from "./EmployeesRetrieveRequestExpand"; +export * from "./EmployeesRetrieveRequestRemoteFields"; +export * from "./EmployeesRetrieveRequestShowEnumOrigins"; +export * from "./IgnoreCommonModelRequestReason"; diff --git a/src/api/resources/hris/resources/employerBenefits/client/Client.ts b/src/api/resources/hris/resources/employerBenefits/client/Client.ts index 9cfa5b2a..73a02704 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/Client.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace EmployerBenefits { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class EmployerBenefits { /** * Returns a list of `EmployerBenefit` objects. + * + * @example + * await merge.hris.employerBenefits.list({}) */ public async list( request: Merge.hris.EmployerBenefitsListRequest = {}, @@ -43,41 +46,41 @@ export class EmployerBenefits { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class EmployerBenefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedEmployerBenefitList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class EmployerBenefits { /** * Returns an `EmployerBenefit` object with the given `id`. + * + * @example + * await merge.hris.employerBenefits.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class EmployerBenefits { requestOptions?: EmployerBenefits.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class EmployerBenefits { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.EmployerBenefit.parseOrThrow(_response.body, { 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 3dfc7328..38b0e7ca 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EmployerBenefitsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.ts b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.ts index 14d654b1..9bc7b8df 100644 --- a/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface EmployerBenefitsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/employments/client/Client.ts b/src/api/resources/hris/resources/employments/client/Client.ts index a2aa561c..139c2eb5 100644 --- a/src/api/resources/hris/resources/employments/client/Client.ts +++ b/src/api/resources/hris/resources/employments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Employments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Employments { /** * Returns a list of `Employment` objects. + * + * @example + * await merge.hris.employments.list({ + * expand: Merge.hris.EmploymentsListRequestExpand.Employee, + * orderBy: Merge.hris.EmploymentsListRequestOrderBy.EffectiveDateDescending, + * remoteFields: Merge.hris.EmploymentsListRequestRemoteFields.EmploymentType, + * showEnumOrigins: Merge.hris.EmploymentsListRequestShowEnumOrigins.EmploymentType + * }) */ public async list( request: Merge.hris.EmploymentsListRequest = {}, @@ -48,61 +56,61 @@ export class Employments { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (orderBy != null) { - _queryParams.append("order_by", orderBy); + _queryParams["order_by"] = orderBy; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -119,11 +127,12 @@ export class Employments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedEmploymentList.parseOrThrow(_response.body, { @@ -158,6 +167,13 @@ export class Employments { /** * Returns an `Employment` object with the given `id`. + * + * @example + * await merge.hris.employments.retrieve("id", { + * expand: Merge.hris.EmploymentsRetrieveRequestExpand.Employee, + * remoteFields: Merge.hris.EmploymentsRetrieveRequestRemoteFields.EmploymentType, + * showEnumOrigins: Merge.hris.EmploymentsRetrieveRequestShowEnumOrigins.EmploymentType + * }) */ public async retrieve( id: string, @@ -165,21 +181,21 @@ export class Employments { requestOptions?: Employments.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -196,11 +212,12 @@ export class Employments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Employment.parseOrThrow(_response.body, { 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 7562af38..c10b39a6 100644 --- a/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts +++ b/src/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.EmploymentsListRequestExpand.Employee, + * orderBy: Merge.hris.EmploymentsListRequestOrderBy.EffectiveDateDescending, + * remoteFields: Merge.hris.EmploymentsListRequestRemoteFields.EmploymentType, + * showEnumOrigins: Merge.hris.EmploymentsListRequestShowEnumOrigins.EmploymentType + * } + */ export interface EmploymentsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts b/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts index a4d1873c..79342c01 100644 --- a/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.EmploymentsRetrieveRequestExpand.Employee, + * remoteFields: Merge.hris.EmploymentsRetrieveRequestRemoteFields.EmploymentType, + * showEnumOrigins: Merge.hris.EmploymentsRetrieveRequestShowEnumOrigins.EmploymentType + * } + */ export interface EmploymentsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/employments/index.ts b/src/api/resources/hris/resources/employments/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/employments/index.ts +++ b/src/api/resources/hris/resources/employments/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/EmploymentsListRequestExpand.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsListRequestExpand.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts diff --git a/src/api/resources/hris/types/EmploymentsListRequestOrderBy.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestOrderBy.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsListRequestOrderBy.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsListRequestOrderBy.ts diff --git a/src/api/resources/hris/types/EmploymentsListRequestRemoteFields.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsListRequestRemoteFields.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsListRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/EmploymentsListRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/employments/types/EmploymentsListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsListRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsListRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/types/EmploymentsRetrieveRequestExpand.ts b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsRetrieveRequestExpand.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts diff --git a/src/api/resources/hris/types/EmploymentsRetrieveRequestRemoteFields.ts b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsRetrieveRequestRemoteFields.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/EmploymentsRetrieveRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/EmploymentsRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/resources/employments/types/index.ts b/src/api/resources/hris/resources/employments/types/index.ts new file mode 100644 index 00000000..4d767a4f --- /dev/null +++ b/src/api/resources/hris/resources/employments/types/index.ts @@ -0,0 +1,7 @@ +export * from "./EmploymentsListRequestExpand"; +export * from "./EmploymentsListRequestOrderBy"; +export * from "./EmploymentsListRequestRemoteFields"; +export * from "./EmploymentsListRequestShowEnumOrigins"; +export * from "./EmploymentsRetrieveRequestExpand"; +export * from "./EmploymentsRetrieveRequestRemoteFields"; +export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/hris/resources/forceResync/client/Client.ts b/src/api/resources/hris/resources/forceResync/client/Client.ts index b4ffd28b..d6cc2304 100644 --- a/src/api/resources/hris/resources/forceResync/client/Client.ts +++ b/src/api/resources/hris/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.hris.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate(requestOptions?: ForceResync.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.forceResync.syncStatusResyncCreate.Response.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/generateKey/client/Client.ts b/src/api/resources/hris/resources/generateKey/client/Client.ts index bfaefed6..055db0cd 100644 --- a/src/api/resources/hris/resources/generateKey/client/Client.ts +++ b/src/api/resources/hris/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.hris.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.hris.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/hris/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/hris/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/hris/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/hris/resources/groups/client/Client.ts b/src/api/resources/hris/resources/groups/client/Client.ts index 28203b3c..5744ae11 100644 --- a/src/api/resources/hris/resources/groups/client/Client.ts +++ b/src/api/resources/hris/resources/groups/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Groups { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,12 @@ export class Groups { /** * Returns a list of `Group` objects. + * + * @example + * await merge.hris.groups.list({ + * remoteFields: "type", + * showEnumOrigins: "type" + * }) */ public async list( request: Merge.hris.GroupsListRequest = {}, @@ -46,53 +52,53 @@ export class Groups { showEnumOrigins, types, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (types != null) { - _queryParams.append("types", types); + _queryParams["types"] = types; } const _response = await core.fetcher({ @@ -109,11 +115,12 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedGroupList.parseOrThrow(_response.body, { @@ -148,6 +155,12 @@ export class Groups { /** * Returns a `Group` object with the given `id`. + * + * @example + * await merge.hris.groups.retrieve("id", { + * remoteFields: "type", + * showEnumOrigins: "type" + * }) */ public async retrieve( id: string, @@ -155,17 +168,17 @@ export class Groups { requestOptions?: Groups.RequestOptions ): Promise { const { includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -182,11 +195,12 @@ export class Groups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Group.parseOrThrow(_response.body, { 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 db30a9f5..884bc48e 100644 --- a/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts +++ b/src/api/resources/hris/resources/groups/client/requests/GroupsListRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "type", + * showEnumOrigins: "type" + * } + */ export interface GroupsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.ts b/src/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.ts index 96db0d0a..b63ab1a3 100644 --- a/src/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "type", + * showEnumOrigins: "type" + * } + */ export interface GroupsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/index.ts b/src/api/resources/hris/resources/index.ts index 673fb031..33a29c23 100644 --- a/src/api/resources/hris/resources/index.ts +++ b/src/api/resources/hris/resources/index.ts @@ -1,34 +1,45 @@ +export * as bankInfo from "./bankInfo"; +export * from "./bankInfo/types"; +export * as employeePayrollRuns from "./employeePayrollRuns"; +export * from "./employeePayrollRuns/types"; +export * as employees from "./employees"; +export * from "./employees/types"; +export * as employments from "./employments"; +export * from "./employments/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as locations from "./locations"; +export * from "./locations/types"; +export * as payrollRuns from "./payrollRuns"; +export * from "./payrollRuns/types"; +export * as timeOff from "./timeOff"; +export * from "./timeOff/types"; +export * as timeOffBalances from "./timeOffBalances"; +export * from "./timeOffBalances/types"; +export * as timesheetEntries from "./timesheetEntries"; +export * from "./timesheetEntries/types"; export * as accountDetails from "./accountDetails"; export * as accountToken from "./accountToken"; export * as asyncPassthrough from "./asyncPassthrough"; export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; -export * as bankInfo from "./bankInfo"; export * as benefits from "./benefits"; export * as companies from "./companies"; export * as deleteAccount from "./deleteAccount"; export * as dependents from "./dependents"; -export * as employeePayrollRuns from "./employeePayrollRuns"; -export * as employees from "./employees"; export * as employerBenefits from "./employerBenefits"; -export * as employments from "./employments"; export * as generateKey from "./generateKey"; export * as groups from "./groups"; -export * as issues from "./issues"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; -export * as locations from "./locations"; export * as passthrough from "./passthrough"; export * as payGroups from "./payGroups"; -export * as payrollRuns from "./payrollRuns"; export * as regenerateKey from "./regenerateKey"; export * as selectiveSync from "./selectiveSync"; export * as syncStatus from "./syncStatus"; export * as forceResync from "./forceResync"; export * as teams from "./teams"; -export * as timeOff from "./timeOff"; -export * as timeOffBalances from "./timeOffBalances"; -export * as timesheetEntries from "./timesheetEntries"; export * as webhookReceivers from "./webhookReceivers"; export * from "./auditTrail/client/requests"; export * from "./bankInfo/client/requests"; diff --git a/src/api/resources/hris/resources/issues/client/Client.ts b/src/api/resources/hris/resources/issues/client/Client.ts index e4ce4132..d9c636ee 100644 --- a/src/api/resources/hris/resources/issues/client/Client.ts +++ b/src/api/resources/hris/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.hris.issues.list({ + * status: Merge.hris.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.hris.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.hris.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts index 19b3f4fe..04f5f50d 100644 --- a/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/hris/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.hris.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.hris.IssuesListRequestStatus; } diff --git a/src/api/resources/hris/resources/issues/index.ts b/src/api/resources/hris/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/issues/index.ts +++ b/src/api/resources/hris/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/IssuesListRequestStatus.ts b/src/api/resources/hris/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/hris/types/IssuesListRequestStatus.ts rename to src/api/resources/hris/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/hris/resources/issues/types/index.ts b/src/api/resources/hris/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/hris/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/hris/resources/linkToken/client/Client.ts b/src/api/resources/hris/resources/linkToken/client/Client.ts index f37455e8..7df24bc3 100644 --- a/src/api/resources/hris/resources/linkToken/client/Client.ts +++ b/src/api/resources/hris/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts index e7bbf12d..120c90a6 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.hris.linkedAccounts.list({ + * category: Merge.hris.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.hris.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { 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 d5aada25..8d8ec233 100644 --- a/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.hris.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.hris.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/hris/resources/linkedAccounts/index.ts b/src/api/resources/hris/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/linkedAccounts/index.ts +++ b/src/api/resources/hris/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/hris/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/hris/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/hris/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/hris/resources/linkedAccounts/types/index.ts b/src/api/resources/hris/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/hris/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/hris/resources/locations/client/Client.ts b/src/api/resources/hris/resources/locations/client/Client.ts index b0cd6c2c..0caa47cb 100644 --- a/src/api/resources/hris/resources/locations/client/Client.ts +++ b/src/api/resources/hris/resources/locations/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Locations { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class Locations { /** * Returns a list of `Location` objects. + * + * @example + * await merge.hris.locations.list({ + * locationType: Merge.hris.LocationsListRequestLocationType.Home, + * remoteFields: "location_type", + * showEnumOrigins: "location_type" + * }) */ public async list( request: Merge.hris.LocationsListRequest = {}, @@ -46,53 +53,53 @@ export class Locations { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (locationType != null) { - _queryParams.append("location_type", locationType); + _queryParams["location_type"] = locationType; } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -109,11 +116,12 @@ export class Locations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedLocationList.parseOrThrow(_response.body, { @@ -148,6 +156,12 @@ export class Locations { /** * Returns a `Location` object with the given `id`. + * + * @example + * await merge.hris.locations.retrieve("id", { + * remoteFields: "location_type", + * showEnumOrigins: "location_type" + * }) */ public async retrieve( id: string, @@ -155,17 +169,17 @@ export class Locations { requestOptions?: Locations.RequestOptions ): Promise { const { includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -182,11 +196,12 @@ export class Locations { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Location.parseOrThrow(_response.body, { 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 ab90e80e..6c73ec12 100644 --- a/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts +++ b/src/api/resources/hris/resources/locations/client/requests/LocationsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * locationType: Merge.hris.LocationsListRequestLocationType.Home, + * remoteFields: "location_type", + * showEnumOrigins: "location_type" + * } + */ export interface LocationsListRequest { /** * If provided, will only return objects created after this datetime. @@ -28,8 +36,8 @@ export interface LocationsListRequest { /** * If provided, will only return locations with this location_type * - * * `HOME` - HOME - * * `WORK` - WORK + * - `HOME` - HOME + * - `WORK` - WORK */ locationType?: Merge.hris.LocationsListRequestLocationType; /** diff --git a/src/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.ts b/src/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.ts index 02613f22..8028d6bc 100644 --- a/src/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.ts @@ -2,6 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * remoteFields: "location_type", + * showEnumOrigins: "location_type" + * } + */ export interface LocationsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/locations/index.ts b/src/api/resources/hris/resources/locations/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/locations/index.ts +++ b/src/api/resources/hris/resources/locations/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/LocationsListRequestLocationType.ts b/src/api/resources/hris/resources/locations/types/LocationsListRequestLocationType.ts similarity index 100% rename from src/api/resources/hris/types/LocationsListRequestLocationType.ts rename to src/api/resources/hris/resources/locations/types/LocationsListRequestLocationType.ts diff --git a/src/api/resources/hris/resources/locations/types/index.ts b/src/api/resources/hris/resources/locations/types/index.ts new file mode 100644 index 00000000..0db95afd --- /dev/null +++ b/src/api/resources/hris/resources/locations/types/index.ts @@ -0,0 +1 @@ +export * from "./LocationsListRequestLocationType"; diff --git a/src/api/resources/hris/resources/passthrough/client/Client.ts b/src/api/resources/hris/resources/passthrough/client/Client.ts index 5fdd8ead..a4f97d0b 100644 --- a/src/api/resources/hris/resources/passthrough/client/Client.ts +++ b/src/api/resources/hris/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/payGroups/client/Client.ts b/src/api/resources/hris/resources/payGroups/client/Client.ts index d01ea81a..3739effc 100644 --- a/src/api/resources/hris/resources/payGroups/client/Client.ts +++ b/src/api/resources/hris/resources/payGroups/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace PayGroups { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class PayGroups { /** * Returns a list of `PayGroup` objects. + * + * @example + * await merge.hris.payGroups.list({}) */ public async list( request: Merge.hris.PayGroupsListRequest = {}, @@ -43,41 +46,41 @@ export class PayGroups { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class PayGroups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedPayGroupList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class PayGroups { /** * Returns a `PayGroup` object with the given `id`. + * + * @example + * await merge.hris.payGroups.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class PayGroups { requestOptions?: PayGroups.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class PayGroups { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PayGroup.parseOrThrow(_response.body, { 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 07b16fd4..b846f078 100644 --- a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts +++ b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface PayGroupsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.ts b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.ts index 4f8b5bd3..e8532af2 100644 --- a/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface PayGroupsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/payrollRuns/client/Client.ts b/src/api/resources/hris/resources/payrollRuns/client/Client.ts index f86a7063..eb71e89e 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/Client.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace PayrollRuns { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,13 @@ export class PayrollRuns { /** * Returns a list of `PayrollRun` objects. + * + * @example + * await merge.hris.payrollRuns.list({ + * remoteFields: Merge.hris.PayrollRunsListRequestRemoteFields.RunState, + * runType: Merge.hris.PayrollRunsListRequestRunType.Correction, + * showEnumOrigins: Merge.hris.PayrollRunsListRequestShowEnumOrigins.RunState + * }) */ public async list( request: Merge.hris.PayrollRunsListRequest = {}, @@ -50,69 +57,69 @@ export class PayrollRuns { startedAfter, startedBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endedAfter != null) { - _queryParams.append("ended_after", endedAfter.toISOString()); + _queryParams["ended_after"] = endedAfter.toISOString(); } if (endedBefore != null) { - _queryParams.append("ended_before", endedBefore.toISOString()); + _queryParams["ended_before"] = endedBefore.toISOString(); } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (runType != null) { - _queryParams.append("run_type", runType); + _queryParams["run_type"] = runType; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (startedAfter != null) { - _queryParams.append("started_after", startedAfter.toISOString()); + _queryParams["started_after"] = startedAfter.toISOString(); } if (startedBefore != null) { - _queryParams.append("started_before", startedBefore.toISOString()); + _queryParams["started_before"] = startedBefore.toISOString(); } const _response = await core.fetcher({ @@ -129,11 +136,12 @@ export class PayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedPayrollRunList.parseOrThrow(_response.body, { @@ -168,6 +176,12 @@ export class PayrollRuns { /** * Returns a `PayrollRun` object with the given `id`. + * + * @example + * await merge.hris.payrollRuns.retrieve("id", { + * remoteFields: Merge.hris.PayrollRunsRetrieveRequestRemoteFields.RunState, + * showEnumOrigins: Merge.hris.PayrollRunsRetrieveRequestShowEnumOrigins.RunState + * }) */ public async retrieve( id: string, @@ -175,17 +189,17 @@ export class PayrollRuns { requestOptions?: PayrollRuns.RequestOptions ): Promise { const { includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -202,11 +216,12 @@ export class PayrollRuns { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PayrollRun.parseOrThrow(_response.body, { 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 58b79f04..f9927bb8 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * remoteFields: Merge.hris.PayrollRunsListRequestRemoteFields.RunState, + * runType: Merge.hris.PayrollRunsListRequestRunType.Correction, + * showEnumOrigins: Merge.hris.PayrollRunsListRequestShowEnumOrigins.RunState + * } + */ export interface PayrollRunsListRequest { /** * If provided, will only return objects created after this datetime. @@ -56,11 +64,11 @@ export interface PayrollRunsListRequest { /** * If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') * - * * `REGULAR` - REGULAR - * * `OFF_CYCLE` - OFF_CYCLE - * * `CORRECTION` - CORRECTION - * * `TERMINATION` - TERMINATION - * * `SIGN_ON_BONUS` - SIGN_ON_BONUS + * - `REGULAR` - REGULAR + * - `OFF_CYCLE` - OFF_CYCLE + * - `CORRECTION` - CORRECTION + * - `TERMINATION` - TERMINATION + * - `SIGN_ON_BONUS` - SIGN_ON_BONUS */ runType?: Merge.hris.PayrollRunsListRequestRunType; /** diff --git a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.ts b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.ts index 72919647..2aa57cc9 100644 --- a/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.ts @@ -4,6 +4,13 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * remoteFields: Merge.hris.PayrollRunsRetrieveRequestRemoteFields.RunState, + * showEnumOrigins: Merge.hris.PayrollRunsRetrieveRequestShowEnumOrigins.RunState + * } + */ export interface PayrollRunsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/payrollRuns/index.ts b/src/api/resources/hris/resources/payrollRuns/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/payrollRuns/index.ts +++ b/src/api/resources/hris/resources/payrollRuns/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/PayrollRunsListRequestRemoteFields.ts b/src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/PayrollRunsListRequestRemoteFields.ts rename to src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/PayrollRunsListRequestRunType.ts b/src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRunType.ts similarity index 100% rename from src/api/resources/hris/types/PayrollRunsListRequestRunType.ts rename to src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRunType.ts diff --git a/src/api/resources/hris/types/PayrollRunsListRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/PayrollRunsListRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/types/PayrollRunsRetrieveRequestRemoteFields.ts b/src/api/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/PayrollRunsRetrieveRequestRemoteFields.ts rename to src/api/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/resources/payrollRuns/types/index.ts b/src/api/resources/hris/resources/payrollRuns/types/index.ts new file mode 100644 index 00000000..35a5900d --- /dev/null +++ b/src/api/resources/hris/resources/payrollRuns/types/index.ts @@ -0,0 +1,5 @@ +export * from "./PayrollRunsListRequestRemoteFields"; +export * from "./PayrollRunsListRequestRunType"; +export * from "./PayrollRunsListRequestShowEnumOrigins"; +export * from "./PayrollRunsRetrieveRequestRemoteFields"; +export * from "./PayrollRunsRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/hris/resources/regenerateKey/client/Client.ts b/src/api/resources/hris/resources/regenerateKey/client/Client.ts index 85aab2aa..4ecc156f 100644 --- a/src/api/resources/hris/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/hris/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.hris.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.hris.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/hris/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/hris/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/hris/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/hris/resources/selectiveSync/client/Client.ts b/src/api/resources/hris/resources/selectiveSync/client/Client.ts index ddbca2ee..337cfa4c 100644 --- a/src/api/resources/hris/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/hris/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.hris.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.selectiveSync.configurationsList.Response.parseOrThrow(_response.body, { @@ -83,6 +87,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.hris.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.hris.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -102,13 +113,14 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.selectiveSync.configurationsUpdate.Response.parseOrThrow(_response.body, { @@ -143,23 +155,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.hris.selectiveSync.metaList({}) */ public async metaList( request: Merge.hris.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -176,11 +191,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/hris/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index 34ce15ca..b071bfcb 100644 --- a/src/api/resources/hris/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/hris/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.hris.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/hris/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/hris/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/hris/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/hris/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/hris/resources/syncStatus/client/Client.ts b/src/api/resources/hris/resources/syncStatus/client/Client.ts index 0f38e8a8..cba20df6 100644 --- a/src/api/resources/hris/resources/syncStatus/client/Client.ts +++ b/src/api/resources/hris/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.hris.syncStatus.list({}) */ public async list( request: Merge.hris.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/hris/resources/teams/client/Client.ts b/src/api/resources/hris/resources/teams/client/Client.ts index 4563f859..c25b1d04 100644 --- a/src/api/resources/hris/resources/teams/client/Client.ts +++ b/src/api/resources/hris/resources/teams/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Teams { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Teams { /** * Returns a list of `Team` objects. + * + * @example + * await merge.hris.teams.list({ + * expand: "parent_team" + * }) */ public async list( request: Merge.hris.TeamsListRequest = {}, @@ -45,49 +50,49 @@ export class Teams { parentTeamId, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (parentTeamId != null) { - _queryParams.append("parent_team_id", parentTeamId); + _queryParams["parent_team_id"] = parentTeamId; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedTeamList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class Teams { /** * Returns a `Team` object with the given `id`. + * + * @example + * await merge.hris.teams.retrieve("id", { + * expand: "parent_team" + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class Teams { requestOptions?: Teams.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.Team.parseOrThrow(_response.body, { 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 19007103..111c6cc5 100644 --- a/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/hris/resources/teams/client/requests/TeamsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "parent_team" + * } + */ export interface TeamsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts b/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts index f4faeb8e..b19d14ae 100644 --- a/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts +++ b/src/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "parent_team" + * } + */ export interface TeamsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/timeOff/client/Client.ts b/src/api/resources/hris/resources/timeOff/client/Client.ts index 2711e1b6..c80c7d39 100644 --- a/src/api/resources/hris/resources/timeOff/client/Client.ts +++ b/src/api/resources/hris/resources/timeOff/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace TimeOff { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,15 @@ export class TimeOff { /** * Returns a list of `TimeOff` objects. + * + * @example + * await merge.hris.timeOff.list({ + * expand: Merge.hris.TimeOffListRequestExpand.Approver, + * remoteFields: Merge.hris.TimeOffListRequestRemoteFields.RequestType, + * requestType: Merge.hris.TimeOffListRequestRequestType.Bereavement, + * showEnumOrigins: Merge.hris.TimeOffListRequestShowEnumOrigins.RequestType, + * status: Merge.hris.TimeOffListRequestStatus.Approved + * }) */ public async list( request: Merge.hris.TimeOffListRequest = {}, @@ -50,69 +59,69 @@ export class TimeOff { showEnumOrigins, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (approverId != null) { - _queryParams.append("approver_id", approverId); + _queryParams["approver_id"] = approverId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (requestType != null) { - _queryParams.append("request_type", requestType); + _queryParams["request_type"] = requestType; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -129,11 +138,12 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedTimeOffList.parseOrThrow(_response.body, { @@ -168,19 +178,29 @@ export class TimeOff { /** * Creates a `TimeOff` object with the given values. + * + * @example + * await merge.hris.timeOff.create({ + * model: { + * employeeNote: "Moving into the new apartment Kendall Roy gave me!", + * amount: 3, + * startTime: new Date("2020-11-10T00:00:00.000Z"), + * endTime: new Date("2020-11-17T00:00:00.000Z") + * } + * }) */ public async create( request: Merge.hris.TimeOffEndpointRequest, requestOptions?: TimeOff.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -197,12 +217,13 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, body: await serializers.hris.TimeOffEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.TimeOffResponse.parseOrThrow(_response.body, { @@ -237,6 +258,13 @@ export class TimeOff { /** * Returns a `TimeOff` object with the given `id`. + * + * @example + * await merge.hris.timeOff.retrieve("id", { + * expand: Merge.hris.TimeOffRetrieveRequestExpand.Approver, + * remoteFields: Merge.hris.TimeOffRetrieveRequestRemoteFields.RequestType, + * showEnumOrigins: Merge.hris.TimeOffRetrieveRequestShowEnumOrigins.RequestType + * }) */ public async retrieve( id: string, @@ -244,21 +272,21 @@ export class TimeOff { requestOptions?: TimeOff.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -275,11 +303,12 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.TimeOff.parseOrThrow(_response.body, { @@ -314,6 +343,9 @@ export class TimeOff { /** * Returns metadata for `TimeOff` POSTs. + * + * @example + * await merge.hris.timeOff.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: TimeOff.RequestOptions): Promise { const _response = await core.fetcher({ @@ -330,10 +362,11 @@ export class TimeOff { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.ts b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.ts index 96ae3225..136deee2 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * employeeNote: "Moving into the new apartment Kendall Roy gave me!", + * amount: 3, + * startTime: new Date("2020-11-10T00:00:00.000Z"), + * endTime: new Date("2020-11-17T00:00:00.000Z") + * } + * } + */ export interface TimeOffEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 177f418a..5ec236fc 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.ts @@ -4,6 +4,16 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.TimeOffListRequestExpand.Approver, + * remoteFields: Merge.hris.TimeOffListRequestRemoteFields.RequestType, + * requestType: Merge.hris.TimeOffListRequestRequestType.Bereavement, + * showEnumOrigins: Merge.hris.TimeOffListRequestShowEnumOrigins.RequestType, + * status: Merge.hris.TimeOffListRequestStatus.Approved + * } + */ export interface TimeOffListRequest { /** * If provided, will only return time off for this approver. @@ -60,12 +70,12 @@ export interface TimeOffListRequest { /** * If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ requestType?: Merge.hris.TimeOffListRequestRequestType; /** @@ -75,11 +85,11 @@ export interface TimeOffListRequest { /** * If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') * - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ status?: Merge.hris.TimeOffListRequestStatus; } diff --git a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts index a165a299..f0aec59c 100644 --- a/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.hris.TimeOffRetrieveRequestExpand.Approver, + * remoteFields: Merge.hris.TimeOffRetrieveRequestRemoteFields.RequestType, + * showEnumOrigins: Merge.hris.TimeOffRetrieveRequestShowEnumOrigins.RequestType + * } + */ export interface TimeOffRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/timeOff/index.ts b/src/api/resources/hris/resources/timeOff/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/timeOff/index.ts +++ b/src/api/resources/hris/resources/timeOff/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/TimeOffListRequestExpand.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffListRequestExpand.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts diff --git a/src/api/resources/hris/types/TimeOffListRequestRemoteFields.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffListRequestRemoteFields.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffListRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/TimeOffListRequestRequestType.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestRequestType.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffListRequestRequestType.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffListRequestRequestType.ts diff --git a/src/api/resources/hris/types/TimeOffListRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffListRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffListRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/types/TimeOffListRequestStatus.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffListRequestStatus.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffListRequestStatus.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffListRequestStatus.ts diff --git a/src/api/resources/hris/types/TimeOffRetrieveRequestExpand.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffRetrieveRequestExpand.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts diff --git a/src/api/resources/hris/types/TimeOffRetrieveRequestRemoteFields.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffRetrieveRequestRemoteFields.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/hris/types/TimeOffRetrieveRequestShowEnumOrigins.ts b/src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/hris/resources/timeOff/types/index.ts b/src/api/resources/hris/resources/timeOff/types/index.ts new file mode 100644 index 00000000..da891165 --- /dev/null +++ b/src/api/resources/hris/resources/timeOff/types/index.ts @@ -0,0 +1,8 @@ +export * from "./TimeOffListRequestExpand"; +export * from "./TimeOffListRequestRemoteFields"; +export * from "./TimeOffListRequestRequestType"; +export * from "./TimeOffListRequestShowEnumOrigins"; +export * from "./TimeOffListRequestStatus"; +export * from "./TimeOffRetrieveRequestExpand"; +export * from "./TimeOffRetrieveRequestRemoteFields"; +export * from "./TimeOffRetrieveRequestShowEnumOrigins"; diff --git a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts index 649a23b8..14bf3590 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/Client.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace TimeOffBalances { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class TimeOffBalances { /** * Returns a list of `TimeOffBalance` objects. + * + * @example + * await merge.hris.timeOffBalances.list({ + * expand: "employee", + * policyType: Merge.hris.TimeOffBalancesListRequestPolicyType.Bereavement, + * remoteFields: "policy_type", + * showEnumOrigins: "policy_type" + * }) */ public async list( request: Merge.hris.TimeOffBalancesListRequest = {}, @@ -48,61 +56,61 @@ export class TimeOffBalances { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (policyType != null) { - _queryParams.append("policy_type", policyType); + _queryParams["policy_type"] = policyType; } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -119,11 +127,12 @@ export class TimeOffBalances { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedTimeOffBalanceList.parseOrThrow(_response.body, { @@ -158,6 +167,13 @@ export class TimeOffBalances { /** * Returns a `TimeOffBalance` object with the given `id`. + * + * @example + * await merge.hris.timeOffBalances.retrieve("id", { + * expand: "employee", + * remoteFields: "policy_type", + * showEnumOrigins: "policy_type" + * }) */ public async retrieve( id: string, @@ -165,21 +181,21 @@ export class TimeOffBalances { requestOptions?: TimeOffBalances.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -196,11 +212,12 @@ export class TimeOffBalances { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.TimeOffBalance.parseOrThrow(_response.body, { 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 50e33794..035fa955 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: "employee", + * policyType: Merge.hris.TimeOffBalancesListRequestPolicyType.Bereavement, + * remoteFields: "policy_type", + * showEnumOrigins: "policy_type" + * } + */ export interface TimeOffBalancesListRequest { /** * If provided, will only return objects created after this datetime. @@ -48,12 +57,12 @@ export interface TimeOffBalancesListRequest { /** * If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ policyType?: Merge.hris.TimeOffBalancesListRequestPolicyType; /** diff --git a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts index 4a2ee32e..7b591ac1 100644 --- a/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "employee", + * remoteFields: "policy_type", + * showEnumOrigins: "policy_type" + * } + */ export interface TimeOffBalancesRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/hris/resources/timeOffBalances/index.ts b/src/api/resources/hris/resources/timeOffBalances/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/timeOffBalances/index.ts +++ b/src/api/resources/hris/resources/timeOffBalances/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/TimeOffBalancesListRequestPolicyType.ts b/src/api/resources/hris/resources/timeOffBalances/types/TimeOffBalancesListRequestPolicyType.ts similarity index 100% rename from src/api/resources/hris/types/TimeOffBalancesListRequestPolicyType.ts rename to src/api/resources/hris/resources/timeOffBalances/types/TimeOffBalancesListRequestPolicyType.ts diff --git a/src/api/resources/hris/resources/timeOffBalances/types/index.ts b/src/api/resources/hris/resources/timeOffBalances/types/index.ts new file mode 100644 index 00000000..14ee2ec5 --- /dev/null +++ b/src/api/resources/hris/resources/timeOffBalances/types/index.ts @@ -0,0 +1 @@ +export * from "./TimeOffBalancesListRequestPolicyType"; diff --git a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts index d58b50a7..913c8b05 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/Client.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace TimesheetEntries { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class TimesheetEntries { /** * Returns a list of `TimesheetEntry` objects. + * + * @example + * await merge.hris.timesheetEntries.list({ + * orderBy: Merge.hris.TimesheetEntriesListRequestOrderBy.StartTimeDescending + * }) */ public async list( request: Merge.hris.TimesheetEntriesListRequest = {}, @@ -49,65 +54,65 @@ export class TimesheetEntries { startedAfter, startedBefore, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (employeeId != null) { - _queryParams.append("employee_id", employeeId); + _queryParams["employee_id"] = employeeId; } if (endedAfter != null) { - _queryParams.append("ended_after", endedAfter); + _queryParams["ended_after"] = endedAfter; } if (endedBefore != null) { - _queryParams.append("ended_before", endedBefore); + _queryParams["ended_before"] = endedBefore; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (orderBy != null) { - _queryParams.append("order_by", orderBy); + _queryParams["order_by"] = orderBy; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (startedAfter != null) { - _queryParams.append("started_after", startedAfter); + _queryParams["started_after"] = startedAfter; } if (startedBefore != null) { - _queryParams.append("started_before", startedBefore); + _queryParams["started_before"] = startedBefore; } const _response = await core.fetcher({ @@ -124,11 +129,12 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.PaginatedTimesheetEntryList.parseOrThrow(_response.body, { @@ -163,19 +169,29 @@ export class TimesheetEntries { /** * Creates a `TimesheetEntry` object with the given values. + * + * @example + * await merge.hris.timesheetEntries.create({ + * model: { + * employee: "d2f972d0-2526-434b-9409-4c3b468e08f0", + * hoursWorked: 10, + * startTime: new Date("2020-11-10T00:00:00.000Z"), + * endTime: new Date("2020-11-10T00:10:00.000Z") + * } + * }) */ public async create( request: Merge.hris.TimesheetEntryEndpointRequest, requestOptions?: TimesheetEntries.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -192,7 +208,7 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -200,6 +216,7 @@ export class TimesheetEntries { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.TimesheetEntryResponse.parseOrThrow(_response.body, { @@ -234,6 +251,9 @@ export class TimesheetEntries { /** * Returns a `TimesheetEntry` object with the given `id`. + * + * @example + * await merge.hris.timesheetEntries.retrieve("id", {}) */ public async retrieve( id: string, @@ -241,9 +261,9 @@ export class TimesheetEntries { requestOptions?: TimesheetEntries.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -260,11 +280,12 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.TimesheetEntry.parseOrThrow(_response.body, { @@ -299,6 +320,9 @@ export class TimesheetEntries { /** * Returns metadata for `TimesheetEntry` POSTs. + * + * @example + * await merge.hris.timesheetEntries.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: TimesheetEntries.RequestOptions): Promise { const _response = await core.fetcher({ @@ -315,10 +339,11 @@ export class TimesheetEntries { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.MetaResponse.parseOrThrow(_response.body, { 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 7d619263..11fbae7e 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * orderBy: Merge.hris.TimesheetEntriesListRequestOrderBy.StartTimeDescending + * } + */ export interface TimesheetEntriesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts index 7ffa6975..a75795ba 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TimesheetEntriesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.ts b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.ts index 8a85a98a..4ec68d33 100644 --- a/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.ts +++ b/src/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * employee: "d2f972d0-2526-434b-9409-4c3b468e08f0", + * hoursWorked: 10, + * startTime: new Date("2020-11-10T00:00:00.000Z"), + * endTime: new Date("2020-11-10T00:10:00.000Z") + * } + * } + */ export interface TimesheetEntryEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/hris/resources/timesheetEntries/index.ts b/src/api/resources/hris/resources/timesheetEntries/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/hris/resources/timesheetEntries/index.ts +++ b/src/api/resources/hris/resources/timesheetEntries/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/hris/types/TimesheetEntriesListRequestOrderBy.ts b/src/api/resources/hris/resources/timesheetEntries/types/TimesheetEntriesListRequestOrderBy.ts similarity index 100% rename from src/api/resources/hris/types/TimesheetEntriesListRequestOrderBy.ts rename to src/api/resources/hris/resources/timesheetEntries/types/TimesheetEntriesListRequestOrderBy.ts diff --git a/src/api/resources/hris/resources/timesheetEntries/types/index.ts b/src/api/resources/hris/resources/timesheetEntries/types/index.ts new file mode 100644 index 00000000..f09ad04a --- /dev/null +++ b/src/api/resources/hris/resources/timesheetEntries/types/index.ts @@ -0,0 +1 @@ +export * from "./TimesheetEntriesListRequestOrderBy"; diff --git a/src/api/resources/hris/resources/webhookReceivers/client/Client.ts b/src/api/resources/hris/resources/webhookReceivers/client/Client.ts index af06d2af..8e77e0dd 100644 --- a/src/api/resources/hris/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/hris/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.hris.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.hris.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.hris.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/hris/types/AccountDetailsAndActions.ts b/src/api/resources/hris/types/AccountDetailsAndActions.ts index 0abd57c2..5d9e8856 100644 --- a/src/api/resources/hris/types/AccountDetailsAndActions.ts +++ b/src/api/resources/hris/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/hris/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/hris/types/AccountTypeEnum.ts b/src/api/resources/hris/types/AccountTypeEnum.ts index d62e94ef..2fdc2e79 100644 --- a/src/api/resources/hris/types/AccountTypeEnum.ts +++ b/src/api/resources/hris/types/AccountTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `SAVINGS` - SAVINGS - * * `CHECKING` - CHECKING + * - `SAVINGS` - SAVINGS + * - `CHECKING` - CHECKING */ export type AccountTypeEnum = "SAVINGS" | "CHECKING"; diff --git a/src/api/resources/hris/types/AuditLogEvent.ts b/src/api/resources/hris/types/AuditLogEvent.ts index c9b4d58c..92a177f5 100644 --- a/src/api/resources/hris/types/AuditLogEvent.ts +++ b/src/api/resources/hris/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.hris.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.hris.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/hris/types/AuditLogEventEventType.ts b/src/api/resources/hris/types/AuditLogEventEventType.ts index 17c2cf32..3f3a4541 100644 --- a/src/api/resources/hris/types/AuditLogEventEventType.ts +++ b/src/api/resources/hris/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.hris.EventTypeEnum | string; diff --git a/src/api/resources/hris/types/AuditLogEventRole.ts b/src/api/resources/hris/types/AuditLogEventRole.ts index 31e39ab1..bb54fb5f 100644 --- a/src/api/resources/hris/types/AuditLogEventRole.ts +++ b/src/api/resources/hris/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.hris.RoleEnum | string; diff --git a/src/api/resources/hris/types/AvailableActions.ts b/src/api/resources/hris/types/AvailableActions.ts index bebfcbe1..0bba5a88 100644 --- a/src/api/resources/hris/types/AvailableActions.ts +++ b/src/api/resources/hris/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/hris/types/BankInfo.ts b/src/api/resources/hris/types/BankInfo.ts index 0dec6415..70da6d22 100644 --- a/src/api/resources/hris/types/BankInfo.ts +++ b/src/api/resources/hris/types/BankInfo.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The BankInfo Object + * * ### Description + * * The `BankInfo` object is used to represent the Bank Account information for an Employee. * * ### Usage Example + * * Fetch from the `LIST BankInfo` endpoint and filter by `ID` to show all bank information. */ export interface BankInfo { @@ -27,8 +30,8 @@ export interface BankInfo { /** * The bank account type * - * * `SAVINGS` - SAVINGS - * * `CHECKING` - CHECKING + * - `SAVINGS` - SAVINGS + * - `CHECKING` - CHECKING */ accountType?: Merge.hris.BankInfoAccountType; /** When the matching bank object was created in the third party system. */ diff --git a/src/api/resources/hris/types/BankInfoAccountType.ts b/src/api/resources/hris/types/BankInfoAccountType.ts index 903603a4..def357c6 100644 --- a/src/api/resources/hris/types/BankInfoAccountType.ts +++ b/src/api/resources/hris/types/BankInfoAccountType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The bank account type * - * * `SAVINGS` - SAVINGS - * * `CHECKING` - CHECKING + * - `SAVINGS` - SAVINGS + * - `CHECKING` - CHECKING */ export type BankInfoAccountType = Merge.hris.AccountTypeEnum | string; diff --git a/src/api/resources/hris/types/Benefit.ts b/src/api/resources/hris/types/Benefit.ts index 8501cf40..9f735f5a 100644 --- a/src/api/resources/hris/types/Benefit.ts +++ b/src/api/resources/hris/types/Benefit.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Benefit Object + * * ### Description + * * The `Benefit` object is used to represent a benefit that an employee has enrolled in. * * ### Usage Example + * * Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all benefits. */ export interface Benefit { diff --git a/src/api/resources/hris/types/BenefitPlanTypeEnum.ts b/src/api/resources/hris/types/BenefitPlanTypeEnum.ts index d1577d19..cb8edd82 100644 --- a/src/api/resources/hris/types/BenefitPlanTypeEnum.ts +++ b/src/api/resources/hris/types/BenefitPlanTypeEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `MEDICAL` - MEDICAL - * * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * * `INSURANCE` - INSURANCE - * * `RETIREMENT` - RETIREMENT - * * `OTHER` - OTHER + * - `MEDICAL` - MEDICAL + * - `HEALTH_SAVINGS` - HEALTH_SAVINGS + * - `INSURANCE` - INSURANCE + * - `RETIREMENT` - RETIREMENT + * - `OTHER` - OTHER */ export type BenefitPlanTypeEnum = "MEDICAL" | "HEALTH_SAVINGS" | "INSURANCE" | "RETIREMENT" | "OTHER"; diff --git a/src/api/resources/hris/types/CategoriesEnum.ts b/src/api/resources/hris/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/hris/types/CategoriesEnum.ts +++ b/src/api/resources/hris/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/hris/types/CategoryEnum.ts b/src/api/resources/hris/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/hris/types/CategoryEnum.ts +++ b/src/api/resources/hris/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/hris/types/Company.ts b/src/api/resources/hris/types/Company.ts index 1e751b38..f8f8623a 100644 --- a/src/api/resources/hris/types/Company.ts +++ b/src/api/resources/hris/types/Company.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Company Object + * * ### Description + * * The `Company` object is used to represent a company within the HRIS / Payroll system. * * ### Usage Example + * * Fetch from the `LIST Companies` endpoint and filter by `ID` to show all companies. */ export interface Company { diff --git a/src/api/resources/hris/types/ConditionSchema.ts b/src/api/resources/hris/types/ConditionSchema.ts index 0dddf03f..f0589faa 100644 --- a/src/api/resources/hris/types/ConditionSchema.ts +++ b/src/api/resources/hris/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.hris.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/hris/types/ConditionSchemaConditionType.ts b/src/api/resources/hris/types/ConditionSchemaConditionType.ts index 1a59126b..60a4d9e5 100644 --- a/src/api/resources/hris/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/hris/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.hris.ConditionTypeEnum | string; diff --git a/src/api/resources/hris/types/ConditionTypeEnum.ts b/src/api/resources/hris/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/hris/types/ConditionTypeEnum.ts +++ b/src/api/resources/hris/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/hris/types/CountryEnum.ts b/src/api/resources/hris/types/CountryEnum.ts index f5fc454d..e21e6bb7 100644 --- a/src/api/resources/hris/types/CountryEnum.ts +++ b/src/api/resources/hris/types/CountryEnum.ts @@ -3,255 +3,255 @@ */ /** - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type CountryEnum = | "AF" diff --git a/src/api/resources/hris/types/DataPassthroughRequest.ts b/src/api/resources/hris/types/DataPassthroughRequest.ts index 330290d2..308b90aa 100644 --- a/src/api/resources/hris/types/DataPassthroughRequest.ts +++ b/src/api/resources/hris/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/hris/types/Deduction.ts b/src/api/resources/hris/types/Deduction.ts index 2dbce537..fd55cdf0 100644 --- a/src/api/resources/hris/types/Deduction.ts +++ b/src/api/resources/hris/types/Deduction.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Deduction Object + * * ### Description + * * The `Deduction` object is used to represent an array of the wages withheld from total earnings for the purpose of paying taxes. * * ### Usage Example + * * Fetch from the `LIST Deductions` endpoint and filter by `ID` to show all deductions. */ export interface Deduction { diff --git a/src/api/resources/hris/types/Dependent.ts b/src/api/resources/hris/types/Dependent.ts index 39d97517..2b2edc5b 100644 --- a/src/api/resources/hris/types/Dependent.ts +++ b/src/api/resources/hris/types/Dependent.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Dependent Object + * * ### Description + * * The `Dependent` object is used to represent a dependent (e.g. child, spouse, domestic partner, etc) of an `Employee` * * ### Usage Example + * * Fetch from the `LIST Dependents` endpoint and filter by `ID` to show all dependents. */ export interface Dependent { @@ -25,9 +28,9 @@ export interface Dependent { /** * The dependent's relationship to the employee. * - * * `CHILD` - CHILD - * * `SPOUSE` - SPOUSE - * * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER + * - `CHILD` - CHILD + * - `SPOUSE` - SPOUSE + * - `DOMESTIC_PARTNER` - DOMESTIC_PARTNER */ relationship?: Merge.hris.DependentRelationship; /** The employee this person is a dependent of. */ @@ -37,11 +40,11 @@ export interface Dependent { /** * The dependent's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ gender?: Merge.hris.DependentGender; /** The dependent's phone number. */ diff --git a/src/api/resources/hris/types/DependentGender.ts b/src/api/resources/hris/types/DependentGender.ts index 3915f7aa..2a506ea5 100644 --- a/src/api/resources/hris/types/DependentGender.ts +++ b/src/api/resources/hris/types/DependentGender.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The dependent's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type DependentGender = Merge.hris.GenderEnum | string; diff --git a/src/api/resources/hris/types/DependentRelationship.ts b/src/api/resources/hris/types/DependentRelationship.ts index 00aff434..bfb58c89 100644 --- a/src/api/resources/hris/types/DependentRelationship.ts +++ b/src/api/resources/hris/types/DependentRelationship.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The dependent's relationship to the employee. * - * * `CHILD` - CHILD - * * `SPOUSE` - SPOUSE - * * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER + * - `CHILD` - CHILD + * - `SPOUSE` - SPOUSE + * - `DOMESTIC_PARTNER` - DOMESTIC_PARTNER */ export type DependentRelationship = Merge.hris.RelationshipEnum | string; diff --git a/src/api/resources/hris/types/Earning.ts b/src/api/resources/hris/types/Earning.ts index 4ee849b0..3ff5a476 100644 --- a/src/api/resources/hris/types/Earning.ts +++ b/src/api/resources/hris/types/Earning.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Earning Object + * * ### Description + * * The `Earning` object is used to represent an array of different compensations that an employee receives within specific wage categories. * * ### Usage Example + * * Fetch from the `LIST Earnings` endpoint and filter by `ID` to show all earnings. */ export interface Earning { @@ -22,10 +25,10 @@ export interface Earning { /** * The type of earning. * - * * `SALARY` - SALARY - * * `REIMBURSEMENT` - REIMBURSEMENT - * * `OVERTIME` - OVERTIME - * * `BONUS` - BONUS + * - `SALARY` - SALARY + * - `REIMBURSEMENT` - REIMBURSEMENT + * - `OVERTIME` - OVERTIME + * - `BONUS` - BONUS */ type?: Merge.hris.EarningType; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/hris/types/EarningType.ts b/src/api/resources/hris/types/EarningType.ts index 0e247c97..d88f9b20 100644 --- a/src/api/resources/hris/types/EarningType.ts +++ b/src/api/resources/hris/types/EarningType.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The type of earning. * - * * `SALARY` - SALARY - * * `REIMBURSEMENT` - REIMBURSEMENT - * * `OVERTIME` - OVERTIME - * * `BONUS` - BONUS + * - `SALARY` - SALARY + * - `REIMBURSEMENT` - REIMBURSEMENT + * - `OVERTIME` - OVERTIME + * - `BONUS` - BONUS */ export type EarningType = Merge.hris.EarningTypeEnum | string; diff --git a/src/api/resources/hris/types/EarningTypeEnum.ts b/src/api/resources/hris/types/EarningTypeEnum.ts index f2c4d8f3..d9d36ad7 100644 --- a/src/api/resources/hris/types/EarningTypeEnum.ts +++ b/src/api/resources/hris/types/EarningTypeEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `SALARY` - SALARY - * * `REIMBURSEMENT` - REIMBURSEMENT - * * `OVERTIME` - OVERTIME - * * `BONUS` - BONUS + * - `SALARY` - SALARY + * - `REIMBURSEMENT` - REIMBURSEMENT + * - `OVERTIME` - OVERTIME + * - `BONUS` - BONUS */ export type EarningTypeEnum = "SALARY" | "REIMBURSEMENT" | "OVERTIME" | "BONUS"; diff --git a/src/api/resources/hris/types/Employee.ts b/src/api/resources/hris/types/Employee.ts index fa2c9b13..ab8a279a 100644 --- a/src/api/resources/hris/types/Employee.ts +++ b/src/api/resources/hris/types/Employee.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Employee Object + * * ### Description + * * The `Employee` object is used to represent any person who has been employed by a company. * * ### Usage Example + * * Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees. */ export interface Employee { @@ -54,34 +57,34 @@ export interface Employee { /** * The employee's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ gender?: Merge.hris.EmployeeGender; /** * The employee's ethnicity. * - * * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - * * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `WHITE` - WHITE - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE + * - `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `WHITE` - WHITE + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ ethnicity?: Merge.hris.EmployeeEthnicity; /** * The employee's filing status as related to marital status. * - * * `SINGLE` - SINGLE - * * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - * * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - * * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - * * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD + * - `SINGLE` - SINGLE + * - `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY + * - `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY + * - `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD + * - `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD */ maritalStatus?: Merge.hris.EmployeeMaritalStatus; /** The employee's date of birth. */ @@ -95,9 +98,9 @@ export interface Employee { /** * The employment status of the employee. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ employmentStatus?: Merge.hris.EmployeeEmploymentStatus; /** The employee's termination date. */ diff --git a/src/api/resources/hris/types/EmployeeEmploymentStatus.ts b/src/api/resources/hris/types/EmployeeEmploymentStatus.ts index 9189b990..8e61db39 100644 --- a/src/api/resources/hris/types/EmployeeEmploymentStatus.ts +++ b/src/api/resources/hris/types/EmployeeEmploymentStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The employment status of the employee. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type EmployeeEmploymentStatus = Merge.hris.EmploymentStatusEnum | string; diff --git a/src/api/resources/hris/types/EmployeeEthnicity.ts b/src/api/resources/hris/types/EmployeeEthnicity.ts index 0e5326fc..fc700bec 100644 --- a/src/api/resources/hris/types/EmployeeEthnicity.ts +++ b/src/api/resources/hris/types/EmployeeEthnicity.ts @@ -7,13 +7,13 @@ import * as Merge from "../../.."; /** * The employee's ethnicity. * - * * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - * * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `WHITE` - WHITE - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE + * - `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `WHITE` - WHITE + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type EmployeeEthnicity = Merge.hris.EthnicityEnum | string; diff --git a/src/api/resources/hris/types/EmployeeGender.ts b/src/api/resources/hris/types/EmployeeGender.ts index 98994bb5..40abaec5 100644 --- a/src/api/resources/hris/types/EmployeeGender.ts +++ b/src/api/resources/hris/types/EmployeeGender.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The employee's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type EmployeeGender = Merge.hris.GenderEnum | string; diff --git a/src/api/resources/hris/types/EmployeeMaritalStatus.ts b/src/api/resources/hris/types/EmployeeMaritalStatus.ts index 24c231cd..64041dbc 100644 --- a/src/api/resources/hris/types/EmployeeMaritalStatus.ts +++ b/src/api/resources/hris/types/EmployeeMaritalStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The employee's filing status as related to marital status. * - * * `SINGLE` - SINGLE - * * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - * * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - * * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - * * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD + * - `SINGLE` - SINGLE + * - `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY + * - `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY + * - `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD + * - `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD */ export type EmployeeMaritalStatus = Merge.hris.MaritalStatusEnum | string; diff --git a/src/api/resources/hris/types/EmployeePayrollRun.ts b/src/api/resources/hris/types/EmployeePayrollRun.ts index 2378444b..a4096528 100644 --- a/src/api/resources/hris/types/EmployeePayrollRun.ts +++ b/src/api/resources/hris/types/EmployeePayrollRun.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The EmployeePayrollRun Object + * * ### Description + * * The `EmployeePayrollRun` object is used to represent an employee's pay statement for a specific payroll run. * * ### Usage Example + * * Fetch from the `LIST EmployeePayrollRun` endpoint and filter by `ID` to show all employee payroll runs. */ export interface EmployeePayrollRun { diff --git a/src/api/resources/hris/types/EmployeeRequest.ts b/src/api/resources/hris/types/EmployeeRequest.ts index 0a471977..b087c7ce 100644 --- a/src/api/resources/hris/types/EmployeeRequest.ts +++ b/src/api/resources/hris/types/EmployeeRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Employee Object + * * ### Description + * * The `Employee` object is used to represent any person who has been employed by a company. * * ### Usage Example + * * Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees. */ export interface EmployeeRequest { @@ -51,34 +54,34 @@ export interface EmployeeRequest { /** * The employee's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ gender?: Merge.hris.EmployeeRequestGender; /** * The employee's ethnicity. * - * * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - * * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `WHITE` - WHITE - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE + * - `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `WHITE` - WHITE + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ ethnicity?: Merge.hris.EmployeeRequestEthnicity; /** * The employee's filing status as related to marital status. * - * * `SINGLE` - SINGLE - * * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - * * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - * * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - * * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD + * - `SINGLE` - SINGLE + * - `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY + * - `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY + * - `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD + * - `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD */ maritalStatus?: Merge.hris.EmployeeRequestMaritalStatus; /** The employee's date of birth. */ @@ -90,9 +93,9 @@ export interface EmployeeRequest { /** * The employment status of the employee. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ employmentStatus?: Merge.hris.EmployeeRequestEmploymentStatus; /** The employee's termination date. */ diff --git a/src/api/resources/hris/types/EmployeeRequestEmploymentStatus.ts b/src/api/resources/hris/types/EmployeeRequestEmploymentStatus.ts index 143790b1..9d7ed4aa 100644 --- a/src/api/resources/hris/types/EmployeeRequestEmploymentStatus.ts +++ b/src/api/resources/hris/types/EmployeeRequestEmploymentStatus.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The employment status of the employee. * - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type EmployeeRequestEmploymentStatus = Merge.hris.EmploymentStatusEnum | string; diff --git a/src/api/resources/hris/types/EmployeeRequestEthnicity.ts b/src/api/resources/hris/types/EmployeeRequestEthnicity.ts index fccf39a7..7989ed60 100644 --- a/src/api/resources/hris/types/EmployeeRequestEthnicity.ts +++ b/src/api/resources/hris/types/EmployeeRequestEthnicity.ts @@ -7,13 +7,13 @@ import * as Merge from "../../.."; /** * The employee's ethnicity. * - * * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - * * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `WHITE` - WHITE - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE + * - `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `WHITE` - WHITE + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type EmployeeRequestEthnicity = Merge.hris.EthnicityEnum | string; diff --git a/src/api/resources/hris/types/EmployeeRequestGender.ts b/src/api/resources/hris/types/EmployeeRequestGender.ts index 8dd54915..08aa223c 100644 --- a/src/api/resources/hris/types/EmployeeRequestGender.ts +++ b/src/api/resources/hris/types/EmployeeRequestGender.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The employee's gender. * - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type EmployeeRequestGender = Merge.hris.GenderEnum | string; diff --git a/src/api/resources/hris/types/EmployeeRequestMaritalStatus.ts b/src/api/resources/hris/types/EmployeeRequestMaritalStatus.ts index b1b6c459..dd95f080 100644 --- a/src/api/resources/hris/types/EmployeeRequestMaritalStatus.ts +++ b/src/api/resources/hris/types/EmployeeRequestMaritalStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The employee's filing status as related to marital status. * - * * `SINGLE` - SINGLE - * * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - * * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - * * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - * * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD + * - `SINGLE` - SINGLE + * - `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY + * - `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY + * - `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD + * - `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD */ export type EmployeeRequestMaritalStatus = Merge.hris.MaritalStatusEnum | string; diff --git a/src/api/resources/hris/types/EmployerBenefit.ts b/src/api/resources/hris/types/EmployerBenefit.ts index a10545db..7d1fd9f4 100644 --- a/src/api/resources/hris/types/EmployerBenefit.ts +++ b/src/api/resources/hris/types/EmployerBenefit.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The EmployerBenefit Object + * * ### Description + * * The `Employer Benefit` object is used to represent a benefit plan offered by a company. * * ### Usage Example + * * Fetch from the `LIST EmployerBenefits` endpoint and filter by `ID` to show all EmployerBenefits. */ export interface EmployerBenefit { @@ -19,11 +22,11 @@ export interface EmployerBenefit { /** * The type of benefit plan. * - * * `MEDICAL` - MEDICAL - * * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * * `INSURANCE` - INSURANCE - * * `RETIREMENT` - RETIREMENT - * * `OTHER` - OTHER + * - `MEDICAL` - MEDICAL + * - `HEALTH_SAVINGS` - HEALTH_SAVINGS + * - `INSURANCE` - INSURANCE + * - `RETIREMENT` - RETIREMENT + * - `OTHER` - OTHER */ benefitPlanType?: Merge.hris.EmployerBenefitBenefitPlanType; /** The employer benefit's name - typically the carrier or network name. */ diff --git a/src/api/resources/hris/types/EmployerBenefitBenefitPlanType.ts b/src/api/resources/hris/types/EmployerBenefitBenefitPlanType.ts index ae11f097..6ad30a3f 100644 --- a/src/api/resources/hris/types/EmployerBenefitBenefitPlanType.ts +++ b/src/api/resources/hris/types/EmployerBenefitBenefitPlanType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The type of benefit plan. * - * * `MEDICAL` - MEDICAL - * * `HEALTH_SAVINGS` - HEALTH_SAVINGS - * * `INSURANCE` - INSURANCE - * * `RETIREMENT` - RETIREMENT - * * `OTHER` - OTHER + * - `MEDICAL` - MEDICAL + * - `HEALTH_SAVINGS` - HEALTH_SAVINGS + * - `INSURANCE` - INSURANCE + * - `RETIREMENT` - RETIREMENT + * - `OTHER` - OTHER */ export type EmployerBenefitBenefitPlanType = Merge.hris.BenefitPlanTypeEnum | string; diff --git a/src/api/resources/hris/types/Employment.ts b/src/api/resources/hris/types/Employment.ts index 077d76dc..e2429e70 100644 --- a/src/api/resources/hris/types/Employment.ts +++ b/src/api/resources/hris/types/Employment.ts @@ -6,12 +6,15 @@ import * as Merge from "../../.."; /** * # The Employment Object + * * ### Description + * * The `Employment` object is used to represent a job position at a company. * * Please note: When there is a change in pay or title, integrations with historical data will create new Employment objects while integrations without historical data will update existing ones. * * ### Usage Example + * * Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employees. */ export interface Employment { @@ -27,340 +30,340 @@ export interface Employment { /** * The time period this pay rate encompasses. * - * * `HOUR` - HOUR - * * `DAY` - DAY - * * `WEEK` - WEEK - * * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * * `SEMIMONTHLY` - SEMIMONTHLY - * * `MONTH` - MONTH - * * `QUARTER` - QUARTER - * * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * * `YEAR` - YEAR + * - `HOUR` - HOUR + * - `DAY` - DAY + * - `WEEK` - WEEK + * - `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS + * - `SEMIMONTHLY` - SEMIMONTHLY + * - `MONTH` - MONTH + * - `QUARTER` - QUARTER + * - `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS + * - `YEAR` - YEAR */ payPeriod?: Merge.hris.EmploymentPayPeriod; /** * The position's pay frequency. * - * * `WEEKLY` - WEEKLY - * * `BIWEEKLY` - BIWEEKLY - * * `MONTHLY` - MONTHLY - * * `QUARTERLY` - QUARTERLY - * * `SEMIANNUALLY` - SEMIANNUALLY - * * `ANNUALLY` - ANNUALLY - * * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * * `PRO_RATA` - PRO_RATA - * * `SEMIMONTHLY` - SEMIMONTHLY + * - `WEEKLY` - WEEKLY + * - `BIWEEKLY` - BIWEEKLY + * - `MONTHLY` - MONTHLY + * - `QUARTERLY` - QUARTERLY + * - `SEMIANNUALLY` - SEMIANNUALLY + * - `ANNUALLY` - ANNUALLY + * - `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY + * - `PRO_RATA` - PRO_RATA + * - `SEMIMONTHLY` - SEMIMONTHLY */ payFrequency?: Merge.hris.EmploymentPayFrequency; /** * The position's currency code. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ payCurrency?: Merge.hris.EmploymentPayCurrency; /** The employment's pay group */ @@ -368,10 +371,10 @@ export interface Employment { /** * The position's FLSA status. * - * * `EXEMPT` - EXEMPT - * * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * * `NONEXEMPT` - NONEXEMPT - * * `OWNER` - OWNER + * - `EXEMPT` - EXEMPT + * - `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT + * - `NONEXEMPT` - NONEXEMPT + * - `OWNER` - OWNER */ flsaStatus?: Merge.hris.EmploymentFlsaStatus; /** The position's effective date. */ @@ -379,11 +382,11 @@ export interface Employment { /** * The position's type of employment. * - * * `FULL_TIME` - FULL_TIME - * * `PART_TIME` - PART_TIME - * * `INTERN` - INTERN - * * `CONTRACTOR` - CONTRACTOR - * * `FREELANCE` - FREELANCE + * - `FULL_TIME` - FULL_TIME + * - `PART_TIME` - PART_TIME + * - `INTERN` - INTERN + * - `CONTRACTOR` - CONTRACTOR + * - `FREELANCE` - FREELANCE */ employmentType?: Merge.hris.EmploymentEmploymentType; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/hris/types/EmploymentEmploymentType.ts b/src/api/resources/hris/types/EmploymentEmploymentType.ts index 84771eaa..ab5a127e 100644 --- a/src/api/resources/hris/types/EmploymentEmploymentType.ts +++ b/src/api/resources/hris/types/EmploymentEmploymentType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The position's type of employment. * - * * `FULL_TIME` - FULL_TIME - * * `PART_TIME` - PART_TIME - * * `INTERN` - INTERN - * * `CONTRACTOR` - CONTRACTOR - * * `FREELANCE` - FREELANCE + * - `FULL_TIME` - FULL_TIME + * - `PART_TIME` - PART_TIME + * - `INTERN` - INTERN + * - `CONTRACTOR` - CONTRACTOR + * - `FREELANCE` - FREELANCE */ export type EmploymentEmploymentType = Merge.hris.EmploymentTypeEnum | string; diff --git a/src/api/resources/hris/types/EmploymentFlsaStatus.ts b/src/api/resources/hris/types/EmploymentFlsaStatus.ts index c35bc83e..2255729a 100644 --- a/src/api/resources/hris/types/EmploymentFlsaStatus.ts +++ b/src/api/resources/hris/types/EmploymentFlsaStatus.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The position's FLSA status. * - * * `EXEMPT` - EXEMPT - * * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * * `NONEXEMPT` - NONEXEMPT - * * `OWNER` - OWNER + * - `EXEMPT` - EXEMPT + * - `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT + * - `NONEXEMPT` - NONEXEMPT + * - `OWNER` - OWNER */ export type EmploymentFlsaStatus = Merge.hris.FlsaStatusEnum | string; diff --git a/src/api/resources/hris/types/EmploymentPayCurrency.ts b/src/api/resources/hris/types/EmploymentPayCurrency.ts index 77542527..ef35b861 100644 --- a/src/api/resources/hris/types/EmploymentPayCurrency.ts +++ b/src/api/resources/hris/types/EmploymentPayCurrency.ts @@ -7,311 +7,311 @@ import * as Merge from "../../.."; /** * The position's currency code. * - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type EmploymentPayCurrency = Merge.hris.PayCurrencyEnum | string; diff --git a/src/api/resources/hris/types/EmploymentPayFrequency.ts b/src/api/resources/hris/types/EmploymentPayFrequency.ts index d6756d56..c6e5b42f 100644 --- a/src/api/resources/hris/types/EmploymentPayFrequency.ts +++ b/src/api/resources/hris/types/EmploymentPayFrequency.ts @@ -7,14 +7,14 @@ import * as Merge from "../../.."; /** * The position's pay frequency. * - * * `WEEKLY` - WEEKLY - * * `BIWEEKLY` - BIWEEKLY - * * `MONTHLY` - MONTHLY - * * `QUARTERLY` - QUARTERLY - * * `SEMIANNUALLY` - SEMIANNUALLY - * * `ANNUALLY` - ANNUALLY - * * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * * `PRO_RATA` - PRO_RATA - * * `SEMIMONTHLY` - SEMIMONTHLY + * - `WEEKLY` - WEEKLY + * - `BIWEEKLY` - BIWEEKLY + * - `MONTHLY` - MONTHLY + * - `QUARTERLY` - QUARTERLY + * - `SEMIANNUALLY` - SEMIANNUALLY + * - `ANNUALLY` - ANNUALLY + * - `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY + * - `PRO_RATA` - PRO_RATA + * - `SEMIMONTHLY` - SEMIMONTHLY */ export type EmploymentPayFrequency = Merge.hris.PayFrequencyEnum | string; diff --git a/src/api/resources/hris/types/EmploymentPayPeriod.ts b/src/api/resources/hris/types/EmploymentPayPeriod.ts index df89277c..ca845d97 100644 --- a/src/api/resources/hris/types/EmploymentPayPeriod.ts +++ b/src/api/resources/hris/types/EmploymentPayPeriod.ts @@ -7,14 +7,14 @@ import * as Merge from "../../.."; /** * The time period this pay rate encompasses. * - * * `HOUR` - HOUR - * * `DAY` - DAY - * * `WEEK` - WEEK - * * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * * `SEMIMONTHLY` - SEMIMONTHLY - * * `MONTH` - MONTH - * * `QUARTER` - QUARTER - * * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * * `YEAR` - YEAR + * - `HOUR` - HOUR + * - `DAY` - DAY + * - `WEEK` - WEEK + * - `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS + * - `SEMIMONTHLY` - SEMIMONTHLY + * - `MONTH` - MONTH + * - `QUARTER` - QUARTER + * - `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS + * - `YEAR` - YEAR */ export type EmploymentPayPeriod = Merge.hris.PayPeriodEnum | string; diff --git a/src/api/resources/hris/types/EmploymentStatusEnum.ts b/src/api/resources/hris/types/EmploymentStatusEnum.ts index 48657ae0..f86b4a68 100644 --- a/src/api/resources/hris/types/EmploymentStatusEnum.ts +++ b/src/api/resources/hris/types/EmploymentStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `ACTIVE` - ACTIVE - * * `PENDING` - PENDING - * * `INACTIVE` - INACTIVE + * - `ACTIVE` - ACTIVE + * - `PENDING` - PENDING + * - `INACTIVE` - INACTIVE */ export type EmploymentStatusEnum = "ACTIVE" | "PENDING" | "INACTIVE"; diff --git a/src/api/resources/hris/types/EmploymentTypeEnum.ts b/src/api/resources/hris/types/EmploymentTypeEnum.ts index 7fb463ab..074a0781 100644 --- a/src/api/resources/hris/types/EmploymentTypeEnum.ts +++ b/src/api/resources/hris/types/EmploymentTypeEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `FULL_TIME` - FULL_TIME - * * `PART_TIME` - PART_TIME - * * `INTERN` - INTERN - * * `CONTRACTOR` - CONTRACTOR - * * `FREELANCE` - FREELANCE + * - `FULL_TIME` - FULL_TIME + * - `PART_TIME` - PART_TIME + * - `INTERN` - INTERN + * - `CONTRACTOR` - CONTRACTOR + * - `FREELANCE` - FREELANCE */ export type EmploymentTypeEnum = "FULL_TIME" | "PART_TIME" | "INTERN" | "CONTRACTOR" | "FREELANCE"; diff --git a/src/api/resources/hris/types/EnabledActionsEnum.ts b/src/api/resources/hris/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/hris/types/EnabledActionsEnum.ts +++ b/src/api/resources/hris/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/hris/types/EncodingEnum.ts b/src/api/resources/hris/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/hris/types/EncodingEnum.ts +++ b/src/api/resources/hris/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/hris/types/EthnicityEnum.ts b/src/api/resources/hris/types/EthnicityEnum.ts index 638bcec8..d8765cae 100644 --- a/src/api/resources/hris/types/EthnicityEnum.ts +++ b/src/api/resources/hris/types/EthnicityEnum.ts @@ -3,14 +3,14 @@ */ /** - * * `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE - * * `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT - * * `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN - * * `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO - * * `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER - * * `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES - * * `WHITE` - WHITE - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `AMERICAN_INDIAN_OR_ALASKA_NATIVE` - AMERICAN_INDIAN_OR_ALASKA_NATIVE + * - `ASIAN_OR_INDIAN_SUBCONTINENT` - ASIAN_OR_INDIAN_SUBCONTINENT + * - `BLACK_OR_AFRICAN_AMERICAN` - BLACK_OR_AFRICAN_AMERICAN + * - `HISPANIC_OR_LATINO` - HISPANIC_OR_LATINO + * - `NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER` - NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER + * - `TWO_OR_MORE_RACES` - TWO_OR_MORE_RACES + * - `WHITE` - WHITE + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type EthnicityEnum = | "AMERICAN_INDIAN_OR_ALASKA_NATIVE" diff --git a/src/api/resources/hris/types/EventTypeEnum.ts b/src/api/resources/hris/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/hris/types/EventTypeEnum.ts +++ b/src/api/resources/hris/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/hris/types/FlsaStatusEnum.ts b/src/api/resources/hris/types/FlsaStatusEnum.ts index 358b4a2d..1f9cb1cb 100644 --- a/src/api/resources/hris/types/FlsaStatusEnum.ts +++ b/src/api/resources/hris/types/FlsaStatusEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `EXEMPT` - EXEMPT - * * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT - * * `NONEXEMPT` - NONEXEMPT - * * `OWNER` - OWNER + * - `EXEMPT` - EXEMPT + * - `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT + * - `NONEXEMPT` - NONEXEMPT + * - `OWNER` - OWNER */ export type FlsaStatusEnum = "EXEMPT" | "SALARIED_NONEXEMPT" | "NONEXEMPT" | "OWNER"; diff --git a/src/api/resources/hris/types/GenderEnum.ts b/src/api/resources/hris/types/GenderEnum.ts index d357a246..eee98747 100644 --- a/src/api/resources/hris/types/GenderEnum.ts +++ b/src/api/resources/hris/types/GenderEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `MALE` - MALE - * * `FEMALE` - FEMALE - * * `NON-BINARY` - NON-BINARY - * * `OTHER` - OTHER - * * `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE + * - `MALE` - MALE + * - `FEMALE` - FEMALE + * - `NON-BINARY` - NON-BINARY + * - `OTHER` - OTHER + * - `PREFER_NOT_TO_DISCLOSE` - PREFER_NOT_TO_DISCLOSE */ export type GenderEnum = "MALE" | "FEMALE" | "NON-BINARY" | "OTHER" | "PREFER_NOT_TO_DISCLOSE"; diff --git a/src/api/resources/hris/types/Group.ts b/src/api/resources/hris/types/Group.ts index 48cef9ac..ed042ab0 100644 --- a/src/api/resources/hris/types/Group.ts +++ b/src/api/resources/hris/types/Group.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Group Object + * * ### Description + * * The `Group` object is used to represent any subset of employees, such as `PayGroup` or `Team`. Employees can be in multiple Groups. * * ### Usage Example + * * Fetch from the `LIST Employee` endpoint and expand groups to view an employee's groups. */ export interface Group { @@ -23,11 +26,11 @@ export interface Group { /** * The group type * - * * `TEAM` - TEAM - * * `DEPARTMENT` - DEPARTMENT - * * `COST_CENTER` - COST_CENTER - * * `BUSINESS_UNIT` - BUSINESS_UNIT - * * `GROUP` - GROUP + * - `TEAM` - TEAM + * - `DEPARTMENT` - DEPARTMENT + * - `COST_CENTER` - COST_CENTER + * - `BUSINESS_UNIT` - BUSINESS_UNIT + * - `GROUP` - GROUP */ type?: Merge.hris.GroupType; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/hris/types/GroupType.ts b/src/api/resources/hris/types/GroupType.ts index 8b58325e..f13158d1 100644 --- a/src/api/resources/hris/types/GroupType.ts +++ b/src/api/resources/hris/types/GroupType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The group type * - * * `TEAM` - TEAM - * * `DEPARTMENT` - DEPARTMENT - * * `COST_CENTER` - COST_CENTER - * * `BUSINESS_UNIT` - BUSINESS_UNIT - * * `GROUP` - GROUP + * - `TEAM` - TEAM + * - `DEPARTMENT` - DEPARTMENT + * - `COST_CENTER` - COST_CENTER + * - `BUSINESS_UNIT` - BUSINESS_UNIT + * - `GROUP` - GROUP */ export type GroupType = Merge.hris.GroupTypeEnum | string; diff --git a/src/api/resources/hris/types/GroupTypeEnum.ts b/src/api/resources/hris/types/GroupTypeEnum.ts index 74bc4cf9..d6ad68af 100644 --- a/src/api/resources/hris/types/GroupTypeEnum.ts +++ b/src/api/resources/hris/types/GroupTypeEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `TEAM` - TEAM - * * `DEPARTMENT` - DEPARTMENT - * * `COST_CENTER` - COST_CENTER - * * `BUSINESS_UNIT` - BUSINESS_UNIT - * * `GROUP` - GROUP + * - `TEAM` - TEAM + * - `DEPARTMENT` - DEPARTMENT + * - `COST_CENTER` - COST_CENTER + * - `BUSINESS_UNIT` - BUSINESS_UNIT + * - `GROUP` - GROUP */ export type GroupTypeEnum = "TEAM" | "DEPARTMENT" | "COST_CENTER" | "BUSINESS_UNIT" | "GROUP"; diff --git a/src/api/resources/hris/types/Issue.ts b/src/api/resources/hris/types/Issue.ts index dcab1170..f176d714 100644 --- a/src/api/resources/hris/types/Issue.ts +++ b/src/api/resources/hris/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.hris.IssueStatus; errorDescription: string; diff --git a/src/api/resources/hris/types/IssueStatus.ts b/src/api/resources/hris/types/IssueStatus.ts index de5f37ab..155ba4c7 100644 --- a/src/api/resources/hris/types/IssueStatus.ts +++ b/src/api/resources/hris/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.hris.IssueStatusEnum | string; diff --git a/src/api/resources/hris/types/IssueStatusEnum.ts b/src/api/resources/hris/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/hris/types/IssueStatusEnum.ts +++ b/src/api/resources/hris/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/hris/types/LinkedAccountCondition.ts b/src/api/resources/hris/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/hris/types/LinkedAccountCondition.ts +++ b/src/api/resources/hris/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/hris/types/Location.ts b/src/api/resources/hris/types/Location.ts index 6b43ac3e..c13ab148 100644 --- a/src/api/resources/hris/types/Location.ts +++ b/src/api/resources/hris/types/Location.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Location Object + * * ### Description + * * The `Location` object is used to represent an address that can be associated with an employee. * * ### Usage Example + * * Fetch from the `LIST Locations` endpoint and filter by `ID` to show all office locations. */ export interface Location { @@ -33,262 +36,262 @@ export interface Location { /** * The location's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ country?: Merge.hris.LocationCountry; /** * The location's type. Can be either WORK or HOME * - * * `HOME` - HOME - * * `WORK` - WORK + * - `HOME` - HOME + * - `WORK` - WORK */ locationType?: Merge.hris.LocationLocationType; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/hris/types/LocationCountry.ts b/src/api/resources/hris/types/LocationCountry.ts index 5ed05083..538c17a5 100644 --- a/src/api/resources/hris/types/LocationCountry.ts +++ b/src/api/resources/hris/types/LocationCountry.ts @@ -7,254 +7,254 @@ import * as Merge from "../../.."; /** * The location's country. * - * * `AF` - Afghanistan - * * `AX` - Åland Islands - * * `AL` - Albania - * * `DZ` - Algeria - * * `AS` - American Samoa - * * `AD` - Andorra - * * `AO` - Angola - * * `AI` - Anguilla - * * `AQ` - Antarctica - * * `AG` - Antigua and Barbuda - * * `AR` - Argentina - * * `AM` - Armenia - * * `AW` - Aruba - * * `AU` - Australia - * * `AT` - Austria - * * `AZ` - Azerbaijan - * * `BS` - Bahamas - * * `BH` - Bahrain - * * `BD` - Bangladesh - * * `BB` - Barbados - * * `BY` - Belarus - * * `BE` - Belgium - * * `BZ` - Belize - * * `BJ` - Benin - * * `BM` - Bermuda - * * `BT` - Bhutan - * * `BO` - Bolivia - * * `BQ` - Bonaire, Sint Eustatius and Saba - * * `BA` - Bosnia and Herzegovina - * * `BW` - Botswana - * * `BV` - Bouvet Island - * * `BR` - Brazil - * * `IO` - British Indian Ocean Territory - * * `BN` - Brunei - * * `BG` - Bulgaria - * * `BF` - Burkina Faso - * * `BI` - Burundi - * * `CV` - Cabo Verde - * * `KH` - Cambodia - * * `CM` - Cameroon - * * `CA` - Canada - * * `KY` - Cayman Islands - * * `CF` - Central African Republic - * * `TD` - Chad - * * `CL` - Chile - * * `CN` - China - * * `CX` - Christmas Island - * * `CC` - Cocos (Keeling) Islands - * * `CO` - Colombia - * * `KM` - Comoros - * * `CG` - Congo - * * `CD` - Congo (the Democratic Republic of the) - * * `CK` - Cook Islands - * * `CR` - Costa Rica - * * `CI` - Côte d'Ivoire - * * `HR` - Croatia - * * `CU` - Cuba - * * `CW` - Curaçao - * * `CY` - Cyprus - * * `CZ` - Czechia - * * `DK` - Denmark - * * `DJ` - Djibouti - * * `DM` - Dominica - * * `DO` - Dominican Republic - * * `EC` - Ecuador - * * `EG` - Egypt - * * `SV` - El Salvador - * * `GQ` - Equatorial Guinea - * * `ER` - Eritrea - * * `EE` - Estonia - * * `SZ` - Eswatini - * * `ET` - Ethiopia - * * `FK` - Falkland Islands (Malvinas) - * * `FO` - Faroe Islands - * * `FJ` - Fiji - * * `FI` - Finland - * * `FR` - France - * * `GF` - French Guiana - * * `PF` - French Polynesia - * * `TF` - French Southern Territories - * * `GA` - Gabon - * * `GM` - Gambia - * * `GE` - Georgia - * * `DE` - Germany - * * `GH` - Ghana - * * `GI` - Gibraltar - * * `GR` - Greece - * * `GL` - Greenland - * * `GD` - Grenada - * * `GP` - Guadeloupe - * * `GU` - Guam - * * `GT` - Guatemala - * * `GG` - Guernsey - * * `GN` - Guinea - * * `GW` - Guinea-Bissau - * * `GY` - Guyana - * * `HT` - Haiti - * * `HM` - Heard Island and McDonald Islands - * * `VA` - Holy See - * * `HN` - Honduras - * * `HK` - Hong Kong - * * `HU` - Hungary - * * `IS` - Iceland - * * `IN` - India - * * `ID` - Indonesia - * * `IR` - Iran - * * `IQ` - Iraq - * * `IE` - Ireland - * * `IM` - Isle of Man - * * `IL` - Israel - * * `IT` - Italy - * * `JM` - Jamaica - * * `JP` - Japan - * * `JE` - Jersey - * * `JO` - Jordan - * * `KZ` - Kazakhstan - * * `KE` - Kenya - * * `KI` - Kiribati - * * `KW` - Kuwait - * * `KG` - Kyrgyzstan - * * `LA` - Laos - * * `LV` - Latvia - * * `LB` - Lebanon - * * `LS` - Lesotho - * * `LR` - Liberia - * * `LY` - Libya - * * `LI` - Liechtenstein - * * `LT` - Lithuania - * * `LU` - Luxembourg - * * `MO` - Macao - * * `MG` - Madagascar - * * `MW` - Malawi - * * `MY` - Malaysia - * * `MV` - Maldives - * * `ML` - Mali - * * `MT` - Malta - * * `MH` - Marshall Islands - * * `MQ` - Martinique - * * `MR` - Mauritania - * * `MU` - Mauritius - * * `YT` - Mayotte - * * `MX` - Mexico - * * `FM` - Micronesia (Federated States of) - * * `MD` - Moldova - * * `MC` - Monaco - * * `MN` - Mongolia - * * `ME` - Montenegro - * * `MS` - Montserrat - * * `MA` - Morocco - * * `MZ` - Mozambique - * * `MM` - Myanmar - * * `NA` - Namibia - * * `NR` - Nauru - * * `NP` - Nepal - * * `NL` - Netherlands - * * `NC` - New Caledonia - * * `NZ` - New Zealand - * * `NI` - Nicaragua - * * `NE` - Niger - * * `NG` - Nigeria - * * `NU` - Niue - * * `NF` - Norfolk Island - * * `KP` - North Korea - * * `MK` - North Macedonia - * * `MP` - Northern Mariana Islands - * * `NO` - Norway - * * `OM` - Oman - * * `PK` - Pakistan - * * `PW` - Palau - * * `PS` - Palestine, State of - * * `PA` - Panama - * * `PG` - Papua New Guinea - * * `PY` - Paraguay - * * `PE` - Peru - * * `PH` - Philippines - * * `PN` - Pitcairn - * * `PL` - Poland - * * `PT` - Portugal - * * `PR` - Puerto Rico - * * `QA` - Qatar - * * `RE` - Réunion - * * `RO` - Romania - * * `RU` - Russia - * * `RW` - Rwanda - * * `BL` - Saint Barthélemy - * * `SH` - Saint Helena, Ascension and Tristan da Cunha - * * `KN` - Saint Kitts and Nevis - * * `LC` - Saint Lucia - * * `MF` - Saint Martin (French part) - * * `PM` - Saint Pierre and Miquelon - * * `VC` - Saint Vincent and the Grenadines - * * `WS` - Samoa - * * `SM` - San Marino - * * `ST` - Sao Tome and Principe - * * `SA` - Saudi Arabia - * * `SN` - Senegal - * * `RS` - Serbia - * * `SC` - Seychelles - * * `SL` - Sierra Leone - * * `SG` - Singapore - * * `SX` - Sint Maarten (Dutch part) - * * `SK` - Slovakia - * * `SI` - Slovenia - * * `SB` - Solomon Islands - * * `SO` - Somalia - * * `ZA` - South Africa - * * `GS` - South Georgia and the South Sandwich Islands - * * `KR` - South Korea - * * `SS` - South Sudan - * * `ES` - Spain - * * `LK` - Sri Lanka - * * `SD` - Sudan - * * `SR` - Suriname - * * `SJ` - Svalbard and Jan Mayen - * * `SE` - Sweden - * * `CH` - Switzerland - * * `SY` - Syria - * * `TW` - Taiwan - * * `TJ` - Tajikistan - * * `TZ` - Tanzania - * * `TH` - Thailand - * * `TL` - Timor-Leste - * * `TG` - Togo - * * `TK` - Tokelau - * * `TO` - Tonga - * * `TT` - Trinidad and Tobago - * * `TN` - Tunisia - * * `TR` - Turkey - * * `TM` - Turkmenistan - * * `TC` - Turks and Caicos Islands - * * `TV` - Tuvalu - * * `UG` - Uganda - * * `UA` - Ukraine - * * `AE` - United Arab Emirates - * * `GB` - United Kingdom - * * `UM` - United States Minor Outlying Islands - * * `US` - United States of America - * * `UY` - Uruguay - * * `UZ` - Uzbekistan - * * `VU` - Vanuatu - * * `VE` - Venezuela - * * `VN` - Vietnam - * * `VG` - Virgin Islands (British) - * * `VI` - Virgin Islands (U.S.) - * * `WF` - Wallis and Futuna - * * `EH` - Western Sahara - * * `YE` - Yemen - * * `ZM` - Zambia - * * `ZW` - Zimbabwe + * - `AF` - Afghanistan + * - `AX` - Åland Islands + * - `AL` - Albania + * - `DZ` - Algeria + * - `AS` - American Samoa + * - `AD` - Andorra + * - `AO` - Angola + * - `AI` - Anguilla + * - `AQ` - Antarctica + * - `AG` - Antigua and Barbuda + * - `AR` - Argentina + * - `AM` - Armenia + * - `AW` - Aruba + * - `AU` - Australia + * - `AT` - Austria + * - `AZ` - Azerbaijan + * - `BS` - Bahamas + * - `BH` - Bahrain + * - `BD` - Bangladesh + * - `BB` - Barbados + * - `BY` - Belarus + * - `BE` - Belgium + * - `BZ` - Belize + * - `BJ` - Benin + * - `BM` - Bermuda + * - `BT` - Bhutan + * - `BO` - Bolivia + * - `BQ` - Bonaire, Sint Eustatius and Saba + * - `BA` - Bosnia and Herzegovina + * - `BW` - Botswana + * - `BV` - Bouvet Island + * - `BR` - Brazil + * - `IO` - British Indian Ocean Territory + * - `BN` - Brunei + * - `BG` - Bulgaria + * - `BF` - Burkina Faso + * - `BI` - Burundi + * - `CV` - Cabo Verde + * - `KH` - Cambodia + * - `CM` - Cameroon + * - `CA` - Canada + * - `KY` - Cayman Islands + * - `CF` - Central African Republic + * - `TD` - Chad + * - `CL` - Chile + * - `CN` - China + * - `CX` - Christmas Island + * - `CC` - Cocos (Keeling) Islands + * - `CO` - Colombia + * - `KM` - Comoros + * - `CG` - Congo + * - `CD` - Congo (the Democratic Republic of the) + * - `CK` - Cook Islands + * - `CR` - Costa Rica + * - `CI` - Côte d'Ivoire + * - `HR` - Croatia + * - `CU` - Cuba + * - `CW` - Curaçao + * - `CY` - Cyprus + * - `CZ` - Czechia + * - `DK` - Denmark + * - `DJ` - Djibouti + * - `DM` - Dominica + * - `DO` - Dominican Republic + * - `EC` - Ecuador + * - `EG` - Egypt + * - `SV` - El Salvador + * - `GQ` - Equatorial Guinea + * - `ER` - Eritrea + * - `EE` - Estonia + * - `SZ` - Eswatini + * - `ET` - Ethiopia + * - `FK` - Falkland Islands (Malvinas) + * - `FO` - Faroe Islands + * - `FJ` - Fiji + * - `FI` - Finland + * - `FR` - France + * - `GF` - French Guiana + * - `PF` - French Polynesia + * - `TF` - French Southern Territories + * - `GA` - Gabon + * - `GM` - Gambia + * - `GE` - Georgia + * - `DE` - Germany + * - `GH` - Ghana + * - `GI` - Gibraltar + * - `GR` - Greece + * - `GL` - Greenland + * - `GD` - Grenada + * - `GP` - Guadeloupe + * - `GU` - Guam + * - `GT` - Guatemala + * - `GG` - Guernsey + * - `GN` - Guinea + * - `GW` - Guinea-Bissau + * - `GY` - Guyana + * - `HT` - Haiti + * - `HM` - Heard Island and McDonald Islands + * - `VA` - Holy See + * - `HN` - Honduras + * - `HK` - Hong Kong + * - `HU` - Hungary + * - `IS` - Iceland + * - `IN` - India + * - `ID` - Indonesia + * - `IR` - Iran + * - `IQ` - Iraq + * - `IE` - Ireland + * - `IM` - Isle of Man + * - `IL` - Israel + * - `IT` - Italy + * - `JM` - Jamaica + * - `JP` - Japan + * - `JE` - Jersey + * - `JO` - Jordan + * - `KZ` - Kazakhstan + * - `KE` - Kenya + * - `KI` - Kiribati + * - `KW` - Kuwait + * - `KG` - Kyrgyzstan + * - `LA` - Laos + * - `LV` - Latvia + * - `LB` - Lebanon + * - `LS` - Lesotho + * - `LR` - Liberia + * - `LY` - Libya + * - `LI` - Liechtenstein + * - `LT` - Lithuania + * - `LU` - Luxembourg + * - `MO` - Macao + * - `MG` - Madagascar + * - `MW` - Malawi + * - `MY` - Malaysia + * - `MV` - Maldives + * - `ML` - Mali + * - `MT` - Malta + * - `MH` - Marshall Islands + * - `MQ` - Martinique + * - `MR` - Mauritania + * - `MU` - Mauritius + * - `YT` - Mayotte + * - `MX` - Mexico + * - `FM` - Micronesia (Federated States of) + * - `MD` - Moldova + * - `MC` - Monaco + * - `MN` - Mongolia + * - `ME` - Montenegro + * - `MS` - Montserrat + * - `MA` - Morocco + * - `MZ` - Mozambique + * - `MM` - Myanmar + * - `NA` - Namibia + * - `NR` - Nauru + * - `NP` - Nepal + * - `NL` - Netherlands + * - `NC` - New Caledonia + * - `NZ` - New Zealand + * - `NI` - Nicaragua + * - `NE` - Niger + * - `NG` - Nigeria + * - `NU` - Niue + * - `NF` - Norfolk Island + * - `KP` - North Korea + * - `MK` - North Macedonia + * - `MP` - Northern Mariana Islands + * - `NO` - Norway + * - `OM` - Oman + * - `PK` - Pakistan + * - `PW` - Palau + * - `PS` - Palestine, State of + * - `PA` - Panama + * - `PG` - Papua New Guinea + * - `PY` - Paraguay + * - `PE` - Peru + * - `PH` - Philippines + * - `PN` - Pitcairn + * - `PL` - Poland + * - `PT` - Portugal + * - `PR` - Puerto Rico + * - `QA` - Qatar + * - `RE` - Réunion + * - `RO` - Romania + * - `RU` - Russia + * - `RW` - Rwanda + * - `BL` - Saint Barthélemy + * - `SH` - Saint Helena, Ascension and Tristan da Cunha + * - `KN` - Saint Kitts and Nevis + * - `LC` - Saint Lucia + * - `MF` - Saint Martin (French part) + * - `PM` - Saint Pierre and Miquelon + * - `VC` - Saint Vincent and the Grenadines + * - `WS` - Samoa + * - `SM` - San Marino + * - `ST` - Sao Tome and Principe + * - `SA` - Saudi Arabia + * - `SN` - Senegal + * - `RS` - Serbia + * - `SC` - Seychelles + * - `SL` - Sierra Leone + * - `SG` - Singapore + * - `SX` - Sint Maarten (Dutch part) + * - `SK` - Slovakia + * - `SI` - Slovenia + * - `SB` - Solomon Islands + * - `SO` - Somalia + * - `ZA` - South Africa + * - `GS` - South Georgia and the South Sandwich Islands + * - `KR` - South Korea + * - `SS` - South Sudan + * - `ES` - Spain + * - `LK` - Sri Lanka + * - `SD` - Sudan + * - `SR` - Suriname + * - `SJ` - Svalbard and Jan Mayen + * - `SE` - Sweden + * - `CH` - Switzerland + * - `SY` - Syria + * - `TW` - Taiwan + * - `TJ` - Tajikistan + * - `TZ` - Tanzania + * - `TH` - Thailand + * - `TL` - Timor-Leste + * - `TG` - Togo + * - `TK` - Tokelau + * - `TO` - Tonga + * - `TT` - Trinidad and Tobago + * - `TN` - Tunisia + * - `TR` - Turkey + * - `TM` - Turkmenistan + * - `TC` - Turks and Caicos Islands + * - `TV` - Tuvalu + * - `UG` - Uganda + * - `UA` - Ukraine + * - `AE` - United Arab Emirates + * - `GB` - United Kingdom + * - `UM` - United States Minor Outlying Islands + * - `US` - United States of America + * - `UY` - Uruguay + * - `UZ` - Uzbekistan + * - `VU` - Vanuatu + * - `VE` - Venezuela + * - `VN` - Vietnam + * - `VG` - Virgin Islands (British) + * - `VI` - Virgin Islands (U.S.) + * - `WF` - Wallis and Futuna + * - `EH` - Western Sahara + * - `YE` - Yemen + * - `ZM` - Zambia + * - `ZW` - Zimbabwe */ export type LocationCountry = Merge.hris.CountryEnum | string; diff --git a/src/api/resources/hris/types/LocationLocationType.ts b/src/api/resources/hris/types/LocationLocationType.ts index 045429ce..2d95fe70 100644 --- a/src/api/resources/hris/types/LocationLocationType.ts +++ b/src/api/resources/hris/types/LocationLocationType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The location's type. Can be either WORK or HOME * - * * `HOME` - HOME - * * `WORK` - WORK + * - `HOME` - HOME + * - `WORK` - WORK */ export type LocationLocationType = Merge.hris.LocationTypeEnum | string; diff --git a/src/api/resources/hris/types/LocationTypeEnum.ts b/src/api/resources/hris/types/LocationTypeEnum.ts index 244b5811..2846de0e 100644 --- a/src/api/resources/hris/types/LocationTypeEnum.ts +++ b/src/api/resources/hris/types/LocationTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `HOME` - HOME - * * `WORK` - WORK + * - `HOME` - HOME + * - `WORK` - WORK */ export type LocationTypeEnum = "HOME" | "WORK"; diff --git a/src/api/resources/hris/types/MaritalStatusEnum.ts b/src/api/resources/hris/types/MaritalStatusEnum.ts index 07bd1da3..37f632ba 100644 --- a/src/api/resources/hris/types/MaritalStatusEnum.ts +++ b/src/api/resources/hris/types/MaritalStatusEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `SINGLE` - SINGLE - * * `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY - * * `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY - * * `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD - * * `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD + * - `SINGLE` - SINGLE + * - `MARRIED_FILING_JOINTLY` - MARRIED_FILING_JOINTLY + * - `MARRIED_FILING_SEPARATELY` - MARRIED_FILING_SEPARATELY + * - `HEAD_OF_HOUSEHOLD` - HEAD_OF_HOUSEHOLD + * - `QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD` - QUALIFYING_WIDOW_OR_WIDOWER_WITH_DEPENDENT_CHILD */ export type MaritalStatusEnum = | "SINGLE" diff --git a/src/api/resources/hris/types/MethodEnum.ts b/src/api/resources/hris/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/hris/types/MethodEnum.ts +++ b/src/api/resources/hris/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/hris/types/ModelOperation.ts b/src/api/resources/hris/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/hris/types/ModelOperation.ts +++ b/src/api/resources/hris/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/hris/types/MultipartFormFieldRequest.ts b/src/api/resources/hris/types/MultipartFormFieldRequest.ts index 91fe0e83..74237164 100644 --- a/src/api/resources/hris/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/hris/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.hris.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts index 90dd9a4d..67507879 100644 --- a/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.hris.EncodingEnum | string; diff --git a/src/api/resources/hris/types/PayCurrencyEnum.ts b/src/api/resources/hris/types/PayCurrencyEnum.ts index ce8adff8..c0ddb86c 100644 --- a/src/api/resources/hris/types/PayCurrencyEnum.ts +++ b/src/api/resources/hris/types/PayCurrencyEnum.ts @@ -3,312 +3,312 @@ */ /** - * * `XUA` - ADB Unit of Account - * * `AFN` - Afghan Afghani - * * `AFA` - Afghan Afghani (1927–2002) - * * `ALL` - Albanian Lek - * * `ALK` - Albanian Lek (1946–1965) - * * `DZD` - Algerian Dinar - * * `ADP` - Andorran Peseta - * * `AOA` - Angolan Kwanza - * * `AOK` - Angolan Kwanza (1977–1991) - * * `AON` - Angolan New Kwanza (1990–2000) - * * `AOR` - Angolan Readjusted Kwanza (1995–1999) - * * `ARA` - Argentine Austral - * * `ARS` - Argentine Peso - * * `ARM` - Argentine Peso (1881–1970) - * * `ARP` - Argentine Peso (1983–1985) - * * `ARL` - Argentine Peso Ley (1970–1983) - * * `AMD` - Armenian Dram - * * `AWG` - Aruban Florin - * * `AUD` - Australian Dollar - * * `ATS` - Austrian Schilling - * * `AZN` - Azerbaijani Manat - * * `AZM` - Azerbaijani Manat (1993–2006) - * * `BSD` - Bahamian Dollar - * * `BHD` - Bahraini Dinar - * * `BDT` - Bangladeshi Taka - * * `BBD` - Barbadian Dollar - * * `BYN` - Belarusian Ruble - * * `BYB` - Belarusian Ruble (1994–1999) - * * `BYR` - Belarusian Ruble (2000–2016) - * * `BEF` - Belgian Franc - * * `BEC` - Belgian Franc (convertible) - * * `BEL` - Belgian Franc (financial) - * * `BZD` - Belize Dollar - * * `BMD` - Bermudan Dollar - * * `BTN` - Bhutanese Ngultrum - * * `BOB` - Bolivian Boliviano - * * `BOL` - Bolivian Boliviano (1863–1963) - * * `BOV` - Bolivian Mvdol - * * `BOP` - Bolivian Peso - * * `BAM` - Bosnia-Herzegovina Convertible Mark - * * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) - * * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) - * * `BWP` - Botswanan Pula - * * `BRC` - Brazilian Cruzado (1986–1989) - * * `BRZ` - Brazilian Cruzeiro (1942–1967) - * * `BRE` - Brazilian Cruzeiro (1990–1993) - * * `BRR` - Brazilian Cruzeiro (1993–1994) - * * `BRN` - Brazilian New Cruzado (1989–1990) - * * `BRB` - Brazilian New Cruzeiro (1967–1986) - * * `BRL` - Brazilian Real - * * `GBP` - British Pound - * * `BND` - Brunei Dollar - * * `BGL` - Bulgarian Hard Lev - * * `BGN` - Bulgarian Lev - * * `BGO` - Bulgarian Lev (1879–1952) - * * `BGM` - Bulgarian Socialist Lev - * * `BUK` - Burmese Kyat - * * `BIF` - Burundian Franc - * * `XPF` - CFP Franc - * * `KHR` - Cambodian Riel - * * `CAD` - Canadian Dollar - * * `CVE` - Cape Verdean Escudo - * * `KYD` - Cayman Islands Dollar - * * `XAF` - Central African CFA Franc - * * `CLE` - Chilean Escudo - * * `CLP` - Chilean Peso - * * `CLF` - Chilean Unit of Account (UF) - * * `CNX` - Chinese People’s Bank Dollar - * * `CNY` - Chinese Yuan - * * `CNH` - Chinese Yuan (offshore) - * * `COP` - Colombian Peso - * * `COU` - Colombian Real Value Unit - * * `KMF` - Comorian Franc - * * `CDF` - Congolese Franc - * * `CRC` - Costa Rican Colón - * * `HRD` - Croatian Dinar - * * `HRK` - Croatian Kuna - * * `CUC` - Cuban Convertible Peso - * * `CUP` - Cuban Peso - * * `CYP` - Cypriot Pound - * * `CZK` - Czech Koruna - * * `CSK` - Czechoslovak Hard Koruna - * * `DKK` - Danish Krone - * * `DJF` - Djiboutian Franc - * * `DOP` - Dominican Peso - * * `NLG` - Dutch Guilder - * * `XCD` - East Caribbean Dollar - * * `DDM` - East German Mark - * * `ECS` - Ecuadorian Sucre - * * `ECV` - Ecuadorian Unit of Constant Value - * * `EGP` - Egyptian Pound - * * `GQE` - Equatorial Guinean Ekwele - * * `ERN` - Eritrean Nakfa - * * `EEK` - Estonian Kroon - * * `ETB` - Ethiopian Birr - * * `EUR` - Euro - * * `XBA` - European Composite Unit - * * `XEU` - European Currency Unit - * * `XBB` - European Monetary Unit - * * `XBC` - European Unit of Account (XBC) - * * `XBD` - European Unit of Account (XBD) - * * `FKP` - Falkland Islands Pound - * * `FJD` - Fijian Dollar - * * `FIM` - Finnish Markka - * * `FRF` - French Franc - * * `XFO` - French Gold Franc - * * `XFU` - French UIC-Franc - * * `GMD` - Gambian Dalasi - * * `GEK` - Georgian Kupon Larit - * * `GEL` - Georgian Lari - * * `DEM` - German Mark - * * `GHS` - Ghanaian Cedi - * * `GHC` - Ghanaian Cedi (1979–2007) - * * `GIP` - Gibraltar Pound - * * `XAU` - Gold - * * `GRD` - Greek Drachma - * * `GTQ` - Guatemalan Quetzal - * * `GWP` - Guinea-Bissau Peso - * * `GNF` - Guinean Franc - * * `GNS` - Guinean Syli - * * `GYD` - Guyanaese Dollar - * * `HTG` - Haitian Gourde - * * `HNL` - Honduran Lempira - * * `HKD` - Hong Kong Dollar - * * `HUF` - Hungarian Forint - * * `IMP` - IMP - * * `ISK` - Icelandic Króna - * * `ISJ` - Icelandic Króna (1918–1981) - * * `INR` - Indian Rupee - * * `IDR` - Indonesian Rupiah - * * `IRR` - Iranian Rial - * * `IQD` - Iraqi Dinar - * * `IEP` - Irish Pound - * * `ILS` - Israeli New Shekel - * * `ILP` - Israeli Pound - * * `ILR` - Israeli Shekel (1980–1985) - * * `ITL` - Italian Lira - * * `JMD` - Jamaican Dollar - * * `JPY` - Japanese Yen - * * `JOD` - Jordanian Dinar - * * `KZT` - Kazakhstani Tenge - * * `KES` - Kenyan Shilling - * * `KWD` - Kuwaiti Dinar - * * `KGS` - Kyrgystani Som - * * `LAK` - Laotian Kip - * * `LVL` - Latvian Lats - * * `LVR` - Latvian Ruble - * * `LBP` - Lebanese Pound - * * `LSL` - Lesotho Loti - * * `LRD` - Liberian Dollar - * * `LYD` - Libyan Dinar - * * `LTL` - Lithuanian Litas - * * `LTT` - Lithuanian Talonas - * * `LUL` - Luxembourg Financial Franc - * * `LUC` - Luxembourgian Convertible Franc - * * `LUF` - Luxembourgian Franc - * * `MOP` - Macanese Pataca - * * `MKD` - Macedonian Denar - * * `MKN` - Macedonian Denar (1992–1993) - * * `MGA` - Malagasy Ariary - * * `MGF` - Malagasy Franc - * * `MWK` - Malawian Kwacha - * * `MYR` - Malaysian Ringgit - * * `MVR` - Maldivian Rufiyaa - * * `MVP` - Maldivian Rupee (1947–1981) - * * `MLF` - Malian Franc - * * `MTL` - Maltese Lira - * * `MTP` - Maltese Pound - * * `MRU` - Mauritanian Ouguiya - * * `MRO` - Mauritanian Ouguiya (1973–2017) - * * `MUR` - Mauritian Rupee - * * `MXV` - Mexican Investment Unit - * * `MXN` - Mexican Peso - * * `MXP` - Mexican Silver Peso (1861–1992) - * * `MDC` - Moldovan Cupon - * * `MDL` - Moldovan Leu - * * `MCF` - Monegasque Franc - * * `MNT` - Mongolian Tugrik - * * `MAD` - Moroccan Dirham - * * `MAF` - Moroccan Franc - * * `MZE` - Mozambican Escudo - * * `MZN` - Mozambican Metical - * * `MZM` - Mozambican Metical (1980–2006) - * * `MMK` - Myanmar Kyat - * * `NAD` - Namibian Dollar - * * `NPR` - Nepalese Rupee - * * `ANG` - Netherlands Antillean Guilder - * * `TWD` - New Taiwan Dollar - * * `NZD` - New Zealand Dollar - * * `NIO` - Nicaraguan Córdoba - * * `NIC` - Nicaraguan Córdoba (1988–1991) - * * `NGN` - Nigerian Naira - * * `KPW` - North Korean Won - * * `NOK` - Norwegian Krone - * * `OMR` - Omani Rial - * * `PKR` - Pakistani Rupee - * * `XPD` - Palladium - * * `PAB` - Panamanian Balboa - * * `PGK` - Papua New Guinean Kina - * * `PYG` - Paraguayan Guarani - * * `PEI` - Peruvian Inti - * * `PEN` - Peruvian Sol - * * `PES` - Peruvian Sol (1863–1965) - * * `PHP` - Philippine Peso - * * `XPT` - Platinum - * * `PLN` - Polish Zloty - * * `PLZ` - Polish Zloty (1950–1995) - * * `PTE` - Portuguese Escudo - * * `GWE` - Portuguese Guinea Escudo - * * `QAR` - Qatari Rial - * * `XRE` - RINET Funds - * * `RHD` - Rhodesian Dollar - * * `RON` - Romanian Leu - * * `ROL` - Romanian Leu (1952–2006) - * * `RUB` - Russian Ruble - * * `RUR` - Russian Ruble (1991–1998) - * * `RWF` - Rwandan Franc - * * `SVC` - Salvadoran Colón - * * `WST` - Samoan Tala - * * `SAR` - Saudi Riyal - * * `RSD` - Serbian Dinar - * * `CSD` - Serbian Dinar (2002–2006) - * * `SCR` - Seychellois Rupee - * * `SLL` - Sierra Leonean Leone - * * `XAG` - Silver - * * `SGD` - Singapore Dollar - * * `SKK` - Slovak Koruna - * * `SIT` - Slovenian Tolar - * * `SBD` - Solomon Islands Dollar - * * `SOS` - Somali Shilling - * * `ZAR` - South African Rand - * * `ZAL` - South African Rand (financial) - * * `KRH` - South Korean Hwan (1953–1962) - * * `KRW` - South Korean Won - * * `KRO` - South Korean Won (1945–1953) - * * `SSP` - South Sudanese Pound - * * `SUR` - Soviet Rouble - * * `ESP` - Spanish Peseta - * * `ESA` - Spanish Peseta (A account) - * * `ESB` - Spanish Peseta (convertible account) - * * `XDR` - Special Drawing Rights - * * `LKR` - Sri Lankan Rupee - * * `SHP` - St. Helena Pound - * * `XSU` - Sucre - * * `SDD` - Sudanese Dinar (1992–2007) - * * `SDG` - Sudanese Pound - * * `SDP` - Sudanese Pound (1957–1998) - * * `SRD` - Surinamese Dollar - * * `SRG` - Surinamese Guilder - * * `SZL` - Swazi Lilangeni - * * `SEK` - Swedish Krona - * * `CHF` - Swiss Franc - * * `SYP` - Syrian Pound - * * `STN` - São Tomé & Príncipe Dobra - * * `STD` - São Tomé & Príncipe Dobra (1977–2017) - * * `TVD` - TVD - * * `TJR` - Tajikistani Ruble - * * `TJS` - Tajikistani Somoni - * * `TZS` - Tanzanian Shilling - * * `XTS` - Testing Currency Code - * * `THB` - Thai Baht - * * `XXX` - The codes assigned for transactions where no currency is involved - * * `TPE` - Timorese Escudo - * * `TOP` - Tongan Paʻanga - * * `TTD` - Trinidad & Tobago Dollar - * * `TND` - Tunisian Dinar - * * `TRY` - Turkish Lira - * * `TRL` - Turkish Lira (1922–2005) - * * `TMT` - Turkmenistani Manat - * * `TMM` - Turkmenistani Manat (1993–2009) - * * `USD` - US Dollar - * * `USN` - US Dollar (Next day) - * * `USS` - US Dollar (Same day) - * * `UGX` - Ugandan Shilling - * * `UGS` - Ugandan Shilling (1966–1987) - * * `UAH` - Ukrainian Hryvnia - * * `UAK` - Ukrainian Karbovanets - * * `AED` - United Arab Emirates Dirham - * * `UYW` - Uruguayan Nominal Wage Index Unit - * * `UYU` - Uruguayan Peso - * * `UYP` - Uruguayan Peso (1975–1993) - * * `UYI` - Uruguayan Peso (Indexed Units) - * * `UZS` - Uzbekistani Som - * * `VUV` - Vanuatu Vatu - * * `VES` - Venezuelan Bolívar - * * `VEB` - Venezuelan Bolívar (1871–2008) - * * `VEF` - Venezuelan Bolívar (2008–2018) - * * `VND` - Vietnamese Dong - * * `VNN` - Vietnamese Dong (1978–1985) - * * `CHE` - WIR Euro - * * `CHW` - WIR Franc - * * `XOF` - West African CFA Franc - * * `YDD` - Yemeni Dinar - * * `YER` - Yemeni Rial - * * `YUN` - Yugoslavian Convertible Dinar (1990–1992) - * * `YUD` - Yugoslavian Hard Dinar (1966–1990) - * * `YUM` - Yugoslavian New Dinar (1994–2002) - * * `YUR` - Yugoslavian Reformed Dinar (1992–1993) - * * `ZWN` - ZWN - * * `ZRN` - Zairean New Zaire (1993–1998) - * * `ZRZ` - Zairean Zaire (1971–1993) - * * `ZMW` - Zambian Kwacha - * * `ZMK` - Zambian Kwacha (1968–2012) - * * `ZWD` - Zimbabwean Dollar (1980–2008) - * * `ZWR` - Zimbabwean Dollar (2008) - * * `ZWL` - Zimbabwean Dollar (2009) + * - `XUA` - ADB Unit of Account + * - `AFN` - Afghan Afghani + * - `AFA` - Afghan Afghani (1927–2002) + * - `ALL` - Albanian Lek + * - `ALK` - Albanian Lek (1946–1965) + * - `DZD` - Algerian Dinar + * - `ADP` - Andorran Peseta + * - `AOA` - Angolan Kwanza + * - `AOK` - Angolan Kwanza (1977–1991) + * - `AON` - Angolan New Kwanza (1990–2000) + * - `AOR` - Angolan Readjusted Kwanza (1995–1999) + * - `ARA` - Argentine Austral + * - `ARS` - Argentine Peso + * - `ARM` - Argentine Peso (1881–1970) + * - `ARP` - Argentine Peso (1983–1985) + * - `ARL` - Argentine Peso Ley (1970–1983) + * - `AMD` - Armenian Dram + * - `AWG` - Aruban Florin + * - `AUD` - Australian Dollar + * - `ATS` - Austrian Schilling + * - `AZN` - Azerbaijani Manat + * - `AZM` - Azerbaijani Manat (1993–2006) + * - `BSD` - Bahamian Dollar + * - `BHD` - Bahraini Dinar + * - `BDT` - Bangladeshi Taka + * - `BBD` - Barbadian Dollar + * - `BYN` - Belarusian Ruble + * - `BYB` - Belarusian Ruble (1994–1999) + * - `BYR` - Belarusian Ruble (2000–2016) + * - `BEF` - Belgian Franc + * - `BEC` - Belgian Franc (convertible) + * - `BEL` - Belgian Franc (financial) + * - `BZD` - Belize Dollar + * - `BMD` - Bermudan Dollar + * - `BTN` - Bhutanese Ngultrum + * - `BOB` - Bolivian Boliviano + * - `BOL` - Bolivian Boliviano (1863–1963) + * - `BOV` - Bolivian Mvdol + * - `BOP` - Bolivian Peso + * - `BAM` - Bosnia-Herzegovina Convertible Mark + * - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * - `BWP` - Botswanan Pula + * - `BRC` - Brazilian Cruzado (1986–1989) + * - `BRZ` - Brazilian Cruzeiro (1942–1967) + * - `BRE` - Brazilian Cruzeiro (1990–1993) + * - `BRR` - Brazilian Cruzeiro (1993–1994) + * - `BRN` - Brazilian New Cruzado (1989–1990) + * - `BRB` - Brazilian New Cruzeiro (1967–1986) + * - `BRL` - Brazilian Real + * - `GBP` - British Pound + * - `BND` - Brunei Dollar + * - `BGL` - Bulgarian Hard Lev + * - `BGN` - Bulgarian Lev + * - `BGO` - Bulgarian Lev (1879–1952) + * - `BGM` - Bulgarian Socialist Lev + * - `BUK` - Burmese Kyat + * - `BIF` - Burundian Franc + * - `XPF` - CFP Franc + * - `KHR` - Cambodian Riel + * - `CAD` - Canadian Dollar + * - `CVE` - Cape Verdean Escudo + * - `KYD` - Cayman Islands Dollar + * - `XAF` - Central African CFA Franc + * - `CLE` - Chilean Escudo + * - `CLP` - Chilean Peso + * - `CLF` - Chilean Unit of Account (UF) + * - `CNX` - Chinese People’s Bank Dollar + * - `CNY` - Chinese Yuan + * - `CNH` - Chinese Yuan (offshore) + * - `COP` - Colombian Peso + * - `COU` - Colombian Real Value Unit + * - `KMF` - Comorian Franc + * - `CDF` - Congolese Franc + * - `CRC` - Costa Rican Colón + * - `HRD` - Croatian Dinar + * - `HRK` - Croatian Kuna + * - `CUC` - Cuban Convertible Peso + * - `CUP` - Cuban Peso + * - `CYP` - Cypriot Pound + * - `CZK` - Czech Koruna + * - `CSK` - Czechoslovak Hard Koruna + * - `DKK` - Danish Krone + * - `DJF` - Djiboutian Franc + * - `DOP` - Dominican Peso + * - `NLG` - Dutch Guilder + * - `XCD` - East Caribbean Dollar + * - `DDM` - East German Mark + * - `ECS` - Ecuadorian Sucre + * - `ECV` - Ecuadorian Unit of Constant Value + * - `EGP` - Egyptian Pound + * - `GQE` - Equatorial Guinean Ekwele + * - `ERN` - Eritrean Nakfa + * - `EEK` - Estonian Kroon + * - `ETB` - Ethiopian Birr + * - `EUR` - Euro + * - `XBA` - European Composite Unit + * - `XEU` - European Currency Unit + * - `XBB` - European Monetary Unit + * - `XBC` - European Unit of Account (XBC) + * - `XBD` - European Unit of Account (XBD) + * - `FKP` - Falkland Islands Pound + * - `FJD` - Fijian Dollar + * - `FIM` - Finnish Markka + * - `FRF` - French Franc + * - `XFO` - French Gold Franc + * - `XFU` - French UIC-Franc + * - `GMD` - Gambian Dalasi + * - `GEK` - Georgian Kupon Larit + * - `GEL` - Georgian Lari + * - `DEM` - German Mark + * - `GHS` - Ghanaian Cedi + * - `GHC` - Ghanaian Cedi (1979–2007) + * - `GIP` - Gibraltar Pound + * - `XAU` - Gold + * - `GRD` - Greek Drachma + * - `GTQ` - Guatemalan Quetzal + * - `GWP` - Guinea-Bissau Peso + * - `GNF` - Guinean Franc + * - `GNS` - Guinean Syli + * - `GYD` - Guyanaese Dollar + * - `HTG` - Haitian Gourde + * - `HNL` - Honduran Lempira + * - `HKD` - Hong Kong Dollar + * - `HUF` - Hungarian Forint + * - `IMP` - IMP + * - `ISK` - Icelandic Króna + * - `ISJ` - Icelandic Króna (1918–1981) + * - `INR` - Indian Rupee + * - `IDR` - Indonesian Rupiah + * - `IRR` - Iranian Rial + * - `IQD` - Iraqi Dinar + * - `IEP` - Irish Pound + * - `ILS` - Israeli New Shekel + * - `ILP` - Israeli Pound + * - `ILR` - Israeli Shekel (1980–1985) + * - `ITL` - Italian Lira + * - `JMD` - Jamaican Dollar + * - `JPY` - Japanese Yen + * - `JOD` - Jordanian Dinar + * - `KZT` - Kazakhstani Tenge + * - `KES` - Kenyan Shilling + * - `KWD` - Kuwaiti Dinar + * - `KGS` - Kyrgystani Som + * - `LAK` - Laotian Kip + * - `LVL` - Latvian Lats + * - `LVR` - Latvian Ruble + * - `LBP` - Lebanese Pound + * - `LSL` - Lesotho Loti + * - `LRD` - Liberian Dollar + * - `LYD` - Libyan Dinar + * - `LTL` - Lithuanian Litas + * - `LTT` - Lithuanian Talonas + * - `LUL` - Luxembourg Financial Franc + * - `LUC` - Luxembourgian Convertible Franc + * - `LUF` - Luxembourgian Franc + * - `MOP` - Macanese Pataca + * - `MKD` - Macedonian Denar + * - `MKN` - Macedonian Denar (1992–1993) + * - `MGA` - Malagasy Ariary + * - `MGF` - Malagasy Franc + * - `MWK` - Malawian Kwacha + * - `MYR` - Malaysian Ringgit + * - `MVR` - Maldivian Rufiyaa + * - `MVP` - Maldivian Rupee (1947–1981) + * - `MLF` - Malian Franc + * - `MTL` - Maltese Lira + * - `MTP` - Maltese Pound + * - `MRU` - Mauritanian Ouguiya + * - `MRO` - Mauritanian Ouguiya (1973–2017) + * - `MUR` - Mauritian Rupee + * - `MXV` - Mexican Investment Unit + * - `MXN` - Mexican Peso + * - `MXP` - Mexican Silver Peso (1861–1992) + * - `MDC` - Moldovan Cupon + * - `MDL` - Moldovan Leu + * - `MCF` - Monegasque Franc + * - `MNT` - Mongolian Tugrik + * - `MAD` - Moroccan Dirham + * - `MAF` - Moroccan Franc + * - `MZE` - Mozambican Escudo + * - `MZN` - Mozambican Metical + * - `MZM` - Mozambican Metical (1980–2006) + * - `MMK` - Myanmar Kyat + * - `NAD` - Namibian Dollar + * - `NPR` - Nepalese Rupee + * - `ANG` - Netherlands Antillean Guilder + * - `TWD` - New Taiwan Dollar + * - `NZD` - New Zealand Dollar + * - `NIO` - Nicaraguan Córdoba + * - `NIC` - Nicaraguan Córdoba (1988–1991) + * - `NGN` - Nigerian Naira + * - `KPW` - North Korean Won + * - `NOK` - Norwegian Krone + * - `OMR` - Omani Rial + * - `PKR` - Pakistani Rupee + * - `XPD` - Palladium + * - `PAB` - Panamanian Balboa + * - `PGK` - Papua New Guinean Kina + * - `PYG` - Paraguayan Guarani + * - `PEI` - Peruvian Inti + * - `PEN` - Peruvian Sol + * - `PES` - Peruvian Sol (1863–1965) + * - `PHP` - Philippine Peso + * - `XPT` - Platinum + * - `PLN` - Polish Zloty + * - `PLZ` - Polish Zloty (1950–1995) + * - `PTE` - Portuguese Escudo + * - `GWE` - Portuguese Guinea Escudo + * - `QAR` - Qatari Rial + * - `XRE` - RINET Funds + * - `RHD` - Rhodesian Dollar + * - `RON` - Romanian Leu + * - `ROL` - Romanian Leu (1952–2006) + * - `RUB` - Russian Ruble + * - `RUR` - Russian Ruble (1991–1998) + * - `RWF` - Rwandan Franc + * - `SVC` - Salvadoran Colón + * - `WST` - Samoan Tala + * - `SAR` - Saudi Riyal + * - `RSD` - Serbian Dinar + * - `CSD` - Serbian Dinar (2002–2006) + * - `SCR` - Seychellois Rupee + * - `SLL` - Sierra Leonean Leone + * - `XAG` - Silver + * - `SGD` - Singapore Dollar + * - `SKK` - Slovak Koruna + * - `SIT` - Slovenian Tolar + * - `SBD` - Solomon Islands Dollar + * - `SOS` - Somali Shilling + * - `ZAR` - South African Rand + * - `ZAL` - South African Rand (financial) + * - `KRH` - South Korean Hwan (1953–1962) + * - `KRW` - South Korean Won + * - `KRO` - South Korean Won (1945–1953) + * - `SSP` - South Sudanese Pound + * - `SUR` - Soviet Rouble + * - `ESP` - Spanish Peseta + * - `ESA` - Spanish Peseta (A account) + * - `ESB` - Spanish Peseta (convertible account) + * - `XDR` - Special Drawing Rights + * - `LKR` - Sri Lankan Rupee + * - `SHP` - St. Helena Pound + * - `XSU` - Sucre + * - `SDD` - Sudanese Dinar (1992–2007) + * - `SDG` - Sudanese Pound + * - `SDP` - Sudanese Pound (1957–1998) + * - `SRD` - Surinamese Dollar + * - `SRG` - Surinamese Guilder + * - `SZL` - Swazi Lilangeni + * - `SEK` - Swedish Krona + * - `CHF` - Swiss Franc + * - `SYP` - Syrian Pound + * - `STN` - São Tomé & Príncipe Dobra + * - `STD` - São Tomé & Príncipe Dobra (1977–2017) + * - `TVD` - TVD + * - `TJR` - Tajikistani Ruble + * - `TJS` - Tajikistani Somoni + * - `TZS` - Tanzanian Shilling + * - `XTS` - Testing Currency Code + * - `THB` - Thai Baht + * - `XXX` - The codes assigned for transactions where no currency is involved + * - `TPE` - Timorese Escudo + * - `TOP` - Tongan Paʻanga + * - `TTD` - Trinidad & Tobago Dollar + * - `TND` - Tunisian Dinar + * - `TRY` - Turkish Lira + * - `TRL` - Turkish Lira (1922–2005) + * - `TMT` - Turkmenistani Manat + * - `TMM` - Turkmenistani Manat (1993–2009) + * - `USD` - US Dollar + * - `USN` - US Dollar (Next day) + * - `USS` - US Dollar (Same day) + * - `UGX` - Ugandan Shilling + * - `UGS` - Ugandan Shilling (1966–1987) + * - `UAH` - Ukrainian Hryvnia + * - `UAK` - Ukrainian Karbovanets + * - `AED` - United Arab Emirates Dirham + * - `UYW` - Uruguayan Nominal Wage Index Unit + * - `UYU` - Uruguayan Peso + * - `UYP` - Uruguayan Peso (1975–1993) + * - `UYI` - Uruguayan Peso (Indexed Units) + * - `UZS` - Uzbekistani Som + * - `VUV` - Vanuatu Vatu + * - `VES` - Venezuelan Bolívar + * - `VEB` - Venezuelan Bolívar (1871–2008) + * - `VEF` - Venezuelan Bolívar (2008–2018) + * - `VND` - Vietnamese Dong + * - `VNN` - Vietnamese Dong (1978–1985) + * - `CHE` - WIR Euro + * - `CHW` - WIR Franc + * - `XOF` - West African CFA Franc + * - `YDD` - Yemeni Dinar + * - `YER` - Yemeni Rial + * - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * - `YUD` - Yugoslavian Hard Dinar (1966–1990) + * - `YUM` - Yugoslavian New Dinar (1994–2002) + * - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * - `ZWN` - ZWN + * - `ZRN` - Zairean New Zaire (1993–1998) + * - `ZRZ` - Zairean Zaire (1971–1993) + * - `ZMW` - Zambian Kwacha + * - `ZMK` - Zambian Kwacha (1968–2012) + * - `ZWD` - Zimbabwean Dollar (1980–2008) + * - `ZWR` - Zimbabwean Dollar (2008) + * - `ZWL` - Zimbabwean Dollar (2009) */ export type PayCurrencyEnum = | "XUA" diff --git a/src/api/resources/hris/types/PayFrequencyEnum.ts b/src/api/resources/hris/types/PayFrequencyEnum.ts index 98f51d38..c358b4e6 100644 --- a/src/api/resources/hris/types/PayFrequencyEnum.ts +++ b/src/api/resources/hris/types/PayFrequencyEnum.ts @@ -3,15 +3,15 @@ */ /** - * * `WEEKLY` - WEEKLY - * * `BIWEEKLY` - BIWEEKLY - * * `MONTHLY` - MONTHLY - * * `QUARTERLY` - QUARTERLY - * * `SEMIANNUALLY` - SEMIANNUALLY - * * `ANNUALLY` - ANNUALLY - * * `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY - * * `PRO_RATA` - PRO_RATA - * * `SEMIMONTHLY` - SEMIMONTHLY + * - `WEEKLY` - WEEKLY + * - `BIWEEKLY` - BIWEEKLY + * - `MONTHLY` - MONTHLY + * - `QUARTERLY` - QUARTERLY + * - `SEMIANNUALLY` - SEMIANNUALLY + * - `ANNUALLY` - ANNUALLY + * - `THIRTEEN-MONTHLY` - THIRTEEN-MONTHLY + * - `PRO_RATA` - PRO_RATA + * - `SEMIMONTHLY` - SEMIMONTHLY */ export type PayFrequencyEnum = | "WEEKLY" diff --git a/src/api/resources/hris/types/PayGroup.ts b/src/api/resources/hris/types/PayGroup.ts index d60ad211..9a8c53d5 100644 --- a/src/api/resources/hris/types/PayGroup.ts +++ b/src/api/resources/hris/types/PayGroup.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The PayGroup Object + * * ### Description + * * The `PayGroup` object is used to represent a subset of employees that are put together for payroll processing purposes. * * ### Usage Example + * * Fetch from the `LIST PayGroup` endpoint and filter by `ID` to show all pay group information. */ export interface PayGroup { diff --git a/src/api/resources/hris/types/PayPeriodEnum.ts b/src/api/resources/hris/types/PayPeriodEnum.ts index 5840e871..59437c40 100644 --- a/src/api/resources/hris/types/PayPeriodEnum.ts +++ b/src/api/resources/hris/types/PayPeriodEnum.ts @@ -3,15 +3,15 @@ */ /** - * * `HOUR` - HOUR - * * `DAY` - DAY - * * `WEEK` - WEEK - * * `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS - * * `SEMIMONTHLY` - SEMIMONTHLY - * * `MONTH` - MONTH - * * `QUARTER` - QUARTER - * * `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS - * * `YEAR` - YEAR + * - `HOUR` - HOUR + * - `DAY` - DAY + * - `WEEK` - WEEK + * - `EVERY_TWO_WEEKS` - EVERY_TWO_WEEKS + * - `SEMIMONTHLY` - SEMIMONTHLY + * - `MONTH` - MONTH + * - `QUARTER` - QUARTER + * - `EVERY_SIX_MONTHS` - EVERY_SIX_MONTHS + * - `YEAR` - YEAR */ export type PayPeriodEnum = | "HOUR" diff --git a/src/api/resources/hris/types/PayrollRun.ts b/src/api/resources/hris/types/PayrollRun.ts index be20dc74..27fbfec8 100644 --- a/src/api/resources/hris/types/PayrollRun.ts +++ b/src/api/resources/hris/types/PayrollRun.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The PayrollRun Object + * * ### Description + * * The `PayrollRun` object is used to represent a group of pay statements for a specific pay schedule. * * ### Usage Example + * * Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all payroll runs. */ export interface PayrollRun { @@ -19,21 +22,21 @@ export interface PayrollRun { /** * The state of the payroll run * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `APPROVED` - APPROVED - * * `FAILED` - FAILED - * * `CLOSED` - CLOSED + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `APPROVED` - APPROVED + * - `FAILED` - FAILED + * - `CLOSED` - CLOSED */ runState?: Merge.hris.PayrollRunRunState; /** * The type of the payroll run * - * * `REGULAR` - REGULAR - * * `OFF_CYCLE` - OFF_CYCLE - * * `CORRECTION` - CORRECTION - * * `TERMINATION` - TERMINATION - * * `SIGN_ON_BONUS` - SIGN_ON_BONUS + * - `REGULAR` - REGULAR + * - `OFF_CYCLE` - OFF_CYCLE + * - `CORRECTION` - CORRECTION + * - `TERMINATION` - TERMINATION + * - `SIGN_ON_BONUS` - SIGN_ON_BONUS */ runType?: Merge.hris.PayrollRunRunType; /** The day and time the payroll run started. */ diff --git a/src/api/resources/hris/types/PayrollRunRunState.ts b/src/api/resources/hris/types/PayrollRunRunState.ts index f2d519fd..95e02fac 100644 --- a/src/api/resources/hris/types/PayrollRunRunState.ts +++ b/src/api/resources/hris/types/PayrollRunRunState.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The state of the payroll run * - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `APPROVED` - APPROVED - * * `FAILED` - FAILED - * * `CLOSED` - CLOSED + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `APPROVED` - APPROVED + * - `FAILED` - FAILED + * - `CLOSED` - CLOSED */ export type PayrollRunRunState = Merge.hris.RunStateEnum | string; diff --git a/src/api/resources/hris/types/PayrollRunRunType.ts b/src/api/resources/hris/types/PayrollRunRunType.ts index 33213145..539ca400 100644 --- a/src/api/resources/hris/types/PayrollRunRunType.ts +++ b/src/api/resources/hris/types/PayrollRunRunType.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The type of the payroll run * - * * `REGULAR` - REGULAR - * * `OFF_CYCLE` - OFF_CYCLE - * * `CORRECTION` - CORRECTION - * * `TERMINATION` - TERMINATION - * * `SIGN_ON_BONUS` - SIGN_ON_BONUS + * - `REGULAR` - REGULAR + * - `OFF_CYCLE` - OFF_CYCLE + * - `CORRECTION` - CORRECTION + * - `TERMINATION` - TERMINATION + * - `SIGN_ON_BONUS` - SIGN_ON_BONUS */ export type PayrollRunRunType = Merge.hris.RunTypeEnum | string; diff --git a/src/api/resources/hris/types/PolicyTypeEnum.ts b/src/api/resources/hris/types/PolicyTypeEnum.ts index c2c8e973..3c892358 100644 --- a/src/api/resources/hris/types/PolicyTypeEnum.ts +++ b/src/api/resources/hris/types/PolicyTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ export type PolicyTypeEnum = "VACATION" | "SICK" | "PERSONAL" | "JURY_DUTY" | "VOLUNTEER" | "BEREAVEMENT"; diff --git a/src/api/resources/hris/types/ReasonEnum.ts b/src/api/resources/hris/types/ReasonEnum.ts index 13acd38b..28995e0a 100644 --- a/src/api/resources/hris/types/ReasonEnum.ts +++ b/src/api/resources/hris/types/ReasonEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST - * * `GDPR` - GDPR - * * `OTHER` - OTHER + * - `GENERAL_CUSTOMER_REQUEST` - GENERAL_CUSTOMER_REQUEST + * - `GDPR` - GDPR + * - `OTHER` - OTHER */ export type ReasonEnum = "GENERAL_CUSTOMER_REQUEST" | "GDPR" | "OTHER"; diff --git a/src/api/resources/hris/types/RelationshipEnum.ts b/src/api/resources/hris/types/RelationshipEnum.ts index 5263a006..e593eb95 100644 --- a/src/api/resources/hris/types/RelationshipEnum.ts +++ b/src/api/resources/hris/types/RelationshipEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `CHILD` - CHILD - * * `SPOUSE` - SPOUSE - * * `DOMESTIC_PARTNER` - DOMESTIC_PARTNER + * - `CHILD` - CHILD + * - `SPOUSE` - SPOUSE + * - `DOMESTIC_PARTNER` - DOMESTIC_PARTNER */ export type RelationshipEnum = "CHILD" | "SPOUSE" | "DOMESTIC_PARTNER"; diff --git a/src/api/resources/hris/types/RemoteKey.ts b/src/api/resources/hris/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/hris/types/RemoteKey.ts +++ b/src/api/resources/hris/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/hris/types/RemoteResponse.ts b/src/api/resources/hris/types/RemoteResponse.ts index bf3a872b..2936b2fe 100644 --- a/src/api/resources/hris/types/RemoteResponse.ts +++ b/src/api/resources/hris/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/hris/types/RequestFormatEnum.ts b/src/api/resources/hris/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/hris/types/RequestFormatEnum.ts +++ b/src/api/resources/hris/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/hris/types/RequestTypeEnum.ts b/src/api/resources/hris/types/RequestTypeEnum.ts index cc17ee9f..f1128293 100644 --- a/src/api/resources/hris/types/RequestTypeEnum.ts +++ b/src/api/resources/hris/types/RequestTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ export type RequestTypeEnum = "VACATION" | "SICK" | "PERSONAL" | "JURY_DUTY" | "VOLUNTEER" | "BEREAVEMENT"; diff --git a/src/api/resources/hris/types/ResponseTypeEnum.ts b/src/api/resources/hris/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/hris/types/ResponseTypeEnum.ts +++ b/src/api/resources/hris/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/hris/types/RoleEnum.ts b/src/api/resources/hris/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/hris/types/RoleEnum.ts +++ b/src/api/resources/hris/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/hris/types/RunStateEnum.ts b/src/api/resources/hris/types/RunStateEnum.ts index 482eeb7e..0738bf3f 100644 --- a/src/api/resources/hris/types/RunStateEnum.ts +++ b/src/api/resources/hris/types/RunStateEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `PAID` - PAID - * * `DRAFT` - DRAFT - * * `APPROVED` - APPROVED - * * `FAILED` - FAILED - * * `CLOSED` - CLOSED + * - `PAID` - PAID + * - `DRAFT` - DRAFT + * - `APPROVED` - APPROVED + * - `FAILED` - FAILED + * - `CLOSED` - CLOSED */ export type RunStateEnum = "PAID" | "DRAFT" | "APPROVED" | "FAILED" | "CLOSED"; diff --git a/src/api/resources/hris/types/RunTypeEnum.ts b/src/api/resources/hris/types/RunTypeEnum.ts index 9934222c..6c773999 100644 --- a/src/api/resources/hris/types/RunTypeEnum.ts +++ b/src/api/resources/hris/types/RunTypeEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `REGULAR` - REGULAR - * * `OFF_CYCLE` - OFF_CYCLE - * * `CORRECTION` - CORRECTION - * * `TERMINATION` - TERMINATION - * * `SIGN_ON_BONUS` - SIGN_ON_BONUS + * - `REGULAR` - REGULAR + * - `OFF_CYCLE` - OFF_CYCLE + * - `CORRECTION` - CORRECTION + * - `TERMINATION` - TERMINATION + * - `SIGN_ON_BONUS` - SIGN_ON_BONUS */ export type RunTypeEnum = "REGULAR" | "OFF_CYCLE" | "CORRECTION" | "TERMINATION" | "SIGN_ON_BONUS"; diff --git a/src/api/resources/hris/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/hris/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/hris/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/hris/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/hris/types/SyncStatus.ts b/src/api/resources/hris/types/SyncStatus.ts index 3869537f..7680b9fb 100644 --- a/src/api/resources/hris/types/SyncStatus.ts +++ b/src/api/resources/hris/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/hris/types/SyncStatusStatusEnum.ts b/src/api/resources/hris/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/hris/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/hris/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/hris/types/Tax.ts b/src/api/resources/hris/types/Tax.ts index 8dd32b4a..390e9dd8 100644 --- a/src/api/resources/hris/types/Tax.ts +++ b/src/api/resources/hris/types/Tax.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Tax Object + * * ### Description + * * The `Tax` object is used to represent an array of the tax deductions for a given employee's payroll run. * * ### Usage Example + * * Fetch from the `LIST Taxes` endpoint and filter by `ID` to show all taxes. */ export interface Tax { diff --git a/src/api/resources/hris/types/Team.ts b/src/api/resources/hris/types/Team.ts index e15e5ddb..edecc19e 100644 --- a/src/api/resources/hris/types/Team.ts +++ b/src/api/resources/hris/types/Team.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Team Object + * * ### Description + * * The `Team` object is used to represent a subdivision of the company, usually a department. Each employee will be grouped into one specific Team. * * ### Usage Example + * * If you're building a way to filter by `Team`, you'd hit the `GET Teams` endpoint to fetch the `Teams`, and then use the `ID` of the team your user selects to filter the `GET Employees` endpoint. */ export interface Team { diff --git a/src/api/resources/hris/types/TimeOff.ts b/src/api/resources/hris/types/TimeOff.ts index 99787999..4d5c2eb7 100644 --- a/src/api/resources/hris/types/TimeOff.ts +++ b/src/api/resources/hris/types/TimeOff.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TimeOff Object + * * ### Description + * * The `TimeOff` object is used to represent all employees' Time Off entries. * * ### Usage Example + * * Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests. */ export interface TimeOff { @@ -23,11 +26,11 @@ export interface TimeOff { /** * The status of this time off request. * - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ status?: Merge.hris.TimeOffStatus; /** The employee note for this time off request. */ @@ -35,8 +38,8 @@ export interface TimeOff { /** * The measurement that the third-party integration uses to count time requested. * - * * `HOURS` - HOURS - * * `DAYS` - DAYS + * - `HOURS` - HOURS + * - `DAYS` - DAYS */ units?: Merge.hris.TimeOffUnits; /** The time off quantity measured by the prescribed “units”. */ @@ -44,12 +47,12 @@ export interface TimeOff { /** * The type of time off request. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ requestType?: Merge.hris.TimeOffRequestType; /** The day and time of the start of the time requested off. */ diff --git a/src/api/resources/hris/types/TimeOffBalance.ts b/src/api/resources/hris/types/TimeOffBalance.ts index 86fd1874..dacc8c48 100644 --- a/src/api/resources/hris/types/TimeOffBalance.ts +++ b/src/api/resources/hris/types/TimeOffBalance.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TimeOffBalance Object + * * ### Description + * * The `TimeOffBalance` object is used to represent current balances for an employee's Time Off plan. * * ### Usage Example + * * Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all time off balances. */ export interface TimeOffBalance { @@ -25,12 +28,12 @@ export interface TimeOffBalance { /** * The policy type of this time off balance. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ policyType?: Merge.hris.TimeOffBalancePolicyType; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/hris/types/TimeOffBalancePolicyType.ts b/src/api/resources/hris/types/TimeOffBalancePolicyType.ts index 2b8e12bc..a9ec63b8 100644 --- a/src/api/resources/hris/types/TimeOffBalancePolicyType.ts +++ b/src/api/resources/hris/types/TimeOffBalancePolicyType.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * The policy type of this time off balance. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ export type TimeOffBalancePolicyType = Merge.hris.PolicyTypeEnum | string; diff --git a/src/api/resources/hris/types/TimeOffRequest.ts b/src/api/resources/hris/types/TimeOffRequest.ts index 5d057e96..8cb55cb9 100644 --- a/src/api/resources/hris/types/TimeOffRequest.ts +++ b/src/api/resources/hris/types/TimeOffRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The TimeOff Object + * * ### Description + * * The `TimeOff` object is used to represent all employees' Time Off entries. * * ### Usage Example + * * Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests. */ export interface TimeOffRequest { @@ -20,11 +23,11 @@ export interface TimeOffRequest { /** * The status of this time off request. * - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ status?: Merge.hris.TimeOffRequestStatus; /** The employee note for this time off request. */ @@ -32,8 +35,8 @@ export interface TimeOffRequest { /** * The measurement that the third-party integration uses to count time requested. * - * * `HOURS` - HOURS - * * `DAYS` - DAYS + * - `HOURS` - HOURS + * - `DAYS` - DAYS */ units?: Merge.hris.TimeOffRequestUnits; /** The time off quantity measured by the prescribed “units”. */ @@ -41,12 +44,12 @@ export interface TimeOffRequest { /** * The type of time off request. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ requestType?: Merge.hris.TimeOffRequestRequestType; /** The day and time of the start of the time requested off. */ diff --git a/src/api/resources/hris/types/TimeOffRequestRequestType.ts b/src/api/resources/hris/types/TimeOffRequestRequestType.ts index 06651296..8f62f9d5 100644 --- a/src/api/resources/hris/types/TimeOffRequestRequestType.ts +++ b/src/api/resources/hris/types/TimeOffRequestRequestType.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * The type of time off request. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ export type TimeOffRequestRequestType = Merge.hris.RequestTypeEnum | string; diff --git a/src/api/resources/hris/types/TimeOffRequestStatus.ts b/src/api/resources/hris/types/TimeOffRequestStatus.ts index bdf628b4..028249ba 100644 --- a/src/api/resources/hris/types/TimeOffRequestStatus.ts +++ b/src/api/resources/hris/types/TimeOffRequestStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The status of this time off request. * - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ export type TimeOffRequestStatus = Merge.hris.TimeOffStatusEnum | string; diff --git a/src/api/resources/hris/types/TimeOffRequestType.ts b/src/api/resources/hris/types/TimeOffRequestType.ts index b1e0141f..a921cb0e 100644 --- a/src/api/resources/hris/types/TimeOffRequestType.ts +++ b/src/api/resources/hris/types/TimeOffRequestType.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * The type of time off request. * - * * `VACATION` - VACATION - * * `SICK` - SICK - * * `PERSONAL` - PERSONAL - * * `JURY_DUTY` - JURY_DUTY - * * `VOLUNTEER` - VOLUNTEER - * * `BEREAVEMENT` - BEREAVEMENT + * - `VACATION` - VACATION + * - `SICK` - SICK + * - `PERSONAL` - PERSONAL + * - `JURY_DUTY` - JURY_DUTY + * - `VOLUNTEER` - VOLUNTEER + * - `BEREAVEMENT` - BEREAVEMENT */ export type TimeOffRequestType = Merge.hris.RequestTypeEnum | string; diff --git a/src/api/resources/hris/types/TimeOffRequestUnits.ts b/src/api/resources/hris/types/TimeOffRequestUnits.ts index 1afdc200..44e6b5b3 100644 --- a/src/api/resources/hris/types/TimeOffRequestUnits.ts +++ b/src/api/resources/hris/types/TimeOffRequestUnits.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The measurement that the third-party integration uses to count time requested. * - * * `HOURS` - HOURS - * * `DAYS` - DAYS + * - `HOURS` - HOURS + * - `DAYS` - DAYS */ export type TimeOffRequestUnits = Merge.hris.UnitsEnum | string; diff --git a/src/api/resources/hris/types/TimeOffStatus.ts b/src/api/resources/hris/types/TimeOffStatus.ts index 1bd59e82..4cfd78b5 100644 --- a/src/api/resources/hris/types/TimeOffStatus.ts +++ b/src/api/resources/hris/types/TimeOffStatus.ts @@ -7,10 +7,10 @@ import * as Merge from "../../.."; /** * The status of this time off request. * - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ export type TimeOffStatus = Merge.hris.TimeOffStatusEnum | string; diff --git a/src/api/resources/hris/types/TimeOffStatusEnum.ts b/src/api/resources/hris/types/TimeOffStatusEnum.ts index 0edf4cf9..9a1662b2 100644 --- a/src/api/resources/hris/types/TimeOffStatusEnum.ts +++ b/src/api/resources/hris/types/TimeOffStatusEnum.ts @@ -3,11 +3,11 @@ */ /** - * * `REQUESTED` - REQUESTED - * * `APPROVED` - APPROVED - * * `DECLINED` - DECLINED - * * `CANCELLED` - CANCELLED - * * `DELETED` - DELETED + * - `REQUESTED` - REQUESTED + * - `APPROVED` - APPROVED + * - `DECLINED` - DECLINED + * - `CANCELLED` - CANCELLED + * - `DELETED` - DELETED */ export type TimeOffStatusEnum = "REQUESTED" | "APPROVED" | "DECLINED" | "CANCELLED" | "DELETED"; diff --git a/src/api/resources/hris/types/TimeOffUnits.ts b/src/api/resources/hris/types/TimeOffUnits.ts index a89db556..90cfc31b 100644 --- a/src/api/resources/hris/types/TimeOffUnits.ts +++ b/src/api/resources/hris/types/TimeOffUnits.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The measurement that the third-party integration uses to count time requested. * - * * `HOURS` - HOURS - * * `DAYS` - DAYS + * - `HOURS` - HOURS + * - `DAYS` - DAYS */ export type TimeOffUnits = Merge.hris.UnitsEnum | string; diff --git a/src/api/resources/hris/types/TimesheetEntry.ts b/src/api/resources/hris/types/TimesheetEntry.ts index 3e6f6cf3..a76f75ff 100644 --- a/src/api/resources/hris/types/TimesheetEntry.ts +++ b/src/api/resources/hris/types/TimesheetEntry.ts @@ -4,11 +4,13 @@ /** * # The Timesheet Entry Object + * * ### Description - * The `Timesheet Entry` object is used to track coverage for hours worked by an 'Employee'. * + * The `Timesheet Entry` object is used to track coverage for hours worked by an 'Employee'. * * ### Usage Example + * * GET and POST Timesheet Entries */ export interface TimesheetEntry { diff --git a/src/api/resources/hris/types/TimesheetEntryRequest.ts b/src/api/resources/hris/types/TimesheetEntryRequest.ts index dac6ea37..f3cf0d79 100644 --- a/src/api/resources/hris/types/TimesheetEntryRequest.ts +++ b/src/api/resources/hris/types/TimesheetEntryRequest.ts @@ -4,11 +4,13 @@ /** * # The Timesheet Entry Object + * * ### Description - * The `Timesheet Entry` object is used to track coverage for hours worked by an 'Employee'. * + * The `Timesheet Entry` object is used to track coverage for hours worked by an 'Employee'. * * ### Usage Example + * * GET and POST Timesheet Entries */ export interface TimesheetEntryRequest { diff --git a/src/api/resources/hris/types/UnitsEnum.ts b/src/api/resources/hris/types/UnitsEnum.ts index 82db1a12..3b91eda3 100644 --- a/src/api/resources/hris/types/UnitsEnum.ts +++ b/src/api/resources/hris/types/UnitsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `HOURS` - HOURS - * * `DAYS` - DAYS + * - `HOURS` - HOURS + * - `DAYS` - DAYS */ export type UnitsEnum = "HOURS" | "DAYS"; diff --git a/src/api/resources/hris/types/index.ts b/src/api/resources/hris/types/index.ts index 5c06f28b..4b6d0f7c 100644 --- a/src/api/resources/hris/types/index.ts +++ b/src/api/resources/hris/types/index.ts @@ -1,41 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./BankInfoListRequestAccountType"; -export * from "./BankInfoListRequestOrderBy"; -export * from "./EmployeePayrollRunsListRequestExpand"; -export * from "./EmployeePayrollRunsRetrieveRequestExpand"; -export * from "./EmployeesListRequestEmploymentStatus"; -export * from "./EmployeesListRequestExpand"; -export * from "./EmployeesListRequestRemoteFields"; -export * from "./EmployeesListRequestShowEnumOrigins"; -export * from "./EmployeesRetrieveRequestExpand"; -export * from "./EmployeesRetrieveRequestRemoteFields"; -export * from "./EmployeesRetrieveRequestShowEnumOrigins"; -export * from "./IgnoreCommonModelRequestReason"; -export * from "./EmploymentsListRequestExpand"; -export * from "./EmploymentsListRequestOrderBy"; -export * from "./EmploymentsListRequestRemoteFields"; -export * from "./EmploymentsListRequestShowEnumOrigins"; -export * from "./EmploymentsRetrieveRequestExpand"; -export * from "./EmploymentsRetrieveRequestRemoteFields"; -export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./LocationsListRequestLocationType"; -export * from "./PayrollRunsListRequestRemoteFields"; -export * from "./PayrollRunsListRequestRunType"; -export * from "./PayrollRunsListRequestShowEnumOrigins"; -export * from "./PayrollRunsRetrieveRequestRemoteFields"; -export * from "./PayrollRunsRetrieveRequestShowEnumOrigins"; -export * from "./TimeOffListRequestExpand"; -export * from "./TimeOffListRequestRemoteFields"; -export * from "./TimeOffListRequestRequestType"; -export * from "./TimeOffListRequestShowEnumOrigins"; -export * from "./TimeOffListRequestStatus"; -export * from "./TimeOffBalancesListRequestPolicyType"; -export * from "./TimeOffRetrieveRequestExpand"; -export * from "./TimeOffRetrieveRequestRemoteFields"; -export * from "./TimeOffRetrieveRequestShowEnumOrigins"; -export * from "./TimesheetEntriesListRequestOrderBy"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; @@ -44,34 +6,34 @@ export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AccountTypeEnum"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./BankInfo"; export * from "./BankInfoEmployee"; export * from "./BankInfoAccountType"; -export * from "./Benefit"; +export * from "./BankInfo"; export * from "./BenefitEmployee"; +export * from "./Benefit"; export * from "./BenefitPlanTypeEnum"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; export * from "./Company"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; export * from "./CountryEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Deduction"; -export * from "./Dependent"; export * from "./DependentRelationship"; export * from "./DependentGender"; -export * from "./Earning"; +export * from "./Dependent"; export * from "./EarningType"; +export * from "./Earning"; export * from "./EarningTypeEnum"; -export * from "./Employee"; export * from "./EmployeeCompany"; export * from "./EmployeeGroupsItem"; export * from "./EmployeeEmploymentsItem"; @@ -84,10 +46,10 @@ export * from "./EmployeeGender"; export * from "./EmployeeEthnicity"; export * from "./EmployeeMaritalStatus"; export * from "./EmployeeEmploymentStatus"; -export * from "./EmployeePayrollRun"; +export * from "./Employee"; export * from "./EmployeePayrollRunEmployee"; export * from "./EmployeePayrollRunPayrollRun"; -export * from "./EmployeeRequest"; +export * from "./EmployeePayrollRun"; export * from "./EmployeeRequestCompany"; export * from "./EmployeeRequestGroupsItem"; export * from "./EmployeeRequestEmploymentsItem"; @@ -100,10 +62,10 @@ export * from "./EmployeeRequestGender"; export * from "./EmployeeRequestEthnicity"; export * from "./EmployeeRequestMaritalStatus"; export * from "./EmployeeRequestEmploymentStatus"; +export * from "./EmployeeRequest"; export * from "./EmployeeResponse"; -export * from "./EmployerBenefit"; export * from "./EmployerBenefitBenefitPlanType"; -export * from "./Employment"; +export * from "./EmployerBenefit"; export * from "./EmploymentEmployee"; export * from "./EmploymentPayPeriod"; export * from "./EmploymentPayFrequency"; @@ -111,6 +73,7 @@ export * from "./EmploymentPayCurrency"; export * from "./EmploymentPayGroup"; export * from "./EmploymentFlsaStatus"; export * from "./EmploymentEmploymentType"; +export * from "./Employment"; export * from "./EmploymentStatusEnum"; export * from "./EmploymentTypeEnum"; export * from "./EnabledActionsEnum"; @@ -120,11 +83,11 @@ export * from "./EthnicityEnum"; export * from "./EventTypeEnum"; export * from "./FlsaStatusEnum"; export * from "./GenderEnum"; -export * from "./Group"; export * from "./GroupType"; +export * from "./Group"; export * from "./GroupTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -132,16 +95,16 @@ export * from "./LinkedAccountConditionRequest"; export * from "./LinkedAccountSelectiveSyncConfiguration"; export * from "./LinkedAccountSelectiveSyncConfigurationRequest"; export * from "./LinkedAccountStatus"; -export * from "./Location"; export * from "./LocationCountry"; export * from "./LocationLocationType"; +export * from "./Location"; export * from "./LocationTypeEnum"; export * from "./MaritalStatusEnum"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; @@ -168,16 +131,16 @@ export * from "./PayCurrencyEnum"; export * from "./PayFrequencyEnum"; export * from "./PayGroup"; export * from "./PayPeriodEnum"; -export * from "./PayrollRun"; export * from "./PayrollRunRunState"; export * from "./PayrollRunRunType"; +export * from "./PayrollRun"; export * from "./PolicyTypeEnum"; export * from "./ReasonEnum"; export * from "./RelationshipEnum"; export * from "./RemoteData"; export * from "./RemoteKey"; -export * from "./RemoteResponse"; export * from "./RemoteResponseResponseType"; +export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; export * from "./RequestTypeEnum"; export * from "./ResponseTypeEnum"; @@ -188,23 +151,23 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tax"; -export * from "./Team"; export * from "./TeamParentTeam"; -export * from "./TimeOff"; +export * from "./Team"; export * from "./TimeOffEmployee"; export * from "./TimeOffApprover"; export * from "./TimeOffStatus"; export * from "./TimeOffUnits"; export * from "./TimeOffRequestType"; -export * from "./TimeOffBalance"; +export * from "./TimeOff"; export * from "./TimeOffBalanceEmployee"; export * from "./TimeOffBalancePolicyType"; -export * from "./TimeOffRequest"; +export * from "./TimeOffBalance"; export * from "./TimeOffRequestEmployee"; export * from "./TimeOffRequestApprover"; export * from "./TimeOffRequestStatus"; export * from "./TimeOffRequestUnits"; export * from "./TimeOffRequestRequestType"; +export * from "./TimeOffRequest"; export * from "./TimeOffResponse"; export * from "./TimeOffStatusEnum"; export * from "./TimesheetEntry"; diff --git a/src/api/resources/ticketing/client/Client.ts b/src/api/resources/ticketing/client/Client.ts index f8a2fc21..97afdbfd 100644 --- a/src/api/resources/ticketing/client/Client.ts +++ b/src/api/resources/ticketing/client/Client.ts @@ -41,6 +41,7 @@ export declare namespace Ticketing { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } diff --git a/src/api/resources/ticketing/index.ts b/src/api/resources/ticketing/index.ts index 848e75ab..d3c50802 100644 --- a/src/api/resources/ticketing/index.ts +++ b/src/api/resources/ticketing/index.ts @@ -1,3 +1,3 @@ +export * from "./resources"; export * from "./types"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/ticketing/resources/accountDetails/client/Client.ts b/src/api/resources/ticketing/resources/accountDetails/client/Client.ts index 4e7aa421..f89d7665 100644 --- a/src/api/resources/ticketing/resources/accountDetails/client/Client.ts +++ b/src/api/resources/ticketing/resources/accountDetails/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountDetails { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class AccountDetails { /** * Get details for a linked account. + * + * @example + * await merge.ticketing.accountDetails.retrieve() */ public async retrieve(requestOptions?: AccountDetails.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class AccountDetails { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.AccountDetails.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/accountToken/client/Client.ts b/src/api/resources/ticketing/resources/accountToken/client/Client.ts index da9e76ee..bcde88d1 100644 --- a/src/api/resources/ticketing/resources/accountToken/client/Client.ts +++ b/src/api/resources/ticketing/resources/accountToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AccountToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,10 +46,11 @@ export class AccountToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.AccountToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/accounts/client/Client.ts b/src/api/resources/ticketing/resources/accounts/client/Client.ts index 829b9b4e..608931f4 100644 --- a/src/api/resources/ticketing/resources/accounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/accounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Accounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Accounts { /** * Returns a list of `Account` objects. + * + * @example + * await merge.ticketing.accounts.list({}) */ public async list( request: Merge.ticketing.AccountsListRequest = {}, @@ -43,41 +46,41 @@ export class Accounts { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedAccountList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Accounts { /** * Returns an `Account` object with the given `id`. + * + * @example + * await merge.ticketing.accounts.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Accounts { requestOptions?: Accounts.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Accounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Account.parseOrThrow(_response.body, { 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 91a9930e..eff6874c 100644 --- a/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AccountsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.ts b/src/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.ts index 56779f9f..ff5ae12c 100644 --- a/src/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AccountsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts b/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts index 5deea36c..b1e08515 100644 --- a/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts +++ b/src/api/resources/ticketing/resources/asyncPassthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AsyncPassthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,20 @@ export class AsyncPassthrough { /** * Asynchronously pull data from an endpoint not currently supported by Merge. + * + * @example + * await merge.ticketing.asyncPassthrough.create({ + * method: Merge.ticketing.MethodEnum.Get, + * path: "/scooters", + * data: "{\"company\": \"Lime\", \"model\": \"Gen 2.5\"}", + * multipartFormData: [{ + * name: "resume", + * data: "SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=", + * fileName: "resume.pdf", + * contentType: "application/pdf" + * }], + * requestFormat: Merge.ticketing.RequestFormatEnum.Json + * }) */ public async create( request: Merge.ticketing.DataPassthroughRequest, @@ -45,13 +60,14 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.AsyncPassthroughReciept.parseOrThrow(_response.body, { @@ -105,10 +121,11 @@ export class AsyncPassthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/attachments/client/Client.ts b/src/api/resources/ticketing/resources/attachments/client/Client.ts index 3cb834dd..9da4de8d 100644 --- a/src/api/resources/ticketing/resources/attachments/client/Client.ts +++ b/src/api/resources/ticketing/resources/attachments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -20,6 +19,7 @@ export declare namespace Attachments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -28,6 +28,11 @@ export class Attachments { /** * Returns a list of `Attachment` objects. + * + * @example + * await merge.ticketing.attachments.list({ + * expand: "ticket" + * }) */ public async list( request: Merge.ticketing.AttachmentsListRequest = {}, @@ -47,53 +52,53 @@ export class Attachments { remoteId, ticketId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteCreatedAfter != null) { - _queryParams.append("remote_created_after", remoteCreatedAfter.toISOString()); + _queryParams["remote_created_after"] = remoteCreatedAfter.toISOString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (ticketId != null) { - _queryParams.append("ticket_id", ticketId); + _queryParams["ticket_id"] = ticketId; } const _response = await core.fetcher({ @@ -110,11 +115,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedAttachmentList.parseOrThrow(_response.body, { @@ -149,19 +155,29 @@ export class Attachments { /** * Creates an `Attachment` object with the given values. + * + * @example + * await merge.ticketing.attachments.create({ + * model: { + * fileName: "Screenshot.png", + * fileUrl: "http://alturl.com/p749b", + * contentType: "jpeg", + * uploadedBy: "28b54125-287f-494d-965e-3c5b330c9a68" + * } + * }) */ public async create( request: Merge.ticketing.TicketingAttachmentEndpointRequest, requestOptions?: Attachments.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -178,7 +194,7 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -186,6 +202,7 @@ export class Attachments { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.TicketingAttachmentResponse.parseOrThrow(_response.body, { @@ -220,6 +237,11 @@ export class Attachments { /** * Returns an `Attachment` object with the given `id`. + * + * @example + * await merge.ticketing.attachments.retrieve("id", { + * expand: "ticket" + * }) */ public async retrieve( id: string, @@ -227,13 +249,13 @@ export class Attachments { requestOptions?: Attachments.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -250,11 +272,12 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Attachment.parseOrThrow(_response.body, { @@ -296,12 +319,12 @@ export class Attachments { requestOptions?: Attachments.RequestOptions ): Promise { const { mimeType } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (mimeType != null) { - _queryParams.append("mime_type", mimeType); + _queryParams["mime_type"] = mimeType; } - const _response = await core.streamingFetcher({ + const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.MergeEnvironment.Production, `api/ticketing/v1/attachments/${id}/download` @@ -315,21 +338,45 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, + contentType: "application/json", queryParameters: _queryParams, + responseType: "streaming", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - onError: (error) => { + maxRetries: requestOptions?.maxRetries, + }); + if (_response.ok) { + return _response.body; + } + + if (_response.error.reason === "status-code") { + throw new errors.MergeError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + + switch (_response.error.reason) { + case "non-json": throw new errors.MergeError({ - message: (error as any)?.message, + statusCode: _response.error.statusCode, + body: _response.error.rawBody, }); - }, - }); - return _response.data; + case "timeout": + throw new errors.MergeTimeoutError(); + case "unknown": + throw new errors.MergeError({ + message: _response.error.errorMessage, + }); + } } /** * Returns metadata for `TicketingAttachment` POSTs. + * + * @example + * await merge.ticketing.attachments.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Attachments.RequestOptions): Promise { const _response = await core.fetcher({ @@ -346,10 +393,11 @@ export class Attachments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.MetaResponse.parseOrThrow(_response.body, { 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 bfda48e7..cbd824da 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "ticket" + * } + */ export interface AttachmentsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts index 76d48342..8a468d16 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "ticket" + * } + */ export interface AttachmentsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.ts b/src/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.ts index 34345a63..41086f02 100644 --- a/src/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.ts +++ b/src/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.ts @@ -4,6 +4,17 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * fileName: "Screenshot.png", + * fileUrl: "http://alturl.com/p749b", + * contentType: "jpeg", + * uploadedBy: "28b54125-287f-494d-965e-3c5b330c9a68" + * } + * } + */ export interface TicketingAttachmentEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts index 8e35730c..e071d874 100644 --- a/src/api/resources/ticketing/resources/auditTrail/client/Client.ts +++ b/src/api/resources/ticketing/resources/auditTrail/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace AuditTrail { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,35 +27,38 @@ export class AuditTrail { /** * Gets a list of audit trail events. + * + * @example + * await merge.ticketing.auditTrail.list({}) */ public async list( request: Merge.ticketing.AuditTrailListRequest = {}, requestOptions?: AuditTrail.RequestOptions ): Promise { const { cursor, endDate, eventType, pageSize, startDate, userEmail } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (eventType != null) { - _queryParams.append("event_type", eventType); + _queryParams["event_type"] = eventType; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (userEmail != null) { - _queryParams.append("user_email", userEmail); + _queryParams["user_email"] = userEmail; } const _response = await core.fetcher({ @@ -72,11 +75,12 @@ export class AuditTrail { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedAuditLogEventList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts b/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts index 49cf4b96..86818466 100644 --- a/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts +++ b/src/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface AuditTrailListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ticketing/resources/availableActions/client/Client.ts b/src/api/resources/ticketing/resources/availableActions/client/Client.ts index b666e6c9..5009b148 100644 --- a/src/api/resources/ticketing/resources/availableActions/client/Client.ts +++ b/src/api/resources/ticketing/resources/availableActions/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace AvailableActions { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -42,10 +43,11 @@ export class AvailableActions { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.AvailableActions.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/collections/client/Client.ts b/src/api/resources/ticketing/resources/collections/client/Client.ts index 0e0fe942..c0536c7e 100644 --- a/src/api/resources/ticketing/resources/collections/client/Client.ts +++ b/src/api/resources/ticketing/resources/collections/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Collections { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,14 @@ export class Collections { /** * Returns a list of `Collection` objects. + * + * @example + * await merge.ticketing.collections.list({ + * collectionType: Merge.ticketing.CollectionsListRequestCollectionType.List, + * expand: "parent_collection", + * remoteFields: "collection_type", + * showEnumOrigins: "collection_type" + * }) */ public async list( request: Merge.ticketing.CollectionsListRequest = {}, @@ -48,61 +56,61 @@ export class Collections { remoteId, showEnumOrigins, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (collectionType != null) { - _queryParams.append("collection_type", collectionType); + _queryParams["collection_type"] = collectionType; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (parentCollectionId != null) { - _queryParams.append("parent_collection_id", parentCollectionId); + _queryParams["parent_collection_id"] = parentCollectionId; } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -119,11 +127,12 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedCollectionList.parseOrThrow(_response.body, { @@ -158,6 +167,13 @@ export class Collections { /** * Returns a `Collection` object with the given `id`. + * + * @example + * await merge.ticketing.collections.retrieve("id", { + * expand: "parent_collection", + * remoteFields: "collection_type", + * showEnumOrigins: "collection_type" + * }) */ public async retrieve( id: string, @@ -165,21 +181,21 @@ export class Collections { requestOptions?: Collections.RequestOptions ): Promise { const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -196,11 +212,12 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Collection.parseOrThrow(_response.body, { @@ -235,6 +252,11 @@ export class Collections { /** * Returns a list of `User` objects. + * + * @example + * await merge.ticketing.collections.usersList("parent-id", { + * expand: Merge.ticketing.CollectionsUsersListRequestExpand.Roles + * }) */ public async usersList( parentId: string, @@ -242,25 +264,25 @@ export class Collections { requestOptions?: Collections.RequestOptions ): Promise { const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -277,11 +299,12 @@ export class Collections { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { 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 d919de69..b3bc9309 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.ts @@ -4,12 +4,21 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * collectionType: Merge.ticketing.CollectionsListRequestCollectionType.List, + * expand: "parent_collection", + * remoteFields: "collection_type", + * showEnumOrigins: "collection_type" + * } + */ export interface CollectionsListRequest { /** * If provided, will only return collections of the given type. * - * * `LIST` - LIST - * * `PROJECT` - PROJECT + * - `LIST` - LIST + * - `PROJECT` - PROJECT */ collectionType?: Merge.ticketing.CollectionsListRequestCollectionType; /** diff --git a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts index 538f2f92..bd5e5009 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.ts @@ -2,6 +2,14 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "parent_collection", + * remoteFields: "collection_type", + * showEnumOrigins: "collection_type" + * } + */ export interface CollectionsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. 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 4cf49a28..09b28a13 100644 --- a/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts +++ b/src/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.CollectionsUsersListRequestExpand.Roles + * } + */ export interface CollectionsUsersListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ticketing/resources/collections/index.ts b/src/api/resources/ticketing/resources/collections/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/collections/index.ts +++ b/src/api/resources/ticketing/resources/collections/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/CollectionsListRequestCollectionType.ts b/src/api/resources/ticketing/resources/collections/types/CollectionsListRequestCollectionType.ts similarity index 100% rename from src/api/resources/ticketing/types/CollectionsListRequestCollectionType.ts rename to src/api/resources/ticketing/resources/collections/types/CollectionsListRequestCollectionType.ts diff --git a/src/api/resources/ticketing/types/CollectionsUsersListRequestExpand.ts b/src/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/CollectionsUsersListRequestExpand.ts rename to src/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.ts diff --git a/src/api/resources/ticketing/resources/collections/types/index.ts b/src/api/resources/ticketing/resources/collections/types/index.ts new file mode 100644 index 00000000..5531a1bf --- /dev/null +++ b/src/api/resources/ticketing/resources/collections/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CollectionsListRequestCollectionType"; +export * from "./CollectionsUsersListRequestExpand"; diff --git a/src/api/resources/ticketing/resources/comments/client/Client.ts b/src/api/resources/ticketing/resources/comments/client/Client.ts index 1dbce4db..30185bf0 100644 --- a/src/api/resources/ticketing/resources/comments/client/Client.ts +++ b/src/api/resources/ticketing/resources/comments/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Comments { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Comments { /** * Returns a list of `Comment` objects. + * + * @example + * await merge.ticketing.comments.list({ + * expand: Merge.ticketing.CommentsListRequestExpand.Contact + * }) */ public async list( request: Merge.ticketing.CommentsListRequest = {}, @@ -46,53 +51,53 @@ export class Comments { remoteId, ticketId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteCreatedAfter != null) { - _queryParams.append("remote_created_after", remoteCreatedAfter.toISOString()); + _queryParams["remote_created_after"] = remoteCreatedAfter.toISOString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (ticketId != null) { - _queryParams.append("ticket_id", ticketId); + _queryParams["ticket_id"] = ticketId; } const _response = await core.fetcher({ @@ -109,11 +114,12 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedCommentList.parseOrThrow(_response.body, { @@ -148,19 +154,27 @@ export class Comments { /** * Creates a `Comment` object with the given values. + * + * @example + * await merge.ticketing.comments.create({ + * model: { + * body: "When will these integrations be done? You all should use Merge.", + * htmlBody: "When will these integrations be done? You all should use Merge." + * } + * }) */ public async create( request: Merge.ticketing.CommentEndpointRequest, requestOptions?: Comments.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -177,7 +191,7 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -185,6 +199,7 @@ export class Comments { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.CommentResponse.parseOrThrow(_response.body, { @@ -219,6 +234,11 @@ export class Comments { /** * Returns a `Comment` object with the given `id`. + * + * @example + * await merge.ticketing.comments.retrieve("id", { + * expand: Merge.ticketing.CommentsRetrieveRequestExpand.Contact + * }) */ public async retrieve( id: string, @@ -226,13 +246,13 @@ export class Comments { requestOptions?: Comments.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -249,11 +269,12 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Comment.parseOrThrow(_response.body, { @@ -288,6 +309,9 @@ export class Comments { /** * Returns metadata for `Comment` POSTs. + * + * @example + * await merge.ticketing.comments.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Comments.RequestOptions): Promise { const _response = await core.fetcher({ @@ -304,10 +328,11 @@ export class Comments { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.MetaResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.ts b/src/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.ts index 011e3c8c..77547c5c 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.ts @@ -4,6 +4,15 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * body: "When will these integrations be done? You all should use Merge.", + * htmlBody: "When will these integrations be done? You all should use Merge." + * } + * } + */ export interface CommentEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 520c3e89..14cd0792 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.CommentsListRequestExpand.Contact + * } + */ export interface CommentsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts b/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts index b404a3a5..ff1d4e6d 100644 --- a/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.CommentsRetrieveRequestExpand.Contact + * } + */ export interface CommentsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ticketing/resources/comments/index.ts b/src/api/resources/ticketing/resources/comments/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/comments/index.ts +++ b/src/api/resources/ticketing/resources/comments/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/CommentsListRequestExpand.ts b/src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/CommentsListRequestExpand.ts rename to src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts diff --git a/src/api/resources/ticketing/types/CommentsRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/CommentsRetrieveRequestExpand.ts rename to src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts diff --git a/src/api/resources/ticketing/resources/comments/types/index.ts b/src/api/resources/ticketing/resources/comments/types/index.ts new file mode 100644 index 00000000..cbff3a9f --- /dev/null +++ b/src/api/resources/ticketing/resources/comments/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CommentsListRequestExpand"; +export * from "./CommentsRetrieveRequestExpand"; diff --git a/src/api/resources/ticketing/resources/contacts/client/Client.ts b/src/api/resources/ticketing/resources/contacts/client/Client.ts index 6f0fa665..a1b7c2d0 100644 --- a/src/api/resources/ticketing/resources/contacts/client/Client.ts +++ b/src/api/resources/ticketing/resources/contacts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Contacts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Contacts { /** * Returns a list of `Contact` objects. + * + * @example + * await merge.ticketing.contacts.list({ + * expand: "account" + * }) */ public async list( request: Merge.ticketing.ContactsListRequest = {}, @@ -44,45 +49,45 @@ export class Contacts { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -99,11 +104,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedContactList.parseOrThrow(_response.body, { @@ -138,6 +144,11 @@ export class Contacts { /** * Returns a `Contact` object with the given `id`. + * + * @example + * await merge.ticketing.contacts.retrieve("id", { + * expand: "account" + * }) */ public async retrieve( id: string, @@ -145,13 +156,13 @@ export class Contacts { requestOptions?: Contacts.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -168,11 +179,12 @@ export class Contacts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Contact.parseOrThrow(_response.body, { 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 443bdf17..4f50948a 100644 --- a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts +++ b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "account" + * } + */ export interface ContactsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts index 5c03f780..6a070bfe 100644 --- a/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * expand: "account" + * } + */ export interface ContactsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts b/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts index ddcfd4f8..647fce45 100644 --- a/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts +++ b/src/api/resources/ticketing/resources/deleteAccount/client/Client.ts @@ -16,6 +16,7 @@ export declare namespace DeleteAccount { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -24,6 +25,9 @@ export class DeleteAccount { /** * Delete a linked account. + * + * @example + * await merge.ticketing.deleteAccount.delete() */ public async delete(requestOptions?: DeleteAccount.RequestOptions): Promise { const _response = await core.fetcher({ @@ -40,10 +44,11 @@ export class DeleteAccount { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return; diff --git a/src/api/resources/ticketing/resources/forceResync/client/Client.ts b/src/api/resources/ticketing/resources/forceResync/client/Client.ts index 719f5e19..0aff6fd0 100644 --- a/src/api/resources/ticketing/resources/forceResync/client/Client.ts +++ b/src/api/resources/ticketing/resources/forceResync/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace ForceResync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class ForceResync { /** * 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 Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. + * + * @example + * await merge.ticketing.forceResync.syncStatusResyncCreate() */ public async syncStatusResyncCreate( requestOptions?: ForceResync.RequestOptions @@ -44,10 +48,11 @@ export class ForceResync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.forceResync.syncStatusResyncCreate.Response.parseOrThrow( diff --git a/src/api/resources/ticketing/resources/generateKey/client/Client.ts b/src/api/resources/ticketing/resources/generateKey/client/Client.ts index dc2c78ea..a8a43afe 100644 --- a/src/api/resources/ticketing/resources/generateKey/client/Client.ts +++ b/src/api/resources/ticketing/resources/generateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace GenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class GenerateKey { /** * Create a remote key. + * + * @example + * await merge.ticketing.generateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.ticketing.GenerateRemoteKeyRequest, @@ -45,13 +51,14 @@ export class GenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.GenerateRemoteKeyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts b/src/api/resources/ticketing/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts index 37a7a3b2..a52605df 100644 --- a/src/api/resources/ticketing/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts +++ b/src/api/resources/ticketing/resources/generateKey/client/requests/GenerateRemoteKeyRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface GenerateRemoteKeyRequest { name: string; } diff --git a/src/api/resources/ticketing/resources/index.ts b/src/api/resources/ticketing/resources/index.ts index 5da89578..7300d028 100644 --- a/src/api/resources/ticketing/resources/index.ts +++ b/src/api/resources/ticketing/resources/index.ts @@ -1,3 +1,17 @@ +export * as collections from "./collections"; +export * from "./collections/types"; +export * as comments from "./comments"; +export * from "./comments/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as projects from "./projects"; +export * from "./projects/types"; +export * as tickets from "./tickets"; +export * from "./tickets/types"; +export * as users from "./users"; +export * from "./users/types"; export * as accountDetails from "./accountDetails"; export * as accountToken from "./accountToken"; export * as accounts from "./accounts"; @@ -5,16 +19,11 @@ export * as asyncPassthrough from "./asyncPassthrough"; export * as attachments from "./attachments"; export * as auditTrail from "./auditTrail"; export * as availableActions from "./availableActions"; -export * as collections from "./collections"; -export * as comments from "./comments"; export * as contacts from "./contacts"; export * as deleteAccount from "./deleteAccount"; export * as generateKey from "./generateKey"; -export * as issues from "./issues"; export * as linkToken from "./linkToken"; -export * as linkedAccounts from "./linkedAccounts"; export * as passthrough from "./passthrough"; -export * as projects from "./projects"; export * as regenerateKey from "./regenerateKey"; export * as roles from "./roles"; export * as selectiveSync from "./selectiveSync"; @@ -22,8 +31,6 @@ export * as syncStatus from "./syncStatus"; export * as forceResync from "./forceResync"; export * as tags from "./tags"; export * as teams from "./teams"; -export * as tickets from "./tickets"; -export * as users from "./users"; export * as webhookReceivers from "./webhookReceivers"; export * from "./accounts/client/requests"; export * from "./attachments/client/requests"; diff --git a/src/api/resources/ticketing/resources/issues/client/Client.ts b/src/api/resources/ticketing/resources/issues/client/Client.ts index 3c957dc5..bf14075b 100644 --- a/src/api/resources/ticketing/resources/issues/client/Client.ts +++ b/src/api/resources/ticketing/resources/issues/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Issues { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Issues { /** * Gets issues. + * + * @example + * await merge.ticketing.issues.list({ + * status: Merge.ticketing.IssuesListRequestStatus.Ongoing + * }) */ public async list( request: Merge.ticketing.IssuesListRequest = {}, @@ -47,57 +52,57 @@ export class Issues { startDate, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountToken != null) { - _queryParams.append("account_token", accountToken); + _queryParams["account_token"] = accountToken; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endDate != null) { - _queryParams.append("end_date", endDate); + _queryParams["end_date"] = endDate; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (firstIncidentTimeAfter != null) { - _queryParams.append("first_incident_time_after", firstIncidentTimeAfter.toISOString()); + _queryParams["first_incident_time_after"] = firstIncidentTimeAfter.toISOString(); } if (firstIncidentTimeBefore != null) { - _queryParams.append("first_incident_time_before", firstIncidentTimeBefore.toISOString()); + _queryParams["first_incident_time_before"] = firstIncidentTimeBefore.toISOString(); } if (includeMuted != null) { - _queryParams.append("include_muted", includeMuted); + _queryParams["include_muted"] = includeMuted; } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (lastIncidentTimeAfter != null) { - _queryParams.append("last_incident_time_after", lastIncidentTimeAfter.toISOString()); + _queryParams["last_incident_time_after"] = lastIncidentTimeAfter.toISOString(); } if (lastIncidentTimeBefore != null) { - _queryParams.append("last_incident_time_before", lastIncidentTimeBefore.toISOString()); + _queryParams["last_incident_time_before"] = lastIncidentTimeBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (startDate != null) { - _queryParams.append("start_date", startDate); + _queryParams["start_date"] = startDate; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedIssueList.parseOrThrow(_response.body, { @@ -153,6 +159,9 @@ export class Issues { /** * Get a specific issue. + * + * @example + * await merge.ticketing.issues.retrieve("id") */ public async retrieve(id: string, requestOptions?: Issues.RequestOptions): Promise { const _response = await core.fetcher({ @@ -169,10 +178,11 @@ export class Issues { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Issue.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts b/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts index c6cae448..bab78bcf 100644 --- a/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts +++ b/src/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * status: Merge.ticketing.IssuesListRequestStatus.Ongoing + * } + */ export interface IssuesListRequest { accountToken?: string; /** @@ -47,8 +53,8 @@ export interface IssuesListRequest { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.ticketing.IssuesListRequestStatus; } diff --git a/src/api/resources/ticketing/resources/issues/index.ts b/src/api/resources/ticketing/resources/issues/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/issues/index.ts +++ b/src/api/resources/ticketing/resources/issues/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/IssuesListRequestStatus.ts b/src/api/resources/ticketing/resources/issues/types/IssuesListRequestStatus.ts similarity index 100% rename from src/api/resources/ticketing/types/IssuesListRequestStatus.ts rename to src/api/resources/ticketing/resources/issues/types/IssuesListRequestStatus.ts diff --git a/src/api/resources/ticketing/resources/issues/types/index.ts b/src/api/resources/ticketing/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/api/resources/ticketing/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/api/resources/ticketing/resources/linkToken/client/Client.ts b/src/api/resources/ticketing/resources/linkToken/client/Client.ts index 70f29381..7667187a 100644 --- a/src/api/resources/ticketing/resources/linkToken/client/Client.ts +++ b/src/api/resources/ticketing/resources/linkToken/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace LinkToken { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class LinkToken { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.LinkToken.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts index 45254af4..c6addee4 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace LinkedAccounts { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class LinkedAccounts { /** * List linked accounts for your organization. + * + * @example + * await merge.ticketing.linkedAccounts.list({ + * category: Merge.ticketing.LinkedAccountsListRequestCategory.Accounting + * }) */ public async list( request: Merge.ticketing.LinkedAccountsListRequest = {}, @@ -47,57 +52,57 @@ export class LinkedAccounts { pageSize, status, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (category != null) { - _queryParams.append("category", category); + _queryParams["category"] = category; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (endUserEmailAddress != null) { - _queryParams.append("end_user_email_address", endUserEmailAddress); + _queryParams["end_user_email_address"] = endUserEmailAddress; } if (endUserOrganizationName != null) { - _queryParams.append("end_user_organization_name", endUserOrganizationName); + _queryParams["end_user_organization_name"] = endUserOrganizationName; } if (endUserOriginId != null) { - _queryParams.append("end_user_origin_id", endUserOriginId); + _queryParams["end_user_origin_id"] = endUserOriginId; } if (endUserOriginIds != null) { - _queryParams.append("end_user_origin_ids", endUserOriginIds); + _queryParams["end_user_origin_ids"] = endUserOriginIds; } if (id != null) { - _queryParams.append("id", id); + _queryParams["id"] = id; } if (ids != null) { - _queryParams.append("ids", ids); + _queryParams["ids"] = ids; } if (includeDuplicates != null) { - _queryParams.append("include_duplicates", includeDuplicates.toString()); + _queryParams["include_duplicates"] = includeDuplicates.toString(); } if (integrationName != null) { - _queryParams.append("integration_name", integrationName); + _queryParams["integration_name"] = integrationName; } if (isTestAccount != null) { - _queryParams.append("is_test_account", isTestAccount); + _queryParams["is_test_account"] = isTestAccount; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } const _response = await core.fetcher({ @@ -114,11 +119,12 @@ export class LinkedAccounts { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedAccountDetailsAndActionsList.parseOrThrow(_response.body, { 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 bfd84762..250675ab 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.ts @@ -4,17 +4,23 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * category: Merge.ticketing.LinkedAccountsListRequestCategory.Accounting + * } + */ export interface LinkedAccountsListRequest { /** * Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ category?: Merge.ticketing.LinkedAccountsListRequestCategory; /** diff --git a/src/api/resources/ticketing/resources/linkedAccounts/index.ts b/src/api/resources/ticketing/resources/linkedAccounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/linkedAccounts/index.ts +++ b/src/api/resources/ticketing/resources/linkedAccounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/LinkedAccountsListRequestCategory.ts b/src/api/resources/ticketing/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 100% rename from src/api/resources/ticketing/types/LinkedAccountsListRequestCategory.ts rename to src/api/resources/ticketing/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts diff --git a/src/api/resources/ticketing/resources/linkedAccounts/types/index.ts b/src/api/resources/ticketing/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/api/resources/ticketing/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/api/resources/ticketing/resources/passthrough/client/Client.ts b/src/api/resources/ticketing/resources/passthrough/client/Client.ts index 2f121464..14b2ade9 100644 --- a/src/api/resources/ticketing/resources/passthrough/client/Client.ts +++ b/src/api/resources/ticketing/resources/passthrough/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace Passthrough { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -45,13 +46,14 @@ export class Passthrough { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.RemoteResponse.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/projects/client/Client.ts b/src/api/resources/ticketing/resources/projects/client/Client.ts index 57d2cd59..1e517b64 100644 --- a/src/api/resources/ticketing/resources/projects/client/Client.ts +++ b/src/api/resources/ticketing/resources/projects/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Projects { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Projects { /** * Returns a list of `Project` objects. + * + * @example + * await merge.ticketing.projects.list({}) */ public async list( request: Merge.ticketing.ProjectsListRequest = {}, @@ -43,41 +46,41 @@ export class Projects { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedProjectList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Projects { /** * Returns a `Project` object with the given `id`. + * + * @example + * await merge.ticketing.projects.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Projects { requestOptions?: Projects.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Project.parseOrThrow(_response.body, { @@ -198,6 +206,11 @@ export class Projects { /** * Returns a list of `User` objects. + * + * @example + * await merge.ticketing.projects.usersList("parent-id", { + * expand: Merge.ticketing.ProjectsUsersListRequestExpand.Roles + * }) */ public async usersList( parentId: string, @@ -205,25 +218,25 @@ export class Projects { requestOptions?: Projects.RequestOptions ): Promise { const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -240,11 +253,12 @@ export class Projects { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { 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 96a79eec..28115fbf 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface ProjectsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.ts b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.ts index 9809d2e7..0bf44a4d 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface ProjectsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. 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 a0a23923..9eac0913 100644 --- a/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts +++ b/src/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.ProjectsUsersListRequestExpand.Roles + * } + */ export interface ProjectsUsersListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ticketing/resources/projects/index.ts b/src/api/resources/ticketing/resources/projects/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/projects/index.ts +++ b/src/api/resources/ticketing/resources/projects/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/ProjectsUsersListRequestExpand.ts b/src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/ProjectsUsersListRequestExpand.ts rename to src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts diff --git a/src/api/resources/ticketing/resources/projects/types/index.ts b/src/api/resources/ticketing/resources/projects/types/index.ts new file mode 100644 index 00000000..d28a1cea --- /dev/null +++ b/src/api/resources/ticketing/resources/projects/types/index.ts @@ -0,0 +1 @@ +export * from "./ProjectsUsersListRequestExpand"; diff --git a/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts b/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts index 9862adaf..095eb947 100644 --- a/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts +++ b/src/api/resources/ticketing/resources/regenerateKey/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace RegenerateKey { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,11 @@ export class RegenerateKey { /** * Exchange remote keys. + * + * @example + * await merge.ticketing.regenerateKey.create({ + * name: "Remote Deployment Key 1" + * }) */ public async create( request: Merge.ticketing.RemoteKeyForRegenerationRequest, @@ -45,13 +51,14 @@ export class RegenerateKey { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.RemoteKeyForRegenerationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.RemoteKey.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts b/src/api/resources/ticketing/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts index 2f01c2f5..649ea0fd 100644 --- a/src/api/resources/ticketing/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts +++ b/src/api/resources/ticketing/resources/regenerateKey/client/requests/RemoteKeyForRegenerationRequest.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * name: "Remote Deployment Key 1" + * } + */ export interface RemoteKeyForRegenerationRequest { name: string; } diff --git a/src/api/resources/ticketing/resources/roles/client/Client.ts b/src/api/resources/ticketing/resources/roles/client/Client.ts index ad13d66d..8a1b7400 100644 --- a/src/api/resources/ticketing/resources/roles/client/Client.ts +++ b/src/api/resources/ticketing/resources/roles/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Roles { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Roles { /** * Returns a list of `Role` objects. + * + * @example + * await merge.ticketing.roles.list({}) */ public async list( request: Merge.ticketing.RolesListRequest = {}, @@ -43,41 +46,41 @@ export class Roles { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Roles { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedRoleList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Roles { /** * Returns a `Role` object with the given `id`. + * + * @example + * await merge.ticketing.roles.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Roles { requestOptions?: Roles.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Roles { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Role.parseOrThrow(_response.body, { 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 42105657..a2e5ab68 100644 --- a/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts +++ b/src/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface RolesListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.ts b/src/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.ts index 5f49ca2f..57fd77b8 100644 --- a/src/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface RolesRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ticketing/resources/selectiveSync/client/Client.ts b/src/api/resources/ticketing/resources/selectiveSync/client/Client.ts index 78249e95..8729d10e 100644 --- a/src/api/resources/ticketing/resources/selectiveSync/client/Client.ts +++ b/src/api/resources/ticketing/resources/selectiveSync/client/Client.ts @@ -8,7 +8,6 @@ import * as Merge from "../../../../.."; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; -import { default as URLSearchParams } from "@ungap/url-search-params"; export declare namespace SelectiveSync { interface Options { @@ -19,6 +18,7 @@ export declare namespace SelectiveSync { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class SelectiveSync { /** * Get a linked account's selective syncs. + * + * @example + * await merge.ticketing.selectiveSync.configurationsList() */ public async configurationsList( requestOptions?: SelectiveSync.RequestOptions @@ -45,10 +48,11 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.selectiveSync.configurationsList.Response.parseOrThrow(_response.body, { @@ -83,6 +87,13 @@ export class SelectiveSync { /** * Replace a linked account's selective syncs. + * + * @example + * await merge.ticketing.selectiveSync.configurationsUpdate({ + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * }) */ public async configurationsUpdate( request: Merge.ticketing.LinkedAccountSelectiveSyncConfigurationListRequest, @@ -102,13 +113,14 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.selectiveSync.configurationsUpdate.Response.parseOrThrow( @@ -146,23 +158,26 @@ export class SelectiveSync { /** * Get metadata for the conditions available to a linked account. + * + * @example + * await merge.ticketing.selectiveSync.metaList({}) */ public async metaList( request: Merge.ticketing.SelectiveSyncMetaListRequest = {}, requestOptions?: SelectiveSync.RequestOptions ): Promise { const { commonModel, cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (commonModel != null) { - _queryParams.append("common_model", commonModel); + _queryParams["common_model"] = commonModel; } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -179,11 +194,12 @@ export class SelectiveSync { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedConditionSchemaList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts b/src/api/resources/ticketing/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts index 50372f54..67993bcc 100644 --- a/src/api/resources/ticketing/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts +++ b/src/api/resources/ticketing/resources/selectiveSync/client/requests/LinkedAccountSelectiveSyncConfigurationListRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * syncConfigurations: [{ + * linkedAccountConditions: [] + * }] + * } + */ export interface LinkedAccountSelectiveSyncConfigurationListRequest { /** The selective syncs associated with a linked account. */ syncConfigurations: Merge.ticketing.LinkedAccountSelectiveSyncConfigurationRequest[]; diff --git a/src/api/resources/ticketing/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts b/src/api/resources/ticketing/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts index 4c663a7e..c633fb6d 100644 --- a/src/api/resources/ticketing/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts +++ b/src/api/resources/ticketing/resources/selectiveSync/client/requests/SelectiveSyncMetaListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SelectiveSyncMetaListRequest { commonModel?: string; /** diff --git a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts index 95f17ced..bc179df4 100644 --- a/src/api/resources/ticketing/resources/syncStatus/client/Client.ts +++ b/src/api/resources/ticketing/resources/syncStatus/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace SyncStatus { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,19 +27,22 @@ export class SyncStatus { /** * Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). + * + * @example + * await merge.ticketing.syncStatus.list({}) */ public async list( request: Merge.ticketing.SyncStatusListRequest = {}, requestOptions?: SyncStatus.RequestOptions ): Promise { const { cursor, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -56,11 +59,12 @@ export class SyncStatus { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedSyncStatusList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts b/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts index b604c9e5..bcce714a 100644 --- a/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts +++ b/src/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface SyncStatusListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ticketing/resources/tags/client/Client.ts b/src/api/resources/ticketing/resources/tags/client/Client.ts index 8e1d1998..3345d022 100644 --- a/src/api/resources/ticketing/resources/tags/client/Client.ts +++ b/src/api/resources/ticketing/resources/tags/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Tags { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Tags { /** * Returns a list of `Tag` objects. + * + * @example + * await merge.ticketing.tags.list({}) */ public async list( request: Merge.ticketing.TagsListRequest = {}, @@ -43,41 +46,41 @@ export class Tags { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedTagList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Tags { /** * Returns a `Tag` object with the given `id`. + * + * @example + * await merge.ticketing.tags.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Tags { requestOptions?: Tags.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Tags { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Tag.parseOrThrow(_response.body, { 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 af7e5609..cc01a51e 100644 --- a/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts +++ b/src/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TagsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.ts b/src/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.ts index 214bfc7c..b6ec5cf7 100644 --- a/src/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TagsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ticketing/resources/teams/client/Client.ts b/src/api/resources/ticketing/resources/teams/client/Client.ts index 363d343f..9ddf1b57 100644 --- a/src/api/resources/ticketing/resources/teams/client/Client.ts +++ b/src/api/resources/ticketing/resources/teams/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Teams { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,9 @@ export class Teams { /** * Returns a list of `Team` objects. + * + * @example + * await merge.ticketing.teams.list({}) */ public async list( request: Merge.ticketing.TeamsListRequest = {}, @@ -43,41 +46,41 @@ export class Teams { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -94,11 +97,12 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedTeamList.parseOrThrow(_response.body, { @@ -133,6 +137,9 @@ export class Teams { /** * Returns a `Team` object with the given `id`. + * + * @example + * await merge.ticketing.teams.retrieve("id", {}) */ public async retrieve( id: string, @@ -140,9 +147,9 @@ export class Teams { requestOptions?: Teams.RequestOptions ): Promise { const { includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -159,11 +166,12 @@ export class Teams { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Team.parseOrThrow(_response.body, { 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 c1a59bca..81e15326 100644 --- a/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts +++ b/src/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TeamsListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.ts b/src/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.ts index d2b77a58..4da352f9 100644 --- a/src/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TeamsRetrieveRequest { /** * Whether to include the original data Merge fetched from the third-party to produce these models. diff --git a/src/api/resources/ticketing/resources/tickets/client/Client.ts b/src/api/resources/ticketing/resources/tickets/client/Client.ts index f74dfbf4..2671a2a4 100644 --- a/src/api/resources/ticketing/resources/tickets/client/Client.ts +++ b/src/api/resources/ticketing/resources/tickets/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Tickets { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,15 @@ export class Tickets { /** * Returns a list of `Ticket` objects. + * + * @example + * await merge.ticketing.tickets.list({ + * expand: Merge.ticketing.TicketsListRequestExpand.Account, + * priority: Merge.ticketing.TicketsListRequestPriority.High, + * remoteFields: Merge.ticketing.TicketsListRequestRemoteFields.Priority, + * showEnumOrigins: Merge.ticketing.TicketsListRequestShowEnumOrigins.Priority, + * status: Merge.ticketing.TicketsListRequestStatus.Closed + * }) */ public async list( request: Merge.ticketing.TicketsListRequest = {}, @@ -65,129 +74,129 @@ export class Tickets { tags, ticketType, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (accountId != null) { - _queryParams.append("account_id", accountId); + _queryParams["account_id"] = accountId; } if (assigneeIds != null) { - _queryParams.append("assignee_ids", assigneeIds); + _queryParams["assignee_ids"] = assigneeIds; } if (collectionIds != null) { - _queryParams.append("collection_ids", collectionIds); + _queryParams["collection_ids"] = collectionIds; } if (completedAfter != null) { - _queryParams.append("completed_after", completedAfter.toISOString()); + _queryParams["completed_after"] = completedAfter.toISOString(); } if (completedBefore != null) { - _queryParams.append("completed_before", completedBefore.toISOString()); + _queryParams["completed_before"] = completedBefore.toISOString(); } if (contactId != null) { - _queryParams.append("contact_id", contactId); + _queryParams["contact_id"] = contactId; } if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (dueAfter != null) { - _queryParams.append("due_after", dueAfter.toISOString()); + _queryParams["due_after"] = dueAfter.toISOString(); } if (dueBefore != null) { - _queryParams.append("due_before", dueBefore.toISOString()); + _queryParams["due_before"] = dueBefore.toISOString(); } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (parentTicketId != null) { - _queryParams.append("parent_ticket_id", parentTicketId); + _queryParams["parent_ticket_id"] = parentTicketId; } if (priority != null) { - _queryParams.append("priority", priority); + _queryParams["priority"] = priority; } if (projectId != null) { - _queryParams.append("project_id", projectId); + _queryParams["project_id"] = projectId; } if (remoteCreatedAfter != null) { - _queryParams.append("remote_created_after", remoteCreatedAfter.toISOString()); + _queryParams["remote_created_after"] = remoteCreatedAfter.toISOString(); } if (remoteCreatedBefore != null) { - _queryParams.append("remote_created_before", remoteCreatedBefore.toISOString()); + _queryParams["remote_created_before"] = remoteCreatedBefore.toISOString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } if (remoteUpdatedAfter != null) { - _queryParams.append("remote_updated_after", remoteUpdatedAfter.toISOString()); + _queryParams["remote_updated_after"] = remoteUpdatedAfter.toISOString(); } if (remoteUpdatedBefore != null) { - _queryParams.append("remote_updated_before", remoteUpdatedBefore.toISOString()); + _queryParams["remote_updated_before"] = remoteUpdatedBefore.toISOString(); } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } if (status != null) { - _queryParams.append("status", status); + _queryParams["status"] = status; } if (tags != null) { - _queryParams.append("tags", tags); + _queryParams["tags"] = tags; } if (ticketType != null) { - _queryParams.append("ticket_type", ticketType); + _queryParams["ticket_type"] = ticketType; } const _response = await core.fetcher({ @@ -204,11 +213,12 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedTicketList.parseOrThrow(_response.body, { @@ -243,19 +253,31 @@ export class Tickets { /** * Creates a `Ticket` object with the given values. + * + * @example + * await merge.ticketing.tickets.create({ + * model: { + * name: "Please add more integrations", + * dueDate: new Date("2022-10-11T00:00:00.000Z"), + * description: "Can you please add more integrations? It'll make syncing data much easier!", + * ticketType: "incident", + * completedAt: new Date("2021-12-09T00:00:00.000Z"), + * ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1" + * } + * }) */ public async create( request: Merge.ticketing.TicketEndpointRequest, requestOptions?: Tickets.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -272,7 +294,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -280,6 +302,7 @@ export class Tickets { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.TicketResponse.parseOrThrow(_response.body, { @@ -314,6 +337,13 @@ export class Tickets { /** * Returns a `Ticket` object with the given `id`. + * + * @example + * await merge.ticketing.tickets.retrieve("id", { + * expand: Merge.ticketing.TicketsRetrieveRequestExpand.Account, + * remoteFields: Merge.ticketing.TicketsRetrieveRequestRemoteFields.Priority, + * showEnumOrigins: Merge.ticketing.TicketsRetrieveRequestShowEnumOrigins.Priority + * }) */ public async retrieve( id: string, @@ -321,25 +351,25 @@ export class Tickets { requestOptions?: Tickets.RequestOptions ): Promise { const { expand, includeRemoteData, includeRemoteFields, remoteFields, showEnumOrigins } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (includeRemoteFields != null) { - _queryParams.append("include_remote_fields", includeRemoteFields.toString()); + _queryParams["include_remote_fields"] = includeRemoteFields.toString(); } if (remoteFields != null) { - _queryParams.append("remote_fields", remoteFields); + _queryParams["remote_fields"] = remoteFields; } if (showEnumOrigins != null) { - _queryParams.append("show_enum_origins", showEnumOrigins); + _queryParams["show_enum_origins"] = showEnumOrigins; } const _response = await core.fetcher({ @@ -356,11 +386,12 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.Ticket.parseOrThrow(_response.body, { @@ -395,6 +426,21 @@ export class Tickets { /** * Updates a `Ticket` object with the given `id`. + * + * @example + * await merge.ticketing.tickets.partialUpdate("id", { + * model: { + * name: "Please add more integrations", + * dueDate: new Date("2022-10-11T00:00:00.000Z"), + * description: "Can you please add more integrations? It'll make syncing data much easier!", + * ticketType: "incident", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * contact: "65c345ba-6870-4974-87ba-dd31509c367a", + * parentTicket: "75b33d04-30d2-4f3e-be45-27838bc94342", + * completedAt: new Date("2021-12-09T00:00:00.000Z"), + * ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1" + * } + * }) */ public async partialUpdate( id: string, @@ -402,13 +448,13 @@ export class Tickets { requestOptions?: Tickets.RequestOptions ): Promise { const { isDebugMode, runAsync, ..._body } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (isDebugMode != null) { - _queryParams.append("is_debug_mode", isDebugMode.toString()); + _queryParams["is_debug_mode"] = isDebugMode.toString(); } if (runAsync != null) { - _queryParams.append("run_async", runAsync.toString()); + _queryParams["run_async"] = runAsync.toString(); } const _response = await core.fetcher({ @@ -425,7 +471,7 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, @@ -433,6 +479,7 @@ export class Tickets { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.TicketResponse.parseOrThrow(_response.body, { @@ -467,6 +514,11 @@ export class Tickets { /** * Returns a list of `User` objects. + * + * @example + * await merge.ticketing.tickets.collaboratorsList("parent-id", { + * expand: Merge.ticketing.TicketsCollaboratorsListRequestExpand.Roles + * }) */ public async collaboratorsList( parentId: string, @@ -474,25 +526,25 @@ export class Tickets { requestOptions?: Tickets.RequestOptions ): Promise { const { cursor, expand, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -509,11 +561,12 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { @@ -548,6 +601,9 @@ export class Tickets { /** * Returns metadata for `Ticket` PATCHs. + * + * @example + * await merge.ticketing.tickets.metaPatchRetrieve("id") */ public async metaPatchRetrieve( id: string, @@ -567,10 +623,11 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.MetaResponse.parseOrThrow(_response.body, { @@ -605,6 +662,9 @@ export class Tickets { /** * Returns metadata for `Ticket` POSTs. + * + * @example + * await merge.ticketing.tickets.metaPostRetrieve() */ public async metaPostRetrieve(requestOptions?: Tickets.RequestOptions): Promise { const _response = await core.fetcher({ @@ -621,10 +681,11 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.MetaResponse.parseOrThrow(_response.body, { @@ -659,27 +720,30 @@ export class Tickets { /** * Returns a list of `RemoteFieldClass` objects. + * + * @example + * await merge.ticketing.tickets.remoteFieldClassesList({}) */ public async remoteFieldClassesList( request: Merge.ticketing.TicketsRemoteFieldClassesListRequest = {}, requestOptions?: Tickets.RequestOptions ): Promise { const { cursor, includeDeletedData, includeRemoteData, pageSize } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } const _response = await core.fetcher({ @@ -696,11 +760,12 @@ export class Tickets { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.ts index f150ad9f..526f33ed 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.ts @@ -4,6 +4,22 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Please add more integrations", + * dueDate: new Date("2022-10-11T00:00:00.000Z"), + * description: "Can you please add more integrations? It'll make syncing data much easier!", + * ticketType: "incident", + * account: "0958cbc6-6040-430a-848e-aafacbadf4ae", + * contact: "65c345ba-6870-4974-87ba-dd31509c367a", + * parentTicket: "75b33d04-30d2-4f3e-be45-27838bc94342", + * completedAt: new Date("2021-12-09T00:00:00.000Z"), + * ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1" + * } + * } + */ export interface PatchedTicketEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.ts index d3b85471..91a0b3d2 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.ts @@ -4,6 +4,19 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * model: { + * name: "Please add more integrations", + * dueDate: new Date("2022-10-11T00:00:00.000Z"), + * description: "Can you please add more integrations? It'll make syncing data much easier!", + * ticketType: "incident", + * completedAt: new Date("2021-12-09T00:00:00.000Z"), + * ticketUrl: "https://thirdpartysoftware.com/project/3/issue/1" + * } + * } + */ export interface TicketEndpointRequest { /** * Whether to include debug fields (such as log file links) in the response. 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 2d1f4b21..d5be5a4d 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.TicketsCollaboratorsListRequestExpand.Roles + * } + */ export interface TicketsCollaboratorsListRequest { /** * The pagination cursor value. 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 2083e4e4..eef22015 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.ts @@ -4,6 +4,16 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.TicketsListRequestExpand.Account, + * priority: Merge.ticketing.TicketsListRequestPriority.High, + * remoteFields: Merge.ticketing.TicketsListRequestRemoteFields.Priority, + * showEnumOrigins: Merge.ticketing.TicketsListRequestShowEnumOrigins.Priority, + * status: Merge.ticketing.TicketsListRequestStatus.Closed + * } + */ export interface TicketsListRequest { /** * If provided, will only return tickets for this account. @@ -84,10 +94,10 @@ export interface TicketsListRequest { /** * If provided, will only return tickets of this priority. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ priority?: Merge.ticketing.TicketsListRequestPriority; /** @@ -125,10 +135,10 @@ export interface TicketsListRequest { /** * If provided, will only return tickets of this status. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ status?: Merge.ticketing.TicketsListRequestStatus; /** 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 434e42ef..97b3f24b 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface TicketsRemoteFieldClassesListRequest { /** * The pagination cursor value. diff --git a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts index ec735ce5..ca52799b 100644 --- a/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.ts @@ -4,6 +4,14 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.TicketsRetrieveRequestExpand.Account, + * remoteFields: Merge.ticketing.TicketsRetrieveRequestRemoteFields.Priority, + * showEnumOrigins: Merge.ticketing.TicketsRetrieveRequestShowEnumOrigins.Priority + * } + */ export interface TicketsRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ticketing/resources/tickets/index.ts b/src/api/resources/ticketing/resources/tickets/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/tickets/index.ts +++ b/src/api/resources/ticketing/resources/tickets/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/TicketsCollaboratorsListRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsCollaboratorsListRequestExpand.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.ts diff --git a/src/api/resources/ticketing/types/TicketsListRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsListRequestExpand.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts diff --git a/src/api/resources/ticketing/types/TicketsListRequestPriority.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestPriority.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsListRequestPriority.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsListRequestPriority.ts diff --git a/src/api/resources/ticketing/types/TicketsListRequestRemoteFields.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsListRequestRemoteFields.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsListRequestRemoteFields.ts diff --git a/src/api/resources/ticketing/types/TicketsListRequestShowEnumOrigins.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsListRequestShowEnumOrigins.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsListRequestShowEnumOrigins.ts diff --git a/src/api/resources/ticketing/types/TicketsListRequestStatus.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsListRequestStatus.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.ts diff --git a/src/api/resources/ticketing/types/TicketsRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsRetrieveRequestExpand.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts diff --git a/src/api/resources/ticketing/types/TicketsRetrieveRequestRemoteFields.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestRemoteFields.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsRetrieveRequestRemoteFields.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestRemoteFields.ts diff --git a/src/api/resources/ticketing/types/TicketsRetrieveRequestShowEnumOrigins.ts b/src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestShowEnumOrigins.ts similarity index 100% rename from src/api/resources/ticketing/types/TicketsRetrieveRequestShowEnumOrigins.ts rename to src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestShowEnumOrigins.ts diff --git a/src/api/resources/ticketing/resources/tickets/types/index.ts b/src/api/resources/ticketing/resources/tickets/types/index.ts new file mode 100644 index 00000000..db8c09ad --- /dev/null +++ b/src/api/resources/ticketing/resources/tickets/types/index.ts @@ -0,0 +1,9 @@ +export * from "./TicketsListRequestExpand"; +export * from "./TicketsListRequestPriority"; +export * from "./TicketsListRequestRemoteFields"; +export * from "./TicketsListRequestShowEnumOrigins"; +export * from "./TicketsListRequestStatus"; +export * from "./TicketsRetrieveRequestExpand"; +export * from "./TicketsRetrieveRequestRemoteFields"; +export * from "./TicketsRetrieveRequestShowEnumOrigins"; +export * from "./TicketsCollaboratorsListRequestExpand"; diff --git a/src/api/resources/ticketing/resources/users/client/Client.ts b/src/api/resources/ticketing/resources/users/client/Client.ts index dbf78ca4..59b79d47 100644 --- a/src/api/resources/ticketing/resources/users/client/Client.ts +++ b/src/api/resources/ticketing/resources/users/client/Client.ts @@ -5,7 +5,6 @@ import * as environments from "../../../../../../environments"; import * as core from "../../../../../../core"; import * as Merge from "../../../../.."; -import { default as URLSearchParams } from "@ungap/url-search-params"; import urlJoin from "url-join"; import * as serializers from "../../../../../../serialization"; import * as errors from "../../../../../../errors"; @@ -19,6 +18,7 @@ export declare namespace Users { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -27,6 +27,11 @@ export class Users { /** * Returns a list of `User` objects. + * + * @example + * await merge.ticketing.users.list({ + * expand: Merge.ticketing.UsersListRequestExpand.Roles + * }) */ public async list( request: Merge.ticketing.UsersListRequest = {}, @@ -45,49 +50,49 @@ export class Users { pageSize, remoteId, } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (createdAfter != null) { - _queryParams.append("created_after", createdAfter.toISOString()); + _queryParams["created_after"] = createdAfter.toISOString(); } if (createdBefore != null) { - _queryParams.append("created_before", createdBefore.toISOString()); + _queryParams["created_before"] = createdBefore.toISOString(); } if (cursor != null) { - _queryParams.append("cursor", cursor); + _queryParams["cursor"] = cursor; } if (emailAddress != null) { - _queryParams.append("email_address", emailAddress); + _queryParams["email_address"] = emailAddress; } if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeDeletedData != null) { - _queryParams.append("include_deleted_data", includeDeletedData.toString()); + _queryParams["include_deleted_data"] = includeDeletedData.toString(); } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } if (modifiedAfter != null) { - _queryParams.append("modified_after", modifiedAfter.toISOString()); + _queryParams["modified_after"] = modifiedAfter.toISOString(); } if (modifiedBefore != null) { - _queryParams.append("modified_before", modifiedBefore.toISOString()); + _queryParams["modified_before"] = modifiedBefore.toISOString(); } if (pageSize != null) { - _queryParams.append("page_size", pageSize.toString()); + _queryParams["page_size"] = pageSize.toString(); } if (remoteId != null) { - _queryParams.append("remote_id", remoteId); + _queryParams["remote_id"] = remoteId; } const _response = await core.fetcher({ @@ -104,11 +109,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.PaginatedUserList.parseOrThrow(_response.body, { @@ -143,6 +149,11 @@ export class Users { /** * Returns a `User` object with the given `id`. + * + * @example + * await merge.ticketing.users.retrieve("id", { + * expand: Merge.ticketing.UsersRetrieveRequestExpand.Roles + * }) */ public async retrieve( id: string, @@ -150,13 +161,13 @@ export class Users { requestOptions?: Users.RequestOptions ): Promise { const { expand, includeRemoteData } = request; - const _queryParams = new URLSearchParams(); + const _queryParams: Record = {}; if (expand != null) { - _queryParams.append("expand", expand); + _queryParams["expand"] = expand; } if (includeRemoteData != null) { - _queryParams.append("include_remote_data", includeRemoteData.toString()); + _queryParams["include_remote_data"] = includeRemoteData.toString(); } const _response = await core.fetcher({ @@ -173,11 +184,12 @@ export class Users { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", queryParameters: _queryParams, timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.User.parseOrThrow(_response.body, { 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 e4aebdf6..e17682dd 100644 --- a/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts +++ b/src/api/resources/ticketing/resources/users/client/requests/UsersListRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.UsersListRequestExpand.Roles + * } + */ export interface UsersListRequest { /** * If provided, will only return objects created after this datetime. diff --git a/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts b/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts index bd0099c3..11434983 100644 --- a/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts +++ b/src/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.ts @@ -4,6 +4,12 @@ import * as Merge from "../../../../../.."; +/** + * @example + * { + * expand: Merge.ticketing.UsersRetrieveRequestExpand.Roles + * } + */ export interface UsersRetrieveRequest { /** * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. diff --git a/src/api/resources/ticketing/resources/users/index.ts b/src/api/resources/ticketing/resources/users/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/ticketing/resources/users/index.ts +++ b/src/api/resources/ticketing/resources/users/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/ticketing/types/UsersListRequestExpand.ts b/src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/UsersListRequestExpand.ts rename to src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts diff --git a/src/api/resources/ticketing/types/UsersRetrieveRequestExpand.ts b/src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts similarity index 100% rename from src/api/resources/ticketing/types/UsersRetrieveRequestExpand.ts rename to src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts diff --git a/src/api/resources/ticketing/resources/users/types/index.ts b/src/api/resources/ticketing/resources/users/types/index.ts new file mode 100644 index 00000000..e07d9f0f --- /dev/null +++ b/src/api/resources/ticketing/resources/users/types/index.ts @@ -0,0 +1,2 @@ +export * from "./UsersListRequestExpand"; +export * from "./UsersRetrieveRequestExpand"; diff --git a/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts b/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts index 62e565d2..5ce43e0d 100644 --- a/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts +++ b/src/api/resources/ticketing/resources/webhookReceivers/client/Client.ts @@ -18,6 +18,7 @@ export declare namespace WebhookReceivers { interface RequestOptions { timeoutInSeconds?: number; + maxRetries?: number; } } @@ -26,6 +27,9 @@ export class WebhookReceivers { /** * Returns a list of `WebhookReceiver` objects. + * + * @example + * await merge.ticketing.webhookReceivers.list() */ public async list(requestOptions?: WebhookReceivers.RequestOptions): Promise { const _response = await core.fetcher({ @@ -42,10 +46,11 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.webhookReceivers.list.Response.parseOrThrow(_response.body, { @@ -99,13 +104,14 @@ export class WebhookReceivers { : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", - "X-Fern-SDK-Version": "1.0.4", + "X-Fern-SDK-Version": "1.0.5", }, contentType: "application/json", body: await serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", }), timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { return await serializers.ticketing.WebhookReceiver.parseOrThrow(_response.body, { diff --git a/src/api/resources/ticketing/types/AccessLevelEnum.ts b/src/api/resources/ticketing/types/AccessLevelEnum.ts index 6405f1c7..a8fd1bf1 100644 --- a/src/api/resources/ticketing/types/AccessLevelEnum.ts +++ b/src/api/resources/ticketing/types/AccessLevelEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `PRIVATE` - PRIVATE - * * `COMPANY` - COMPANY - * * `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE + * - `COMPANY` - COMPANY + * - `PUBLIC` - PUBLIC */ export type AccessLevelEnum = "PRIVATE" | "COMPANY" | "PUBLIC"; diff --git a/src/api/resources/ticketing/types/Account.ts b/src/api/resources/ticketing/types/Account.ts index daf01f8c..21586810 100644 --- a/src/api/resources/ticketing/types/Account.ts +++ b/src/api/resources/ticketing/types/Account.ts @@ -6,12 +6,15 @@ import * as Merge from "../../.."; /** * # The Account Object + * * ### Description + * * The `Account` object is used to represent the account that a ticket is associated with. * * The account is a company that may be a customer. This does not represent the company that is receiving the ticket. * * ### Usage Example + * * TODO */ export interface Account { diff --git a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts index 860b8b1c..c2bf2c33 100644 --- a/src/api/resources/ticketing/types/AccountDetailsAndActions.ts +++ b/src/api/resources/ticketing/types/AccountDetailsAndActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The LinkedAccount Object + * * ### Description + * * The `LinkedAccount` object is used to represent an end user's link with a specific integration. * * ### Usage Example + * * View a list of your organization's `LinkedAccount` objects. */ export interface AccountDetailsAndActions { diff --git a/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts b/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts index a74c8d41..a94a4157 100644 --- a/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts +++ b/src/api/resources/ticketing/types/AccountDetailsAndActionsStatusEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `COMPLETE` - COMPLETE - * * `INCOMPLETE` - INCOMPLETE - * * `RELINK_NEEDED` - RELINK_NEEDED + * - `COMPLETE` - COMPLETE + * - `INCOMPLETE` - INCOMPLETE + * - `RELINK_NEEDED` - RELINK_NEEDED */ export type AccountDetailsAndActionsStatusEnum = "COMPLETE" | "INCOMPLETE" | "RELINK_NEEDED"; diff --git a/src/api/resources/ticketing/types/Attachment.ts b/src/api/resources/ticketing/types/Attachment.ts index e65c7e15..283056fa 100644 --- a/src/api/resources/ticketing/types/Attachment.ts +++ b/src/api/resources/ticketing/types/Attachment.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Attachment Object + * * ### Description + * * The `Attachment` object is used to represent an attachment for a ticket. * * ### Usage Example + * * TODO */ export interface Attachment { diff --git a/src/api/resources/ticketing/types/AttachmentRequest.ts b/src/api/resources/ticketing/types/AttachmentRequest.ts index 6a7fc252..98e0e784 100644 --- a/src/api/resources/ticketing/types/AttachmentRequest.ts +++ b/src/api/resources/ticketing/types/AttachmentRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Attachment Object + * * ### Description + * * The `Attachment` object is used to represent an attachment for a ticket. * * ### Usage Example + * * TODO */ export interface AttachmentRequest { diff --git a/src/api/resources/ticketing/types/AuditLogEvent.ts b/src/api/resources/ticketing/types/AuditLogEvent.ts index fe67f05e..81630d29 100644 --- a/src/api/resources/ticketing/types/AuditLogEvent.ts +++ b/src/api/resources/ticketing/types/AuditLogEvent.ts @@ -13,48 +13,48 @@ export interface AuditLogEvent { /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ role: Merge.ticketing.AuditLogEventRole; ipAddress: string; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ eventType: Merge.ticketing.AuditLogEventEventType; eventDescription: string; diff --git a/src/api/resources/ticketing/types/AuditLogEventEventType.ts b/src/api/resources/ticketing/types/AuditLogEventEventType.ts index dc532a35..8322c453 100644 --- a/src/api/resources/ticketing/types/AuditLogEventEventType.ts +++ b/src/api/resources/ticketing/types/AuditLogEventEventType.ts @@ -7,35 +7,35 @@ import * as Merge from "../../.."; /** * Designates the type of event that occurred. * - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type AuditLogEventEventType = Merge.ticketing.EventTypeEnum | string; diff --git a/src/api/resources/ticketing/types/AuditLogEventRole.ts b/src/api/resources/ticketing/types/AuditLogEventRole.ts index 3230740c..a2bcf787 100644 --- a/src/api/resources/ticketing/types/AuditLogEventRole.ts +++ b/src/api/resources/ticketing/types/AuditLogEventRole.ts @@ -7,11 +7,11 @@ import * as Merge from "../../.."; /** * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type AuditLogEventRole = Merge.ticketing.RoleEnum | string; diff --git a/src/api/resources/ticketing/types/AvailableActions.ts b/src/api/resources/ticketing/types/AvailableActions.ts index 8761dbfd..2ed07fc6 100644 --- a/src/api/resources/ticketing/types/AvailableActions.ts +++ b/src/api/resources/ticketing/types/AvailableActions.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The AvailableActions Object + * * ### Description + * * The `Activity` object is used to see all available model/operation combinations for an integration. * * ### Usage Example + * * Fetch all the actions available for the `Zenefits` integration. */ export interface AvailableActions { diff --git a/src/api/resources/ticketing/types/CategoriesEnum.ts b/src/api/resources/ticketing/types/CategoriesEnum.ts index 11f7f1ea..25eba483 100644 --- a/src/api/resources/ticketing/types/CategoriesEnum.ts +++ b/src/api/resources/ticketing/types/CategoriesEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoriesEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/ticketing/types/CategoryEnum.ts b/src/api/resources/ticketing/types/CategoryEnum.ts index eabb68b0..263fc40b 100644 --- a/src/api/resources/ticketing/types/CategoryEnum.ts +++ b/src/api/resources/ticketing/types/CategoryEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `hris` - hris - * * `ats` - ats - * * `accounting` - accounting - * * `ticketing` - ticketing - * * `crm` - crm - * * `mktg` - mktg - * * `filestorage` - filestorage + * - `hris` - hris + * - `ats` - ats + * - `accounting` - accounting + * - `ticketing` - ticketing + * - `crm` - crm + * - `mktg` - mktg + * - `filestorage` - filestorage */ export type CategoryEnum = "hris" | "ats" | "accounting" | "ticketing" | "crm" | "mktg" | "filestorage"; diff --git a/src/api/resources/ticketing/types/Collection.ts b/src/api/resources/ticketing/types/Collection.ts index 177d1cfe..3cd0a361 100644 --- a/src/api/resources/ticketing/types/Collection.ts +++ b/src/api/resources/ticketing/types/Collection.ts @@ -6,11 +6,14 @@ import * as Merge from "../../.."; /** * # The Collection Object + * * ### Description + * * The `Collection` object is used to represent collections of tickets. Collections may include other collections as * sub collections. * * ### Usage Example + * * TODO */ export interface Collection { @@ -24,8 +27,8 @@ export interface Collection { /** * The collection's type. * - * * `LIST` - LIST - * * `PROJECT` - PROJECT + * - `LIST` - LIST + * - `PROJECT` - PROJECT */ collectionType?: Merge.ticketing.CollectionCollectionType; /** The parent collection for this collection. */ @@ -35,9 +38,9 @@ export interface Collection { /** * The level of access a User has to the Collection and its sub-objects. * - * * `PRIVATE` - PRIVATE - * * `COMPANY` - COMPANY - * * `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE + * - `COMPANY` - COMPANY + * - `PUBLIC` - PUBLIC */ accessLevel?: Merge.ticketing.CollectionAccessLevel; createdAt?: Date; diff --git a/src/api/resources/ticketing/types/CollectionAccessLevel.ts b/src/api/resources/ticketing/types/CollectionAccessLevel.ts index a8342ec7..5db402c8 100644 --- a/src/api/resources/ticketing/types/CollectionAccessLevel.ts +++ b/src/api/resources/ticketing/types/CollectionAccessLevel.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The level of access a User has to the Collection and its sub-objects. * - * * `PRIVATE` - PRIVATE - * * `COMPANY` - COMPANY - * * `PUBLIC` - PUBLIC + * - `PRIVATE` - PRIVATE + * - `COMPANY` - COMPANY + * - `PUBLIC` - PUBLIC */ export type CollectionAccessLevel = Merge.ticketing.AccessLevelEnum | string; diff --git a/src/api/resources/ticketing/types/CollectionCollectionType.ts b/src/api/resources/ticketing/types/CollectionCollectionType.ts index aa103c8c..c58f066c 100644 --- a/src/api/resources/ticketing/types/CollectionCollectionType.ts +++ b/src/api/resources/ticketing/types/CollectionCollectionType.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * The collection's type. * - * * `LIST` - LIST - * * `PROJECT` - PROJECT + * - `LIST` - LIST + * - `PROJECT` - PROJECT */ export type CollectionCollectionType = Merge.ticketing.CollectionTypeEnum | string; diff --git a/src/api/resources/ticketing/types/CollectionTypeEnum.ts b/src/api/resources/ticketing/types/CollectionTypeEnum.ts index bc5d935f..7ef16ed5 100644 --- a/src/api/resources/ticketing/types/CollectionTypeEnum.ts +++ b/src/api/resources/ticketing/types/CollectionTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `LIST` - LIST - * * `PROJECT` - PROJECT + * - `LIST` - LIST + * - `PROJECT` - PROJECT */ export type CollectionTypeEnum = "LIST" | "PROJECT"; diff --git a/src/api/resources/ticketing/types/Comment.ts b/src/api/resources/ticketing/types/Comment.ts index ba9b57bb..77bba5ed 100644 --- a/src/api/resources/ticketing/types/Comment.ts +++ b/src/api/resources/ticketing/types/Comment.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Comment Object + * * ### Description + * * The `Comment` object is used to represent a comment on a ticket. * * ### Usage Example + * * TODO */ export interface Comment { diff --git a/src/api/resources/ticketing/types/CommentRequest.ts b/src/api/resources/ticketing/types/CommentRequest.ts index d10fcec5..89461d66 100644 --- a/src/api/resources/ticketing/types/CommentRequest.ts +++ b/src/api/resources/ticketing/types/CommentRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Comment Object + * * ### Description + * * The `Comment` object is used to represent a comment on a ticket. * * ### Usage Example + * * TODO */ export interface CommentRequest { diff --git a/src/api/resources/ticketing/types/ConditionSchema.ts b/src/api/resources/ticketing/types/ConditionSchema.ts index 42346f63..27cb5368 100644 --- a/src/api/resources/ticketing/types/ConditionSchema.ts +++ b/src/api/resources/ticketing/types/ConditionSchema.ts @@ -9,7 +9,7 @@ export interface ConditionSchema { id: string; /** The common model for which a condition schema is defined. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type". */ fieldName?: string; @@ -18,13 +18,13 @@ export interface ConditionSchema { /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ conditionType: Merge.ticketing.ConditionSchemaConditionType; /** The schemas for the operators that can be used on a condition. */ diff --git a/src/api/resources/ticketing/types/ConditionSchemaConditionType.ts b/src/api/resources/ticketing/types/ConditionSchemaConditionType.ts index cbefaf9c..5a999d93 100644 --- a/src/api/resources/ticketing/types/ConditionSchemaConditionType.ts +++ b/src/api/resources/ticketing/types/ConditionSchemaConditionType.ts @@ -7,12 +7,12 @@ import * as Merge from "../../.."; /** * The type of value(s) that can be set for this condition. * - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionSchemaConditionType = Merge.ticketing.ConditionTypeEnum | string; diff --git a/src/api/resources/ticketing/types/ConditionTypeEnum.ts b/src/api/resources/ticketing/types/ConditionTypeEnum.ts index ae32b281..2b408be2 100644 --- a/src/api/resources/ticketing/types/ConditionTypeEnum.ts +++ b/src/api/resources/ticketing/types/ConditionTypeEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `BOOLEAN` - BOOLEAN - * * `DATE` - DATE - * * `DATE_TIME` - DATE_TIME - * * `INTEGER` - INTEGER - * * `FLOAT` - FLOAT - * * `STRING` - STRING - * * `LIST_OF_STRINGS` - LIST_OF_STRINGS + * - `BOOLEAN` - BOOLEAN + * - `DATE` - DATE + * - `DATE_TIME` - DATE_TIME + * - `INTEGER` - INTEGER + * - `FLOAT` - FLOAT + * - `STRING` - STRING + * - `LIST_OF_STRINGS` - LIST_OF_STRINGS */ export type ConditionTypeEnum = "BOOLEAN" | "DATE" | "DATE_TIME" | "INTEGER" | "FLOAT" | "STRING" | "LIST_OF_STRINGS"; diff --git a/src/api/resources/ticketing/types/Contact.ts b/src/api/resources/ticketing/types/Contact.ts index c4821fe0..91d70cf9 100644 --- a/src/api/resources/ticketing/types/Contact.ts +++ b/src/api/resources/ticketing/types/Contact.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Contact Object + * * ### Description + * * The `Contact` object is used to represent the customer, lead, or external user that a ticket is associated with. * * ### Usage Example + * * TODO */ export interface Contact { diff --git a/src/api/resources/ticketing/types/DataPassthroughRequest.ts b/src/api/resources/ticketing/types/DataPassthroughRequest.ts index 4a12a3c7..335bbb8f 100644 --- a/src/api/resources/ticketing/types/DataPassthroughRequest.ts +++ b/src/api/resources/ticketing/types/DataPassthroughRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The DataPassthrough Object + * * ### Description + * * The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. * * ### Usage Example + * * Create a `DataPassthrough` to get team hierarchies from your Rippling integration. */ export interface DataPassthroughRequest { diff --git a/src/api/resources/ticketing/types/EnabledActionsEnum.ts b/src/api/resources/ticketing/types/EnabledActionsEnum.ts index e981a806..73d70210 100644 --- a/src/api/resources/ticketing/types/EnabledActionsEnum.ts +++ b/src/api/resources/ticketing/types/EnabledActionsEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `READ` - READ - * * `WRITE` - WRITE + * - `READ` - READ + * - `WRITE` - WRITE */ export type EnabledActionsEnum = "READ" | "WRITE"; diff --git a/src/api/resources/ticketing/types/EncodingEnum.ts b/src/api/resources/ticketing/types/EncodingEnum.ts index a3d644a1..3defec58 100644 --- a/src/api/resources/ticketing/types/EncodingEnum.ts +++ b/src/api/resources/ticketing/types/EncodingEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type EncodingEnum = "RAW" | "BASE64" | "GZIP_BASE64"; diff --git a/src/api/resources/ticketing/types/EventTypeEnum.ts b/src/api/resources/ticketing/types/EventTypeEnum.ts index a0e8a647..dc3b77bd 100644 --- a/src/api/resources/ticketing/types/EventTypeEnum.ts +++ b/src/api/resources/ticketing/types/EventTypeEnum.ts @@ -3,36 +3,36 @@ */ /** - * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * * `INVITED_USER` - INVITED_USER - * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * * `CREATED_DESTINATION` - CREATED_DESTINATION - * * `DELETED_DESTINATION` - DELETED_DESTINATION - * * `CHANGED_SCOPES` - CHANGED_SCOPES - * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * * `RESET_PASSWORD` - RESET_PASSWORD - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY + * - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY + * - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY + * - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY + * - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY + * - `INVITED_USER` - INVITED_USER + * - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED + * - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED + * - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT + * - `CREATED_DESTINATION` - CREATED_DESTINATION + * - `DELETED_DESTINATION` - DELETED_DESTINATION + * - `CHANGED_SCOPES` - CHANGED_SCOPES + * - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION + * - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS + * - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION + * - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION + * - `ENABLED_CATEGORY` - ENABLED_CATEGORY + * - `DISABLED_CATEGORY` - DISABLED_CATEGORY + * - `CHANGED_PASSWORD` - CHANGED_PASSWORD + * - `RESET_PASSWORD` - RESET_PASSWORD + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION + * - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT + * - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING + * - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING + * - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING + * - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING + * - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING */ export type EventTypeEnum = | "CREATED_REMOTE_PRODUCTION_API_KEY" diff --git a/src/api/resources/ticketing/types/FieldFormatEnum.ts b/src/api/resources/ticketing/types/FieldFormatEnum.ts index 1d6e6486..a5b54cac 100644 --- a/src/api/resources/ticketing/types/FieldFormatEnum.ts +++ b/src/api/resources/ticketing/types/FieldFormatEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type FieldFormatEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/ticketing/types/FieldTypeEnum.ts b/src/api/resources/ticketing/types/FieldTypeEnum.ts index c027cba1..39ace397 100644 --- a/src/api/resources/ticketing/types/FieldTypeEnum.ts +++ b/src/api/resources/ticketing/types/FieldTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type FieldTypeEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/ticketing/types/Issue.ts b/src/api/resources/ticketing/types/Issue.ts index c61b0877..69d7d733 100644 --- a/src/api/resources/ticketing/types/Issue.ts +++ b/src/api/resources/ticketing/types/Issue.ts @@ -9,8 +9,8 @@ export interface Issue { /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ status?: Merge.ticketing.IssueStatus; errorDescription: string; diff --git a/src/api/resources/ticketing/types/IssueStatus.ts b/src/api/resources/ticketing/types/IssueStatus.ts index e93d486a..eeda029e 100644 --- a/src/api/resources/ticketing/types/IssueStatus.ts +++ b/src/api/resources/ticketing/types/IssueStatus.ts @@ -7,7 +7,7 @@ import * as Merge from "../../.."; /** * Status of the issue. Options: ('ONGOING', 'RESOLVED') * - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatus = Merge.ticketing.IssueStatusEnum | string; diff --git a/src/api/resources/ticketing/types/IssueStatusEnum.ts b/src/api/resources/ticketing/types/IssueStatusEnum.ts index 2e9f9fee..9536a7b6 100644 --- a/src/api/resources/ticketing/types/IssueStatusEnum.ts +++ b/src/api/resources/ticketing/types/IssueStatusEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `ONGOING` - ONGOING - * * `RESOLVED` - RESOLVED + * - `ONGOING` - ONGOING + * - `RESOLVED` - RESOLVED */ export type IssueStatusEnum = "ONGOING" | "RESOLVED"; diff --git a/src/api/resources/ticketing/types/ItemFormatEnum.ts b/src/api/resources/ticketing/types/ItemFormatEnum.ts index a0ad449f..efd0263b 100644 --- a/src/api/resources/ticketing/types/ItemFormatEnum.ts +++ b/src/api/resources/ticketing/types/ItemFormatEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - uuid - * * `number` - url - * * `date` - email - * * `datetime` - phone - * * `bool` - currency - * * `list` - decimal + * - `string` - uuid + * - `number` - url + * - `date` - email + * - `datetime` - phone + * - `bool` - currency + * - `list` - decimal */ export type ItemFormatEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/ticketing/types/ItemTypeEnum.ts b/src/api/resources/ticketing/types/ItemTypeEnum.ts index a8f098db..b2883ed8 100644 --- a/src/api/resources/ticketing/types/ItemTypeEnum.ts +++ b/src/api/resources/ticketing/types/ItemTypeEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `string` - string - * * `number` - number - * * `date` - date - * * `datetime` - datetime - * * `bool` - bool - * * `list` - list + * - `string` - string + * - `number` - number + * - `date` - date + * - `datetime` - datetime + * - `bool` - bool + * - `list` - list */ export type ItemTypeEnum = "string" | "number" | "date" | "datetime" | "bool" | "list"; diff --git a/src/api/resources/ticketing/types/LinkedAccountCondition.ts b/src/api/resources/ticketing/types/LinkedAccountCondition.ts index f6bc13ae..ac471fb3 100644 --- a/src/api/resources/ticketing/types/LinkedAccountCondition.ts +++ b/src/api/resources/ticketing/types/LinkedAccountCondition.ts @@ -7,7 +7,7 @@ export interface LinkedAccountCondition { conditionSchemaId: string; /** The common model for a specific condition. */ commonModel?: string; - /** User-facing *native condition* name. e.g. "Skip Manager". */ + /** User-facing _native condition_ name. e.g. "Skip Manager". */ nativeName?: string; /** The operator for a specific condition. */ operator: string; diff --git a/src/api/resources/ticketing/types/MethodEnum.ts b/src/api/resources/ticketing/types/MethodEnum.ts index be4b4231..5fb2be8d 100644 --- a/src/api/resources/ticketing/types/MethodEnum.ts +++ b/src/api/resources/ticketing/types/MethodEnum.ts @@ -3,13 +3,13 @@ */ /** - * * `GET` - GET - * * `OPTIONS` - OPTIONS - * * `HEAD` - HEAD - * * `POST` - POST - * * `PUT` - PUT - * * `PATCH` - PATCH - * * `DELETE` - DELETE + * - `GET` - GET + * - `OPTIONS` - OPTIONS + * - `HEAD` - HEAD + * - `POST` - POST + * - `PUT` - PUT + * - `PATCH` - PATCH + * - `DELETE` - DELETE */ export type MethodEnum = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE"; diff --git a/src/api/resources/ticketing/types/ModelOperation.ts b/src/api/resources/ticketing/types/ModelOperation.ts index d2035b05..8126f65f 100644 --- a/src/api/resources/ticketing/types/ModelOperation.ts +++ b/src/api/resources/ticketing/types/ModelOperation.ts @@ -4,10 +4,13 @@ /** * # The ModelOperation Object + * * ### Description + * * The `ModelOperation` object is used to represent the operations that are currently supported for a given model. * * ### Usage Example + * * View what operations are supported for the `Candidate` endpoint. */ export interface ModelOperation { diff --git a/src/api/resources/ticketing/types/MultipartFormFieldRequest.ts b/src/api/resources/ticketing/types/MultipartFormFieldRequest.ts index 47a7104f..5eadd5db 100644 --- a/src/api/resources/ticketing/types/MultipartFormFieldRequest.ts +++ b/src/api/resources/ticketing/types/MultipartFormFieldRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The MultipartFormField Object + * * ### Description + * * The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. * * ### Usage Example + * * Create a `MultipartFormField` to define a multipart form entry. */ export interface MultipartFormFieldRequest { @@ -20,9 +23,9 @@ export interface MultipartFormFieldRequest { /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ encoding?: Merge.ticketing.MultipartFormFieldRequestEncoding; /** The file name of the form field, if the field is for a file. */ diff --git a/src/api/resources/ticketing/types/MultipartFormFieldRequestEncoding.ts b/src/api/resources/ticketing/types/MultipartFormFieldRequestEncoding.ts index 6798c919..8a4d46a7 100644 --- a/src/api/resources/ticketing/types/MultipartFormFieldRequestEncoding.ts +++ b/src/api/resources/ticketing/types/MultipartFormFieldRequestEncoding.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The encoding of the value of `data`. Defaults to `RAW` if not defined. * - * * `RAW` - RAW - * * `BASE64` - BASE64 - * * `GZIP_BASE64` - GZIP_BASE64 + * - `RAW` - RAW + * - `BASE64` - BASE64 + * - `GZIP_BASE64` - GZIP_BASE64 */ export type MultipartFormFieldRequestEncoding = Merge.ticketing.EncodingEnum | string; diff --git a/src/api/resources/ticketing/types/PatchedTicketRequest.ts b/src/api/resources/ticketing/types/PatchedTicketRequest.ts index 901b6665..12d2247b 100644 --- a/src/api/resources/ticketing/types/PatchedTicketRequest.ts +++ b/src/api/resources/ticketing/types/PatchedTicketRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Ticket Object + * * ### Description + * * The `Ticket` object is used to represent a ticket or a task within a system. * * ### Usage Example + * * TODO */ export interface PatchedTicketRequest { @@ -23,10 +26,10 @@ export interface PatchedTicketRequest { /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ status?: Merge.ticketing.PatchedTicketRequestStatus; /** The ticket’s description. HTML version of description is mapped if supported by the third-party platform. */ @@ -48,10 +51,10 @@ export interface PatchedTicketRequest { /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ priority?: Merge.ticketing.PatchedTicketRequestPriority; integrationParams?: Record; diff --git a/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts b/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts index 5057abe3..825dd36c 100644 --- a/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts +++ b/src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ export type PatchedTicketRequestPriority = Merge.ticketing.PriorityEnum | string; diff --git a/src/api/resources/ticketing/types/PatchedTicketRequestStatus.ts b/src/api/resources/ticketing/types/PatchedTicketRequestStatus.ts index 39cc897d..88d2b53f 100644 --- a/src/api/resources/ticketing/types/PatchedTicketRequestStatus.ts +++ b/src/api/resources/ticketing/types/PatchedTicketRequestStatus.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ export type PatchedTicketRequestStatus = Merge.ticketing.TicketStatusEnum | string; diff --git a/src/api/resources/ticketing/types/PriorityEnum.ts b/src/api/resources/ticketing/types/PriorityEnum.ts index 63b7b8be..8e62c25e 100644 --- a/src/api/resources/ticketing/types/PriorityEnum.ts +++ b/src/api/resources/ticketing/types/PriorityEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ export type PriorityEnum = "URGENT" | "HIGH" | "NORMAL" | "LOW"; diff --git a/src/api/resources/ticketing/types/Project.ts b/src/api/resources/ticketing/types/Project.ts index 7a5134ed..bdd0109a 100644 --- a/src/api/resources/ticketing/types/Project.ts +++ b/src/api/resources/ticketing/types/Project.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Project Object + * * ### Description + * * Please use the `Collection` model. This model will be fully deprecated on 3/30/2024. * * ### Usage Example + * * TODO */ export interface Project { diff --git a/src/api/resources/ticketing/types/RemoteKey.ts b/src/api/resources/ticketing/types/RemoteKey.ts index 6f8bf2db..878f4132 100644 --- a/src/api/resources/ticketing/types/RemoteKey.ts +++ b/src/api/resources/ticketing/types/RemoteKey.ts @@ -4,10 +4,13 @@ /** * # The RemoteKey Object + * * ### Description + * * The `RemoteKey` object is used to represent a request for a new remote key. * * ### Usage Example + * * Post a `GenerateRemoteKey` to receive a new `RemoteKey`. */ export interface RemoteKey { diff --git a/src/api/resources/ticketing/types/RemoteResponse.ts b/src/api/resources/ticketing/types/RemoteResponse.ts index 7f48c5cf..6510cc4c 100644 --- a/src/api/resources/ticketing/types/RemoteResponse.ts +++ b/src/api/resources/ticketing/types/RemoteResponse.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The RemoteResponse Object + * * ### Description + * * The `RemoteResponse` object is used to represent information returned from a third-party endpoint. * * ### Usage Example + * * View the `RemoteResponse` returned from your `DataPassthrough`. */ export interface RemoteResponse { diff --git a/src/api/resources/ticketing/types/RequestFormatEnum.ts b/src/api/resources/ticketing/types/RequestFormatEnum.ts index de49302b..4b66af67 100644 --- a/src/api/resources/ticketing/types/RequestFormatEnum.ts +++ b/src/api/resources/ticketing/types/RequestFormatEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `JSON` - JSON - * * `XML` - XML - * * `MULTIPART` - MULTIPART + * - `JSON` - JSON + * - `XML` - XML + * - `MULTIPART` - MULTIPART */ export type RequestFormatEnum = "JSON" | "XML" | "MULTIPART"; diff --git a/src/api/resources/ticketing/types/ResponseTypeEnum.ts b/src/api/resources/ticketing/types/ResponseTypeEnum.ts index 11b1de9d..91a37377 100644 --- a/src/api/resources/ticketing/types/ResponseTypeEnum.ts +++ b/src/api/resources/ticketing/types/ResponseTypeEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `JSON` - JSON - * * `BASE64_GZIP` - BASE64_GZIP + * - `JSON` - JSON + * - `BASE64_GZIP` - BASE64_GZIP */ export type ResponseTypeEnum = "JSON" | "BASE64_GZIP"; diff --git a/src/api/resources/ticketing/types/Role.ts b/src/api/resources/ticketing/types/Role.ts index 29c89e07..13307710 100644 --- a/src/api/resources/ticketing/types/Role.ts +++ b/src/api/resources/ticketing/types/Role.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Role Object + * * ### Description + * * The `Role` object is used to represent the set of actions & access that a user with this role is allowed to perform. * * ### Usage Example + * * TODO */ export interface Role { @@ -23,9 +26,9 @@ export interface Role { /** * The level of Ticket access that a User with this Role can perform. * - * * `ALL` - ALL - * * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * * `TEAM_ONLY` - TEAM_ONLY + * - `ALL` - ALL + * - `ASSIGNED_ONLY` - ASSIGNED_ONLY + * - `TEAM_ONLY` - TEAM_ONLY */ ticketAccess?: Merge.ticketing.RoleTicketAccess; /** Indicates whether or not this object has been deleted in the third party platform. */ diff --git a/src/api/resources/ticketing/types/RoleEnum.ts b/src/api/resources/ticketing/types/RoleEnum.ts index b85748c2..5792757e 100644 --- a/src/api/resources/ticketing/types/RoleEnum.ts +++ b/src/api/resources/ticketing/types/RoleEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `ADMIN` - ADMIN - * * `DEVELOPER` - DEVELOPER - * * `MEMBER` - MEMBER - * * `API` - API - * * `SYSTEM` - SYSTEM - * * `MERGE_TEAM` - MERGE_TEAM + * - `ADMIN` - ADMIN + * - `DEVELOPER` - DEVELOPER + * - `MEMBER` - MEMBER + * - `API` - API + * - `SYSTEM` - SYSTEM + * - `MERGE_TEAM` - MERGE_TEAM */ export type RoleEnum = "ADMIN" | "DEVELOPER" | "MEMBER" | "API" | "SYSTEM" | "MERGE_TEAM"; diff --git a/src/api/resources/ticketing/types/RoleTicketAccess.ts b/src/api/resources/ticketing/types/RoleTicketAccess.ts index 3473fd64..92340573 100644 --- a/src/api/resources/ticketing/types/RoleTicketAccess.ts +++ b/src/api/resources/ticketing/types/RoleTicketAccess.ts @@ -7,8 +7,8 @@ import * as Merge from "../../.."; /** * The level of Ticket access that a User with this Role can perform. * - * * `ALL` - ALL - * * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * * `TEAM_ONLY` - TEAM_ONLY + * - `ALL` - ALL + * - `ASSIGNED_ONLY` - ASSIGNED_ONLY + * - `TEAM_ONLY` - TEAM_ONLY */ export type RoleTicketAccess = string | Merge.ticketing.TicketAccessEnum; diff --git a/src/api/resources/ticketing/types/SelectiveSyncConfigurationsUsageEnum.ts b/src/api/resources/ticketing/types/SelectiveSyncConfigurationsUsageEnum.ts index 9a38381e..93a6bf0b 100644 --- a/src/api/resources/ticketing/types/SelectiveSyncConfigurationsUsageEnum.ts +++ b/src/api/resources/ticketing/types/SelectiveSyncConfigurationsUsageEnum.ts @@ -3,8 +3,8 @@ */ /** - * * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * * `IN_LAST_SYNC` - IN_LAST_SYNC + * - `IN_NEXT_SYNC` - IN_NEXT_SYNC + * - `IN_LAST_SYNC` - IN_LAST_SYNC */ export type SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" | "IN_LAST_SYNC"; diff --git a/src/api/resources/ticketing/types/SyncStatus.ts b/src/api/resources/ticketing/types/SyncStatus.ts index 27de9efe..393909fd 100644 --- a/src/api/resources/ticketing/types/SyncStatus.ts +++ b/src/api/resources/ticketing/types/SyncStatus.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The SyncStatus Object + * * ### Description + * * The `SyncStatus` object is used to represent the syncing state of an account * * ### Usage Example + * * View the `SyncStatus` for an account to see how recently its models were synced. */ export interface SyncStatus { diff --git a/src/api/resources/ticketing/types/SyncStatusStatusEnum.ts b/src/api/resources/ticketing/types/SyncStatusStatusEnum.ts index 28246e10..8f44b640 100644 --- a/src/api/resources/ticketing/types/SyncStatusStatusEnum.ts +++ b/src/api/resources/ticketing/types/SyncStatusStatusEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `SYNCING` - SYNCING - * * `DONE` - DONE - * * `FAILED` - FAILED - * * `DISABLED` - DISABLED - * * `PAUSED` - PAUSED - * * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED + * - `SYNCING` - SYNCING + * - `DONE` - DONE + * - `FAILED` - FAILED + * - `DISABLED` - DISABLED + * - `PAUSED` - PAUSED + * - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED */ export type SyncStatusStatusEnum = "SYNCING" | "DONE" | "FAILED" | "DISABLED" | "PAUSED" | "PARTIALLY_SYNCED"; diff --git a/src/api/resources/ticketing/types/Tag.ts b/src/api/resources/ticketing/types/Tag.ts index b88e75f7..206924b8 100644 --- a/src/api/resources/ticketing/types/Tag.ts +++ b/src/api/resources/ticketing/types/Tag.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Tag Object + * * ### Description + * * The `Tag` object is used to represent a tag or label for a ticket. * * ### Usage Example + * * TODO */ export interface Tag { diff --git a/src/api/resources/ticketing/types/Team.ts b/src/api/resources/ticketing/types/Team.ts index 29f32234..24f7b12d 100644 --- a/src/api/resources/ticketing/types/Team.ts +++ b/src/api/resources/ticketing/types/Team.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Team Object + * * ### Description + * * The `Team` object is used to represent a team within the company receiving the ticket. * * ### Usage Example + * * TODO */ export interface Team { diff --git a/src/api/resources/ticketing/types/Ticket.ts b/src/api/resources/ticketing/types/Ticket.ts index 499bc639..abd090ac 100644 --- a/src/api/resources/ticketing/types/Ticket.ts +++ b/src/api/resources/ticketing/types/Ticket.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Ticket Object + * * ### Description + * * The `Ticket` object is used to represent a ticket or a task within a system. * * ### Usage Example + * * TODO */ export interface Ticket { @@ -26,10 +29,10 @@ export interface Ticket { /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ status?: Merge.ticketing.TicketStatus; /** The ticket’s description. HTML version of description is mapped if supported by the third-party platform. */ @@ -57,10 +60,10 @@ export interface Ticket { /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ priority?: Merge.ticketing.TicketPriority; createdAt?: Date; diff --git a/src/api/resources/ticketing/types/TicketAccessEnum.ts b/src/api/resources/ticketing/types/TicketAccessEnum.ts index eebde9a6..7d6bb13f 100644 --- a/src/api/resources/ticketing/types/TicketAccessEnum.ts +++ b/src/api/resources/ticketing/types/TicketAccessEnum.ts @@ -3,9 +3,9 @@ */ /** - * * `ALL` - ALL - * * `ASSIGNED_ONLY` - ASSIGNED_ONLY - * * `TEAM_ONLY` - TEAM_ONLY + * - `ALL` - ALL + * - `ASSIGNED_ONLY` - ASSIGNED_ONLY + * - `TEAM_ONLY` - TEAM_ONLY */ export type TicketAccessEnum = "ALL" | "ASSIGNED_ONLY" | "TEAM_ONLY"; diff --git a/src/api/resources/ticketing/types/TicketActionsEnum.ts b/src/api/resources/ticketing/types/TicketActionsEnum.ts index f07fa655..ca30e942 100644 --- a/src/api/resources/ticketing/types/TicketActionsEnum.ts +++ b/src/api/resources/ticketing/types/TicketActionsEnum.ts @@ -3,12 +3,12 @@ */ /** - * * `VIEW` - VIEW - * * `CREATE` - CREATE - * * `EDIT` - EDIT - * * `DELETE` - DELETE - * * `CLOSE` - CLOSE - * * `ASSIGN` - ASSIGN + * - `VIEW` - VIEW + * - `CREATE` - CREATE + * - `EDIT` - EDIT + * - `DELETE` - DELETE + * - `CLOSE` - CLOSE + * - `ASSIGN` - ASSIGN */ export type TicketActionsEnum = "VIEW" | "CREATE" | "EDIT" | "DELETE" | "CLOSE" | "ASSIGN"; diff --git a/src/api/resources/ticketing/types/TicketPriority.ts b/src/api/resources/ticketing/types/TicketPriority.ts index 490485fc..00c4fca1 100644 --- a/src/api/resources/ticketing/types/TicketPriority.ts +++ b/src/api/resources/ticketing/types/TicketPriority.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ export type TicketPriority = Merge.ticketing.PriorityEnum | string; diff --git a/src/api/resources/ticketing/types/TicketRequest.ts b/src/api/resources/ticketing/types/TicketRequest.ts index 8ecb736f..1de9b1cc 100644 --- a/src/api/resources/ticketing/types/TicketRequest.ts +++ b/src/api/resources/ticketing/types/TicketRequest.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The Ticket Object + * * ### Description + * * The `Ticket` object is used to represent a ticket or a task within a system. * * ### Usage Example + * * TODO */ export interface TicketRequest { @@ -23,10 +26,10 @@ export interface TicketRequest { /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ status?: Merge.ticketing.TicketRequestStatus; /** The ticket’s description. HTML version of description is mapped if supported by the third-party platform. */ @@ -49,10 +52,10 @@ export interface TicketRequest { /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ priority?: Merge.ticketing.TicketRequestPriority; integrationParams?: Record; diff --git a/src/api/resources/ticketing/types/TicketRequestPriority.ts b/src/api/resources/ticketing/types/TicketRequestPriority.ts index dc176aef..82681d89 100644 --- a/src/api/resources/ticketing/types/TicketRequestPriority.ts +++ b/src/api/resources/ticketing/types/TicketRequestPriority.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The priority or urgency of the Ticket. * - * * `URGENT` - URGENT - * * `HIGH` - HIGH - * * `NORMAL` - NORMAL - * * `LOW` - LOW + * - `URGENT` - URGENT + * - `HIGH` - HIGH + * - `NORMAL` - NORMAL + * - `LOW` - LOW */ export type TicketRequestPriority = Merge.ticketing.PriorityEnum | string; diff --git a/src/api/resources/ticketing/types/TicketRequestStatus.ts b/src/api/resources/ticketing/types/TicketRequestStatus.ts index edb8750c..899e4c2a 100644 --- a/src/api/resources/ticketing/types/TicketRequestStatus.ts +++ b/src/api/resources/ticketing/types/TicketRequestStatus.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ export type TicketRequestStatus = Merge.ticketing.TicketStatusEnum | string; diff --git a/src/api/resources/ticketing/types/TicketStatus.ts b/src/api/resources/ticketing/types/TicketStatus.ts index 630fbb9f..9c9f2186 100644 --- a/src/api/resources/ticketing/types/TicketStatus.ts +++ b/src/api/resources/ticketing/types/TicketStatus.ts @@ -7,9 +7,9 @@ import * as Merge from "../../.."; /** * The current status of the ticket. * - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ export type TicketStatus = Merge.ticketing.TicketStatusEnum | string; diff --git a/src/api/resources/ticketing/types/TicketStatusEnum.ts b/src/api/resources/ticketing/types/TicketStatusEnum.ts index b567dff8..3111a20c 100644 --- a/src/api/resources/ticketing/types/TicketStatusEnum.ts +++ b/src/api/resources/ticketing/types/TicketStatusEnum.ts @@ -3,10 +3,10 @@ */ /** - * * `OPEN` - OPEN - * * `CLOSED` - CLOSED - * * `IN_PROGRESS` - IN_PROGRESS - * * `ON_HOLD` - ON_HOLD + * - `OPEN` - OPEN + * - `CLOSED` - CLOSED + * - `IN_PROGRESS` - IN_PROGRESS + * - `ON_HOLD` - ON_HOLD */ export type TicketStatusEnum = "OPEN" | "CLOSED" | "IN_PROGRESS" | "ON_HOLD"; diff --git a/src/api/resources/ticketing/types/User.ts b/src/api/resources/ticketing/types/User.ts index 8c173c6b..87137913 100644 --- a/src/api/resources/ticketing/types/User.ts +++ b/src/api/resources/ticketing/types/User.ts @@ -6,10 +6,13 @@ import * as Merge from "../../.."; /** * # The User Object + * * ### Description + * * The `User` object is used to represent an employee within a company. * * ### Usage Example + * * TODO */ export interface User { diff --git a/src/api/resources/ticketing/types/index.ts b/src/api/resources/ticketing/types/index.ts index 36734d4a..9f59ff42 100644 --- a/src/api/resources/ticketing/types/index.ts +++ b/src/api/resources/ticketing/types/index.ts @@ -1,22 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./CollectionsListRequestCollectionType"; -export * from "./CollectionsUsersListRequestExpand"; -export * from "./CommentsListRequestExpand"; -export * from "./CommentsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./ProjectsUsersListRequestExpand"; -export * from "./TicketsListRequestExpand"; -export * from "./TicketsListRequestPriority"; -export * from "./TicketsListRequestRemoteFields"; -export * from "./TicketsListRequestShowEnumOrigins"; -export * from "./TicketsListRequestStatus"; -export * from "./TicketsRetrieveRequestExpand"; -export * from "./TicketsRetrieveRequestRemoteFields"; -export * from "./TicketsRetrieveRequestShowEnumOrigins"; -export * from "./TicketsCollaboratorsListRequestExpand"; -export * from "./UsersListRequestExpand"; -export * from "./UsersRetrieveRequestExpand"; export * from "./AccessLevelEnum"; export * from "./Account"; export * from "./AccountDetails"; @@ -26,36 +7,37 @@ export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AsyncPassthroughReciept"; -export * from "./Attachment"; export * from "./AttachmentTicket"; -export * from "./AttachmentRequest"; +export * from "./Attachment"; export * from "./AttachmentRequestTicket"; -export * from "./AuditLogEvent"; +export * from "./AttachmentRequest"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; -export * from "./Collection"; export * from "./CollectionCollectionType"; export * from "./CollectionParentCollection"; export * from "./CollectionAccessLevel"; +export * from "./Collection"; export * from "./CollectionTypeEnum"; -export * from "./Comment"; export * from "./CommentUser"; export * from "./CommentContact"; export * from "./CommentTicket"; -export * from "./CommentRequest"; +export * from "./Comment"; export * from "./CommentRequestUser"; export * from "./CommentRequestContact"; export * from "./CommentRequestTicket"; +export * from "./CommentRequest"; export * from "./CommentResponse"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactAccount"; +export * from "./Contact"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./EnabledActionsEnum"; @@ -64,8 +46,8 @@ export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./FieldFormatEnum"; export * from "./FieldTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; @@ -79,8 +61,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountList"; @@ -99,34 +81,33 @@ export * from "./PaginatedTagList"; export * from "./PaginatedTeamList"; export * from "./PaginatedTicketList"; export * from "./PaginatedUserList"; -export * from "./PatchedTicketRequest"; export * from "./PatchedTicketRequestStatus"; export * from "./PatchedTicketRequestPriority"; +export * from "./PatchedTicketRequest"; export * from "./PriorityEnum"; export * from "./Project"; export * from "./RemoteData"; -export * from "./RemoteField"; export * from "./RemoteFieldRemoteFieldClass"; -export * from "./RemoteFieldClass"; +export * from "./RemoteField"; export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassFieldFormat"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldRequest"; +export * from "./RemoteFieldClass"; export * from "./RemoteFieldRequestRemoteFieldClass"; +export * from "./RemoteFieldRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; -export * from "./Role"; export * from "./RoleTicketActionsItem"; export * from "./RoleTicketAccess"; +export * from "./Role"; export * from "./RoleEnum"; export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tag"; export * from "./Team"; -export * from "./Ticket"; export * from "./TicketAssigneesItem"; export * from "./TicketCreator"; export * from "./TicketStatus"; @@ -136,9 +117,9 @@ export * from "./TicketContact"; export * from "./TicketParentTicket"; export * from "./TicketAttachmentsItem"; export * from "./TicketPriority"; +export * from "./Ticket"; export * from "./TicketAccessEnum"; export * from "./TicketActionsEnum"; -export * from "./TicketRequest"; export * from "./TicketRequestAssigneesItem"; export * from "./TicketRequestCreator"; export * from "./TicketRequestStatus"; @@ -148,12 +129,13 @@ export * from "./TicketRequestContact"; export * from "./TicketRequestParentTicket"; export * from "./TicketRequestAttachmentsItem"; export * from "./TicketRequestPriority"; +export * from "./TicketRequest"; export * from "./TicketResponse"; export * from "./TicketStatusEnum"; export * from "./TicketingAttachmentResponse"; -export * from "./User"; export * from "./UserTeamsItem"; export * from "./UserRolesItem"; +export * from "./User"; export * from "./ValidationProblemSource"; export * from "./WarningValidationProblem"; export * from "./WebhookReceiver"; diff --git a/src/core/fetcher/APIResponse.ts b/src/core/fetcher/APIResponse.ts index ea838f38..3664d09e 100644 --- a/src/core/fetcher/APIResponse.ts +++ b/src/core/fetcher/APIResponse.ts @@ -3,6 +3,7 @@ export type APIResponse = SuccessfulResponse | Failed export interface SuccessfulResponse { ok: true; body: T; + headers?: Record; } export interface FailedResponse { diff --git a/src/core/fetcher/Fetcher.ts b/src/core/fetcher/Fetcher.ts index 6af0fb11..19de5d47 100644 --- a/src/core/fetcher/Fetcher.ts +++ b/src/core/fetcher/Fetcher.ts @@ -1,5 +1,5 @@ -import { default as URLSearchParams } from "@ungap/url-search-params"; -import axios, { AxiosAdapter, AxiosError } from "axios"; +import { default as FormData } from "form-data"; +import qs from "qs"; import { APIResponse } from "./APIResponse"; export type FetchFunction = (args: Fetcher.Args) => Promise>; @@ -10,13 +10,12 @@ export declare namespace Fetcher { method: string; contentType?: string; headers?: Record; - queryParameters?: URLSearchParams; + queryParameters?: Record; body?: unknown; timeoutMs?: number; + maxRetries?: number; withCredentials?: boolean; - responseType?: "json" | "blob"; - adapter?: AxiosAdapter; - onUploadProgress?: (event: ProgressEvent) => void; + responseType?: "json" | "blob" | "streaming"; } export type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError; @@ -43,6 +42,10 @@ export declare namespace Fetcher { } } +const INITIAL_RETRY_DELAY = 1; +const MAX_RETRY_DELAY = 60; +const DEFAULT_MAX_RETRIES = 2; + async function fetcherImpl(args: Fetcher.Args): Promise> { const headers: Record = {}; if (args.body !== undefined && args.contentType != null) { @@ -57,42 +60,78 @@ async function fetcherImpl(args: Fetcher.Args): Promise 0 + ? `${args.url}?${qs.stringify(args.queryParameters, { arrayFormat: "repeat" })}` + : args.url; + + let body: BodyInit | undefined = undefined; + if (args.body instanceof FormData) { + // @ts-expect-error + body = args.body; + } else { + body = JSON.stringify(args.body); + } + + const fetchFn = typeof fetch == "function" ? fetch : require("node-fetch"); + + const makeRequest = async (): Promise => { + const controller = new AbortController(); + let abortId = undefined; + if (args.timeoutMs != null) { + abortId = setTimeout(() => controller.abort(), args.timeoutMs); + } + const response = await fetchFn(url, { method: args.method, headers, - data: args.body, - validateStatus: () => true, - transformResponse: (response) => response, - timeout: args.timeoutMs, - transitional: { - clarifyTimeoutError: true, - }, - withCredentials: args.withCredentials, - adapter: args.adapter, - onUploadProgress: args.onUploadProgress, - maxBodyLength: Infinity, - maxContentLength: Infinity, - responseType: args.responseType ?? "json", + body, + signal: controller.signal, + credentials: args.withCredentials ? "include" : undefined, }); + if (abortId != null) { + clearTimeout(abortId); + } + return response; + }; + + try { + let response = await makeRequest(); + + for (let i = 0; i < (args.maxRetries ?? DEFAULT_MAX_RETRIES); ++i) { + if ( + response.status === 408 || + response.status === 409 || + response.status === 429 || + response.status >= 500 + ) { + const delay = Math.min(INITIAL_RETRY_DELAY * Math.pow(i, 2), MAX_RETRY_DELAY); + await new Promise((resolve) => setTimeout(resolve, delay)); + response = await makeRequest(); + } else { + break; + } + } let body: unknown; - if (args.responseType === "blob") { - body = response.data; - } else if (response.data != null && response.data.length > 0) { - try { - body = JSON.parse(response.data) ?? undefined; - } catch { - return { - ok: false, - error: { - reason: "non-json", - statusCode: response.status, - rawBody: response.data, - }, - }; + if (response.body != null && args.responseType === "blob") { + body = await response.blob(); + } else if (response.body != null && args.responseType === "streaming") { + body = response.body; + } else { + const text = await response.text(); + if (text.length > 0) { + try { + body = JSON.parse(text); + } catch (err) { + return { + ok: false, + error: { + reason: "non-json", + statusCode: response.status, + rawBody: text, + }, + }; + } } } @@ -100,6 +139,7 @@ async function fetcherImpl(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise, header: string): string | undefined { + for (const [headerKey, headerValue] of Object.entries(headers)) { + if (headerKey.toLowerCase() === header.toLowerCase()) { + return headerValue; + } + } + return undefined; +} diff --git a/src/core/fetcher/index.ts b/src/core/fetcher/index.ts index 6becab21..2d658ca4 100644 --- a/src/core/fetcher/index.ts +++ b/src/core/fetcher/index.ts @@ -1,4 +1,5 @@ export type { APIResponse } from "./APIResponse"; export { fetcher } from "./Fetcher"; export type { Fetcher, FetchFunction } from "./Fetcher"; +export { getHeader } from "./getHeader"; export { Supplier } from "./Supplier"; diff --git a/src/core/index.ts b/src/core/index.ts index e36b05ed..e2eb66e8 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,4 +1,3 @@ export * from "./fetcher"; export * from "./auth"; -export * from "./streaming-fetcher"; export * as serialization from "./schemas"; diff --git a/src/core/schemas/Schema.ts b/src/core/schemas/Schema.ts index 3211fa4f..870f373b 100644 --- a/src/core/schemas/Schema.ts +++ b/src/core/schemas/Schema.ts @@ -17,6 +17,7 @@ export const SchemaType = { ENUM: "enum", LIST: "list", STRING_LITERAL: "stringLiteral", + BOOLEAN_LITERAL: "booleanLiteral", OBJECT: "object", ANY: "any", BOOLEAN: "boolean", diff --git a/src/core/schemas/builders/literals/booleanLiteral.ts b/src/core/schemas/builders/literals/booleanLiteral.ts new file mode 100644 index 00000000..a83d22cd --- /dev/null +++ b/src/core/schemas/builders/literals/booleanLiteral.ts @@ -0,0 +1,29 @@ +import { Schema, SchemaType } from "../../Schema"; +import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator"; +import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType"; + +export function booleanLiteral(literal: V): Schema { + const schemaCreator = createIdentitySchemaCreator( + SchemaType.BOOLEAN_LITERAL, + (value, { breadcrumbsPrefix = [] } = {}) => { + if (value === literal) { + return { + ok: true, + value: literal, + }; + } else { + return { + ok: false, + errors: [ + { + path: breadcrumbsPrefix, + message: getErrorMessageForIncorrectType(value, `${literal.toString()}`), + }, + ], + }; + } + } + ); + + return schemaCreator(); +} diff --git a/src/core/schemas/builders/literals/index.ts b/src/core/schemas/builders/literals/index.ts index a4cd05cd..d2bf08fc 100644 --- a/src/core/schemas/builders/literals/index.ts +++ b/src/core/schemas/builders/literals/index.ts @@ -1 +1,2 @@ export { stringLiteral } from "./stringLiteral"; +export { booleanLiteral } from "./booleanLiteral"; diff --git a/src/core/schemas/builders/object/index.ts b/src/core/schemas/builders/object/index.ts index e6db5b56..e3f4388d 100644 --- a/src/core/schemas/builders/object/index.ts +++ b/src/core/schemas/builders/object/index.ts @@ -1,4 +1,9 @@ export { getObjectUtils, object } from "./object"; +export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties"; +export type { + inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas, + inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas, +} from "./objectWithoutOptionalProperties"; export { isProperty, property } from "./property"; export type { Property } from "./property"; export type { diff --git a/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts new file mode 100644 index 00000000..a0951f48 --- /dev/null +++ b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts @@ -0,0 +1,18 @@ +import { object } from "./object"; +import { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, PropertySchemas } from "./types"; + +export function objectWithoutOptionalProperties>( + schemas: T +): inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas { + return object(schemas) as unknown as inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas; +} + +export type inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas> = + ObjectSchema< + inferRawObjectFromPropertySchemas, + inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas + >; + +export type inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas> = { + [K in keyof T]: inferParsedPropertySchema; +}; diff --git a/src/core/streaming-fetcher/StreamingFetcher.ts b/src/core/streaming-fetcher/StreamingFetcher.ts deleted file mode 100644 index 88ed0d43..00000000 --- a/src/core/streaming-fetcher/StreamingFetcher.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { default as URLSearchParams } from "@ungap/url-search-params"; -import axios, { AxiosAdapter } from "axios"; -import { Readable } from "stream"; - -export type StreamingFetchFunction = (args: StreamingFetcher.Args) => Promise; - -export declare namespace StreamingFetcher { - export interface Args { - url: string; - method: string; - headers?: Record; - queryParameters?: URLSearchParams; - body?: unknown; - timeoutMs?: number; - withCredentials?: boolean; - adapter?: AxiosAdapter; - onUploadProgress?: (event: ProgressEvent) => void; - onDownloadProgress?: (event: ProgressEvent) => void; - - onData?: (data: unknown) => void; - onError?: (err: unknown) => void; - onFinish?: () => void; - abortController?: AbortController; - responseChunkPrefix?: string; - terminator?: string; - } - - export interface Response { - data: Readable; - headers: Record; - } -} - -export const streamingFetcher: StreamingFetchFunction = async (args) => { - const headers: Record = {}; - if (args.body !== undefined) { - headers["Content-Type"] = "application/json"; - } - if (args.headers != null) { - for (const [key, value] of Object.entries(args.headers)) { - if (value != null) { - headers[key] = value; - } - } - } - - const response = await axios({ - url: args.url, - params: args.queryParameters, - method: args.method, - headers, - data: args.body, - timeout: args.timeoutMs, - transitional: { - clarifyTimeoutError: true, - }, - withCredentials: args.withCredentials, - maxBodyLength: Infinity, - maxContentLength: Infinity, - onUploadProgress: args.onUploadProgress, - onDownloadProgress: args.onDownloadProgress, - signal: args.abortController?.signal, - responseType: "stream", - adapter: args.adapter, - }); - - if (args.onData != null) { - const { onData } = args; - response.data.on("data", (data: Buffer) => { - for (const line of data.toString().split("\n")) { - let data = line; - if (args.responseChunkPrefix != null) { - if (!data.startsWith(args.responseChunkPrefix)) { - continue; - } - data = data.substring(args.responseChunkPrefix.length); - } - - try { - const parsed = JSON.parse(data); - onData(parsed); - } catch (error) { - args.onError?.(error); - } - } - }); - } - - if (args.onFinish != null) { - response.data.on("end", args.onFinish); - } - - return { - data: response.data, - headers: response.headers, - }; -}; diff --git a/src/core/streaming-fetcher/getHeader.ts b/src/core/streaming-fetcher/getHeader.ts deleted file mode 100644 index e59189cf..00000000 --- a/src/core/streaming-fetcher/getHeader.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { StreamingFetcher } from "./StreamingFetcher"; - -export function getHeader(response: StreamingFetcher.Response, header: string): string | undefined { - for (const [headerKey, headerValue] of Object.entries(response.headers)) { - if (headerKey.toLowerCase() === header.toLowerCase()) { - return headerValue; - } - } - return undefined; -} diff --git a/src/core/streaming-fetcher/index.ts b/src/core/streaming-fetcher/index.ts deleted file mode 100644 index da8e4652..00000000 --- a/src/core/streaming-fetcher/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { getHeader } from "./getHeader"; -export { streamingFetcher } from "./StreamingFetcher"; -export type { StreamingFetcher, StreamingFetchFunction } from "./StreamingFetcher"; diff --git a/src/serialization/resources/accounting/index.ts b/src/serialization/resources/accounting/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/accounting/index.ts +++ b/src/serialization/resources/accounting/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/accounting/resources/accounts/index.ts b/src/serialization/resources/accounting/resources/accounts/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/accounts/index.ts +++ b/src/serialization/resources/accounting/resources/accounts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/AccountsListRequestRemoteFields.ts b/src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestRemoteFields.ts similarity index 77% rename from src/serialization/resources/accounting/types/AccountsListRequestRemoteFields.ts rename to src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestRemoteFields.ts index 4cf88f6c..a29a0ce0 100644 --- a/src/serialization/resources/accounting/types/AccountsListRequestRemoteFields.ts +++ b/src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const AccountsListRequestRemoteFields: core.serialization.Schema< serializers.accounting.AccountsListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/accounting/types/AccountsListRequestShowEnumOrigins.ts b/src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestShowEnumOrigins.ts similarity index 77% rename from src/serialization/resources/accounting/types/AccountsListRequestShowEnumOrigins.ts rename to src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestShowEnumOrigins.ts index 95d9e219..eff8568a 100644 --- a/src/serialization/resources/accounting/types/AccountsListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/accounting/resources/accounts/types/AccountsListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const AccountsListRequestShowEnumOrigins: core.serialization.Schema< serializers.accounting.AccountsListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/accounting/types/AccountsRetrieveRequestRemoteFields.ts b/src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestRemoteFields.ts similarity index 77% rename from src/serialization/resources/accounting/types/AccountsRetrieveRequestRemoteFields.ts rename to src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestRemoteFields.ts index ab920f30..ed031c57 100644 --- a/src/serialization/resources/accounting/types/AccountsRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const AccountsRetrieveRequestRemoteFields: core.serialization.Schema< serializers.accounting.AccountsRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/accounting/types/AccountsRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestShowEnumOrigins.ts similarity index 78% rename from src/serialization/resources/accounting/types/AccountsRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestShowEnumOrigins.ts index 52889876..ef41b167 100644 --- a/src/serialization/resources/accounting/types/AccountsRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/accounting/resources/accounts/types/AccountsRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const AccountsRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.accounting.AccountsRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/accounting/resources/accounts/types/index.ts b/src/serialization/resources/accounting/resources/accounts/types/index.ts new file mode 100644 index 00000000..52cc408e --- /dev/null +++ b/src/serialization/resources/accounting/resources/accounts/types/index.ts @@ -0,0 +1,4 @@ +export * from "./AccountsListRequestRemoteFields"; +export * from "./AccountsListRequestShowEnumOrigins"; +export * from "./AccountsRetrieveRequestRemoteFields"; +export * from "./AccountsRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/accounting/resources/companyInfo/index.ts b/src/serialization/resources/accounting/resources/companyInfo/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/companyInfo/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/CompanyInfoListRequestExpand.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts similarity index 76% rename from src/serialization/resources/accounting/types/CompanyInfoListRequestExpand.ts rename to src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts index c9f2c9a4..b7920650 100644 --- a/src/serialization/resources/accounting/types/CompanyInfoListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CompanyInfoListRequestExpand: core.serialization.Schema< serializers.accounting.CompanyInfoListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/CompanyInfoRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts similarity index 77% rename from src/serialization/resources/accounting/types/CompanyInfoRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts index 9cbb992d..6cc0ef71 100644 --- a/src/serialization/resources/accounting/types/CompanyInfoRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CompanyInfoRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.CompanyInfoRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/companyInfo/types/index.ts b/src/serialization/resources/accounting/resources/companyInfo/types/index.ts new file mode 100644 index 00000000..8f0d30c9 --- /dev/null +++ b/src/serialization/resources/accounting/resources/companyInfo/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CompanyInfoListRequestExpand"; +export * from "./CompanyInfoRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/contacts/index.ts b/src/serialization/resources/accounting/resources/contacts/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/contacts/index.ts +++ b/src/serialization/resources/accounting/resources/contacts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/ContactsListRequestExpand.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts similarity index 83% rename from src/serialization/resources/accounting/types/ContactsListRequestExpand.ts rename to src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts index 21b10a44..a81d6511 100644 --- a/src/serialization/resources/accounting/types/ContactsListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ContactsListRequestExpand: core.serialization.Schema< serializers.accounting.ContactsListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/ContactsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts similarity index 84% rename from src/serialization/resources/accounting/types/ContactsRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts index 6c2856ad..f111d2bf 100644 --- a/src/serialization/resources/accounting/types/ContactsRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ContactsRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.ContactsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/contacts/types/index.ts b/src/serialization/resources/accounting/resources/contacts/types/index.ts new file mode 100644 index 00000000..1f8bc865 --- /dev/null +++ b/src/serialization/resources/accounting/resources/contacts/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ContactsListRequestExpand"; +export * from "./ContactsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/creditNotes/index.ts b/src/serialization/resources/accounting/resources/creditNotes/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/creditNotes/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/CreditNotesListRequestExpand.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts similarity index 99% rename from src/serialization/resources/accounting/types/CreditNotesListRequestExpand.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts index b435d253..794295d5 100644 --- a/src/serialization/resources/accounting/types/CreditNotesListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesListRequestExpand: core.serialization.Schema< serializers.accounting.CreditNotesListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/CreditNotesListRequestRemoteFields.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestRemoteFields.ts similarity index 76% rename from src/serialization/resources/accounting/types/CreditNotesListRequestRemoteFields.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestRemoteFields.ts index f0c8c813..9ff06097 100644 --- a/src/serialization/resources/accounting/types/CreditNotesListRequestRemoteFields.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesListRequestRemoteFields: core.serialization.Schema< serializers.accounting.CreditNotesListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/accounting/types/CreditNotesListRequestShowEnumOrigins.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestShowEnumOrigins.ts similarity index 76% rename from src/serialization/resources/accounting/types/CreditNotesListRequestShowEnumOrigins.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestShowEnumOrigins.ts index bd6d4e52..0ad63c62 100644 --- a/src/serialization/resources/accounting/types/CreditNotesListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesListRequestShowEnumOrigins: core.serialization.Schema< serializers.accounting.CreditNotesListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts similarity index 99% rename from src/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts index 71771697..40b0effa 100644 --- a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.CreditNotesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestRemoteFields.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestRemoteFields.ts similarity index 76% rename from src/serialization/resources/accounting/types/CreditNotesRetrieveRequestRemoteFields.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestRemoteFields.ts index 5f5a8a33..2d64fa05 100644 --- a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesRetrieveRequestRemoteFields: core.serialization.Schema< serializers.accounting.CreditNotesRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestShowEnumOrigins.ts similarity index 77% rename from src/serialization/resources/accounting/types/CreditNotesRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestShowEnumOrigins.ts index 3b515aa2..f8be60ce 100644 --- a/src/serialization/resources/accounting/types/CreditNotesRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CreditNotesRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.accounting.CreditNotesRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/accounting/resources/creditNotes/types/index.ts b/src/serialization/resources/accounting/resources/creditNotes/types/index.ts new file mode 100644 index 00000000..87be1efa --- /dev/null +++ b/src/serialization/resources/accounting/resources/creditNotes/types/index.ts @@ -0,0 +1,6 @@ +export * from "./CreditNotesListRequestExpand"; +export * from "./CreditNotesListRequestRemoteFields"; +export * from "./CreditNotesListRequestShowEnumOrigins"; +export * from "./CreditNotesRetrieveRequestExpand"; +export * from "./CreditNotesRetrieveRequestRemoteFields"; +export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/accounting/resources/expenses/index.ts b/src/serialization/resources/accounting/resources/expenses/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/expenses/index.ts +++ b/src/serialization/resources/accounting/resources/expenses/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/ExpensesListRequestExpand.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/ExpensesListRequestExpand.ts rename to src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts index c3582881..54f01211 100644 --- a/src/serialization/resources/accounting/types/ExpensesListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ExpensesListRequestExpand: core.serialization.Schema< serializers.accounting.ExpensesListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/ExpensesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/ExpensesRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts index f6ea2720..47baa74f 100644 --- a/src/serialization/resources/accounting/types/ExpensesRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ExpensesRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.ExpensesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/expenses/types/index.ts b/src/serialization/resources/accounting/resources/expenses/types/index.ts new file mode 100644 index 00000000..2a53835e --- /dev/null +++ b/src/serialization/resources/accounting/resources/expenses/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ExpensesListRequestExpand"; +export * from "./ExpensesRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/index.ts b/src/serialization/resources/accounting/resources/index.ts index 6e9e3747..0a424ed8 100644 --- a/src/serialization/resources/accounting/resources/index.ts +++ b/src/serialization/resources/accounting/resources/index.ts @@ -1,25 +1,46 @@ +export * as accounts from "./accounts"; +export * from "./accounts/types"; +export * as companyInfo from "./companyInfo"; +export * from "./companyInfo/types"; +export * as contacts from "./contacts"; +export * from "./contacts/types"; +export * as creditNotes from "./creditNotes"; +export * from "./creditNotes/types"; +export * as expenses from "./expenses"; +export * from "./expenses/types"; +export * as invoices from "./invoices"; +export * from "./invoices/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as items from "./items"; +export * from "./items/types"; +export * as journalEntries from "./journalEntries"; +export * from "./journalEntries/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as payments from "./payments"; +export * from "./payments/types"; +export * as purchaseOrders from "./purchaseOrders"; +export * from "./purchaseOrders/types"; +export * as transactions from "./transactions"; +export * from "./transactions/types"; +export * as vendorCredits from "./vendorCredits"; +export * from "./vendorCredits/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; -export * as accounts from "./accounts"; export * from "./accounts/client/requests"; export * as attachments from "./attachments"; export * from "./attachments/client/requests"; -export * as contacts from "./contacts"; export * from "./contacts/client/requests"; -export * as expenses from "./expenses"; export * from "./expenses/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; -export * as invoices from "./invoices"; export * from "./invoices/client/requests"; -export * as journalEntries from "./journalEntries"; export * from "./journalEntries/client/requests"; export * as linkToken from "./linkToken"; export * from "./linkToken/client/requests"; -export * as payments from "./payments"; export * from "./payments/client/requests"; -export * as purchaseOrders from "./purchaseOrders"; export * from "./purchaseOrders/client/requests"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; diff --git a/src/serialization/resources/accounting/resources/invoices/index.ts b/src/serialization/resources/accounting/resources/invoices/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/invoices/index.ts +++ b/src/serialization/resources/accounting/resources/invoices/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/InvoicesListRequestExpand.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts similarity index 99% rename from src/serialization/resources/accounting/types/InvoicesListRequestExpand.ts rename to src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts index 497e677f..bac0b55a 100644 --- a/src/serialization/resources/accounting/types/InvoicesListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const InvoicesListRequestExpand: core.serialization.Schema< serializers.accounting.InvoicesListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/InvoicesListRequestType.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestType.ts similarity index 75% rename from src/serialization/resources/accounting/types/InvoicesListRequestType.ts rename to src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestType.ts index 69642f23..bbd9bb76 100644 --- a/src/serialization/resources/accounting/types/InvoicesListRequestType.ts +++ b/src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const InvoicesListRequestType: core.serialization.Schema< serializers.accounting.InvoicesListRequestType.Raw, diff --git a/src/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts similarity index 99% rename from src/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts index 01d1b9e7..34a8652e 100644 --- a/src/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const InvoicesRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.InvoicesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/invoices/types/index.ts b/src/serialization/resources/accounting/resources/invoices/types/index.ts new file mode 100644 index 00000000..0f37ec2c --- /dev/null +++ b/src/serialization/resources/accounting/resources/invoices/types/index.ts @@ -0,0 +1,3 @@ +export * from "./InvoicesListRequestExpand"; +export * from "./InvoicesListRequestType"; +export * from "./InvoicesRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/issues/index.ts b/src/serialization/resources/accounting/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/IssuesListRequestStatus.ts b/src/serialization/resources/accounting/resources/issues/types/IssuesListRequestStatus.ts similarity index 73% rename from src/serialization/resources/accounting/types/IssuesListRequestStatus.ts rename to src/serialization/resources/accounting/resources/issues/types/IssuesListRequestStatus.ts index e8dc6b8e..5c53c273 100644 --- a/src/serialization/resources/accounting/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/accounting/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.accounting.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/accounting/resources/issues/types/index.ts b/src/serialization/resources/accounting/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/accounting/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/accounting/resources/items/index.ts b/src/serialization/resources/accounting/resources/items/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/items/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/ItemsListRequestExpand.ts b/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts similarity index 84% rename from src/serialization/resources/accounting/types/ItemsListRequestExpand.ts rename to src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts index 64a543bf..11826be4 100644 --- a/src/serialization/resources/accounting/types/ItemsListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ItemsListRequestExpand: core.serialization.Schema< serializers.accounting.ItemsListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/ItemsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts similarity index 84% rename from src/serialization/resources/accounting/types/ItemsRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts index fd5fcc48..e8390cac 100644 --- a/src/serialization/resources/accounting/types/ItemsRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ItemsRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.ItemsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/items/types/index.ts b/src/serialization/resources/accounting/resources/items/types/index.ts new file mode 100644 index 00000000..2d4c475a --- /dev/null +++ b/src/serialization/resources/accounting/resources/items/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ItemsListRequestExpand"; +export * from "./ItemsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/journalEntries/index.ts b/src/serialization/resources/accounting/resources/journalEntries/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/journalEntries/index.ts +++ b/src/serialization/resources/accounting/resources/journalEntries/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/JournalEntriesListRequestExpand.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/JournalEntriesListRequestExpand.ts rename to src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts index e477fbb4..81deee8a 100644 --- a/src/serialization/resources/accounting/types/JournalEntriesListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JournalEntriesListRequestExpand: core.serialization.Schema< serializers.accounting.JournalEntriesListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts index 8e763b3c..daab8be9 100644 --- a/src/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JournalEntriesRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.JournalEntriesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/journalEntries/types/index.ts b/src/serialization/resources/accounting/resources/journalEntries/types/index.ts new file mode 100644 index 00000000..d0572d02 --- /dev/null +++ b/src/serialization/resources/accounting/resources/journalEntries/types/index.ts @@ -0,0 +1,2 @@ +export * from "./JournalEntriesListRequestExpand"; +export * from "./JournalEntriesRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/linkedAccounts/index.ts b/src/serialization/resources/accounting/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/accounting/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/accounting/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/accounting/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index 8742a537..ed63189a 100644 --- a/src/serialization/resources/accounting/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/accounting/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.accounting.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/accounting/resources/linkedAccounts/types/index.ts b/src/serialization/resources/accounting/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/accounting/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/accounting/resources/payments/index.ts b/src/serialization/resources/accounting/resources/payments/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/payments/index.ts +++ b/src/serialization/resources/accounting/resources/payments/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/PaymentsListRequestExpand.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/PaymentsListRequestExpand.ts rename to src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts index fdf446a2..08b53edb 100644 --- a/src/serialization/resources/accounting/types/PaymentsListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PaymentsListRequestExpand: core.serialization.Schema< serializers.accounting.PaymentsListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts index 7902409b..65c25fa6 100644 --- a/src/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PaymentsRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.PaymentsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/payments/types/index.ts b/src/serialization/resources/accounting/resources/payments/types/index.ts new file mode 100644 index 00000000..56e4a369 --- /dev/null +++ b/src/serialization/resources/accounting/resources/payments/types/index.ts @@ -0,0 +1,2 @@ +export * from "./PaymentsListRequestExpand"; +export * from "./PaymentsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/index.ts b/src/serialization/resources/accounting/resources/purchaseOrders/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/accounting/resources/purchaseOrders/index.ts +++ b/src/serialization/resources/accounting/resources/purchaseOrders/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/accounting/types/PurchaseOrdersListRequestExpand.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/PurchaseOrdersListRequestExpand.ts rename to src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts index 48bc603a..202d29f3 100644 --- a/src/serialization/resources/accounting/types/PurchaseOrdersListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PurchaseOrdersListRequestExpand: core.serialization.Schema< serializers.accounting.PurchaseOrdersListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/PurchaseOrdersRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts similarity index 97% rename from src/serialization/resources/accounting/types/PurchaseOrdersRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts index 8111af7d..57451393 100644 --- a/src/serialization/resources/accounting/types/PurchaseOrdersRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PurchaseOrdersRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.PurchaseOrdersRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts b/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts new file mode 100644 index 00000000..fd510edd --- /dev/null +++ b/src/serialization/resources/accounting/resources/purchaseOrders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./PurchaseOrdersListRequestExpand"; +export * from "./PurchaseOrdersRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/transactions/index.ts b/src/serialization/resources/accounting/resources/transactions/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/transactions/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/TransactionsListRequestExpand.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/TransactionsListRequestExpand.ts rename to src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts index 5fe74768..3da2aa30 100644 --- a/src/serialization/resources/accounting/types/TransactionsListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TransactionsListRequestExpand: core.serialization.Schema< serializers.accounting.TransactionsListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/TransactionsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/TransactionsRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts index b994a93a..3fbc32c7 100644 --- a/src/serialization/resources/accounting/types/TransactionsRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TransactionsRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.TransactionsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/transactions/types/index.ts b/src/serialization/resources/accounting/resources/transactions/types/index.ts new file mode 100644 index 00000000..d40b559e --- /dev/null +++ b/src/serialization/resources/accounting/resources/transactions/types/index.ts @@ -0,0 +1,2 @@ +export * from "./TransactionsListRequestExpand"; +export * from "./TransactionsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/resources/vendorCredits/index.ts b/src/serialization/resources/accounting/resources/vendorCredits/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/accounting/resources/vendorCredits/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/accounting/types/VendorCreditsListRequestExpand.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/VendorCreditsListRequestExpand.ts rename to src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts index 8a85d84a..222fdb8b 100644 --- a/src/serialization/resources/accounting/types/VendorCreditsListRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const VendorCreditsListRequestExpand: core.serialization.Schema< serializers.accounting.VendorCreditsListRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts similarity index 95% rename from src/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.ts rename to src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts index 8d12f260..40a792a2 100644 --- a/src/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.ts +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const VendorCreditsRetrieveRequestExpand: core.serialization.Schema< serializers.accounting.VendorCreditsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts b/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts new file mode 100644 index 00000000..23d33b55 --- /dev/null +++ b/src/serialization/resources/accounting/resources/vendorCredits/types/index.ts @@ -0,0 +1,2 @@ +export * from "./VendorCreditsListRequestExpand"; +export * from "./VendorCreditsRetrieveRequestExpand"; diff --git a/src/serialization/resources/accounting/types/index.ts b/src/serialization/resources/accounting/types/index.ts index d292171d..fdf06f74 100644 --- a/src/serialization/resources/accounting/types/index.ts +++ b/src/serialization/resources/accounting/types/index.ts @@ -1,98 +1,63 @@ -export * from "./AccountsListRequestRemoteFields"; -export * from "./AccountsListRequestShowEnumOrigins"; -export * from "./AccountsRetrieveRequestRemoteFields"; -export * from "./AccountsRetrieveRequestShowEnumOrigins"; -export * from "./DataPassthroughRequest"; -export * from "./CompanyInfoListRequestExpand"; -export * from "./CompanyInfoRetrieveRequestExpand"; -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; -export * from "./CreditNotesListRequestExpand"; -export * from "./CreditNotesListRequestRemoteFields"; -export * from "./CreditNotesListRequestShowEnumOrigins"; -export * from "./CreditNotesRetrieveRequestExpand"; -export * from "./CreditNotesRetrieveRequestRemoteFields"; -export * from "./CreditNotesRetrieveRequestShowEnumOrigins"; -export * from "./ExpensesListRequestExpand"; -export * from "./ExpensesRetrieveRequestExpand"; -export * from "./InvoicesListRequestExpand"; -export * from "./InvoicesListRequestType"; -export * from "./InvoicesRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./ItemsListRequestExpand"; -export * from "./ItemsRetrieveRequestExpand"; -export * from "./JournalEntriesListRequestExpand"; -export * from "./JournalEntriesRetrieveRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./PaymentsListRequestExpand"; -export * from "./PaymentsRetrieveRequestExpand"; -export * from "./PurchaseOrdersListRequestExpand"; -export * from "./PurchaseOrdersRetrieveRequestExpand"; -export * from "./TransactionsListRequestExpand"; -export * from "./TransactionsRetrieveRequestExpand"; -export * from "./VendorCreditsListRequestExpand"; -export * from "./VendorCreditsRetrieveRequestExpand"; -export * from "./Account"; export * from "./AccountClassification"; export * from "./AccountStatus"; export * from "./AccountCurrency"; +export * from "./Account"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; -export * from "./AccountRequest"; export * from "./AccountRequestClassification"; export * from "./AccountRequestStatus"; export * from "./AccountRequestCurrency"; +export * from "./AccountRequest"; export * from "./AccountResponse"; export * from "./AccountStatusEnum"; export * from "./AccountToken"; export * from "./AccountingAttachment"; export * from "./AccountingAttachmentRequest"; export * from "./AccountingAttachmentResponse"; -export * from "./AccountingPeriod"; export * from "./AccountingPeriodStatus"; +export * from "./AccountingPeriod"; export * from "./AccountingPeriodStatusEnum"; export * from "./AccountingPhoneNumber"; export * from "./AccountingPhoneNumberRequest"; -export * from "./Address"; export * from "./AddressType"; export * from "./AddressCountry"; -export * from "./AddressRequest"; +export * from "./Address"; export * from "./AddressRequestType"; export * from "./AddressRequestCountry"; +export * from "./AddressRequest"; export * from "./AddressTypeEnum"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./BalanceSheet"; export * from "./BalanceSheetCurrency"; export * from "./BalanceSheetCompany"; -export * from "./CashFlowStatement"; +export * from "./BalanceSheet"; export * from "./CashFlowStatementCurrency"; export * from "./CashFlowStatementCompany"; +export * from "./CashFlowStatement"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CategoryTypeEnum"; export * from "./ClassificationEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./CompanyInfo"; export * from "./CompanyInfoCurrency"; -export * from "./ConditionSchema"; +export * from "./CompanyInfo"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactStatus"; export * from "./ContactAddressesItem"; -export * from "./ContactRequest"; +export * from "./Contact"; export * from "./ContactRequestStatus"; export * from "./ContactRequestAddressesItem"; +export * from "./ContactRequest"; export * from "./ContactResponse"; export * from "./CountryEnum"; -export * from "./CreditNote"; export * from "./CreditNoteStatus"; export * from "./CreditNoteContact"; export * from "./CreditNoteCompany"; @@ -101,50 +66,51 @@ export * from "./CreditNoteCurrency"; export * from "./CreditNotePaymentsItem"; export * from "./CreditNoteAppliedPaymentsItem"; export * from "./CreditNoteAccountingPeriod"; -export * from "./CreditNoteLineItem"; +export * from "./CreditNote"; export * from "./CreditNoteLineItemItem"; export * from "./CreditNoteLineItemCompany"; +export * from "./CreditNoteLineItem"; export * from "./CreditNoteStatusEnum"; export * from "./CurrencyEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; -export * from "./Expense"; export * from "./ExpenseAccount"; export * from "./ExpenseContact"; export * from "./ExpenseCurrency"; export * from "./ExpenseCompany"; export * from "./ExpenseTrackingCategoriesItem"; export * from "./ExpenseAccountingPeriod"; -export * from "./ExpenseLine"; +export * from "./Expense"; export * from "./ExpenseLineItem"; export * from "./ExpenseLineTrackingCategory"; export * from "./ExpenseLineTrackingCategoriesItem"; export * from "./ExpenseLineCurrency"; export * from "./ExpenseLineAccount"; export * from "./ExpenseLineContact"; -export * from "./ExpenseLineRequest"; +export * from "./ExpenseLine"; export * from "./ExpenseLineRequestItem"; export * from "./ExpenseLineRequestTrackingCategory"; export * from "./ExpenseLineRequestTrackingCategoriesItem"; export * from "./ExpenseLineRequestCurrency"; export * from "./ExpenseLineRequestAccount"; export * from "./ExpenseLineRequestContact"; -export * from "./ExpenseRequest"; +export * from "./ExpenseLineRequest"; export * from "./ExpenseRequestAccount"; export * from "./ExpenseRequestContact"; export * from "./ExpenseRequestCurrency"; export * from "./ExpenseRequestCompany"; export * from "./ExpenseRequestTrackingCategoriesItem"; export * from "./ExpenseRequestAccountingPeriod"; +export * from "./ExpenseRequest"; export * from "./ExpenseResponse"; -export * from "./IncomeStatement"; export * from "./IncomeStatementCurrency"; export * from "./IncomeStatementCompany"; -export * from "./Invoice"; +export * from "./IncomeStatement"; export * from "./InvoiceType"; export * from "./InvoiceContact"; export * from "./InvoiceCompany"; @@ -155,19 +121,19 @@ export * from "./InvoicePaymentsItem"; export * from "./InvoiceAppliedPaymentsItem"; export * from "./InvoiceAccountingPeriod"; export * from "./InvoicePurchaseOrdersItem"; -export * from "./InvoiceLineItem"; +export * from "./Invoice"; export * from "./InvoiceLineItemCurrency"; export * from "./InvoiceLineItemItem"; export * from "./InvoiceLineItemAccount"; export * from "./InvoiceLineItemTrackingCategory"; export * from "./InvoiceLineItemTrackingCategoriesItem"; -export * from "./InvoiceLineItemRequest"; +export * from "./InvoiceLineItem"; export * from "./InvoiceLineItemRequestCurrency"; export * from "./InvoiceLineItemRequestItem"; export * from "./InvoiceLineItemRequestAccount"; export * from "./InvoiceLineItemRequestTrackingCategory"; export * from "./InvoiceLineItemRequestTrackingCategoriesItem"; -export * from "./InvoiceRequest"; +export * from "./InvoiceLineItemRequest"; export * from "./InvoiceRequestType"; export * from "./InvoiceRequestContact"; export * from "./InvoiceRequestStatus"; @@ -176,18 +142,18 @@ export * from "./InvoiceRequestCurrency"; export * from "./InvoiceRequestPaymentsItem"; export * from "./InvoiceRequestTrackingCategoriesItem"; export * from "./InvoiceRequestPurchaseOrdersItem"; +export * from "./InvoiceRequest"; export * from "./InvoiceResponse"; export * from "./InvoiceStatusEnum"; export * from "./InvoiceTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; -export * from "./Item"; export * from "./ItemStatus"; export * from "./ItemPurchaseAccount"; export * from "./ItemSalesAccount"; export * from "./ItemCompany"; -export * from "./JournalEntry"; +export * from "./Item"; export * from "./JournalEntryPaymentsItem"; export * from "./JournalEntryAppliedPaymentsItem"; export * from "./JournalEntryCurrency"; @@ -195,23 +161,24 @@ export * from "./JournalEntryCompany"; export * from "./JournalEntryTrackingCategoriesItem"; export * from "./JournalEntryPostingStatus"; export * from "./JournalEntryAccountingPeriod"; -export * from "./JournalEntryRequest"; +export * from "./JournalEntry"; export * from "./JournalEntryRequestPaymentsItem"; export * from "./JournalEntryRequestCurrency"; export * from "./JournalEntryRequestCompany"; export * from "./JournalEntryRequestTrackingCategoriesItem"; export * from "./JournalEntryRequestPostingStatus"; +export * from "./JournalEntryRequest"; export * from "./JournalEntryResponse"; -export * from "./JournalLine"; export * from "./JournalLineAccount"; export * from "./JournalLineTrackingCategory"; export * from "./JournalLineTrackingCategoriesItem"; export * from "./JournalLineCurrency"; -export * from "./JournalLineRequest"; +export * from "./JournalLine"; export * from "./JournalLineRequestAccount"; export * from "./JournalLineRequestTrackingCategory"; export * from "./JournalLineRequestTrackingCategoriesItem"; export * from "./JournalLineRequestCurrency"; +export * from "./JournalLineRequest"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; export * from "./LinkedAccountConditionRequest"; @@ -221,8 +188,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountList"; @@ -248,7 +215,6 @@ export * from "./PaginatedTaxRateList"; export * from "./PaginatedTrackingCategoryList"; export * from "./PaginatedTransactionList"; export * from "./PaginatedVendorCreditList"; -export * from "./Payment"; export * from "./PaymentContact"; export * from "./PaymentAccount"; export * from "./PaymentCurrency"; @@ -256,9 +222,9 @@ export * from "./PaymentCompany"; export * from "./PaymentTrackingCategoriesItem"; export * from "./PaymentAccountingPeriod"; export * from "./PaymentAppliedToLinesItem"; +export * from "./Payment"; export * from "./PaymentLineItem"; export * from "./PaymentLineItemRequest"; -export * from "./PaymentRequest"; export * from "./PaymentRequestContact"; export * from "./PaymentRequestAccount"; export * from "./PaymentRequestCurrency"; @@ -266,9 +232,9 @@ export * from "./PaymentRequestCompany"; export * from "./PaymentRequestTrackingCategoriesItem"; export * from "./PaymentRequestAccountingPeriod"; export * from "./PaymentRequestAppliedToLinesItem"; +export * from "./PaymentRequest"; export * from "./PaymentResponse"; export * from "./PostingStatusEnum"; -export * from "./PurchaseOrder"; export * from "./PurchaseOrderStatus"; export * from "./PurchaseOrderDeliveryAddress"; export * from "./PurchaseOrderVendor"; @@ -276,19 +242,20 @@ export * from "./PurchaseOrderCompany"; export * from "./PurchaseOrderCurrency"; export * from "./PurchaseOrderTrackingCategoriesItem"; export * from "./PurchaseOrderAccountingPeriod"; -export * from "./PurchaseOrderLineItem"; +export * from "./PurchaseOrder"; export * from "./PurchaseOrderLineItemItem"; export * from "./PurchaseOrderLineItemCurrency"; -export * from "./PurchaseOrderLineItemRequest"; +export * from "./PurchaseOrderLineItem"; export * from "./PurchaseOrderLineItemRequestItem"; export * from "./PurchaseOrderLineItemRequestCurrency"; -export * from "./PurchaseOrderRequest"; +export * from "./PurchaseOrderLineItemRequest"; export * from "./PurchaseOrderRequestStatus"; export * from "./PurchaseOrderRequestDeliveryAddress"; export * from "./PurchaseOrderRequestVendor"; export * from "./PurchaseOrderRequestCompany"; export * from "./PurchaseOrderRequestCurrency"; export * from "./PurchaseOrderRequestTrackingCategoriesItem"; +export * from "./PurchaseOrderRequest"; export * from "./PurchaseOrderResponse"; export * from "./PurchaseOrderStatusEnum"; export * from "./RemoteData"; @@ -302,29 +269,29 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./Status7D1Enum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; -export * from "./TaxRate"; export * from "./TaxRateCompany"; -export * from "./TrackingCategory"; +export * from "./TaxRate"; export * from "./TrackingCategoryStatus"; export * from "./TrackingCategoryCategoryType"; export * from "./TrackingCategoryCompany"; -export * from "./Transaction"; +export * from "./TrackingCategory"; export * from "./TransactionAccount"; export * from "./TransactionContact"; export * from "./TransactionCurrency"; export * from "./TransactionTrackingCategoriesItem"; export * from "./TransactionAccountingPeriod"; -export * from "./TransactionLineItem"; +export * from "./Transaction"; export * from "./TransactionLineItemItem"; export * from "./TransactionLineItemCurrency"; +export * from "./TransactionLineItem"; export * from "./ValidationProblemSource"; -export * from "./VendorCredit"; export * from "./VendorCreditVendor"; export * from "./VendorCreditCurrency"; export * from "./VendorCreditCompany"; export * from "./VendorCreditTrackingCategoriesItem"; export * from "./VendorCreditAccountingPeriod"; -export * from "./VendorCreditLine"; +export * from "./VendorCredit"; export * from "./VendorCreditLineAccount"; +export * from "./VendorCreditLine"; export * from "./WarningValidationProblem"; export * from "./WebhookReceiver"; diff --git a/src/serialization/resources/ats/index.ts b/src/serialization/resources/ats/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/ats/index.ts +++ b/src/serialization/resources/ats/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/ats/resources/activities/index.ts b/src/serialization/resources/ats/resources/activities/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ats/resources/activities/index.ts +++ b/src/serialization/resources/ats/resources/activities/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ats/types/ActivitiesListRequestRemoteFields.ts b/src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestRemoteFields.ts similarity index 77% rename from src/serialization/resources/ats/types/ActivitiesListRequestRemoteFields.ts rename to src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestRemoteFields.ts index edbd996c..e5c2a1c2 100644 --- a/src/serialization/resources/ats/types/ActivitiesListRequestRemoteFields.ts +++ b/src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ActivitiesListRequestRemoteFields: core.serialization.Schema< serializers.ats.ActivitiesListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ats/types/ActivitiesListRequestShowEnumOrigins.ts b/src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestShowEnumOrigins.ts similarity index 77% rename from src/serialization/resources/ats/types/ActivitiesListRequestShowEnumOrigins.ts rename to src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestShowEnumOrigins.ts index 06a3ac13..ae0f6276 100644 --- a/src/serialization/resources/ats/types/ActivitiesListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ats/resources/activities/types/ActivitiesListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ActivitiesListRequestShowEnumOrigins: core.serialization.Schema< serializers.ats.ActivitiesListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ats/types/ActivitiesRetrieveRequestRemoteFields.ts b/src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestRemoteFields.ts similarity index 77% rename from src/serialization/resources/ats/types/ActivitiesRetrieveRequestRemoteFields.ts rename to src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestRemoteFields.ts index 8d61fdcf..a53d27ad 100644 --- a/src/serialization/resources/ats/types/ActivitiesRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ActivitiesRetrieveRequestRemoteFields: core.serialization.Schema< serializers.ats.ActivitiesRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ats/types/ActivitiesRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestShowEnumOrigins.ts similarity index 78% rename from src/serialization/resources/ats/types/ActivitiesRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestShowEnumOrigins.ts index 65399a24..f831bc37 100644 --- a/src/serialization/resources/ats/types/ActivitiesRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ats/resources/activities/types/ActivitiesRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ActivitiesRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.ats.ActivitiesRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ats/resources/activities/types/index.ts b/src/serialization/resources/ats/resources/activities/types/index.ts new file mode 100644 index 00000000..82c34743 --- /dev/null +++ b/src/serialization/resources/ats/resources/activities/types/index.ts @@ -0,0 +1,4 @@ +export * from "./ActivitiesListRequestRemoteFields"; +export * from "./ActivitiesListRequestShowEnumOrigins"; +export * from "./ActivitiesRetrieveRequestRemoteFields"; +export * from "./ActivitiesRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/ats/resources/applications/index.ts b/src/serialization/resources/ats/resources/applications/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ats/resources/applications/index.ts +++ b/src/serialization/resources/ats/resources/applications/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ats/types/ApplicationsListRequestExpand.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts similarity index 94% rename from src/serialization/resources/ats/types/ApplicationsListRequestExpand.ts rename to src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts index 2dd317ba..a10a9539 100644 --- a/src/serialization/resources/ats/types/ApplicationsListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ApplicationsListRequestExpand: core.serialization.Schema< serializers.ats.ApplicationsListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/ApplicationsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts similarity index 94% rename from src/serialization/resources/ats/types/ApplicationsRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts index a6680645..69179d3f 100644 --- a/src/serialization/resources/ats/types/ApplicationsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ApplicationsRetrieveRequestExpand: core.serialization.Schema< serializers.ats.ApplicationsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/applications/types/index.ts b/src/serialization/resources/ats/resources/applications/types/index.ts new file mode 100644 index 00000000..10d68b6c --- /dev/null +++ b/src/serialization/resources/ats/resources/applications/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ApplicationsListRequestExpand"; +export * from "./ApplicationsRetrieveRequestExpand"; diff --git a/src/serialization/resources/ats/resources/candidates/index.ts b/src/serialization/resources/ats/resources/candidates/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ats/resources/candidates/index.ts +++ b/src/serialization/resources/ats/resources/candidates/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ats/types/CandidatesListRequestExpand.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts similarity index 76% rename from src/serialization/resources/ats/types/CandidatesListRequestExpand.ts rename to src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts index d24d0d8d..ff2d176e 100644 --- a/src/serialization/resources/ats/types/CandidatesListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CandidatesListRequestExpand: core.serialization.Schema< serializers.ats.CandidatesListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/CandidatesRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts similarity index 77% rename from src/serialization/resources/ats/types/CandidatesRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts index 548751c4..1904e869 100644 --- a/src/serialization/resources/ats/types/CandidatesRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CandidatesRetrieveRequestExpand: core.serialization.Schema< serializers.ats.CandidatesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/candidates/types/index.ts b/src/serialization/resources/ats/resources/candidates/types/index.ts new file mode 100644 index 00000000..61344cf8 --- /dev/null +++ b/src/serialization/resources/ats/resources/candidates/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CandidatesListRequestExpand"; +export * from "./CandidatesRetrieveRequestExpand"; diff --git a/src/serialization/resources/ats/resources/eeocs/index.ts b/src/serialization/resources/ats/resources/eeocs/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/eeocs/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/EeocsListRequestRemoteFields.ts b/src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestRemoteFields.ts similarity index 90% rename from src/serialization/resources/ats/types/EeocsListRequestRemoteFields.ts rename to src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestRemoteFields.ts index f4c09ff7..95e77573 100644 --- a/src/serialization/resources/ats/types/EeocsListRequestRemoteFields.ts +++ b/src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EeocsListRequestRemoteFields: core.serialization.Schema< serializers.ats.EeocsListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ats/types/EeocsListRequestShowEnumOrigins.ts b/src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestShowEnumOrigins.ts similarity index 90% rename from src/serialization/resources/ats/types/EeocsListRequestShowEnumOrigins.ts rename to src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestShowEnumOrigins.ts index 7c3f75e4..875e2771 100644 --- a/src/serialization/resources/ats/types/EeocsListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ats/resources/eeocs/types/EeocsListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EeocsListRequestShowEnumOrigins: core.serialization.Schema< serializers.ats.EeocsListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ats/types/EeocsRetrieveRequestRemoteFields.ts b/src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestRemoteFields.ts similarity index 90% rename from src/serialization/resources/ats/types/EeocsRetrieveRequestRemoteFields.ts rename to src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestRemoteFields.ts index 3f1a4db9..278012f5 100644 --- a/src/serialization/resources/ats/types/EeocsRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EeocsRetrieveRequestRemoteFields: core.serialization.Schema< serializers.ats.EeocsRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ats/types/EeocsRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestShowEnumOrigins.ts similarity index 90% rename from src/serialization/resources/ats/types/EeocsRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestShowEnumOrigins.ts index 12e80144..e3980ff2 100644 --- a/src/serialization/resources/ats/types/EeocsRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ats/resources/eeocs/types/EeocsRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EeocsRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.ats.EeocsRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ats/resources/eeocs/types/index.ts b/src/serialization/resources/ats/resources/eeocs/types/index.ts new file mode 100644 index 00000000..55f674fd --- /dev/null +++ b/src/serialization/resources/ats/resources/eeocs/types/index.ts @@ -0,0 +1,4 @@ +export * from "./EeocsListRequestRemoteFields"; +export * from "./EeocsListRequestShowEnumOrigins"; +export * from "./EeocsRetrieveRequestRemoteFields"; +export * from "./EeocsRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/ats/resources/index.ts b/src/serialization/resources/ats/resources/index.ts index 2c6e04f4..11147277 100644 --- a/src/serialization/resources/ats/resources/index.ts +++ b/src/serialization/resources/ats/resources/index.ts @@ -1,17 +1,33 @@ +export * as activities from "./activities"; +export * from "./activities/types"; +export * as applications from "./applications"; +export * from "./applications/types"; +export * as candidates from "./candidates"; +export * from "./candidates/types"; +export * as eeocs from "./eeocs"; +export * from "./eeocs/types"; +export * as interviews from "./interviews"; +export * from "./interviews/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as jobs from "./jobs"; +export * from "./jobs/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as offers from "./offers"; +export * from "./offers/types"; +export * as scorecards from "./scorecards"; +export * from "./scorecards/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; -export * as activities from "./activities"; export * from "./activities/client/requests"; -export * as applications from "./applications"; export * from "./applications/client/requests"; export * as attachments from "./attachments"; export * from "./attachments/client/requests"; -export * as candidates from "./candidates"; export * from "./candidates/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; -export * as interviews from "./interviews"; export * from "./interviews/client/requests"; export * as linkToken from "./linkToken"; export * from "./linkToken/client/requests"; diff --git a/src/serialization/resources/ats/resources/interviews/index.ts b/src/serialization/resources/ats/resources/interviews/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ats/resources/interviews/index.ts +++ b/src/serialization/resources/ats/resources/interviews/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ats/types/InterviewsListRequestExpand.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts similarity index 91% rename from src/serialization/resources/ats/types/InterviewsListRequestExpand.ts rename to src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts index 9d107e05..a311c515 100644 --- a/src/serialization/resources/ats/types/InterviewsListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const InterviewsListRequestExpand: core.serialization.Schema< serializers.ats.InterviewsListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/InterviewsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts similarity index 91% rename from src/serialization/resources/ats/types/InterviewsRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts index 5b6941d4..84b2fa7a 100644 --- a/src/serialization/resources/ats/types/InterviewsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const InterviewsRetrieveRequestExpand: core.serialization.Schema< serializers.ats.InterviewsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/interviews/types/index.ts b/src/serialization/resources/ats/resources/interviews/types/index.ts new file mode 100644 index 00000000..51b55d6c --- /dev/null +++ b/src/serialization/resources/ats/resources/interviews/types/index.ts @@ -0,0 +1,2 @@ +export * from "./InterviewsListRequestExpand"; +export * from "./InterviewsRetrieveRequestExpand"; diff --git a/src/serialization/resources/ats/resources/issues/index.ts b/src/serialization/resources/ats/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/IssuesListRequestStatus.ts b/src/serialization/resources/ats/resources/issues/types/IssuesListRequestStatus.ts similarity index 72% rename from src/serialization/resources/ats/types/IssuesListRequestStatus.ts rename to src/serialization/resources/ats/resources/issues/types/IssuesListRequestStatus.ts index 9140d019..d7ff219e 100644 --- a/src/serialization/resources/ats/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/ats/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.ats.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/ats/resources/issues/types/index.ts b/src/serialization/resources/ats/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/ats/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/ats/resources/jobs/index.ts b/src/serialization/resources/ats/resources/jobs/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/jobs/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/JobsListRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts similarity index 90% rename from src/serialization/resources/ats/types/JobsListRequestExpand.ts rename to src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts index b0778069..0f3aa2a0 100644 --- a/src/serialization/resources/ats/types/JobsListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JobsListRequestExpand: core.serialization.Schema< serializers.ats.JobsListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/JobsListRequestStatus.ts b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestStatus.ts similarity index 74% rename from src/serialization/resources/ats/types/JobsListRequestStatus.ts rename to src/serialization/resources/ats/resources/jobs/types/JobsListRequestStatus.ts index 3b90c3e8..ee381ac9 100644 --- a/src/serialization/resources/ats/types/JobsListRequestStatus.ts +++ b/src/serialization/resources/ats/resources/jobs/types/JobsListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JobsListRequestStatus: core.serialization.Schema< serializers.ats.JobsListRequestStatus.Raw, diff --git a/src/serialization/resources/ats/types/JobsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts similarity index 90% rename from src/serialization/resources/ats/types/JobsRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts index bc48a718..1707746a 100644 --- a/src/serialization/resources/ats/types/JobsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JobsRetrieveRequestExpand: core.serialization.Schema< serializers.ats.JobsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/JobsScreeningQuestionsListRequestExpand.ts b/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts similarity index 76% rename from src/serialization/resources/ats/types/JobsScreeningQuestionsListRequestExpand.ts rename to src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts index cfa36021..25189342 100644 --- a/src/serialization/resources/ats/types/JobsScreeningQuestionsListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const JobsScreeningQuestionsListRequestExpand: core.serialization.Schema< serializers.ats.JobsScreeningQuestionsListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/jobs/types/index.ts b/src/serialization/resources/ats/resources/jobs/types/index.ts new file mode 100644 index 00000000..ebb23b63 --- /dev/null +++ b/src/serialization/resources/ats/resources/jobs/types/index.ts @@ -0,0 +1,4 @@ +export * from "./JobsListRequestExpand"; +export * from "./JobsListRequestStatus"; +export * from "./JobsRetrieveRequestExpand"; +export * from "./JobsScreeningQuestionsListRequestExpand"; diff --git a/src/serialization/resources/ats/resources/linkedAccounts/index.ts b/src/serialization/resources/ats/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/ats/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/ats/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/ats/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index ff472f8c..aa607d28 100644 --- a/src/serialization/resources/ats/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/ats/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.ats.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/ats/resources/linkedAccounts/types/index.ts b/src/serialization/resources/ats/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/ats/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/ats/resources/offers/index.ts b/src/serialization/resources/ats/resources/offers/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/offers/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/OffersListRequestExpand.ts b/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts similarity index 74% rename from src/serialization/resources/ats/types/OffersListRequestExpand.ts rename to src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts index fcb492a1..0d95af1e 100644 --- a/src/serialization/resources/ats/types/OffersListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const OffersListRequestExpand: core.serialization.Schema< serializers.ats.OffersListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/OffersRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts similarity index 75% rename from src/serialization/resources/ats/types/OffersRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts index f1f5aaf8..351752c0 100644 --- a/src/serialization/resources/ats/types/OffersRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const OffersRetrieveRequestExpand: core.serialization.Schema< serializers.ats.OffersRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/offers/types/index.ts b/src/serialization/resources/ats/resources/offers/types/index.ts new file mode 100644 index 00000000..4b81bcdb --- /dev/null +++ b/src/serialization/resources/ats/resources/offers/types/index.ts @@ -0,0 +1,2 @@ +export * from "./OffersListRequestExpand"; +export * from "./OffersRetrieveRequestExpand"; diff --git a/src/serialization/resources/ats/resources/scorecards/index.ts b/src/serialization/resources/ats/resources/scorecards/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ats/resources/scorecards/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ats/types/ScorecardsListRequestExpand.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts similarity index 84% rename from src/serialization/resources/ats/types/ScorecardsListRequestExpand.ts rename to src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts index 1a2f49c8..c45b8316 100644 --- a/src/serialization/resources/ats/types/ScorecardsListRequestExpand.ts +++ b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ScorecardsListRequestExpand: core.serialization.Schema< serializers.ats.ScorecardsListRequestExpand.Raw, diff --git a/src/serialization/resources/ats/types/ScorecardsRetrieveRequestExpand.ts b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts similarity index 84% rename from src/serialization/resources/ats/types/ScorecardsRetrieveRequestExpand.ts rename to src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts index fd0e6e50..98eb2e36 100644 --- a/src/serialization/resources/ats/types/ScorecardsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ScorecardsRetrieveRequestExpand: core.serialization.Schema< serializers.ats.ScorecardsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ats/resources/scorecards/types/index.ts b/src/serialization/resources/ats/resources/scorecards/types/index.ts new file mode 100644 index 00000000..abc9dc75 --- /dev/null +++ b/src/serialization/resources/ats/resources/scorecards/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ScorecardsListRequestExpand"; +export * from "./ScorecardsRetrieveRequestExpand"; diff --git a/src/serialization/resources/ats/types/index.ts b/src/serialization/resources/ats/types/index.ts index e9fbf8f9..9d2492f7 100644 --- a/src/serialization/resources/ats/types/index.ts +++ b/src/serialization/resources/ats/types/index.ts @@ -1,28 +1,3 @@ -export * from "./ActivitiesListRequestRemoteFields"; -export * from "./ActivitiesListRequestShowEnumOrigins"; -export * from "./ActivitiesRetrieveRequestRemoteFields"; -export * from "./ActivitiesRetrieveRequestShowEnumOrigins"; -export * from "./ApplicationsListRequestExpand"; -export * from "./ApplicationsRetrieveRequestExpand"; -export * from "./DataPassthroughRequest"; -export * from "./CandidatesListRequestExpand"; -export * from "./CandidatesRetrieveRequestExpand"; -export * from "./EeocsListRequestRemoteFields"; -export * from "./EeocsListRequestShowEnumOrigins"; -export * from "./EeocsRetrieveRequestRemoteFields"; -export * from "./EeocsRetrieveRequestShowEnumOrigins"; -export * from "./InterviewsListRequestExpand"; -export * from "./InterviewsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./JobsListRequestExpand"; -export * from "./JobsListRequestStatus"; -export * from "./JobsRetrieveRequestExpand"; -export * from "./JobsScreeningQuestionsListRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./OffersListRequestExpand"; -export * from "./OffersRetrieveRequestExpand"; -export * from "./ScorecardsListRequestExpand"; -export * from "./ScorecardsRetrieveRequestExpand"; export * from "./AccessRoleEnum"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; @@ -30,84 +5,85 @@ export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; -export * from "./Activity"; export * from "./ActivityUser"; export * from "./ActivityActivityType"; export * from "./ActivityVisibility"; -export * from "./ActivityRequest"; +export * from "./Activity"; export * from "./ActivityRequestUser"; export * from "./ActivityRequestActivityType"; export * from "./ActivityRequestVisibility"; +export * from "./ActivityRequest"; export * from "./ActivityResponse"; export * from "./ActivityTypeEnum"; -export * from "./Application"; export * from "./ApplicationCandidate"; export * from "./ApplicationJob"; export * from "./ApplicationCreditedTo"; export * from "./ApplicationCurrentStage"; export * from "./ApplicationRejectReason"; -export * from "./ApplicationRequest"; +export * from "./Application"; export * from "./ApplicationRequestCandidate"; export * from "./ApplicationRequestJob"; export * from "./ApplicationRequestCreditedTo"; export * from "./ApplicationRequestCurrentStage"; export * from "./ApplicationRequestRejectReason"; +export * from "./ApplicationRequest"; export * from "./ApplicationResponse"; export * from "./AsyncPassthroughReciept"; -export * from "./Attachment"; export * from "./AttachmentAttachmentType"; -export * from "./AttachmentRequest"; +export * from "./Attachment"; export * from "./AttachmentRequestAttachmentType"; +export * from "./AttachmentRequest"; export * from "./AttachmentResponse"; export * from "./AttachmentTypeEnum"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./Candidate"; export * from "./CandidateApplicationsItem"; export * from "./CandidateAttachmentsItem"; -export * from "./CandidateRequest"; +export * from "./Candidate"; export * from "./CandidateRequestApplicationsItem"; export * from "./CandidateRequestAttachmentsItem"; +export * from "./CandidateRequest"; export * from "./CandidateResponse"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Department"; export * from "./DisabilityStatusEnum"; -export * from "./Eeoc"; export * from "./EeocCandidate"; export * from "./EeocRace"; export * from "./EeocGender"; export * from "./EeocVeteranStatus"; export * from "./EeocDisabilityStatus"; -export * from "./EmailAddress"; +export * from "./Eeoc"; export * from "./EmailAddressEmailAddressType"; -export * from "./EmailAddressRequest"; +export * from "./EmailAddress"; export * from "./EmailAddressRequestEmailAddressType"; +export * from "./EmailAddressRequest"; export * from "./EmailAddressTypeEnum"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./GenderEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; -export * from "./Job"; export * from "./JobStatus"; export * from "./JobDepartmentsItem"; export * from "./JobOfficesItem"; export * from "./JobHiringManagersItem"; export * from "./JobRecruitersItem"; -export * from "./JobInterviewStage"; +export * from "./Job"; export * from "./JobInterviewStageJob"; +export * from "./JobInterviewStage"; export * from "./JobStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -118,12 +94,12 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; -export * from "./Offer"; +export * from "./MultipartFormFieldRequest"; export * from "./OfferApplication"; export * from "./OfferCreator"; export * from "./OfferStatus"; +export * from "./Offer"; export * from "./OfferStatusEnum"; export * from "./Office"; export * from "./OperatorSchema"; @@ -150,55 +126,55 @@ export * from "./PaginatedScreeningQuestionList"; export * from "./PaginatedSyncStatusList"; export * from "./PaginatedTagList"; export * from "./PatchedCandidateRequest"; -export * from "./PhoneNumber"; export * from "./PhoneNumberPhoneNumberType"; -export * from "./PhoneNumberRequest"; +export * from "./PhoneNumber"; export * from "./PhoneNumberRequestPhoneNumberType"; +export * from "./PhoneNumberRequest"; export * from "./PhoneNumberTypeEnum"; export * from "./RaceEnum"; export * from "./ReasonEnum"; export * from "./RejectReason"; export * from "./RemoteData"; export * from "./RemoteKey"; -export * from "./RemoteResponse"; export * from "./RemoteResponseResponseType"; -export * from "./RemoteUser"; +export * from "./RemoteResponse"; export * from "./RemoteUserAccessRole"; +export * from "./RemoteUser"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; export * from "./RoleEnum"; -export * from "./ScheduledInterview"; export * from "./ScheduledInterviewApplication"; export * from "./ScheduledInterviewJobInterviewStage"; export * from "./ScheduledInterviewOrganizer"; export * from "./ScheduledInterviewInterviewersItem"; export * from "./ScheduledInterviewStatus"; -export * from "./ScheduledInterviewRequest"; +export * from "./ScheduledInterview"; export * from "./ScheduledInterviewRequestApplication"; export * from "./ScheduledInterviewRequestJobInterviewStage"; export * from "./ScheduledInterviewRequestOrganizer"; export * from "./ScheduledInterviewRequestInterviewersItem"; export * from "./ScheduledInterviewRequestStatus"; +export * from "./ScheduledInterviewRequest"; export * from "./ScheduledInterviewResponse"; export * from "./ScheduledInterviewStatusEnum"; -export * from "./Scorecard"; export * from "./ScorecardApplication"; export * from "./ScorecardInterview"; export * from "./ScorecardInterviewer"; export * from "./ScorecardOverallRecommendation"; -export * from "./ScreeningQuestion"; +export * from "./Scorecard"; export * from "./ScreeningQuestionJob"; export * from "./ScreeningQuestionType"; +export * from "./ScreeningQuestion"; export * from "./ScreeningQuestionOption"; export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tag"; export * from "./TypeEnum"; -export * from "./Url"; export * from "./UrlUrlType"; -export * from "./UrlRequest"; +export * from "./Url"; export * from "./UrlRequestUrlType"; +export * from "./UrlRequest"; export * from "./UrlTypeEnum"; export * from "./ValidationProblemSource"; export * from "./VeteranStatusEnum"; diff --git a/src/serialization/resources/crm/index.ts b/src/serialization/resources/crm/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/crm/index.ts +++ b/src/serialization/resources/crm/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/crm/resources/contacts/index.ts b/src/serialization/resources/crm/resources/contacts/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/contacts/index.ts +++ b/src/serialization/resources/crm/resources/contacts/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/ContactsListRequestExpand.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts similarity index 74% rename from src/serialization/resources/crm/types/ContactsListRequestExpand.ts rename to src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts index 0b46cc1d..b1067d65 100644 --- a/src/serialization/resources/crm/types/ContactsListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ContactsListRequestExpand: core.serialization.Schema< serializers.crm.ContactsListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/ContactsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts similarity index 74% rename from src/serialization/resources/crm/types/ContactsRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts index b524ba4d..bcb7b1b9 100644 --- a/src/serialization/resources/crm/types/ContactsRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ContactsRetrieveRequestExpand: core.serialization.Schema< serializers.crm.ContactsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/contacts/types/index.ts b/src/serialization/resources/crm/resources/contacts/types/index.ts new file mode 100644 index 00000000..1f8bc865 --- /dev/null +++ b/src/serialization/resources/crm/resources/contacts/types/index.ts @@ -0,0 +1,2 @@ +export * from "./ContactsListRequestExpand"; +export * from "./ContactsRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/resources/engagements/index.ts b/src/serialization/resources/crm/resources/engagements/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/engagements/index.ts +++ b/src/serialization/resources/crm/resources/engagements/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/EngagementsListRequestExpand.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts similarity index 89% rename from src/serialization/resources/crm/types/EngagementsListRequestExpand.ts rename to src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts index a7b1af02..95612ac6 100644 --- a/src/serialization/resources/crm/types/EngagementsListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EngagementsListRequestExpand: core.serialization.Schema< serializers.crm.EngagementsListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/EngagementsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts similarity index 89% rename from src/serialization/resources/crm/types/EngagementsRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts index 0553b016..74deb275 100644 --- a/src/serialization/resources/crm/types/EngagementsRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EngagementsRetrieveRequestExpand: core.serialization.Schema< serializers.crm.EngagementsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/engagements/types/index.ts b/src/serialization/resources/crm/resources/engagements/types/index.ts new file mode 100644 index 00000000..742b3ef6 --- /dev/null +++ b/src/serialization/resources/crm/resources/engagements/types/index.ts @@ -0,0 +1,2 @@ +export * from "./EngagementsListRequestExpand"; +export * from "./EngagementsRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/resources/index.ts b/src/serialization/resources/crm/resources/index.ts index 3854948b..8539b306 100644 --- a/src/serialization/resources/crm/resources/index.ts +++ b/src/serialization/resources/crm/resources/index.ts @@ -1,29 +1,39 @@ +export * as contacts from "./contacts"; +export * from "./contacts/types"; +export * as engagements from "./engagements"; +export * from "./engagements/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as leads from "./leads"; +export * from "./leads/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as notes from "./notes"; +export * from "./notes/types"; +export * as opportunities from "./opportunities"; +export * from "./opportunities/types"; +export * as tasks from "./tasks"; +export * from "./tasks/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; export * as accounts from "./accounts"; export * from "./accounts/client/requests"; -export * as contacts from "./contacts"; export * from "./contacts/client/requests"; export * as associationTypes from "./associationTypes"; export * from "./associationTypes/client/requests"; export * as customObjects from "./customObjects"; export * from "./customObjects/client/requests"; -export * as engagements from "./engagements"; export * from "./engagements/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; -export * as leads from "./leads"; export * from "./leads/client/requests"; export * as linkToken from "./linkToken"; export * from "./linkToken/client/requests"; -export * as notes from "./notes"; export * from "./notes/client/requests"; -export * as opportunities from "./opportunities"; export * from "./opportunities/client/requests"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; export * from "./selectiveSync/client/requests"; -export * as tasks from "./tasks"; export * from "./tasks/client/requests"; export * from "./webhookReceivers/client/requests"; diff --git a/src/serialization/resources/crm/resources/issues/index.ts b/src/serialization/resources/crm/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/crm/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/crm/types/IssuesListRequestStatus.ts b/src/serialization/resources/crm/resources/issues/types/IssuesListRequestStatus.ts similarity index 72% rename from src/serialization/resources/crm/types/IssuesListRequestStatus.ts rename to src/serialization/resources/crm/resources/issues/types/IssuesListRequestStatus.ts index 01ef8fcc..10f7413c 100644 --- a/src/serialization/resources/crm/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/crm/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.crm.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/crm/resources/issues/types/index.ts b/src/serialization/resources/crm/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/crm/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/crm/resources/leads/index.ts b/src/serialization/resources/crm/resources/leads/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/leads/index.ts +++ b/src/serialization/resources/crm/resources/leads/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/LeadsListRequestExpand.ts b/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts similarity index 84% rename from src/serialization/resources/crm/types/LeadsListRequestExpand.ts rename to src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts index 5b272abe..300223c1 100644 --- a/src/serialization/resources/crm/types/LeadsListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LeadsListRequestExpand: core.serialization.Schema< serializers.crm.LeadsListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/LeadsRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts similarity index 85% rename from src/serialization/resources/crm/types/LeadsRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts index f945c5d3..187f7182 100644 --- a/src/serialization/resources/crm/types/LeadsRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LeadsRetrieveRequestExpand: core.serialization.Schema< serializers.crm.LeadsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/leads/types/index.ts b/src/serialization/resources/crm/resources/leads/types/index.ts new file mode 100644 index 00000000..139d390d --- /dev/null +++ b/src/serialization/resources/crm/resources/leads/types/index.ts @@ -0,0 +1,2 @@ +export * from "./LeadsListRequestExpand"; +export * from "./LeadsRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/resources/linkedAccounts/index.ts b/src/serialization/resources/crm/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/crm/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/crm/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/crm/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/crm/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/crm/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index 7e472040..37d2866a 100644 --- a/src/serialization/resources/crm/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/crm/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.crm.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/crm/resources/linkedAccounts/types/index.ts b/src/serialization/resources/crm/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/crm/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/crm/resources/notes/index.ts b/src/serialization/resources/crm/resources/notes/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/notes/index.ts +++ b/src/serialization/resources/crm/resources/notes/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/NotesListRequestExpand.ts b/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts similarity index 89% rename from src/serialization/resources/crm/types/NotesListRequestExpand.ts rename to src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts index 9f1941e8..8c3bcddb 100644 --- a/src/serialization/resources/crm/types/NotesListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const NotesListRequestExpand: core.serialization.Schema< serializers.crm.NotesListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/NotesRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts similarity index 89% rename from src/serialization/resources/crm/types/NotesRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts index 5762357a..2c59e326 100644 --- a/src/serialization/resources/crm/types/NotesRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const NotesRetrieveRequestExpand: core.serialization.Schema< serializers.crm.NotesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/notes/types/index.ts b/src/serialization/resources/crm/resources/notes/types/index.ts new file mode 100644 index 00000000..619a79b7 --- /dev/null +++ b/src/serialization/resources/crm/resources/notes/types/index.ts @@ -0,0 +1,2 @@ +export * from "./NotesListRequestExpand"; +export * from "./NotesRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/resources/opportunities/index.ts b/src/serialization/resources/crm/resources/opportunities/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/opportunities/index.ts +++ b/src/serialization/resources/crm/resources/opportunities/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/OpportunitiesListRequestExpand.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts similarity index 82% rename from src/serialization/resources/crm/types/OpportunitiesListRequestExpand.ts rename to src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts index 709e1fa4..e71847af 100644 --- a/src/serialization/resources/crm/types/OpportunitiesListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const OpportunitiesListRequestExpand: core.serialization.Schema< serializers.crm.OpportunitiesListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/OpportunitiesListRequestStatus.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestStatus.ts similarity index 73% rename from src/serialization/resources/crm/types/OpportunitiesListRequestStatus.ts rename to src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestStatus.ts index f3a88d7d..495bfeb3 100644 --- a/src/serialization/resources/crm/types/OpportunitiesListRequestStatus.ts +++ b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const OpportunitiesListRequestStatus: core.serialization.Schema< serializers.crm.OpportunitiesListRequestStatus.Raw, diff --git a/src/serialization/resources/crm/types/OpportunitiesRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts similarity index 82% rename from src/serialization/resources/crm/types/OpportunitiesRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts index f2364b49..aefcb0bd 100644 --- a/src/serialization/resources/crm/types/OpportunitiesRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const OpportunitiesRetrieveRequestExpand: core.serialization.Schema< serializers.crm.OpportunitiesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/opportunities/types/index.ts b/src/serialization/resources/crm/resources/opportunities/types/index.ts new file mode 100644 index 00000000..0d6d5b6f --- /dev/null +++ b/src/serialization/resources/crm/resources/opportunities/types/index.ts @@ -0,0 +1,3 @@ +export * from "./OpportunitiesListRequestExpand"; +export * from "./OpportunitiesListRequestStatus"; +export * from "./OpportunitiesRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/resources/tasks/index.ts b/src/serialization/resources/crm/resources/tasks/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/crm/resources/tasks/index.ts +++ b/src/serialization/resources/crm/resources/tasks/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/crm/types/TasksListRequestExpand.ts b/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts similarity index 82% rename from src/serialization/resources/crm/types/TasksListRequestExpand.ts rename to src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts index fac1e10d..d206df3f 100644 --- a/src/serialization/resources/crm/types/TasksListRequestExpand.ts +++ b/src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TasksListRequestExpand: core.serialization.Schema< serializers.crm.TasksListRequestExpand.Raw, diff --git a/src/serialization/resources/crm/types/TasksRetrieveRequestExpand.ts b/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts similarity index 82% rename from src/serialization/resources/crm/types/TasksRetrieveRequestExpand.ts rename to src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts index d45e1268..ca2243e9 100644 --- a/src/serialization/resources/crm/types/TasksRetrieveRequestExpand.ts +++ b/src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TasksRetrieveRequestExpand: core.serialization.Schema< serializers.crm.TasksRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/crm/resources/tasks/types/index.ts b/src/serialization/resources/crm/resources/tasks/types/index.ts new file mode 100644 index 00000000..570802a1 --- /dev/null +++ b/src/serialization/resources/crm/resources/tasks/types/index.ts @@ -0,0 +1,2 @@ +export * from "./TasksListRequestExpand"; +export * from "./TasksRetrieveRequestExpand"; diff --git a/src/serialization/resources/crm/types/index.ts b/src/serialization/resources/crm/types/index.ts index 191dbf7c..d8030738 100644 --- a/src/serialization/resources/crm/types/index.ts +++ b/src/serialization/resources/crm/types/index.ts @@ -1,48 +1,31 @@ -export * from "./DataPassthroughRequest"; -export * from "./ContactsListRequestExpand"; -export * from "./ContactsRetrieveRequestExpand"; -export * from "./IgnoreCommonModelRequest"; -export * from "./EngagementsListRequestExpand"; -export * from "./EngagementsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LeadsListRequestExpand"; -export * from "./LeadsRetrieveRequestExpand"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./NotesListRequestExpand"; -export * from "./NotesRetrieveRequestExpand"; -export * from "./OpportunitiesListRequestExpand"; -export * from "./OpportunitiesListRequestStatus"; -export * from "./OpportunitiesRetrieveRequestExpand"; -export * from "./TasksListRequestExpand"; -export * from "./TasksRetrieveRequestExpand"; -export * from "./Account"; export * from "./AccountOwner"; +export * from "./Account"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; -export * from "./AccountRequest"; export * from "./AccountRequestOwner"; +export * from "./AccountRequest"; export * from "./AccountToken"; export * from "./ActivityTypeEnum"; -export * from "./Address"; export * from "./AddressCountry"; export * from "./AddressAddressType"; -export * from "./AddressRequest"; +export * from "./Address"; export * from "./AddressRequestCountry"; export * from "./AddressRequestAddressType"; +export * from "./AddressRequest"; export * from "./AddressTypeEnum"; -export * from "./Association"; export * from "./AssociationAssociationType"; +export * from "./Association"; export * from "./AssociationSubType"; -export * from "./AssociationType"; export * from "./AssociationTypeCardinality"; +export * from "./AssociationType"; export * from "./AssociationTypeRequestRequest"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CrmAccountResponse"; export * from "./CrmAssociationTypeResponse"; @@ -52,19 +35,20 @@ export * from "./CardinalityEnum"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactAccount"; export * from "./ContactOwner"; -export * from "./ContactRequest"; +export * from "./Contact"; export * from "./ContactRequestAccount"; export * from "./ContactRequestOwner"; +export * from "./ContactRequest"; export * from "./CountryEnum"; export * from "./CustomObject"; export * from "./CustomObjectClass"; export * from "./CustomObjectRequest"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./DirectionEnum"; @@ -72,39 +56,40 @@ export * from "./EmailAddress"; export * from "./EmailAddressRequest"; export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; -export * from "./Engagement"; export * from "./EngagementOwner"; export * from "./EngagementDirection"; export * from "./EngagementEngagementType"; export * from "./EngagementAccount"; export * from "./EngagementContactsItem"; -export * from "./EngagementRequest"; +export * from "./Engagement"; export * from "./EngagementRequestOwner"; export * from "./EngagementRequestDirection"; export * from "./EngagementRequestEngagementType"; export * from "./EngagementRequestAccount"; export * from "./EngagementRequestContactsItem"; +export * from "./EngagementRequest"; export * from "./EngagementResponse"; -export * from "./EngagementType"; export * from "./EngagementTypeActivityType"; +export * from "./EngagementType"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./FieldFormatEnum"; export * from "./FieldTypeEnum"; -export * from "./Issue"; +export * from "./IgnoreCommonModelRequest"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; export * from "./ItemTypeEnum"; -export * from "./Lead"; export * from "./LeadOwner"; export * from "./LeadConvertedContact"; export * from "./LeadConvertedAccount"; -export * from "./LeadRequest"; +export * from "./Lead"; export * from "./LeadRequestOwner"; export * from "./LeadRequestConvertedContact"; export * from "./LeadRequestConvertedAccount"; +export * from "./LeadRequest"; export * from "./LeadResponse"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -115,31 +100,31 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; -export * from "./Note"; +export * from "./MultipartFormFieldRequest"; export * from "./NoteOwner"; export * from "./NoteContact"; export * from "./NoteAccount"; export * from "./NoteOpportunity"; -export * from "./NoteRequest"; +export * from "./Note"; export * from "./NoteRequestOwner"; export * from "./NoteRequestContact"; export * from "./NoteRequestAccount"; export * from "./NoteRequestOpportunity"; +export * from "./NoteRequest"; export * from "./NoteResponse"; export * from "./ObjectClassDescriptionRequest"; export * from "./OperatorSchema"; -export * from "./Opportunity"; export * from "./OpportunityOwner"; export * from "./OpportunityAccount"; export * from "./OpportunityStage"; export * from "./OpportunityStatus"; -export * from "./OpportunityRequest"; +export * from "./Opportunity"; export * from "./OpportunityRequestOwner"; export * from "./OpportunityRequestAccount"; export * from "./OpportunityRequestStage"; export * from "./OpportunityRequestStatus"; +export * from "./OpportunityRequest"; export * from "./OpportunityResponse"; export * from "./OpportunityStatusEnum"; export * from "./OriginTypeEnum"; @@ -164,31 +149,31 @@ export * from "./PaginatedSyncStatusList"; export * from "./PaginatedTaskList"; export * from "./PaginatedUserList"; export * from "./PatchedAccountRequest"; -export * from "./PatchedContactRequest"; export * from "./PatchedContactRequestOwner"; -export * from "./PatchedEngagementRequest"; +export * from "./PatchedContactRequest"; export * from "./PatchedEngagementRequestDirection"; -export * from "./PatchedOpportunityRequest"; +export * from "./PatchedEngagementRequest"; export * from "./PatchedOpportunityRequestStatus"; -export * from "./PatchedTaskRequest"; +export * from "./PatchedOpportunityRequest"; export * from "./PatchedTaskRequestStatus"; +export * from "./PatchedTaskRequest"; export * from "./PhoneNumber"; export * from "./PhoneNumberRequest"; export * from "./ReasonEnum"; export * from "./RemoteData"; -export * from "./RemoteField"; export * from "./RemoteFieldRemoteFieldClass"; -export * from "./RemoteFieldClass"; +export * from "./RemoteField"; export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassFieldFormat"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldClassForCustomObjectClass"; +export * from "./RemoteFieldClass"; export * from "./RemoteFieldClassForCustomObjectClassFieldType"; export * from "./RemoteFieldClassForCustomObjectClassFieldFormat"; export * from "./RemoteFieldClassForCustomObjectClassFieldChoicesItem"; export * from "./RemoteFieldClassForCustomObjectClassItemSchema"; -export * from "./RemoteFieldRequest"; +export * from "./RemoteFieldClassForCustomObjectClass"; export * from "./RemoteFieldRequestRemoteFieldClass"; +export * from "./RemoteFieldRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; @@ -198,16 +183,16 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./Stage"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; -export * from "./Task"; export * from "./TaskOwner"; export * from "./TaskAccount"; export * from "./TaskOpportunity"; export * from "./TaskStatus"; -export * from "./TaskRequest"; +export * from "./Task"; export * from "./TaskRequestOwner"; export * from "./TaskRequestAccount"; export * from "./TaskRequestOpportunity"; export * from "./TaskRequestStatus"; +export * from "./TaskRequest"; export * from "./TaskResponse"; export * from "./TaskStatusEnum"; export * from "./User"; diff --git a/src/serialization/resources/filestorage/index.ts b/src/serialization/resources/filestorage/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/filestorage/index.ts +++ b/src/serialization/resources/filestorage/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/filestorage/resources/files/index.ts b/src/serialization/resources/filestorage/resources/files/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/filestorage/resources/files/index.ts +++ b/src/serialization/resources/filestorage/resources/files/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/filestorage/types/FilesListRequestExpand.ts b/src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts similarity index 82% rename from src/serialization/resources/filestorage/types/FilesListRequestExpand.ts rename to src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts index 808614dc..8864bfe4 100644 --- a/src/serialization/resources/filestorage/types/FilesListRequestExpand.ts +++ b/src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const FilesListRequestExpand: core.serialization.Schema< serializers.filestorage.FilesListRequestExpand.Raw, diff --git a/src/serialization/resources/filestorage/types/FilesRetrieveRequestExpand.ts b/src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts similarity index 82% rename from src/serialization/resources/filestorage/types/FilesRetrieveRequestExpand.ts rename to src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts index 7fd056c2..4b07127f 100644 --- a/src/serialization/resources/filestorage/types/FilesRetrieveRequestExpand.ts +++ b/src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const FilesRetrieveRequestExpand: core.serialization.Schema< serializers.filestorage.FilesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/filestorage/resources/files/types/index.ts b/src/serialization/resources/filestorage/resources/files/types/index.ts new file mode 100644 index 00000000..33359ae5 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/files/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FilesListRequestExpand"; +export * from "./FilesRetrieveRequestExpand"; diff --git a/src/serialization/resources/filestorage/resources/folders/index.ts b/src/serialization/resources/filestorage/resources/folders/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/filestorage/resources/folders/index.ts +++ b/src/serialization/resources/filestorage/resources/folders/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/filestorage/types/FoldersListRequestExpand.ts b/src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts similarity index 83% rename from src/serialization/resources/filestorage/types/FoldersListRequestExpand.ts rename to src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts index 16da9735..0f221e95 100644 --- a/src/serialization/resources/filestorage/types/FoldersListRequestExpand.ts +++ b/src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const FoldersListRequestExpand: core.serialization.Schema< serializers.filestorage.FoldersListRequestExpand.Raw, diff --git a/src/serialization/resources/filestorage/types/FoldersRetrieveRequestExpand.ts b/src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts similarity index 84% rename from src/serialization/resources/filestorage/types/FoldersRetrieveRequestExpand.ts rename to src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts index 6db96652..deb3e5f8 100644 --- a/src/serialization/resources/filestorage/types/FoldersRetrieveRequestExpand.ts +++ b/src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const FoldersRetrieveRequestExpand: core.serialization.Schema< serializers.filestorage.FoldersRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/filestorage/resources/folders/types/index.ts b/src/serialization/resources/filestorage/resources/folders/types/index.ts new file mode 100644 index 00000000..855f5754 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/folders/types/index.ts @@ -0,0 +1,2 @@ +export * from "./FoldersListRequestExpand"; +export * from "./FoldersRetrieveRequestExpand"; diff --git a/src/serialization/resources/filestorage/resources/index.ts b/src/serialization/resources/filestorage/resources/index.ts index 144a7a90..20e3945e 100644 --- a/src/serialization/resources/filestorage/resources/index.ts +++ b/src/serialization/resources/filestorage/resources/index.ts @@ -1,9 +1,15 @@ +export * as files from "./files"; +export * from "./files/types"; +export * as folders from "./folders"; +export * from "./folders/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; -export * as files from "./files"; export * from "./files/client/requests"; -export * as folders from "./folders"; export * from "./folders/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; diff --git a/src/serialization/resources/filestorage/resources/issues/index.ts b/src/serialization/resources/filestorage/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/filestorage/types/IssuesListRequestStatus.ts b/src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts similarity index 73% rename from src/serialization/resources/filestorage/types/IssuesListRequestStatus.ts rename to src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts index f5c58b98..fc121d1f 100644 --- a/src/serialization/resources/filestorage/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/filestorage/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.filestorage.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/filestorage/resources/issues/types/index.ts b/src/serialization/resources/filestorage/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/filestorage/resources/linkedAccounts/index.ts b/src/serialization/resources/filestorage/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/filestorage/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/filestorage/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index e93b45e5..f41d5515 100644 --- a/src/serialization/resources/filestorage/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/filestorage/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.filestorage.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/filestorage/resources/linkedAccounts/types/index.ts b/src/serialization/resources/filestorage/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/filestorage/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/filestorage/types/index.ts b/src/serialization/resources/filestorage/types/index.ts index 412d254a..ac1c9dd5 100644 --- a/src/serialization/resources/filestorage/types/index.ts +++ b/src/serialization/resources/filestorage/types/index.ts @@ -1,10 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./FilesListRequestExpand"; -export * from "./FilesRetrieveRequestExpand"; -export * from "./FoldersListRequestExpand"; -export * from "./FoldersRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; @@ -12,16 +5,17 @@ export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Drive"; @@ -29,31 +23,31 @@ export * from "./EnabledActionsEnum"; export * from "./EncodingEnum"; export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; -export * from "./File_"; export * from "./FileFolder"; -export * from "./FilePermissions"; export * from "./FilePermissionsItem"; +export * from "./FilePermissions"; export * from "./FileDrive"; -export * from "./FileRequest"; +export * from "./File_"; export * from "./FileRequestFolder"; -export * from "./FileRequestPermissions"; export * from "./FileRequestPermissionsItem"; +export * from "./FileRequestPermissions"; export * from "./FileRequestDrive"; +export * from "./FileRequest"; export * from "./FileStorageFileResponse"; export * from "./FileStorageFolderResponse"; -export * from "./Folder"; export * from "./FolderParentFolder"; export * from "./FolderDrive"; -export * from "./FolderPermissions"; export * from "./FolderPermissionsItem"; -export * from "./FolderRequest"; +export * from "./FolderPermissions"; +export * from "./Folder"; export * from "./FolderRequestParentFolder"; export * from "./FolderRequestDrive"; -export * from "./FolderRequestPermissions"; export * from "./FolderRequestPermissionsItem"; +export * from "./FolderRequestPermissions"; +export * from "./FolderRequest"; export * from "./Group"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -64,8 +58,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; @@ -77,16 +71,16 @@ export * from "./PaginatedGroupList"; export * from "./PaginatedIssueList"; export * from "./PaginatedSyncStatusList"; export * from "./PaginatedUserList"; -export * from "./Permission"; export * from "./PermissionUser"; export * from "./PermissionGroup"; export * from "./PermissionType"; export * from "./PermissionRolesItem"; -export * from "./PermissionRequest"; +export * from "./Permission"; export * from "./PermissionRequestUser"; export * from "./PermissionRequestGroup"; export * from "./PermissionRequestType"; export * from "./PermissionRequestRolesItem"; +export * from "./PermissionRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; diff --git a/src/serialization/resources/hris/index.ts b/src/serialization/resources/hris/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/hris/index.ts +++ b/src/serialization/resources/hris/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/hris/resources/bankInfo/index.ts b/src/serialization/resources/hris/resources/bankInfo/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/bankInfo/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/BankInfoListRequestAccountType.ts b/src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestAccountType.ts similarity index 73% rename from src/serialization/resources/hris/types/BankInfoListRequestAccountType.ts rename to src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestAccountType.ts index 108fb37f..ddd76d13 100644 --- a/src/serialization/resources/hris/types/BankInfoListRequestAccountType.ts +++ b/src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestAccountType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const BankInfoListRequestAccountType: core.serialization.Schema< serializers.hris.BankInfoListRequestAccountType.Raw, diff --git a/src/serialization/resources/hris/types/BankInfoListRequestOrderBy.ts b/src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestOrderBy.ts similarity index 75% rename from src/serialization/resources/hris/types/BankInfoListRequestOrderBy.ts rename to src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestOrderBy.ts index a3634ef0..689270b7 100644 --- a/src/serialization/resources/hris/types/BankInfoListRequestOrderBy.ts +++ b/src/serialization/resources/hris/resources/bankInfo/types/BankInfoListRequestOrderBy.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const BankInfoListRequestOrderBy: core.serialization.Schema< serializers.hris.BankInfoListRequestOrderBy.Raw, diff --git a/src/serialization/resources/hris/resources/bankInfo/types/index.ts b/src/serialization/resources/hris/resources/bankInfo/types/index.ts new file mode 100644 index 00000000..37136ecc --- /dev/null +++ b/src/serialization/resources/hris/resources/bankInfo/types/index.ts @@ -0,0 +1,2 @@ +export * from "./BankInfoListRequestAccountType"; +export * from "./BankInfoListRequestOrderBy"; diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/index.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/EmployeePayrollRunsListRequestExpand.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts similarity index 77% rename from src/serialization/resources/hris/types/EmployeePayrollRunsListRequestExpand.ts rename to src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts index 04714f78..a23f805a 100644 --- a/src/serialization/resources/hris/types/EmployeePayrollRunsListRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeePayrollRunsListRequestExpand: core.serialization.Schema< serializers.hris.EmployeePayrollRunsListRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/EmployeePayrollRunsRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts similarity index 77% rename from src/serialization/resources/hris/types/EmployeePayrollRunsRetrieveRequestExpand.ts rename to src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts index 65621acf..4bc4f5d3 100644 --- a/src/serialization/resources/hris/types/EmployeePayrollRunsRetrieveRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeePayrollRunsRetrieveRequestExpand: core.serialization.Schema< serializers.hris.EmployeePayrollRunsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts b/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts new file mode 100644 index 00000000..7adf1672 --- /dev/null +++ b/src/serialization/resources/hris/resources/employeePayrollRuns/types/index.ts @@ -0,0 +1,2 @@ +export * from "./EmployeePayrollRunsListRequestExpand"; +export * from "./EmployeePayrollRunsRetrieveRequestExpand"; diff --git a/src/serialization/resources/hris/resources/employees/index.ts b/src/serialization/resources/hris/resources/employees/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/hris/resources/employees/index.ts +++ b/src/serialization/resources/hris/resources/employees/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/hris/types/EmployeesListRequestEmploymentStatus.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestEmploymentStatus.ts similarity index 75% rename from src/serialization/resources/hris/types/EmployeesListRequestEmploymentStatus.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesListRequestEmploymentStatus.ts index f0af0cd8..7c5fbed1 100644 --- a/src/serialization/resources/hris/types/EmployeesListRequestEmploymentStatus.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestEmploymentStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesListRequestEmploymentStatus: core.serialization.Schema< serializers.hris.EmployeesListRequestEmploymentStatus.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesListRequestExpand.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts similarity index 99% rename from src/serialization/resources/hris/types/EmployeesListRequestExpand.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts index 03fc9985..3d9cd260 100644 --- a/src/serialization/resources/hris/types/EmployeesListRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesListRequestExpand: core.serialization.Schema< serializers.hris.EmployeesListRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesListRequestRemoteFields.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestRemoteFields.ts similarity index 91% rename from src/serialization/resources/hris/types/EmployeesListRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesListRequestRemoteFields.ts index 7cff21a6..f13df5aa 100644 --- a/src/serialization/resources/hris/types/EmployeesListRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesListRequestRemoteFields: core.serialization.Schema< serializers.hris.EmployeesListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesListRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestShowEnumOrigins.ts similarity index 91% rename from src/serialization/resources/hris/types/EmployeesListRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesListRequestShowEnumOrigins.ts index 219b3df1..13b33534 100644 --- a/src/serialization/resources/hris/types/EmployeesListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesListRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.EmployeesListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts similarity index 99% rename from src/serialization/resources/hris/types/EmployeesRetrieveRequestExpand.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts index a3bed1e8..8f17c1dc 100644 --- a/src/serialization/resources/hris/types/EmployeesRetrieveRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesRetrieveRequestExpand: core.serialization.Schema< serializers.hris.EmployeesRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesRetrieveRequestRemoteFields.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestRemoteFields.ts similarity index 91% rename from src/serialization/resources/hris/types/EmployeesRetrieveRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestRemoteFields.ts index efc143c8..aa17319f 100644 --- a/src/serialization/resources/hris/types/EmployeesRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesRetrieveRequestRemoteFields: core.serialization.Schema< serializers.hris.EmployeesRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/EmployeesRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestShowEnumOrigins.ts similarity index 91% rename from src/serialization/resources/hris/types/EmployeesRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestShowEnumOrigins.ts index 383b45d7..4708c083 100644 --- a/src/serialization/resources/hris/types/EmployeesRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmployeesRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.EmployeesRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts b/src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts similarity index 65% rename from src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts rename to src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts index 30058a9a..b02856a7 100644 --- a/src/serialization/resources/hris/types/IgnoreCommonModelRequestReason.ts +++ b/src/serialization/resources/hris/resources/employees/types/IgnoreCommonModelRequestReason.ts @@ -2,15 +2,15 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IgnoreCommonModelRequestReason: core.serialization.Schema< serializers.hris.IgnoreCommonModelRequestReason.Raw, Merge.hris.IgnoreCommonModelRequestReason > = core.serialization.undiscriminatedUnion([ - core.serialization.lazy(async () => (await import("../../..")).hris.ReasonEnum), + core.serialization.lazy(async () => (await import("../../../../..")).hris.ReasonEnum), core.serialization.string(), ]); diff --git a/src/serialization/resources/hris/resources/employees/types/index.ts b/src/serialization/resources/hris/resources/employees/types/index.ts new file mode 100644 index 00000000..86b6c680 --- /dev/null +++ b/src/serialization/resources/hris/resources/employees/types/index.ts @@ -0,0 +1,8 @@ +export * from "./EmployeesListRequestEmploymentStatus"; +export * from "./EmployeesListRequestExpand"; +export * from "./EmployeesListRequestRemoteFields"; +export * from "./EmployeesListRequestShowEnumOrigins"; +export * from "./EmployeesRetrieveRequestExpand"; +export * from "./EmployeesRetrieveRequestRemoteFields"; +export * from "./EmployeesRetrieveRequestShowEnumOrigins"; +export * from "./IgnoreCommonModelRequestReason"; diff --git a/src/serialization/resources/hris/resources/employments/index.ts b/src/serialization/resources/hris/resources/employments/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/employments/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/EmploymentsListRequestExpand.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts similarity index 75% rename from src/serialization/resources/hris/types/EmploymentsListRequestExpand.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts index a5cc8adf..51cd9d56 100644 --- a/src/serialization/resources/hris/types/EmploymentsListRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsListRequestExpand: core.serialization.Schema< serializers.hris.EmploymentsListRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsListRequestOrderBy.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestOrderBy.ts similarity index 75% rename from src/serialization/resources/hris/types/EmploymentsListRequestOrderBy.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestOrderBy.ts index 9ee8ea11..c49ccee8 100644 --- a/src/serialization/resources/hris/types/EmploymentsListRequestOrderBy.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestOrderBy.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsListRequestOrderBy: core.serialization.Schema< serializers.hris.EmploymentsListRequestOrderBy.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsListRequestRemoteFields.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestRemoteFields.ts similarity index 91% rename from src/serialization/resources/hris/types/EmploymentsListRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestRemoteFields.ts index 41f65175..1825993c 100644 --- a/src/serialization/resources/hris/types/EmploymentsListRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsListRequestRemoteFields: core.serialization.Schema< serializers.hris.EmploymentsListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsListRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestShowEnumOrigins.ts similarity index 91% rename from src/serialization/resources/hris/types/EmploymentsListRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestShowEnumOrigins.ts index 9738990a..840a57b2 100644 --- a/src/serialization/resources/hris/types/EmploymentsListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsListRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.EmploymentsListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts similarity index 76% rename from src/serialization/resources/hris/types/EmploymentsRetrieveRequestExpand.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts index 53f5fbdd..697f76d2 100644 --- a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestExpand.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsRetrieveRequestExpand: core.serialization.Schema< serializers.hris.EmploymentsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestRemoteFields.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestRemoteFields.ts similarity index 91% rename from src/serialization/resources/hris/types/EmploymentsRetrieveRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestRemoteFields.ts index e5170be7..5aa66921 100644 --- a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsRetrieveRequestRemoteFields: core.serialization.Schema< serializers.hris.EmploymentsRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestShowEnumOrigins.ts similarity index 91% rename from src/serialization/resources/hris/types/EmploymentsRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestShowEnumOrigins.ts index 014d909e..45f9ccd9 100644 --- a/src/serialization/resources/hris/types/EmploymentsRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const EmploymentsRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.EmploymentsRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/resources/employments/types/index.ts b/src/serialization/resources/hris/resources/employments/types/index.ts new file mode 100644 index 00000000..4d767a4f --- /dev/null +++ b/src/serialization/resources/hris/resources/employments/types/index.ts @@ -0,0 +1,7 @@ +export * from "./EmploymentsListRequestExpand"; +export * from "./EmploymentsListRequestOrderBy"; +export * from "./EmploymentsListRequestRemoteFields"; +export * from "./EmploymentsListRequestShowEnumOrigins"; +export * from "./EmploymentsRetrieveRequestExpand"; +export * from "./EmploymentsRetrieveRequestRemoteFields"; +export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/hris/resources/index.ts b/src/serialization/resources/hris/resources/index.ts index c7aa10bd..529eb279 100644 --- a/src/serialization/resources/hris/resources/index.ts +++ b/src/serialization/resources/hris/resources/index.ts @@ -1,7 +1,28 @@ +export * as bankInfo from "./bankInfo"; +export * from "./bankInfo/types"; +export * as employeePayrollRuns from "./employeePayrollRuns"; +export * from "./employeePayrollRuns/types"; +export * as employees from "./employees"; +export * from "./employees/types"; +export * as employments from "./employments"; +export * from "./employments/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as locations from "./locations"; +export * from "./locations/types"; +export * as payrollRuns from "./payrollRuns"; +export * from "./payrollRuns/types"; +export * as timeOff from "./timeOff"; +export * from "./timeOff/types"; +export * as timeOffBalances from "./timeOffBalances"; +export * from "./timeOffBalances/types"; +export * as timesheetEntries from "./timesheetEntries"; +export * from "./timesheetEntries/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; -export * as employees from "./employees"; export * from "./employees/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; @@ -10,8 +31,6 @@ export * from "./linkToken/client/requests"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; export * from "./selectiveSync/client/requests"; -export * as timeOff from "./timeOff"; export * from "./timeOff/client/requests"; -export * as timesheetEntries from "./timesheetEntries"; export * from "./timesheetEntries/client/requests"; export * from "./webhookReceivers/client/requests"; diff --git a/src/serialization/resources/hris/resources/issues/index.ts b/src/serialization/resources/hris/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/IssuesListRequestStatus.ts b/src/serialization/resources/hris/resources/issues/types/IssuesListRequestStatus.ts similarity index 72% rename from src/serialization/resources/hris/types/IssuesListRequestStatus.ts rename to src/serialization/resources/hris/resources/issues/types/IssuesListRequestStatus.ts index 46a31223..f02b70a4 100644 --- a/src/serialization/resources/hris/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/hris/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.hris.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/hris/resources/issues/types/index.ts b/src/serialization/resources/hris/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/hris/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/hris/resources/linkedAccounts/index.ts b/src/serialization/resources/hris/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/hris/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/hris/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/hris/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index f90a77b9..5e23537f 100644 --- a/src/serialization/resources/hris/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/hris/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.hris.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/hris/resources/linkedAccounts/types/index.ts b/src/serialization/resources/hris/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/hris/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/hris/resources/locations/index.ts b/src/serialization/resources/hris/resources/locations/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/locations/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/LocationsListRequestLocationType.ts b/src/serialization/resources/hris/resources/locations/types/LocationsListRequestLocationType.ts similarity index 73% rename from src/serialization/resources/hris/types/LocationsListRequestLocationType.ts rename to src/serialization/resources/hris/resources/locations/types/LocationsListRequestLocationType.ts index 7db7e829..01980fda 100644 --- a/src/serialization/resources/hris/types/LocationsListRequestLocationType.ts +++ b/src/serialization/resources/hris/resources/locations/types/LocationsListRequestLocationType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LocationsListRequestLocationType: core.serialization.Schema< serializers.hris.LocationsListRequestLocationType.Raw, diff --git a/src/serialization/resources/hris/resources/locations/types/index.ts b/src/serialization/resources/hris/resources/locations/types/index.ts new file mode 100644 index 00000000..0db95afd --- /dev/null +++ b/src/serialization/resources/hris/resources/locations/types/index.ts @@ -0,0 +1 @@ +export * from "./LocationsListRequestLocationType"; diff --git a/src/serialization/resources/hris/resources/payrollRuns/index.ts b/src/serialization/resources/hris/resources/payrollRuns/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/payrollRuns/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/PayrollRunsListRequestRemoteFields.ts b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRemoteFields.ts similarity index 76% rename from src/serialization/resources/hris/types/PayrollRunsListRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRemoteFields.ts index 8de1f969..04f3317b 100644 --- a/src/serialization/resources/hris/types/PayrollRunsListRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PayrollRunsListRequestRemoteFields: core.serialization.Schema< serializers.hris.PayrollRunsListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/PayrollRunsListRequestRunType.ts b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRunType.ts similarity index 77% rename from src/serialization/resources/hris/types/PayrollRunsListRequestRunType.ts rename to src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRunType.ts index 11f59137..e36f0f81 100644 --- a/src/serialization/resources/hris/types/PayrollRunsListRequestRunType.ts +++ b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestRunType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PayrollRunsListRequestRunType: core.serialization.Schema< serializers.hris.PayrollRunsListRequestRunType.Raw, diff --git a/src/serialization/resources/hris/types/PayrollRunsListRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestShowEnumOrigins.ts similarity index 77% rename from src/serialization/resources/hris/types/PayrollRunsListRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestShowEnumOrigins.ts index c2f65e13..438aeaab 100644 --- a/src/serialization/resources/hris/types/PayrollRunsListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PayrollRunsListRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.PayrollRunsListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/types/PayrollRunsRetrieveRequestRemoteFields.ts b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestRemoteFields.ts similarity index 77% rename from src/serialization/resources/hris/types/PayrollRunsRetrieveRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestRemoteFields.ts index 3f240248..55378e1e 100644 --- a/src/serialization/resources/hris/types/PayrollRunsRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PayrollRunsRetrieveRequestRemoteFields: core.serialization.Schema< serializers.hris.PayrollRunsRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts similarity index 77% rename from src/serialization/resources/hris/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts index b3f4af65..8629cb5b 100644 --- a/src/serialization/resources/hris/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/payrollRuns/types/PayrollRunsRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const PayrollRunsRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.PayrollRunsRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/resources/payrollRuns/types/index.ts b/src/serialization/resources/hris/resources/payrollRuns/types/index.ts new file mode 100644 index 00000000..35a5900d --- /dev/null +++ b/src/serialization/resources/hris/resources/payrollRuns/types/index.ts @@ -0,0 +1,5 @@ +export * from "./PayrollRunsListRequestRemoteFields"; +export * from "./PayrollRunsListRequestRunType"; +export * from "./PayrollRunsListRequestShowEnumOrigins"; +export * from "./PayrollRunsRetrieveRequestRemoteFields"; +export * from "./PayrollRunsRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/hris/resources/timeOff/index.ts b/src/serialization/resources/hris/resources/timeOff/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/hris/resources/timeOff/index.ts +++ b/src/serialization/resources/hris/resources/timeOff/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/hris/types/TimeOffListRequestExpand.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts similarity index 74% rename from src/serialization/resources/hris/types/TimeOffListRequestExpand.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts index 99483751..3129a563 100644 --- a/src/serialization/resources/hris/types/TimeOffListRequestExpand.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffListRequestExpand: core.serialization.Schema< serializers.hris.TimeOffListRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffListRequestRemoteFields.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRemoteFields.ts similarity index 83% rename from src/serialization/resources/hris/types/TimeOffListRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRemoteFields.ts index ecd91262..15ed7e22 100644 --- a/src/serialization/resources/hris/types/TimeOffListRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffListRequestRemoteFields: core.serialization.Schema< serializers.hris.TimeOffListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffListRequestRequestType.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRequestType.ts similarity index 77% rename from src/serialization/resources/hris/types/TimeOffListRequestRequestType.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRequestType.ts index d8bf30ed..a893b613 100644 --- a/src/serialization/resources/hris/types/TimeOffListRequestRequestType.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestRequestType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffListRequestRequestType: core.serialization.Schema< serializers.hris.TimeOffListRequestRequestType.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffListRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestShowEnumOrigins.ts similarity index 83% rename from src/serialization/resources/hris/types/TimeOffListRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestShowEnumOrigins.ts index c150b542..7741ad3a 100644 --- a/src/serialization/resources/hris/types/TimeOffListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffListRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.TimeOffListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffListRequestStatus.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestStatus.ts similarity index 76% rename from src/serialization/resources/hris/types/TimeOffListRequestStatus.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestStatus.ts index 2e65a698..457070cf 100644 --- a/src/serialization/resources/hris/types/TimeOffListRequestStatus.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffListRequestStatus: core.serialization.Schema< serializers.hris.TimeOffListRequestStatus.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffRetrieveRequestExpand.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts similarity index 75% rename from src/serialization/resources/hris/types/TimeOffRetrieveRequestExpand.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts index 4fdea76a..6fe36ed0 100644 --- a/src/serialization/resources/hris/types/TimeOffRetrieveRequestExpand.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffRetrieveRequestExpand: core.serialization.Schema< serializers.hris.TimeOffRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffRetrieveRequestRemoteFields.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestRemoteFields.ts similarity index 83% rename from src/serialization/resources/hris/types/TimeOffRetrieveRequestRemoteFields.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestRemoteFields.ts index 1b598d54..813e8efc 100644 --- a/src/serialization/resources/hris/types/TimeOffRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffRetrieveRequestRemoteFields: core.serialization.Schema< serializers.hris.TimeOffRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/hris/types/TimeOffRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestShowEnumOrigins.ts similarity index 83% rename from src/serialization/resources/hris/types/TimeOffRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestShowEnumOrigins.ts index 532a9e02..501038f8 100644 --- a/src/serialization/resources/hris/types/TimeOffRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.hris.TimeOffRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/hris/resources/timeOff/types/index.ts b/src/serialization/resources/hris/resources/timeOff/types/index.ts new file mode 100644 index 00000000..da891165 --- /dev/null +++ b/src/serialization/resources/hris/resources/timeOff/types/index.ts @@ -0,0 +1,8 @@ +export * from "./TimeOffListRequestExpand"; +export * from "./TimeOffListRequestRemoteFields"; +export * from "./TimeOffListRequestRequestType"; +export * from "./TimeOffListRequestShowEnumOrigins"; +export * from "./TimeOffListRequestStatus"; +export * from "./TimeOffRetrieveRequestExpand"; +export * from "./TimeOffRetrieveRequestRemoteFields"; +export * from "./TimeOffRetrieveRequestShowEnumOrigins"; diff --git a/src/serialization/resources/hris/resources/timeOffBalances/index.ts b/src/serialization/resources/hris/resources/timeOffBalances/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/hris/resources/timeOffBalances/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/hris/types/TimeOffBalancesListRequestPolicyType.ts b/src/serialization/resources/hris/resources/timeOffBalances/types/TimeOffBalancesListRequestPolicyType.ts similarity index 78% rename from src/serialization/resources/hris/types/TimeOffBalancesListRequestPolicyType.ts rename to src/serialization/resources/hris/resources/timeOffBalances/types/TimeOffBalancesListRequestPolicyType.ts index 076861c9..434db0ea 100644 --- a/src/serialization/resources/hris/types/TimeOffBalancesListRequestPolicyType.ts +++ b/src/serialization/resources/hris/resources/timeOffBalances/types/TimeOffBalancesListRequestPolicyType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimeOffBalancesListRequestPolicyType: core.serialization.Schema< serializers.hris.TimeOffBalancesListRequestPolicyType.Raw, diff --git a/src/serialization/resources/hris/resources/timeOffBalances/types/index.ts b/src/serialization/resources/hris/resources/timeOffBalances/types/index.ts new file mode 100644 index 00000000..14ee2ec5 --- /dev/null +++ b/src/serialization/resources/hris/resources/timeOffBalances/types/index.ts @@ -0,0 +1 @@ +export * from "./TimeOffBalancesListRequestPolicyType"; diff --git a/src/serialization/resources/hris/resources/timesheetEntries/index.ts b/src/serialization/resources/hris/resources/timesheetEntries/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/hris/resources/timesheetEntries/index.ts +++ b/src/serialization/resources/hris/resources/timesheetEntries/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/hris/types/TimesheetEntriesListRequestOrderBy.ts b/src/serialization/resources/hris/resources/timesheetEntries/types/TimesheetEntriesListRequestOrderBy.ts similarity index 75% rename from src/serialization/resources/hris/types/TimesheetEntriesListRequestOrderBy.ts rename to src/serialization/resources/hris/resources/timesheetEntries/types/TimesheetEntriesListRequestOrderBy.ts index 3c9919c2..85b6ed48 100644 --- a/src/serialization/resources/hris/types/TimesheetEntriesListRequestOrderBy.ts +++ b/src/serialization/resources/hris/resources/timesheetEntries/types/TimesheetEntriesListRequestOrderBy.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TimesheetEntriesListRequestOrderBy: core.serialization.Schema< serializers.hris.TimesheetEntriesListRequestOrderBy.Raw, diff --git a/src/serialization/resources/hris/resources/timesheetEntries/types/index.ts b/src/serialization/resources/hris/resources/timesheetEntries/types/index.ts new file mode 100644 index 00000000..f09ad04a --- /dev/null +++ b/src/serialization/resources/hris/resources/timesheetEntries/types/index.ts @@ -0,0 +1 @@ +export * from "./TimesheetEntriesListRequestOrderBy"; diff --git a/src/serialization/resources/hris/types/index.ts b/src/serialization/resources/hris/types/index.ts index 5c06f28b..4b6d0f7c 100644 --- a/src/serialization/resources/hris/types/index.ts +++ b/src/serialization/resources/hris/types/index.ts @@ -1,41 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./BankInfoListRequestAccountType"; -export * from "./BankInfoListRequestOrderBy"; -export * from "./EmployeePayrollRunsListRequestExpand"; -export * from "./EmployeePayrollRunsRetrieveRequestExpand"; -export * from "./EmployeesListRequestEmploymentStatus"; -export * from "./EmployeesListRequestExpand"; -export * from "./EmployeesListRequestRemoteFields"; -export * from "./EmployeesListRequestShowEnumOrigins"; -export * from "./EmployeesRetrieveRequestExpand"; -export * from "./EmployeesRetrieveRequestRemoteFields"; -export * from "./EmployeesRetrieveRequestShowEnumOrigins"; -export * from "./IgnoreCommonModelRequestReason"; -export * from "./EmploymentsListRequestExpand"; -export * from "./EmploymentsListRequestOrderBy"; -export * from "./EmploymentsListRequestRemoteFields"; -export * from "./EmploymentsListRequestShowEnumOrigins"; -export * from "./EmploymentsRetrieveRequestExpand"; -export * from "./EmploymentsRetrieveRequestRemoteFields"; -export * from "./EmploymentsRetrieveRequestShowEnumOrigins"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./LocationsListRequestLocationType"; -export * from "./PayrollRunsListRequestRemoteFields"; -export * from "./PayrollRunsListRequestRunType"; -export * from "./PayrollRunsListRequestShowEnumOrigins"; -export * from "./PayrollRunsRetrieveRequestRemoteFields"; -export * from "./PayrollRunsRetrieveRequestShowEnumOrigins"; -export * from "./TimeOffListRequestExpand"; -export * from "./TimeOffListRequestRemoteFields"; -export * from "./TimeOffListRequestRequestType"; -export * from "./TimeOffListRequestShowEnumOrigins"; -export * from "./TimeOffListRequestStatus"; -export * from "./TimeOffBalancesListRequestPolicyType"; -export * from "./TimeOffRetrieveRequestExpand"; -export * from "./TimeOffRetrieveRequestRemoteFields"; -export * from "./TimeOffRetrieveRequestShowEnumOrigins"; -export * from "./TimesheetEntriesListRequestOrderBy"; export * from "./AccountDetails"; export * from "./AccountDetailsAndActions"; export * from "./AccountDetailsAndActionsIntegration"; @@ -44,34 +6,34 @@ export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AccountTypeEnum"; export * from "./AsyncPassthroughReciept"; -export * from "./AuditLogEvent"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; -export * from "./BankInfo"; export * from "./BankInfoEmployee"; export * from "./BankInfoAccountType"; -export * from "./Benefit"; +export * from "./BankInfo"; export * from "./BenefitEmployee"; +export * from "./Benefit"; export * from "./BenefitPlanTypeEnum"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; export * from "./CommonModelScopesBodyRequest"; export * from "./Company"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; export * from "./CountryEnum"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./Deduction"; -export * from "./Dependent"; export * from "./DependentRelationship"; export * from "./DependentGender"; -export * from "./Earning"; +export * from "./Dependent"; export * from "./EarningType"; +export * from "./Earning"; export * from "./EarningTypeEnum"; -export * from "./Employee"; export * from "./EmployeeCompany"; export * from "./EmployeeGroupsItem"; export * from "./EmployeeEmploymentsItem"; @@ -84,10 +46,10 @@ export * from "./EmployeeGender"; export * from "./EmployeeEthnicity"; export * from "./EmployeeMaritalStatus"; export * from "./EmployeeEmploymentStatus"; -export * from "./EmployeePayrollRun"; +export * from "./Employee"; export * from "./EmployeePayrollRunEmployee"; export * from "./EmployeePayrollRunPayrollRun"; -export * from "./EmployeeRequest"; +export * from "./EmployeePayrollRun"; export * from "./EmployeeRequestCompany"; export * from "./EmployeeRequestGroupsItem"; export * from "./EmployeeRequestEmploymentsItem"; @@ -100,10 +62,10 @@ export * from "./EmployeeRequestGender"; export * from "./EmployeeRequestEthnicity"; export * from "./EmployeeRequestMaritalStatus"; export * from "./EmployeeRequestEmploymentStatus"; +export * from "./EmployeeRequest"; export * from "./EmployeeResponse"; -export * from "./EmployerBenefit"; export * from "./EmployerBenefitBenefitPlanType"; -export * from "./Employment"; +export * from "./EmployerBenefit"; export * from "./EmploymentEmployee"; export * from "./EmploymentPayPeriod"; export * from "./EmploymentPayFrequency"; @@ -111,6 +73,7 @@ export * from "./EmploymentPayCurrency"; export * from "./EmploymentPayGroup"; export * from "./EmploymentFlsaStatus"; export * from "./EmploymentEmploymentType"; +export * from "./Employment"; export * from "./EmploymentStatusEnum"; export * from "./EmploymentTypeEnum"; export * from "./EnabledActionsEnum"; @@ -120,11 +83,11 @@ export * from "./EthnicityEnum"; export * from "./EventTypeEnum"; export * from "./FlsaStatusEnum"; export * from "./GenderEnum"; -export * from "./Group"; export * from "./GroupType"; +export * from "./Group"; export * from "./GroupTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./LinkToken"; export * from "./LinkedAccountCondition"; @@ -132,16 +95,16 @@ export * from "./LinkedAccountConditionRequest"; export * from "./LinkedAccountSelectiveSyncConfiguration"; export * from "./LinkedAccountSelectiveSyncConfigurationRequest"; export * from "./LinkedAccountStatus"; -export * from "./Location"; export * from "./LocationCountry"; export * from "./LocationLocationType"; +export * from "./Location"; export * from "./LocationTypeEnum"; export * from "./MaritalStatusEnum"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAuditLogEventList"; @@ -168,16 +131,16 @@ export * from "./PayCurrencyEnum"; export * from "./PayFrequencyEnum"; export * from "./PayGroup"; export * from "./PayPeriodEnum"; -export * from "./PayrollRun"; export * from "./PayrollRunRunState"; export * from "./PayrollRunRunType"; +export * from "./PayrollRun"; export * from "./PolicyTypeEnum"; export * from "./ReasonEnum"; export * from "./RelationshipEnum"; export * from "./RemoteData"; export * from "./RemoteKey"; -export * from "./RemoteResponse"; export * from "./RemoteResponseResponseType"; +export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; export * from "./RequestTypeEnum"; export * from "./ResponseTypeEnum"; @@ -188,23 +151,23 @@ export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tax"; -export * from "./Team"; export * from "./TeamParentTeam"; -export * from "./TimeOff"; +export * from "./Team"; export * from "./TimeOffEmployee"; export * from "./TimeOffApprover"; export * from "./TimeOffStatus"; export * from "./TimeOffUnits"; export * from "./TimeOffRequestType"; -export * from "./TimeOffBalance"; +export * from "./TimeOff"; export * from "./TimeOffBalanceEmployee"; export * from "./TimeOffBalancePolicyType"; -export * from "./TimeOffRequest"; +export * from "./TimeOffBalance"; export * from "./TimeOffRequestEmployee"; export * from "./TimeOffRequestApprover"; export * from "./TimeOffRequestStatus"; export * from "./TimeOffRequestUnits"; export * from "./TimeOffRequestRequestType"; +export * from "./TimeOffRequest"; export * from "./TimeOffResponse"; export * from "./TimeOffStatusEnum"; export * from "./TimesheetEntry"; diff --git a/src/serialization/resources/ticketing/index.ts b/src/serialization/resources/ticketing/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/ticketing/index.ts +++ b/src/serialization/resources/ticketing/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/ticketing/resources/collections/index.ts b/src/serialization/resources/ticketing/resources/collections/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/collections/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ticketing/types/CollectionsListRequestCollectionType.ts b/src/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestCollectionType.ts similarity index 75% rename from src/serialization/resources/ticketing/types/CollectionsListRequestCollectionType.ts rename to src/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestCollectionType.ts index 8b3d300e..6117df40 100644 --- a/src/serialization/resources/ticketing/types/CollectionsListRequestCollectionType.ts +++ b/src/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestCollectionType.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CollectionsListRequestCollectionType: core.serialization.Schema< serializers.ticketing.CollectionsListRequestCollectionType.Raw, diff --git a/src/serialization/resources/ticketing/types/CollectionsUsersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.ts similarity index 75% rename from src/serialization/resources/ticketing/types/CollectionsUsersListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.ts index be025229..c520f4b7 100644 --- a/src/serialization/resources/ticketing/types/CollectionsUsersListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CollectionsUsersListRequestExpand: core.serialization.Schema< serializers.ticketing.CollectionsUsersListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/resources/collections/types/index.ts b/src/serialization/resources/ticketing/resources/collections/types/index.ts new file mode 100644 index 00000000..5531a1bf --- /dev/null +++ b/src/serialization/resources/ticketing/resources/collections/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CollectionsListRequestCollectionType"; +export * from "./CollectionsUsersListRequestExpand"; diff --git a/src/serialization/resources/ticketing/resources/comments/index.ts b/src/serialization/resources/ticketing/resources/comments/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ticketing/resources/comments/index.ts +++ b/src/serialization/resources/ticketing/resources/comments/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ticketing/types/CommentsListRequestExpand.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts similarity index 81% rename from src/serialization/resources/ticketing/types/CommentsListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts index dace72b0..cbe6cc4f 100644 --- a/src/serialization/resources/ticketing/types/CommentsListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CommentsListRequestExpand: core.serialization.Schema< serializers.ticketing.CommentsListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/types/CommentsRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts similarity index 82% rename from src/serialization/resources/ticketing/types/CommentsRetrieveRequestExpand.ts rename to src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts index cb0aa3de..a8dcdef8 100644 --- a/src/serialization/resources/ticketing/types/CommentsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const CommentsRetrieveRequestExpand: core.serialization.Schema< serializers.ticketing.CommentsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/resources/comments/types/index.ts b/src/serialization/resources/ticketing/resources/comments/types/index.ts new file mode 100644 index 00000000..cbff3a9f --- /dev/null +++ b/src/serialization/resources/ticketing/resources/comments/types/index.ts @@ -0,0 +1,2 @@ +export * from "./CommentsListRequestExpand"; +export * from "./CommentsRetrieveRequestExpand"; diff --git a/src/serialization/resources/ticketing/resources/index.ts b/src/serialization/resources/ticketing/resources/index.ts index e7b0c6c1..bd65d37b 100644 --- a/src/serialization/resources/ticketing/resources/index.ts +++ b/src/serialization/resources/ticketing/resources/index.ts @@ -1,9 +1,22 @@ +export * as collections from "./collections"; +export * from "./collections/types"; +export * as comments from "./comments"; +export * from "./comments/types"; +export * as issues from "./issues"; +export * from "./issues/types"; +export * as linkedAccounts from "./linkedAccounts"; +export * from "./linkedAccounts/types"; +export * as projects from "./projects"; +export * from "./projects/types"; +export * as tickets from "./tickets"; +export * from "./tickets/types"; +export * as users from "./users"; +export * from "./users/types"; export * as selectiveSync from "./selectiveSync"; export * as forceResync from "./forceResync"; export * as webhookReceivers from "./webhookReceivers"; export * as attachments from "./attachments"; export * from "./attachments/client/requests"; -export * as comments from "./comments"; export * from "./comments/client/requests"; export * as generateKey from "./generateKey"; export * from "./generateKey/client/requests"; @@ -12,6 +25,5 @@ export * from "./linkToken/client/requests"; export * as regenerateKey from "./regenerateKey"; export * from "./regenerateKey/client/requests"; export * from "./selectiveSync/client/requests"; -export * as tickets from "./tickets"; export * from "./tickets/client/requests"; export * from "./webhookReceivers/client/requests"; diff --git a/src/serialization/resources/ticketing/resources/issues/index.ts b/src/serialization/resources/ticketing/resources/issues/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/issues/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ticketing/types/IssuesListRequestStatus.ts b/src/serialization/resources/ticketing/resources/issues/types/IssuesListRequestStatus.ts similarity index 73% rename from src/serialization/resources/ticketing/types/IssuesListRequestStatus.ts rename to src/serialization/resources/ticketing/resources/issues/types/IssuesListRequestStatus.ts index 761af099..90629d5b 100644 --- a/src/serialization/resources/ticketing/types/IssuesListRequestStatus.ts +++ b/src/serialization/resources/ticketing/resources/issues/types/IssuesListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const IssuesListRequestStatus: core.serialization.Schema< serializers.ticketing.IssuesListRequestStatus.Raw, diff --git a/src/serialization/resources/ticketing/resources/issues/types/index.ts b/src/serialization/resources/ticketing/resources/issues/types/index.ts new file mode 100644 index 00000000..554cdf48 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/issues/types/index.ts @@ -0,0 +1 @@ +export * from "./IssuesListRequestStatus"; diff --git a/src/serialization/resources/ticketing/resources/linkedAccounts/index.ts b/src/serialization/resources/ticketing/resources/linkedAccounts/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/linkedAccounts/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ticketing/types/LinkedAccountsListRequestCategory.ts b/src/serialization/resources/ticketing/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts similarity index 78% rename from src/serialization/resources/ticketing/types/LinkedAccountsListRequestCategory.ts rename to src/serialization/resources/ticketing/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts index 5f842766..28e34ca4 100644 --- a/src/serialization/resources/ticketing/types/LinkedAccountsListRequestCategory.ts +++ b/src/serialization/resources/ticketing/resources/linkedAccounts/types/LinkedAccountsListRequestCategory.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const LinkedAccountsListRequestCategory: core.serialization.Schema< serializers.ticketing.LinkedAccountsListRequestCategory.Raw, diff --git a/src/serialization/resources/ticketing/resources/linkedAccounts/types/index.ts b/src/serialization/resources/ticketing/resources/linkedAccounts/types/index.ts new file mode 100644 index 00000000..91de6010 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/linkedAccounts/types/index.ts @@ -0,0 +1 @@ +export * from "./LinkedAccountsListRequestCategory"; diff --git a/src/serialization/resources/ticketing/resources/projects/index.ts b/src/serialization/resources/ticketing/resources/projects/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/projects/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ticketing/types/ProjectsUsersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts similarity index 75% rename from src/serialization/resources/ticketing/types/ProjectsUsersListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts index 9d855edf..5648d881 100644 --- a/src/serialization/resources/ticketing/types/ProjectsUsersListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const ProjectsUsersListRequestExpand: core.serialization.Schema< serializers.ticketing.ProjectsUsersListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/resources/projects/types/index.ts b/src/serialization/resources/ticketing/resources/projects/types/index.ts new file mode 100644 index 00000000..d28a1cea --- /dev/null +++ b/src/serialization/resources/ticketing/resources/projects/types/index.ts @@ -0,0 +1 @@ +export * from "./ProjectsUsersListRequestExpand"; diff --git a/src/serialization/resources/ticketing/resources/tickets/index.ts b/src/serialization/resources/ticketing/resources/tickets/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/ticketing/resources/tickets/index.ts +++ b/src/serialization/resources/ticketing/resources/tickets/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/ticketing/types/TicketsCollaboratorsListRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.ts similarity index 76% rename from src/serialization/resources/ticketing/types/TicketsCollaboratorsListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.ts index 4c8d53c4..bfef8f29 100644 --- a/src/serialization/resources/ticketing/types/TicketsCollaboratorsListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsCollaboratorsListRequestExpand: core.serialization.Schema< serializers.ticketing.TicketsCollaboratorsListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsListRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts similarity index 98% rename from src/serialization/resources/ticketing/types/TicketsListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts index 15929bee..e98bb303 100644 --- a/src/serialization/resources/ticketing/types/TicketsListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsListRequestExpand: core.serialization.Schema< serializers.ticketing.TicketsListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsListRequestPriority.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestPriority.ts similarity index 74% rename from src/serialization/resources/ticketing/types/TicketsListRequestPriority.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestPriority.ts index 101b574f..1a829a33 100644 --- a/src/serialization/resources/ticketing/types/TicketsListRequestPriority.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestPriority.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsListRequestPriority: core.serialization.Schema< serializers.ticketing.TicketsListRequestPriority.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsListRequestRemoteFields.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestRemoteFields.ts similarity index 83% rename from src/serialization/resources/ticketing/types/TicketsListRequestRemoteFields.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestRemoteFields.ts index 0159f308..afc02b49 100644 --- a/src/serialization/resources/ticketing/types/TicketsListRequestRemoteFields.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsListRequestRemoteFields: core.serialization.Schema< serializers.ticketing.TicketsListRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsListRequestShowEnumOrigins.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestShowEnumOrigins.ts similarity index 83% rename from src/serialization/resources/ticketing/types/TicketsListRequestShowEnumOrigins.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestShowEnumOrigins.ts index a20ab89c..4db4e883 100644 --- a/src/serialization/resources/ticketing/types/TicketsListRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsListRequestShowEnumOrigins: core.serialization.Schema< serializers.ticketing.TicketsListRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsListRequestStatus.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.ts similarity index 75% rename from src/serialization/resources/ticketing/types/TicketsListRequestStatus.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.ts index 12cbeb60..214654aa 100644 --- a/src/serialization/resources/ticketing/types/TicketsListRequestStatus.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsListRequestStatus: core.serialization.Schema< serializers.ticketing.TicketsListRequestStatus.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts similarity index 98% rename from src/serialization/resources/ticketing/types/TicketsRetrieveRequestExpand.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts index 66721cb1..3bce65c1 100644 --- a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsRetrieveRequestExpand: core.serialization.Schema< serializers.ticketing.TicketsRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestRemoteFields.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestRemoteFields.ts similarity index 83% rename from src/serialization/resources/ticketing/types/TicketsRetrieveRequestRemoteFields.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestRemoteFields.ts index 6e10a231..f2560382 100644 --- a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestRemoteFields.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestRemoteFields.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsRetrieveRequestRemoteFields: core.serialization.Schema< serializers.ticketing.TicketsRetrieveRequestRemoteFields.Raw, diff --git a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestShowEnumOrigins.ts b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestShowEnumOrigins.ts similarity index 84% rename from src/serialization/resources/ticketing/types/TicketsRetrieveRequestShowEnumOrigins.ts rename to src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestShowEnumOrigins.ts index ff11c336..a78c67b2 100644 --- a/src/serialization/resources/ticketing/types/TicketsRetrieveRequestShowEnumOrigins.ts +++ b/src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestShowEnumOrigins.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const TicketsRetrieveRequestShowEnumOrigins: core.serialization.Schema< serializers.ticketing.TicketsRetrieveRequestShowEnumOrigins.Raw, diff --git a/src/serialization/resources/ticketing/resources/tickets/types/index.ts b/src/serialization/resources/ticketing/resources/tickets/types/index.ts new file mode 100644 index 00000000..db8c09ad --- /dev/null +++ b/src/serialization/resources/ticketing/resources/tickets/types/index.ts @@ -0,0 +1,9 @@ +export * from "./TicketsListRequestExpand"; +export * from "./TicketsListRequestPriority"; +export * from "./TicketsListRequestRemoteFields"; +export * from "./TicketsListRequestShowEnumOrigins"; +export * from "./TicketsListRequestStatus"; +export * from "./TicketsRetrieveRequestExpand"; +export * from "./TicketsRetrieveRequestRemoteFields"; +export * from "./TicketsRetrieveRequestShowEnumOrigins"; +export * from "./TicketsCollaboratorsListRequestExpand"; diff --git a/src/serialization/resources/ticketing/resources/users/index.ts b/src/serialization/resources/ticketing/resources/users/index.ts new file mode 100644 index 00000000..eea524d6 --- /dev/null +++ b/src/serialization/resources/ticketing/resources/users/index.ts @@ -0,0 +1 @@ +export * from "./types"; diff --git a/src/serialization/resources/ticketing/types/UsersListRequestExpand.ts b/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts similarity index 73% rename from src/serialization/resources/ticketing/types/UsersListRequestExpand.ts rename to src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts index ba37f29e..cce3771e 100644 --- a/src/serialization/resources/ticketing/types/UsersListRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const UsersListRequestExpand: core.serialization.Schema< serializers.ticketing.UsersListRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/types/UsersRetrieveRequestExpand.ts b/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts similarity index 74% rename from src/serialization/resources/ticketing/types/UsersRetrieveRequestExpand.ts rename to src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts index 5732c3f3..c3f830f8 100644 --- a/src/serialization/resources/ticketing/types/UsersRetrieveRequestExpand.ts +++ b/src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts @@ -2,9 +2,9 @@ * 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"; +import * as serializers from "../../../../.."; +import * as Merge from "../../../../../../api"; +import * as core from "../../../../../../core"; export const UsersRetrieveRequestExpand: core.serialization.Schema< serializers.ticketing.UsersRetrieveRequestExpand.Raw, diff --git a/src/serialization/resources/ticketing/resources/users/types/index.ts b/src/serialization/resources/ticketing/resources/users/types/index.ts new file mode 100644 index 00000000..e07d9f0f --- /dev/null +++ b/src/serialization/resources/ticketing/resources/users/types/index.ts @@ -0,0 +1,2 @@ +export * from "./UsersListRequestExpand"; +export * from "./UsersRetrieveRequestExpand"; diff --git a/src/serialization/resources/ticketing/types/index.ts b/src/serialization/resources/ticketing/types/index.ts index 36734d4a..9f59ff42 100644 --- a/src/serialization/resources/ticketing/types/index.ts +++ b/src/serialization/resources/ticketing/types/index.ts @@ -1,22 +1,3 @@ -export * from "./DataPassthroughRequest"; -export * from "./CollectionsListRequestCollectionType"; -export * from "./CollectionsUsersListRequestExpand"; -export * from "./CommentsListRequestExpand"; -export * from "./CommentsRetrieveRequestExpand"; -export * from "./IssuesListRequestStatus"; -export * from "./LinkedAccountsListRequestCategory"; -export * from "./ProjectsUsersListRequestExpand"; -export * from "./TicketsListRequestExpand"; -export * from "./TicketsListRequestPriority"; -export * from "./TicketsListRequestRemoteFields"; -export * from "./TicketsListRequestShowEnumOrigins"; -export * from "./TicketsListRequestStatus"; -export * from "./TicketsRetrieveRequestExpand"; -export * from "./TicketsRetrieveRequestRemoteFields"; -export * from "./TicketsRetrieveRequestShowEnumOrigins"; -export * from "./TicketsCollaboratorsListRequestExpand"; -export * from "./UsersListRequestExpand"; -export * from "./UsersRetrieveRequestExpand"; export * from "./AccessLevelEnum"; export * from "./Account"; export * from "./AccountDetails"; @@ -26,36 +7,37 @@ export * from "./AccountDetailsAndActionsStatusEnum"; export * from "./AccountIntegration"; export * from "./AccountToken"; export * from "./AsyncPassthroughReciept"; -export * from "./Attachment"; export * from "./AttachmentTicket"; -export * from "./AttachmentRequest"; +export * from "./Attachment"; export * from "./AttachmentRequestTicket"; -export * from "./AuditLogEvent"; +export * from "./AttachmentRequest"; export * from "./AuditLogEventRole"; export * from "./AuditLogEventEventType"; +export * from "./AuditLogEvent"; export * from "./AvailableActions"; export * from "./CategoriesEnum"; export * from "./CategoryEnum"; -export * from "./Collection"; export * from "./CollectionCollectionType"; export * from "./CollectionParentCollection"; export * from "./CollectionAccessLevel"; +export * from "./Collection"; export * from "./CollectionTypeEnum"; -export * from "./Comment"; export * from "./CommentUser"; export * from "./CommentContact"; export * from "./CommentTicket"; -export * from "./CommentRequest"; +export * from "./Comment"; export * from "./CommentRequestUser"; export * from "./CommentRequestContact"; export * from "./CommentRequestTicket"; +export * from "./CommentRequest"; export * from "./CommentResponse"; export * from "./CommonModelScopesBodyRequest"; -export * from "./ConditionSchema"; export * from "./ConditionSchemaConditionType"; +export * from "./ConditionSchema"; export * from "./ConditionTypeEnum"; -export * from "./Contact"; export * from "./ContactAccount"; +export * from "./Contact"; +export * from "./DataPassthroughRequest"; export * from "./DebugModeLog"; export * from "./DebugModelLogSummary"; export * from "./EnabledActionsEnum"; @@ -64,8 +46,8 @@ export * from "./ErrorValidationProblem"; export * from "./EventTypeEnum"; export * from "./FieldFormatEnum"; export * from "./FieldTypeEnum"; -export * from "./Issue"; export * from "./IssueStatus"; +export * from "./Issue"; export * from "./IssueStatusEnum"; export * from "./ItemFormatEnum"; export * from "./ItemSchema"; @@ -79,8 +61,8 @@ export * from "./LinkedAccountStatus"; export * from "./MetaResponse"; export * from "./MethodEnum"; export * from "./ModelOperation"; -export * from "./MultipartFormFieldRequest"; export * from "./MultipartFormFieldRequestEncoding"; +export * from "./MultipartFormFieldRequest"; export * from "./OperatorSchema"; export * from "./PaginatedAccountDetailsAndActionsList"; export * from "./PaginatedAccountList"; @@ -99,34 +81,33 @@ export * from "./PaginatedTagList"; export * from "./PaginatedTeamList"; export * from "./PaginatedTicketList"; export * from "./PaginatedUserList"; -export * from "./PatchedTicketRequest"; export * from "./PatchedTicketRequestStatus"; export * from "./PatchedTicketRequestPriority"; +export * from "./PatchedTicketRequest"; export * from "./PriorityEnum"; export * from "./Project"; export * from "./RemoteData"; -export * from "./RemoteField"; export * from "./RemoteFieldRemoteFieldClass"; -export * from "./RemoteFieldClass"; +export * from "./RemoteField"; export * from "./RemoteFieldClassFieldType"; export * from "./RemoteFieldClassFieldFormat"; export * from "./RemoteFieldClassFieldChoicesItem"; -export * from "./RemoteFieldRequest"; +export * from "./RemoteFieldClass"; export * from "./RemoteFieldRequestRemoteFieldClass"; +export * from "./RemoteFieldRequest"; export * from "./RemoteKey"; export * from "./RemoteResponse"; export * from "./RequestFormatEnum"; export * from "./ResponseTypeEnum"; -export * from "./Role"; export * from "./RoleTicketActionsItem"; export * from "./RoleTicketAccess"; +export * from "./Role"; export * from "./RoleEnum"; export * from "./SelectiveSyncConfigurationsUsageEnum"; export * from "./SyncStatus"; export * from "./SyncStatusStatusEnum"; export * from "./Tag"; export * from "./Team"; -export * from "./Ticket"; export * from "./TicketAssigneesItem"; export * from "./TicketCreator"; export * from "./TicketStatus"; @@ -136,9 +117,9 @@ export * from "./TicketContact"; export * from "./TicketParentTicket"; export * from "./TicketAttachmentsItem"; export * from "./TicketPriority"; +export * from "./Ticket"; export * from "./TicketAccessEnum"; export * from "./TicketActionsEnum"; -export * from "./TicketRequest"; export * from "./TicketRequestAssigneesItem"; export * from "./TicketRequestCreator"; export * from "./TicketRequestStatus"; @@ -148,12 +129,13 @@ export * from "./TicketRequestContact"; export * from "./TicketRequestParentTicket"; export * from "./TicketRequestAttachmentsItem"; export * from "./TicketRequestPriority"; +export * from "./TicketRequest"; export * from "./TicketResponse"; export * from "./TicketStatusEnum"; export * from "./TicketingAttachmentResponse"; -export * from "./User"; export * from "./UserTeamsItem"; export * from "./UserRolesItem"; +export * from "./User"; export * from "./ValidationProblemSource"; export * from "./WarningValidationProblem"; export * from "./WebhookReceiver"; diff --git a/yarn.lock b/yarn.lock index 88b7583a..1f7b12b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,33 +2,49 @@ # yarn lockfile v1 +"@types/node-fetch@2.6.9": + version "2.6.9" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.9.tgz#15f529d247f1ede1824f7e7acdaa192d5f28071e" + integrity sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA== + dependencies: + "@types/node" "*" + form-data "^4.0.0" + +"@types/node@*": + version "20.11.10" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.10.tgz#6c3de8974d65c362f82ee29db6b5adf4205462f9" + integrity sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg== + dependencies: + undici-types "~5.26.4" + "@types/node@17.0.33": version "17.0.33" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.33.tgz#3c1879b276dc63e73030bb91165e62a4509cd506" integrity sha512-miWq2m2FiQZmaHfdZNcbpp9PuXg34W5JZ5CrJ/BaS70VuhoJENBEQybeiYSaPBRNq6KQGnjfEnc/F3PN++D+XQ== +"@types/qs@6.9.8": + version "6.9.8" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.8.tgz#f2a7de3c107b89b441e071d5472e6b726b4adf45" + integrity sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg== + "@types/url-join@4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/url-join/-/url-join-4.0.1.tgz#4989c97f969464647a8586c7252d97b449cdc045" integrity sha512-wDXw9LEEUHyV+7UWy7U315nrJGJ7p1BzaCxDpEoLr789Dk1WDVMMlf3iBfbG2F8NdWnYyFbtTxUn2ZNbm1Q4LQ== -"@ungap/url-search-params@0.2.2": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@ungap/url-search-params/-/url-search-params-0.2.2.tgz#2de3bdec21476a9b70ef11fd7b794752f9afa04c" - integrity sha512-qQsguKXZVKdCixOHX9jqnX/K/1HekPDpGKyEcXHT+zR6EjGA7S4boSuelL4uuPv6YfhN0n8c4UxW+v/Z3gM2iw== - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -axios@0.27.2: - version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== +call-bind@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" + integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== dependencies: - follow-redirects "^1.14.9" - form-data "^4.0.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.1" + set-function-length "^1.1.1" combined-stream@^1.0.8: version "1.0.8" @@ -37,17 +53,21 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" +define-data-property@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" + integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== -follow-redirects@^1.14.9: - version "1.15.4" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" - integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== - -form-data@^4.0.0: +form-data@4.0.0, form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== @@ -56,6 +76,52 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" + integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== + dependencies: + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" + integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== + dependencies: + get-intrinsic "^1.2.2" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + js-base64@3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.2.tgz#816d11d81a8aff241603d19ce5761e13e41d7745" @@ -73,17 +139,79 @@ mime-types@^2.1.12: dependencies: mime-db "1.52.0" +node-fetch@2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + +object-inspect@^1.9.0: + version "1.13.1" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== + prettier@2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +qs@6.11.2: + version "6.11.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" + integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + dependencies: + side-channel "^1.0.4" + +set-function-length@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.0.tgz#2f81dc6c16c7059bda5ab7c82c11f03a515ed8e1" + integrity sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w== + dependencies: + define-data-property "^1.1.1" + function-bind "^1.1.2" + get-intrinsic "^1.2.2" + gopd "^1.0.1" + has-property-descriptors "^1.0.1" + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + typescript@4.6.4: version "4.6.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + url-join@4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.1.tgz#b642e21a2646808ffa178c4c5fda39844e12cde7" integrity sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA== + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0"