Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions v2/api-validator/src/client/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export { InteracCapability } from './models/InteracCapability';
export type { InteracDestination } from './models/InteracDestination';
export type { InteracTransfer } from './models/InteracTransfer';
export type { InteracTransferDetailsBase } from './models/InteracTransferDetailsBase';
export type { InteracTransferSecurityQuestionAndAnswer } from './models/InteracTransferSecurityQuestionAndAnswer';
export type { InteractTransferDetailsOffRamp } from './models/InteractTransferDetailsOffRamp';
export type { InteractTransferDetailsOnRamp } from './models/InteractTransferDetailsOnRamp';
export type { InternalTransfer } from './models/InternalTransfer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import type { AccountHolderDetails } from './AccountHolderDetails';
import type { InteracCapability } from './InteracCapability';
import type { InteractTransferDetailsOnRamp } from './InteractTransferDetailsOnRamp';

/**
* When true, funds are deposited directly into the recipient's bank account without a security question.
* When false, a security question and answer are required to complete the transfer
*/
export type InteracAddressPaymentInstruction = (InteracCapability & InteractTransferDetailsOnRamp & {
accountHolder: AccountHolderDetails;
});
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type InteracTransferSecurityQuestionAndAnswer = {
autoDeposit: boolean;
/**
* if autoDeposit is false, this is required
*/
securityQuestion?: string;
/**
* if autoDeposit is false, this is required
*/
securityAnswer?: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/* eslint-disable */

import type { InteracTransferDetailsBase } from './InteracTransferDetailsBase';
import type { InteracTransferSecurityQuestionAndAnswer } from './InteracTransferSecurityQuestionAndAnswer';

export type InteractTransferDetailsOnRamp = InteracTransferDetailsBase;
export type InteractTransferDetailsOnRamp = (InteracTransferDetailsBase & InteracTransferSecurityQuestionAndAnswer);

146 changes: 112 additions & 34 deletions v2/openapi/docs.html

Large diffs are not rendered by default.

20 changes: 18 additions & 2 deletions v2/openapi/fb-provider-transfer-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1533,13 +1533,28 @@ components:
message:
type: string

InteracTransferSecurityQuestionAndAnswer:
type: object
required:
- autoDeposit
properties:
autoDeposit:
type: boolean
securityQuestion:
description: if autoDeposit is false, this is required
type: string
securityAnswer:
type: string
description: if autoDeposit is false, this is required

InteractTransferDetailsOffRamp:
allOf:
- $ref: '#/components/schemas/InteracTransferDetailsBase'

InteractTransferDetailsOnRamp:
allOf:
- $ref: '#/components/schemas/InteracTransferDetailsBase'
- $ref: '#/components/schemas/InteracTransferSecurityQuestionAndAnswer'

InteracAddress:
allOf:
Expand All @@ -1548,19 +1563,20 @@ components:
- type: object
required:
- accountHolder
- interacTransfer
properties:
accountHolder:
$ref: '#/components/schemas/AccountHolderDetails'

InteracAddressPaymentInstruction:
description: >-
When true, funds are deposited directly into the recipient's bank account without a security question.
When false, a security question and answer are required to complete the transfer
allOf:
- $ref: '#/components/schemas/InteracCapability'
- $ref: '#/components/schemas/InteractTransferDetailsOnRamp'
- type: object
required:
- accountHolder
- interacTransfer
properties:
accountHolder:
$ref: '#/components/schemas/AccountHolderDetails'
Expand Down
19 changes: 17 additions & 2 deletions v2/openapi/fb-unified-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4306,31 +4306,46 @@ components:
$ref: '#/components/schemas/RecipientHandle'
message:
type: string
InteracTransferSecurityQuestionAndAnswer:
type: object
required:
- autoDeposit
properties:
autoDeposit:
type: boolean
securityQuestion:
description: if autoDeposit is false, this is required
type: string
securityAnswer:
type: string
description: if autoDeposit is false, this is required
InteractTransferDetailsOffRamp:
allOf:
- $ref: '#/components/schemas/InteracTransferDetailsBase'
InteractTransferDetailsOnRamp:
allOf:
- $ref: '#/components/schemas/InteracTransferDetailsBase'
- $ref: '#/components/schemas/InteracTransferSecurityQuestionAndAnswer'
InteracAddress:
allOf:
- $ref: '#/components/schemas/InteracCapability'
- $ref: '#/components/schemas/InteractTransferDetailsOffRamp'
- type: object
required:
- accountHolder
- interacTransfer
properties:
accountHolder:
$ref: '#/components/schemas/AccountHolderDetails'
InteracAddressPaymentInstruction:
description: |-
When true, funds are deposited directly into the recipient's bank account without a security question.
When false, a security question and answer are required to complete the transfer
allOf:
- $ref: '#/components/schemas/InteracCapability'
- $ref: '#/components/schemas/InteractTransferDetailsOnRamp'
- type: object
required:
- accountHolder
- interacTransfer
properties:
accountHolder:
$ref: '#/components/schemas/AccountHolderDetails'
Expand Down
Loading