/**
 * PostNL Ecommerce APIsLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { object, optional, Schema, string } from '../schema';

export interface Warning1 {
  /** The Warning code */
  code?: string;
  /** The warning description */
  description?: string;
}

export const warning1Schema: Schema<Warning1> = object({
  code: ['Code', optional(string())],
  description: ['Description', optional(string())],
});
