import { channelIdType, partnerIdKeyType } from "../channel"; import { ACTION } from "../command/action"; import { baseParamsType } from "../command/baseparams"; import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand"; import { IB2BUserInfo } from "./b2buserinfo"; /** * the information about partner user. overrides information set by partnter to his user and will be shown to your users. */ export declare type IB2BContactInfo = IB2BUserInfo; /** * Transport command for Contact Info */ export declare class CMDC_CONTACTINFO implements ICOMMAND { action: ACTION; params: partnerIdKeyType & IB2BContactInfo; } /** * Set the contact information. */ export declare class CMDP_SETCONTACTINFO implements ICOMMAND { action: ACTION; params: baseParamsType & partnerIdKeyType & IB2BContactInfo; } /** * Response for CMDP_SETCONTACTINFO */ export declare class CMDP_SETCONTACTINFO_RESPONSE extends CMDP_SETCONTACTINFO implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; /** unused */ values: IKeyMaybeValue; } /** * get the contact information */ export declare class CMDP_GETCONTACTINFO implements ICOMMAND { action: ACTION; params: baseParamsType & (channelIdType | partnerIdKeyType); } /** * Response for CMDP_GETCONTACTINFO */ export declare class CMDP_GETCONTACTINFO_RESPONSE extends CMDP_GETCONTACTINFO implements IRESPONSE { result: RESULT; /** ContactInfo */ commands: CMDC_CONTACTINFO[]; /** unused */ values: IKeyMaybeValue; } export declare class CMDP_SGETCONTACTINFO extends CMDP_GETCONTACTINFO { action: ACTION; } /** * @deprecated */ export declare class CMDP_SGETCONTACTINFO_RESPONSE extends CMDP_GETCONTACTINFO_RESPONSE { action: ACTION; }