export interface ApplyEditResult { error?: { code: number; description: string; }; globalId: string; objectId: number; success: boolean; } export interface ApplyEditsResponse extends __esri.RequestResponse { addResults: ApplyEditResult[]; deleteResults: ApplyEditResult[]; updateResults: ApplyEditResult[]; } export interface AttachmentInfosResponse extends __esri.RequestResponse { attachmentInfos: object[]; } export interface DeleteAttachmentsResponse extends __esri.RequestResponse { deleteAttachmentResults: object[]; } export interface FeatureLayerInfoResponse extends __esri.RequestResponse { fields: __esri.Field[]; types?: __esri.FeatureType[]; } export interface GeocodeResponse extends __esri.RequestResponse { candidate?: __esri.AddressCandidate; candidates?: __esri.AddressCandidate[]; spatialReference?: __esri.SpatialReference; } export interface ReverseGeocodeResponse extends __esri.RequestResponse { address?: object; location?: __esri.Point; } export interface FeatureLayerInfo { fields: __esri.Field[]; types?: __esri.FeatureType[]; }