import { inspect, InspectOptions } from "util"; import V1 from "../V1"; import { ApiResponse } from "../../../base/ApiResponse"; /** * Data for creating or updating a profile, including traits. */ export declare class ProfileData { /** * Multiple trait groups. */ "traits"?: { [key: string]: { [key: string]: any; }; }; constructor(payload: any); } export declare class UpdateProfilesBulkRequest { "profiles"?: Array; constructor(payload: any); } /** * Options to pass to update a BulkInstance */ export interface BulkListInstanceUpdateOptions { /** */ updateProfilesBulkRequest: UpdateProfilesBulkRequest; } export interface BulkSolution { storeId: string; } export interface BulkListInstance { _version: V1; _solution: BulkSolution; _uri: string; /** * Update a BulkInstance * * @param params - Body for request * @param headers - header params for request * @param callback - Callback to handle processed record * * @returns Resolves to processed BulkInstance */ update(params: UpdateProfilesBulkRequest, headers?: any, callback?: (error: Error | null, item?: BulkInstance) => any): Promise; /** * Update a BulkInstance and return HTTP info * * @param params - Body for request * @param headers - header params for request * @param callback - Callback to handle processed record * * @returns Resolves to processed BulkInstance with HTTP metadata */ updateWithHttpInfo(params: UpdateProfilesBulkRequest, headers?: any, callback?: (error: Error | null, item?: ApiResponse) => any): Promise>; /** * Provide a user-friendly representation */ toJSON(): any; [inspect.custom](_depth: any, options: InspectOptions): any; } export declare function BulkListInstance(version: V1, storeId: string): BulkListInstance; interface BulkResource { message: string; operationId: string; createdAt: Date; statusUrl: string; } /** * Response for bulk profile operations. */ export declare class BulkInstance { protected _version: V1; constructor(_version: V1, _payload: BulkResource, storeId: string); /** * Confirmation message for the operation. */ message: string; /** * The ID of an asynchronous profile domain operation. */ operationId: string; /** * ISO 8601 timestamp when the operation was created. */ createdAt: Date; /** * URL to query the operation status. */ statusUrl: string; /** * Provide a user-friendly representation * * @returns Object */ toJSON(): { message: string; operationId: string; createdAt: Date; statusUrl: string; }; [inspect.custom](_depth: any, options: InspectOptions): string; } export {};