import type * as Samsara from "../index.js"; /** * Details of a newly created Function, including a URL for uploading the code package. After uploading, call the deploy endpoint to make the function runnable. */ export interface CreateFunctionDetailResponseBody { codePackage: Samsara.FunctionCodePackageResponseBody; config: Samsara.FunctionConfigResponseBody; /** RFC 3339 timestamp when the Function was created. */ createdAtTime: string; /** Description of the Function. */ description?: string | undefined; effects: Samsara.FunctionEffectsResponseBody; /** Epoch milliseconds of the last update. Use this value for optimistic locking in PATCH requests. */ lastUpdateTimestampMs: number; /** Name of the Function. */ name: string; /** RFC 3339 timestamp when the Function was last updated. */ updatedAtTime: string; /** A presigned PUT URL for uploading the function's code package. Valid for a limited time. After uploading, call `POST /functions/{name}/deploy` to make the function runnable. */ uploadPutUrl: string; }