Skip to content
Open
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: 0 additions & 1 deletion v2/api-validator/src/client/generated/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ export class ApiClient {
this.transfersPeerAccounts = new TransfersPeerAccountsService(this.request);
}
}

1 change: 0 additions & 1 deletion v2/api-validator/src/client/generated/models/Account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ import type { AccountData } from './AccountData';
import type { AccountId } from './AccountId';

export type Account = (AccountId & AccountData);

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ export type AccountData = {
*/
parentId?: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/**
* AccountEnvironment field describes which environment is being run at the moment
*
*
*/
export enum AccountEnvironment {
PROD = 'prod',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ export type AccountHolderDetails = {
address?: string;
postalCode?: string;
};

1 change: 0 additions & 1 deletion v2/api-validator/src/client/generated/models/AccountId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
export type AccountId = {
id: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
* Indicates to which sub-accounts an operation applies. The value could be either a list of sub-account IDs or "*". The value "*" indicates all the sub-accounts.
*/
export type AccountsSet = (string | Array<string>);

11 changes: 5 additions & 6 deletions v2/api-validator/src/client/generated/models/AchAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import type { BankAccountNumber } from './BankAccountNumber';
import type { RoutingNumber } from './RoutingNumber';

export type AchAddress = (AchCapability & {
accountHolder: AccountHolderDetails;
bankName?: string;
bankAccountNumber: BankAccountNumber;
routingNumber: RoutingNumber;
accountType: AchAddress.accountType;
accountHolder: AccountHolderDetails;
bankName?: string;
bankAccountNumber: BankAccountNumber;
routingNumber: RoutingNumber;
accountType: AchAddress.accountType;
});

export namespace AchAddress {
Expand All @@ -25,4 +25,3 @@ export namespace AchAddress {


}

Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ export namespace AchCapability {


}

3 changes: 1 addition & 2 deletions v2/api-validator/src/client/generated/models/AchTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import type { AchTransferDestination } from './AchTransferDestination';

export type AchTransfer = (AchTransferDestination & {
referenceId?: string;
referenceId?: string;
});

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import type { AchAddress } from './AchAddress';
import type { PositiveAmount } from './PositiveAmount';

export type AchTransferDestination = (AchAddress & {
amount: PositiveAmount;
amount: PositiveAmount;
});

Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ export type ApiComponents = {
ramps?: AccountsSet;
rates?: AccountsSet;
};

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ export type ApprovalRequest = {
*/
partnerIntentId: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type AssetBalance = {
availableAmount: PositiveAmount;
lockedAmount?: PositiveAmount;
};

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ export type AssetCommonProperties = {
decimalPlaces: number;
testAsset?: boolean;
};

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import type { AssetBalance } from './AssetBalance';
import type { PositiveAmount } from './PositiveAmount';

export type AssetCreditBalance = (AssetBalance & {
creditAmount: PositiveAmount;
creditAmount: PositiveAmount;
});

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ import type { SolanaToken } from './SolanaToken';
import type { StellarToken } from './StellarToken';

export type AssetDefinition = (BucketAsset | Erc20Token | Bep20Token | StellarToken | ContractBasedToken | SolanaToken);

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ import type { NativeCryptocurrency } from './NativeCryptocurrency';
import type { OtherAssetReference } from './OtherAssetReference';

export type AssetReference = (NationalCurrency | NativeCryptocurrency | OtherAssetReference);

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type BadRequestError = {
errorType: BadRequestError.errorType;
/**
* Name of property that caused the error. By convention, should always start with a slash ("/"). If the property is nested, the path should be separated by slashes.
* This property is required if the error type is caused by a missing or wrong property in the request.
* This property is required if the error type is caused by a missing or wrong property in the request.
*/
propertyName?: string;
requestPart?: RequestPart;
Expand All @@ -43,4 +43,3 @@ export namespace BadRequestError {


}

Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ export namespace BasisPointsFeeAmount {


}

7 changes: 3 additions & 4 deletions v2/api-validator/src/client/generated/models/Bep20Token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import type { AssetCommonProperties } from './AssetCommonProperties';
import type { Blockchain } from './Blockchain';

export type Bep20Token = (AssetCommonProperties & {
type: Bep20Token.type;
blockchain: Blockchain;
contractAddress: string;
type: Bep20Token.type;
blockchain: Blockchain;
contractAddress: string;
});

export namespace Bep20Token {
Expand All @@ -20,4 +20,3 @@ export namespace Bep20Token {


}

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import type { PublicBlockchainCapability } from './PublicBlockchainCapability';

export type BlockchainCapabilityWithOptionalAddress = (PublicBlockchainCapability & {
address?: string;
address?: string;
});

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import type { PublicBlockchainTransaction } from './PublicBlockchainTransaction'
import type { WithdrawalCommonProperties } from './WithdrawalCommonProperties';

export type BlockchainWithdrawal = (WithdrawalCommonProperties & {
destination: PublicBlockchainTransaction;
destination: PublicBlockchainTransaction;
});

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import type { PublicBlockchainTransactionDestination } from './PublicBlockchainT
import type { WithdrawalRequestCommonProperties } from './WithdrawalRequestCommonProperties';

export type BlockchainWithdrawalRequest = (WithdrawalRequestCommonProperties & {
balanceAsset: AssetReference;
destination: PublicBlockchainTransactionDestination;
participantsIdentification?: ParticipantsIdentification;
balanceAsset: AssetReference;
destination: PublicBlockchainTransactionDestination;
participantsIdentification?: ParticipantsIdentification;
});

3 changes: 1 addition & 2 deletions v2/api-validator/src/client/generated/models/Bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ import type { CommonRamp } from './CommonRamp';
import type { PrefundedBridgeProperties } from './PrefundedBridgeProperties';

export type Bridge = (CommonRamp & (BridgePropertiesWithPaymentInstructions | PrefundedBridgeProperties) & {
receipt?: BridgeReceipt;
receipt?: BridgeReceipt;
});

Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ export type BridgeCapability = {
from: PublicBlockchainCapability;
to: PublicBlockchainCapability;
};

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ export namespace BridgeProperties {


}

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import type { BridgeProperties } from './BridgeProperties';
import type { PublicBlockchainAddress } from './PublicBlockchainAddress';

export type BridgePropertiesWithPaymentInstructions = ({
paymentInstructions: PublicBlockchainAddress;
paymentInstructions: PublicBlockchainAddress;
} & BridgeProperties);

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ import type { PublicBlockchainTransaction } from './PublicBlockchainTransaction'
import type { RampFees } from './RampFees';

export type BridgeReceipt = (PublicBlockchainTransaction & {
actualFees?: RampFees;
actualFees?: RampFees;
});

3 changes: 1 addition & 2 deletions v2/api-validator/src/client/generated/models/BucketAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import type { AssetCommonProperties } from './AssetCommonProperties';

export type BucketAsset = (AssetCommonProperties & {
type: BucketAsset.type;
type: BucketAsset.type;
});

export namespace BucketAsset {
Expand All @@ -17,4 +17,3 @@ export namespace BucketAsset {


}

Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ export namespace BusinessIdentificationInfo {


}

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type Capabilities = {
version: string;
components: ApiComponents;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type CollateralAccount = {
collateralSigners: Array<CollateralSignerId>;
env: AccountEnvironment;
};

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import type { CollateralLinkStatus } from './CollateralLinkStatus';
import type { CryptocurrencyReference } from './CryptocurrencyReference';

export type CollateralAccountLink = ({
id: string;
status: CollateralLinkStatus;
eligibleCollateralAssets: Array<CryptocurrencyReference>;
rejectionReason?: string;
id: string;
status: CollateralLinkStatus;
eligibleCollateralAssets: Array<CryptocurrencyReference>;
rejectionReason?: string;
} & CollateralAccount);

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type CollateralAddress = {
*/
recoveryAccountId: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import type { CollateralAddress } from './CollateralAddress';

export type CollateralAssetAddress = ({
id: string;
id: string;
} & CollateralAddress);

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ import type { CollateralAssetAddress } from './CollateralAssetAddress';
export type CollateralDepositAddresses = {
addresses: Array<CollateralAssetAddress>;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type CollateralDepositTransactionIntentRequest = {
amount: PositiveAmount;
intentApprovalRequest: IntentApprovalRequest;
};

Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ import type { CryptocurrencyReference } from './CryptocurrencyReference';
import type { PositiveAmount } from './PositiveAmount';

export type CollateralDepositTransactionIntentResponse = {
id: string;
status: CollateralTransactionIntentStatus;
asset: CryptocurrencyReference;
amount: PositiveAmount;
approvalRequest: ApprovalRequest;
rejectionReason?: string;
id: string;
status: CollateralTransactionIntentStatus;
asset: CryptocurrencyReference;
amount: PositiveAmount;
approvalRequest: ApprovalRequest;
rejectionReason?: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import type { ApprovalRequest } from './ApprovalRequest';
export type CollateralDepositTransactionRequest = {
/**
* A unique identifier of the transaction to track. This field will contain information to help the provider poll the status of the transaction from Fireblocks.
*
*
*/
collateralTxId: string;
approvalRequest: ApprovalRequest;
};

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type { CollateralDepositTransactionRequest } from './CollateralDepositTra
import type { CollateralDepositTransactionStatus } from './CollateralDepositTransactionStatus';

export type CollateralDepositTransactionResponse = ({
id: string;
status: CollateralDepositTransactionStatus;
id: string;
status: CollateralDepositTransactionStatus;
} & CollateralDepositTransactionRequest);

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - **Pending** - The transaction is pending and has not been credited to the provider's account yet
* - **Credited** - The transaction has been completed successfully and the account has been credited
* - **Rejected** - The transaction has been rejected and the account has not been credited
*
*
*/
export enum CollateralDepositTransactionStatus {
PENDING = 'Pending',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ import type { CollateralDepositTransactionResponse } from './CollateralDepositTr
export type CollateralDepositTransactionsResponse = {
transactions: Array<CollateralDepositTransactionResponse>;
};

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* - **Linked** - The provider account is linked to a collateral account
* - **Disabled** - The link is disabled at the moment, but can be re-enabled
* - **Failed** - The link creation failed
*
*
*/
export enum CollateralLinkStatus {
ELIGIBLE = 'Eligible',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* - **Approved** - The transaction is approved by the provider's
* - **Rejected** - The transaction has been rejected by the provider's
*
*
*/
export enum CollateralTransactionIntentStatus {
APPROVED = 'Approved',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ export type CollateralWithdrawalSettlementTransaction = {
*/
settlementTxId: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ export type CollateralWithdrawalTransaction = {
approvalRequest: ApprovalRequest;
rejectionReason?: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export type CollateralWithdrawalTransactionIntentRequest = {
destinationAddress: PublicBlockchainAddress;
intentApprovalRequest: IntentApprovalRequest;
};

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ export type CollateralWithdrawalTransactionIntentResponse = {
status: CollateralTransactionIntentStatus;
rejectionReason?: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ export type CollateralWithdrawalTransactionRequest = {
approvalRequest: ApprovalRequest;
settlementDetails?: CollateralWithdrawalSettlementTransaction;
};

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - **Pending** - The withdrawal transaction is pending the provider's approval
* - **Approved** - The withdrawal transaction has been approved and it is in progress
* - **Rejected** - The withdrawal transaction has been rejected
*
*
*/
export enum CollateralWithdrawalTransactionStatus {
PENDING = 'Pending',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ import type { CollateralWithdrawalTransaction } from './CollateralWithdrawalTran
export type CollateralWithdrawalTransactions = {
transactions: Array<CollateralWithdrawalTransaction>;
};

1 change: 0 additions & 1 deletion v2/api-validator/src/client/generated/models/CommonRamp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ export type CommonRamp = {
*/
expiresAt: string;
};

Loading