@aitlabs/namkwong 0.0.103 → 0.0.105
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/admin/index.d.ts +1046 -29
- package/dist/admin-user/admin/router.d.ts +13 -1
- package/dist/app-version/admin/router.d.ts +1 -13
- package/dist/asset/schema.d.ts +2 -0
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +24 -0
- package/dist/asset-convert-product/admin/router.d.ts +25 -13
- package/dist/asset-convert-product/admin/service.d.ts +12 -12
- package/dist/binary-option/admin/dto.schemas.d.ts +3099 -0
- package/dist/binary-option/admin/router.d.ts +1400 -0
- package/dist/binary-option/admin/service.d.ts +524 -0
- package/dist/binary-option/cron.d.ts +6 -0
- package/dist/binary-option/db.schemas.d.ts +3158 -0
- package/dist/binary-option/errors/index.d.ts +38 -0
- package/dist/binary-option/errors/locales/zh.d.ts +37 -0
- package/dist/binary-option/index.d.ts +7 -0
- package/dist/binary-option/internal/service.d.ts +271 -0
- package/dist/binary-option/schema.d.ts +1666 -0
- package/dist/binary-option/user/dto.schemas.d.ts +1182 -0
- package/dist/binary-option/user/router.d.ts +808 -0
- package/dist/binary-option/user/service.d.ts +232 -0
- package/dist/db/schemas.d.ts +2 -0
- package/dist/dynamic-env/admin.router.d.ts +1 -13
- package/dist/index.d.ts +1759 -254
- package/dist/ledger/admin/dto.schemas.d.ts +24 -0
- package/dist/ledger/admin/router.d.ts +4 -4
- package/dist/ledger/db.schemas.d.ts +8 -8
- package/dist/ledger/schema.d.ts +6 -6
- package/dist/ledger/user/dto.schemas.d.ts +8 -8
- package/dist/ledger/user/router.d.ts +2 -2
- package/dist/ledger/user/service.d.ts +2 -2
- package/dist/lock-activity/admin/participation.dto.schemas.d.ts +3 -3
- package/dist/lock-activity/admin/participation.service.d.ts +4 -4
- package/dist/lock-activity/admin/reward.service.d.ts +1 -1
- package/dist/lock-activity/admin/router.d.ts +6 -6
- package/dist/market-data/internal/service.d.ts +1 -1
- package/dist/market-symbol/admin/dto.schemas.d.ts +104 -0
- package/dist/market-symbol/admin/router.d.ts +528 -0
- package/dist/market-symbol/admin/service.d.ts +34 -0
- package/dist/market-symbol/db.schemas.d.ts +346 -0
- package/dist/market-symbol/internal/service.d.ts +25 -0
- package/dist/market-symbol/schema.d.ts +196 -0
- package/dist/referral/admin/dto.schemas.d.ts +4 -2
- package/dist/referral/admin/router.d.ts +2 -1
- package/dist/referral/db.schemas.d.ts +210 -0
- package/dist/referral/index.d.ts +3 -1
- package/dist/referral/internal/service.d.ts +7 -2
- package/dist/referral/schema.d.ts +116 -0
- package/dist/referral/share/dto.schemas.d.ts +34 -0
- package/dist/referral/share/router.d.ts +527 -0
- package/dist/referral/share/service.d.ts +23 -0
- package/dist/referral/user/dto.schemas.d.ts +2 -1
- package/dist/referral/user/router.d.ts +2 -1
- package/dist/referral/user/service.d.ts +3 -2
- package/dist/team/admin/dto.schemas.d.ts +0 -85
- package/dist/team/admin/router.d.ts +0 -3
- package/dist/team/user/dto.schemas.d.ts +0 -1
- package/dist/team/user/router.d.ts +0 -1
- package/dist/user/admin/dto.schemas.d.ts +0 -34
- package/dist/user/admin/router.d.ts +0 -3
- package/dist/user/admin/service.d.ts +0 -3
- package/dist/user/db.schemas.d.ts +0 -34
- package/dist/user/internal/service.d.ts +0 -1
- package/dist/user/schema.d.ts +0 -17
- package/dist/user/user/router.d.ts +0 -3
- package/dist/user/user/service.d.ts +0 -3
- package/package.json +1 -1
package/dist/admin/index.d.ts
CHANGED
|
@@ -1876,19 +1876,19 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1876
1876
|
createdAt: Date;
|
|
1877
1877
|
creditLedgerEntry?: {
|
|
1878
1878
|
id: string;
|
|
1879
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1879
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1880
1880
|
amount: string;
|
|
1881
1881
|
referenceId: string;
|
|
1882
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1882
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1883
1883
|
createdAt: Date;
|
|
1884
1884
|
} | undefined;
|
|
1885
1885
|
creditLedgerEntryId: string | null;
|
|
1886
1886
|
debitLedgerEntry?: {
|
|
1887
1887
|
id: string;
|
|
1888
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1888
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1889
1889
|
amount: string;
|
|
1890
1890
|
referenceId: string;
|
|
1891
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1891
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1892
1892
|
createdAt: Date;
|
|
1893
1893
|
} | undefined;
|
|
1894
1894
|
debitLedgerEntryId: string | null;
|
|
@@ -2047,19 +2047,19 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2047
2047
|
createdAt: Date;
|
|
2048
2048
|
creditLedgerEntry?: {
|
|
2049
2049
|
id: string;
|
|
2050
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2050
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2051
2051
|
amount: string;
|
|
2052
2052
|
referenceId: string;
|
|
2053
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2053
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2054
2054
|
createdAt: Date;
|
|
2055
2055
|
} | undefined;
|
|
2056
2056
|
creditLedgerEntryId: string | null;
|
|
2057
2057
|
debitLedgerEntry?: {
|
|
2058
2058
|
id: string;
|
|
2059
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2059
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2060
2060
|
amount: string;
|
|
2061
2061
|
referenceId: string;
|
|
2062
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2062
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2063
2063
|
createdAt: Date;
|
|
2064
2064
|
} | undefined;
|
|
2065
2065
|
debitLedgerEntryId: string | null;
|
|
@@ -2212,19 +2212,19 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2212
2212
|
createdAt: Date;
|
|
2213
2213
|
creditLedgerEntry?: {
|
|
2214
2214
|
id: string;
|
|
2215
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2215
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2216
2216
|
amount: string;
|
|
2217
2217
|
referenceId: string;
|
|
2218
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2218
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2219
2219
|
createdAt: Date;
|
|
2220
2220
|
} | undefined;
|
|
2221
2221
|
creditLedgerEntryId: string | null;
|
|
2222
2222
|
debitLedgerEntry?: {
|
|
2223
2223
|
id: string;
|
|
2224
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2224
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2225
2225
|
amount: string;
|
|
2226
2226
|
referenceId: string;
|
|
2227
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2227
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2228
2228
|
createdAt: Date;
|
|
2229
2229
|
} | undefined;
|
|
2230
2230
|
debitLedgerEntryId: string | null;
|
|
@@ -4043,6 +4043,953 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4043
4043
|
};
|
|
4044
4044
|
};
|
|
4045
4045
|
};
|
|
4046
|
+
} & {
|
|
4047
|
+
admin: {
|
|
4048
|
+
binary_option: {};
|
|
4049
|
+
} & {
|
|
4050
|
+
binary_option: {
|
|
4051
|
+
markets: {
|
|
4052
|
+
post: {
|
|
4053
|
+
body: {
|
|
4054
|
+
name: string;
|
|
4055
|
+
description?: string | null | undefined;
|
|
4056
|
+
image?: string | null | undefined;
|
|
4057
|
+
marketSymbolId: string;
|
|
4058
|
+
minStakeAmount: string;
|
|
4059
|
+
maxStakeAmount?: string | null | undefined;
|
|
4060
|
+
isVisibleOnFrontend?: boolean | undefined;
|
|
4061
|
+
sortOrder?: number | undefined;
|
|
4062
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
4063
|
+
};
|
|
4064
|
+
params: {};
|
|
4065
|
+
query: {};
|
|
4066
|
+
headers: {};
|
|
4067
|
+
response: {
|
|
4068
|
+
200: {
|
|
4069
|
+
baseAssetIdSnapshot: string;
|
|
4070
|
+
createdAt: Date;
|
|
4071
|
+
description: string | null;
|
|
4072
|
+
durationConfigs: {
|
|
4073
|
+
createdAt: Date;
|
|
4074
|
+
updatedAt: Date;
|
|
4075
|
+
id: string;
|
|
4076
|
+
marketId: string;
|
|
4077
|
+
durationSeconds: number;
|
|
4078
|
+
winPayoutMultiplier: string;
|
|
4079
|
+
losePayoutMultiplier: string;
|
|
4080
|
+
isEnabled: boolean;
|
|
4081
|
+
sortOrder: number;
|
|
4082
|
+
}[];
|
|
4083
|
+
id: string;
|
|
4084
|
+
image: string | null;
|
|
4085
|
+
isVisibleOnFrontend: boolean;
|
|
4086
|
+
marketSymbol: {
|
|
4087
|
+
createdAt: Date;
|
|
4088
|
+
updatedAt: Date;
|
|
4089
|
+
id: string;
|
|
4090
|
+
symbol: string;
|
|
4091
|
+
baseAssetId: string;
|
|
4092
|
+
quoteAssetId: string;
|
|
4093
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4094
|
+
chartEnabled: boolean;
|
|
4095
|
+
settlementEnabled: boolean;
|
|
4096
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4097
|
+
};
|
|
4098
|
+
marketSymbolId: string;
|
|
4099
|
+
maxStakeAmount: string | null;
|
|
4100
|
+
minStakeAmount: string;
|
|
4101
|
+
name: string;
|
|
4102
|
+
quoteAssetIdSnapshot: string;
|
|
4103
|
+
sortOrder: number;
|
|
4104
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4105
|
+
symbolSnapshot: string;
|
|
4106
|
+
updatedAt: Date;
|
|
4107
|
+
};
|
|
4108
|
+
401: "Unauthorized";
|
|
4109
|
+
403: "Forbidden: Admins only";
|
|
4110
|
+
422: {
|
|
4111
|
+
type: 'validation';
|
|
4112
|
+
on: string;
|
|
4113
|
+
summary?: string;
|
|
4114
|
+
message?: string;
|
|
4115
|
+
found?: unknown;
|
|
4116
|
+
property?: string;
|
|
4117
|
+
expected?: string;
|
|
4118
|
+
};
|
|
4119
|
+
};
|
|
4120
|
+
};
|
|
4121
|
+
};
|
|
4122
|
+
};
|
|
4123
|
+
} & {
|
|
4124
|
+
binary_option: {
|
|
4125
|
+
markets: {
|
|
4126
|
+
":id": {
|
|
4127
|
+
patch: {
|
|
4128
|
+
body: {
|
|
4129
|
+
name?: string | undefined;
|
|
4130
|
+
description?: string | null | undefined;
|
|
4131
|
+
image?: string | null | undefined;
|
|
4132
|
+
marketSymbolId?: string | undefined;
|
|
4133
|
+
minStakeAmount?: string | undefined;
|
|
4134
|
+
maxStakeAmount?: string | null | undefined;
|
|
4135
|
+
isVisibleOnFrontend?: boolean | undefined;
|
|
4136
|
+
sortOrder?: number | undefined;
|
|
4137
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
4138
|
+
};
|
|
4139
|
+
params: {
|
|
4140
|
+
id: string;
|
|
4141
|
+
};
|
|
4142
|
+
query: {};
|
|
4143
|
+
headers: {};
|
|
4144
|
+
response: {
|
|
4145
|
+
200: {
|
|
4146
|
+
baseAssetIdSnapshot: string;
|
|
4147
|
+
createdAt: Date;
|
|
4148
|
+
description: string | null;
|
|
4149
|
+
durationConfigs: {
|
|
4150
|
+
createdAt: Date;
|
|
4151
|
+
updatedAt: Date;
|
|
4152
|
+
id: string;
|
|
4153
|
+
marketId: string;
|
|
4154
|
+
durationSeconds: number;
|
|
4155
|
+
winPayoutMultiplier: string;
|
|
4156
|
+
losePayoutMultiplier: string;
|
|
4157
|
+
isEnabled: boolean;
|
|
4158
|
+
sortOrder: number;
|
|
4159
|
+
}[];
|
|
4160
|
+
id: string;
|
|
4161
|
+
image: string | null;
|
|
4162
|
+
isVisibleOnFrontend: boolean;
|
|
4163
|
+
marketSymbol: {
|
|
4164
|
+
createdAt: Date;
|
|
4165
|
+
updatedAt: Date;
|
|
4166
|
+
id: string;
|
|
4167
|
+
symbol: string;
|
|
4168
|
+
baseAssetId: string;
|
|
4169
|
+
quoteAssetId: string;
|
|
4170
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4171
|
+
chartEnabled: boolean;
|
|
4172
|
+
settlementEnabled: boolean;
|
|
4173
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4174
|
+
};
|
|
4175
|
+
marketSymbolId: string;
|
|
4176
|
+
maxStakeAmount: string | null;
|
|
4177
|
+
minStakeAmount: string;
|
|
4178
|
+
name: string;
|
|
4179
|
+
quoteAssetIdSnapshot: string;
|
|
4180
|
+
sortOrder: number;
|
|
4181
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4182
|
+
symbolSnapshot: string;
|
|
4183
|
+
updatedAt: Date;
|
|
4184
|
+
};
|
|
4185
|
+
401: "Unauthorized";
|
|
4186
|
+
403: "Forbidden: Admins only";
|
|
4187
|
+
422: {
|
|
4188
|
+
type: 'validation';
|
|
4189
|
+
on: string;
|
|
4190
|
+
summary?: string;
|
|
4191
|
+
message?: string;
|
|
4192
|
+
found?: unknown;
|
|
4193
|
+
property?: string;
|
|
4194
|
+
expected?: string;
|
|
4195
|
+
};
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
};
|
|
4199
|
+
};
|
|
4200
|
+
};
|
|
4201
|
+
} & {
|
|
4202
|
+
binary_option: {
|
|
4203
|
+
markets: {
|
|
4204
|
+
":id": {
|
|
4205
|
+
activate: {
|
|
4206
|
+
post: {
|
|
4207
|
+
body: {};
|
|
4208
|
+
params: {
|
|
4209
|
+
id: string;
|
|
4210
|
+
};
|
|
4211
|
+
query: {};
|
|
4212
|
+
headers: {};
|
|
4213
|
+
response: {
|
|
4214
|
+
200: {
|
|
4215
|
+
baseAssetIdSnapshot: string;
|
|
4216
|
+
createdAt: Date;
|
|
4217
|
+
description: string | null;
|
|
4218
|
+
durationConfigs: {
|
|
4219
|
+
createdAt: Date;
|
|
4220
|
+
updatedAt: Date;
|
|
4221
|
+
id: string;
|
|
4222
|
+
marketId: string;
|
|
4223
|
+
durationSeconds: number;
|
|
4224
|
+
winPayoutMultiplier: string;
|
|
4225
|
+
losePayoutMultiplier: string;
|
|
4226
|
+
isEnabled: boolean;
|
|
4227
|
+
sortOrder: number;
|
|
4228
|
+
}[];
|
|
4229
|
+
id: string;
|
|
4230
|
+
image: string | null;
|
|
4231
|
+
isVisibleOnFrontend: boolean;
|
|
4232
|
+
marketSymbol: {
|
|
4233
|
+
createdAt: Date;
|
|
4234
|
+
updatedAt: Date;
|
|
4235
|
+
id: string;
|
|
4236
|
+
symbol: string;
|
|
4237
|
+
baseAssetId: string;
|
|
4238
|
+
quoteAssetId: string;
|
|
4239
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4240
|
+
chartEnabled: boolean;
|
|
4241
|
+
settlementEnabled: boolean;
|
|
4242
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4243
|
+
};
|
|
4244
|
+
marketSymbolId: string;
|
|
4245
|
+
maxStakeAmount: string | null;
|
|
4246
|
+
minStakeAmount: string;
|
|
4247
|
+
name: string;
|
|
4248
|
+
quoteAssetIdSnapshot: string;
|
|
4249
|
+
sortOrder: number;
|
|
4250
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4251
|
+
symbolSnapshot: string;
|
|
4252
|
+
updatedAt: Date;
|
|
4253
|
+
};
|
|
4254
|
+
401: "Unauthorized";
|
|
4255
|
+
403: "Forbidden: Admins only";
|
|
4256
|
+
422: {
|
|
4257
|
+
type: 'validation';
|
|
4258
|
+
on: string;
|
|
4259
|
+
summary?: string;
|
|
4260
|
+
message?: string;
|
|
4261
|
+
found?: unknown;
|
|
4262
|
+
property?: string;
|
|
4263
|
+
expected?: string;
|
|
4264
|
+
};
|
|
4265
|
+
};
|
|
4266
|
+
};
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
4270
|
+
};
|
|
4271
|
+
} & {
|
|
4272
|
+
binary_option: {
|
|
4273
|
+
markets: {
|
|
4274
|
+
":id": {
|
|
4275
|
+
pause: {
|
|
4276
|
+
post: {
|
|
4277
|
+
body: {};
|
|
4278
|
+
params: {
|
|
4279
|
+
id: string;
|
|
4280
|
+
};
|
|
4281
|
+
query: {};
|
|
4282
|
+
headers: {};
|
|
4283
|
+
response: {
|
|
4284
|
+
200: {
|
|
4285
|
+
baseAssetIdSnapshot: string;
|
|
4286
|
+
createdAt: Date;
|
|
4287
|
+
description: string | null;
|
|
4288
|
+
durationConfigs: {
|
|
4289
|
+
createdAt: Date;
|
|
4290
|
+
updatedAt: Date;
|
|
4291
|
+
id: string;
|
|
4292
|
+
marketId: string;
|
|
4293
|
+
durationSeconds: number;
|
|
4294
|
+
winPayoutMultiplier: string;
|
|
4295
|
+
losePayoutMultiplier: string;
|
|
4296
|
+
isEnabled: boolean;
|
|
4297
|
+
sortOrder: number;
|
|
4298
|
+
}[];
|
|
4299
|
+
id: string;
|
|
4300
|
+
image: string | null;
|
|
4301
|
+
isVisibleOnFrontend: boolean;
|
|
4302
|
+
marketSymbol: {
|
|
4303
|
+
createdAt: Date;
|
|
4304
|
+
updatedAt: Date;
|
|
4305
|
+
id: string;
|
|
4306
|
+
symbol: string;
|
|
4307
|
+
baseAssetId: string;
|
|
4308
|
+
quoteAssetId: string;
|
|
4309
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4310
|
+
chartEnabled: boolean;
|
|
4311
|
+
settlementEnabled: boolean;
|
|
4312
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4313
|
+
};
|
|
4314
|
+
marketSymbolId: string;
|
|
4315
|
+
maxStakeAmount: string | null;
|
|
4316
|
+
minStakeAmount: string;
|
|
4317
|
+
name: string;
|
|
4318
|
+
quoteAssetIdSnapshot: string;
|
|
4319
|
+
sortOrder: number;
|
|
4320
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4321
|
+
symbolSnapshot: string;
|
|
4322
|
+
updatedAt: Date;
|
|
4323
|
+
};
|
|
4324
|
+
401: "Unauthorized";
|
|
4325
|
+
403: "Forbidden: Admins only";
|
|
4326
|
+
422: {
|
|
4327
|
+
type: 'validation';
|
|
4328
|
+
on: string;
|
|
4329
|
+
summary?: string;
|
|
4330
|
+
message?: string;
|
|
4331
|
+
found?: unknown;
|
|
4332
|
+
property?: string;
|
|
4333
|
+
expected?: string;
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
4336
|
+
};
|
|
4337
|
+
};
|
|
4338
|
+
};
|
|
4339
|
+
};
|
|
4340
|
+
};
|
|
4341
|
+
} & {
|
|
4342
|
+
binary_option: {
|
|
4343
|
+
markets: {
|
|
4344
|
+
":id": {
|
|
4345
|
+
end: {
|
|
4346
|
+
post: {
|
|
4347
|
+
body: {};
|
|
4348
|
+
params: {
|
|
4349
|
+
id: string;
|
|
4350
|
+
};
|
|
4351
|
+
query: {};
|
|
4352
|
+
headers: {};
|
|
4353
|
+
response: {
|
|
4354
|
+
200: {
|
|
4355
|
+
baseAssetIdSnapshot: string;
|
|
4356
|
+
createdAt: Date;
|
|
4357
|
+
description: string | null;
|
|
4358
|
+
durationConfigs: {
|
|
4359
|
+
createdAt: Date;
|
|
4360
|
+
updatedAt: Date;
|
|
4361
|
+
id: string;
|
|
4362
|
+
marketId: string;
|
|
4363
|
+
durationSeconds: number;
|
|
4364
|
+
winPayoutMultiplier: string;
|
|
4365
|
+
losePayoutMultiplier: string;
|
|
4366
|
+
isEnabled: boolean;
|
|
4367
|
+
sortOrder: number;
|
|
4368
|
+
}[];
|
|
4369
|
+
id: string;
|
|
4370
|
+
image: string | null;
|
|
4371
|
+
isVisibleOnFrontend: boolean;
|
|
4372
|
+
marketSymbol: {
|
|
4373
|
+
createdAt: Date;
|
|
4374
|
+
updatedAt: Date;
|
|
4375
|
+
id: string;
|
|
4376
|
+
symbol: string;
|
|
4377
|
+
baseAssetId: string;
|
|
4378
|
+
quoteAssetId: string;
|
|
4379
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4380
|
+
chartEnabled: boolean;
|
|
4381
|
+
settlementEnabled: boolean;
|
|
4382
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4383
|
+
};
|
|
4384
|
+
marketSymbolId: string;
|
|
4385
|
+
maxStakeAmount: string | null;
|
|
4386
|
+
minStakeAmount: string;
|
|
4387
|
+
name: string;
|
|
4388
|
+
quoteAssetIdSnapshot: string;
|
|
4389
|
+
sortOrder: number;
|
|
4390
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4391
|
+
symbolSnapshot: string;
|
|
4392
|
+
updatedAt: Date;
|
|
4393
|
+
};
|
|
4394
|
+
401: "Unauthorized";
|
|
4395
|
+
403: "Forbidden: Admins only";
|
|
4396
|
+
422: {
|
|
4397
|
+
type: 'validation';
|
|
4398
|
+
on: string;
|
|
4399
|
+
summary?: string;
|
|
4400
|
+
message?: string;
|
|
4401
|
+
found?: unknown;
|
|
4402
|
+
property?: string;
|
|
4403
|
+
expected?: string;
|
|
4404
|
+
};
|
|
4405
|
+
};
|
|
4406
|
+
};
|
|
4407
|
+
};
|
|
4408
|
+
};
|
|
4409
|
+
};
|
|
4410
|
+
};
|
|
4411
|
+
} & {
|
|
4412
|
+
binary_option: {
|
|
4413
|
+
markets: {
|
|
4414
|
+
get: {
|
|
4415
|
+
body: {};
|
|
4416
|
+
params: {};
|
|
4417
|
+
query: {
|
|
4418
|
+
limit?: number | undefined;
|
|
4419
|
+
marketSymbolId?: string | undefined;
|
|
4420
|
+
offset?: number | undefined;
|
|
4421
|
+
pageIndex?: number | undefined;
|
|
4422
|
+
pageSize?: number | undefined;
|
|
4423
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
4424
|
+
};
|
|
4425
|
+
headers: {};
|
|
4426
|
+
response: {
|
|
4427
|
+
200: {
|
|
4428
|
+
data: {
|
|
4429
|
+
baseAssetIdSnapshot: string;
|
|
4430
|
+
createdAt: Date;
|
|
4431
|
+
description: string | null;
|
|
4432
|
+
durationConfigs: {
|
|
4433
|
+
createdAt: Date;
|
|
4434
|
+
updatedAt: Date;
|
|
4435
|
+
id: string;
|
|
4436
|
+
marketId: string;
|
|
4437
|
+
durationSeconds: number;
|
|
4438
|
+
winPayoutMultiplier: string;
|
|
4439
|
+
losePayoutMultiplier: string;
|
|
4440
|
+
isEnabled: boolean;
|
|
4441
|
+
sortOrder: number;
|
|
4442
|
+
}[];
|
|
4443
|
+
id: string;
|
|
4444
|
+
image: string | null;
|
|
4445
|
+
isVisibleOnFrontend: boolean;
|
|
4446
|
+
marketSymbol: {
|
|
4447
|
+
createdAt: Date;
|
|
4448
|
+
updatedAt: Date;
|
|
4449
|
+
id: string;
|
|
4450
|
+
symbol: string;
|
|
4451
|
+
baseAssetId: string;
|
|
4452
|
+
quoteAssetId: string;
|
|
4453
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4454
|
+
chartEnabled: boolean;
|
|
4455
|
+
settlementEnabled: boolean;
|
|
4456
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
4457
|
+
};
|
|
4458
|
+
marketSymbolId: string;
|
|
4459
|
+
maxStakeAmount: string | null;
|
|
4460
|
+
minStakeAmount: string;
|
|
4461
|
+
name: string;
|
|
4462
|
+
quoteAssetIdSnapshot: string;
|
|
4463
|
+
sortOrder: number;
|
|
4464
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4465
|
+
symbolSnapshot: string;
|
|
4466
|
+
updatedAt: Date;
|
|
4467
|
+
}[];
|
|
4468
|
+
pagination: {
|
|
4469
|
+
pageSize: number;
|
|
4470
|
+
pageIndex: number;
|
|
4471
|
+
total: number;
|
|
4472
|
+
totalPages: number;
|
|
4473
|
+
hasNextPage: boolean;
|
|
4474
|
+
};
|
|
4475
|
+
};
|
|
4476
|
+
401: "Unauthorized";
|
|
4477
|
+
403: "Forbidden: Admins only";
|
|
4478
|
+
422: {
|
|
4479
|
+
type: 'validation';
|
|
4480
|
+
on: string;
|
|
4481
|
+
summary?: string;
|
|
4482
|
+
message?: string;
|
|
4483
|
+
found?: unknown;
|
|
4484
|
+
property?: string;
|
|
4485
|
+
expected?: string;
|
|
4486
|
+
};
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4489
|
+
};
|
|
4490
|
+
};
|
|
4491
|
+
} & {
|
|
4492
|
+
binary_option: {
|
|
4493
|
+
markets: {
|
|
4494
|
+
":id": {
|
|
4495
|
+
"duration-configs": {
|
|
4496
|
+
get: {
|
|
4497
|
+
body: {};
|
|
4498
|
+
params: {
|
|
4499
|
+
id: string;
|
|
4500
|
+
};
|
|
4501
|
+
query: {};
|
|
4502
|
+
headers: {};
|
|
4503
|
+
response: {
|
|
4504
|
+
200: {
|
|
4505
|
+
createdAt: Date;
|
|
4506
|
+
updatedAt: Date;
|
|
4507
|
+
id: string;
|
|
4508
|
+
marketId: string;
|
|
4509
|
+
durationSeconds: number;
|
|
4510
|
+
winPayoutMultiplier: string;
|
|
4511
|
+
losePayoutMultiplier: string;
|
|
4512
|
+
isEnabled: boolean;
|
|
4513
|
+
sortOrder: number;
|
|
4514
|
+
}[];
|
|
4515
|
+
401: "Unauthorized";
|
|
4516
|
+
403: "Forbidden: Admins only";
|
|
4517
|
+
422: {
|
|
4518
|
+
type: 'validation';
|
|
4519
|
+
on: string;
|
|
4520
|
+
summary?: string;
|
|
4521
|
+
message?: string;
|
|
4522
|
+
found?: unknown;
|
|
4523
|
+
property?: string;
|
|
4524
|
+
expected?: string;
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
};
|
|
4530
|
+
};
|
|
4531
|
+
};
|
|
4532
|
+
} & {
|
|
4533
|
+
binary_option: {
|
|
4534
|
+
markets: {
|
|
4535
|
+
":id": {
|
|
4536
|
+
"duration-configs": {
|
|
4537
|
+
post: {
|
|
4538
|
+
body: {
|
|
4539
|
+
durationSeconds: number;
|
|
4540
|
+
winPayoutMultiplier: string;
|
|
4541
|
+
losePayoutMultiplier: string;
|
|
4542
|
+
isEnabled?: boolean | undefined;
|
|
4543
|
+
sortOrder?: number | undefined;
|
|
4544
|
+
};
|
|
4545
|
+
params: {
|
|
4546
|
+
id: string;
|
|
4547
|
+
};
|
|
4548
|
+
query: {};
|
|
4549
|
+
headers: {};
|
|
4550
|
+
response: {
|
|
4551
|
+
200: {
|
|
4552
|
+
createdAt: Date;
|
|
4553
|
+
durationSeconds: number;
|
|
4554
|
+
id: string;
|
|
4555
|
+
isEnabled: boolean;
|
|
4556
|
+
losePayoutMultiplier: string;
|
|
4557
|
+
marketId: string;
|
|
4558
|
+
sortOrder: number;
|
|
4559
|
+
updatedAt: Date;
|
|
4560
|
+
winPayoutMultiplier: string;
|
|
4561
|
+
};
|
|
4562
|
+
401: "Unauthorized";
|
|
4563
|
+
403: "Forbidden: Admins only";
|
|
4564
|
+
422: {
|
|
4565
|
+
type: 'validation';
|
|
4566
|
+
on: string;
|
|
4567
|
+
summary?: string;
|
|
4568
|
+
message?: string;
|
|
4569
|
+
found?: unknown;
|
|
4570
|
+
property?: string;
|
|
4571
|
+
expected?: string;
|
|
4572
|
+
};
|
|
4573
|
+
};
|
|
4574
|
+
};
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4577
|
+
};
|
|
4578
|
+
};
|
|
4579
|
+
} & {
|
|
4580
|
+
binary_option: {
|
|
4581
|
+
markets: {
|
|
4582
|
+
":marketId": {
|
|
4583
|
+
"duration-configs": {
|
|
4584
|
+
":durationConfigId": {
|
|
4585
|
+
patch: {
|
|
4586
|
+
body: {
|
|
4587
|
+
durationSeconds?: number | undefined;
|
|
4588
|
+
winPayoutMultiplier?: string | undefined;
|
|
4589
|
+
losePayoutMultiplier?: string | undefined;
|
|
4590
|
+
isEnabled?: boolean | undefined;
|
|
4591
|
+
sortOrder?: number | undefined;
|
|
4592
|
+
};
|
|
4593
|
+
params: {
|
|
4594
|
+
marketId: string;
|
|
4595
|
+
durationConfigId: string;
|
|
4596
|
+
};
|
|
4597
|
+
query: {};
|
|
4598
|
+
headers: {};
|
|
4599
|
+
response: {
|
|
4600
|
+
200: {
|
|
4601
|
+
createdAt: Date;
|
|
4602
|
+
updatedAt: Date;
|
|
4603
|
+
id: string;
|
|
4604
|
+
marketId: string;
|
|
4605
|
+
durationSeconds: number;
|
|
4606
|
+
winPayoutMultiplier: string;
|
|
4607
|
+
losePayoutMultiplier: string;
|
|
4608
|
+
isEnabled: boolean;
|
|
4609
|
+
sortOrder: number;
|
|
4610
|
+
};
|
|
4611
|
+
401: "Unauthorized";
|
|
4612
|
+
403: "Forbidden: Admins only";
|
|
4613
|
+
422: {
|
|
4614
|
+
type: 'validation';
|
|
4615
|
+
on: string;
|
|
4616
|
+
summary?: string;
|
|
4617
|
+
message?: string;
|
|
4618
|
+
found?: unknown;
|
|
4619
|
+
property?: string;
|
|
4620
|
+
expected?: string;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
};
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
} & {
|
|
4630
|
+
binary_option: {
|
|
4631
|
+
markets: {
|
|
4632
|
+
":marketId": {
|
|
4633
|
+
"duration-configs": {
|
|
4634
|
+
":durationConfigId": {
|
|
4635
|
+
enable: {
|
|
4636
|
+
post: {
|
|
4637
|
+
body: {};
|
|
4638
|
+
params: {
|
|
4639
|
+
marketId: string;
|
|
4640
|
+
durationConfigId: string;
|
|
4641
|
+
};
|
|
4642
|
+
query: {};
|
|
4643
|
+
headers: {};
|
|
4644
|
+
response: {
|
|
4645
|
+
200: {
|
|
4646
|
+
createdAt: Date;
|
|
4647
|
+
updatedAt: Date;
|
|
4648
|
+
id: string;
|
|
4649
|
+
marketId: string;
|
|
4650
|
+
durationSeconds: number;
|
|
4651
|
+
winPayoutMultiplier: string;
|
|
4652
|
+
losePayoutMultiplier: string;
|
|
4653
|
+
isEnabled: boolean;
|
|
4654
|
+
sortOrder: number;
|
|
4655
|
+
};
|
|
4656
|
+
401: "Unauthorized";
|
|
4657
|
+
403: "Forbidden: Admins only";
|
|
4658
|
+
422: {
|
|
4659
|
+
type: 'validation';
|
|
4660
|
+
on: string;
|
|
4661
|
+
summary?: string;
|
|
4662
|
+
message?: string;
|
|
4663
|
+
found?: unknown;
|
|
4664
|
+
property?: string;
|
|
4665
|
+
expected?: string;
|
|
4666
|
+
};
|
|
4667
|
+
};
|
|
4668
|
+
};
|
|
4669
|
+
};
|
|
4670
|
+
};
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
};
|
|
4675
|
+
} & {
|
|
4676
|
+
binary_option: {
|
|
4677
|
+
markets: {
|
|
4678
|
+
":marketId": {
|
|
4679
|
+
"duration-configs": {
|
|
4680
|
+
":durationConfigId": {
|
|
4681
|
+
disable: {
|
|
4682
|
+
post: {
|
|
4683
|
+
body: {};
|
|
4684
|
+
params: {
|
|
4685
|
+
marketId: string;
|
|
4686
|
+
durationConfigId: string;
|
|
4687
|
+
};
|
|
4688
|
+
query: {};
|
|
4689
|
+
headers: {};
|
|
4690
|
+
response: {
|
|
4691
|
+
200: {
|
|
4692
|
+
createdAt: Date;
|
|
4693
|
+
updatedAt: Date;
|
|
4694
|
+
id: string;
|
|
4695
|
+
marketId: string;
|
|
4696
|
+
durationSeconds: number;
|
|
4697
|
+
winPayoutMultiplier: string;
|
|
4698
|
+
losePayoutMultiplier: string;
|
|
4699
|
+
isEnabled: boolean;
|
|
4700
|
+
sortOrder: number;
|
|
4701
|
+
};
|
|
4702
|
+
401: "Unauthorized";
|
|
4703
|
+
403: "Forbidden: Admins only";
|
|
4704
|
+
422: {
|
|
4705
|
+
type: 'validation';
|
|
4706
|
+
on: string;
|
|
4707
|
+
summary?: string;
|
|
4708
|
+
message?: string;
|
|
4709
|
+
found?: unknown;
|
|
4710
|
+
property?: string;
|
|
4711
|
+
expected?: string;
|
|
4712
|
+
};
|
|
4713
|
+
};
|
|
4714
|
+
};
|
|
4715
|
+
};
|
|
4716
|
+
};
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
};
|
|
4720
|
+
};
|
|
4721
|
+
} & {
|
|
4722
|
+
binary_option: {
|
|
4723
|
+
orders: {
|
|
4724
|
+
get: {
|
|
4725
|
+
body: {};
|
|
4726
|
+
params: {};
|
|
4727
|
+
query: {
|
|
4728
|
+
direction?: "down" | "up" | undefined;
|
|
4729
|
+
limit?: number | undefined;
|
|
4730
|
+
marketId?: string | undefined;
|
|
4731
|
+
offset?: number | undefined;
|
|
4732
|
+
pageIndex?: number | undefined;
|
|
4733
|
+
pageSize?: number | undefined;
|
|
4734
|
+
result?: "cancelled" | "draw" | "expired" | "failed" | "lose" | "win" | null | undefined;
|
|
4735
|
+
status?: "active" | "cancelled" | "created" | "expired" | "failed" | "settled" | undefined;
|
|
4736
|
+
userId?: string | undefined;
|
|
4737
|
+
};
|
|
4738
|
+
headers: {};
|
|
4739
|
+
response: {
|
|
4740
|
+
200: {
|
|
4741
|
+
data: {
|
|
4742
|
+
baseAssetIdSnapshot: string;
|
|
4743
|
+
createdAt: Date;
|
|
4744
|
+
direction: "down" | "up";
|
|
4745
|
+
durationConfig: {
|
|
4746
|
+
createdAt: Date;
|
|
4747
|
+
updatedAt: Date;
|
|
4748
|
+
id: string;
|
|
4749
|
+
marketId: string;
|
|
4750
|
+
durationSeconds: number;
|
|
4751
|
+
winPayoutMultiplier: string;
|
|
4752
|
+
losePayoutMultiplier: string;
|
|
4753
|
+
isEnabled: boolean;
|
|
4754
|
+
sortOrder: number;
|
|
4755
|
+
};
|
|
4756
|
+
durationConfigId: string;
|
|
4757
|
+
durationSeconds: number;
|
|
4758
|
+
expireAt: Date;
|
|
4759
|
+
failureCode: string | null;
|
|
4760
|
+
failureReason: string | null;
|
|
4761
|
+
id: string;
|
|
4762
|
+
idempotencyKey: string;
|
|
4763
|
+
losePayoutMultiplierSnapshot: string;
|
|
4764
|
+
market: {
|
|
4765
|
+
id: string;
|
|
4766
|
+
name: string;
|
|
4767
|
+
symbolSnapshot: string;
|
|
4768
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4769
|
+
};
|
|
4770
|
+
marketId: string;
|
|
4771
|
+
marketNameSnapshot: string;
|
|
4772
|
+
openPrice: string;
|
|
4773
|
+
openPriceAt: Date;
|
|
4774
|
+
orderNo: string;
|
|
4775
|
+
payoutAmount: string | null;
|
|
4776
|
+
quoteAssetIdSnapshot: string;
|
|
4777
|
+
result: "cancelled" | "draw" | "expired" | "failed" | "lose" | "win" | null;
|
|
4778
|
+
settlementPrice: string | null;
|
|
4779
|
+
settlementPriceAt: Date | null;
|
|
4780
|
+
stakeAmount: string;
|
|
4781
|
+
stakeLedgerEntryId: string | null;
|
|
4782
|
+
status: "active" | "cancelled" | "created" | "expired" | "failed" | "settled";
|
|
4783
|
+
symbolSnapshot: string;
|
|
4784
|
+
updatedAt: Date;
|
|
4785
|
+
user: {
|
|
4786
|
+
id: string;
|
|
4787
|
+
name: string;
|
|
4788
|
+
email: string;
|
|
4789
|
+
username: string | null;
|
|
4790
|
+
displayUsername: string | null;
|
|
4791
|
+
};
|
|
4792
|
+
userId: string;
|
|
4793
|
+
winPayoutMultiplierSnapshot: string;
|
|
4794
|
+
}[];
|
|
4795
|
+
pagination: {
|
|
4796
|
+
pageSize: number;
|
|
4797
|
+
pageIndex: number;
|
|
4798
|
+
total: number;
|
|
4799
|
+
totalPages: number;
|
|
4800
|
+
hasNextPage: boolean;
|
|
4801
|
+
};
|
|
4802
|
+
};
|
|
4803
|
+
401: "Unauthorized";
|
|
4804
|
+
403: "Forbidden: Admins only";
|
|
4805
|
+
422: {
|
|
4806
|
+
type: 'validation';
|
|
4807
|
+
on: string;
|
|
4808
|
+
summary?: string;
|
|
4809
|
+
message?: string;
|
|
4810
|
+
found?: unknown;
|
|
4811
|
+
property?: string;
|
|
4812
|
+
expected?: string;
|
|
4813
|
+
};
|
|
4814
|
+
};
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
};
|
|
4818
|
+
} & {
|
|
4819
|
+
binary_option: {
|
|
4820
|
+
orders: {
|
|
4821
|
+
":orderId": {
|
|
4822
|
+
demo_control: {
|
|
4823
|
+
post: {
|
|
4824
|
+
body: {
|
|
4825
|
+
targetResult: "draw" | "lose" | "win";
|
|
4826
|
+
reason: string;
|
|
4827
|
+
targetPriceBps?: number | undefined;
|
|
4828
|
+
};
|
|
4829
|
+
params: {
|
|
4830
|
+
orderId: string;
|
|
4831
|
+
};
|
|
4832
|
+
query: {};
|
|
4833
|
+
headers: {};
|
|
4834
|
+
response: {
|
|
4835
|
+
200: {
|
|
4836
|
+
createdAt: Date;
|
|
4837
|
+
updatedAt: Date;
|
|
4838
|
+
id: string;
|
|
4839
|
+
orderId: string;
|
|
4840
|
+
operatorId: string;
|
|
4841
|
+
targetResult: "draw" | "lose" | "win";
|
|
4842
|
+
targetTrendMode: "down" | "flat" | "up";
|
|
4843
|
+
targetPrice: string;
|
|
4844
|
+
priceSource: string;
|
|
4845
|
+
effectiveAt: Date;
|
|
4846
|
+
appliedAssetPriceId: string | null;
|
|
4847
|
+
status: "applied" | "cancelled" | "failed" | "pending";
|
|
4848
|
+
reason: string;
|
|
4849
|
+
failureCode: string | null;
|
|
4850
|
+
failureReason: string | null;
|
|
4851
|
+
appliedAt: Date | null;
|
|
4852
|
+
};
|
|
4853
|
+
401: "Unauthorized";
|
|
4854
|
+
403: "Forbidden: Admins only";
|
|
4855
|
+
422: {
|
|
4856
|
+
type: 'validation';
|
|
4857
|
+
on: string;
|
|
4858
|
+
summary?: string;
|
|
4859
|
+
message?: string;
|
|
4860
|
+
found?: unknown;
|
|
4861
|
+
property?: string;
|
|
4862
|
+
expected?: string;
|
|
4863
|
+
};
|
|
4864
|
+
};
|
|
4865
|
+
};
|
|
4866
|
+
};
|
|
4867
|
+
};
|
|
4868
|
+
};
|
|
4869
|
+
};
|
|
4870
|
+
} & {
|
|
4871
|
+
binary_option: {
|
|
4872
|
+
settlements: {
|
|
4873
|
+
get: {
|
|
4874
|
+
body: {};
|
|
4875
|
+
params: {};
|
|
4876
|
+
query: {
|
|
4877
|
+
limit?: number | undefined;
|
|
4878
|
+
marketId?: string | undefined;
|
|
4879
|
+
offset?: number | undefined;
|
|
4880
|
+
pageIndex?: number | undefined;
|
|
4881
|
+
pageSize?: number | undefined;
|
|
4882
|
+
result?: "cancelled" | "draw" | "expired" | "failed" | "lose" | "win" | undefined;
|
|
4883
|
+
status?: "completed" | "failed" | "pending" | undefined;
|
|
4884
|
+
userId?: string | undefined;
|
|
4885
|
+
};
|
|
4886
|
+
headers: {};
|
|
4887
|
+
response: {
|
|
4888
|
+
200: {
|
|
4889
|
+
data: {
|
|
4890
|
+
createdAt: Date;
|
|
4891
|
+
directionSnapshot: "down" | "up";
|
|
4892
|
+
durationConfigIdSnapshot: string;
|
|
4893
|
+
durationConfigSnapshot: {
|
|
4894
|
+
createdAt: Date;
|
|
4895
|
+
updatedAt: Date;
|
|
4896
|
+
id: string;
|
|
4897
|
+
marketId: string;
|
|
4898
|
+
durationSeconds: number;
|
|
4899
|
+
winPayoutMultiplier: string;
|
|
4900
|
+
losePayoutMultiplier: string;
|
|
4901
|
+
isEnabled: boolean;
|
|
4902
|
+
sortOrder: number;
|
|
4903
|
+
};
|
|
4904
|
+
durationSecondsSnapshot: number;
|
|
4905
|
+
failureCode: string | null;
|
|
4906
|
+
failureReason: string | null;
|
|
4907
|
+
id: string;
|
|
4908
|
+
idempotencyKey: string;
|
|
4909
|
+
losePayoutMultiplierSnapshot: string;
|
|
4910
|
+
market: {
|
|
4911
|
+
id: string;
|
|
4912
|
+
name: string;
|
|
4913
|
+
symbolSnapshot: string;
|
|
4914
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
4915
|
+
};
|
|
4916
|
+
marketId: string;
|
|
4917
|
+
marketNameSnapshot: string;
|
|
4918
|
+
order: {
|
|
4919
|
+
createdAt: Date;
|
|
4920
|
+
updatedAt: Date;
|
|
4921
|
+
id: string;
|
|
4922
|
+
orderNo: string;
|
|
4923
|
+
idempotencyKey: string;
|
|
4924
|
+
userId: string;
|
|
4925
|
+
marketId: string;
|
|
4926
|
+
durationConfigId: string;
|
|
4927
|
+
marketNameSnapshot: string;
|
|
4928
|
+
symbolSnapshot: string;
|
|
4929
|
+
baseAssetIdSnapshot: string;
|
|
4930
|
+
quoteAssetIdSnapshot: string;
|
|
4931
|
+
winPayoutMultiplierSnapshot: string;
|
|
4932
|
+
losePayoutMultiplierSnapshot: string;
|
|
4933
|
+
direction: "down" | "up";
|
|
4934
|
+
durationSeconds: number;
|
|
4935
|
+
stakeAmount: string;
|
|
4936
|
+
openPrice: string;
|
|
4937
|
+
openPriceAt: Date;
|
|
4938
|
+
expireAt: Date;
|
|
4939
|
+
settlementPrice: string | null;
|
|
4940
|
+
settlementPriceAt: Date | null;
|
|
4941
|
+
result: "cancelled" | "draw" | "expired" | "failed" | "lose" | "win" | null;
|
|
4942
|
+
payoutAmount: string | null;
|
|
4943
|
+
stakeLedgerEntryId: string | null;
|
|
4944
|
+
status: "active" | "cancelled" | "created" | "expired" | "failed" | "settled";
|
|
4945
|
+
failureCode: string | null;
|
|
4946
|
+
failureReason: string | null;
|
|
4947
|
+
};
|
|
4948
|
+
orderId: string;
|
|
4949
|
+
payoutAmount: string;
|
|
4950
|
+
payoutLedgerEntryId: string | null;
|
|
4951
|
+
result: "cancelled" | "draw" | "expired" | "failed" | "lose" | "win";
|
|
4952
|
+
settledAt: Date | null;
|
|
4953
|
+
settlementPrice: string;
|
|
4954
|
+
settlementPriceAt: Date;
|
|
4955
|
+
stakeAmountSnapshot: string;
|
|
4956
|
+
status: "completed" | "failed" | "pending";
|
|
4957
|
+
symbolSnapshot: string;
|
|
4958
|
+
updatedAt: Date;
|
|
4959
|
+
user: {
|
|
4960
|
+
id: string;
|
|
4961
|
+
name: string;
|
|
4962
|
+
email: string;
|
|
4963
|
+
username: string | null;
|
|
4964
|
+
displayUsername: string | null;
|
|
4965
|
+
};
|
|
4966
|
+
userId: string;
|
|
4967
|
+
winPayoutMultiplierSnapshot: string;
|
|
4968
|
+
}[];
|
|
4969
|
+
pagination: {
|
|
4970
|
+
pageSize: number;
|
|
4971
|
+
pageIndex: number;
|
|
4972
|
+
total: number;
|
|
4973
|
+
totalPages: number;
|
|
4974
|
+
hasNextPage: boolean;
|
|
4975
|
+
};
|
|
4976
|
+
};
|
|
4977
|
+
401: "Unauthorized";
|
|
4978
|
+
403: "Forbidden: Admins only";
|
|
4979
|
+
422: {
|
|
4980
|
+
type: 'validation';
|
|
4981
|
+
on: string;
|
|
4982
|
+
summary?: string;
|
|
4983
|
+
message?: string;
|
|
4984
|
+
found?: unknown;
|
|
4985
|
+
property?: string;
|
|
4986
|
+
expected?: string;
|
|
4987
|
+
};
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
};
|
|
4991
|
+
};
|
|
4992
|
+
};
|
|
4046
4993
|
} & {
|
|
4047
4994
|
admin: {
|
|
4048
4995
|
checkIns: {};
|
|
@@ -5022,7 +5969,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5022
5969
|
query: {
|
|
5023
5970
|
accountId?: string | undefined;
|
|
5024
5971
|
assetId?: string | undefined;
|
|
5025
|
-
bizType?: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release" | undefined;
|
|
5972
|
+
bizType?: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release" | undefined;
|
|
5026
5973
|
changeDirection?: "decrease" | "increase" | undefined;
|
|
5027
5974
|
endDate?: Date | undefined;
|
|
5028
5975
|
limit?: number | undefined;
|
|
@@ -5031,7 +5978,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5031
5978
|
pageIndex?: number | undefined;
|
|
5032
5979
|
pageSize?: number | undefined;
|
|
5033
5980
|
referenceId?: string | undefined;
|
|
5034
|
-
referenceType?: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order" | undefined;
|
|
5981
|
+
referenceType?: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order" | undefined;
|
|
5035
5982
|
startDate?: Date | undefined;
|
|
5036
5983
|
userId?: string | undefined;
|
|
5037
5984
|
};
|
|
@@ -5050,7 +5997,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5050
5997
|
isActive: boolean;
|
|
5051
5998
|
};
|
|
5052
5999
|
assetId: string;
|
|
5053
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
6000
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "binary_option_payout_credit" | "binary_option_stake_deduct" | "binary_option_stake_freeze" | "binary_option_stake_unfreeze" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
5054
6001
|
createdAt: Date;
|
|
5055
6002
|
fromAccount?: {
|
|
5056
6003
|
asset: {
|
|
@@ -5102,7 +6049,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5102
6049
|
} | undefined;
|
|
5103
6050
|
operatorId: string | null;
|
|
5104
6051
|
referenceId: string;
|
|
5105
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
6052
|
+
referenceType: "asset_convert_order" | "binary_option_order" | "binary_option_settlement" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
5106
6053
|
toAccount?: {
|
|
5107
6054
|
asset: {
|
|
5108
6055
|
id: string;
|
|
@@ -5796,6 +6743,81 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5796
6743
|
};
|
|
5797
6744
|
};
|
|
5798
6745
|
};
|
|
6746
|
+
} & {
|
|
6747
|
+
admin: {
|
|
6748
|
+
market_symbol: {};
|
|
6749
|
+
} & {
|
|
6750
|
+
market_symbol: {
|
|
6751
|
+
symbols: {
|
|
6752
|
+
get: {
|
|
6753
|
+
body: {};
|
|
6754
|
+
params: {};
|
|
6755
|
+
query: {
|
|
6756
|
+
chartEnabled?: boolean | undefined;
|
|
6757
|
+
limit?: number | undefined;
|
|
6758
|
+
offset?: number | undefined;
|
|
6759
|
+
pageIndex?: number | undefined;
|
|
6760
|
+
pageSize?: number | undefined;
|
|
6761
|
+
settlementEnabled?: boolean | undefined;
|
|
6762
|
+
sourceType?: "manual" | "market_pricing" | "trade_market" | undefined;
|
|
6763
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
6764
|
+
symbol?: string | undefined;
|
|
6765
|
+
};
|
|
6766
|
+
headers: {};
|
|
6767
|
+
response: {
|
|
6768
|
+
200: {
|
|
6769
|
+
data: {
|
|
6770
|
+
baseAsset: {
|
|
6771
|
+
id: string;
|
|
6772
|
+
code: string;
|
|
6773
|
+
name: string;
|
|
6774
|
+
symbol: string | null;
|
|
6775
|
+
precision: number;
|
|
6776
|
+
isActive: boolean;
|
|
6777
|
+
};
|
|
6778
|
+
baseAssetId: string;
|
|
6779
|
+
chartEnabled: boolean;
|
|
6780
|
+
createdAt: Date;
|
|
6781
|
+
id: string;
|
|
6782
|
+
quoteAsset: {
|
|
6783
|
+
id: string;
|
|
6784
|
+
code: string;
|
|
6785
|
+
name: string;
|
|
6786
|
+
symbol: string | null;
|
|
6787
|
+
precision: number;
|
|
6788
|
+
isActive: boolean;
|
|
6789
|
+
};
|
|
6790
|
+
quoteAssetId: string;
|
|
6791
|
+
settlementEnabled: boolean;
|
|
6792
|
+
sourceType: "manual" | "market_pricing" | "trade_market";
|
|
6793
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
6794
|
+
symbol: string;
|
|
6795
|
+
updatedAt: Date;
|
|
6796
|
+
}[];
|
|
6797
|
+
pagination: {
|
|
6798
|
+
pageSize: number;
|
|
6799
|
+
pageIndex: number;
|
|
6800
|
+
total: number;
|
|
6801
|
+
totalPages: number;
|
|
6802
|
+
hasNextPage: boolean;
|
|
6803
|
+
};
|
|
6804
|
+
};
|
|
6805
|
+
401: "Unauthorized";
|
|
6806
|
+
403: "Forbidden: Admins only";
|
|
6807
|
+
422: {
|
|
6808
|
+
type: 'validation';
|
|
6809
|
+
on: string;
|
|
6810
|
+
summary?: string;
|
|
6811
|
+
message?: string;
|
|
6812
|
+
found?: unknown;
|
|
6813
|
+
property?: string;
|
|
6814
|
+
expected?: string;
|
|
6815
|
+
};
|
|
6816
|
+
};
|
|
6817
|
+
};
|
|
6818
|
+
};
|
|
6819
|
+
};
|
|
6820
|
+
};
|
|
5799
6821
|
} & {
|
|
5800
6822
|
admin: {
|
|
5801
6823
|
market_data: {};
|
|
@@ -6656,7 +7678,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6656
7678
|
level1Count: number;
|
|
6657
7679
|
level2Count: number;
|
|
6658
7680
|
level3Count: number;
|
|
6659
|
-
|
|
7681
|
+
primaryReferralCode: string;
|
|
7682
|
+
referralCodes: string[];
|
|
6660
7683
|
referredBy?: string | undefined;
|
|
6661
7684
|
totalCount: number;
|
|
6662
7685
|
userId: string;
|
|
@@ -6975,7 +7998,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6975
7998
|
city: string | null;
|
|
6976
7999
|
language: string | null;
|
|
6977
8000
|
timezone: string | null;
|
|
6978
|
-
referralCode: string | null;
|
|
6979
8001
|
referredBy: string | null;
|
|
6980
8002
|
};
|
|
6981
8003
|
level1Count: number;
|
|
@@ -7047,7 +8069,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7047
8069
|
city: string | null;
|
|
7048
8070
|
language: string | null;
|
|
7049
8071
|
timezone: string | null;
|
|
7050
|
-
referralCode: string | null;
|
|
7051
8072
|
referredBy: string | null;
|
|
7052
8073
|
};
|
|
7053
8074
|
createdAt: Date;
|
|
@@ -7084,7 +8105,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7084
8105
|
city: string | null;
|
|
7085
8106
|
language: string | null;
|
|
7086
8107
|
timezone: string | null;
|
|
7087
|
-
referralCode: string | null;
|
|
7088
8108
|
referredBy: string | null;
|
|
7089
8109
|
};
|
|
7090
8110
|
role: string | null;
|
|
@@ -11030,7 +12050,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11030
12050
|
profile?: {
|
|
11031
12051
|
uid: string;
|
|
11032
12052
|
country: string | null;
|
|
11033
|
-
referralCode
|
|
12053
|
+
referralCode?: string | undefined;
|
|
11034
12054
|
} | undefined;
|
|
11035
12055
|
};
|
|
11036
12056
|
userId: string;
|
|
@@ -11115,7 +12135,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11115
12135
|
profile?: {
|
|
11116
12136
|
uid: string;
|
|
11117
12137
|
country: string | null;
|
|
11118
|
-
referralCode
|
|
12138
|
+
referralCode?: string | undefined;
|
|
11119
12139
|
} | undefined;
|
|
11120
12140
|
};
|
|
11121
12141
|
userId: string;
|
|
@@ -11189,7 +12209,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11189
12209
|
profile?: {
|
|
11190
12210
|
uid: string;
|
|
11191
12211
|
country: string | null;
|
|
11192
|
-
referralCode
|
|
12212
|
+
referralCode?: string | undefined;
|
|
11193
12213
|
} | undefined;
|
|
11194
12214
|
};
|
|
11195
12215
|
userId: string;
|
|
@@ -11254,7 +12274,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11254
12274
|
profile?: {
|
|
11255
12275
|
uid: string;
|
|
11256
12276
|
country: string | null;
|
|
11257
|
-
referralCode
|
|
12277
|
+
referralCode?: string | undefined;
|
|
11258
12278
|
} | undefined;
|
|
11259
12279
|
};
|
|
11260
12280
|
userId: string;
|
|
@@ -11324,7 +12344,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11324
12344
|
profile?: {
|
|
11325
12345
|
uid: string;
|
|
11326
12346
|
country: string | null;
|
|
11327
|
-
referralCode
|
|
12347
|
+
referralCode?: string | undefined;
|
|
11328
12348
|
} | undefined;
|
|
11329
12349
|
};
|
|
11330
12350
|
userId: string;
|
|
@@ -11394,7 +12414,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11394
12414
|
profile?: {
|
|
11395
12415
|
uid: string;
|
|
11396
12416
|
country: string | null;
|
|
11397
|
-
referralCode
|
|
12417
|
+
referralCode?: string | undefined;
|
|
11398
12418
|
} | undefined;
|
|
11399
12419
|
};
|
|
11400
12420
|
userId: string;
|
|
@@ -11789,7 +12809,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11789
12809
|
city: string | null;
|
|
11790
12810
|
language: string | null;
|
|
11791
12811
|
timezone: string | null;
|
|
11792
|
-
referralCode: string | null;
|
|
11793
12812
|
referredBy: string | null;
|
|
11794
12813
|
} | undefined;
|
|
11795
12814
|
username: string | null;
|
|
@@ -11875,7 +12894,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11875
12894
|
city: string | null;
|
|
11876
12895
|
language: string | null;
|
|
11877
12896
|
timezone: string | null;
|
|
11878
|
-
referralCode: string | null;
|
|
11879
12897
|
referredBy: string | null;
|
|
11880
12898
|
} | undefined;
|
|
11881
12899
|
username: string | null;
|
|
@@ -11978,7 +12996,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
11978
12996
|
city: string | null;
|
|
11979
12997
|
language: string | null;
|
|
11980
12998
|
timezone: string | null;
|
|
11981
|
-
referralCode: string | null;
|
|
11982
12999
|
referredBy: string | null;
|
|
11983
13000
|
} | undefined;
|
|
11984
13001
|
username: string | null;
|