import type * as Samsara from "../index.js"; /** * MaintenanceSite object */ export interface EntityUpdateMaintenanceSiteTypeResponseBody { /** When the maintenance site was archived. Unset when isArchived is false. */ archivedAt?: string | undefined; /** When the maintenance site was created. */ createdAt?: string | undefined; customAddress?: Samsara.UpdateMaintenanceSiteEntityMaintenanceSiteMaintenanceSiteCustomAddressTypeResponseBody | undefined; /** Description of the maintenance site. */ description?: string | undefined; /** Customer-supplied external identifiers for the site, interchangeable with id in filters. Only included in the response when includeExternalIds is set. */ externalIds?: Samsara.UpdateMaintenanceSiteEntityMaintenanceSiteMaintenanceSiteExternalIdTypeResponseBody[] | undefined; /** Samsara ID for the maintenance site. */ id?: string | undefined; /** Whether the site is archived. Archived sites are no longer active but are retained for historical record. */ isArchived?: boolean | undefined; /** Name of the maintenance site. Org-unique. */ name?: string | undefined; /** Places this site is linked to. Mutually exclusive with customAddress. At most one entry is accepted today, though the field is an array to allow for future expansion. */ places?: Samsara.EntityUpdateMaintenanceSitePlaceRefTypeResponseBody[] | undefined; /** Org-unique 3-character code for the site, used to generate inventory batch numbers. */ siteCode?: string | undefined; /** Type of maintenance site, for example central warehouse, maintenance shop, or yard/onsite. Valid values: `Unknown`, `CentralWarehouse`, `MaintenanceShop`, `MobileServiceVehicle`, `YardOnsite`, `Consignment`, `Other` */ siteType?: EntityUpdateMaintenanceSiteTypeResponseBody.SiteType | undefined; /** When the maintenance site was last updated. */ updatedAt?: string | undefined; } export declare namespace EntityUpdateMaintenanceSiteTypeResponseBody { /** Type of maintenance site, for example central warehouse, maintenance shop, or yard/onsite. Valid values: `Unknown`, `CentralWarehouse`, `MaintenanceShop`, `MobileServiceVehicle`, `YardOnsite`, `Consignment`, `Other` */ const SiteType: { readonly Unknown: "Unknown"; readonly CentralWarehouse: "CentralWarehouse"; readonly MaintenanceShop: "MaintenanceShop"; readonly MobileServiceVehicle: "MobileServiceVehicle"; readonly YardOnsite: "YardOnsite"; readonly Consignment: "Consignment"; readonly Other: "Other"; }; type SiteType = (typeof SiteType)[keyof typeof SiteType]; }