@mollie/api-client
Version:
Official Mollie API client for Node
8 lines (7 loc) • 453 B
TypeScript
import type Maybe from '../types/Maybe';
type ResourceKind = 'capture' | 'chargeback' | 'customer' | 'mandate' | 'order' | 'orderline' | 'organization' | 'payment' | 'payment-link' | 'profile' | 'refund' | 'shipment' | 'subscription';
/**
* Returns whether the passed identifier seems plausible (`true`); or is definitely invalid (`false`).
*/
export default function checkId(value: Maybe<string>, resource: ResourceKind): value is string;
export {};