import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import type * as Samsara from "../../../index.js"; export declare namespace CarrierProposedAssignmentsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class CarrierProposedAssignmentsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: CarrierProposedAssignmentsClient.Options); /** * Show the assignments created by the POST fleet/carrier-proposed-assignments. This endpoint will only show the assignments that are active for drivers and currently visible to them in the driver app. Once a proposed assignment has been accepted, the endpoint will not return any data. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Read Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. Learn More. * * @param {Samsara.ListCarrierProposedAssignmentsRequest} request * @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.carrierProposedAssignments.listCarrierProposedAssignments() */ listCarrierProposedAssignments(request?: Samsara.ListCarrierProposedAssignmentsRequest, requestOptions?: CarrierProposedAssignmentsClient.RequestOptions): core.HttpResponsePromise; private __listCarrierProposedAssignments; /** * Creates a new assignment that a driver can later use. Each driver can only have one future assignment. * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * To use this endpoint, select **Write Carrier-Proposed Assignments** under the Assignments category when creating or editing an API token. Learn More. * * @param {Samsara.CreateCarrierProposedAssignmentRequest} request * @param {CarrierProposedAssignmentsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.carrierProposedAssignments.createCarrierProposedAssignment({ * driverId: "42", * vehicleId: "123" * }) */ createCarrierProposedAssignment(request: Samsara.CreateCarrierProposedAssignmentRequest, requestOptions?: CarrierProposedAssignmentsClient.RequestOptions): core.HttpResponsePromise; private __createCarrierProposedAssignment; }