@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
138 lines • 4.32 kB
TypeScript
import type { spi_account_aliases } from '../models/spi_account_aliases.js';
import type { spi_qr_codes } from '../models/spi_qr_codes.js';
import type { spi_qr_codes_create } from '../models/spi_qr_codes_create.js';
import type { spi_qr_codes_update } from '../models/spi_qr_codes_update.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class SpiService {
/**
* List spi qr codes
* SPI QR codes - generate and manage SPI QR payment codes
* @returns any Successful response with paginated data
* @throws ApiError
*/
static listSpiQrCodes({ limit, offset, sort, }: {
/**
* Maximum number of items to return (1-100)
*/
limit?: number;
/**
* Number of items to skip for pagination
*/
offset?: number;
/**
* Sort order. Format: `field:direction` (e.g., `created_at:desc`)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<spi_qr_codes>;
pagination?: {
/**
* Number of items per page
*/
limit?: number;
/**
* Number of items skipped
*/
offset?: number;
/**
* Total number of items available
*/
total?: number;
};
}>;
/**
* Create spi qr code
* SPI QR codes - generate and manage SPI QR payment codes
* @returns spi_qr_codes Spi_qr_code successfully created
* @throws ApiError
*/
static createSpiQrCode({ requestBody, }: {
requestBody: spi_qr_codes_create;
}): CancelablePromise<spi_qr_codes>;
/**
* Retrieve spi qr code
* Retrieve a specific spi qr code by its unique identifier.
* @returns spi_qr_codes Spi_qr_code retrieved successfully
* @throws ApiError
*/
static retrieveSpiQrCode({ qrCodeId, }: {
/**
* Unique identifier for the spi qr code
*/
qrCodeId: string;
}): CancelablePromise<spi_qr_codes>;
/**
* Update spi qr code
* Update a specific spi qr code. Only provided fields will be updated.
* @returns spi_qr_codes Spi_qr_code successfully updated
* @throws ApiError
*/
static updateSpiQrCode({ qrCodeId, requestBody, }: {
/**
* Unique identifier for the spi qr code
*/
qrCodeId: string;
requestBody: spi_qr_codes_update;
}): CancelablePromise<spi_qr_codes>;
/**
* Delete spi qr code
* Delete a specific spi qr code. This action cannot be undone.
* @returns void
* @throws ApiError
*/
static deleteSpiQrCode({ qrCodeId, }: {
/**
* Unique identifier for the spi qr code
*/
qrCodeId: string;
}): CancelablePromise<void>;
/**
* List spi account aliases
* SPI account aliases - manage SPI payment aliases
* @returns any Successful response with paginated data
* @throws ApiError
*/
static listSpiAccountAliases({ limit, offset, sort, }: {
/**
* Maximum number of items to return (1-100)
*/
limit?: number;
/**
* Number of items to skip for pagination
*/
offset?: number;
/**
* Sort order. Format: `field:direction` (e.g., `created_at:desc`)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<spi_account_aliases>;
pagination?: {
/**
* Number of items per page
*/
limit?: number;
/**
* Number of items skipped
*/
offset?: number;
/**
* Total number of items available
*/
total?: number;
};
}>;
/**
* Retrieve spi account aliase
* Retrieve a specific spi account aliase by its unique identifier.
* @returns spi_account_aliases Spi_account_aliase retrieved successfully
* @throws ApiError
*/
static retrieveSpiAccountAliase({ aliasId, }: {
/**
* Unique identifier for the spi account aliase
*/
aliasId: string;
}): CancelablePromise<spi_account_aliases>;
}
//# sourceMappingURL=SpiService.d.ts.map