@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
| Name | Type | Description |
|---|---|---|
encrypted | string | The 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
| Name | Type | Description |
|---|---|---|
encrypted | string[] | 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