vaults-multichain-sdk 1.4.0 → 1.5.1
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/dist/index.cjs +2 -2
- package/dist/index.d.cts +78 -6
- package/dist/index.d.ts +78 -6
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wallet routing scope for share endpoints.
|
|
3
|
+
*
|
|
4
|
+
* Personal vs organization wallets live on different backend route prefixes:
|
|
5
|
+
* personal → /sdk/wallets/...
|
|
6
|
+
* organization → /sdk/organization/wallets/...
|
|
7
|
+
*
|
|
8
|
+
* When the caller knows which kind of wallet they're touching, passing
|
|
9
|
+
* `walletScope` routes directly with a single round-trip. When omitted,
|
|
10
|
+
* the helpers fall back to try-personal-then-org and treat both 404 and
|
|
11
|
+
* 403 from the personal route as "wallet lives on the org route" — the
|
|
12
|
+
* personal route rejects org-owned wallets with 403 via RBAC, not 404.
|
|
13
|
+
*
|
|
14
|
+
* See `docs/SDK_ORGANIZATION_FRONTEND_CHANGES.md` §3.1.
|
|
15
|
+
*/
|
|
16
|
+
type WalletScope = 'personal' | 'organization';
|
|
17
|
+
|
|
1
18
|
declare const TransactionEstimatingType: {
|
|
2
19
|
readonly ExecOrder: "execOrder";
|
|
3
20
|
readonly Send: "send";
|
|
@@ -717,10 +734,19 @@ interface AddressBookEntry {
|
|
|
717
734
|
interface AddressTypeResponse {
|
|
718
735
|
type: AddressBookEntryType | null;
|
|
719
736
|
}
|
|
720
|
-
/** Org member role as returned by the API
|
|
721
|
-
|
|
737
|
+
/** Org member role as returned by the API. */
|
|
738
|
+
declare enum EOrgMemberRole {
|
|
739
|
+
MASTER = "master",
|
|
740
|
+
EMPLOYEE = "employee"
|
|
741
|
+
}
|
|
722
742
|
/** Org member account status as returned by the API. */
|
|
723
|
-
|
|
743
|
+
declare enum EOrgMemberStatus {
|
|
744
|
+
ACTIVE = "active",
|
|
745
|
+
PENDING = "pending",
|
|
746
|
+
DECLINED = "declined",
|
|
747
|
+
BLOCKED = "blocked",
|
|
748
|
+
REMOVED = "removed"
|
|
749
|
+
}
|
|
724
750
|
/**
|
|
725
751
|
* Individual KYC verification status for an org member.
|
|
726
752
|
* `null` is returned when the invite has not been accepted yet.
|
|
@@ -734,8 +760,8 @@ type OrgMemberKycStatus = "new" | "pending" | "verified" | "failed" | "expired";
|
|
|
734
760
|
interface OrgTeamMember {
|
|
735
761
|
id: string;
|
|
736
762
|
email: string;
|
|
737
|
-
role:
|
|
738
|
-
status:
|
|
763
|
+
role: EOrgMemberRole;
|
|
764
|
+
status: EOrgMemberStatus;
|
|
739
765
|
userId: string | null;
|
|
740
766
|
userName: string | null;
|
|
741
767
|
kycStatus: OrgMemberKycStatus | null;
|
|
@@ -1037,6 +1063,25 @@ interface GetOrgAuditLogsInput {
|
|
|
1037
1063
|
eventTypes?: OrgAuditEventType[];
|
|
1038
1064
|
actorId?: string;
|
|
1039
1065
|
}
|
|
1066
|
+
/** Response of `GET /sdk/organization/me`. */
|
|
1067
|
+
interface OrgMeResponse {
|
|
1068
|
+
organizationName: string;
|
|
1069
|
+
orgMemberStatus: EOrgMemberStatus;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Query of `GET /sdk/organization/audit-logs/export`.
|
|
1073
|
+
*
|
|
1074
|
+
* Same filter shape as `GetOrgAuditLogsInput` but without pagination — the
|
|
1075
|
+
* export returns the full filtered result set as a streamed CSV. `eventTypes`
|
|
1076
|
+
* is serialized using OpenAPI's default array form (`style: form, explode:
|
|
1077
|
+
* true`) — i.e. repeated keys: `?eventTypes=Login&eventTypes=Wallet+Created`.
|
|
1078
|
+
*/
|
|
1079
|
+
interface ExportOrgAuditLogsInput {
|
|
1080
|
+
dateFrom?: string;
|
|
1081
|
+
dateTo?: string;
|
|
1082
|
+
eventTypes?: OrgAuditEventType[];
|
|
1083
|
+
actorId?: string;
|
|
1084
|
+
}
|
|
1040
1085
|
/**
|
|
1041
1086
|
* Input for estimateFee
|
|
1042
1087
|
*/
|
|
@@ -1086,6 +1131,8 @@ interface ActivateMultisigInput {
|
|
|
1086
1131
|
gasPrice?: string;
|
|
1087
1132
|
/** Device share for wallet key reconstruction (required for SOL) */
|
|
1088
1133
|
deviceShare?: string;
|
|
1134
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1135
|
+
walletScope?: WalletScope;
|
|
1089
1136
|
}
|
|
1090
1137
|
/**
|
|
1091
1138
|
* SDK error codes
|
|
@@ -1255,6 +1302,8 @@ interface SendTransactionInput {
|
|
|
1255
1302
|
decimals: number;
|
|
1256
1303
|
isNativeToken?: boolean;
|
|
1257
1304
|
memo?: string;
|
|
1305
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1306
|
+
walletScope?: WalletScope;
|
|
1258
1307
|
}
|
|
1259
1308
|
interface SendTransactionOutput {
|
|
1260
1309
|
txHash: string;
|
|
@@ -1264,6 +1313,8 @@ interface ExportWalletInput {
|
|
|
1264
1313
|
chain: EChainType;
|
|
1265
1314
|
address: string;
|
|
1266
1315
|
format?: "hex" | "wif" | "bs58";
|
|
1316
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1317
|
+
walletScope?: WalletScope;
|
|
1267
1318
|
}
|
|
1268
1319
|
/** Output for exportWallet */
|
|
1269
1320
|
interface ExportWalletOutput {
|
|
@@ -1428,6 +1479,8 @@ interface ActivateXrpTrustLineInput {
|
|
|
1428
1479
|
issuer: string;
|
|
1429
1480
|
/** Max token amount to hold (default: "1000000000") */
|
|
1430
1481
|
limit?: string;
|
|
1482
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1483
|
+
walletScope?: WalletScope;
|
|
1431
1484
|
}
|
|
1432
1485
|
/** Output for activateXrpTrustLine */
|
|
1433
1486
|
interface ActivateXrpTrustLineOutput {
|
|
@@ -1921,6 +1974,25 @@ declare class AfridaxSDK {
|
|
|
1921
1974
|
* production (see `docs/api-contract-clarifications.md`).
|
|
1922
1975
|
*/
|
|
1923
1976
|
getOrgAuditLogs(input?: GetOrgAuditLogsInput): Promise<OrgAuditLogsResponse>;
|
|
1977
|
+
/**
|
|
1978
|
+
* 7.15 Stream the org's audit log as CSV. Master-only; the calling API
|
|
1979
|
+
* key must include the `audit_log_access` permission.
|
|
1980
|
+
*
|
|
1981
|
+
* Server route: `GET /sdk/organization/audit-logs/export`. Same filter
|
|
1982
|
+
* shape as `getOrgAuditLogs` but the full filtered result set is
|
|
1983
|
+
* returned as a CSV attachment (no pagination). Resolves with the raw
|
|
1984
|
+
* fetch `Response` so the caller can stream `.body` to disk (Node) or
|
|
1985
|
+
* hand `.blob()` to the browser.
|
|
1986
|
+
*/
|
|
1987
|
+
exportOrgAuditLogs(input?: ExportOrgAuditLogsInput): Promise<Response>;
|
|
1988
|
+
/**
|
|
1989
|
+
* 7.16 Current org name + caller's membership status. Allowed for both
|
|
1990
|
+
* MASTER and EMPLOYEE. Useful on SDK init to detect a removed/blocked
|
|
1991
|
+
* member before issuing any other call.
|
|
1992
|
+
*
|
|
1993
|
+
* Server route: `GET /sdk/organization/me`.
|
|
1994
|
+
*/
|
|
1995
|
+
getOrgMe(): Promise<OrgMeResponse>;
|
|
1924
1996
|
}
|
|
1925
1997
|
|
|
1926
1998
|
declare const MEMO_MAX_LENGTH = 200;
|
|
@@ -2165,4 +2237,4 @@ declare class NotFoundError extends AfridaxBaseError {
|
|
|
2165
2237
|
*/
|
|
2166
2238
|
declare function isAfridaxError(error: unknown): error is AfridaxBaseError;
|
|
2167
2239
|
|
|
2168
|
-
export { type ActivateMultisigInput, type ActivateMultisigOutput, type ActivateXrpTrustLineInput, type ActivateXrpTrustLineOutput, type AdaNativeInstruction, type AdaTokenInstruction, type AddOrgAddressResponse, type AddressBookEntry, type AddressBookEntryType, type AddressTypeResponse, AfridaxBaseError, AfridaxSDK, ApiError, type AssignOrgWalletInput, type AssignOrgWalletResponse, type ChainIdValue, ChainNotSupportedError, type ChainType, type CreateAddressBookEntryInput, type CreateMultisigInput, type CreateOrderInput, type CreateOrderOutput, type CreateOrgAddressInput, type CreateOrgWalletInput, type CreateWalletInput, type CreateWalletOutput, type CreateWalletResponse, type DeleteAddressBookEntryInput, type DeleteMultisigInput, type DeleteOrderInput, type DeleteOrgAddressBookEntryInput, type DeleteOrgWalletInput, type DeleteResponse, type DeleteWalletInput, EAdaInstructionType, EAddressBookEntryType, EChainType, EXrpOrderType, type EstimateActivationFeeInput, type EstimateFeeInput, type EstimateOrderExecutionFeeInput, type EstimatedFee, type ExecuteOrderInput, type ExecuteOrderOutput, type ExportWalletInput, type ExportWalletOutput, type GetAddressBookEntriesInput, type GetAddressTypeInput, type GetMultisigByIdInput, type GetMultisigTxHistoryInput, type GetMultisigsInput, type GetOrderByIdInput, type GetOrdersInput, type GetOrgAuditLogsInput, type GetOrgVaultByIdInput, type GetOrgWalletInput, type GetOrgWalletPortfolioInput, type GetOrgWalletUtxosInput, type GetPaginatedMultisigsInput, type GetPortfolioInput, type GetSupportedTokensInput, type GetWalletHistoryInput, type GetWalletInput, type GetWalletsInput, type GetXrpAccountReserveInput, type GetXrpTrustLinesInput, type GroupedMultisigResponseDTO, type HistoryResponse, type ImportWalletInput, InsufficientBalanceError, InvalidInputError, type InviteOrgMemberInput, type InviteOrgMemberResponse, KeyMismatchError, type ListOrgMemberWalletsInput, MEMO_MAX_LENGTH, MEMO_SUPPORTED_CHAINS, type MemoValidationResult, type MultisigBaseDTO, MultisigStatus, type MultisigsItem, NetworkError, NotFoundError, ORG_POLICY_CODES, type Order, type OrderInstruction, type OrderMethodType, type OrderParamsAda, type OrderParamsXrp, type OrderSigner, OrderStatus, type OrgAddressBookEntry, type OrgAddressRecipientType, type OrgAddressWalletType, type OrgAuditEventType, type OrgAuditLogItem, type OrgAuditLogsResponse, type OrgLimitGroup, type OrgLimitGroupChainLimit, type OrgLimitGroupEnvelopeResponse, type
|
|
2240
|
+
export { type ActivateMultisigInput, type ActivateMultisigOutput, type ActivateXrpTrustLineInput, type ActivateXrpTrustLineOutput, type AdaNativeInstruction, type AdaTokenInstruction, type AddOrgAddressResponse, type AddressBookEntry, type AddressBookEntryType, type AddressTypeResponse, AfridaxBaseError, AfridaxSDK, ApiError, type AssignOrgWalletInput, type AssignOrgWalletResponse, type ChainIdValue, ChainNotSupportedError, type ChainType, type CreateAddressBookEntryInput, type CreateMultisigInput, type CreateOrderInput, type CreateOrderOutput, type CreateOrgAddressInput, type CreateOrgWalletInput, type CreateWalletInput, type CreateWalletOutput, type CreateWalletResponse, type DeleteAddressBookEntryInput, type DeleteMultisigInput, type DeleteOrderInput, type DeleteOrgAddressBookEntryInput, type DeleteOrgWalletInput, type DeleteResponse, type DeleteWalletInput, EAdaInstructionType, EAddressBookEntryType, EChainType, EOrgMemberRole, EOrgMemberStatus, EXrpOrderType, type EstimateActivationFeeInput, type EstimateFeeInput, type EstimateOrderExecutionFeeInput, type EstimatedFee, type ExecuteOrderInput, type ExecuteOrderOutput, type ExportOrgAuditLogsInput, type ExportWalletInput, type ExportWalletOutput, type GetAddressBookEntriesInput, type GetAddressTypeInput, type GetMultisigByIdInput, type GetMultisigTxHistoryInput, type GetMultisigsInput, type GetOrderByIdInput, type GetOrdersInput, type GetOrgAuditLogsInput, type GetOrgVaultByIdInput, type GetOrgWalletInput, type GetOrgWalletPortfolioInput, type GetOrgWalletUtxosInput, type GetPaginatedMultisigsInput, type GetPortfolioInput, type GetSupportedTokensInput, type GetWalletHistoryInput, type GetWalletInput, type GetWalletsInput, type GetXrpAccountReserveInput, type GetXrpTrustLinesInput, type GroupedMultisigResponseDTO, type HistoryResponse, type ImportWalletInput, InsufficientBalanceError, InvalidInputError, type InviteOrgMemberInput, type InviteOrgMemberResponse, KeyMismatchError, type ListOrgMemberWalletsInput, MEMO_MAX_LENGTH, MEMO_SUPPORTED_CHAINS, type MemoValidationResult, type MultisigBaseDTO, MultisigStatus, type MultisigsItem, NetworkError, NotFoundError, ORG_POLICY_CODES, type Order, type OrderInstruction, type OrderMethodType, type OrderParamsAda, type OrderParamsXrp, type OrderSigner, OrderStatus, type OrgAddressBookEntry, type OrgAddressRecipientType, type OrgAddressWalletType, type OrgAuditEventType, type OrgAuditLogItem, type OrgAuditLogsResponse, type OrgLimitGroup, type OrgLimitGroupChainLimit, type OrgLimitGroupEnvelopeResponse, type OrgMeResponse, type OrgMemberKycStatus, type OrgMyVaultsResponse, type OrgMyWalletsResponse, type OrgPolicy, type OrgPolicyCode, OrgPolicyRejectedError, type OrgTeamDirectoryResponse, type OrgTeamMember, type OrgVaultItem, type OrgVaultsResponse, type OrgWalletItem, type OrgWalletUtxosResponse, type OrgWalletsResponse, type PaginatedMultisigsWithTokensResponse, type PaginatedOrdersResponse, type PaginatedWalletsResponse, PermissionDeniedError, type RejectOrderInput, type RemoveOrgMemberInput, type RenameOrgWalletInput, type SDKConfig, type SendTransactionInput, type SendTransactionOutput, type SignOrderInput, type SignOrderOutput, type SingleWalletDetailsResponse, StatusFilterEnum, type SupportedTokensResponse, type TAdaCommandInstruction, type TWallet, type TXrpCommandInstruction, type TokenInfo, type TotalAssetValueResponse, TransactionEstimatingType, type TransactionHistoryItem, type TxHistoryCombinedResponse, type UnassignOrgWalletInput, UnauthorizedError, type UpdateAddressBookEntryInput, type UpdateMultisigNameInput, type UpdateOrgAddressBookEntryInput, type UpdateOrgAddressInput, type UpdateOrgPolicyInput, type UpdateWalletNameInput, type WalletPortfolioResponse, type WalletRenameResponse, type WalletScope, XRP_MAX_DESTINATION_TAG, type XrpAccountReserveInfo, type XrpAssetInstruction, type XrpChangeThresholdInstruction, type XrpNativeInstruction, type XrpRemoveTrustLineInstruction, type XrpSetTrustLineInstruction, type TrustLineInfo as XrpTrustLineInfo, type XrpUpdateOwnerThresholdInstruction, type XrpUpdateOwnersInstruction, AfridaxSDK as default, getBtcChainType, getMemoPlaceholder, isAfridaxError, isMemoSupported, validateMemo };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wallet routing scope for share endpoints.
|
|
3
|
+
*
|
|
4
|
+
* Personal vs organization wallets live on different backend route prefixes:
|
|
5
|
+
* personal → /sdk/wallets/...
|
|
6
|
+
* organization → /sdk/organization/wallets/...
|
|
7
|
+
*
|
|
8
|
+
* When the caller knows which kind of wallet they're touching, passing
|
|
9
|
+
* `walletScope` routes directly with a single round-trip. When omitted,
|
|
10
|
+
* the helpers fall back to try-personal-then-org and treat both 404 and
|
|
11
|
+
* 403 from the personal route as "wallet lives on the org route" — the
|
|
12
|
+
* personal route rejects org-owned wallets with 403 via RBAC, not 404.
|
|
13
|
+
*
|
|
14
|
+
* See `docs/SDK_ORGANIZATION_FRONTEND_CHANGES.md` §3.1.
|
|
15
|
+
*/
|
|
16
|
+
type WalletScope = 'personal' | 'organization';
|
|
17
|
+
|
|
1
18
|
declare const TransactionEstimatingType: {
|
|
2
19
|
readonly ExecOrder: "execOrder";
|
|
3
20
|
readonly Send: "send";
|
|
@@ -717,10 +734,19 @@ interface AddressBookEntry {
|
|
|
717
734
|
interface AddressTypeResponse {
|
|
718
735
|
type: AddressBookEntryType | null;
|
|
719
736
|
}
|
|
720
|
-
/** Org member role as returned by the API
|
|
721
|
-
|
|
737
|
+
/** Org member role as returned by the API. */
|
|
738
|
+
declare enum EOrgMemberRole {
|
|
739
|
+
MASTER = "master",
|
|
740
|
+
EMPLOYEE = "employee"
|
|
741
|
+
}
|
|
722
742
|
/** Org member account status as returned by the API. */
|
|
723
|
-
|
|
743
|
+
declare enum EOrgMemberStatus {
|
|
744
|
+
ACTIVE = "active",
|
|
745
|
+
PENDING = "pending",
|
|
746
|
+
DECLINED = "declined",
|
|
747
|
+
BLOCKED = "blocked",
|
|
748
|
+
REMOVED = "removed"
|
|
749
|
+
}
|
|
724
750
|
/**
|
|
725
751
|
* Individual KYC verification status for an org member.
|
|
726
752
|
* `null` is returned when the invite has not been accepted yet.
|
|
@@ -734,8 +760,8 @@ type OrgMemberKycStatus = "new" | "pending" | "verified" | "failed" | "expired";
|
|
|
734
760
|
interface OrgTeamMember {
|
|
735
761
|
id: string;
|
|
736
762
|
email: string;
|
|
737
|
-
role:
|
|
738
|
-
status:
|
|
763
|
+
role: EOrgMemberRole;
|
|
764
|
+
status: EOrgMemberStatus;
|
|
739
765
|
userId: string | null;
|
|
740
766
|
userName: string | null;
|
|
741
767
|
kycStatus: OrgMemberKycStatus | null;
|
|
@@ -1037,6 +1063,25 @@ interface GetOrgAuditLogsInput {
|
|
|
1037
1063
|
eventTypes?: OrgAuditEventType[];
|
|
1038
1064
|
actorId?: string;
|
|
1039
1065
|
}
|
|
1066
|
+
/** Response of `GET /sdk/organization/me`. */
|
|
1067
|
+
interface OrgMeResponse {
|
|
1068
|
+
organizationName: string;
|
|
1069
|
+
orgMemberStatus: EOrgMemberStatus;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Query of `GET /sdk/organization/audit-logs/export`.
|
|
1073
|
+
*
|
|
1074
|
+
* Same filter shape as `GetOrgAuditLogsInput` but without pagination — the
|
|
1075
|
+
* export returns the full filtered result set as a streamed CSV. `eventTypes`
|
|
1076
|
+
* is serialized using OpenAPI's default array form (`style: form, explode:
|
|
1077
|
+
* true`) — i.e. repeated keys: `?eventTypes=Login&eventTypes=Wallet+Created`.
|
|
1078
|
+
*/
|
|
1079
|
+
interface ExportOrgAuditLogsInput {
|
|
1080
|
+
dateFrom?: string;
|
|
1081
|
+
dateTo?: string;
|
|
1082
|
+
eventTypes?: OrgAuditEventType[];
|
|
1083
|
+
actorId?: string;
|
|
1084
|
+
}
|
|
1040
1085
|
/**
|
|
1041
1086
|
* Input for estimateFee
|
|
1042
1087
|
*/
|
|
@@ -1086,6 +1131,8 @@ interface ActivateMultisigInput {
|
|
|
1086
1131
|
gasPrice?: string;
|
|
1087
1132
|
/** Device share for wallet key reconstruction (required for SOL) */
|
|
1088
1133
|
deviceShare?: string;
|
|
1134
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1135
|
+
walletScope?: WalletScope;
|
|
1089
1136
|
}
|
|
1090
1137
|
/**
|
|
1091
1138
|
* SDK error codes
|
|
@@ -1255,6 +1302,8 @@ interface SendTransactionInput {
|
|
|
1255
1302
|
decimals: number;
|
|
1256
1303
|
isNativeToken?: boolean;
|
|
1257
1304
|
memo?: string;
|
|
1305
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1306
|
+
walletScope?: WalletScope;
|
|
1258
1307
|
}
|
|
1259
1308
|
interface SendTransactionOutput {
|
|
1260
1309
|
txHash: string;
|
|
@@ -1264,6 +1313,8 @@ interface ExportWalletInput {
|
|
|
1264
1313
|
chain: EChainType;
|
|
1265
1314
|
address: string;
|
|
1266
1315
|
format?: "hex" | "wif" | "bs58";
|
|
1316
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1317
|
+
walletScope?: WalletScope;
|
|
1267
1318
|
}
|
|
1268
1319
|
/** Output for exportWallet */
|
|
1269
1320
|
interface ExportWalletOutput {
|
|
@@ -1428,6 +1479,8 @@ interface ActivateXrpTrustLineInput {
|
|
|
1428
1479
|
issuer: string;
|
|
1429
1480
|
/** Max token amount to hold (default: "1000000000") */
|
|
1430
1481
|
limit?: string;
|
|
1482
|
+
/** Route share lookups to personal or organization wallet endpoints. */
|
|
1483
|
+
walletScope?: WalletScope;
|
|
1431
1484
|
}
|
|
1432
1485
|
/** Output for activateXrpTrustLine */
|
|
1433
1486
|
interface ActivateXrpTrustLineOutput {
|
|
@@ -1921,6 +1974,25 @@ declare class AfridaxSDK {
|
|
|
1921
1974
|
* production (see `docs/api-contract-clarifications.md`).
|
|
1922
1975
|
*/
|
|
1923
1976
|
getOrgAuditLogs(input?: GetOrgAuditLogsInput): Promise<OrgAuditLogsResponse>;
|
|
1977
|
+
/**
|
|
1978
|
+
* 7.15 Stream the org's audit log as CSV. Master-only; the calling API
|
|
1979
|
+
* key must include the `audit_log_access` permission.
|
|
1980
|
+
*
|
|
1981
|
+
* Server route: `GET /sdk/organization/audit-logs/export`. Same filter
|
|
1982
|
+
* shape as `getOrgAuditLogs` but the full filtered result set is
|
|
1983
|
+
* returned as a CSV attachment (no pagination). Resolves with the raw
|
|
1984
|
+
* fetch `Response` so the caller can stream `.body` to disk (Node) or
|
|
1985
|
+
* hand `.blob()` to the browser.
|
|
1986
|
+
*/
|
|
1987
|
+
exportOrgAuditLogs(input?: ExportOrgAuditLogsInput): Promise<Response>;
|
|
1988
|
+
/**
|
|
1989
|
+
* 7.16 Current org name + caller's membership status. Allowed for both
|
|
1990
|
+
* MASTER and EMPLOYEE. Useful on SDK init to detect a removed/blocked
|
|
1991
|
+
* member before issuing any other call.
|
|
1992
|
+
*
|
|
1993
|
+
* Server route: `GET /sdk/organization/me`.
|
|
1994
|
+
*/
|
|
1995
|
+
getOrgMe(): Promise<OrgMeResponse>;
|
|
1924
1996
|
}
|
|
1925
1997
|
|
|
1926
1998
|
declare const MEMO_MAX_LENGTH = 200;
|
|
@@ -2165,4 +2237,4 @@ declare class NotFoundError extends AfridaxBaseError {
|
|
|
2165
2237
|
*/
|
|
2166
2238
|
declare function isAfridaxError(error: unknown): error is AfridaxBaseError;
|
|
2167
2239
|
|
|
2168
|
-
export { type ActivateMultisigInput, type ActivateMultisigOutput, type ActivateXrpTrustLineInput, type ActivateXrpTrustLineOutput, type AdaNativeInstruction, type AdaTokenInstruction, type AddOrgAddressResponse, type AddressBookEntry, type AddressBookEntryType, type AddressTypeResponse, AfridaxBaseError, AfridaxSDK, ApiError, type AssignOrgWalletInput, type AssignOrgWalletResponse, type ChainIdValue, ChainNotSupportedError, type ChainType, type CreateAddressBookEntryInput, type CreateMultisigInput, type CreateOrderInput, type CreateOrderOutput, type CreateOrgAddressInput, type CreateOrgWalletInput, type CreateWalletInput, type CreateWalletOutput, type CreateWalletResponse, type DeleteAddressBookEntryInput, type DeleteMultisigInput, type DeleteOrderInput, type DeleteOrgAddressBookEntryInput, type DeleteOrgWalletInput, type DeleteResponse, type DeleteWalletInput, EAdaInstructionType, EAddressBookEntryType, EChainType, EXrpOrderType, type EstimateActivationFeeInput, type EstimateFeeInput, type EstimateOrderExecutionFeeInput, type EstimatedFee, type ExecuteOrderInput, type ExecuteOrderOutput, type ExportWalletInput, type ExportWalletOutput, type GetAddressBookEntriesInput, type GetAddressTypeInput, type GetMultisigByIdInput, type GetMultisigTxHistoryInput, type GetMultisigsInput, type GetOrderByIdInput, type GetOrdersInput, type GetOrgAuditLogsInput, type GetOrgVaultByIdInput, type GetOrgWalletInput, type GetOrgWalletPortfolioInput, type GetOrgWalletUtxosInput, type GetPaginatedMultisigsInput, type GetPortfolioInput, type GetSupportedTokensInput, type GetWalletHistoryInput, type GetWalletInput, type GetWalletsInput, type GetXrpAccountReserveInput, type GetXrpTrustLinesInput, type GroupedMultisigResponseDTO, type HistoryResponse, type ImportWalletInput, InsufficientBalanceError, InvalidInputError, type InviteOrgMemberInput, type InviteOrgMemberResponse, KeyMismatchError, type ListOrgMemberWalletsInput, MEMO_MAX_LENGTH, MEMO_SUPPORTED_CHAINS, type MemoValidationResult, type MultisigBaseDTO, MultisigStatus, type MultisigsItem, NetworkError, NotFoundError, ORG_POLICY_CODES, type Order, type OrderInstruction, type OrderMethodType, type OrderParamsAda, type OrderParamsXrp, type OrderSigner, OrderStatus, type OrgAddressBookEntry, type OrgAddressRecipientType, type OrgAddressWalletType, type OrgAuditEventType, type OrgAuditLogItem, type OrgAuditLogsResponse, type OrgLimitGroup, type OrgLimitGroupChainLimit, type OrgLimitGroupEnvelopeResponse, type
|
|
2240
|
+
export { type ActivateMultisigInput, type ActivateMultisigOutput, type ActivateXrpTrustLineInput, type ActivateXrpTrustLineOutput, type AdaNativeInstruction, type AdaTokenInstruction, type AddOrgAddressResponse, type AddressBookEntry, type AddressBookEntryType, type AddressTypeResponse, AfridaxBaseError, AfridaxSDK, ApiError, type AssignOrgWalletInput, type AssignOrgWalletResponse, type ChainIdValue, ChainNotSupportedError, type ChainType, type CreateAddressBookEntryInput, type CreateMultisigInput, type CreateOrderInput, type CreateOrderOutput, type CreateOrgAddressInput, type CreateOrgWalletInput, type CreateWalletInput, type CreateWalletOutput, type CreateWalletResponse, type DeleteAddressBookEntryInput, type DeleteMultisigInput, type DeleteOrderInput, type DeleteOrgAddressBookEntryInput, type DeleteOrgWalletInput, type DeleteResponse, type DeleteWalletInput, EAdaInstructionType, EAddressBookEntryType, EChainType, EOrgMemberRole, EOrgMemberStatus, EXrpOrderType, type EstimateActivationFeeInput, type EstimateFeeInput, type EstimateOrderExecutionFeeInput, type EstimatedFee, type ExecuteOrderInput, type ExecuteOrderOutput, type ExportOrgAuditLogsInput, type ExportWalletInput, type ExportWalletOutput, type GetAddressBookEntriesInput, type GetAddressTypeInput, type GetMultisigByIdInput, type GetMultisigTxHistoryInput, type GetMultisigsInput, type GetOrderByIdInput, type GetOrdersInput, type GetOrgAuditLogsInput, type GetOrgVaultByIdInput, type GetOrgWalletInput, type GetOrgWalletPortfolioInput, type GetOrgWalletUtxosInput, type GetPaginatedMultisigsInput, type GetPortfolioInput, type GetSupportedTokensInput, type GetWalletHistoryInput, type GetWalletInput, type GetWalletsInput, type GetXrpAccountReserveInput, type GetXrpTrustLinesInput, type GroupedMultisigResponseDTO, type HistoryResponse, type ImportWalletInput, InsufficientBalanceError, InvalidInputError, type InviteOrgMemberInput, type InviteOrgMemberResponse, KeyMismatchError, type ListOrgMemberWalletsInput, MEMO_MAX_LENGTH, MEMO_SUPPORTED_CHAINS, type MemoValidationResult, type MultisigBaseDTO, MultisigStatus, type MultisigsItem, NetworkError, NotFoundError, ORG_POLICY_CODES, type Order, type OrderInstruction, type OrderMethodType, type OrderParamsAda, type OrderParamsXrp, type OrderSigner, OrderStatus, type OrgAddressBookEntry, type OrgAddressRecipientType, type OrgAddressWalletType, type OrgAuditEventType, type OrgAuditLogItem, type OrgAuditLogsResponse, type OrgLimitGroup, type OrgLimitGroupChainLimit, type OrgLimitGroupEnvelopeResponse, type OrgMeResponse, type OrgMemberKycStatus, type OrgMyVaultsResponse, type OrgMyWalletsResponse, type OrgPolicy, type OrgPolicyCode, OrgPolicyRejectedError, type OrgTeamDirectoryResponse, type OrgTeamMember, type OrgVaultItem, type OrgVaultsResponse, type OrgWalletItem, type OrgWalletUtxosResponse, type OrgWalletsResponse, type PaginatedMultisigsWithTokensResponse, type PaginatedOrdersResponse, type PaginatedWalletsResponse, PermissionDeniedError, type RejectOrderInput, type RemoveOrgMemberInput, type RenameOrgWalletInput, type SDKConfig, type SendTransactionInput, type SendTransactionOutput, type SignOrderInput, type SignOrderOutput, type SingleWalletDetailsResponse, StatusFilterEnum, type SupportedTokensResponse, type TAdaCommandInstruction, type TWallet, type TXrpCommandInstruction, type TokenInfo, type TotalAssetValueResponse, TransactionEstimatingType, type TransactionHistoryItem, type TxHistoryCombinedResponse, type UnassignOrgWalletInput, UnauthorizedError, type UpdateAddressBookEntryInput, type UpdateMultisigNameInput, type UpdateOrgAddressBookEntryInput, type UpdateOrgAddressInput, type UpdateOrgPolicyInput, type UpdateWalletNameInput, type WalletPortfolioResponse, type WalletRenameResponse, type WalletScope, XRP_MAX_DESTINATION_TAG, type XrpAccountReserveInfo, type XrpAssetInstruction, type XrpChangeThresholdInstruction, type XrpNativeInstruction, type XrpRemoveTrustLineInstruction, type XrpSetTrustLineInstruction, type TrustLineInfo as XrpTrustLineInfo, type XrpUpdateOwnerThresholdInstruction, type XrpUpdateOwnersInstruction, AfridaxSDK as default, getBtcChainType, getMemoPlaceholder, isAfridaxError, isMemoSupported, validateMemo };
|