zklighter-perps 1.0.343 → 1.0.345
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/apis/GuildApi.ts +2 -2
- package/models/AccountMetadata.ts +2 -3
- package/models/DetailedAccount.ts +2 -3
- package/models/GuildDuelMemberScore.ts +2 -3
- package/models/GuildDuelRosterMember.ts +2 -3
- package/models/GuildDuelSide.ts +2 -3
- package/models/GuildInviteCode.ts +2 -3
- package/models/GuildJoinRequest.ts +2 -3
- package/models/GuildListItem.ts +9 -0
- package/models/GuildMember.ts +2 -3
- package/models/PublicProfile.ts +8 -12
- package/models/RespGetGuild.ts +9 -0
- package/openapi.json +22 -23
- package/package.json +1 -1
package/apis/GuildApi.ts
CHANGED
|
@@ -540,7 +540,7 @@ export class GuildApi extends runtime.BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Public duel detail
|
|
543
|
+
* Public duel detail in any status: sides, terms, offer history, locked rosters (drafts only via myDuel)
|
|
544
544
|
* guild_duel
|
|
545
545
|
*/
|
|
546
546
|
async guildDuelRaw(requestParameters: GuildDuelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RespGetGuildDuel>> {
|
|
@@ -570,7 +570,7 @@ export class GuildApi extends runtime.BaseAPI {
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
* Public duel detail
|
|
573
|
+
* Public duel detail in any status: sides, terms, offer history, locked rosters (drafts only via myDuel)
|
|
574
574
|
* guild_duel
|
|
575
575
|
*/
|
|
576
576
|
async guildDuel(requestParameters: GuildDuelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RespGetGuildDuel> {
|
|
@@ -103,7 +103,7 @@ export interface AccountMetadata {
|
|
|
103
103
|
* @type {PublicProfile}
|
|
104
104
|
* @memberof AccountMetadata
|
|
105
105
|
*/
|
|
106
|
-
profile
|
|
106
|
+
profile?: PublicProfile;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
@@ -121,7 +121,6 @@ export function instanceOfAccountMetadata(value: object): value is AccountMetada
|
|
|
121
121
|
if (!('created_at' in value) || value['created_at'] === undefined) return false;
|
|
122
122
|
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
123
123
|
if (!('instance' in value) || value['instance'] === undefined) return false;
|
|
124
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
125
124
|
return true;
|
|
126
125
|
}
|
|
127
126
|
|
|
@@ -146,7 +145,7 @@ export function AccountMetadataFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
146
145
|
'created_at': json['created_at'],
|
|
147
146
|
'metadata': SubAccountMetadataFromJSON(json['metadata']),
|
|
148
147
|
'instance': json['instance'],
|
|
149
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
148
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
150
149
|
};
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -229,7 +229,7 @@ export interface DetailedAccount {
|
|
|
229
229
|
* @type {PublicProfile}
|
|
230
230
|
* @memberof DetailedAccount
|
|
231
231
|
*/
|
|
232
|
-
profile
|
|
232
|
+
profile?: PublicProfile;
|
|
233
233
|
/**
|
|
234
234
|
*
|
|
235
235
|
* @type {Array<AccountPosition>}
|
|
@@ -349,7 +349,6 @@ export function instanceOfDetailedAccount(value: object): value is DetailedAccou
|
|
|
349
349
|
if (!('created_at' in value) || value['created_at'] === undefined) return false;
|
|
350
350
|
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
351
351
|
if (!('instance' in value) || value['instance'] === undefined) return false;
|
|
352
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
353
352
|
if (!('positions' in value) || value['positions'] === undefined) return false;
|
|
354
353
|
if (!('assets' in value) || value['assets'] === undefined) return false;
|
|
355
354
|
if (!('total_asset_value' in value) || value['total_asset_value'] === undefined) return false;
|
|
@@ -396,7 +395,7 @@ export function DetailedAccountFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
396
395
|
'created_at': json['created_at'],
|
|
397
396
|
'metadata': SubAccountMetadataFromJSON(json['metadata']),
|
|
398
397
|
'instance': json['instance'],
|
|
399
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
398
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
400
399
|
'positions': ((json['positions'] as Array<any>).map(AccountPositionFromJSON)),
|
|
401
400
|
'bo_positions': json['bo_positions'] == null ? undefined : ((json['bo_positions'] as Array<any>).map(AccountBinaryOptionsPositionFromJSON)),
|
|
402
401
|
'assets': ((json['assets'] as Array<any>).map(AccountAssetFromJSON)),
|
|
@@ -67,7 +67,7 @@ export interface GuildDuelMemberScore {
|
|
|
67
67
|
* @type {PublicProfile}
|
|
68
68
|
* @memberof GuildDuelMemberScore
|
|
69
69
|
*/
|
|
70
|
-
profile
|
|
70
|
+
profile?: PublicProfile;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -80,7 +80,6 @@ export function instanceOfGuildDuelMemberScore(value: object): value is GuildDue
|
|
|
80
80
|
if (!('capital' in value) || value['capital'] === undefined) return false;
|
|
81
81
|
if (!('roi' in value) || value['roi'] === undefined) return false;
|
|
82
82
|
if (!('volume' in value) || value['volume'] === undefined) return false;
|
|
83
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
84
83
|
return true;
|
|
85
84
|
}
|
|
86
85
|
|
|
@@ -100,7 +99,7 @@ export function GuildDuelMemberScoreFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
100
99
|
'capital': json['capital'],
|
|
101
100
|
'roi': json['roi'],
|
|
102
101
|
'volume': json['volume'],
|
|
103
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
102
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
104
103
|
};
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -49,7 +49,7 @@ export interface GuildDuelRosterMember {
|
|
|
49
49
|
* @type {PublicProfile}
|
|
50
50
|
* @memberof GuildDuelRosterMember
|
|
51
51
|
*/
|
|
52
|
-
profile
|
|
52
|
+
profile?: PublicProfile;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -59,7 +59,6 @@ export function instanceOfGuildDuelRosterMember(value: object): value is GuildDu
|
|
|
59
59
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
60
60
|
if (!('guild_id' in value) || value['guild_id'] === undefined) return false;
|
|
61
61
|
if (!('selected_by_l1' in value) || value['selected_by_l1'] === undefined) return false;
|
|
62
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
63
62
|
return true;
|
|
64
63
|
}
|
|
65
64
|
|
|
@@ -76,7 +75,7 @@ export function GuildDuelRosterMemberFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
76
75
|
'l1_address': json['l1_address'],
|
|
77
76
|
'guild_id': json['guild_id'],
|
|
78
77
|
'selected_by_l1': json['selected_by_l1'],
|
|
79
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
78
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
80
79
|
};
|
|
81
80
|
}
|
|
82
81
|
|
package/models/GuildDuelSide.ts
CHANGED
|
@@ -73,7 +73,7 @@ export interface GuildDuelSide {
|
|
|
73
73
|
* @type {PublicProfile}
|
|
74
74
|
* @memberof GuildDuelSide
|
|
75
75
|
*/
|
|
76
|
-
leader_profile
|
|
76
|
+
leader_profile?: PublicProfile;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/**
|
|
@@ -87,7 +87,6 @@ export function instanceOfGuildDuelSide(value: object): value is GuildDuelSide {
|
|
|
87
87
|
if (!('roster_locked_at' in value) || value['roster_locked_at'] === undefined) return false;
|
|
88
88
|
if (!('stake_status' in value) || value['stake_status'] === undefined) return false;
|
|
89
89
|
if (!('stake_tx_hash' in value) || value['stake_tx_hash'] === undefined) return false;
|
|
90
|
-
if (!('leader_profile' in value) || value['leader_profile'] === undefined) return false;
|
|
91
90
|
return true;
|
|
92
91
|
}
|
|
93
92
|
|
|
@@ -108,7 +107,7 @@ export function GuildDuelSideFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
108
107
|
'roster_locked_at': json['roster_locked_at'],
|
|
109
108
|
'stake_status': json['stake_status'],
|
|
110
109
|
'stake_tx_hash': json['stake_tx_hash'],
|
|
111
|
-
'leader_profile': PublicProfileFromJSON(json['leader_profile']),
|
|
110
|
+
'leader_profile': json['leader_profile'] == null ? undefined : PublicProfileFromJSON(json['leader_profile']),
|
|
112
111
|
};
|
|
113
112
|
}
|
|
114
113
|
|
|
@@ -91,7 +91,7 @@ export interface GuildInviteCode {
|
|
|
91
91
|
* @type {PublicProfile}
|
|
92
92
|
* @memberof GuildInviteCode
|
|
93
93
|
*/
|
|
94
|
-
bound_profile
|
|
94
|
+
bound_profile?: PublicProfile;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/**
|
|
@@ -105,7 +105,6 @@ export function instanceOfGuildInviteCode(value: object): value is GuildInviteCo
|
|
|
105
105
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
106
106
|
if (!('created_at' in value) || value['created_at'] === undefined) return false;
|
|
107
107
|
if (!('expires_at' in value) || value['expires_at'] === undefined) return false;
|
|
108
|
-
if (!('bound_profile' in value) || value['bound_profile'] === undefined) return false;
|
|
109
108
|
return true;
|
|
110
109
|
}
|
|
111
110
|
|
|
@@ -129,7 +128,7 @@ export function GuildInviteCodeFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
129
128
|
'expires_at': json['expires_at'],
|
|
130
129
|
'resolved_at': json['resolved_at'] == null ? undefined : json['resolved_at'],
|
|
131
130
|
'redeemed_by_l1': json['redeemed_by_l1'] == null ? undefined : json['redeemed_by_l1'],
|
|
132
|
-
'bound_profile': PublicProfileFromJSON(json['bound_profile']),
|
|
131
|
+
'bound_profile': json['bound_profile'] == null ? undefined : PublicProfileFromJSON(json['bound_profile']),
|
|
133
132
|
};
|
|
134
133
|
}
|
|
135
134
|
|
|
@@ -79,7 +79,7 @@ export interface GuildJoinRequest {
|
|
|
79
79
|
* @type {PublicProfile}
|
|
80
80
|
* @memberof GuildJoinRequest
|
|
81
81
|
*/
|
|
82
|
-
profile
|
|
82
|
+
profile?: PublicProfile;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -94,7 +94,6 @@ export function instanceOfGuildJoinRequest(value: object): value is GuildJoinReq
|
|
|
94
94
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
95
95
|
if (!('created_at' in value) || value['created_at'] === undefined) return false;
|
|
96
96
|
if (!('expires_at' in value) || value['expires_at'] === undefined) return false;
|
|
97
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
98
97
|
return true;
|
|
99
98
|
}
|
|
100
99
|
|
|
@@ -116,7 +115,7 @@ export function GuildJoinRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
116
115
|
'source': json['source'],
|
|
117
116
|
'created_at': json['created_at'],
|
|
118
117
|
'expires_at': json['expires_at'],
|
|
119
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
118
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
120
119
|
};
|
|
121
120
|
}
|
|
122
121
|
|
package/models/GuildListItem.ts
CHANGED
|
@@ -62,6 +62,12 @@ export interface GuildListItem {
|
|
|
62
62
|
* @memberof GuildListItem
|
|
63
63
|
*/
|
|
64
64
|
duel_record: GuildDuelRecord;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof GuildListItem
|
|
69
|
+
*/
|
|
70
|
+
in_duel: boolean;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
/**
|
|
@@ -74,6 +80,7 @@ export function instanceOfGuildListItem(value: object): value is GuildListItem {
|
|
|
74
80
|
if (!('max_members' in value) || value['max_members'] === undefined) return false;
|
|
75
81
|
if (!('member_count' in value) || value['member_count'] === undefined) return false;
|
|
76
82
|
if (!('duel_record' in value) || value['duel_record'] === undefined) return false;
|
|
83
|
+
if (!('in_duel' in value) || value['in_duel'] === undefined) return false;
|
|
77
84
|
return true;
|
|
78
85
|
}
|
|
79
86
|
|
|
@@ -93,6 +100,7 @@ export function GuildListItemFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
93
100
|
'max_members': json['max_members'],
|
|
94
101
|
'member_count': json['member_count'],
|
|
95
102
|
'duel_record': GuildDuelRecordFromJSON(json['duel_record']),
|
|
103
|
+
'in_duel': json['in_duel'],
|
|
96
104
|
};
|
|
97
105
|
}
|
|
98
106
|
|
|
@@ -108,6 +116,7 @@ export function GuildListItemToJSON(value?: GuildListItem | null): any {
|
|
|
108
116
|
'max_members': value['max_members'],
|
|
109
117
|
'member_count': value['member_count'],
|
|
110
118
|
'duel_record': GuildDuelRecordToJSON(value['duel_record']),
|
|
119
|
+
'in_duel': value['in_duel'],
|
|
111
120
|
};
|
|
112
121
|
}
|
|
113
122
|
|
package/models/GuildMember.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface GuildMember {
|
|
|
55
55
|
* @type {PublicProfile}
|
|
56
56
|
* @memberof GuildMember
|
|
57
57
|
*/
|
|
58
|
-
profile
|
|
58
|
+
profile?: PublicProfile;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
@@ -66,7 +66,6 @@ export function instanceOfGuildMember(value: object): value is GuildMember {
|
|
|
66
66
|
if (!('role' in value) || value['role'] === undefined) return false;
|
|
67
67
|
if (!('joined_at' in value) || value['joined_at'] === undefined) return false;
|
|
68
68
|
if (!('duel_opt_in' in value) || value['duel_opt_in'] === undefined) return false;
|
|
69
|
-
if (!('profile' in value) || value['profile'] === undefined) return false;
|
|
70
69
|
return true;
|
|
71
70
|
}
|
|
72
71
|
|
|
@@ -84,7 +83,7 @@ export function GuildMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
84
83
|
'role': json['role'],
|
|
85
84
|
'joined_at': json['joined_at'],
|
|
86
85
|
'duel_opt_in': json['duel_opt_in'],
|
|
87
|
-
'profile': PublicProfileFromJSON(json['profile']),
|
|
86
|
+
'profile': json['profile'] == null ? undefined : PublicProfileFromJSON(json['profile']),
|
|
88
87
|
};
|
|
89
88
|
}
|
|
90
89
|
|
package/models/PublicProfile.ts
CHANGED
|
@@ -30,25 +30,25 @@ export interface PublicProfile {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof PublicProfile
|
|
32
32
|
*/
|
|
33
|
-
username
|
|
33
|
+
username?: string;
|
|
34
34
|
/**
|
|
35
35
|
* ens is resolved by the client from l1_address on chain 1
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof PublicProfile
|
|
38
38
|
*/
|
|
39
|
-
display_name_source
|
|
39
|
+
display_name_source?: PublicProfileDisplayNameSourceEnum;
|
|
40
40
|
/**
|
|
41
41
|
* verified through X OAuth; link by id, the handle can change hands after a rename
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof PublicProfile
|
|
44
44
|
*/
|
|
45
|
-
x_user_id
|
|
45
|
+
x_user_id?: string;
|
|
46
46
|
/**
|
|
47
47
|
* as of connecting
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof PublicProfile
|
|
50
50
|
*/
|
|
51
|
-
x_handle
|
|
51
|
+
x_handle?: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
@@ -69,10 +69,6 @@ export type PublicProfileDisplayNameSourceEnum = typeof PublicProfileDisplayName
|
|
|
69
69
|
*/
|
|
70
70
|
export function instanceOfPublicProfile(value: object): value is PublicProfile {
|
|
71
71
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
72
|
-
if (!('username' in value) || value['username'] === undefined) return false;
|
|
73
|
-
if (!('display_name_source' in value) || value['display_name_source'] === undefined) return false;
|
|
74
|
-
if (!('x_user_id' in value) || value['x_user_id'] === undefined) return false;
|
|
75
|
-
if (!('x_handle' in value) || value['x_handle'] === undefined) return false;
|
|
76
72
|
return true;
|
|
77
73
|
}
|
|
78
74
|
|
|
@@ -87,10 +83,10 @@ export function PublicProfileFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
87
83
|
return {
|
|
88
84
|
|
|
89
85
|
'l1_address': json['l1_address'],
|
|
90
|
-
'username': json['username'],
|
|
91
|
-
'display_name_source': json['display_name_source'],
|
|
92
|
-
'x_user_id': json['x_user_id'],
|
|
93
|
-
'x_handle': json['x_handle'],
|
|
86
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
87
|
+
'display_name_source': json['display_name_source'] == null ? undefined : json['display_name_source'],
|
|
88
|
+
'x_user_id': json['x_user_id'] == null ? undefined : json['x_user_id'],
|
|
89
|
+
'x_handle': json['x_handle'] == null ? undefined : json['x_handle'],
|
|
94
90
|
};
|
|
95
91
|
}
|
|
96
92
|
|
package/models/RespGetGuild.ts
CHANGED
|
@@ -134,6 +134,12 @@ export interface RespGetGuild {
|
|
|
134
134
|
* @memberof RespGetGuild
|
|
135
135
|
*/
|
|
136
136
|
competitions: Array<Competition>;
|
|
137
|
+
/**
|
|
138
|
+
* in an accepted, funded or live duel
|
|
139
|
+
* @type {boolean}
|
|
140
|
+
* @memberof RespGetGuild
|
|
141
|
+
*/
|
|
142
|
+
in_duel: boolean;
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
/**
|
|
@@ -151,6 +157,7 @@ export function instanceOfRespGetGuild(value: object): value is RespGetGuild {
|
|
|
151
157
|
if (!('duel_record' in value) || value['duel_record'] === undefined) return false;
|
|
152
158
|
if (!('members' in value) || value['members'] === undefined) return false;
|
|
153
159
|
if (!('competitions' in value) || value['competitions'] === undefined) return false;
|
|
160
|
+
if (!('in_duel' in value) || value['in_duel'] === undefined) return false;
|
|
154
161
|
return true;
|
|
155
162
|
}
|
|
156
163
|
|
|
@@ -178,6 +185,7 @@ export function RespGetGuildFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
178
185
|
'positions': json['positions'] == null ? undefined : ((json['positions'] as Array<any>).map(GuildPositionFromJSON)),
|
|
179
186
|
'positions_updated_at': json['positions_updated_at'] == null ? undefined : json['positions_updated_at'],
|
|
180
187
|
'competitions': ((json['competitions'] as Array<any>).map(CompetitionFromJSON)),
|
|
188
|
+
'in_duel': json['in_duel'],
|
|
181
189
|
};
|
|
182
190
|
}
|
|
183
191
|
|
|
@@ -201,6 +209,7 @@ export function RespGetGuildToJSON(value?: RespGetGuild | null): any {
|
|
|
201
209
|
'positions': value['positions'] == null ? undefined : ((value['positions'] as Array<any>).map(GuildPositionToJSON)),
|
|
202
210
|
'positions_updated_at': value['positions_updated_at'],
|
|
203
211
|
'competitions': ((value['competitions'] as Array<any>).map(CompetitionToJSON)),
|
|
212
|
+
'in_duel': value['in_duel'],
|
|
204
213
|
};
|
|
205
214
|
}
|
|
206
215
|
|
package/openapi.json
CHANGED
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
"consumes": [
|
|
2980
2980
|
"multipart/form-data"
|
|
2981
2981
|
],
|
|
2982
|
-
"description": "Public duel detail
|
|
2982
|
+
"description": "Public duel detail in any status: sides, terms, offer history, locked rosters (drafts only via myDuel)"
|
|
2983
2983
|
}
|
|
2984
2984
|
},
|
|
2985
2985
|
"/api/v1/guild/duel/accept": {
|
|
@@ -8672,8 +8672,7 @@
|
|
|
8672
8672
|
"agent_enabled",
|
|
8673
8673
|
"created_at",
|
|
8674
8674
|
"metadata",
|
|
8675
|
-
"instance"
|
|
8676
|
-
"profile"
|
|
8675
|
+
"instance"
|
|
8677
8676
|
]
|
|
8678
8677
|
},
|
|
8679
8678
|
"AccountMetadatas": {
|
|
@@ -10841,7 +10840,6 @@
|
|
|
10841
10840
|
"created_at",
|
|
10842
10841
|
"metadata",
|
|
10843
10842
|
"instance",
|
|
10844
|
-
"profile",
|
|
10845
10843
|
"positions",
|
|
10846
10844
|
"assets",
|
|
10847
10845
|
"total_asset_value",
|
|
@@ -12034,8 +12032,7 @@
|
|
|
12034
12032
|
"pnl",
|
|
12035
12033
|
"capital",
|
|
12036
12034
|
"roi",
|
|
12037
|
-
"volume"
|
|
12038
|
-
"profile"
|
|
12035
|
+
"volume"
|
|
12039
12036
|
]
|
|
12040
12037
|
},
|
|
12041
12038
|
"GuildDuelOffer": {
|
|
@@ -12235,8 +12232,7 @@
|
|
|
12235
12232
|
"required": [
|
|
12236
12233
|
"l1_address",
|
|
12237
12234
|
"guild_id",
|
|
12238
|
-
"selected_by_l1"
|
|
12239
|
-
"profile"
|
|
12235
|
+
"selected_by_l1"
|
|
12240
12236
|
]
|
|
12241
12237
|
},
|
|
12242
12238
|
"GuildDuelScore": {
|
|
@@ -12304,8 +12300,7 @@
|
|
|
12304
12300
|
"roster_size",
|
|
12305
12301
|
"roster_locked_at",
|
|
12306
12302
|
"stake_status",
|
|
12307
|
-
"stake_tx_hash"
|
|
12308
|
-
"leader_profile"
|
|
12303
|
+
"stake_tx_hash"
|
|
12309
12304
|
]
|
|
12310
12305
|
},
|
|
12311
12306
|
"GuildDuelStakeInfo": {
|
|
@@ -12429,8 +12424,7 @@
|
|
|
12429
12424
|
"created_by_l1",
|
|
12430
12425
|
"status",
|
|
12431
12426
|
"created_at",
|
|
12432
|
-
"expires_at"
|
|
12433
|
-
"bound_profile"
|
|
12427
|
+
"expires_at"
|
|
12434
12428
|
]
|
|
12435
12429
|
},
|
|
12436
12430
|
"GuildJoinRequest": {
|
|
@@ -12477,8 +12471,7 @@
|
|
|
12477
12471
|
"status",
|
|
12478
12472
|
"source",
|
|
12479
12473
|
"created_at",
|
|
12480
|
-
"expires_at"
|
|
12481
|
-
"profile"
|
|
12474
|
+
"expires_at"
|
|
12482
12475
|
]
|
|
12483
12476
|
},
|
|
12484
12477
|
"GuildLeaderboardEntry": {
|
|
@@ -12552,6 +12545,10 @@
|
|
|
12552
12545
|
},
|
|
12553
12546
|
"duel_record": {
|
|
12554
12547
|
"$ref": "#/definitions/GuildDuelRecord"
|
|
12548
|
+
},
|
|
12549
|
+
"in_duel": {
|
|
12550
|
+
"type": "boolean",
|
|
12551
|
+
"format": "boolean"
|
|
12555
12552
|
}
|
|
12556
12553
|
},
|
|
12557
12554
|
"title": "GuildListItem",
|
|
@@ -12561,7 +12558,8 @@
|
|
|
12561
12558
|
"accepts_join_requests",
|
|
12562
12559
|
"max_members",
|
|
12563
12560
|
"member_count",
|
|
12564
|
-
"duel_record"
|
|
12561
|
+
"duel_record",
|
|
12562
|
+
"in_duel"
|
|
12565
12563
|
]
|
|
12566
12564
|
},
|
|
12567
12565
|
"GuildMember": {
|
|
@@ -12590,8 +12588,7 @@
|
|
|
12590
12588
|
"l1_address",
|
|
12591
12589
|
"role",
|
|
12592
12590
|
"joined_at",
|
|
12593
|
-
"duel_opt_in"
|
|
12594
|
-
"profile"
|
|
12591
|
+
"duel_opt_in"
|
|
12595
12592
|
]
|
|
12596
12593
|
},
|
|
12597
12594
|
"GuildPnlStats": {
|
|
@@ -15943,11 +15940,7 @@
|
|
|
15943
15940
|
},
|
|
15944
15941
|
"title": "PublicProfile",
|
|
15945
15942
|
"required": [
|
|
15946
|
-
"l1_address"
|
|
15947
|
-
"username",
|
|
15948
|
-
"display_name_source",
|
|
15949
|
-
"x_user_id",
|
|
15950
|
-
"x_handle"
|
|
15943
|
+
"l1_address"
|
|
15951
15944
|
]
|
|
15952
15945
|
},
|
|
15953
15946
|
"PushNotifDeliveryResult": {
|
|
@@ -20664,6 +20657,11 @@
|
|
|
20664
20657
|
"items": {
|
|
20665
20658
|
"$ref": "#/definitions/Competition"
|
|
20666
20659
|
}
|
|
20660
|
+
},
|
|
20661
|
+
"in_duel": {
|
|
20662
|
+
"type": "boolean",
|
|
20663
|
+
"format": "boolean",
|
|
20664
|
+
"description": " in an accepted, funded or live duel"
|
|
20667
20665
|
}
|
|
20668
20666
|
},
|
|
20669
20667
|
"title": "RespGetGuild",
|
|
@@ -20678,7 +20676,8 @@
|
|
|
20678
20676
|
"created_at",
|
|
20679
20677
|
"duel_record",
|
|
20680
20678
|
"members",
|
|
20681
|
-
"competitions"
|
|
20679
|
+
"competitions",
|
|
20680
|
+
"in_duel"
|
|
20682
20681
|
]
|
|
20683
20682
|
},
|
|
20684
20683
|
"RespGetGuildDuel": {
|