/**
 * AdvancedBilling
 *
 * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { array, expandoObject, lazy, Schema } from '../schema.js';
import {
  ComponentCurrencyPrice,
  componentCurrencyPriceSchema,
} from './componentCurrencyPrice.js';

export interface ComponentCurrencyPricesResponse {
  currencyPrices: ComponentCurrencyPrice[];
  [key: string]: unknown;
}

export const componentCurrencyPricesResponseSchema: Schema<ComponentCurrencyPricesResponse> = lazy(
  () =>
    expandoObject({
      currencyPrices: ['currency_prices', array(componentCurrencyPriceSchema)],
    })
);
