@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
33 lines (32 loc) • 1.1 kB
TypeScript
export declare class PublicUpdateSubscriptionStatusRequest {
'emailAddress': string;
'legalBasis'?: PublicUpdateSubscriptionStatusRequestLegalBasisEnum;
'subscriptionId': string;
'legalBasisExplanation'?: string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare enum PublicUpdateSubscriptionStatusRequestLegalBasisEnum {
LegitimateInterestPql = "LEGITIMATE_INTEREST_PQL",
LegitimateInterestClient = "LEGITIMATE_INTEREST_CLIENT",
PerformanceOfContract = "PERFORMANCE_OF_CONTRACT",
ConsentWithNotice = "CONSENT_WITH_NOTICE",
NonGdpr = "NON_GDPR",
ProcessAndStore = "PROCESS_AND_STORE",
LegitimateInterestOther = "LEGITIMATE_INTEREST_OTHER"
}