import type Envelope from "./Envelope.js"; import type SpatialReference from "./SpatialReference.js"; export default interface FeatureServiceLayerResponse { currentVersion: number; id: number; name: string; type: "Feature Layer" | "Table"; parentLayer: number; displayField: string; description: string; copyrightText: string; subtypeField: string; defaultSubtypeCode: number; defaultVisibility: boolean; editFieldsInfo: EditFieldsInfo; ownershipBasedAccessControlForFeatures: { allowOthersToUpdate: boolean; allowOthersToDelete: boolean; allowOthersToQuery: boolean; }; syncCanReturnChanges: boolean; isDataVersioned: boolean; isDataArchived: boolean; isDataBranchVersioned: boolean; isCoGoEnabled: boolean; supportsRollbackOnFailureParameter: boolean; supportsStatistics: boolean; supportsAdvancedQueries: boolean; supportsCoordinatesQuantization: boolean; geometryType: string; minScale: number; maxScale: number; effectiveMinScale: number; effectiveMaxScale: number; advancedQueryCapabilities: { supportsPagination: boolean; supportsTrueCurve: boolean; supportsQueryWithDistance: boolean; supportsLod: boolean; supportsReturningQueryExtent: boolean; supportsStatistics: boolean; supportsHavingClause: boolean; supportsOrderBy: boolean; supportsDistinct: boolean; supportsCountDistinct: boolean; supportsPaginationOnAggregatedQueries: boolean; supportsQueryWithResultType: boolean; supportsReturningGeometryCentroid: boolean; supportsSqlExpression: boolean; supportsOutFieldsSqlExpression: boolean; supportsTopFeaturesQuery: boolean; supportsOrderByOnlyOnLayerFields: boolean; supportsQueryAttachments: boolean; supportsQueryAttachmentsWithReturnUrl: boolean; }; extent: Envelope; sourceSpatialReference: SpatialReference; hasM: boolean; hasZ: boolean; enableZDefaults: boolean; zDefault: number; allowGeometryUpdates: boolean; hasAttachments: boolean; objectIdField: string; globalIdField: string; typeIdField: string; fields: FeatureServiceLayerField[]; geometryField: FeatureServiceLayerField; maxRecordCount: number; } interface EditFieldsInfo { creationDateField: string; creatorField: string; editDateField: string; editorField: string; realm: string; dateFieldsTimeReference: TimeReference; } interface TimeReference { timeZone: string; respectsDaylightSaving: boolean; } interface FeatureServiceLayerField { name: string; type: string; alias: string; domain: unknown; editable: boolean; nullable: boolean; length: number; defaultValue: number | string; modelName: string; } export {};