@totalis/hip4-client 0.106.0 → 0.108.0
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/CHANGELOG.md +21 -0
- package/dist/generated/account-read.d.ts +15 -0
- package/dist/generated/client.d.ts +2 -1
- package/dist/generated/errors.d.ts +1 -0
- package/dist/generated/errors.js +8 -0
- package/dist/generated/openapi.d.ts +69 -0
- package/dist/generated/version.d.ts +3 -3
- package/dist/generated/version.js +3 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
`@totalis/hip4-client` follows [semantic versioning](https://semver.org).
|
|
4
4
|
The contract version the generated types come from is `sdkVersion` in `./version`.
|
|
5
5
|
|
|
6
|
+
## 0.108.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- `getGenesis` (`GET /v1/genesis`) reads the Genesis program's public terms
|
|
11
|
+
without signing in: `signup_before`, `deadline` and `required_stake` (USDC
|
|
12
|
+
base units). The answer may be cached for 60 seconds.
|
|
13
|
+
|
|
14
|
+
## 0.107.0
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Activity lists take `order` (contract `242.0.0-activity-occurrence-order`).
|
|
19
|
+
`listAccountActivity` and `listMakerActivity` keep the publication order by
|
|
20
|
+
default (`PUBLISHED`); `OCCURRED` lists the newest occurrence first, an
|
|
21
|
+
activity of unknown occurrence at its recording time, so a feed can page
|
|
22
|
+
newest first without reading by time window. Contract
|
|
23
|
+
`243.0.0-activity-occurrence-groups` lists what reads as one together at
|
|
24
|
+
its latest occurrence: an order's fills, an outcome side's settlement
|
|
25
|
+
credits, a ticket's settlement and claims.
|
|
26
|
+
|
|
6
27
|
## 0.106.0
|
|
7
28
|
|
|
8
29
|
### Added
|
|
@@ -1117,6 +1117,11 @@ export type components = {
|
|
|
1117
1117
|
* @example DEPOSIT
|
|
1118
1118
|
*/
|
|
1119
1119
|
readonly ActivityKindQueryOptional: components["schemas"]["ActivityKind"];
|
|
1120
|
+
/**
|
|
1121
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1122
|
+
* @example OCCURRED
|
|
1123
|
+
*/
|
|
1124
|
+
readonly ActivityOrderQueryOptional: "PUBLISHED" | "OCCURRED";
|
|
1120
1125
|
/**
|
|
1121
1126
|
* @description Return only activities with this status. A status-filtered page is a display view, never a balance or P&L basis.
|
|
1122
1127
|
* @example COMMITTED
|
|
@@ -1412,6 +1417,11 @@ export interface operations {
|
|
|
1412
1417
|
* @example HYPEREVM
|
|
1413
1418
|
*/
|
|
1414
1419
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
1420
|
+
/**
|
|
1421
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1422
|
+
* @example OCCURRED
|
|
1423
|
+
*/
|
|
1424
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
1415
1425
|
};
|
|
1416
1426
|
readonly header?: {
|
|
1417
1427
|
/** @description Required for browser sessions; API keys do not require an Origin. */
|
|
@@ -1561,6 +1571,11 @@ export interface operations {
|
|
|
1561
1571
|
* @example HYPEREVM
|
|
1562
1572
|
*/
|
|
1563
1573
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
1574
|
+
/**
|
|
1575
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1576
|
+
* @example OCCURRED
|
|
1577
|
+
*/
|
|
1578
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
1564
1579
|
};
|
|
1565
1580
|
readonly header?: {
|
|
1566
1581
|
/** @description Required for browser sessions; API keys do not require an Origin. */
|
|
@@ -71,6 +71,7 @@ export type paths = {
|
|
|
71
71
|
readonly "/v1/me/combo-copies": Pick<SharedPaths["/v1/me/combo-copies"], "parameters" | "get">;
|
|
72
72
|
readonly "/v1/me/notifications": Pick<SharedPaths["/v1/me/notifications"], "parameters" | "get">;
|
|
73
73
|
readonly "/v1/me/notifications/read": Pick<SharedPaths["/v1/me/notifications/read"], "parameters" | "post">;
|
|
74
|
+
readonly "/v1/genesis": Pick<SharedPaths["/v1/genesis"], "parameters" | "get">;
|
|
74
75
|
readonly "/v1/me/genesis": Pick<SharedPaths["/v1/me/genesis"], "parameters" | "get">;
|
|
75
76
|
readonly "/v1/me/referral-bonus": Pick<SharedPaths["/v1/me/referral-bonus"], "parameters" | "get">;
|
|
76
77
|
readonly "/v1/me/copy-summary": Pick<SharedPaths["/v1/me/copy-summary"], "parameters" | "get">;
|
|
@@ -136,4 +137,4 @@ export type paths = {
|
|
|
136
137
|
readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
|
|
137
138
|
readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
|
|
138
139
|
};
|
|
139
|
-
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "approveWallet" | "bindEmbeddedWallet" | "cancelRfq" | "confirmComboCopyAgent" | "confirmCoreCopyAgent" | "createCashout" | "createComment" | "createCoreExit" | "createDeposit" | "createGoldenRfq" | "createRfq" | "createRunOffClaim" | "createWalletChallenge" | "createWalletSession" | "createWithdrawal" | "deleteComment" | "editComment" | "endWalletSession" | "followTrader" | "getAcceptance" | "getAccountActivity" | "getAccountPnl" | "getAccountPosition" | "getAccountValue" | "getBalances" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getGolden" | "getGoldenMarkets" | "getGoldenOffer" | "getGoldenSuggestions" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getMyGenesis" | "getMyReferralBonus" | "getOperation" | "getOutcomeMetadata" | "getOwnMaker" | "getPartnerAccountValue" | "getPartnerReport" | "getPerpMarks" | "getPicture" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSocialLeaderboard" | "getSocialPerson" | "getSocialPosition" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollowingFeed" | "listFollowingPositions" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listMyNotifications" | "listOperations" | "listPartnerFills" | "listPartnerWebhookEvents" | "listQuotes" | "listSocialActivity" | "listSocialFeed" | "listSocialPositions" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "recordGoldenTelegramClick" | "refreshPicture" | "removeUploadedPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "setXPictureShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unlockGolden" | "unreactComment" | "uploadPicture">;
|
|
140
|
+
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "approveWallet" | "bindEmbeddedWallet" | "cancelRfq" | "confirmComboCopyAgent" | "confirmCoreCopyAgent" | "createCashout" | "createComment" | "createCoreExit" | "createDeposit" | "createGoldenRfq" | "createRfq" | "createRunOffClaim" | "createWalletChallenge" | "createWalletSession" | "createWithdrawal" | "deleteComment" | "editComment" | "endWalletSession" | "followTrader" | "getAcceptance" | "getAccountActivity" | "getAccountPnl" | "getAccountPosition" | "getAccountValue" | "getBalances" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getGenesis" | "getGolden" | "getGoldenMarkets" | "getGoldenOffer" | "getGoldenSuggestions" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getMyGenesis" | "getMyReferralBonus" | "getOperation" | "getOutcomeMetadata" | "getOwnMaker" | "getPartnerAccountValue" | "getPartnerReport" | "getPerpMarks" | "getPicture" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSocialLeaderboard" | "getSocialPerson" | "getSocialPosition" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollowingFeed" | "listFollowingPositions" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listMyNotifications" | "listOperations" | "listPartnerFills" | "listPartnerWebhookEvents" | "listQuotes" | "listSocialActivity" | "listSocialFeed" | "listSocialPositions" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "recordGoldenTelegramClick" | "refreshPicture" | "removeUploadedPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "setXPictureShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unlockGolden" | "unreactComment" | "uploadPicture">;
|
|
@@ -470,6 +470,7 @@ export declare const operationErrors: {
|
|
|
470
470
|
readonly getCopySummary: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE"];
|
|
471
471
|
readonly getCoreExit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDENTITY_NOT_FOUND"];
|
|
472
472
|
readonly getDeployment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY"];
|
|
473
|
+
readonly getGenesis: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "CONTRACT_UNAVAILABLE"];
|
|
473
474
|
readonly getGolden: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY"];
|
|
474
475
|
readonly getGoldenMarkets: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "BROWSE_UNAVAILABLE"];
|
|
475
476
|
readonly getGoldenOffer: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "FINANCIAL_ACTIONS_DISABLED"];
|
package/dist/generated/errors.js
CHANGED
|
@@ -1026,6 +1026,14 @@ export const operationErrors = {
|
|
|
1026
1026
|
"RATE_LIMITED",
|
|
1027
1027
|
"INVALID_QUERY"
|
|
1028
1028
|
],
|
|
1029
|
+
"getGenesis": [
|
|
1030
|
+
"UNAUTHENTICATED",
|
|
1031
|
+
"FORBIDDEN",
|
|
1032
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1033
|
+
"RATE_LIMITED",
|
|
1034
|
+
"INVALID_QUERY",
|
|
1035
|
+
"CONTRACT_UNAVAILABLE"
|
|
1036
|
+
],
|
|
1029
1037
|
"getGolden": [
|
|
1030
1038
|
"UNAUTHENTICATED",
|
|
1031
1039
|
"FORBIDDEN",
|
|
@@ -1467,6 +1467,26 @@ export type paths = {
|
|
|
1467
1467
|
readonly patch?: never;
|
|
1468
1468
|
readonly trace?: never;
|
|
1469
1469
|
};
|
|
1470
|
+
readonly "/v1/genesis": {
|
|
1471
|
+
readonly parameters: {
|
|
1472
|
+
readonly query?: never;
|
|
1473
|
+
readonly header?: never;
|
|
1474
|
+
readonly path?: never;
|
|
1475
|
+
readonly cookie?: never;
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* Get Genesis Account terms
|
|
1479
|
+
* @description The public Genesis Account program terms, without account progress or side effects. Anyone can read them without signing in, from any origin; a supplied credential must still authenticate. Uses the same terms as GET /v1/me/genesis. Clients hide signup promotions at signup_before, even while this response is cached; terms remain readable after signup closes. Answers CONTRACT_UNAVAILABLE where Genesis Accounts are off.
|
|
1480
|
+
*/
|
|
1481
|
+
readonly get: operations["getGenesis"];
|
|
1482
|
+
readonly put?: never;
|
|
1483
|
+
readonly post?: never;
|
|
1484
|
+
readonly delete?: never;
|
|
1485
|
+
readonly options?: never;
|
|
1486
|
+
readonly head?: never;
|
|
1487
|
+
readonly patch?: never;
|
|
1488
|
+
readonly trace?: never;
|
|
1489
|
+
};
|
|
1470
1490
|
readonly "/v1/me/genesis": {
|
|
1471
1491
|
readonly parameters: {
|
|
1472
1492
|
readonly query?: never;
|
|
@@ -7687,6 +7707,11 @@ export type components = {
|
|
|
7687
7707
|
* @example HYPEREVM
|
|
7688
7708
|
*/
|
|
7689
7709
|
readonly ActivityVenueQueryOptional: "HYPEREVM" | "HYPERCORE" | "VENUE";
|
|
7710
|
+
/**
|
|
7711
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
7712
|
+
* @example OCCURRED
|
|
7713
|
+
*/
|
|
7714
|
+
readonly ActivityOrderQueryOptional: "PUBLISHED" | "OCCURRED";
|
|
7690
7715
|
/**
|
|
7691
7716
|
* @description Activity ID from a list item's activity_id (64 lowercase hex characters).
|
|
7692
7717
|
* @example 9d4c2b1a0f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e
|
|
@@ -8226,6 +8251,11 @@ export interface operations {
|
|
|
8226
8251
|
* @example HYPEREVM
|
|
8227
8252
|
*/
|
|
8228
8253
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
8254
|
+
/**
|
|
8255
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
8256
|
+
* @example OCCURRED
|
|
8257
|
+
*/
|
|
8258
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
8229
8259
|
};
|
|
8230
8260
|
readonly header?: {
|
|
8231
8261
|
/**
|
|
@@ -8343,6 +8373,11 @@ export interface operations {
|
|
|
8343
8373
|
* @example HYPEREVM
|
|
8344
8374
|
*/
|
|
8345
8375
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
8376
|
+
/**
|
|
8377
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
8378
|
+
* @example OCCURRED
|
|
8379
|
+
*/
|
|
8380
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
8346
8381
|
};
|
|
8347
8382
|
readonly header?: {
|
|
8348
8383
|
/**
|
|
@@ -10949,6 +10984,40 @@ export interface operations {
|
|
|
10949
10984
|
readonly 503: components["responses"]["Unavailable"];
|
|
10950
10985
|
};
|
|
10951
10986
|
};
|
|
10987
|
+
readonly getGenesis: {
|
|
10988
|
+
readonly parameters: {
|
|
10989
|
+
readonly query?: never;
|
|
10990
|
+
readonly header?: never;
|
|
10991
|
+
readonly path?: never;
|
|
10992
|
+
readonly cookie?: never;
|
|
10993
|
+
};
|
|
10994
|
+
readonly requestBody?: never;
|
|
10995
|
+
readonly responses: {
|
|
10996
|
+
/** @description Genesis program terms */
|
|
10997
|
+
readonly 200: {
|
|
10998
|
+
headers: {
|
|
10999
|
+
/** @description Public terms may be cached for 60 seconds. */
|
|
11000
|
+
readonly "Cache-Control"?: "public, max-age=60";
|
|
11001
|
+
readonly [name: string]: unknown;
|
|
11002
|
+
};
|
|
11003
|
+
content: {
|
|
11004
|
+
readonly "application/json": {
|
|
11005
|
+
/** @description An account created at or after this never earns Genesis. */
|
|
11006
|
+
readonly signup_before: components["schemas"]["$defs-Timestamp"];
|
|
11007
|
+
/** @description Only Combos accepted in a block before this count, and X must first be bound before it. */
|
|
11008
|
+
readonly deadline: components["schemas"]["$defs-Timestamp"];
|
|
11009
|
+
/** @description An account must stake more than this of its own money on Combos, in USDC base units (10^-6). */
|
|
11010
|
+
readonly required_stake: components["schemas"]["$defs-Amount"];
|
|
11011
|
+
};
|
|
11012
|
+
};
|
|
11013
|
+
};
|
|
11014
|
+
readonly 400: components["responses"]["Error"];
|
|
11015
|
+
readonly 401: components["responses"]["Error"];
|
|
11016
|
+
readonly 403: components["responses"]["Error"];
|
|
11017
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
11018
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
11019
|
+
};
|
|
11020
|
+
};
|
|
10952
11021
|
readonly getMyGenesis: {
|
|
10953
11022
|
readonly parameters: {
|
|
10954
11023
|
readonly query?: never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "243.0.0-activity-occurrence-groups";
|
|
2
|
+
export declare const openapiSha256 = "b9a7c2bc642eab857265692ae7ae41a120db0e30fa174a44692c8336359ccb52";
|
|
3
3
|
export declare const realtimeSha256 = "bea4893352a7110f2659560f3338d9fb5eb441269652a989a7aa9d42a5394554";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "e6cd5a75429d074f23bd7f6ffd370fa59d0e3f7dbd6aef6433e5ba0d21b5baeb";
|
|
@@ -19,7 +19,7 @@ export declare const jsonSchemaSha256: {
|
|
|
19
19
|
readonly "social.schema.json": "de0ddadf418a41d2c2cbe714afb5c83947cd34e05b8082f0ba016e18e0b3cd51";
|
|
20
20
|
};
|
|
21
21
|
export declare const operations: {
|
|
22
|
-
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "approveWallet", "bindEmbeddedWallet", "cancelRfq", "confirmComboCopyAgent", "confirmCoreCopyAgent", "createCashout", "createComment", "createCoreExit", "createDeposit", "createGoldenRfq", "createRfq", "createRunOffClaim", "createWalletChallenge", "createWalletSession", "createWithdrawal", "deleteComment", "editComment", "endWalletSession", "followTrader", "getAcceptance", "getAccountActivity", "getAccountPnl", "getAccountPosition", "getAccountValue", "getBalances", "getCopyAgents", "getCopyBudget", "getCopySettings", "getCopySummary", "getCoreExit", "getDeployment", "getGolden", "getGoldenMarkets", "getGoldenOffer", "getGoldenSuggestions", "getHypercoreBalance", "getHypercorePortfolio", "getHypercoreSettlementCredits", "getIdentity", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketDataConfig", "getMarketDefinitions", "getMarketDisplay", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getMyGenesis", "getMyReferralBonus", "getOperation", "getOutcomeMetadata", "getOwnMaker", "getPartnerAccountValue", "getPartnerReport", "getPerpMarks", "getPicture", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSocialLeaderboard", "getSocialPerson", "getSocialPosition", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWalletApproval", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollowingFeed", "listFollowingPositions", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listMyNotifications", "listOperations", "listPartnerFills", "listPartnerWebhookEvents", "listQuotes", "listSocialActivity", "listSocialFeed", "listSocialPositions", "listTraderPositions", "listTraderTrades", "markMyNotificationsRead", "placeGolden", "reactComment", "recordAcquisition", "recordGoldenTelegramClick", "refreshPicture", "removeUploadedPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "setXHandleShown", "setXPictureShown", "signGoldenGift", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unlockGolden", "unreactComment", "uploadPicture"];
|
|
22
|
+
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "approveWallet", "bindEmbeddedWallet", "cancelRfq", "confirmComboCopyAgent", "confirmCoreCopyAgent", "createCashout", "createComment", "createCoreExit", "createDeposit", "createGoldenRfq", "createRfq", "createRunOffClaim", "createWalletChallenge", "createWalletSession", "createWithdrawal", "deleteComment", "editComment", "endWalletSession", "followTrader", "getAcceptance", "getAccountActivity", "getAccountPnl", "getAccountPosition", "getAccountValue", "getBalances", "getCopyAgents", "getCopyBudget", "getCopySettings", "getCopySummary", "getCoreExit", "getDeployment", "getGenesis", "getGolden", "getGoldenMarkets", "getGoldenOffer", "getGoldenSuggestions", "getHypercoreBalance", "getHypercorePortfolio", "getHypercoreSettlementCredits", "getIdentity", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketDataConfig", "getMarketDefinitions", "getMarketDisplay", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getMyGenesis", "getMyReferralBonus", "getOperation", "getOutcomeMetadata", "getOwnMaker", "getPartnerAccountValue", "getPartnerReport", "getPerpMarks", "getPicture", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSocialLeaderboard", "getSocialPerson", "getSocialPosition", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWalletApproval", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollowingFeed", "listFollowingPositions", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listMyNotifications", "listOperations", "listPartnerFills", "listPartnerWebhookEvents", "listQuotes", "listSocialActivity", "listSocialFeed", "listSocialPositions", "listTraderPositions", "listTraderTrades", "markMyNotificationsRead", "placeGolden", "reactComment", "recordAcquisition", "recordGoldenTelegramClick", "refreshPicture", "removeUploadedPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "setXHandleShown", "setXPictureShown", "signGoldenGift", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unlockGolden", "unreactComment", "uploadPicture"];
|
|
23
23
|
readonly maker: readonly ["cancelQuote", "confirmQuote", "createCollateralReduction", "createQuote", "getAccountActivity", "getAccountPosition", "getCollateralReduction", "getDeployment", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerTelemetryPublication", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketDisplay", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getOperation", "getQuestion", "getQuestionRecurringRound", "getRfq", "getSeries", "getTaxonomy", "listAccountActivity", "listAccountPositions", "listDiscovery", "listMakerAcceptances", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listOperations", "listRfqs", "publishMakerTelemetry", "releaseQuoteLease", "renewQuoteLease", "searchCatalog", "stream", "submitMakerSelfFundedTransaction"];
|
|
24
24
|
readonly operator: readonly ["live", "ready"];
|
|
25
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by scripts/generate.mjs; do not edit.
|
|
2
|
-
export const sdkVersion = "
|
|
3
|
-
export const openapiSha256 = "
|
|
2
|
+
export const sdkVersion = "243.0.0-activity-occurrence-groups";
|
|
3
|
+
export const openapiSha256 = "b9a7c2bc642eab857265692ae7ae41a120db0e30fa174a44692c8336359ccb52";
|
|
4
4
|
export const realtimeSha256 = "bea4893352a7110f2659560f3338d9fb5eb441269652a989a7aa9d42a5394554";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "e6cd5a75429d074f23bd7f6ffd370fa59d0e3f7dbd6aef6433e5ba0d21b5baeb",
|
|
@@ -57,6 +57,7 @@ export const operations = {
|
|
|
57
57
|
"getCopySummary",
|
|
58
58
|
"getCoreExit",
|
|
59
59
|
"getDeployment",
|
|
60
|
+
"getGenesis",
|
|
60
61
|
"getGolden",
|
|
61
62
|
"getGoldenMarkets",
|
|
62
63
|
"getGoldenOffer",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"description": "Totalis HIP-4 SDK: typed HTTP clients, signer-agnostic typed data, a retrying request layer, pagination, a realtime stream and taker/maker flows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"generate": "node scripts/generate.mjs",
|
|
65
65
|
"check": "node scripts/generate.mjs --check && node scripts/compatibility.mjs && tsc --noEmit -p tsconfig.test.json",
|
|
66
66
|
"build": "npm run generate && tsc",
|
|
67
|
-
"test": "npm run build && node --test test/*.test.mjs && node --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
68
|
-
"test:react-native": "npm run build && node --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
67
|
+
"test": "node scripts/check-test-clock.mjs && npm run build && node --import ./test/setup.mjs --test test/*.test.mjs && node --import ./test/setup.mjs --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
68
|
+
"test:react-native": "npm run build && node --import ./test/setup.mjs --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
69
69
|
"test:staging-read": "npm run build && node test/staging-read-smoke.mjs",
|
|
70
70
|
"test:production-read": "npm run build && node test/staging-read-smoke.mjs production",
|
|
71
71
|
"test:staging-smoke": "npm run build && node test/staging-smoke.mjs",
|