@oatfi/oatfi-sdk-ts 0.11.55 → 0.11.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/commonjs/funcs/applicationFilesList.js +1 -0
- package/dist/commonjs/funcs/applicationFilesList.js.map +1 -1
- package/dist/commonjs/funcs/applicationFilesUpload.js +7 -0
- package/dist/commonjs/funcs/applicationFilesUpload.js.map +1 -1
- package/dist/commonjs/funcs/businessFilesList.js +1 -0
- package/dist/commonjs/funcs/businessFilesList.js.map +1 -1
- package/dist/commonjs/funcs/businessFilesUpload.js +7 -0
- package/dist/commonjs/funcs/businessFilesUpload.js.map +1 -1
- package/dist/commonjs/funcs/businessesGetAccountHolderInformation.d.ts +18 -0
- package/dist/commonjs/funcs/businessesGetAccountHolderInformation.d.ts.map +1 -0
- package/dist/commonjs/funcs/businessesGetAccountHolderInformation.js +138 -0
- package/dist/commonjs/funcs/businessesGetAccountHolderInformation.js.map +1 -0
- package/dist/commonjs/funcs/businessesGetVirtualAccountInformation.d.ts +18 -0
- package/dist/commonjs/funcs/businessesGetVirtualAccountInformation.d.ts.map +1 -0
- package/dist/commonjs/funcs/businessesGetVirtualAccountInformation.js +138 -0
- package/dist/commonjs/funcs/businessesGetVirtualAccountInformation.js.map +1 -0
- package/dist/commonjs/funcs/filesList.js +1 -0
- package/dist/commonjs/funcs/filesList.js.map +1 -1
- package/dist/commonjs/funcs/filesUpload.js +7 -0
- package/dist/commonjs/funcs/filesUpload.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +1 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/accountholdervirtualaccountitemdto.d.ts +30 -0
- package/dist/commonjs/models/accountholdervirtualaccountitemdto.d.ts.map +1 -0
- package/dist/commonjs/models/accountholdervirtualaccountitemdto.js +64 -0
- package/dist/commonjs/models/accountholdervirtualaccountitemdto.js.map +1 -0
- package/dist/commonjs/models/createoriginationofferdto.d.ts +0 -6
- package/dist/commonjs/models/createoriginationofferdto.d.ts.map +1 -1
- package/dist/commonjs/models/createoriginationofferdto.js +0 -3
- package/dist/commonjs/models/createoriginationofferdto.js.map +1 -1
- package/dist/commonjs/models/createpaymentintentdto.d.ts +5 -0
- package/dist/commonjs/models/createpaymentintentdto.d.ts.map +1 -1
- package/dist/commonjs/models/createpaymentintentdto.js +2 -0
- package/dist/commonjs/models/createpaymentintentdto.js.map +1 -1
- package/dist/commonjs/models/financialaccountdatadto.d.ts +5 -0
- package/dist/commonjs/models/financialaccountdatadto.d.ts.map +1 -1
- package/dist/commonjs/models/financialaccountdatadto.js +4 -0
- package/dist/commonjs/models/financialaccountdatadto.js.map +1 -1
- package/dist/commonjs/models/financialaccountverificationdto.d.ts +1 -0
- package/dist/commonjs/models/financialaccountverificationdto.d.ts.map +1 -1
- package/dist/commonjs/models/financialaccountverificationdto.js +1 -0
- package/dist/commonjs/models/financialaccountverificationdto.js.map +1 -1
- package/dist/commonjs/models/financialaccountverificationresponsedto.d.ts +1 -1
- package/dist/commonjs/models/financialaccountverificationresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/financialaccountverificationresponsedto.js +1 -1
- package/dist/commonjs/models/financialaccountverificationresponsedto.js.map +1 -1
- package/dist/commonjs/models/getaccountholderinformationresponsedto.d.ts +26 -0
- package/dist/commonjs/models/getaccountholderinformationresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/getaccountholderinformationresponsedto.js +62 -0
- package/dist/commonjs/models/getaccountholderinformationresponsedto.js.map +1 -0
- package/dist/commonjs/models/getvirtualaccountinformationresponsedto.d.ts +22 -0
- package/dist/commonjs/models/getvirtualaccountinformationresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/getvirtualaccountinformationresponsedto.js +60 -0
- package/dist/commonjs/models/getvirtualaccountinformationresponsedto.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +5 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +5 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/lockboxaddressdto.d.ts +33 -0
- package/dist/commonjs/models/lockboxaddressdto.d.ts.map +1 -0
- package/dist/commonjs/models/{paymentintentdto.js → lockboxaddressdto.js} +18 -7
- package/dist/commonjs/models/lockboxaddressdto.js.map +1 -0
- package/dist/commonjs/models/operations/applicationfilescontrollerfindall.d.ts +5 -0
- package/dist/commonjs/models/operations/applicationfilescontrollerfindall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/applicationfilescontrollerfindall.js +1 -0
- package/dist/commonjs/models/operations/applicationfilescontrollerfindall.js.map +1 -1
- package/dist/commonjs/models/operations/businessescontrollergetaccountholderinformation.d.ts +30 -0
- package/dist/commonjs/models/operations/businessescontrollergetaccountholderinformation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/businessescontrollergetaccountholderinformation.js +59 -0
- package/dist/commonjs/models/operations/businessescontrollergetaccountholderinformation.js.map +1 -0
- package/dist/commonjs/models/operations/businessescontrollergetvirtualaccountinformation.d.ts +30 -0
- package/dist/commonjs/models/operations/businessescontrollergetvirtualaccountinformation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/businessescontrollergetvirtualaccountinformation.js +60 -0
- package/dist/commonjs/models/operations/businessescontrollergetvirtualaccountinformation.js.map +1 -0
- package/dist/commonjs/models/operations/businessfilescontrollerfindall.d.ts +5 -0
- package/dist/commonjs/models/operations/businessfilescontrollerfindall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/businessfilescontrollerfindall.js +1 -0
- package/dist/commonjs/models/operations/businessfilescontrollerfindall.js.map +1 -1
- package/dist/commonjs/models/operations/filescontrollerfindall.d.ts +5 -0
- package/dist/commonjs/models/operations/filescontrollerfindall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/filescontrollerfindall.js +1 -0
- package/dist/commonjs/models/operations/filescontrollerfindall.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/paymentintentresponsedto.d.ts +4 -0
- package/dist/commonjs/models/paymentintentresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/paymentintentresponsedto.js +2 -0
- package/dist/commonjs/models/paymentintentresponsedto.js.map +1 -1
- package/dist/commonjs/models/paymentraildatadto.d.ts +5 -0
- package/dist/commonjs/models/paymentraildatadto.d.ts.map +1 -1
- package/dist/commonjs/models/paymentraildatadto.js +4 -0
- package/dist/commonjs/models/paymentraildatadto.js.map +1 -1
- package/dist/commonjs/models/updatefinancialaccountdto.d.ts +0 -6
- package/dist/commonjs/models/updatefinancialaccountdto.d.ts.map +1 -1
- package/dist/commonjs/models/updatefinancialaccountdto.js +0 -2
- package/dist/commonjs/models/updatefinancialaccountdto.js.map +1 -1
- package/dist/commonjs/models/updatepaymentintentdto.d.ts +5 -0
- package/dist/commonjs/models/updatepaymentintentdto.d.ts.map +1 -1
- package/dist/commonjs/models/updatepaymentintentdto.js +2 -0
- package/dist/commonjs/models/updatepaymentintentdto.js.map +1 -1
- package/dist/commonjs/models/updateplatformfinancialaccountdto.d.ts +0 -6
- package/dist/commonjs/models/updateplatformfinancialaccountdto.d.ts.map +1 -1
- package/dist/commonjs/models/updateplatformfinancialaccountdto.js +0 -2
- package/dist/commonjs/models/updateplatformfinancialaccountdto.js.map +1 -1
- package/dist/commonjs/models/virtualaccountinfoitemdto.d.ts +34 -0
- package/dist/commonjs/models/virtualaccountinfoitemdto.d.ts.map +1 -0
- package/dist/commonjs/models/virtualaccountinfoitemdto.js +66 -0
- package/dist/commonjs/models/virtualaccountinfoitemdto.js.map +1 -0
- package/dist/commonjs/sdk/businesses.d.ts +14 -0
- package/dist/commonjs/sdk/businesses.d.ts.map +1 -1
- package/dist/commonjs/sdk/businesses.js +20 -0
- package/dist/commonjs/sdk/businesses.js.map +1 -1
- package/dist/esm/funcs/applicationFilesList.js +1 -0
- package/dist/esm/funcs/applicationFilesList.js.map +1 -1
- package/dist/esm/funcs/applicationFilesUpload.js +7 -0
- package/dist/esm/funcs/applicationFilesUpload.js.map +1 -1
- package/dist/esm/funcs/businessFilesList.js +1 -0
- package/dist/esm/funcs/businessFilesList.js.map +1 -1
- package/dist/esm/funcs/businessFilesUpload.js +7 -0
- package/dist/esm/funcs/businessFilesUpload.js.map +1 -1
- package/dist/esm/funcs/businessesGetAccountHolderInformation.d.ts +18 -0
- package/dist/esm/funcs/businessesGetAccountHolderInformation.d.ts.map +1 -0
- package/dist/esm/funcs/businessesGetAccountHolderInformation.js +102 -0
- package/dist/esm/funcs/businessesGetAccountHolderInformation.js.map +1 -0
- package/dist/esm/funcs/businessesGetVirtualAccountInformation.d.ts +18 -0
- package/dist/esm/funcs/businessesGetVirtualAccountInformation.d.ts.map +1 -0
- package/dist/esm/funcs/businessesGetVirtualAccountInformation.js +102 -0
- package/dist/esm/funcs/businessesGetVirtualAccountInformation.js.map +1 -0
- package/dist/esm/funcs/filesList.js +1 -0
- package/dist/esm/funcs/filesList.js.map +1 -1
- package/dist/esm/funcs/filesUpload.js +7 -0
- package/dist/esm/funcs/filesUpload.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +1 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/accountholdervirtualaccountitemdto.d.ts +30 -0
- package/dist/esm/models/accountholdervirtualaccountitemdto.d.ts.map +1 -0
- package/dist/esm/models/accountholdervirtualaccountitemdto.js +27 -0
- package/dist/esm/models/accountholdervirtualaccountitemdto.js.map +1 -0
- package/dist/esm/models/createoriginationofferdto.d.ts +0 -6
- package/dist/esm/models/createoriginationofferdto.d.ts.map +1 -1
- package/dist/esm/models/createoriginationofferdto.js +0 -3
- package/dist/esm/models/createoriginationofferdto.js.map +1 -1
- package/dist/esm/models/createpaymentintentdto.d.ts +5 -0
- package/dist/esm/models/createpaymentintentdto.d.ts.map +1 -1
- package/dist/esm/models/createpaymentintentdto.js +2 -0
- package/dist/esm/models/createpaymentintentdto.js.map +1 -1
- package/dist/esm/models/financialaccountdatadto.d.ts +5 -0
- package/dist/esm/models/financialaccountdatadto.d.ts.map +1 -1
- package/dist/esm/models/financialaccountdatadto.js +4 -0
- package/dist/esm/models/financialaccountdatadto.js.map +1 -1
- package/dist/esm/models/financialaccountverificationdto.d.ts +1 -0
- package/dist/esm/models/financialaccountverificationdto.d.ts.map +1 -1
- package/dist/esm/models/financialaccountverificationdto.js +1 -0
- package/dist/esm/models/financialaccountverificationdto.js.map +1 -1
- package/dist/esm/models/financialaccountverificationresponsedto.d.ts +1 -1
- package/dist/esm/models/financialaccountverificationresponsedto.d.ts.map +1 -1
- package/dist/esm/models/financialaccountverificationresponsedto.js +1 -1
- package/dist/esm/models/financialaccountverificationresponsedto.js.map +1 -1
- package/dist/esm/models/getaccountholderinformationresponsedto.d.ts +26 -0
- package/dist/esm/models/getaccountholderinformationresponsedto.d.ts.map +1 -0
- package/dist/esm/models/getaccountholderinformationresponsedto.js +25 -0
- package/dist/esm/models/getaccountholderinformationresponsedto.js.map +1 -0
- package/dist/esm/models/getvirtualaccountinformationresponsedto.d.ts +22 -0
- package/dist/esm/models/getvirtualaccountinformationresponsedto.d.ts.map +1 -0
- package/dist/esm/models/getvirtualaccountinformationresponsedto.js +23 -0
- package/dist/esm/models/getvirtualaccountinformationresponsedto.js.map +1 -0
- package/dist/esm/models/index.d.ts +5 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +5 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/lockboxaddressdto.d.ts +33 -0
- package/dist/esm/models/lockboxaddressdto.d.ts.map +1 -0
- package/dist/esm/models/lockboxaddressdto.js +23 -0
- package/dist/esm/models/lockboxaddressdto.js.map +1 -0
- package/dist/esm/models/operations/applicationfilescontrollerfindall.d.ts +5 -0
- package/dist/esm/models/operations/applicationfilescontrollerfindall.d.ts.map +1 -1
- package/dist/esm/models/operations/applicationfilescontrollerfindall.js +1 -0
- package/dist/esm/models/operations/applicationfilescontrollerfindall.js.map +1 -1
- package/dist/esm/models/operations/businessescontrollergetaccountholderinformation.d.ts +30 -0
- package/dist/esm/models/operations/businessescontrollergetaccountholderinformation.d.ts.map +1 -0
- package/dist/esm/models/operations/businessescontrollergetaccountholderinformation.js +22 -0
- package/dist/esm/models/operations/businessescontrollergetaccountholderinformation.js.map +1 -0
- package/dist/esm/models/operations/businessescontrollergetvirtualaccountinformation.d.ts +30 -0
- package/dist/esm/models/operations/businessescontrollergetvirtualaccountinformation.d.ts.map +1 -0
- package/dist/esm/models/operations/businessescontrollergetvirtualaccountinformation.js +23 -0
- package/dist/esm/models/operations/businessescontrollergetvirtualaccountinformation.js.map +1 -0
- package/dist/esm/models/operations/businessfilescontrollerfindall.d.ts +5 -0
- package/dist/esm/models/operations/businessfilescontrollerfindall.d.ts.map +1 -1
- package/dist/esm/models/operations/businessfilescontrollerfindall.js +1 -0
- package/dist/esm/models/operations/businessfilescontrollerfindall.js.map +1 -1
- package/dist/esm/models/operations/filescontrollerfindall.d.ts +5 -0
- package/dist/esm/models/operations/filescontrollerfindall.d.ts.map +1 -1
- package/dist/esm/models/operations/filescontrollerfindall.js +1 -0
- package/dist/esm/models/operations/filescontrollerfindall.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/paymentintentresponsedto.d.ts +4 -0
- package/dist/esm/models/paymentintentresponsedto.d.ts.map +1 -1
- package/dist/esm/models/paymentintentresponsedto.js +2 -0
- package/dist/esm/models/paymentintentresponsedto.js.map +1 -1
- package/dist/esm/models/paymentraildatadto.d.ts +5 -0
- package/dist/esm/models/paymentraildatadto.d.ts.map +1 -1
- package/dist/esm/models/paymentraildatadto.js +4 -0
- package/dist/esm/models/paymentraildatadto.js.map +1 -1
- package/dist/esm/models/updatefinancialaccountdto.d.ts +0 -6
- package/dist/esm/models/updatefinancialaccountdto.d.ts.map +1 -1
- package/dist/esm/models/updatefinancialaccountdto.js +0 -2
- package/dist/esm/models/updatefinancialaccountdto.js.map +1 -1
- package/dist/esm/models/updatepaymentintentdto.d.ts +5 -0
- package/dist/esm/models/updatepaymentintentdto.d.ts.map +1 -1
- package/dist/esm/models/updatepaymentintentdto.js +2 -0
- package/dist/esm/models/updatepaymentintentdto.js.map +1 -1
- package/dist/esm/models/updateplatformfinancialaccountdto.d.ts +0 -6
- package/dist/esm/models/updateplatformfinancialaccountdto.d.ts.map +1 -1
- package/dist/esm/models/updateplatformfinancialaccountdto.js +0 -2
- package/dist/esm/models/updateplatformfinancialaccountdto.js.map +1 -1
- package/dist/esm/models/virtualaccountinfoitemdto.d.ts +34 -0
- package/dist/esm/models/virtualaccountinfoitemdto.d.ts.map +1 -0
- package/dist/esm/models/virtualaccountinfoitemdto.js +29 -0
- package/dist/esm/models/virtualaccountinfoitemdto.js.map +1 -0
- package/dist/esm/sdk/businesses.d.ts +14 -0
- package/dist/esm/sdk/businesses.d.ts.map +1 -1
- package/dist/esm/sdk/businesses.js +20 -0
- package/dist/esm/sdk/businesses.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/applicationFilesList.ts +1 -0
- package/src/funcs/applicationFilesUpload.ts +11 -0
- package/src/funcs/businessFilesList.ts +1 -0
- package/src/funcs/businessFilesUpload.ts +11 -0
- package/src/funcs/businessesGetAccountHolderInformation.ts +190 -0
- package/src/funcs/businessesGetVirtualAccountInformation.ts +190 -0
- package/src/funcs/filesList.ts +1 -0
- package/src/funcs/filesUpload.ts +11 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/models/accountholdervirtualaccountitemdto.ts +69 -0
- package/src/models/createoriginationofferdto.ts +0 -12
- package/src/models/createpaymentintentdto.ts +7 -0
- package/src/models/financialaccountdatadto.ts +9 -0
- package/src/models/financialaccountverificationdto.ts +1 -0
- package/src/models/financialaccountverificationresponsedto.ts +2 -2
- package/src/models/getaccountholderinformationresponsedto.ts +62 -0
- package/src/models/getvirtualaccountinformationresponsedto.ts +61 -0
- package/src/models/index.ts +5 -1
- package/src/models/lockboxaddressdto.ts +64 -0
- package/src/models/operations/applicationfilescontrollerfindall.ts +6 -0
- package/src/models/operations/businessescontrollergetaccountholderinformation.ts +63 -0
- package/src/models/operations/businessescontrollergetvirtualaccountinformation.ts +62 -0
- package/src/models/operations/businessfilescontrollerfindall.ts +6 -0
- package/src/models/operations/filescontrollerfindall.ts +6 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/paymentintentresponsedto.ts +6 -0
- package/src/models/paymentraildatadto.ts +9 -0
- package/src/models/updatefinancialaccountdto.ts +0 -10
- package/src/models/updatepaymentintentdto.ts +7 -0
- package/src/models/updateplatformfinancialaccountdto.ts +0 -10
- package/src/models/virtualaccountinfoitemdto.ts +73 -0
- package/src/sdk/businesses.ts +36 -0
- package/dist/commonjs/models/paymentintentdto.d.ts +0 -15
- package/dist/commonjs/models/paymentintentdto.d.ts.map +0 -1
- package/dist/commonjs/models/paymentintentdto.js.map +0 -1
- package/dist/esm/models/paymentintentdto.d.ts +0 -15
- package/dist/esm/models/paymentintentdto.d.ts.map +0 -1
- package/dist/esm/models/paymentintentdto.js +0 -12
- package/dist/esm/models/paymentintentdto.js.map +0 -1
- package/src/models/paymentintentdto.ts +0 -34
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import {
|
|
10
|
+
AccountHolderVirtualAccountItemDto,
|
|
11
|
+
AccountHolderVirtualAccountItemDto$inboundSchema,
|
|
12
|
+
} from "./accountholdervirtualaccountitemdto.js";
|
|
13
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
14
|
+
|
|
15
|
+
export type GetAccountHolderInformationResponseDto = {
|
|
16
|
+
/**
|
|
17
|
+
* Account holder business external ID
|
|
18
|
+
*/
|
|
19
|
+
accountHolderBusinessExternalId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Account ID
|
|
22
|
+
*/
|
|
23
|
+
accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Total number of records across all pages
|
|
26
|
+
*/
|
|
27
|
+
totalRecords: number;
|
|
28
|
+
/**
|
|
29
|
+
* List of virtual accounts
|
|
30
|
+
*/
|
|
31
|
+
virtualAccounts: Array<AccountHolderVirtualAccountItemDto>;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const GetAccountHolderInformationResponseDto$inboundSchema: z.ZodType<
|
|
36
|
+
GetAccountHolderInformationResponseDto,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
account_holder_business_external_id: z.string(),
|
|
41
|
+
account_id: z.string(),
|
|
42
|
+
total_records: z.number(),
|
|
43
|
+
virtual_accounts: z.array(AccountHolderVirtualAccountItemDto$inboundSchema),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
"account_holder_business_external_id": "accountHolderBusinessExternalId",
|
|
47
|
+
"account_id": "accountId",
|
|
48
|
+
"total_records": "totalRecords",
|
|
49
|
+
"virtual_accounts": "virtualAccounts",
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function getAccountHolderInformationResponseDtoFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<GetAccountHolderInformationResponseDto, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) =>
|
|
59
|
+
GetAccountHolderInformationResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'GetAccountHolderInformationResponseDto' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
VirtualAccountInfoItemDto,
|
|
12
|
+
VirtualAccountInfoItemDto$inboundSchema,
|
|
13
|
+
} from "./virtualaccountinfoitemdto.js";
|
|
14
|
+
|
|
15
|
+
export type GetVirtualAccountInformationResponseDto = {
|
|
16
|
+
/**
|
|
17
|
+
* Business external ID
|
|
18
|
+
*/
|
|
19
|
+
businessExternalId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Total number of records across all pages
|
|
22
|
+
*/
|
|
23
|
+
totalRecords: number;
|
|
24
|
+
/**
|
|
25
|
+
* List of virtual accounts
|
|
26
|
+
*/
|
|
27
|
+
virtualAccounts: Array<VirtualAccountInfoItemDto>;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const GetVirtualAccountInformationResponseDto$inboundSchema: z.ZodType<
|
|
32
|
+
GetVirtualAccountInformationResponseDto,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
unknown
|
|
35
|
+
> = z.object({
|
|
36
|
+
business_external_id: z.string(),
|
|
37
|
+
total_records: z.number(),
|
|
38
|
+
virtual_accounts: z.array(VirtualAccountInfoItemDto$inboundSchema),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
"business_external_id": "businessExternalId",
|
|
42
|
+
"total_records": "totalRecords",
|
|
43
|
+
"virtual_accounts": "virtualAccounts",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function getVirtualAccountInformationResponseDtoFromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<
|
|
50
|
+
GetVirtualAccountInformationResponseDto,
|
|
51
|
+
SDKValidationError
|
|
52
|
+
> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) =>
|
|
56
|
+
GetVirtualAccountInformationResponseDto$inboundSchema.parse(
|
|
57
|
+
JSON.parse(x),
|
|
58
|
+
),
|
|
59
|
+
`Failed to parse 'GetVirtualAccountInformationResponseDto' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "./aantemplatesettingsdto.js";
|
|
|
7
7
|
export * from "./acceptedvia.js";
|
|
8
8
|
export * from "./acceptoriginationdto.js";
|
|
9
9
|
export * from "./acceptoriginationresponsedto.js";
|
|
10
|
+
export * from "./accountholdervirtualaccountitemdto.js";
|
|
10
11
|
export * from "./accountstatementlistresponse.js";
|
|
11
12
|
export * from "./addressdto.js";
|
|
12
13
|
export * from "./adverseactiondto.js";
|
|
@@ -73,6 +74,8 @@ export * from "./financialaccountresponsedto.js";
|
|
|
73
74
|
export * from "./financialaccountverificationdto.js";
|
|
74
75
|
export * from "./financialaccountverificationresponsedto.js";
|
|
75
76
|
export * from "./forgotpassworddto.js";
|
|
77
|
+
export * from "./getaccountholderinformationresponsedto.js";
|
|
78
|
+
export * from "./getvirtualaccountinformationresponsedto.js";
|
|
76
79
|
export * from "./holdreleasebalanceupdaterequest.js";
|
|
77
80
|
export * from "./holdresponsedto.js";
|
|
78
81
|
export * from "./holdsettingsdto.js";
|
|
@@ -111,6 +114,7 @@ export * from "./lmsloansubstatus.js";
|
|
|
111
114
|
export * from "./lmspaymentrequeststatus.js";
|
|
112
115
|
export * from "./lmspaymentrequesttriggeredby.js";
|
|
113
116
|
export * from "./lmsreconciliation.js";
|
|
117
|
+
export * from "./lockboxaddressdto.js";
|
|
114
118
|
export * from "./logindto.js";
|
|
115
119
|
export * from "./minfeedto.js";
|
|
116
120
|
export * from "./minfeeresponsedto.js";
|
|
@@ -131,7 +135,6 @@ export * from "./paymentdto.js";
|
|
|
131
135
|
export * from "./paymentinformationdto.js";
|
|
132
136
|
export * from "./paymentintentbalancebyproductdto.js";
|
|
133
137
|
export * from "./paymentintentbalancedto.js";
|
|
134
|
-
export * from "./paymentintentdto.js";
|
|
135
138
|
export * from "./paymentintentoriginationbalancedto.js";
|
|
136
139
|
export * from "./paymentintentresponsedto.js";
|
|
137
140
|
export * from "./paymentintenttype.js";
|
|
@@ -201,4 +204,5 @@ export * from "./userprofiledto.js";
|
|
|
201
204
|
export * from "./userrequestdto.js";
|
|
202
205
|
export * from "./userresponsedto.js";
|
|
203
206
|
export * from "./userroleenum.js";
|
|
207
|
+
export * from "./virtualaccountinfoitemdto.js";
|
|
204
208
|
export * from "./volumecapconfigdto.js";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type LockboxAddressDto = {
|
|
12
|
+
/**
|
|
13
|
+
* Recipient name or attention line
|
|
14
|
+
*/
|
|
15
|
+
recipient?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Street line 1
|
|
18
|
+
*/
|
|
19
|
+
line1?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Street line 2
|
|
22
|
+
*/
|
|
23
|
+
line2?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* City
|
|
26
|
+
*/
|
|
27
|
+
city?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* State or province (2-letter code)
|
|
30
|
+
*/
|
|
31
|
+
state?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Postal code
|
|
34
|
+
*/
|
|
35
|
+
postalCode?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const LockboxAddressDto$inboundSchema: z.ZodType<
|
|
40
|
+
LockboxAddressDto,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
unknown
|
|
43
|
+
> = z.object({
|
|
44
|
+
recipient: z.string().optional(),
|
|
45
|
+
line1: z.string().optional(),
|
|
46
|
+
line2: z.string().optional(),
|
|
47
|
+
city: z.string().optional(),
|
|
48
|
+
state: z.string().optional(),
|
|
49
|
+
postal_code: z.string().optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
"postal_code": "postalCode",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function lockboxAddressDtoFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<LockboxAddressDto, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => LockboxAddressDto$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'LockboxAddressDto' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -15,6 +15,10 @@ export type ApplicationFilesControllerFindAllRequest = {
|
|
|
15
15
|
* Type of file
|
|
16
16
|
*/
|
|
17
17
|
fileType?: models.FileType | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Search query for filtering files. Supports field:value syntax and metadata["key"]:value for metadata filtering.
|
|
20
|
+
*/
|
|
21
|
+
q?: string | undefined;
|
|
18
22
|
limit?: number | undefined;
|
|
19
23
|
startingAfter?: string | undefined;
|
|
20
24
|
endingBefore?: string | undefined;
|
|
@@ -28,6 +32,7 @@ export type ApplicationFilesControllerFindAllResponse = {
|
|
|
28
32
|
export type ApplicationFilesControllerFindAllRequest$Outbound = {
|
|
29
33
|
application_id: string;
|
|
30
34
|
file_type?: string | undefined;
|
|
35
|
+
q?: string | undefined;
|
|
31
36
|
limit?: number | undefined;
|
|
32
37
|
starting_after?: string | undefined;
|
|
33
38
|
ending_before?: string | undefined;
|
|
@@ -41,6 +46,7 @@ export const ApplicationFilesControllerFindAllRequest$outboundSchema: z.ZodType<
|
|
|
41
46
|
> = z.object({
|
|
42
47
|
applicationId: z.string(),
|
|
43
48
|
fileType: models.FileType$outboundSchema.optional(),
|
|
49
|
+
q: z.string().optional(),
|
|
44
50
|
limit: z.number().optional(),
|
|
45
51
|
startingAfter: z.string().optional(),
|
|
46
52
|
endingBefore: z.string().optional(),
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type BusinessesControllerGetAccountHolderInformationRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the business
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Counter Party Business External ID
|
|
15
|
+
*/
|
|
16
|
+
counterPartyBusinessExternalId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Page number (0-based)
|
|
19
|
+
*/
|
|
20
|
+
pageNumber?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Number of items per page
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type BusinessesControllerGetAccountHolderInformationRequest$Outbound = {
|
|
29
|
+
id: string;
|
|
30
|
+
counter_party_business_external_id?: string | undefined;
|
|
31
|
+
page_number: number;
|
|
32
|
+
page_size: number;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const BusinessesControllerGetAccountHolderInformationRequest$outboundSchema:
|
|
37
|
+
z.ZodType<
|
|
38
|
+
BusinessesControllerGetAccountHolderInformationRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
BusinessesControllerGetAccountHolderInformationRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
id: z.string(),
|
|
43
|
+
counterPartyBusinessExternalId: z.string().optional(),
|
|
44
|
+
pageNumber: z.number().default(0),
|
|
45
|
+
pageSize: z.number().default(100),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
counterPartyBusinessExternalId: "counter_party_business_external_id",
|
|
49
|
+
pageNumber: "page_number",
|
|
50
|
+
pageSize: "page_size",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function businessesControllerGetAccountHolderInformationRequestToJSON(
|
|
55
|
+
businessesControllerGetAccountHolderInformationRequest:
|
|
56
|
+
BusinessesControllerGetAccountHolderInformationRequest,
|
|
57
|
+
): string {
|
|
58
|
+
return JSON.stringify(
|
|
59
|
+
BusinessesControllerGetAccountHolderInformationRequest$outboundSchema.parse(
|
|
60
|
+
businessesControllerGetAccountHolderInformationRequest,
|
|
61
|
+
),
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type BusinessesControllerGetVirtualAccountInformationRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the business
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Filter by account holder business external ID
|
|
15
|
+
*/
|
|
16
|
+
accountHolderBusinessExternalId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Page number (0-based)
|
|
19
|
+
*/
|
|
20
|
+
pageNumber?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Number of items per page
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type BusinessesControllerGetVirtualAccountInformationRequest$Outbound = {
|
|
29
|
+
id: string;
|
|
30
|
+
account_holder_business_external_id?: string | undefined;
|
|
31
|
+
page_number: number;
|
|
32
|
+
page_size: number;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const BusinessesControllerGetVirtualAccountInformationRequest$outboundSchema:
|
|
37
|
+
z.ZodType<
|
|
38
|
+
BusinessesControllerGetVirtualAccountInformationRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
BusinessesControllerGetVirtualAccountInformationRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
id: z.string(),
|
|
43
|
+
accountHolderBusinessExternalId: z.string().optional(),
|
|
44
|
+
pageNumber: z.number().default(0),
|
|
45
|
+
pageSize: z.number().default(100),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
accountHolderBusinessExternalId: "account_holder_business_external_id",
|
|
49
|
+
pageNumber: "page_number",
|
|
50
|
+
pageSize: "page_size",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function businessesControllerGetVirtualAccountInformationRequestToJSON(
|
|
55
|
+
businessesControllerGetVirtualAccountInformationRequest:
|
|
56
|
+
BusinessesControllerGetVirtualAccountInformationRequest,
|
|
57
|
+
): string {
|
|
58
|
+
return JSON.stringify(
|
|
59
|
+
BusinessesControllerGetVirtualAccountInformationRequest$outboundSchema
|
|
60
|
+
.parse(businessesControllerGetVirtualAccountInformationRequest),
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -15,6 +15,10 @@ export type BusinessFilesControllerFindAllRequest = {
|
|
|
15
15
|
* Type of file
|
|
16
16
|
*/
|
|
17
17
|
fileType?: models.FileType | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Search query for filtering files. Supports field:value syntax and metadata["key"]:value for metadata filtering.
|
|
20
|
+
*/
|
|
21
|
+
q?: string | undefined;
|
|
18
22
|
limit?: number | undefined;
|
|
19
23
|
startingAfter?: string | undefined;
|
|
20
24
|
endingBefore?: string | undefined;
|
|
@@ -28,6 +32,7 @@ export type BusinessFilesControllerFindAllResponse = {
|
|
|
28
32
|
export type BusinessFilesControllerFindAllRequest$Outbound = {
|
|
29
33
|
business_id: string;
|
|
30
34
|
file_type?: string | undefined;
|
|
35
|
+
q?: string | undefined;
|
|
31
36
|
limit?: number | undefined;
|
|
32
37
|
starting_after?: string | undefined;
|
|
33
38
|
ending_before?: string | undefined;
|
|
@@ -41,6 +46,7 @@ export const BusinessFilesControllerFindAllRequest$outboundSchema: z.ZodType<
|
|
|
41
46
|
> = z.object({
|
|
42
47
|
businessId: z.string(),
|
|
43
48
|
fileType: models.FileType$outboundSchema.optional(),
|
|
49
|
+
q: z.string().optional(),
|
|
44
50
|
limit: z.number().optional(),
|
|
45
51
|
startingAfter: z.string().optional(),
|
|
46
52
|
endingBefore: z.string().optional(),
|
|
@@ -19,6 +19,10 @@ export type FilesControllerFindAllRequest = {
|
|
|
19
19
|
* Type of file
|
|
20
20
|
*/
|
|
21
21
|
fileType?: models.FileType | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Search query for filtering files. Supports field:value syntax and metadata["key"]:value for metadata filtering.
|
|
24
|
+
*/
|
|
25
|
+
q?: string | undefined;
|
|
22
26
|
limit?: number | undefined;
|
|
23
27
|
startingAfter?: string | undefined;
|
|
24
28
|
endingBefore?: string | undefined;
|
|
@@ -33,6 +37,7 @@ export type FilesControllerFindAllRequest$Outbound = {
|
|
|
33
37
|
resource_type?: string | undefined;
|
|
34
38
|
resource_id?: string | undefined;
|
|
35
39
|
file_type?: string | undefined;
|
|
40
|
+
q?: string | undefined;
|
|
36
41
|
limit?: number | undefined;
|
|
37
42
|
starting_after?: string | undefined;
|
|
38
43
|
ending_before?: string | undefined;
|
|
@@ -47,6 +52,7 @@ export const FilesControllerFindAllRequest$outboundSchema: z.ZodType<
|
|
|
47
52
|
resourceType: models.FileResourceType$outboundSchema.optional(),
|
|
48
53
|
resourceId: z.string().optional(),
|
|
49
54
|
fileType: models.FileType$outboundSchema.optional(),
|
|
55
|
+
q: z.string().optional(),
|
|
50
56
|
limit: z.number().optional(),
|
|
51
57
|
startingAfter: z.string().optional(),
|
|
52
58
|
endingBefore: z.string().optional(),
|
|
@@ -20,10 +20,12 @@ export * from "./businessescontrollercreate.js";
|
|
|
20
20
|
export * from "./businessescontrollercreatebulk.js";
|
|
21
21
|
export * from "./businessescontrollerfindall.js";
|
|
22
22
|
export * from "./businessescontrollerfindone.js";
|
|
23
|
+
export * from "./businessescontrollergetaccountholderinformation.js";
|
|
23
24
|
export * from "./businessescontrollergetaccountstatement.js";
|
|
24
25
|
export * from "./businessescontrollergetaccountstatements.js";
|
|
25
26
|
export * from "./businessescontrollergetbusinessbalance.js";
|
|
26
27
|
export * from "./businessescontrollergetunderwritingstatus.js";
|
|
28
|
+
export * from "./businessescontrollergetvirtualaccountinformation.js";
|
|
27
29
|
export * from "./businessescontrollerremove.js";
|
|
28
30
|
export * from "./businessescontrollersearch.js";
|
|
29
31
|
export * from "./businessescontrollerstartunderwriting.js";
|
|
@@ -81,6 +81,10 @@ export type PaymentIntentResponseDto = {
|
|
|
81
81
|
* Offer ID
|
|
82
82
|
*/
|
|
83
83
|
offerId?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Loan IDs associated with this payment intent.
|
|
86
|
+
*/
|
|
87
|
+
loanIds?: Array<string> | undefined;
|
|
84
88
|
};
|
|
85
89
|
|
|
86
90
|
/** @internal */
|
|
@@ -110,6 +114,7 @@ export const PaymentIntentResponseDto$inboundSchema: z.ZodType<
|
|
|
110
114
|
metadata: z.record(z.any()).optional(),
|
|
111
115
|
status: InvoiceStatusEnum$inboundSchema.optional(),
|
|
112
116
|
offer_id: z.string().optional(),
|
|
117
|
+
loan_ids: z.array(z.string()).optional(),
|
|
113
118
|
}).transform((v) => {
|
|
114
119
|
return remap$(v, {
|
|
115
120
|
"external_id": "externalId",
|
|
@@ -121,6 +126,7 @@ export const PaymentIntentResponseDto$inboundSchema: z.ZodType<
|
|
|
121
126
|
"payee_external_id": "payeeExternalId",
|
|
122
127
|
"paid_amount": "paidAmount",
|
|
123
128
|
"offer_id": "offerId",
|
|
129
|
+
"loan_ids": "loanIds",
|
|
124
130
|
});
|
|
125
131
|
});
|
|
126
132
|
|
|
@@ -73,6 +73,10 @@ export type PaymentRailDataDto = {
|
|
|
73
73
|
* Oatfi Routing Number
|
|
74
74
|
*/
|
|
75
75
|
oatfiRoutingNumber?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Plaid processor token for transaction data extraction. Used by partners who already collect Plaid access from their borrowers.
|
|
78
|
+
*/
|
|
79
|
+
processorPlaidToken?: string | undefined;
|
|
76
80
|
};
|
|
77
81
|
|
|
78
82
|
/** @internal */
|
|
@@ -97,6 +101,7 @@ export const PaymentRailDataDto$inboundSchema: z.ZodType<
|
|
|
97
101
|
account_number_id: z.string().optional(),
|
|
98
102
|
oatfi_account_number: z.string().optional(),
|
|
99
103
|
oatfi_routing_number: z.string().optional(),
|
|
104
|
+
processor_plaid_token: z.string().optional(),
|
|
100
105
|
}).transform((v) => {
|
|
101
106
|
return remap$(v, {
|
|
102
107
|
"account_id": "accountId",
|
|
@@ -115,6 +120,7 @@ export const PaymentRailDataDto$inboundSchema: z.ZodType<
|
|
|
115
120
|
"account_number_id": "accountNumberId",
|
|
116
121
|
"oatfi_account_number": "oatfiAccountNumber",
|
|
117
122
|
"oatfi_routing_number": "oatfiRoutingNumber",
|
|
123
|
+
"processor_plaid_token": "processorPlaidToken",
|
|
118
124
|
});
|
|
119
125
|
});
|
|
120
126
|
/** @internal */
|
|
@@ -135,6 +141,7 @@ export type PaymentRailDataDto$Outbound = {
|
|
|
135
141
|
account_number_id?: string | undefined;
|
|
136
142
|
oatfi_account_number?: string | undefined;
|
|
137
143
|
oatfi_routing_number?: string | undefined;
|
|
144
|
+
processor_plaid_token?: string | undefined;
|
|
138
145
|
};
|
|
139
146
|
|
|
140
147
|
/** @internal */
|
|
@@ -159,6 +166,7 @@ export const PaymentRailDataDto$outboundSchema: z.ZodType<
|
|
|
159
166
|
accountNumberId: z.string().optional(),
|
|
160
167
|
oatfiAccountNumber: z.string().optional(),
|
|
161
168
|
oatfiRoutingNumber: z.string().optional(),
|
|
169
|
+
processorPlaidToken: z.string().optional(),
|
|
162
170
|
}).transform((v) => {
|
|
163
171
|
return remap$(v, {
|
|
164
172
|
accountId: "account_id",
|
|
@@ -177,6 +185,7 @@ export const PaymentRailDataDto$outboundSchema: z.ZodType<
|
|
|
177
185
|
accountNumberId: "account_number_id",
|
|
178
186
|
oatfiAccountNumber: "oatfi_account_number",
|
|
179
187
|
oatfiRoutingNumber: "oatfi_routing_number",
|
|
188
|
+
processorPlaidToken: "processor_plaid_token",
|
|
180
189
|
});
|
|
181
190
|
});
|
|
182
191
|
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
PaymentMethodSourceEnum,
|
|
19
19
|
PaymentMethodSourceEnum$outboundSchema,
|
|
20
20
|
} from "./paymentmethodsourceenum.js";
|
|
21
|
-
import {
|
|
22
|
-
TransferMethodEnum,
|
|
23
|
-
TransferMethodEnum$outboundSchema,
|
|
24
|
-
} from "./transfermethodenum.js";
|
|
25
21
|
import {
|
|
26
22
|
TransferTypeEnum,
|
|
27
23
|
TransferTypeEnum$outboundSchema,
|
|
@@ -81,10 +77,6 @@ export type UpdateFinancialAccountDto = {
|
|
|
81
77
|
* Default payment method flag
|
|
82
78
|
*/
|
|
83
79
|
isDefault?: boolean | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* The type of payment method
|
|
86
|
-
*/
|
|
87
|
-
type?: TransferMethodEnum | undefined;
|
|
88
80
|
/**
|
|
89
81
|
* Verification consent data
|
|
90
82
|
*/
|
|
@@ -126,7 +118,6 @@ export type UpdateFinancialAccountDto$Outbound = {
|
|
|
126
118
|
debit_allowed?: boolean | undefined;
|
|
127
119
|
scheduled_repayment?: boolean | undefined;
|
|
128
120
|
is_default?: boolean | undefined;
|
|
129
|
-
type?: string | undefined;
|
|
130
121
|
verification?: FinancialAccountVerificationDto$Outbound | undefined;
|
|
131
122
|
};
|
|
132
123
|
|
|
@@ -148,7 +139,6 @@ export const UpdateFinancialAccountDto$outboundSchema: z.ZodType<
|
|
|
148
139
|
debitAllowed: z.boolean().optional(),
|
|
149
140
|
scheduledRepayment: z.boolean().optional(),
|
|
150
141
|
isDefault: z.boolean().optional(),
|
|
151
|
-
type: TransferMethodEnum$outboundSchema.optional(),
|
|
152
142
|
verification: FinancialAccountVerificationDto$outboundSchema.optional(),
|
|
153
143
|
}).transform((v) => {
|
|
154
144
|
return remap$(v, {
|
|
@@ -42,6 +42,10 @@ export type UpdatePaymentIntentDto = {
|
|
|
42
42
|
* Updated external identifier of the payee entity.
|
|
43
43
|
*/
|
|
44
44
|
payee?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Array of loan IDs to associate with this payment intent.
|
|
47
|
+
*/
|
|
48
|
+
loanIds?: Array<string> | undefined;
|
|
45
49
|
};
|
|
46
50
|
|
|
47
51
|
/** @internal */
|
|
@@ -55,6 +59,7 @@ export type UpdatePaymentIntentDto$Outbound = {
|
|
|
55
59
|
description?: string | undefined;
|
|
56
60
|
payor?: string | undefined;
|
|
57
61
|
payee?: string | undefined;
|
|
62
|
+
loan_ids?: Array<string> | undefined;
|
|
58
63
|
};
|
|
59
64
|
|
|
60
65
|
/** @internal */
|
|
@@ -72,6 +77,7 @@ export const UpdatePaymentIntentDto$outboundSchema: z.ZodType<
|
|
|
72
77
|
description: z.string().optional(),
|
|
73
78
|
payor: z.string().optional(),
|
|
74
79
|
payee: z.string().optional(),
|
|
80
|
+
loanIds: z.array(z.string()).optional(),
|
|
75
81
|
}).transform((v) => {
|
|
76
82
|
return remap$(v, {
|
|
77
83
|
paidAmount: "paid_amount",
|
|
@@ -79,6 +85,7 @@ export const UpdatePaymentIntentDto$outboundSchema: z.ZodType<
|
|
|
79
85
|
paymentDate: "payment_date",
|
|
80
86
|
createdDate: "created_date",
|
|
81
87
|
approvedByPayor: "approved_by_payor",
|
|
88
|
+
loanIds: "loan_ids",
|
|
82
89
|
});
|
|
83
90
|
});
|
|
84
91
|
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
PaymentMethodSourceEnum,
|
|
19
19
|
PaymentMethodSourceEnum$outboundSchema,
|
|
20
20
|
} from "./paymentmethodsourceenum.js";
|
|
21
|
-
import {
|
|
22
|
-
TransferMethodEnum,
|
|
23
|
-
TransferMethodEnum$outboundSchema,
|
|
24
|
-
} from "./transfermethodenum.js";
|
|
25
21
|
import {
|
|
26
22
|
TransferTypeEnum,
|
|
27
23
|
TransferTypeEnum$outboundSchema,
|
|
@@ -69,10 +65,6 @@ export type UpdatePlatformFinancialAccountDto = {
|
|
|
69
65
|
* Default payment method flag
|
|
70
66
|
*/
|
|
71
67
|
isDefault?: boolean | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* The type of payment method
|
|
74
|
-
*/
|
|
75
|
-
type?: TransferMethodEnum | undefined;
|
|
76
68
|
/**
|
|
77
69
|
* Verification consent data
|
|
78
70
|
*/
|
|
@@ -111,7 +103,6 @@ export type UpdatePlatformFinancialAccountDto$Outbound = {
|
|
|
111
103
|
debit_allowed?: boolean | undefined;
|
|
112
104
|
scheduled_repayment?: boolean | undefined;
|
|
113
105
|
is_default?: boolean | undefined;
|
|
114
|
-
type?: string | undefined;
|
|
115
106
|
verification?: FinancialAccountVerificationDto$Outbound | undefined;
|
|
116
107
|
};
|
|
117
108
|
|
|
@@ -130,7 +121,6 @@ export const UpdatePlatformFinancialAccountDto$outboundSchema: z.ZodType<
|
|
|
130
121
|
debitAllowed: z.boolean().optional(),
|
|
131
122
|
scheduledRepayment: z.boolean().optional(),
|
|
132
123
|
isDefault: z.boolean().optional(),
|
|
133
|
-
type: TransferMethodEnum$outboundSchema.optional(),
|
|
134
124
|
verification: FinancialAccountVerificationDto$outboundSchema.optional(),
|
|
135
125
|
}).transform((v) => {
|
|
136
126
|
return remap$(v, {
|