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
26 lines (22 loc) • 670 B
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { object, optional, Schema, string } from '../schema.js';
export interface RestrictionProduct {
/**
* The productCode returned by the Gateway API.
* Example: 021
*/
globalProductCode?: string;
/**
* The description returned by the Gateway API.
* Example: High Performance Diesel
*/
description?: string;
}
export const restrictionProductSchema: Schema<RestrictionProduct> = object({
globalProductCode: ['GlobalProductCode', optional(string())],
description: ['Description', optional(string())],
});