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
21 lines • 948 B
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, number, object, optional } from '../schema.js';
import { createCardGroupResponseErrorCardsItemsSchema, } from './createCardGroupResponseErrorCardsItems.js';
import { createCardGroupResponseSuccessfulRequestsItemsSchema, } from './createCardGroupResponseSuccessfulRequestsItems.js';
export const createCardGroupResponseSchema = lazy(() => object({
mainReference: ['MainReference', optional(number())],
newCardGroupReference: ['NewCardGroupReference', optional(number())],
successfulRequests: [
'SuccessfulRequests',
optional(array(createCardGroupResponseSuccessfulRequestsItemsSchema)),
],
errorCards: [
'ErrorCards',
optional(array(createCardGroupResponseErrorCardsItemsSchema)),
],
}));
//# sourceMappingURL=createCardGroupResponse.js.map