squarefi-bff-api-module 1.22.9 → 1.22.11

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.
@@ -1342,7 +1342,7 @@ export declare namespace API {
1342
1342
  signal?: AbortSignal;
1343
1343
  }
1344
1344
  export interface WithdrawCryptoRequest extends CommonRequestParams {
1345
- order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER;
1345
+ order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER | OrderType.SEGREGATED_CRYPTO_TRANSFER;
1346
1346
  to_address?: string;
1347
1347
  }
1348
1348
  export interface NonWithdrawCryptoRequest extends CommonRequestParams {
@@ -1410,7 +1410,7 @@ export declare namespace API {
1410
1410
  signal?: AbortSignal;
1411
1411
  }
1412
1412
  export interface WithdrawCryptoRequest extends CommonRequestParams {
1413
- order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER;
1413
+ order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER | OrderType.SEGREGATED_CRYPTO_TRANSFER;
1414
1414
  to_address?: string;
1415
1415
  }
1416
1416
  export interface NonWithdrawCryptoRequest extends CommonRequestParams {
@@ -72,6 +72,7 @@ export declare enum WalletTransactionRecordType {
72
72
  ONRAMP_ACHWIRE = "ONRAMP_ACHWIRE",
73
73
  ONRAMP_SEPA = "ONRAMP_SEPA",
74
74
  REFUND = "REFUND",
75
+ SEGREGATED_CRYPTO_TRANSFER = "SEGREGATED_CRYPTO_TRANSFER",
75
76
  WHOLESALE_CARD_DEPOSIT = "WHOLESALE_CARD_DEPOSIT",
76
77
  WITHDRAWAL = "WITHDRAWAL",
77
78
  WITHDRAWAL_CRYPTO_EXTERNAL = "WITHDRAWAL_CRYPTO_EXTERNAL",
package/dist/constants.js CHANGED
@@ -76,6 +76,7 @@ var WalletTransactionRecordType;
76
76
  WalletTransactionRecordType["ONRAMP_ACHWIRE"] = "ONRAMP_ACHWIRE";
77
77
  WalletTransactionRecordType["ONRAMP_SEPA"] = "ONRAMP_SEPA";
78
78
  WalletTransactionRecordType["REFUND"] = "REFUND";
79
+ WalletTransactionRecordType["SEGREGATED_CRYPTO_TRANSFER"] = "SEGREGATED_CRYPTO_TRANSFER";
79
80
  WalletTransactionRecordType["WHOLESALE_CARD_DEPOSIT"] = "WHOLESALE_CARD_DEPOSIT";
80
81
  WalletTransactionRecordType["WITHDRAWAL"] = "WITHDRAWAL";
81
82
  WalletTransactionRecordType["WITHDRAWAL_CRYPTO_EXTERNAL"] = "WITHDRAWAL_CRYPTO_EXTERNAL";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.22.9",
3
+ "version": "1.22.11",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1549,7 +1549,11 @@ export namespace API {
1549
1549
  }
1550
1550
 
1551
1551
  export interface WithdrawCryptoRequest extends CommonRequestParams {
1552
- order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER;
1552
+ order_type:
1553
+ | OrderType.WITHDRAWAL_CRYPTO
1554
+ | OrderType.TRANSFER_INTERNAL
1555
+ | OrderType.OMNIBUS_CRYPTO_TRANSFER
1556
+ | OrderType.SEGREGATED_CRYPTO_TRANSFER;
1553
1557
  to_address?: string;
1554
1558
  }
1555
1559
 
@@ -1708,7 +1712,11 @@ export namespace API {
1708
1712
  }
1709
1713
 
1710
1714
  export interface WithdrawCryptoRequest extends CommonRequestParams {
1711
- order_type: OrderType.WITHDRAWAL_CRYPTO | OrderType.TRANSFER_INTERNAL | OrderType.OMNIBUS_CRYPTO_TRANSFER;
1715
+ order_type:
1716
+ | OrderType.WITHDRAWAL_CRYPTO
1717
+ | OrderType.TRANSFER_INTERNAL
1718
+ | OrderType.OMNIBUS_CRYPTO_TRANSFER
1719
+ | OrderType.SEGREGATED_CRYPTO_TRANSFER;
1712
1720
  to_address?: string;
1713
1721
  }
1714
1722
 
package/src/constants.ts CHANGED
@@ -82,6 +82,7 @@ export enum WalletTransactionRecordType {
82
82
  ONRAMP_ACHWIRE = 'ONRAMP_ACHWIRE',
83
83
  ONRAMP_SEPA = 'ONRAMP_SEPA',
84
84
  REFUND = 'REFUND',
85
+ SEGREGATED_CRYPTO_TRANSFER = 'SEGREGATED_CRYPTO_TRANSFER',
85
86
  WHOLESALE_CARD_DEPOSIT = 'WHOLESALE_CARD_DEPOSIT',
86
87
  WITHDRAWAL = 'WITHDRAWAL',
87
88
  WITHDRAWAL_CRYPTO_EXTERNAL = 'WITHDRAWAL_CRYPTO_EXTERNAL',