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
28 lines • 1.48 kB
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { nullable, number, object, optional, string } from '../schema';
export const deliveryAddressesSchema = object({
addressId: ['AddressId', optional(nullable(number()))],
addressLine1: ['AddressLine1', optional(nullable(string()))],
addressLine2: ['AddressLine2', optional(nullable(string()))],
addressLine3: ['AddressLine3', optional(nullable(string()))],
city: ['City', optional(nullable(string()))],
companyName: ['CompanyName', optional(nullable(string()))],
contactForeName: ['ContactForeName', optional(nullable(string()))],
contactLastName: ['ContactLastName', optional(nullable(string()))],
contactMiddleName: ['ContactMiddleName', optional(nullable(string()))],
contactTitle: ['ContactTitle', optional(nullable(string()))],
country: ['Country', optional(nullable(string()))],
countryId: ['CountryId', optional(nullable(number()))],
countryISOCode: ['CountryISOCode', optional(nullable(string()))],
fax: ['Fax', optional(nullable(string()))],
region: ['Region', optional(nullable(string()))],
regionId: ['RegionId', optional(nullable(number()))],
telephone: ['Telephone', optional(nullable(string()))],
zipCode: ['ZipCode', optional(nullable(string()))],
addressType: ['AddressType', optional(nullable(number()))],
});
//# sourceMappingURL=deliveryAddresses.js.map