@evergonlabs/tmi-protocol-api-client 0.4.10 → 0.4.12
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.d.cts +14 -8
- package/dist/index.d.ts +14 -8
- package/package.json +16 -17
package/dist/index.d.cts
CHANGED
|
@@ -392,13 +392,9 @@ type CreateFractionsRequestSchema = {
|
|
|
392
392
|
hard: bigint;
|
|
393
393
|
};
|
|
394
394
|
};
|
|
395
|
-
type
|
|
396
|
-
/**
|
|
397
|
-
* Supported chain id
|
|
398
|
-
*/
|
|
399
|
-
chainId: '11155111' | '31337';
|
|
395
|
+
type ApproveWrapperRequestSchema = {
|
|
400
396
|
marketAddress: string;
|
|
401
|
-
|
|
397
|
+
wrapperAddress: string;
|
|
402
398
|
};
|
|
403
399
|
type ApproveErc20SpendingToWrapper = {
|
|
404
400
|
wrapperAddress: string;
|
|
@@ -418,6 +414,14 @@ type GrantMarketRoleRequestSchema = {
|
|
|
418
414
|
users: Array<string>;
|
|
419
415
|
role: 'ISSUER' | 'INVESTOR';
|
|
420
416
|
};
|
|
417
|
+
type ApproveSaleRequestSchema = {
|
|
418
|
+
/**
|
|
419
|
+
* Supported chain id
|
|
420
|
+
*/
|
|
421
|
+
chainId: '11155111' | '31337';
|
|
422
|
+
marketAddress: string;
|
|
423
|
+
campaignId: bigint;
|
|
424
|
+
};
|
|
421
425
|
type CompleteSaleRequestSchema = {
|
|
422
426
|
/**
|
|
423
427
|
* Supported chain id
|
|
@@ -1998,6 +2002,7 @@ type GetV0FractionsMarketsDeployEventResponses = {
|
|
|
1998
2002
|
200: {
|
|
1999
2003
|
diamondAddress: string;
|
|
2000
2004
|
admin: string;
|
|
2005
|
+
wrapperAddress: string;
|
|
2001
2006
|
};
|
|
2002
2007
|
};
|
|
2003
2008
|
type GetV0FractionsMarketsDeployEventResponse = GetV0FractionsMarketsDeployEventResponses[keyof GetV0FractionsMarketsDeployEventResponses];
|
|
@@ -2079,7 +2084,7 @@ type GetV0FractionsFractionsGetFractionsCreatedEventResponses = {
|
|
|
2079
2084
|
};
|
|
2080
2085
|
type GetV0FractionsFractionsGetFractionsCreatedEventResponse = GetV0FractionsFractionsGetFractionsCreatedEventResponses[keyof GetV0FractionsFractionsGetFractionsCreatedEventResponses];
|
|
2081
2086
|
type PostV0FractionsFractionsApproveWrapperData = {
|
|
2082
|
-
body?:
|
|
2087
|
+
body?: ApproveWrapperRequestSchema;
|
|
2083
2088
|
path?: never;
|
|
2084
2089
|
query?: never;
|
|
2085
2090
|
url: '/v0/fractions/fractions/approveWrapper';
|
|
@@ -2539,6 +2544,7 @@ declare const api: {
|
|
|
2539
2544
|
getMarketDeployedEvent: <ThrowOnError extends boolean = false>(options: Options<GetV0FractionsMarketsDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2540
2545
|
diamondAddress: string;
|
|
2541
2546
|
admin: string;
|
|
2547
|
+
wrapperAddress: string;
|
|
2542
2548
|
}, ZodError, ThrowOnError>;
|
|
2543
2549
|
approvals: {
|
|
2544
2550
|
approveWrapper: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsApproveWrapperData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
@@ -2558,4 +2564,4 @@ type ApiResponse<T> = {
|
|
|
2558
2564
|
};
|
|
2559
2565
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
2560
2566
|
|
|
2561
|
-
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveErc20SpendingToWrapper, type ApproveErc721SpendingToWrapper, type ApproveSaleRequestSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CreateFractionsRequestSchema, type DeployMarketRequestSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsFractionsGetFractionsCreatedEventData, type GetV0FractionsFractionsGetFractionsCreatedEventError, type GetV0FractionsFractionsGetFractionsCreatedEventErrors, type GetV0FractionsFractionsGetFractionsCreatedEventResponse, type GetV0FractionsFractionsGetFractionsCreatedEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventError, type GetV0FractionsMarketsDeployEventErrors, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesError, type GetV0FractionsRolesErrors, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GrantMarketRoleRequestSchema, type IApiConfig, type IEnv, type IEnvName, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesError, type PostGeneralBalancesErrors, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasError, type PostGeneralEstimateGasErrors, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesError, type PostGeneralSearchBalancesErrors, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Error, type PostStakingPlatformsSearchV0Errors, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Error, type PostStakingPoolsSearchPoolsV0Errors, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Error, type PostStakingRolesGrantRoleV0Errors, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Error, type PostStakingRolesSearchRoleEventsV0Errors, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Error, type PostStakingRolesSearchRolesV0Errors, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Error, type PostStakingStakesSearchStakeEventsV0Errors, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Error, type PostStakingStakesSearchStakesV0Errors, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformError, type PostStakingTemplatesReputationLockV0CreatePlatformErrors, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolError, type PostStakingTemplatesReputationLockV0CreatePoolErrors, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardError, type PostStakingTemplatesReputationLockV0GetRewardErrors, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeError, type PostStakingTemplatesReputationLockV0PartialUnstakeErrors, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeError, type PostStakingTemplatesReputationLockV0RestakeErrors, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeError, type PostStakingTemplatesReputationLockV0StakeErrors, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeError, type PostStakingTemplatesReputationLockV0UnstakeErrors, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformError, type PostStakingTemplatesReputationV0CreatePlatformErrors, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolError, type PostStakingTemplatesReputationV0CreatePoolErrors, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardError, type PostStakingTemplatesReputationV0GetRewardErrors, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeError, type PostStakingTemplatesReputationV0PartialUnstakeErrors, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeError, type PostStakingTemplatesReputationV0RestakeErrors, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeError, type PostStakingTemplatesReputationV0StakeErrors, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeError, type PostStakingTemplatesReputationV0UnstakeErrors, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformError, type PostStakingTemplatesRwaV0CreatePlatformErrors, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolError, type PostStakingTemplatesRwaV0CreatePoolErrors, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardError, type PostStakingTemplatesRwaV0GetRewardErrors, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsError, type PostStakingTemplatesRwaV0NotifyRewardsErrors, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeError, type PostStakingTemplatesRwaV0PartialUnstakeErrors, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeError, type PostStakingTemplatesRwaV0RestakeErrors, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeError, type PostStakingTemplatesRwaV0StakeErrors, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeError, type PostStakingTemplatesRwaV0UnstakeErrors, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperError, type PostV0FractionsFractionsApproveWrapperErrors, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsError, type PostV0FractionsFractionsFractionsErrors, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchError, type PostV0FractionsMarketsSearchErrors, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployError, type PostV0FractionsPlatformsDeployErrors, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantError, type PostV0FractionsRolesGrantErrors, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveError, type PostV0FractionsSalesApproveErrors, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteError, type PostV0FractionsSalesCompleteErrors, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseError, type PostV0FractionsSalesPurchaseErrors, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenError, type PostV0FractionsSalesWithdrawPaymentTokenErrors, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PurchaseRequestSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type WithdrawRequestSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|
|
2567
|
+
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveErc20SpendingToWrapper, type ApproveErc721SpendingToWrapper, type ApproveSaleRequestSchema, type ApproveWrapperRequestSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CreateFractionsRequestSchema, type DeployMarketRequestSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsFractionsGetFractionsCreatedEventData, type GetV0FractionsFractionsGetFractionsCreatedEventError, type GetV0FractionsFractionsGetFractionsCreatedEventErrors, type GetV0FractionsFractionsGetFractionsCreatedEventResponse, type GetV0FractionsFractionsGetFractionsCreatedEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventError, type GetV0FractionsMarketsDeployEventErrors, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesError, type GetV0FractionsRolesErrors, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GrantMarketRoleRequestSchema, type IApiConfig, type IEnv, type IEnvName, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesError, type PostGeneralBalancesErrors, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasError, type PostGeneralEstimateGasErrors, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesError, type PostGeneralSearchBalancesErrors, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Error, type PostStakingPlatformsSearchV0Errors, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Error, type PostStakingPoolsSearchPoolsV0Errors, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Error, type PostStakingRolesGrantRoleV0Errors, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Error, type PostStakingRolesSearchRoleEventsV0Errors, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Error, type PostStakingRolesSearchRolesV0Errors, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Error, type PostStakingStakesSearchStakeEventsV0Errors, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Error, type PostStakingStakesSearchStakesV0Errors, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformError, type PostStakingTemplatesReputationLockV0CreatePlatformErrors, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolError, type PostStakingTemplatesReputationLockV0CreatePoolErrors, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardError, type PostStakingTemplatesReputationLockV0GetRewardErrors, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeError, type PostStakingTemplatesReputationLockV0PartialUnstakeErrors, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeError, type PostStakingTemplatesReputationLockV0RestakeErrors, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeError, type PostStakingTemplatesReputationLockV0StakeErrors, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeError, type PostStakingTemplatesReputationLockV0UnstakeErrors, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformError, type PostStakingTemplatesReputationV0CreatePlatformErrors, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolError, type PostStakingTemplatesReputationV0CreatePoolErrors, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardError, type PostStakingTemplatesReputationV0GetRewardErrors, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeError, type PostStakingTemplatesReputationV0PartialUnstakeErrors, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeError, type PostStakingTemplatesReputationV0RestakeErrors, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeError, type PostStakingTemplatesReputationV0StakeErrors, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeError, type PostStakingTemplatesReputationV0UnstakeErrors, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformError, type PostStakingTemplatesRwaV0CreatePlatformErrors, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolError, type PostStakingTemplatesRwaV0CreatePoolErrors, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardError, type PostStakingTemplatesRwaV0GetRewardErrors, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsError, type PostStakingTemplatesRwaV0NotifyRewardsErrors, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeError, type PostStakingTemplatesRwaV0PartialUnstakeErrors, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeError, type PostStakingTemplatesRwaV0RestakeErrors, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeError, type PostStakingTemplatesRwaV0StakeErrors, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeError, type PostStakingTemplatesRwaV0UnstakeErrors, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperError, type PostV0FractionsFractionsApproveWrapperErrors, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsError, type PostV0FractionsFractionsFractionsErrors, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchError, type PostV0FractionsMarketsSearchErrors, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployError, type PostV0FractionsPlatformsDeployErrors, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantError, type PostV0FractionsRolesGrantErrors, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveError, type PostV0FractionsSalesApproveErrors, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteError, type PostV0FractionsSalesCompleteErrors, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseError, type PostV0FractionsSalesPurchaseErrors, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenError, type PostV0FractionsSalesWithdrawPaymentTokenErrors, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PurchaseRequestSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type WithdrawRequestSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -392,13 +392,9 @@ type CreateFractionsRequestSchema = {
|
|
|
392
392
|
hard: bigint;
|
|
393
393
|
};
|
|
394
394
|
};
|
|
395
|
-
type
|
|
396
|
-
/**
|
|
397
|
-
* Supported chain id
|
|
398
|
-
*/
|
|
399
|
-
chainId: '11155111' | '31337';
|
|
395
|
+
type ApproveWrapperRequestSchema = {
|
|
400
396
|
marketAddress: string;
|
|
401
|
-
|
|
397
|
+
wrapperAddress: string;
|
|
402
398
|
};
|
|
403
399
|
type ApproveErc20SpendingToWrapper = {
|
|
404
400
|
wrapperAddress: string;
|
|
@@ -418,6 +414,14 @@ type GrantMarketRoleRequestSchema = {
|
|
|
418
414
|
users: Array<string>;
|
|
419
415
|
role: 'ISSUER' | 'INVESTOR';
|
|
420
416
|
};
|
|
417
|
+
type ApproveSaleRequestSchema = {
|
|
418
|
+
/**
|
|
419
|
+
* Supported chain id
|
|
420
|
+
*/
|
|
421
|
+
chainId: '11155111' | '31337';
|
|
422
|
+
marketAddress: string;
|
|
423
|
+
campaignId: bigint;
|
|
424
|
+
};
|
|
421
425
|
type CompleteSaleRequestSchema = {
|
|
422
426
|
/**
|
|
423
427
|
* Supported chain id
|
|
@@ -1998,6 +2002,7 @@ type GetV0FractionsMarketsDeployEventResponses = {
|
|
|
1998
2002
|
200: {
|
|
1999
2003
|
diamondAddress: string;
|
|
2000
2004
|
admin: string;
|
|
2005
|
+
wrapperAddress: string;
|
|
2001
2006
|
};
|
|
2002
2007
|
};
|
|
2003
2008
|
type GetV0FractionsMarketsDeployEventResponse = GetV0FractionsMarketsDeployEventResponses[keyof GetV0FractionsMarketsDeployEventResponses];
|
|
@@ -2079,7 +2084,7 @@ type GetV0FractionsFractionsGetFractionsCreatedEventResponses = {
|
|
|
2079
2084
|
};
|
|
2080
2085
|
type GetV0FractionsFractionsGetFractionsCreatedEventResponse = GetV0FractionsFractionsGetFractionsCreatedEventResponses[keyof GetV0FractionsFractionsGetFractionsCreatedEventResponses];
|
|
2081
2086
|
type PostV0FractionsFractionsApproveWrapperData = {
|
|
2082
|
-
body?:
|
|
2087
|
+
body?: ApproveWrapperRequestSchema;
|
|
2083
2088
|
path?: never;
|
|
2084
2089
|
query?: never;
|
|
2085
2090
|
url: '/v0/fractions/fractions/approveWrapper';
|
|
@@ -2539,6 +2544,7 @@ declare const api: {
|
|
|
2539
2544
|
getMarketDeployedEvent: <ThrowOnError extends boolean = false>(options: Options<GetV0FractionsMarketsDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2540
2545
|
diamondAddress: string;
|
|
2541
2546
|
admin: string;
|
|
2547
|
+
wrapperAddress: string;
|
|
2542
2548
|
}, ZodError, ThrowOnError>;
|
|
2543
2549
|
approvals: {
|
|
2544
2550
|
approveWrapper: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsApproveWrapperData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
@@ -2558,4 +2564,4 @@ type ApiResponse<T> = {
|
|
|
2558
2564
|
};
|
|
2559
2565
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
2560
2566
|
|
|
2561
|
-
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveErc20SpendingToWrapper, type ApproveErc721SpendingToWrapper, type ApproveSaleRequestSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CreateFractionsRequestSchema, type DeployMarketRequestSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsFractionsGetFractionsCreatedEventData, type GetV0FractionsFractionsGetFractionsCreatedEventError, type GetV0FractionsFractionsGetFractionsCreatedEventErrors, type GetV0FractionsFractionsGetFractionsCreatedEventResponse, type GetV0FractionsFractionsGetFractionsCreatedEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventError, type GetV0FractionsMarketsDeployEventErrors, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesError, type GetV0FractionsRolesErrors, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GrantMarketRoleRequestSchema, type IApiConfig, type IEnv, type IEnvName, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesError, type PostGeneralBalancesErrors, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasError, type PostGeneralEstimateGasErrors, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesError, type PostGeneralSearchBalancesErrors, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Error, type PostStakingPlatformsSearchV0Errors, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Error, type PostStakingPoolsSearchPoolsV0Errors, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Error, type PostStakingRolesGrantRoleV0Errors, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Error, type PostStakingRolesSearchRoleEventsV0Errors, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Error, type PostStakingRolesSearchRolesV0Errors, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Error, type PostStakingStakesSearchStakeEventsV0Errors, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Error, type PostStakingStakesSearchStakesV0Errors, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformError, type PostStakingTemplatesReputationLockV0CreatePlatformErrors, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolError, type PostStakingTemplatesReputationLockV0CreatePoolErrors, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardError, type PostStakingTemplatesReputationLockV0GetRewardErrors, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeError, type PostStakingTemplatesReputationLockV0PartialUnstakeErrors, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeError, type PostStakingTemplatesReputationLockV0RestakeErrors, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeError, type PostStakingTemplatesReputationLockV0StakeErrors, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeError, type PostStakingTemplatesReputationLockV0UnstakeErrors, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformError, type PostStakingTemplatesReputationV0CreatePlatformErrors, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolError, type PostStakingTemplatesReputationV0CreatePoolErrors, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardError, type PostStakingTemplatesReputationV0GetRewardErrors, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeError, type PostStakingTemplatesReputationV0PartialUnstakeErrors, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeError, type PostStakingTemplatesReputationV0RestakeErrors, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeError, type PostStakingTemplatesReputationV0StakeErrors, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeError, type PostStakingTemplatesReputationV0UnstakeErrors, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformError, type PostStakingTemplatesRwaV0CreatePlatformErrors, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolError, type PostStakingTemplatesRwaV0CreatePoolErrors, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardError, type PostStakingTemplatesRwaV0GetRewardErrors, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsError, type PostStakingTemplatesRwaV0NotifyRewardsErrors, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeError, type PostStakingTemplatesRwaV0PartialUnstakeErrors, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeError, type PostStakingTemplatesRwaV0RestakeErrors, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeError, type PostStakingTemplatesRwaV0StakeErrors, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeError, type PostStakingTemplatesRwaV0UnstakeErrors, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperError, type PostV0FractionsFractionsApproveWrapperErrors, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsError, type PostV0FractionsFractionsFractionsErrors, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchError, type PostV0FractionsMarketsSearchErrors, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployError, type PostV0FractionsPlatformsDeployErrors, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantError, type PostV0FractionsRolesGrantErrors, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveError, type PostV0FractionsSalesApproveErrors, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteError, type PostV0FractionsSalesCompleteErrors, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseError, type PostV0FractionsSalesPurchaseErrors, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenError, type PostV0FractionsSalesWithdrawPaymentTokenErrors, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PurchaseRequestSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type WithdrawRequestSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|
|
2567
|
+
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveErc20SpendingToWrapper, type ApproveErc721SpendingToWrapper, type ApproveSaleRequestSchema, type ApproveWrapperRequestSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CreateFractionsRequestSchema, type DeployMarketRequestSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsFractionsGetFractionsCreatedEventData, type GetV0FractionsFractionsGetFractionsCreatedEventError, type GetV0FractionsFractionsGetFractionsCreatedEventErrors, type GetV0FractionsFractionsGetFractionsCreatedEventResponse, type GetV0FractionsFractionsGetFractionsCreatedEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventError, type GetV0FractionsMarketsDeployEventErrors, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesError, type GetV0FractionsRolesErrors, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GrantMarketRoleRequestSchema, type IApiConfig, type IEnv, type IEnvName, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesError, type PostGeneralBalancesErrors, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasError, type PostGeneralEstimateGasErrors, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesError, type PostGeneralSearchBalancesErrors, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Error, type PostStakingPlatformsSearchV0Errors, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Error, type PostStakingPoolsSearchPoolsV0Errors, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Error, type PostStakingRolesGrantRoleV0Errors, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Error, type PostStakingRolesSearchRoleEventsV0Errors, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Error, type PostStakingRolesSearchRolesV0Errors, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Error, type PostStakingStakesSearchStakeEventsV0Errors, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Error, type PostStakingStakesSearchStakesV0Errors, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformError, type PostStakingTemplatesReputationLockV0CreatePlatformErrors, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolError, type PostStakingTemplatesReputationLockV0CreatePoolErrors, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardError, type PostStakingTemplatesReputationLockV0GetRewardErrors, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeError, type PostStakingTemplatesReputationLockV0PartialUnstakeErrors, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeError, type PostStakingTemplatesReputationLockV0RestakeErrors, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeError, type PostStakingTemplatesReputationLockV0StakeErrors, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeError, type PostStakingTemplatesReputationLockV0UnstakeErrors, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformError, type PostStakingTemplatesReputationV0CreatePlatformErrors, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolError, type PostStakingTemplatesReputationV0CreatePoolErrors, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardError, type PostStakingTemplatesReputationV0GetRewardErrors, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeError, type PostStakingTemplatesReputationV0PartialUnstakeErrors, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeError, type PostStakingTemplatesReputationV0RestakeErrors, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeError, type PostStakingTemplatesReputationV0StakeErrors, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeError, type PostStakingTemplatesReputationV0UnstakeErrors, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformError, type PostStakingTemplatesRwaV0CreatePlatformErrors, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolError, type PostStakingTemplatesRwaV0CreatePoolErrors, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardError, type PostStakingTemplatesRwaV0GetRewardErrors, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsError, type PostStakingTemplatesRwaV0NotifyRewardsErrors, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeError, type PostStakingTemplatesRwaV0PartialUnstakeErrors, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeError, type PostStakingTemplatesRwaV0RestakeErrors, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeError, type PostStakingTemplatesRwaV0StakeErrors, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeError, type PostStakingTemplatesRwaV0UnstakeErrors, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderError, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderErrors, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperError, type PostV0FractionsFractionsApproveWrapperErrors, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsError, type PostV0FractionsFractionsFractionsErrors, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchError, type PostV0FractionsMarketsSearchErrors, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployError, type PostV0FractionsPlatformsDeployErrors, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantError, type PostV0FractionsRolesGrantErrors, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveError, type PostV0FractionsSalesApproveErrors, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteError, type PostV0FractionsSalesCompleteErrors, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseError, type PostV0FractionsSalesPurchaseErrors, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenError, type PostV0FractionsSalesWithdrawPaymentTokenErrors, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PurchaseRequestSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type WithdrawRequestSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evergonlabs/tmi-protocol-api-client",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,25 +18,12 @@
|
|
|
18
18
|
"package.json",
|
|
19
19
|
"README.md"
|
|
20
20
|
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"lint": "eslint .",
|
|
23
|
-
"dev": "tsx ./scripts/compile-dev.ts",
|
|
24
|
-
"openapi:client": "npx openapi-ts",
|
|
25
|
-
"openapi:doc": "tsx ./scripts/generateOpenApiBundle/bin.ts",
|
|
26
|
-
"build": "run-s openapi:doc openapi:client build:lib",
|
|
27
|
-
"build:lib": "tsx ./scripts/compile-prod.ts",
|
|
28
|
-
"check-types": "tsc -b --noEmit",
|
|
29
|
-
"clean": "rimraf ./dist ./artifacts ./src/client",
|
|
30
|
-
"prepublishOnly": "pnpm build"
|
|
31
|
-
},
|
|
32
21
|
"dependencies": {
|
|
33
22
|
"@hey-api/client-fetch": "^0.8.1",
|
|
34
|
-
"@evergonlabs/tmi-protocol-shared": "
|
|
23
|
+
"@evergonlabs/tmi-protocol-shared": "0.1.0"
|
|
35
24
|
},
|
|
36
25
|
"devDependencies": {
|
|
37
|
-
"@evergonlabs/internal": "workspace:*",
|
|
38
26
|
"@evergonlabs/tmi-eslint-config": "^0.1.3",
|
|
39
|
-
"@evergonlabs/tmi-protocol-api": "workspace:*",
|
|
40
27
|
"@evergonlabs/tmi-typescript-config": "^0.2.0",
|
|
41
28
|
"@hey-api/openapi-ts": "^0.64.1",
|
|
42
29
|
"dotenv": "^16.4.7",
|
|
@@ -47,7 +34,9 @@
|
|
|
47
34
|
"npm-run-all": "^4.1.5",
|
|
48
35
|
"rimraf": "^6.0.1",
|
|
49
36
|
"tsx": "^4.19.2",
|
|
50
|
-
"typescript": "5.7.3"
|
|
37
|
+
"typescript": "5.7.3",
|
|
38
|
+
"@evergonlabs/tmi-protocol-api": "0.0.0",
|
|
39
|
+
"@evergonlabs/internal": "0.0.0"
|
|
51
40
|
},
|
|
52
41
|
"engines": {
|
|
53
42
|
"node": ">=18.14"
|
|
@@ -55,5 +44,15 @@
|
|
|
55
44
|
"publishConfig": {
|
|
56
45
|
"access": "public",
|
|
57
46
|
"registry": "https://registry.npmjs.org/"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"lint": "eslint .",
|
|
50
|
+
"dev": "tsx ./scripts/compile-dev.ts",
|
|
51
|
+
"openapi:client": "npx openapi-ts",
|
|
52
|
+
"openapi:doc": "tsx ./scripts/generateOpenApiBundle/bin.ts",
|
|
53
|
+
"build": "run-s openapi:doc openapi:client build:lib",
|
|
54
|
+
"build:lib": "tsx ./scripts/compile-prod.ts",
|
|
55
|
+
"check-types": "tsc -b --noEmit",
|
|
56
|
+
"clean": "rimraf ./dist ./artifacts ./src/client"
|
|
58
57
|
}
|
|
59
|
-
}
|
|
58
|
+
}
|