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 (24 loc) • 777 B
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, nullable, number, object, optional, Schema } from '../schema.js';
import {
CardGroupRequest,
cardGroupRequestSchema,
} from './cardGroupRequest.js';
export interface CardGroupReq {
filters?: CardGroupRequest;
/** Page Number (as shown to the users) */
page?: number | null;
/** Page Size – Number of records to show on a page. */
pageSize?: number | null;
}
export const cardGroupReqSchema: Schema<CardGroupReq> = lazy(() =>
object({
filters: ['Filters', optional(cardGroupRequestSchema)],
page: ['Page', optional(nullable(number()))],
pageSize: ['PageSize', optional(nullable(number()))],
})
);