import type * as Samsara from "../index.js"; /** * A depreciation or adjustment transaction */ export interface DepreciationTransactionObjectResponseBody { amount: Samsara.DepreciationTransactionMoneyObjectResponseBody; /** Samsara asset ID. Can be used with /fleet/assets/{id} to retrieve asset details. */ assetId: string; /** The UUID of the cost center assigned to the asset. To retrieve cost center names: (1) Call GET /attributes?entityType=asset to find the "Asset Cost Center" attribute and its UUID, (2) Call GET /attributes/{that-uuid}?entityType=asset to get the list of cost center values with their UUIDs and names. Match the costCenterId from this response to the uuid field in the attributeValues array to get the cost center name. */ costCenterId?: string | undefined; /** When the transaction record was created in the system. RFC 3339 format. */ createdAt: string; /** When the depreciation or adjustment occurred from a financial/accounting perspective (e.g., end of depreciation period, or date of revaluation). This may differ from createdAt if the transaction is recorded after the fact. RFC 3339 format. */ eventTime: string; /** The unique UUID of the transaction. */ id: string; /** Optional description. */ note?: string | undefined; /** Transaction type: depreciation, adjustment, or unknown. Unknown transaction types should be handled gracefully for forward compatibility. Valid values: `depreciation`, `adjustment`, `unknown` */ transactionType: DepreciationTransactionObjectResponseBody.TransactionType; /** When the transaction record was last modified in the system (use for incremental sync). RFC 3339 format. */ updatedAt: string; } export declare namespace DepreciationTransactionObjectResponseBody { /** Transaction type: depreciation, adjustment, or unknown. Unknown transaction types should be handled gracefully for forward compatibility. Valid values: `depreciation`, `adjustment`, `unknown` */ const TransactionType: { readonly Depreciation: "depreciation"; readonly Adjustment: "adjustment"; readonly Unknown: "unknown"; }; type TransactionType = (typeof TransactionType)[keyof typeof TransactionType]; }