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

31 lines (27 loc) 780 B
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, optional, Schema } from '../schema'; import { ProductGroup, productGroupSchema } from './productGroup'; import { RestrictionProduct, restrictionProductSchema, } from './restrictionProduct'; export interface SearchProductRestriction { products?: RestrictionProduct[]; productGroups?: ProductGroup[]; } export const searchProductRestrictionSchema: Schema<SearchProductRestriction> = object( { products: [ 'Products', optional(array(lazy(() => restrictionProductSchema))), ], productGroups: [ 'ProductGroups', optional(array(lazy(() => productGroupSchema))), ], } );