import { DocumentHeader } from '../../../shared/entities/stock'; import { Persona } from '../../../shared/entities/user'; import * as IShared from '../../../shared/interface'; export declare const Route = "google"; export declare const UpperName = "Google"; export declare const LowerName: string; export interface IGetUserData extends Pick { emission_date: string; store_operator_id: string | null; store_operator_name: string | null; store_operator_number: number | null; reason_for_exemption_name: string | null; contact_persona_name: Persona['name']; contact_persona_email: Persona['email']; contact_persona_telephone: Persona['telephone']; } export interface IUpdateRequest { document_name: string; client_data?: IGetUserData; } export interface ICloneRequest { document_name: string; } export interface ICloneResponse { spreadsheetId: string; } export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'estofo' | 'almofada' | 'outros' | 'calhas&varões' | 'papel' | 'varoes' | 'terceiros'; export type IGetProductType = 'confecção' | 'calha' | 'tecido 1' | 'tecido 2' | 'varoes' | 'livre' | 'papel'; export interface IGetProduct { index: number; group: IGetProductGroup; type: IGetProductType; quantity: number; reference: string; designation: string; discount: number; price_sale: number; price_cost: number; } export interface IGetDataResponse { products: IGetProduct[]; } export interface IExportRequest { spreadsheetId: string; document_header_id: string; } export interface IController { clone(params: IShared.IFindByIdRequest, data?: ICloneRequest): Promise; export(params: IExportRequest): Promise; getData(params: IShared.IFindByIdRequest): Promise; update(params: IShared.IFindByIdRequest, data: IUpdateRequest): Promise; }