import type * as Samsara from "../../../../index.mjs"; /** * @example * { * name: "12345", * siteCode: "12345", * siteType: "Unknown" * } */ export interface EntityMaintenanceSitesServiceCreateMaintenanceSiteRequestBody { customAddress?: Samsara.CreateMaintenanceSiteEntityMaintenanceSiteMaintenanceSiteCustomAddressInputTypeRequestBody; /** Description of the maintenance site. */ description?: string; /** Customer-supplied external identifiers for the site, interchangeable with id in filters. Only included in the response when includeExternalIds is set. */ externalIds?: Samsara.CreateMaintenanceSiteEntityMaintenanceSiteMaintenanceSiteExternalIdInputTypeRequestBody[]; /** Name of the maintenance site. Org-unique. */ name: string; /** 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. */ placeIds?: string[]; /** Org-unique 3-character code for the site, used to generate inventory batch numbers. */ siteCode: string; /** Type of maintenance site, for example central warehouse, maintenance shop, or yard/onsite. Valid values: `Unknown`, `CentralWarehouse`, `MaintenanceShop`, `MobileServiceVehicle`, `YardOnsite`, `Consignment`, `Other` */ siteType: EntityMaintenanceSitesServiceCreateMaintenanceSiteRequestBody.SiteType; } export declare namespace EntityMaintenanceSitesServiceCreateMaintenanceSiteRequestBody { /** 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]; }