UNPKG

@mollie/api-client

Version:
8 lines (7 loc) 453 B
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 {};