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
44 lines (40 loc) • 1.14 kB
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import {
array,
lazy,
number,
object,
optional,
Schema,
string,
} from '../schema.js';
import {
AutoRenewCardResponseDataItems,
autoRenewCardResponseDataItemsSchema,
} from './autoRenewCardResponseDataItems.js';
export interface AutoRenewCardResponse {
/**
* Main reference number for tracking.
* Example: 123455
*/
mainReference?: number;
/** API */
requestId?: string;
/** Indicates overall status of the request. Allowed values: SUCCES, FAILED, PARTIAL_SUCCESS */
status?: string;
/** List of Auto Renew reference entity. The fields of this entity are described below. */
data?: AutoRenewCardResponseDataItems[];
}
export const autoRenewCardResponseSchema: Schema<AutoRenewCardResponse> = lazy(
() =>
object({
mainReference: ['MainReference', optional(number())],
requestId: ['RequestId', optional(string())],
status: ['Status', optional(string())],
data: ['Data', optional(array(autoRenewCardResponseDataItemsSchema))],
})
);