Skip to content

@nht-pandats/sdk / @nht-pandats/sdk/clients / @nht-pandats/sdk/clients/affiliateApi / AffiliateApiDecryptorModule

Class: AffiliateApiDecryptorModule

@nht-pandats/sdk/clients.@nht-pandats/sdk/clients/affiliateApi.AffiliateApiDecryptorModule

A module for interacting with the Affiliate API's decryptor endpoints.

Since

v1.20240429.0

Undocumented

Methods

decrypt

decrypt(encrypted): Promise<AffiliateApiOperationResponse<string, string>>

Decrypts the given encrypted string.

Parameters

NameTypeDescription
encryptedstringThe encrypted string to decrypt.

Returns

Promise<AffiliateApiOperationResponse<string, string>>

A promise that resolves with the decrypted string.

Throws

AffiliateApiOperationError If the operation was not successful.

Undocumented

Defined in

src/clients/affiliateApi/decryptor.ts:28


mdecrypt

mdecrypt(encrypted): Promise<AffiliateApiOperationResponse<string[], string[]>>

Decrypts the given encrypted strings.

Parameters

NameTypeDescription
encryptedstring[]The encrypted strings to decrypt.

Returns

Promise<AffiliateApiOperationResponse<string[], string[]>>

A promise that resolves with the decrypted strings.

Throws

AffiliateApiOperationError If the operation was not successful.

Undocumented

Defined in

src/clients/affiliateApi/decryptor.ts:44