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
23 lines • 1.28 kB
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, nullable, number, object, optional, string, } from '../schema.js';
export const cardContactSchema = object({
deliveryContactTitle: ['DeliveryContactTitle', optional(nullable(string()))],
deliveryContactName: ['DeliveryContactName', nullable(string())],
deliveryCompanyName: ['DeliveryCompanyName', nullable(string())],
deliveryAddressLine1: ['DeliveryAddressLine1', nullable(string())],
deliveryAddressLine2: ['DeliveryAddressLine2', optional(nullable(string()))],
deliveryAddressLine3: ['DeliveryAddressLine3', optional(nullable(string()))],
deliveryZipCode: ['DeliveryZipCode', nullable(string())],
deliveryCity: ['DeliveryCity', nullable(string())],
deliveryRegionId: ['DeliveryRegionId', optional(nullable(number()))],
deliveryRegion: ['DeliveryRegion', optional(nullable(string()))],
deliveryCountry: ['DeliveryCountry', nullable(string())],
phoneNumber: ['PhoneNumber', optional(nullable(string()))],
emailAddress: ['EmailAddress', optional(nullable(string()))],
saveForCardReissue: ['SaveForCardReissue', optional(boolean())],
});
//# sourceMappingURL=cardContact.js.map