@dynamic-labs/sdk-api 0.126.0 → 0.128.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/package.json +1 -1
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.d.ts +13 -12
- package/src/apis/SDKApi.js +16 -12
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.js +1 -0
- package/src/models/InternalPermissionEnum.d.ts +26 -0
- package/src/models/InternalPermissionEnum.js +37 -0
- package/src/models/Invite.d.ts +7 -0
- package/src/models/Invite.js +3 -0
- package/src/models/InviteSendRequest.d.ts +7 -0
- package/src/models/InviteSendRequest.js +3 -0
- package/src/models/MemberRoleField.d.ts +7 -0
- package/src/models/MemberRoleField.js +3 -0
- package/src/models/Organization.d.ts +7 -0
- package/src/models/Organization.js +3 -0
- package/src/models/OrganizationMember.d.ts +7 -0
- package/src/models/OrganizationMember.js +4 -0
- package/src/models/YieldEarnings.d.ts +1 -1
- package/src/models/YieldVaultEarnings.d.ts +5 -5
- package/src/models/YieldVaultPositionPerformance.d.ts +1 -1
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
package/src/apis/AnalyticsApi.js
CHANGED
|
@@ -141,6 +141,7 @@ import '../models/InlineObject2.js';
|
|
|
141
141
|
import '../models/InlineObject3.js';
|
|
142
142
|
import '../models/InlineObject4.js';
|
|
143
143
|
import '../models/InlineObject5.js';
|
|
144
|
+
import '../models/InternalPermissionEnum.js';
|
|
144
145
|
import '../models/InviteStatusEnum.js';
|
|
145
146
|
import '../models/RoleEnum.js';
|
|
146
147
|
import '../models/JwtScope.js';
|
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
|
@@ -143,6 +143,7 @@ import '../models/InlineObject2.js';
|
|
|
143
143
|
import '../models/InlineObject3.js';
|
|
144
144
|
import '../models/InlineObject4.js';
|
|
145
145
|
import '../models/InlineObject5.js';
|
|
146
|
+
import '../models/InternalPermissionEnum.js';
|
|
146
147
|
import '../models/InviteStatusEnum.js';
|
|
147
148
|
import '../models/RoleEnum.js';
|
|
148
149
|
import '../models/JwtScope.js';
|
package/src/apis/CaptchaApi.js
CHANGED
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
package/src/apis/ChainsApi.js
CHANGED
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
package/src/apis/CheckoutApi.js
CHANGED
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
|
@@ -142,6 +142,7 @@ import '../models/InlineObject2.js';
|
|
|
142
142
|
import '../models/InlineObject3.js';
|
|
143
143
|
import '../models/InlineObject4.js';
|
|
144
144
|
import '../models/InlineObject5.js';
|
|
145
|
+
import '../models/InternalPermissionEnum.js';
|
|
145
146
|
import '../models/InviteStatusEnum.js';
|
|
146
147
|
import '../models/RoleEnum.js';
|
|
147
148
|
import '../models/JwtScope.js';
|
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -139,6 +139,7 @@ import '../models/InlineObject3.js';
|
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
141
|
import { InlineResponse200FromJSON } from '../models/InlineResponse200.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -128,6 +128,7 @@ import '../models/InlineObject2.js';
|
|
|
128
128
|
import '../models/InlineObject3.js';
|
|
129
129
|
import '../models/InlineObject4.js';
|
|
130
130
|
import '../models/InlineObject5.js';
|
|
131
|
+
import '../models/InternalPermissionEnum.js';
|
|
131
132
|
import '../models/InviteStatusEnum.js';
|
|
132
133
|
import '../models/RoleEnum.js';
|
|
133
134
|
import '../models/JwtScope.js';
|
package/src/apis/EventsApi.js
CHANGED
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
package/src/apis/ExchangesApi.js
CHANGED
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
package/src/apis/ExportsApi.js
CHANGED
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
package/src/apis/GaslessApi.js
CHANGED
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
package/src/apis/GatesApi.js
CHANGED
|
@@ -140,6 +140,7 @@ import '../models/InlineObject2.js';
|
|
|
140
140
|
import '../models/InlineObject3.js';
|
|
141
141
|
import '../models/InlineObject4.js';
|
|
142
142
|
import '../models/InlineObject5.js';
|
|
143
|
+
import '../models/InternalPermissionEnum.js';
|
|
143
144
|
import '../models/InviteStatusEnum.js';
|
|
144
145
|
import '../models/RoleEnum.js';
|
|
145
146
|
import '../models/JwtScope.js';
|
|
@@ -140,6 +140,7 @@ import '../models/InlineObject2.js';
|
|
|
140
140
|
import '../models/InlineObject3.js';
|
|
141
141
|
import '../models/InlineObject4.js';
|
|
142
142
|
import '../models/InlineObject5.js';
|
|
143
|
+
import '../models/InternalPermissionEnum.js';
|
|
143
144
|
import '../models/InviteStatusEnum.js';
|
|
144
145
|
import '../models/RoleEnum.js';
|
|
145
146
|
import '../models/JwtScope.js';
|
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
|
@@ -139,6 +139,7 @@ import '../models/InlineObject2.js';
|
|
|
139
139
|
import '../models/InlineObject3.js';
|
|
140
140
|
import '../models/InlineObject4.js';
|
|
141
141
|
import '../models/InlineObject5.js';
|
|
142
|
+
import '../models/InternalPermissionEnum.js';
|
|
142
143
|
import '../models/InviteStatusEnum.js';
|
|
143
144
|
import '../models/RoleEnum.js';
|
|
144
145
|
import '../models/JwtScope.js';
|
package/src/apis/InvitesApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import { InviteSendRequestToJSON } from '../models/InviteSendRequest.js';
|
package/src/apis/KybApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/MembersApi.js
CHANGED
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
|
@@ -138,6 +138,7 @@ import '../models/InlineObject2.js';
|
|
|
138
138
|
import '../models/InlineObject3.js';
|
|
139
139
|
import '../models/InlineObject4.js';
|
|
140
140
|
import '../models/InlineObject5.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -138,6 +138,7 @@ import '../models/InlineObject3.js';
|
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
140
|
import { InlineResponse201FromJSON } from '../models/InlineResponse201.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import '../models/InviteStatusEnum.js';
|
|
142
143
|
import '../models/RoleEnum.js';
|
|
143
144
|
import '../models/JwtScope.js';
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
package/src/apis/ProvidersApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -747,6 +747,7 @@ export interface GetYieldEarningsRequest {
|
|
|
747
747
|
environmentId: string;
|
|
748
748
|
ownerAddress: string;
|
|
749
749
|
chainId: number;
|
|
750
|
+
chainName?: ChainEnum;
|
|
750
751
|
}
|
|
751
752
|
export interface GetYieldVaultDetailsRequest {
|
|
752
753
|
environmentId: string;
|
|
@@ -3421,22 +3422,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3421
3422
|
*/
|
|
3422
3423
|
getWalletTransactionsOptions(requestParameters: GetWalletTransactionsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3423
3424
|
/**
|
|
3424
|
-
* Returns the wallet\'s earnings across every
|
|
3425
|
+
* Returns the wallet\'s earnings across every yield-vault position it holds on the given chain, as a per-vault breakdown plus USD totals. `chainName` selects the chain family — `EVM` covers Morpho and Aave vaults, `SOL` covers Kamino vaults — and defaults to `EVM`; `chainId` selects the chain within it. Providers only aggregate within a single chain, so `chainId` is required. Totals are USD-denominated because each vault\'s earnings are expressed in its own underlying asset and are therefore not additive. Positions in vaults this environment does not offer are still included, with a null `vaultId`. Aave reports no earnings, so its positions carry null `pnl`, `pnlUsd` and `roe`; Kamino reports no time-weighted return, so its positions carry a null `roe`.
|
|
3425
3426
|
* Get a wallet\'s earnings across all vaults on one chain
|
|
3426
3427
|
*/
|
|
3427
3428
|
getYieldEarningsRaw(requestParameters: GetYieldEarningsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldEarnings>>;
|
|
3428
3429
|
/**
|
|
3429
|
-
* Returns the wallet\'s earnings across every
|
|
3430
|
+
* Returns the wallet\'s earnings across every yield-vault position it holds on the given chain, as a per-vault breakdown plus USD totals. `chainName` selects the chain family — `EVM` covers Morpho and Aave vaults, `SOL` covers Kamino vaults — and defaults to `EVM`; `chainId` selects the chain within it. Providers only aggregate within a single chain, so `chainId` is required. Totals are USD-denominated because each vault\'s earnings are expressed in its own underlying asset and are therefore not additive. Positions in vaults this environment does not offer are still included, with a null `vaultId`. Aave reports no earnings, so its positions carry null `pnl`, `pnlUsd` and `roe`; Kamino reports no time-weighted return, so its positions carry a null `roe`.
|
|
3430
3431
|
* Get a wallet\'s earnings across all vaults on one chain
|
|
3431
3432
|
*/
|
|
3432
3433
|
getYieldEarnings(requestParameters: GetYieldEarningsRequest, initOverrides?: RequestInit): Promise<YieldEarnings>;
|
|
3433
3434
|
/**
|
|
3434
|
-
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live
|
|
3435
|
+
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live data from the vault\'s provider on a best-effort basis.
|
|
3435
3436
|
* Get vault details
|
|
3436
3437
|
*/
|
|
3437
3438
|
getYieldVaultDetailsRaw(requestParameters: GetYieldVaultDetailsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultDetails>>;
|
|
3438
3439
|
/**
|
|
3439
|
-
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live
|
|
3440
|
+
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live data from the vault\'s provider on a best-effort basis.
|
|
3440
3441
|
* Get vault details
|
|
3441
3442
|
*/
|
|
3442
3443
|
getYieldVaultDetails(requestParameters: GetYieldVaultDetailsRequest, initOverrides?: RequestInit): Promise<YieldVaultDetails>;
|
|
@@ -3451,22 +3452,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3451
3452
|
*/
|
|
3452
3453
|
getYieldVaultPosition(requestParameters: GetYieldVaultPositionRequest, initOverrides?: RequestInit): Promise<YieldVaultPosition>;
|
|
3453
3454
|
/**
|
|
3454
|
-
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by Morpho. Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now.
|
|
3455
|
+
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by the vault\'s provider (Morpho and Kamino). Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now. Kamino does not report a time-weighted return, so `returnOnCapital` is always null for Kamino vaults. Responds 400 for Aave vaults, which report no earnings.
|
|
3455
3456
|
* Get earnings for a user position in a vault
|
|
3456
3457
|
*/
|
|
3457
3458
|
getYieldVaultPositionPerformanceRaw(requestParameters: GetYieldVaultPositionPerformanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultPositionPerformance>>;
|
|
3458
3459
|
/**
|
|
3459
|
-
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by Morpho. Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now.
|
|
3460
|
+
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by the vault\'s provider (Morpho and Kamino). Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now. Kamino does not report a time-weighted return, so `returnOnCapital` is always null for Kamino vaults. Responds 400 for Aave vaults, which report no earnings.
|
|
3460
3461
|
* Get earnings for a user position in a vault
|
|
3461
3462
|
*/
|
|
3462
3463
|
getYieldVaultPositionPerformance(requestParameters: GetYieldVaultPositionPerformanceRequest, initOverrides?: RequestInit): Promise<YieldVaultPositionPerformance>;
|
|
3463
3464
|
/**
|
|
3464
|
-
* Returns accrued
|
|
3465
|
+
* Returns accrued rewards for the given wallet address in the specified vault: Merkl campaign rewards for Morpho vaults and farm rewards for Kamino vaults. Returns an empty rewards array when none exist. Responds 400 for Aave vaults, which have no rewards.
|
|
3465
3466
|
* Get user rewards in vault
|
|
3466
3467
|
*/
|
|
3467
3468
|
getYieldVaultRewardsRaw(requestParameters: GetYieldVaultRewardsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultRewardsResponse>>;
|
|
3468
3469
|
/**
|
|
3469
|
-
* Returns accrued
|
|
3470
|
+
* Returns accrued rewards for the given wallet address in the specified vault: Merkl campaign rewards for Morpho vaults and farm rewards for Kamino vaults. Returns an empty rewards array when none exist. Responds 400 for Aave vaults, which have no rewards.
|
|
3470
3471
|
* Get user rewards in vault
|
|
3471
3472
|
*/
|
|
3472
3473
|
getYieldVaultRewards(requestParameters: GetYieldVaultRewardsRequest, initOverrides?: RequestInit): Promise<YieldVaultRewardsResponse>;
|
|
@@ -3623,12 +3624,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3623
3624
|
*/
|
|
3624
3625
|
listMfaMethodsOptions(requestParameters: ListMfaMethodsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3625
3626
|
/**
|
|
3626
|
-
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from
|
|
3627
|
+
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from its provider on a best-effort basis.
|
|
3627
3628
|
* List yield vaults
|
|
3628
3629
|
*/
|
|
3629
3630
|
listYieldVaultsRaw(requestParameters: ListYieldVaultsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultListResponse>>;
|
|
3630
3631
|
/**
|
|
3631
|
-
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from
|
|
3632
|
+
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from its provider on a best-effort basis.
|
|
3632
3633
|
* List yield vaults
|
|
3633
3634
|
*/
|
|
3634
3635
|
listYieldVaults(requestParameters: ListYieldVaultsRequest, initOverrides?: RequestInit): Promise<YieldVaultListResponse>;
|
|
@@ -5607,12 +5608,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
5607
5608
|
*/
|
|
5608
5609
|
yieldEarningsOptions(requestParameters: YieldEarningsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
5609
5610
|
/**
|
|
5610
|
-
* Builds an unsigned
|
|
5611
|
+
* Builds an unsigned claim signing payload for the reward token(s) earned through this vault: a Merkl Distributor claim for Morpho vaults, or an ordered sequence of Solana transactions, one per reward farm, for Kamino vaults. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed. Responds 400 for Aave vaults, which have no rewards.
|
|
5611
5612
|
* Build a vault reward-claim signing payload
|
|
5612
5613
|
*/
|
|
5613
5614
|
yieldVaultClaimRaw(requestParameters: YieldVaultClaimOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultActionResponse>>;
|
|
5614
5615
|
/**
|
|
5615
|
-
* Builds an unsigned
|
|
5616
|
+
* Builds an unsigned claim signing payload for the reward token(s) earned through this vault: a Merkl Distributor claim for Morpho vaults, or an ordered sequence of Solana transactions, one per reward farm, for Kamino vaults. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed. Responds 400 for Aave vaults, which have no rewards.
|
|
5616
5617
|
* Build a vault reward-claim signing payload
|
|
5617
5618
|
*/
|
|
5618
5619
|
yieldVaultClaim(requestParameters: YieldVaultClaimOperationRequest, initOverrides?: RequestInit): Promise<YieldVaultActionResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -214,6 +214,7 @@ import { InlineResponse2006FromJSON } from '../models/InlineResponse2006.js';
|
|
|
214
214
|
import { InlineResponse2007FromJSON } from '../models/InlineResponse2007.js';
|
|
215
215
|
import { InlineResponse2008FromJSON } from '../models/InlineResponse2008.js';
|
|
216
216
|
import { InlineResponse2009FromJSON } from '../models/InlineResponse2009.js';
|
|
217
|
+
import '../models/InternalPermissionEnum.js';
|
|
217
218
|
import '../models/InviteStatusEnum.js';
|
|
218
219
|
import '../models/RoleEnum.js';
|
|
219
220
|
import { JwksResponseFromJSON } from '../models/JwksResponse.js';
|
|
@@ -6062,7 +6063,7 @@ class SDKApi extends BaseAPI {
|
|
|
6062
6063
|
await this.getWalletTransactionsOptionsRaw(requestParameters, initOverrides);
|
|
6063
6064
|
}
|
|
6064
6065
|
/**
|
|
6065
|
-
* Returns the wallet\'s earnings across every
|
|
6066
|
+
* Returns the wallet\'s earnings across every yield-vault position it holds on the given chain, as a per-vault breakdown plus USD totals. `chainName` selects the chain family — `EVM` covers Morpho and Aave vaults, `SOL` covers Kamino vaults — and defaults to `EVM`; `chainId` selects the chain within it. Providers only aggregate within a single chain, so `chainId` is required. Totals are USD-denominated because each vault\'s earnings are expressed in its own underlying asset and are therefore not additive. Positions in vaults this environment does not offer are still included, with a null `vaultId`. Aave reports no earnings, so its positions carry null `pnl`, `pnlUsd` and `roe`; Kamino reports no time-weighted return, so its positions carry a null `roe`.
|
|
6066
6067
|
* Get a wallet\'s earnings across all vaults on one chain
|
|
6067
6068
|
*/
|
|
6068
6069
|
async getYieldEarningsRaw(requestParameters, initOverrides) {
|
|
@@ -6082,6 +6083,9 @@ class SDKApi extends BaseAPI {
|
|
|
6082
6083
|
if (requestParameters.chainId !== undefined) {
|
|
6083
6084
|
queryParameters['chainId'] = requestParameters.chainId;
|
|
6084
6085
|
}
|
|
6086
|
+
if (requestParameters.chainName !== undefined) {
|
|
6087
|
+
queryParameters['chainName'] = requestParameters.chainName;
|
|
6088
|
+
}
|
|
6085
6089
|
const headerParameters = {};
|
|
6086
6090
|
const response = await this.request({
|
|
6087
6091
|
path: `/sdk/{environmentId}/yield/earnings`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
@@ -6092,7 +6096,7 @@ class SDKApi extends BaseAPI {
|
|
|
6092
6096
|
return new JSONApiResponse(response, (jsonValue) => YieldEarningsFromJSON(jsonValue));
|
|
6093
6097
|
}
|
|
6094
6098
|
/**
|
|
6095
|
-
* Returns the wallet\'s earnings across every
|
|
6099
|
+
* Returns the wallet\'s earnings across every yield-vault position it holds on the given chain, as a per-vault breakdown plus USD totals. `chainName` selects the chain family — `EVM` covers Morpho and Aave vaults, `SOL` covers Kamino vaults — and defaults to `EVM`; `chainId` selects the chain within it. Providers only aggregate within a single chain, so `chainId` is required. Totals are USD-denominated because each vault\'s earnings are expressed in its own underlying asset and are therefore not additive. Positions in vaults this environment does not offer are still included, with a null `vaultId`. Aave reports no earnings, so its positions carry null `pnl`, `pnlUsd` and `roe`; Kamino reports no time-weighted return, so its positions carry a null `roe`.
|
|
6096
6100
|
* Get a wallet\'s earnings across all vaults on one chain
|
|
6097
6101
|
*/
|
|
6098
6102
|
async getYieldEarnings(requestParameters, initOverrides) {
|
|
@@ -6100,7 +6104,7 @@ class SDKApi extends BaseAPI {
|
|
|
6100
6104
|
return await response.value();
|
|
6101
6105
|
}
|
|
6102
6106
|
/**
|
|
6103
|
-
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live
|
|
6107
|
+
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live data from the vault\'s provider on a best-effort basis.
|
|
6104
6108
|
* Get vault details
|
|
6105
6109
|
*/
|
|
6106
6110
|
async getYieldVaultDetailsRaw(requestParameters, initOverrides) {
|
|
@@ -6121,7 +6125,7 @@ class SDKApi extends BaseAPI {
|
|
|
6121
6125
|
return new JSONApiResponse(response, (jsonValue) => YieldVaultDetailsFromJSON(jsonValue));
|
|
6122
6126
|
}
|
|
6123
6127
|
/**
|
|
6124
|
-
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live
|
|
6128
|
+
* Returns full details for a single vault identified by its opaque vaultId. Vault must be accessible to the environment (public or org-private match). Enriched with live data from the vault\'s provider on a best-effort basis.
|
|
6125
6129
|
* Get vault details
|
|
6126
6130
|
*/
|
|
6127
6131
|
async getYieldVaultDetails(requestParameters, initOverrides) {
|
|
@@ -6164,7 +6168,7 @@ class SDKApi extends BaseAPI {
|
|
|
6164
6168
|
return await response.value();
|
|
6165
6169
|
}
|
|
6166
6170
|
/**
|
|
6167
|
-
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by Morpho. Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now.
|
|
6171
|
+
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by the vault\'s provider (Morpho and Kamino). Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now. Kamino does not report a time-weighted return, so `returnOnCapital` is always null for Kamino vaults. Responds 400 for Aave vaults, which report no earnings.
|
|
6168
6172
|
* Get earnings for a user position in a vault
|
|
6169
6173
|
*/
|
|
6170
6174
|
async getYieldVaultPositionPerformanceRaw(requestParameters, initOverrides) {
|
|
@@ -6191,7 +6195,7 @@ class SDKApi extends BaseAPI {
|
|
|
6191
6195
|
return new JSONApiResponse(response, (jsonValue) => YieldVaultPositionPerformanceFromJSON(jsonValue));
|
|
6192
6196
|
}
|
|
6193
6197
|
/**
|
|
6194
|
-
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by Morpho. Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now.
|
|
6198
|
+
* Returns net earnings and return on capital for the given wallet address in the specified vault, as indexed by the vault\'s provider (Morpho and Kamino). Indexed figures trail the chain head, so the balances from the position endpoint remain the live source of truth for what a position is worth now. Kamino does not report a time-weighted return, so `returnOnCapital` is always null for Kamino vaults. Responds 400 for Aave vaults, which report no earnings.
|
|
6195
6199
|
* Get earnings for a user position in a vault
|
|
6196
6200
|
*/
|
|
6197
6201
|
async getYieldVaultPositionPerformance(requestParameters, initOverrides) {
|
|
@@ -6199,7 +6203,7 @@ class SDKApi extends BaseAPI {
|
|
|
6199
6203
|
return await response.value();
|
|
6200
6204
|
}
|
|
6201
6205
|
/**
|
|
6202
|
-
* Returns accrued
|
|
6206
|
+
* Returns accrued rewards for the given wallet address in the specified vault: Merkl campaign rewards for Morpho vaults and farm rewards for Kamino vaults. Returns an empty rewards array when none exist. Responds 400 for Aave vaults, which have no rewards.
|
|
6203
6207
|
* Get user rewards in vault
|
|
6204
6208
|
*/
|
|
6205
6209
|
async getYieldVaultRewardsRaw(requestParameters, initOverrides) {
|
|
@@ -6226,7 +6230,7 @@ class SDKApi extends BaseAPI {
|
|
|
6226
6230
|
return new JSONApiResponse(response, (jsonValue) => YieldVaultRewardsResponseFromJSON(jsonValue));
|
|
6227
6231
|
}
|
|
6228
6232
|
/**
|
|
6229
|
-
* Returns accrued
|
|
6233
|
+
* Returns accrued rewards for the given wallet address in the specified vault: Merkl campaign rewards for Morpho vaults and farm rewards for Kamino vaults. Returns an empty rewards array when none exist. Responds 400 for Aave vaults, which have no rewards.
|
|
6230
6234
|
* Get user rewards in vault
|
|
6231
6235
|
*/
|
|
6232
6236
|
async getYieldVaultRewards(requestParameters, initOverrides) {
|
|
@@ -6743,7 +6747,7 @@ class SDKApi extends BaseAPI {
|
|
|
6743
6747
|
await this.listMfaMethodsOptionsRaw(requestParameters, initOverrides);
|
|
6744
6748
|
}
|
|
6745
6749
|
/**
|
|
6746
|
-
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from
|
|
6750
|
+
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from its provider on a best-effort basis.
|
|
6747
6751
|
* List yield vaults
|
|
6748
6752
|
*/
|
|
6749
6753
|
async listYieldVaultsRaw(requestParameters, initOverrides) {
|
|
@@ -6761,7 +6765,7 @@ class SDKApi extends BaseAPI {
|
|
|
6761
6765
|
return new JSONApiResponse(response, (jsonValue) => YieldVaultListResponseFromJSON(jsonValue));
|
|
6762
6766
|
}
|
|
6763
6767
|
/**
|
|
6764
|
-
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from
|
|
6768
|
+
* Returns the yield vaults available to this environment. Public vaults (project_environment_id IS NULL) are included for every caller; private vaults are included only for the matching environment. Each vault is enriched with live net APY and TVL from its provider on a best-effort basis.
|
|
6765
6769
|
* List yield vaults
|
|
6766
6770
|
*/
|
|
6767
6771
|
async listYieldVaults(requestParameters, initOverrides) {
|
|
@@ -13459,7 +13463,7 @@ class SDKApi extends BaseAPI {
|
|
|
13459
13463
|
await this.yieldEarningsOptionsRaw(requestParameters, initOverrides);
|
|
13460
13464
|
}
|
|
13461
13465
|
/**
|
|
13462
|
-
* Builds an unsigned
|
|
13466
|
+
* Builds an unsigned claim signing payload for the reward token(s) earned through this vault: a Merkl Distributor claim for Morpho vaults, or an ordered sequence of Solana transactions, one per reward farm, for Kamino vaults. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed. Responds 400 for Aave vaults, which have no rewards.
|
|
13463
13467
|
* Build a vault reward-claim signing payload
|
|
13464
13468
|
*/
|
|
13465
13469
|
async yieldVaultClaimRaw(requestParameters, initOverrides) {
|
|
@@ -13485,7 +13489,7 @@ class SDKApi extends BaseAPI {
|
|
|
13485
13489
|
return new JSONApiResponse(response, (jsonValue) => YieldVaultActionResponseFromJSON(jsonValue));
|
|
13486
13490
|
}
|
|
13487
13491
|
/**
|
|
13488
|
-
* Builds an unsigned
|
|
13492
|
+
* Builds an unsigned claim signing payload for the reward token(s) earned through this vault: a Merkl Distributor claim for Morpho vaults, or an ordered sequence of Solana transactions, one per reward farm, for Kamino vaults. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed. Responds 400 for Aave vaults, which have no rewards.
|
|
13489
13493
|
* Build a vault reward-claim signing payload
|
|
13490
13494
|
*/
|
|
13491
13495
|
async yieldVaultClaim(requestParameters, initOverrides) {
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -134,6 +134,7 @@ import '../models/InlineObject2.js';
|
|
|
134
134
|
import '../models/InlineObject3.js';
|
|
135
135
|
import '../models/InlineObject4.js';
|
|
136
136
|
import '../models/InlineObject5.js';
|
|
137
|
+
import '../models/InternalPermissionEnum.js';
|
|
137
138
|
import '../models/InviteStatusEnum.js';
|
|
138
139
|
import '../models/RoleEnum.js';
|
|
139
140
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -161,6 +161,7 @@ import '../models/InlineObject2.js';
|
|
|
161
161
|
import '../models/InlineObject3.js';
|
|
162
162
|
import '../models/InlineObject4.js';
|
|
163
163
|
import '../models/InlineObject5.js';
|
|
164
|
+
import '../models/InternalPermissionEnum.js';
|
|
164
165
|
import '../models/InviteStatusEnum.js';
|
|
165
166
|
import '../models/RoleEnum.js';
|
|
166
167
|
import '../models/JwtScope.js';
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -137,6 +137,7 @@ import '../models/InlineObject2.js';
|
|
|
137
137
|
import '../models/InlineObject3.js';
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
|
+
import '../models/InternalPermissionEnum.js';
|
|
140
141
|
import '../models/InviteStatusEnum.js';
|
|
141
142
|
import '../models/RoleEnum.js';
|
|
142
143
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -138,6 +138,7 @@ import '../models/InlineObject3.js';
|
|
|
138
138
|
import '../models/InlineObject4.js';
|
|
139
139
|
import '../models/InlineObject5.js';
|
|
140
140
|
import { InternalBulkUpdateUserFieldsToJSON } from '../models/InternalBulkUpdateUserFields.js';
|
|
141
|
+
import '../models/InternalPermissionEnum.js';
|
|
141
142
|
import { InternalUpdatableUserFieldsToJSON } from '../models/InternalUpdatableUserFields.js';
|
|
142
143
|
import { InternalUserFieldsToJSON } from '../models/InternalUserFields.js';
|
|
143
144
|
import '../models/InviteStatusEnum.js';
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -140,6 +140,7 @@ import '../models/InlineObject2.js';
|
|
|
140
140
|
import '../models/InlineObject3.js';
|
|
141
141
|
import '../models/InlineObject4.js';
|
|
142
142
|
import '../models/InlineObject5.js';
|
|
143
|
+
import '../models/InternalPermissionEnum.js';
|
|
143
144
|
import '../models/InviteStatusEnum.js';
|
|
144
145
|
import '../models/RoleEnum.js';
|
|
145
146
|
import '../models/JwtScope.js';
|
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -140,6 +140,7 @@ import '../models/InlineObject2.js';
|
|
|
140
140
|
import '../models/InlineObject3.js';
|
|
141
141
|
import '../models/InlineObject4.js';
|
|
142
142
|
import '../models/InlineObject5.js';
|
|
143
|
+
import '../models/InternalPermissionEnum.js';
|
|
143
144
|
import '../models/InviteStatusEnum.js';
|
|
144
145
|
import '../models/RoleEnum.js';
|
|
145
146
|
import '../models/JwtScope.js';
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/YieldApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -136,6 +136,7 @@ import '../models/InlineObject2.js';
|
|
|
136
136
|
import '../models/InlineObject3.js';
|
|
137
137
|
import '../models/InlineObject4.js';
|
|
138
138
|
import '../models/InlineObject5.js';
|
|
139
|
+
import '../models/InternalPermissionEnum.js';
|
|
139
140
|
import '../models/InviteStatusEnum.js';
|
|
140
141
|
import '../models/RoleEnum.js';
|
|
141
142
|
import '../models/JwtScope.js';
|
package/src/index.js
CHANGED
|
@@ -497,6 +497,7 @@ export { InlineResponse410FromJSON, InlineResponse410FromJSONTyped, InlineRespon
|
|
|
497
497
|
export { IntegrationSettingFromJSON, IntegrationSettingFromJSONTyped, IntegrationSettingToJSON } from './models/IntegrationSetting.js';
|
|
498
498
|
export { InternalBulkUpdateUserFieldsFromJSON, InternalBulkUpdateUserFieldsFromJSONTyped, InternalBulkUpdateUserFieldsToJSON } from './models/InternalBulkUpdateUserFields.js';
|
|
499
499
|
export { InternalBulkUpdateUserFieldsAllOfFromJSON, InternalBulkUpdateUserFieldsAllOfFromJSONTyped, InternalBulkUpdateUserFieldsAllOfToJSON } from './models/InternalBulkUpdateUserFieldsAllOf.js';
|
|
500
|
+
export { InternalPermissionEnum, InternalPermissionEnumFromJSON, InternalPermissionEnumFromJSONTyped, InternalPermissionEnumToJSON } from './models/InternalPermissionEnum.js';
|
|
500
501
|
export { InternalServerErrorFromJSON, InternalServerErrorFromJSONTyped, InternalServerErrorToJSON } from './models/InternalServerError.js';
|
|
501
502
|
export { InternalUpdatableUserFieldsFromJSON, InternalUpdatableUserFieldsFromJSONTyped, InternalUpdatableUserFieldsToJSON } from './models/InternalUpdatableUserFields.js';
|
|
502
503
|
export { InternalUserFieldsFromJSON, InternalUserFieldsFromJSONTyped, InternalUserFieldsToJSON } from './models/InternalUserFields.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum InternalPermissionEnum {
|
|
18
|
+
Billing = "billing",
|
|
19
|
+
SwapPolicy = "swap_policy",
|
|
20
|
+
Support = "support",
|
|
21
|
+
YieldVaults = "yield_vaults",
|
|
22
|
+
OrganizationLock = "organization_lock"
|
|
23
|
+
}
|
|
24
|
+
export declare function InternalPermissionEnumFromJSON(json: any): InternalPermissionEnum;
|
|
25
|
+
export declare function InternalPermissionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalPermissionEnum;
|
|
26
|
+
export declare function InternalPermissionEnumToJSON(value?: InternalPermissionEnum | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var InternalPermissionEnum;
|
|
20
|
+
(function (InternalPermissionEnum) {
|
|
21
|
+
InternalPermissionEnum["Billing"] = "billing";
|
|
22
|
+
InternalPermissionEnum["SwapPolicy"] = "swap_policy";
|
|
23
|
+
InternalPermissionEnum["Support"] = "support";
|
|
24
|
+
InternalPermissionEnum["YieldVaults"] = "yield_vaults";
|
|
25
|
+
InternalPermissionEnum["OrganizationLock"] = "organization_lock";
|
|
26
|
+
})(InternalPermissionEnum || (InternalPermissionEnum = {}));
|
|
27
|
+
function InternalPermissionEnumFromJSON(json) {
|
|
28
|
+
return InternalPermissionEnumFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function InternalPermissionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function InternalPermissionEnumToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { InternalPermissionEnum, InternalPermissionEnumFromJSON, InternalPermissionEnumFromJSONTyped, InternalPermissionEnumToJSON };
|
package/src/models/Invite.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InternalPermissionEnum } from './InternalPermissionEnum';
|
|
12
13
|
import { InviteStatusEnum } from './InviteStatusEnum';
|
|
13
14
|
import { RoleEnum } from './RoleEnum';
|
|
14
15
|
/**
|
|
@@ -65,6 +66,12 @@ export interface Invite {
|
|
|
65
66
|
* @memberof Invite
|
|
66
67
|
*/
|
|
67
68
|
role?: RoleEnum;
|
|
69
|
+
/**
|
|
70
|
+
* Internal permissions granted to the member
|
|
71
|
+
* @type {Array<InternalPermissionEnum>}
|
|
72
|
+
* @memberof Invite
|
|
73
|
+
*/
|
|
74
|
+
internalPermissions?: Array<InternalPermissionEnum>;
|
|
68
75
|
/**
|
|
69
76
|
* Email of the user that created the invitation
|
|
70
77
|
* @type {string}
|
package/src/models/Invite.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { InternalPermissionEnumFromJSON, InternalPermissionEnumToJSON } from './InternalPermissionEnum.js';
|
|
2
3
|
import { InviteStatusEnumFromJSON, InviteStatusEnumToJSON } from './InviteStatusEnum.js';
|
|
3
4
|
import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
|
|
4
5
|
|
|
@@ -19,6 +20,7 @@ function InviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
20
21
|
'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
|
|
21
22
|
'role': !exists(json, 'role') ? undefined : RoleEnumFromJSON(json['role']),
|
|
23
|
+
'internalPermissions': !exists(json, 'internalPermissions') ? undefined : (json['internalPermissions'].map(InternalPermissionEnumFromJSON)),
|
|
22
24
|
'createdByEmail': !exists(json, 'createdByEmail') ? undefined : json['createdByEmail'],
|
|
23
25
|
};
|
|
24
26
|
}
|
|
@@ -38,6 +40,7 @@ function InviteToJSON(value) {
|
|
|
38
40
|
'alias': value.alias,
|
|
39
41
|
'walletPublicKey': value.walletPublicKey,
|
|
40
42
|
'role': RoleEnumToJSON(value.role),
|
|
43
|
+
'internalPermissions': value.internalPermissions === undefined ? undefined : (value.internalPermissions.map(InternalPermissionEnumToJSON)),
|
|
41
44
|
'createdByEmail': value.createdByEmail,
|
|
42
45
|
};
|
|
43
46
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InternalPermissionEnum } from './InternalPermissionEnum';
|
|
12
13
|
import { RoleEnum } from './RoleEnum';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -46,6 +47,12 @@ export interface InviteSendRequest {
|
|
|
46
47
|
* @memberof InviteSendRequest
|
|
47
48
|
*/
|
|
48
49
|
role: RoleEnum;
|
|
50
|
+
/**
|
|
51
|
+
* Internal permissions granted to the member
|
|
52
|
+
* @type {Array<InternalPermissionEnum>}
|
|
53
|
+
* @memberof InviteSendRequest
|
|
54
|
+
*/
|
|
55
|
+
internalPermissions?: Array<InternalPermissionEnum>;
|
|
49
56
|
}
|
|
50
57
|
export declare function InviteSendRequestFromJSON(json: any): InviteSendRequest;
|
|
51
58
|
export declare function InviteSendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteSendRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { InternalPermissionEnumFromJSON, InternalPermissionEnumToJSON } from './InternalPermissionEnum.js';
|
|
2
3
|
import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function InviteSendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
16
17
|
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
17
18
|
'role': RoleEnumFromJSON(json['role']),
|
|
19
|
+
'internalPermissions': !exists(json, 'internalPermissions') ? undefined : (json['internalPermissions'].map(InternalPermissionEnumFromJSON)),
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
function InviteSendRequestToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function InviteSendRequestToJSON(value) {
|
|
|
30
32
|
'email': value.email,
|
|
31
33
|
'phoneNumber': value.phoneNumber,
|
|
32
34
|
'role': RoleEnumToJSON(value.role),
|
|
35
|
+
'internalPermissions': value.internalPermissions === undefined ? undefined : (value.internalPermissions.map(InternalPermissionEnumToJSON)),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InternalPermissionEnum } from './InternalPermissionEnum';
|
|
12
13
|
import { RoleEnum } from './RoleEnum';
|
|
13
14
|
/**
|
|
14
15
|
* Member role field which can be updated
|
|
@@ -22,6 +23,12 @@ export interface MemberRoleField {
|
|
|
22
23
|
* @memberof MemberRoleField
|
|
23
24
|
*/
|
|
24
25
|
role?: RoleEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Internal permissions granted to the member
|
|
28
|
+
* @type {Array<InternalPermissionEnum>}
|
|
29
|
+
* @memberof MemberRoleField
|
|
30
|
+
*/
|
|
31
|
+
internalPermissions?: Array<InternalPermissionEnum>;
|
|
25
32
|
}
|
|
26
33
|
export declare function MemberRoleFieldFromJSON(json: any): MemberRoleField;
|
|
27
34
|
export declare function MemberRoleFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemberRoleField;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { InternalPermissionEnumFromJSON, InternalPermissionEnumToJSON } from './InternalPermissionEnum.js';
|
|
2
3
|
import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -11,6 +12,7 @@ function MemberRoleFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
12
|
}
|
|
12
13
|
return {
|
|
13
14
|
'role': !exists(json, 'role') ? undefined : RoleEnumFromJSON(json['role']),
|
|
15
|
+
'internalPermissions': !exists(json, 'internalPermissions') ? undefined : (json['internalPermissions'].map(InternalPermissionEnumFromJSON)),
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
function MemberRoleFieldToJSON(value) {
|
|
@@ -22,6 +24,7 @@ function MemberRoleFieldToJSON(value) {
|
|
|
22
24
|
}
|
|
23
25
|
return {
|
|
24
26
|
'role': RoleEnumToJSON(value.role),
|
|
27
|
+
'internalPermissions': value.internalPermissions === undefined ? undefined : (value.internalPermissions.map(InternalPermissionEnumToJSON)),
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InternalPermissionEnum } from './InternalPermissionEnum';
|
|
12
13
|
import { OrganizationAddressFields } from './OrganizationAddressFields';
|
|
13
14
|
import { RoleEnum } from './RoleEnum';
|
|
14
15
|
/**
|
|
@@ -59,6 +60,12 @@ export interface Organization {
|
|
|
59
60
|
* @memberof Organization
|
|
60
61
|
*/
|
|
61
62
|
role?: RoleEnum;
|
|
63
|
+
/**
|
|
64
|
+
* Internal permissions granted to the member
|
|
65
|
+
* @type {Array<InternalPermissionEnum>}
|
|
66
|
+
* @memberof Organization
|
|
67
|
+
*/
|
|
68
|
+
internalPermissions?: Array<InternalPermissionEnum>;
|
|
62
69
|
}
|
|
63
70
|
export declare function OrganizationFromJSON(json: any): Organization;
|
|
64
71
|
export declare function OrganizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Organization;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { InternalPermissionEnumFromJSON, InternalPermissionEnumToJSON } from './InternalPermissionEnum.js';
|
|
2
3
|
import { OrganizationAddressFieldsFromJSON, OrganizationAddressFieldsToJSON } from './OrganizationAddressFields.js';
|
|
3
4
|
import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
|
|
4
5
|
|
|
@@ -18,6 +19,7 @@ function OrganizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
19
|
'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
19
20
|
'address': !exists(json, 'address') ? undefined : OrganizationAddressFieldsFromJSON(json['address']),
|
|
20
21
|
'role': !exists(json, 'role') ? undefined : RoleEnumFromJSON(json['role']),
|
|
22
|
+
'internalPermissions': !exists(json, 'internalPermissions') ? undefined : (json['internalPermissions'].map(InternalPermissionEnumFromJSON)),
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
function OrganizationToJSON(value) {
|
|
@@ -35,6 +37,7 @@ function OrganizationToJSON(value) {
|
|
|
35
37
|
'countryCode': value.countryCode,
|
|
36
38
|
'address': OrganizationAddressFieldsToJSON(value.address),
|
|
37
39
|
'role': RoleEnumToJSON(value.role),
|
|
40
|
+
'internalPermissions': value.internalPermissions === undefined ? undefined : (value.internalPermissions.map(InternalPermissionEnumToJSON)),
|
|
38
41
|
};
|
|
39
42
|
}
|
|
40
43
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InternalPermissionEnum } from './InternalPermissionEnum';
|
|
12
13
|
import { RoleEnum } from './RoleEnum';
|
|
13
14
|
import { User } from './User';
|
|
14
15
|
/**
|
|
@@ -35,6 +36,12 @@ export interface OrganizationMember {
|
|
|
35
36
|
* @memberof OrganizationMember
|
|
36
37
|
*/
|
|
37
38
|
role: RoleEnum;
|
|
39
|
+
/**
|
|
40
|
+
* Internal permissions granted to the member
|
|
41
|
+
* @type {Array<InternalPermissionEnum>}
|
|
42
|
+
* @memberof OrganizationMember
|
|
43
|
+
*/
|
|
44
|
+
internalPermissions?: Array<InternalPermissionEnum>;
|
|
38
45
|
}
|
|
39
46
|
export declare function OrganizationMemberFromJSON(json: any): OrganizationMember;
|
|
40
47
|
export declare function OrganizationMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMember;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { InternalPermissionEnumFromJSON, InternalPermissionEnumToJSON } from './InternalPermissionEnum.js';
|
|
1
3
|
import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
|
|
2
4
|
import { UserFromJSON, UserToJSON } from './User.js';
|
|
3
5
|
|
|
@@ -13,6 +15,7 @@ function OrganizationMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
15
|
'id': json['id'],
|
|
14
16
|
'user': UserFromJSON(json['user']),
|
|
15
17
|
'role': RoleEnumFromJSON(json['role']),
|
|
18
|
+
'internalPermissions': !exists(json, 'internalPermissions') ? undefined : (json['internalPermissions'].map(InternalPermissionEnumFromJSON)),
|
|
16
19
|
};
|
|
17
20
|
}
|
|
18
21
|
function OrganizationMemberToJSON(value) {
|
|
@@ -26,6 +29,7 @@ function OrganizationMemberToJSON(value) {
|
|
|
26
29
|
'id': value.id,
|
|
27
30
|
'user': UserToJSON(value.user),
|
|
28
31
|
'role': RoleEnumToJSON(value.role),
|
|
32
|
+
'internalPermissions': value.internalPermissions === undefined ? undefined : (value.internalPermissions.map(InternalPermissionEnumToJSON)),
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -17,7 +17,7 @@ import { YieldVaultEarnings } from './YieldVaultEarnings';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface YieldEarnings {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Chain id the earnings were aggregated on: an EVM chain id, or the Solana cluster id.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof YieldEarnings
|
|
23
23
|
*/
|
|
@@ -22,31 +22,31 @@ export interface YieldVaultEarnings {
|
|
|
22
22
|
*/
|
|
23
23
|
assets: string;
|
|
24
24
|
/**
|
|
25
|
-
* Position size in USD. Null when
|
|
25
|
+
* Position size in USD. Null when the provider has no price for the underlying token.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof YieldVaultEarnings
|
|
28
28
|
*/
|
|
29
29
|
assetsUsd: number | null;
|
|
30
30
|
/**
|
|
31
|
-
* Earnings on the position, in raw units of the vault's underlying token. Null while the position has too little history to compute it.
|
|
31
|
+
* Earnings on the position, in raw units of the vault's underlying token. Null while the position has too little history to compute it, or when the provider reports no earnings (Aave).
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof YieldVaultEarnings
|
|
34
34
|
*/
|
|
35
35
|
pnl: string | null;
|
|
36
36
|
/**
|
|
37
|
-
* Earnings on the position in USD. Null when
|
|
37
|
+
* Earnings on the position in USD. Null when the provider has no price for the underlying token, or reports no earnings (Aave).
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof YieldVaultEarnings
|
|
40
40
|
*/
|
|
41
41
|
pnlUsd: number | null;
|
|
42
42
|
/**
|
|
43
|
-
* Time-weighted, non-annualized return on equity since inception, as a decimal. Null while the position has too little history to compute it.
|
|
43
|
+
* Time-weighted, non-annualized return on equity since inception, as a decimal. Null while the position has too little history to compute it, or when the provider reports none (Aave, Kamino).
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof YieldVaultEarnings
|
|
46
46
|
*/
|
|
47
47
|
roe: number | null;
|
|
48
48
|
/**
|
|
49
|
-
* Vault
|
|
49
|
+
* Vault address as reported by the provider.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof YieldVaultEarnings
|
|
52
52
|
*/
|
|
@@ -28,7 +28,7 @@ export interface YieldVaultPositionPerformance {
|
|
|
28
28
|
*/
|
|
29
29
|
ownerAddress: string;
|
|
30
30
|
/**
|
|
31
|
-
* Time-weighted, non-annualized return on capital since inception, as a decimal. Null while the position has too little history to compute it.
|
|
31
|
+
* Time-weighted, non-annualized return on capital since inception, as a decimal. Null while the position has too little history to compute it, or when the provider reports none (Kamino).
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof YieldVaultPositionPerformance
|
|
34
34
|
*/
|
package/src/models/index.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ export * from './InlineResponse410';
|
|
|
444
444
|
export * from './IntegrationSetting';
|
|
445
445
|
export * from './InternalBulkUpdateUserFields';
|
|
446
446
|
export * from './InternalBulkUpdateUserFieldsAllOf';
|
|
447
|
+
export * from './InternalPermissionEnum';
|
|
447
448
|
export * from './InternalServerError';
|
|
448
449
|
export * from './InternalUpdatableUserFields';
|
|
449
450
|
export * from './InternalUserFields';
|