import type * as Samsara from "../../../../index.mjs"; /** * @example * { * documentTypeId: "9814a1fa-f0c6-408b-bf85-51dc3bc71ac7", * driverId: "45646" * } */ export interface DocumentsPostDocumentRequestBody { /** ID for the document type. */ documentTypeId: string; /** ID of the driver. Can be either unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver. */ driverId: string; /** The fields associated with this document. */ fields?: Samsara.FieldObjectPostRequestBody[]; /** Name of the document. */ name?: string; /** Notes on the document. */ notes?: string; /** ID of the route stop. Can be either unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the route stop. */ routeStopId?: string; /** The condition of the document created for the driver. Can be either `required` or `submitted`, if no value is specified, `state` defaults to `required`. `required` documents are pre-populated documents for the Driver to fill out in the Driver App. Valid values: `submitted`, `required` */ state?: DocumentsPostDocumentRequestBody.State; /** ID of the vehicle. Can be either unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the vehicle. */ vehicleId?: string; } export declare namespace DocumentsPostDocumentRequestBody { /** The condition of the document created for the driver. Can be either `required` or `submitted`, if no value is specified, `state` defaults to `required`. `required` documents are pre-populated documents for the Driver to fill out in the Driver App. Valid values: `submitted`, `required` */ const State: { readonly Submitted: "submitted"; readonly Required: "required"; }; type State = (typeof State)[keyof typeof State]; }