import type * as Samsara from "../../../../index.js"; /** * @example * { * id: "id" * } */ export interface WebhooksPatchWebhookRequestBody { /** Unique identifier for the webhook to update. */ id: string; /** The list of custom headers that users can include with their request */ customHeaders?: Samsara.CustomHeadersObjectRequestBody[]; /** The name of the webhook. This will appear in both Samsara’s cloud dashboard and the API. It can be set or updated through the Samsara Dashboard or through the API at any time. */ name?: string; /** The url of the webhook. This will appear in both Samsara’s cloud dashboard and the API. It can be set or updated through the Samsara Dashboard or through the API at any time. */ url?: string; /** The version of the webhook. Valid values: `2018-01-01`, `2021-06-09`, `2022-09-13`, `2024-02-27` */ version?: WebhooksPatchWebhookRequestBody.Version; } export declare namespace WebhooksPatchWebhookRequestBody { /** The version of the webhook. Valid values: `2018-01-01`, `2021-06-09`, `2022-09-13`, `2024-02-27` */ const Version: { readonly TwoThousandEighteen0101: "2018-01-01"; readonly TwoThousandTwentyOne0609: "2021-06-09"; readonly TwoThousandTwentyTwo0913: "2022-09-13"; readonly TwoThousandTwentyFour0227: "2024-02-27"; }; type Version = (typeof Version)[keyof typeof Version]; }