data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
44 lines (40 loc) • 1.46 kB
text/typescript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { nullable, number, object, optional, Schema, string } from '../schema';
export interface FeeRuleLocation {
/** Delco Identifier. */
delcoId?: string | null;
/** Country name. */
country?: string | null;
/** ISO Code of country. */
countryCode?: string | null;
/** Fuel Network Identifier. */
fuelNetworkId?: number | null;
/** Network Name. */
networkName?: string | null;
/** Site-Group ID */
siteGroupId?: number | null;
/** Site-Group name. */
siteGroupName?: string | null;
/** Site Code */
siteCode?: number | null;
/** Site Identifier */
siteId?: number | null;
/** Site Name */
siteName?: string | null;
}
export const feeRuleLocationSchema: Schema<FeeRuleLocation> = object({
delcoId: ['DelcoId', optional(nullable(string()))],
country: ['Country', optional(nullable(string()))],
countryCode: ['CountryCode', optional(nullable(string()))],
fuelNetworkId: ['FuelNetworkId', optional(nullable(number()))],
networkName: ['NetworkName', optional(nullable(string()))],
siteGroupId: ['SiteGroupId', optional(nullable(number()))],
siteGroupName: ['SiteGroupName', optional(nullable(string()))],
siteCode: ['SiteCode', optional(nullable(number()))],
siteId: ['SiteId', optional(nullable(number()))],
siteName: ['SiteName', optional(nullable(string()))],
});