Home > @vsf-enterprise/sap-commerce-webservices-sdk > ConsentsApiFp
ConsentsApiFp variable
ConsentsApi - functional programming interface
Signature:
ConsentsApiFp: (configuration?: Configuration) => {
doGiveConsent(baseSiteId: string, consentTemplateId: string, consentTemplateVersion: number, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplate>>;
getConsentTemplate(baseSiteId: string, consentTemplateId: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplate>>;
getConsentTemplates(baseSiteId: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplateList>>;
removeConsent(baseSiteId: string, consentCode: string, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
}