Initial project import
This commit is contained in:
17
node_modules/stripe/esm/V2Coercion.d.ts
generated
vendored
Normal file
17
node_modules/stripe/esm/V2Coercion.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { V2RuntimeSchema } from './Types.js';
|
||||
/**
|
||||
* Coerces outbound V2 request data by converting bigint (or number)
|
||||
* int64_string fields to strings, matching the wire format expected by the API.
|
||||
*
|
||||
* Walks the schema tree and only touches fields that are marked as
|
||||
* int64_string. All other values are left unchanged.
|
||||
*/
|
||||
export declare const coerceV2RequestData: (data: unknown, schema: V2RuntimeSchema) => unknown;
|
||||
/**
|
||||
* Coerces inbound V2 response data by converting string int64_string fields
|
||||
* to bigints, matching the SDK's public type contract.
|
||||
*
|
||||
* Walks the schema tree and only touches fields that are marked as
|
||||
* int64_string. All other values are left unchanged.
|
||||
*/
|
||||
export declare const coerceV2ResponseData: (data: unknown, schema: V2RuntimeSchema) => unknown;
|
||||
Reference in New Issue
Block a user