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

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

export interface EIDAccess {
  /** Collecting company id. */
  colCoId?: string | null;
  /** Collecting company Code */
  colCoCode?: number | null;
  /** Identifier for the EID account group configured for the user. */
  accountGroupId?: string | null;
}

export const eIDAccessSchema: Schema<EIDAccess> = object({
  colCoId: ['ColCoId', optional(nullable(string()))],
  colCoCode: ['ColCoCode', optional(nullable(number()))],
  accountGroupId: ['AccountGroupId', optional(nullable(string()))],
});
