ApplicationInstall

A document representing one configured install of one Application. The platform creates and manages it; you read and (rarely) update it from inside connectors and custom nodes.

import ApplicationInstall from '@orchesty/nodejs-sdk/dist/lib/Application/Database/ApplicationInstall';

Methods provided #

MethodReturnsPurpose
getKey()stringApplication name (matches getName() of the Application class).
getUser()stringUser identifier this install belongs to.
getSettings()Record<string, Record<string, unknown>>Form values, organized by form key. Decrypted on read.
addSettings(values)thisMerge new encrypted settings (credentials, tokens).
getNonEncryptedSettings()Record<string, unknown>Form values not subject to encryption (display fields, watermarks).
addNonEncryptedSettings(values)thisMerge new non-encrypted settings.
getCreated() / getUpdated()DateLifecycle timestamps.

Persistence #

Use ApplicationInstallRepository (also exported by the SDK) to persist changes:

const install = await this.getApplicationInstallFromProcess(dto);
install.addNonEncryptedSettings({ lastSyncAt: new Date().toISOString() });
await this.applicationInstallRepository.update(install);

See also #

© 2025 Orchesty Solutions. All rights reserved.