UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

57 lines (53 loc) 1.75 kB
/** * 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 Address { /** Address Id in cards platform. */ addressId?: number | null; /** Address line1 */ addressLine1?: string | null; /** Address line2 */ addressLine2?: string | null; /** AddressLine3 */ addressLine3?: string | null; /** ZipCode */ zipCode?: string | null; /** City */ city?: string | null; /** Region Id of the address. */ regionId?: number | null; /** Country ISO code of the address */ countryISOCode?: string | null; /** Country for the address */ country?: string | null; /** Telephone number of the address contact */ telephone?: string | null; /** Email address of the address contact */ emailAddress?: string | null; /** Fax number of the address contact */ fax?: string | null; } export const addressSchema: Schema<Address> = object({ addressId: ['AddressId', optional(nullable(number()))], addressLine1: ['AddressLine1', optional(nullable(string()))], addressLine2: ['AddressLine2', optional(nullable(string()))], addressLine3: ['AddressLine3', optional(nullable(string()))], zipCode: ['ZipCode', optional(nullable(string()))], city: ['City', optional(nullable(string()))], regionId: ['RegionId', optional(nullable(number()))], countryISOCode: ['CountryISOCode', optional(nullable(string()))], country: ['Country', optional(nullable(string()))], telephone: ['Telephone', optional(nullable(string()))], emailAddress: ['EmailAddress', optional(nullable(string()))], fax: ['Fax', optional(nullable(string()))], });