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

import { expandoObject, lazy, Schema } from '../schema.js';
import {
  UpdatePaymentProfile,
  updatePaymentProfileSchema,
} from './updatePaymentProfile.js';

export interface UpdatePaymentProfileRequest {
  paymentProfile: UpdatePaymentProfile;
  [key: string]: unknown;
}

export const updatePaymentProfileRequestSchema: Schema<UpdatePaymentProfileRequest> = lazy(
  () =>
    expandoObject({
      paymentProfile: ['payment_profile', updatePaymentProfileSchema],
    })
);
