@totalis/hip4-client 0.90.0 → 0.91.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 +16 -0
- package/dist/generated/browse.d.ts +1 -1
- package/dist/generated/client.d.ts +3 -1
- package/dist/generated/errors.d.ts +2 -0
- package/dist/generated/errors.js +21 -0
- package/dist/generated/openapi.d.ts +129 -1
- package/dist/generated/version.d.ts +3 -3
- package/dist/generated/version.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.91.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- An in-app inbox (contract 217). `listMyNotifications`
|
|
11
|
+
(`GET /v1/me/notifications`) returns the account's 50 newest
|
|
12
|
+
notifications, newest first, and how many are unread. The only kind is
|
|
13
|
+
`FEATURE_UNLOCKED`, whose `subject` names the feature: `REFERRALS`, once the
|
|
14
|
+
account has traded $5 and its own invite link admits people. A client shows
|
|
15
|
+
only kinds and subjects it knows. `markMyNotificationsRead`
|
|
16
|
+
(`POST /v1/me/notifications/read`, with an Idempotency-Key) marks 1 to 50
|
|
17
|
+
`ids`, or `all`, read. Additive.
|
|
18
|
+
- New Sports subcategory filters: Copa del Rey (`copa_del_rey`), DFB-Pokal
|
|
19
|
+
(`dfb_pokal`) and Süper Lig (`super_lig`). Contract
|
|
20
|
+
`218.0.0-more-leagues`. Additive.
|
|
21
|
+
|
|
6
22
|
## 0.90.0
|
|
7
23
|
|
|
8
24
|
### Added
|
|
@@ -237,7 +237,7 @@ export type components = {
|
|
|
237
237
|
readonly CategorySlug: "crypto" | "economics" | "entertainment" | "esports" | "finance" | "politics" | "sports" | "tech" | "weather";
|
|
238
238
|
readonly Subcategory: string | null;
|
|
239
239
|
/** @enum {string} */
|
|
240
|
-
readonly schema: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
240
|
+
readonly schema: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "copa_del_rey" | "dfb_pokal" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "super_lig" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
241
241
|
readonly Slug: components["schemas"]["Subcategory"] & string & components["schemas"]["schema"];
|
|
242
242
|
/** @enum {string} */
|
|
243
243
|
readonly Frequency: "5m" | "15m" | "hourly" | "daily" | "weekly" | "monthly";
|
|
@@ -53,6 +53,8 @@ export type paths = {
|
|
|
53
53
|
readonly "/v1/me/copy-settings": Pick<SharedPaths["/v1/me/copy-settings"], "parameters" | "get" | "put">;
|
|
54
54
|
readonly "/v1/me/copy-trades": Pick<SharedPaths["/v1/me/copy-trades"], "parameters" | "get">;
|
|
55
55
|
readonly "/v1/me/combo-copies": Pick<SharedPaths["/v1/me/combo-copies"], "parameters" | "get">;
|
|
56
|
+
readonly "/v1/me/notifications": Pick<SharedPaths["/v1/me/notifications"], "parameters" | "get">;
|
|
57
|
+
readonly "/v1/me/notifications/read": Pick<SharedPaths["/v1/me/notifications/read"], "parameters" | "post">;
|
|
56
58
|
readonly "/v1/me/copy-summary": Pick<SharedPaths["/v1/me/copy-summary"], "parameters" | "get">;
|
|
57
59
|
readonly "/v1/me/copy-fills": Pick<SharedPaths["/v1/me/copy-fills"], "parameters" | "get">;
|
|
58
60
|
readonly "/v1/me/copy-agents": Pick<SharedPaths["/v1/me/copy-agents"], "parameters" | "get">;
|
|
@@ -113,4 +115,4 @@ export type paths = {
|
|
|
113
115
|
readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
|
|
114
116
|
readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
|
|
115
117
|
};
|
|
116
|
-
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" | "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" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getOperation" | "getOwnMaker" | "getPartnerReport" | "getPerpMarks" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listQuotes" | "listTraderPositions" | "listTraderTrades" | "placeGolden" | "reactComment" | "recordAcquisition" | "refreshPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
118
|
+
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" | "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" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getOperation" | "getOwnMaker" | "getPartnerReport" | "getPerpMarks" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listMyNotifications" | "listOperations" | "listQuotes" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "refreshPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
@@ -488,6 +488,7 @@ export declare const operationErrors: {
|
|
|
488
488
|
readonly listMakerPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "CURSOR_EXPIRED", "IDENTITY_NOT_FOUND"];
|
|
489
489
|
readonly listMakerQuoteHistory: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "CURSOR_EXPIRED", "IDENTITY_NOT_FOUND"];
|
|
490
490
|
readonly listMarkets: readonly ["INVALID_QUERY", "INVALID_CURSOR", "MARKET_DATA_UNAVAILABLE"];
|
|
491
|
+
readonly listMyNotifications: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE"];
|
|
491
492
|
readonly listOperations: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "INVALID_CURSOR", "IDENTITY_NOT_FOUND"];
|
|
492
493
|
readonly listOperatorApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND"];
|
|
493
494
|
readonly listPersonalApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND"];
|
|
@@ -496,6 +497,7 @@ export declare const operationErrors: {
|
|
|
496
497
|
readonly listTraderPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
497
498
|
readonly listTraderTrades: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
498
499
|
readonly live: readonly [];
|
|
500
|
+
readonly markMyNotificationsRead: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "CONTRACT_UNAVAILABLE"];
|
|
499
501
|
readonly placeGolden: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "GOLDEN_LEG_COUNT", "GOLDEN_LEG_NOT_ELIGIBLE", "GOLDEN_QUOTE_NOT_HOUSE", "GOLDEN_OFFER_BELOW_FLOOR", "QUOTE_EXPIRED", "QUOTE_REPLACED", "GOLDEN_PROMO_BUSY", "GOLDEN_PROMO_FUNDS_LOW", "WRONG_AUTHORITY", "STATE_CONFLICT", "ACCEPTANCE_IN_FLIGHT", "FINANCIAL_ACTIONS_DISABLED", "GAS_PRICE_ABOVE_CEILING", "EXECUTION_BACKLOG_FULL", "BROWSE_UNAVAILABLE"];
|
|
500
502
|
readonly publishMakerTelemetry: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "TELEMETRY_CONFLICT", "INVALID_REQUEST"];
|
|
501
503
|
readonly reactComment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY"];
|
package/dist/generated/errors.js
CHANGED
|
@@ -1626,6 +1626,16 @@ export const operationErrors = {
|
|
|
1626
1626
|
"INVALID_CURSOR",
|
|
1627
1627
|
"MARKET_DATA_UNAVAILABLE"
|
|
1628
1628
|
],
|
|
1629
|
+
"listMyNotifications": [
|
|
1630
|
+
"UNAUTHENTICATED",
|
|
1631
|
+
"FORBIDDEN",
|
|
1632
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1633
|
+
"RATE_LIMITED",
|
|
1634
|
+
"ORIGIN_REQUIRED",
|
|
1635
|
+
"IDENTITY_NOT_FOUND",
|
|
1636
|
+
"INVALID_QUERY",
|
|
1637
|
+
"CONTRACT_UNAVAILABLE"
|
|
1638
|
+
],
|
|
1629
1639
|
"listOperations": [
|
|
1630
1640
|
"UNAUTHENTICATED",
|
|
1631
1641
|
"FORBIDDEN",
|
|
@@ -1692,6 +1702,17 @@ export const operationErrors = {
|
|
|
1692
1702
|
"SOURCE_UNAVAILABLE"
|
|
1693
1703
|
],
|
|
1694
1704
|
"live": [],
|
|
1705
|
+
"markMyNotificationsRead": [
|
|
1706
|
+
"UNAUTHENTICATED",
|
|
1707
|
+
"FORBIDDEN",
|
|
1708
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1709
|
+
"RATE_LIMITED",
|
|
1710
|
+
"ORIGIN_REQUIRED",
|
|
1711
|
+
"IDENTITY_NOT_FOUND",
|
|
1712
|
+
"INVALID_REQUEST",
|
|
1713
|
+
"INVALID_IDEMPOTENCY_KEY",
|
|
1714
|
+
"CONTRACT_UNAVAILABLE"
|
|
1715
|
+
],
|
|
1695
1716
|
"placeGolden": [
|
|
1696
1717
|
"UNAUTHENTICATED",
|
|
1697
1718
|
"FORBIDDEN",
|
|
@@ -1103,6 +1103,46 @@ export type paths = {
|
|
|
1103
1103
|
readonly patch?: never;
|
|
1104
1104
|
readonly trace?: never;
|
|
1105
1105
|
};
|
|
1106
|
+
readonly "/v1/me/notifications": {
|
|
1107
|
+
readonly parameters: {
|
|
1108
|
+
readonly query?: never;
|
|
1109
|
+
readonly header?: never;
|
|
1110
|
+
readonly path?: never;
|
|
1111
|
+
readonly cookie?: never;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* List my notifications
|
|
1115
|
+
* @description The authenticated account's 50 newest notifications, newest first, and how many of all of its notifications are unread. Each is stored once, so it reads the same however often it is asked for.
|
|
1116
|
+
*/
|
|
1117
|
+
readonly get: operations["listMyNotifications"];
|
|
1118
|
+
readonly put?: never;
|
|
1119
|
+
readonly post?: never;
|
|
1120
|
+
readonly delete?: never;
|
|
1121
|
+
readonly options?: never;
|
|
1122
|
+
readonly head?: never;
|
|
1123
|
+
readonly patch?: never;
|
|
1124
|
+
readonly trace?: never;
|
|
1125
|
+
};
|
|
1126
|
+
readonly "/v1/me/notifications/read": {
|
|
1127
|
+
readonly parameters: {
|
|
1128
|
+
readonly query?: never;
|
|
1129
|
+
readonly header?: never;
|
|
1130
|
+
readonly path?: never;
|
|
1131
|
+
readonly cookie?: never;
|
|
1132
|
+
};
|
|
1133
|
+
readonly get?: never;
|
|
1134
|
+
readonly put?: never;
|
|
1135
|
+
/**
|
|
1136
|
+
* Mark my notifications read
|
|
1137
|
+
* @description Marks the named notifications of the authenticated account read, or all of them with all set. Name 1 to 50 ids or set all, not both. A notification keeps when it was first read, so a retry under any Idempotency-Key changes nothing; ids that are not the account's are ignored.
|
|
1138
|
+
*/
|
|
1139
|
+
readonly post: operations["markMyNotificationsRead"];
|
|
1140
|
+
readonly delete?: never;
|
|
1141
|
+
readonly options?: never;
|
|
1142
|
+
readonly head?: never;
|
|
1143
|
+
readonly patch?: never;
|
|
1144
|
+
readonly trace?: never;
|
|
1145
|
+
};
|
|
1106
1146
|
readonly "/v1/me/copy-summary": {
|
|
1107
1147
|
readonly parameters: {
|
|
1108
1148
|
readonly query?: never;
|
|
@@ -6359,7 +6399,7 @@ export type components = {
|
|
|
6359
6399
|
* @description Platform taxonomy subcategory slug. The cursor is bound to this filter.
|
|
6360
6400
|
* @example epl
|
|
6361
6401
|
*/
|
|
6362
|
-
readonly Subcategory: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
6402
|
+
readonly Subcategory: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "copa_del_rey" | "dfb_pokal" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "super_lig" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
6363
6403
|
/**
|
|
6364
6404
|
* @description Outcome side whose price history is returned.
|
|
6365
6405
|
* @example YES
|
|
@@ -9034,6 +9074,94 @@ export interface operations {
|
|
|
9034
9074
|
readonly 503: components["responses"]["Unavailable"];
|
|
9035
9075
|
};
|
|
9036
9076
|
};
|
|
9077
|
+
readonly listMyNotifications: {
|
|
9078
|
+
readonly parameters: {
|
|
9079
|
+
readonly query?: never;
|
|
9080
|
+
readonly header?: never;
|
|
9081
|
+
readonly path?: never;
|
|
9082
|
+
readonly cookie?: never;
|
|
9083
|
+
};
|
|
9084
|
+
readonly requestBody?: never;
|
|
9085
|
+
readonly responses: {
|
|
9086
|
+
/** @description The notifications */
|
|
9087
|
+
readonly 200: {
|
|
9088
|
+
headers: {
|
|
9089
|
+
readonly "Cache-Control"?: "no-store";
|
|
9090
|
+
readonly [name: string]: unknown;
|
|
9091
|
+
};
|
|
9092
|
+
content: {
|
|
9093
|
+
readonly "application/json": {
|
|
9094
|
+
readonly notifications: readonly {
|
|
9095
|
+
/**
|
|
9096
|
+
* Format: uuid
|
|
9097
|
+
* @description The notification's id, a UUIDv7.
|
|
9098
|
+
*/
|
|
9099
|
+
readonly id: string;
|
|
9100
|
+
/**
|
|
9101
|
+
* @description What happened. FEATURE_UNLOCKED: the account unlocked the feature named by subject.
|
|
9102
|
+
* @enum {string}
|
|
9103
|
+
*/
|
|
9104
|
+
readonly kind: "FEATURE_UNLOCKED";
|
|
9105
|
+
/** @description What the notification is about. For FEATURE_UNLOCKED, the feature: REFERRALS, the account's own invite link, which admits people once the account has traded $5. A client shows only subjects it knows. */
|
|
9106
|
+
readonly subject: string;
|
|
9107
|
+
/** Format: date-time */
|
|
9108
|
+
readonly created_at: string;
|
|
9109
|
+
/**
|
|
9110
|
+
* Format: date-time
|
|
9111
|
+
* @description When the account first read it; absent while unread.
|
|
9112
|
+
*/
|
|
9113
|
+
readonly read_at?: string;
|
|
9114
|
+
}[];
|
|
9115
|
+
readonly unread: number;
|
|
9116
|
+
};
|
|
9117
|
+
};
|
|
9118
|
+
};
|
|
9119
|
+
readonly 400: components["responses"]["Error"];
|
|
9120
|
+
readonly 401: components["responses"]["Error"];
|
|
9121
|
+
readonly 403: components["responses"]["Error"];
|
|
9122
|
+
readonly 404: components["responses"]["Error"];
|
|
9123
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
9124
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
9125
|
+
};
|
|
9126
|
+
};
|
|
9127
|
+
readonly markMyNotificationsRead: {
|
|
9128
|
+
readonly parameters: {
|
|
9129
|
+
readonly query?: never;
|
|
9130
|
+
readonly header: {
|
|
9131
|
+
/**
|
|
9132
|
+
* @description Lowercase UUIDv7 naming this command, unique per caller and route. A retry with the same key and body returns the original result; the same key with a different body returns `409 IDEMPOTENCY_KEY_REUSED`.
|
|
9133
|
+
* @example 0198a6f6-82a5-7abc-9f2a-4f0fb437493e
|
|
9134
|
+
*/
|
|
9135
|
+
readonly "Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
9136
|
+
};
|
|
9137
|
+
readonly path?: never;
|
|
9138
|
+
readonly cookie?: never;
|
|
9139
|
+
};
|
|
9140
|
+
readonly requestBody: {
|
|
9141
|
+
readonly content: {
|
|
9142
|
+
readonly "application/json": {
|
|
9143
|
+
readonly ids?: readonly string[];
|
|
9144
|
+
/** @constant */
|
|
9145
|
+
readonly all?: true;
|
|
9146
|
+
};
|
|
9147
|
+
};
|
|
9148
|
+
};
|
|
9149
|
+
readonly responses: {
|
|
9150
|
+
/** @description The notifications are read */
|
|
9151
|
+
readonly 204: {
|
|
9152
|
+
headers: {
|
|
9153
|
+
readonly [name: string]: unknown;
|
|
9154
|
+
};
|
|
9155
|
+
content?: never;
|
|
9156
|
+
};
|
|
9157
|
+
readonly 400: components["responses"]["Error"];
|
|
9158
|
+
readonly 401: components["responses"]["Error"];
|
|
9159
|
+
readonly 403: components["responses"]["Error"];
|
|
9160
|
+
readonly 404: components["responses"]["Error"];
|
|
9161
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
9162
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
9163
|
+
};
|
|
9164
|
+
};
|
|
9037
9165
|
readonly getCopySummary: {
|
|
9038
9166
|
readonly parameters: {
|
|
9039
9167
|
readonly query?: never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "218.0.0-more-leagues";
|
|
2
|
+
export declare const openapiSha256 = "6f2a259ac9935ebf50d897679b1f784408bed95cd3e33885a4771e73cae64497";
|
|
3
3
|
export declare const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a";
|
|
@@ -18,7 +18,7 @@ export declare const jsonSchemaSha256: {
|
|
|
18
18
|
readonly "realtime.schema.json": "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
19
19
|
};
|
|
20
20
|
export declare const operations: {
|
|
21
|
-
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", "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", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getOperation", "getOwnMaker", "getPartnerReport", "getPerpMarks", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWalletApproval", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listOperations", "listQuotes", "listTraderPositions", "listTraderTrades", "placeGolden", "reactComment", "recordAcquisition", "refreshPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "setXHandleShown", "signGoldenGift", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unreactComment"];
|
|
21
|
+
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", "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", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getOperation", "getOwnMaker", "getPartnerReport", "getPerpMarks", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWalletApproval", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listMyNotifications", "listOperations", "listQuotes", "listTraderPositions", "listTraderTrades", "markMyNotificationsRead", "placeGolden", "reactComment", "recordAcquisition", "refreshPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "setXHandleShown", "signGoldenGift", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unreactComment"];
|
|
22
22
|
readonly maker: readonly ["cancelQuote", "confirmQuote", "createCollateralReduction", "createQuote", "getAccountActivity", "getAccountPosition", "getCollateralReduction", "getDeployment", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerTelemetryPublication", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "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"];
|
|
23
23
|
readonly operator: readonly ["live", "ready"];
|
|
24
24
|
};
|
|
@@ -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 = "218.0.0-more-leagues";
|
|
3
|
+
export const openapiSha256 = "6f2a259ac9935ebf50d897679b1f784408bed95cd3e33885a4771e73cae64497";
|
|
4
4
|
export const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a",
|
|
@@ -117,10 +117,12 @@ export const operations = {
|
|
|
117
117
|
"listMakerPositions",
|
|
118
118
|
"listMakerQuoteHistory",
|
|
119
119
|
"listMarkets",
|
|
120
|
+
"listMyNotifications",
|
|
120
121
|
"listOperations",
|
|
121
122
|
"listQuotes",
|
|
122
123
|
"listTraderPositions",
|
|
123
124
|
"listTraderTrades",
|
|
125
|
+
"markMyNotificationsRead",
|
|
124
126
|
"placeGolden",
|
|
125
127
|
"reactComment",
|
|
126
128
|
"recordAcquisition",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.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": [
|