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

import { expandoObject, lazy, Schema } from '../schema.js';
import {
  CreateOrUpdateEndpoint,
  createOrUpdateEndpointSchema,
} from './createOrUpdateEndpoint.js';

/** Used to Create or Update Endpoint */
export interface CreateOrUpdateEndpointRequest {
  /** Used to Create or Update Endpoint */
  endpoint: CreateOrUpdateEndpoint;
  [key: string]: unknown;
}

export const createOrUpdateEndpointRequestSchema: Schema<CreateOrUpdateEndpointRequest> = lazy(
  () => expandoObject({ endpoint: ['endpoint', createOrUpdateEndpointSchema] })
);
