/** * ARI (Arrendamiento de Inmuebles - Real Estate Leasing) Products Resource * * Extends MexProductsResource with ARI-specific behavior: * - Accepts flattened CreateARIProductInput (ARI fields at root level) * - Returns MexARIProduct models * - Handles property fields and payment defaults */ import type { CreateARIProductInput, CreateProductInput, ListOptions, PaginatedResponse, ProductFilter, ProductSort, UpdateARIProductInput, UpdateProductInput, UpsertARIProductInput, UpsertResult } from "@artu-ai/shared"; import { MexARIProduct, type ProductData } from "../../../../models"; import { AVProductsResource } from "../products"; /** * ARI (Arrendamiento de Inmuebles) scoped products resource. * * @example * ```typescript * const ariSdk = new ComplianceSDK({ * apiKey, * environment: "test", * scope: "MX:AV:ARI", * }); * * const product = await ariSdk.products.create({ * name: "Standard Lease", * operationType: "1501", * property: { * type: "1", * value: "1500000", * colonia: "Roma Norte", * calle: "Alvaro Obregon", * numeroExterior: "100", * postalCode: "06700", * }, * }); * ``` */ export declare class ARIProductsResource extends AVProductsResource { create(data: CreateARIProductInput): Promise; retrieve(id: string, opts?: { crossScope?: boolean; }): Promise; retrieveByExternalId(externalId: string, opts?: { crossScope?: boolean; }): Promise; update(id: string, data: UpdateARIProductInput): Promise; list(options?: ListOptions & { crossScope?: boolean; }): Promise>; count(filter?: ProductFilter, options?: { crossScope?: boolean; }): Promise; iterate(options?: { filter?: ProductFilter; sort?: ProductSort; pageSize?: number; crossScope?: boolean; }): AsyncGenerator; upsertByExternalId(data: UpsertARIProductInput): Promise>; protected transformToNested(data: CreateARIProductInput): CreateProductInput; protected transformUpdateToNested(data: UpdateARIProductInput): UpdateProductInput; protected instantiate(data: ProductData): MexARIProduct; /** Materializes a raw payload into a {@link MexARIProduct} (return type narrowed via the `instantiate` override). */ materialize(data: ProductData): MexARIProduct; }