@dynamic-labs/sdk-api 0.0.431 → 0.0.433
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/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +115 -0
- package/src/apis/SDKApi.d.ts +54 -1
- package/src/apis/SDKApi.js +116 -1
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +20 -0
- package/src/index.js +3 -2
- package/src/models/Provider.cjs +11 -0
- package/src/models/Provider.d.ts +14 -0
- package/src/models/Provider.js +12 -1
- package/src/models/TokenBalance.cjs +47 -0
- package/src/models/TokenBalance.d.ts +69 -0
- package/src/models/TokenBalance.js +41 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -35,6 +35,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
35
35
|
require('../models/SdkViewSectionType.cjs');
|
|
36
36
|
require('../models/SdkViewType.cjs');
|
|
37
37
|
require('../models/MFADeviceType.cjs');
|
|
38
|
+
require('../models/Provider.cjs');
|
|
38
39
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
39
40
|
require('../models/ExportFormatEnum.cjs');
|
|
40
41
|
require('../models/ExportModelEnum.cjs');
|
|
@@ -31,6 +31,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
31
31
|
import '../models/SdkViewSectionType.js';
|
|
32
32
|
import '../models/SdkViewType.js';
|
|
33
33
|
import '../models/MFADeviceType.js';
|
|
34
|
+
import '../models/Provider.js';
|
|
34
35
|
import '../models/UserFilterableFieldsEnum.js';
|
|
35
36
|
import '../models/ExportFormatEnum.js';
|
|
36
37
|
import '../models/ExportModelEnum.js';
|
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/AnalyticsApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/ChainsApi.cjs
CHANGED
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/ChainsApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
|
@@ -34,6 +34,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
34
34
|
require('../models/SdkViewSectionType.cjs');
|
|
35
35
|
require('../models/SdkViewType.cjs');
|
|
36
36
|
require('../models/MFADeviceType.cjs');
|
|
37
|
+
require('../models/Provider.cjs');
|
|
37
38
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
38
39
|
require('../models/ExportFormatEnum.cjs');
|
|
39
40
|
require('../models/ExportModelEnum.cjs');
|
|
@@ -30,6 +30,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
30
30
|
import '../models/SdkViewSectionType.js';
|
|
31
31
|
import '../models/SdkViewType.js';
|
|
32
32
|
import '../models/MFADeviceType.js';
|
|
33
|
+
import '../models/Provider.js';
|
|
33
34
|
import '../models/UserFilterableFieldsEnum.js';
|
|
34
35
|
import '../models/ExportFormatEnum.js';
|
|
35
36
|
import '../models/ExportModelEnum.js';
|
|
@@ -48,6 +48,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
48
48
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
49
49
|
require('../models/SdkViewSectionType.cjs');
|
|
50
50
|
require('../models/SdkViewType.cjs');
|
|
51
|
+
require('../models/Provider.cjs');
|
|
51
52
|
require('../models/PublishEventsEvents.cjs');
|
|
52
53
|
require('../models/SubscriptionAdvancedScopeEnum.cjs');
|
|
53
54
|
require('../models/SubscriptionFreeScopeEnum.cjs');
|
|
@@ -44,6 +44,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
44
44
|
import '../models/SdkViewSectionAlignment.js';
|
|
45
45
|
import '../models/SdkViewSectionType.js';
|
|
46
46
|
import '../models/SdkViewType.js';
|
|
47
|
+
import '../models/Provider.js';
|
|
47
48
|
import '../models/PublishEventsEvents.js';
|
|
48
49
|
import '../models/SubscriptionAdvancedScopeEnum.js';
|
|
49
50
|
import '../models/SubscriptionFreeScopeEnum.js';
|
package/src/apis/EventsApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
var Event = require('../models/Event.cjs');
|
|
36
37
|
var EventType = require('../models/EventType.cjs');
|
|
37
38
|
require('../models/UserFilterableFieldsEnum.cjs');
|
package/src/apis/EventsApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import { EventFromJSON } from '../models/Event.js';
|
|
32
33
|
import { EventTypeFromJSON } from '../models/EventType.js';
|
|
33
34
|
import '../models/UserFilterableFieldsEnum.js';
|
package/src/apis/ExportsApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
var Export = require('../models/Export.cjs');
|
|
36
37
|
var ExportCreateRequest = require('../models/ExportCreateRequest.cjs');
|
|
37
38
|
require('../models/UserFilterableFieldsEnum.cjs');
|
package/src/apis/ExportsApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import { ExportFromJSON } from '../models/Export.js';
|
|
32
33
|
import { ExportCreateRequestToJSON } from '../models/ExportCreateRequest.js';
|
|
33
34
|
import '../models/UserFilterableFieldsEnum.js';
|
package/src/apis/GatesApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/GatesApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
package/src/apis/InvitesApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/InvitesApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
package/src/apis/MembersApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/MembersApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/OriginsApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
package/src/apis/ProjectsApi.cjs
CHANGED
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -85,6 +85,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
85
85
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
86
86
|
require('../models/SdkViewSectionType.cjs');
|
|
87
87
|
require('../models/SdkViewType.cjs');
|
|
88
|
+
require('../models/Provider.cjs');
|
|
88
89
|
var PublishEvents = require('../models/PublishEvents.cjs');
|
|
89
90
|
require('../models/PublishEventsEvents.cjs');
|
|
90
91
|
var SdkSettingsRequest = require('../models/SdkSettingsRequest.cjs');
|
|
@@ -95,6 +96,7 @@ var SmsVerificationVerifyRequest = require('../models/SmsVerificationVerifyReque
|
|
|
95
96
|
require('../models/SubscriptionAdvancedScopeEnum.cjs');
|
|
96
97
|
require('../models/SubscriptionFreeScopeEnum.cjs');
|
|
97
98
|
var SupportedOnrampsResponse = require('../models/SupportedOnrampsResponse.cjs');
|
|
99
|
+
var TokenBalance = require('../models/TokenBalance.cjs');
|
|
98
100
|
var UpdateRecoveryEmailRequest = require('../models/UpdateRecoveryEmailRequest.cjs');
|
|
99
101
|
var UpdateSelfResponse = require('../models/UpdateSelfResponse.cjs');
|
|
100
102
|
var UpdateUserPasskeyRequest = require('../models/UpdateUserPasskeyRequest.cjs');
|
|
@@ -863,6 +865,91 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
863
865
|
yield this.farcasterSignInOptionsRaw(requestParameters, initOverrides);
|
|
864
866
|
});
|
|
865
867
|
}
|
|
868
|
+
/**
|
|
869
|
+
* Get the token balances for an account
|
|
870
|
+
*/
|
|
871
|
+
getAccountBalancesRaw(requestParameters, initOverrides) {
|
|
872
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
873
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
874
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalances.');
|
|
875
|
+
}
|
|
876
|
+
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
877
|
+
throw new runtime.RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalances.');
|
|
878
|
+
}
|
|
879
|
+
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
880
|
+
throw new runtime.RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalances.');
|
|
881
|
+
}
|
|
882
|
+
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
883
|
+
throw new runtime.RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalances.');
|
|
884
|
+
}
|
|
885
|
+
const queryParameters = {};
|
|
886
|
+
if (requestParameters.networkId !== undefined) {
|
|
887
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
888
|
+
}
|
|
889
|
+
if (requestParameters.accountAddress !== undefined) {
|
|
890
|
+
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
891
|
+
}
|
|
892
|
+
const headerParameters = {};
|
|
893
|
+
const response = yield this.request({
|
|
894
|
+
path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))),
|
|
895
|
+
method: 'GET',
|
|
896
|
+
headers: headerParameters,
|
|
897
|
+
query: queryParameters,
|
|
898
|
+
}, initOverrides);
|
|
899
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TokenBalance.TokenBalanceFromJSON));
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Get the token balances for an account
|
|
904
|
+
*/
|
|
905
|
+
getAccountBalances(requestParameters, initOverrides) {
|
|
906
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
907
|
+
const response = yield this.getAccountBalancesRaw(requestParameters, initOverrides);
|
|
908
|
+
return yield response.value();
|
|
909
|
+
});
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* Options call for this endpoint
|
|
913
|
+
*/
|
|
914
|
+
getAccountBalancesOptionsRaw(requestParameters, initOverrides) {
|
|
915
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
916
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
917
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalancesOptions.');
|
|
918
|
+
}
|
|
919
|
+
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
920
|
+
throw new runtime.RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions.');
|
|
921
|
+
}
|
|
922
|
+
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
923
|
+
throw new runtime.RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions.');
|
|
924
|
+
}
|
|
925
|
+
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
926
|
+
throw new runtime.RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions.');
|
|
927
|
+
}
|
|
928
|
+
const queryParameters = {};
|
|
929
|
+
if (requestParameters.networkId !== undefined) {
|
|
930
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
931
|
+
}
|
|
932
|
+
if (requestParameters.accountAddress !== undefined) {
|
|
933
|
+
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
934
|
+
}
|
|
935
|
+
const headerParameters = {};
|
|
936
|
+
const response = yield this.request({
|
|
937
|
+
path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))),
|
|
938
|
+
method: 'OPTIONS',
|
|
939
|
+
headers: headerParameters,
|
|
940
|
+
query: queryParameters,
|
|
941
|
+
}, initOverrides);
|
|
942
|
+
return new runtime.VoidApiResponse(response);
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* Options call for this endpoint
|
|
947
|
+
*/
|
|
948
|
+
getAccountBalancesOptions(requestParameters, initOverrides) {
|
|
949
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
950
|
+
yield this.getAccountBalancesOptionsRaw(requestParameters, initOverrides);
|
|
951
|
+
});
|
|
952
|
+
}
|
|
866
953
|
/**
|
|
867
954
|
* Get auth token for given embedded wallet type
|
|
868
955
|
*/
|
|
@@ -3874,5 +3961,33 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3874
3961
|
});
|
|
3875
3962
|
}
|
|
3876
3963
|
}
|
|
3964
|
+
/**
|
|
3965
|
+
* @export
|
|
3966
|
+
* @enum {string}
|
|
3967
|
+
*/
|
|
3968
|
+
exports.GetAccountBalancesChainNameEnum = void 0;
|
|
3969
|
+
(function (GetAccountBalancesChainNameEnum) {
|
|
3970
|
+
GetAccountBalancesChainNameEnum["Evm"] = "EVM";
|
|
3971
|
+
})(exports.GetAccountBalancesChainNameEnum || (exports.GetAccountBalancesChainNameEnum = {}));
|
|
3972
|
+
/**
|
|
3973
|
+
* @export
|
|
3974
|
+
* @enum {string}
|
|
3975
|
+
*/
|
|
3976
|
+
exports.GetAccountBalancesNetworkIdEnum = void 0;
|
|
3977
|
+
(function (GetAccountBalancesNetworkIdEnum) {
|
|
3978
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
3979
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_10"] = 10] = "NUMBER_10";
|
|
3980
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_137"] = 137] = "NUMBER_137";
|
|
3981
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_42161"] = 42161] = "NUMBER_42161";
|
|
3982
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_8453"] = 8453] = "NUMBER_8453";
|
|
3983
|
+
})(exports.GetAccountBalancesNetworkIdEnum || (exports.GetAccountBalancesNetworkIdEnum = {}));
|
|
3984
|
+
/**
|
|
3985
|
+
* @export
|
|
3986
|
+
* @enum {string}
|
|
3987
|
+
*/
|
|
3988
|
+
exports.GetAccountBalancesOptionsChainNameEnum = void 0;
|
|
3989
|
+
(function (GetAccountBalancesOptionsChainNameEnum) {
|
|
3990
|
+
GetAccountBalancesOptionsChainNameEnum["Evm"] = "EVM";
|
|
3991
|
+
})(exports.GetAccountBalancesOptionsChainNameEnum || (exports.GetAccountBalancesOptionsChainNameEnum = {}));
|
|
3877
3992
|
|
|
3878
3993
|
exports.SDKApi = SDKApi;
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, Currency, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, FarcasterSignInResponse, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthResponse, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
|
|
13
|
+
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, Currency, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, FarcasterSignInResponse, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthResponse, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, TokenBalance, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
|
|
14
14
|
export interface AuthMfaRecoveryRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
mFAAuthRecoveryDevicePostRequest: MFAAuthRecoveryDevicePostRequest;
|
|
@@ -94,6 +94,18 @@ export interface FarcasterSignInOperationRequest {
|
|
|
94
94
|
export interface FarcasterSignInOptionsRequest {
|
|
95
95
|
environmentId: string;
|
|
96
96
|
}
|
|
97
|
+
export interface GetAccountBalancesRequest {
|
|
98
|
+
environmentId: string;
|
|
99
|
+
chainName: GetAccountBalancesChainNameEnum;
|
|
100
|
+
networkId: GetAccountBalancesNetworkIdEnum;
|
|
101
|
+
accountAddress: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GetAccountBalancesOptionsRequest {
|
|
104
|
+
environmentId: string;
|
|
105
|
+
chainName: GetAccountBalancesOptionsChainNameEnum;
|
|
106
|
+
networkId: number;
|
|
107
|
+
accountAddress: string;
|
|
108
|
+
}
|
|
97
109
|
export interface GetAuthTokenRequest {
|
|
98
110
|
environmentId: string;
|
|
99
111
|
type?: EmbeddedWalletAuthType;
|
|
@@ -625,6 +637,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
625
637
|
* Options call for this endpoint
|
|
626
638
|
*/
|
|
627
639
|
farcasterSignInOptions(requestParameters: FarcasterSignInOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
640
|
+
/**
|
|
641
|
+
* Get the token balances for an account
|
|
642
|
+
*/
|
|
643
|
+
getAccountBalancesRaw(requestParameters: GetAccountBalancesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<TokenBalance>>>;
|
|
644
|
+
/**
|
|
645
|
+
* Get the token balances for an account
|
|
646
|
+
*/
|
|
647
|
+
getAccountBalances(requestParameters: GetAccountBalancesRequest, initOverrides?: RequestInit): Promise<Array<TokenBalance>>;
|
|
648
|
+
/**
|
|
649
|
+
* Options call for this endpoint
|
|
650
|
+
*/
|
|
651
|
+
getAccountBalancesOptionsRaw(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
652
|
+
/**
|
|
653
|
+
* Options call for this endpoint
|
|
654
|
+
*/
|
|
655
|
+
getAccountBalancesOptions(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
628
656
|
/**
|
|
629
657
|
* Get auth token for given embedded wallet type
|
|
630
658
|
*/
|
|
@@ -1398,3 +1426,28 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1398
1426
|
*/
|
|
1399
1427
|
verifyUnlinkOptions(requestParameters: VerifyUnlinkOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1400
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* @export
|
|
1431
|
+
* @enum {string}
|
|
1432
|
+
*/
|
|
1433
|
+
export declare enum GetAccountBalancesChainNameEnum {
|
|
1434
|
+
Evm = "EVM"
|
|
1435
|
+
}
|
|
1436
|
+
/**
|
|
1437
|
+
* @export
|
|
1438
|
+
* @enum {string}
|
|
1439
|
+
*/
|
|
1440
|
+
export declare enum GetAccountBalancesNetworkIdEnum {
|
|
1441
|
+
NUMBER_1 = 1,
|
|
1442
|
+
NUMBER_10 = 10,
|
|
1443
|
+
NUMBER_137 = 137,
|
|
1444
|
+
NUMBER_42161 = 42161,
|
|
1445
|
+
NUMBER_8453 = 8453
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* @export
|
|
1449
|
+
* @enum {string}
|
|
1450
|
+
*/
|
|
1451
|
+
export declare enum GetAccountBalancesOptionsChainNameEnum {
|
|
1452
|
+
Evm = "EVM"
|
|
1453
|
+
}
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -81,6 +81,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
81
81
|
import '../models/SdkViewSectionAlignment.js';
|
|
82
82
|
import '../models/SdkViewSectionType.js';
|
|
83
83
|
import '../models/SdkViewType.js';
|
|
84
|
+
import '../models/Provider.js';
|
|
84
85
|
import { PublishEventsToJSON } from '../models/PublishEvents.js';
|
|
85
86
|
import '../models/PublishEventsEvents.js';
|
|
86
87
|
import { SdkSettingsRequestToJSON } from '../models/SdkSettingsRequest.js';
|
|
@@ -91,6 +92,7 @@ import { SmsVerificationVerifyRequestToJSON } from '../models/SmsVerificationVer
|
|
|
91
92
|
import '../models/SubscriptionAdvancedScopeEnum.js';
|
|
92
93
|
import '../models/SubscriptionFreeScopeEnum.js';
|
|
93
94
|
import { SupportedOnrampsResponseFromJSON } from '../models/SupportedOnrampsResponse.js';
|
|
95
|
+
import { TokenBalanceFromJSON } from '../models/TokenBalance.js';
|
|
94
96
|
import { UpdateRecoveryEmailRequestToJSON } from '../models/UpdateRecoveryEmailRequest.js';
|
|
95
97
|
import { UpdateSelfResponseFromJSON } from '../models/UpdateSelfResponse.js';
|
|
96
98
|
import { UpdateUserPasskeyRequestToJSON } from '../models/UpdateUserPasskeyRequest.js';
|
|
@@ -859,6 +861,91 @@ class SDKApi extends BaseAPI {
|
|
|
859
861
|
yield this.farcasterSignInOptionsRaw(requestParameters, initOverrides);
|
|
860
862
|
});
|
|
861
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* Get the token balances for an account
|
|
866
|
+
*/
|
|
867
|
+
getAccountBalancesRaw(requestParameters, initOverrides) {
|
|
868
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
869
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
870
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalances.');
|
|
871
|
+
}
|
|
872
|
+
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
873
|
+
throw new RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalances.');
|
|
874
|
+
}
|
|
875
|
+
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
876
|
+
throw new RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalances.');
|
|
877
|
+
}
|
|
878
|
+
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
879
|
+
throw new RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalances.');
|
|
880
|
+
}
|
|
881
|
+
const queryParameters = {};
|
|
882
|
+
if (requestParameters.networkId !== undefined) {
|
|
883
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
884
|
+
}
|
|
885
|
+
if (requestParameters.accountAddress !== undefined) {
|
|
886
|
+
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
887
|
+
}
|
|
888
|
+
const headerParameters = {};
|
|
889
|
+
const response = yield this.request({
|
|
890
|
+
path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))),
|
|
891
|
+
method: 'GET',
|
|
892
|
+
headers: headerParameters,
|
|
893
|
+
query: queryParameters,
|
|
894
|
+
}, initOverrides);
|
|
895
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(TokenBalanceFromJSON));
|
|
896
|
+
});
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* Get the token balances for an account
|
|
900
|
+
*/
|
|
901
|
+
getAccountBalances(requestParameters, initOverrides) {
|
|
902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
903
|
+
const response = yield this.getAccountBalancesRaw(requestParameters, initOverrides);
|
|
904
|
+
return yield response.value();
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Options call for this endpoint
|
|
909
|
+
*/
|
|
910
|
+
getAccountBalancesOptionsRaw(requestParameters, initOverrides) {
|
|
911
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
912
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
913
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalancesOptions.');
|
|
914
|
+
}
|
|
915
|
+
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
916
|
+
throw new RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions.');
|
|
917
|
+
}
|
|
918
|
+
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
919
|
+
throw new RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions.');
|
|
920
|
+
}
|
|
921
|
+
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
922
|
+
throw new RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions.');
|
|
923
|
+
}
|
|
924
|
+
const queryParameters = {};
|
|
925
|
+
if (requestParameters.networkId !== undefined) {
|
|
926
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
927
|
+
}
|
|
928
|
+
if (requestParameters.accountAddress !== undefined) {
|
|
929
|
+
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
930
|
+
}
|
|
931
|
+
const headerParameters = {};
|
|
932
|
+
const response = yield this.request({
|
|
933
|
+
path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))),
|
|
934
|
+
method: 'OPTIONS',
|
|
935
|
+
headers: headerParameters,
|
|
936
|
+
query: queryParameters,
|
|
937
|
+
}, initOverrides);
|
|
938
|
+
return new VoidApiResponse(response);
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* Options call for this endpoint
|
|
943
|
+
*/
|
|
944
|
+
getAccountBalancesOptions(requestParameters, initOverrides) {
|
|
945
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
946
|
+
yield this.getAccountBalancesOptionsRaw(requestParameters, initOverrides);
|
|
947
|
+
});
|
|
948
|
+
}
|
|
862
949
|
/**
|
|
863
950
|
* Get auth token for given embedded wallet type
|
|
864
951
|
*/
|
|
@@ -3870,5 +3957,33 @@ class SDKApi extends BaseAPI {
|
|
|
3870
3957
|
});
|
|
3871
3958
|
}
|
|
3872
3959
|
}
|
|
3960
|
+
/**
|
|
3961
|
+
* @export
|
|
3962
|
+
* @enum {string}
|
|
3963
|
+
*/
|
|
3964
|
+
var GetAccountBalancesChainNameEnum;
|
|
3965
|
+
(function (GetAccountBalancesChainNameEnum) {
|
|
3966
|
+
GetAccountBalancesChainNameEnum["Evm"] = "EVM";
|
|
3967
|
+
})(GetAccountBalancesChainNameEnum || (GetAccountBalancesChainNameEnum = {}));
|
|
3968
|
+
/**
|
|
3969
|
+
* @export
|
|
3970
|
+
* @enum {string}
|
|
3971
|
+
*/
|
|
3972
|
+
var GetAccountBalancesNetworkIdEnum;
|
|
3973
|
+
(function (GetAccountBalancesNetworkIdEnum) {
|
|
3974
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
3975
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_10"] = 10] = "NUMBER_10";
|
|
3976
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_137"] = 137] = "NUMBER_137";
|
|
3977
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_42161"] = 42161] = "NUMBER_42161";
|
|
3978
|
+
GetAccountBalancesNetworkIdEnum[GetAccountBalancesNetworkIdEnum["NUMBER_8453"] = 8453] = "NUMBER_8453";
|
|
3979
|
+
})(GetAccountBalancesNetworkIdEnum || (GetAccountBalancesNetworkIdEnum = {}));
|
|
3980
|
+
/**
|
|
3981
|
+
* @export
|
|
3982
|
+
* @enum {string}
|
|
3983
|
+
*/
|
|
3984
|
+
var GetAccountBalancesOptionsChainNameEnum;
|
|
3985
|
+
(function (GetAccountBalancesOptionsChainNameEnum) {
|
|
3986
|
+
GetAccountBalancesOptionsChainNameEnum["Evm"] = "EVM";
|
|
3987
|
+
})(GetAccountBalancesOptionsChainNameEnum || (GetAccountBalancesOptionsChainNameEnum = {}));
|
|
3873
3988
|
|
|
3874
|
-
export { SDKApi };
|
|
3989
|
+
export { GetAccountBalancesChainNameEnum, GetAccountBalancesNetworkIdEnum, GetAccountBalancesOptionsChainNameEnum, SDKApi };
|
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -30,6 +30,7 @@ require('../models/SignInProviderEnum.cjs');
|
|
|
30
30
|
require('../models/SocialSignInProviderEnum.cjs');
|
|
31
31
|
var SdkView = require('../models/SdkView.cjs');
|
|
32
32
|
require('../models/MFADeviceType.cjs');
|
|
33
|
+
require('../models/Provider.cjs');
|
|
33
34
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
34
35
|
require('../models/ExportFormatEnum.cjs');
|
|
35
36
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -26,6 +26,7 @@ import '../models/SignInProviderEnum.js';
|
|
|
26
26
|
import '../models/SocialSignInProviderEnum.js';
|
|
27
27
|
import { SdkViewFromJSON } from '../models/SdkView.js';
|
|
28
28
|
import '../models/MFADeviceType.js';
|
|
29
|
+
import '../models/Provider.js';
|
|
29
30
|
import '../models/UserFilterableFieldsEnum.js';
|
|
30
31
|
import '../models/ExportFormatEnum.js';
|
|
31
32
|
import '../models/ExportModelEnum.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -33,6 +33,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
33
33
|
require('../models/SdkViewSectionType.cjs');
|
|
34
34
|
require('../models/SdkViewType.cjs');
|
|
35
35
|
require('../models/MFADeviceType.cjs');
|
|
36
|
+
require('../models/Provider.cjs');
|
|
36
37
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
37
38
|
require('../models/ExportFormatEnum.cjs');
|
|
38
39
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -29,6 +29,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
29
29
|
import '../models/SdkViewSectionType.js';
|
|
30
30
|
import '../models/SdkViewType.js';
|
|
31
31
|
import '../models/MFADeviceType.js';
|
|
32
|
+
import '../models/Provider.js';
|
|
32
33
|
import '../models/UserFilterableFieldsEnum.js';
|
|
33
34
|
import '../models/ExportFormatEnum.js';
|
|
34
35
|
import '../models/ExportModelEnum.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -35,6 +35,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
35
35
|
require('../models/SdkViewSectionType.cjs');
|
|
36
36
|
require('../models/SdkViewType.cjs');
|
|
37
37
|
require('../models/MFADeviceType.cjs');
|
|
38
|
+
require('../models/Provider.cjs');
|
|
38
39
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
39
40
|
require('../models/ExportFormatEnum.cjs');
|
|
40
41
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -31,6 +31,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
31
31
|
import '../models/SdkViewSectionType.js';
|
|
32
32
|
import '../models/SdkViewType.js';
|
|
33
33
|
import '../models/MFADeviceType.js';
|
|
34
|
+
import '../models/Provider.js';
|
|
34
35
|
import '../models/UserFilterableFieldsEnum.js';
|
|
35
36
|
import '../models/ExportFormatEnum.js';
|
|
36
37
|
import '../models/ExportModelEnum.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -32,6 +32,7 @@ require('../models/SdkViewSectionAlignment.cjs');
|
|
|
32
32
|
require('../models/SdkViewSectionType.cjs');
|
|
33
33
|
require('../models/SdkViewType.cjs');
|
|
34
34
|
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/Provider.cjs');
|
|
35
36
|
require('../models/UserFilterableFieldsEnum.cjs');
|
|
36
37
|
require('../models/ExportFormatEnum.cjs');
|
|
37
38
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -28,6 +28,7 @@ import '../models/SdkViewSectionAlignment.js';
|
|
|
28
28
|
import '../models/SdkViewSectionType.js';
|
|
29
29
|
import '../models/SdkViewType.js';
|
|
30
30
|
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/Provider.js';
|
|
31
32
|
import '../models/UserFilterableFieldsEnum.js';
|
|
32
33
|
import '../models/ExportFormatEnum.js';
|
|
33
34
|
import '../models/ExportModelEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -257,6 +257,7 @@ var SupportedSecurityMethods = require('./models/SupportedSecurityMethods.cjs');
|
|
|
257
257
|
var TimeUnitEnum = require('./models/TimeUnitEnum.cjs');
|
|
258
258
|
var Token = require('./models/Token.cjs');
|
|
259
259
|
var TokenAddress = require('./models/TokenAddress.cjs');
|
|
260
|
+
var TokenBalance = require('./models/TokenBalance.cjs');
|
|
260
261
|
var TokenCreatedBy = require('./models/TokenCreatedBy.cjs');
|
|
261
262
|
var TokenWithRaw = require('./models/TokenWithRaw.cjs');
|
|
262
263
|
var TokenWithRawProjectEnvironment = require('./models/TokenWithRawProjectEnvironment.cjs');
|
|
@@ -335,6 +336,18 @@ exports.MembersApi = MembersApi.MembersApi;
|
|
|
335
336
|
exports.OrganizationsApi = OrganizationsApi.OrganizationsApi;
|
|
336
337
|
exports.OriginsApi = OriginsApi.OriginsApi;
|
|
337
338
|
exports.ProjectsApi = ProjectsApi.ProjectsApi;
|
|
339
|
+
Object.defineProperty(exports, 'GetAccountBalancesChainNameEnum', {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return SDKApi.GetAccountBalancesChainNameEnum; }
|
|
342
|
+
});
|
|
343
|
+
Object.defineProperty(exports, 'GetAccountBalancesNetworkIdEnum', {
|
|
344
|
+
enumerable: true,
|
|
345
|
+
get: function () { return SDKApi.GetAccountBalancesNetworkIdEnum; }
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(exports, 'GetAccountBalancesOptionsChainNameEnum', {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () { return SDKApi.GetAccountBalancesOptionsChainNameEnum; }
|
|
350
|
+
});
|
|
338
351
|
exports.SDKApi = SDKApi.SDKApi;
|
|
339
352
|
exports.SDKViewsApi = SDKViewsApi.SDKViewsApi;
|
|
340
353
|
exports.SessionsApi = SessionsApi.SessionsApi;
|
|
@@ -1023,6 +1036,10 @@ exports.ProjectSettingsSecurityToJSON = ProjectSettingsSecurity.ProjectSettingsS
|
|
|
1023
1036
|
exports.ProjectsResponseFromJSON = ProjectsResponse.ProjectsResponseFromJSON;
|
|
1024
1037
|
exports.ProjectsResponseFromJSONTyped = ProjectsResponse.ProjectsResponseFromJSONTyped;
|
|
1025
1038
|
exports.ProjectsResponseToJSON = ProjectsResponse.ProjectsResponseToJSON;
|
|
1039
|
+
Object.defineProperty(exports, 'ProviderEntryPointVersionEnum', {
|
|
1040
|
+
enumerable: true,
|
|
1041
|
+
get: function () { return Provider.ProviderEntryPointVersionEnum; }
|
|
1042
|
+
});
|
|
1026
1043
|
exports.ProviderFromJSON = Provider.ProviderFromJSON;
|
|
1027
1044
|
exports.ProviderFromJSONTyped = Provider.ProviderFromJSONTyped;
|
|
1028
1045
|
exports.ProviderToJSON = Provider.ProviderToJSON;
|
|
@@ -1181,6 +1198,9 @@ exports.TokenToJSON = Token.TokenToJSON;
|
|
|
1181
1198
|
exports.TokenAddressFromJSON = TokenAddress.TokenAddressFromJSON;
|
|
1182
1199
|
exports.TokenAddressFromJSONTyped = TokenAddress.TokenAddressFromJSONTyped;
|
|
1183
1200
|
exports.TokenAddressToJSON = TokenAddress.TokenAddressToJSON;
|
|
1201
|
+
exports.TokenBalanceFromJSON = TokenBalance.TokenBalanceFromJSON;
|
|
1202
|
+
exports.TokenBalanceFromJSONTyped = TokenBalance.TokenBalanceFromJSONTyped;
|
|
1203
|
+
exports.TokenBalanceToJSON = TokenBalance.TokenBalanceToJSON;
|
|
1184
1204
|
exports.TokenCreatedByFromJSON = TokenCreatedBy.TokenCreatedByFromJSON;
|
|
1185
1205
|
exports.TokenCreatedByFromJSONTyped = TokenCreatedBy.TokenCreatedByFromJSONTyped;
|
|
1186
1206
|
exports.TokenCreatedByToJSON = TokenCreatedBy.TokenCreatedByToJSON;
|
package/src/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { MembersApi } from './apis/MembersApi.js';
|
|
|
13
13
|
export { OrganizationsApi } from './apis/OrganizationsApi.js';
|
|
14
14
|
export { OriginsApi } from './apis/OriginsApi.js';
|
|
15
15
|
export { ProjectsApi } from './apis/ProjectsApi.js';
|
|
16
|
-
export { SDKApi } from './apis/SDKApi.js';
|
|
16
|
+
export { GetAccountBalancesChainNameEnum, GetAccountBalancesNetworkIdEnum, GetAccountBalancesOptionsChainNameEnum, SDKApi } from './apis/SDKApi.js';
|
|
17
17
|
export { SDKViewsApi } from './apis/SDKViewsApi.js';
|
|
18
18
|
export { SessionsApi } from './apis/SessionsApi.js';
|
|
19
19
|
export { SettingsApi } from './apis/SettingsApi.js';
|
|
@@ -215,7 +215,7 @@ export { ProjectSettingsSdkSocialSignInFromJSON, ProjectSettingsSdkSocialSignInF
|
|
|
215
215
|
export { ProjectSettingsSdkWalletConnectFromJSON, ProjectSettingsSdkWalletConnectFromJSONTyped, ProjectSettingsSdkWalletConnectToJSON } from './models/ProjectSettingsSdkWalletConnect.js';
|
|
216
216
|
export { ProjectSettingsSecurityFromJSON, ProjectSettingsSecurityFromJSONTyped, ProjectSettingsSecurityToJSON } from './models/ProjectSettingsSecurity.js';
|
|
217
217
|
export { ProjectsResponseFromJSON, ProjectsResponseFromJSONTyped, ProjectsResponseToJSON } from './models/ProjectsResponse.js';
|
|
218
|
-
export { ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON } from './models/Provider.js';
|
|
218
|
+
export { ProviderEntryPointVersionEnum, ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON } from './models/Provider.js';
|
|
219
219
|
export { ProviderAgreementFromJSON, ProviderAgreementFromJSONTyped, ProviderAgreementToJSON } from './models/ProviderAgreement.js';
|
|
220
220
|
export { ProviderCreateRequestFromJSON, ProviderCreateRequestFromJSONTyped, ProviderCreateRequestToJSON } from './models/ProviderCreateRequest.js';
|
|
221
221
|
export { ProviderEnum, ProviderEnumFromJSON, ProviderEnumFromJSONTyped, ProviderEnumToJSON } from './models/ProviderEnum.js';
|
|
@@ -253,6 +253,7 @@ export { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsFromJSONTyped
|
|
|
253
253
|
export { TimeUnitEnum, TimeUnitEnumFromJSON, TimeUnitEnumFromJSONTyped, TimeUnitEnumToJSON } from './models/TimeUnitEnum.js';
|
|
254
254
|
export { TokenFromJSON, TokenFromJSONTyped, TokenToJSON } from './models/Token.js';
|
|
255
255
|
export { TokenAddressFromJSON, TokenAddressFromJSONTyped, TokenAddressToJSON } from './models/TokenAddress.js';
|
|
256
|
+
export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON } from './models/TokenBalance.js';
|
|
256
257
|
export { TokenCreatedByFromJSON, TokenCreatedByFromJSONTyped, TokenCreatedByToJSON } from './models/TokenCreatedBy.js';
|
|
257
258
|
export { TokenWithRawFromJSON, TokenWithRawFromJSONTyped, TokenWithRawToJSON } from './models/TokenWithRaw.js';
|
|
258
259
|
export { TokenWithRawProjectEnvironmentFromJSON, TokenWithRawProjectEnvironmentFromJSONTyped, TokenWithRawProjectEnvironmentToJSON } from './models/TokenWithRawProjectEnvironment.js';
|
package/src/models/Provider.cjs
CHANGED
|
@@ -8,6 +8,15 @@ var ProviderEnum = require('./ProviderEnum.cjs');
|
|
|
8
8
|
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
9
9
|
|
|
10
10
|
/* tslint:disable */
|
|
11
|
+
/**
|
|
12
|
+
* @export
|
|
13
|
+
* @enum {string}
|
|
14
|
+
*/
|
|
15
|
+
exports.ProviderEntryPointVersionEnum = void 0;
|
|
16
|
+
(function (ProviderEntryPointVersionEnum) {
|
|
17
|
+
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
18
|
+
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
19
|
+
})(exports.ProviderEntryPointVersionEnum || (exports.ProviderEntryPointVersionEnum = {}));
|
|
11
20
|
function ProviderFromJSON(json) {
|
|
12
21
|
return ProviderFromJSONTyped(json);
|
|
13
22
|
}
|
|
@@ -33,6 +42,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
42
|
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
34
43
|
'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
35
44
|
'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
|
|
45
|
+
'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : json['entryPointVersion'],
|
|
36
46
|
};
|
|
37
47
|
}
|
|
38
48
|
function ProviderToJSON(value) {
|
|
@@ -60,6 +70,7 @@ function ProviderToJSON(value) {
|
|
|
60
70
|
'accountSid': value.accountSid,
|
|
61
71
|
'twilioNumber': value.twilioNumber,
|
|
62
72
|
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
|
|
73
|
+
'entryPointVersion': value.entryPointVersion,
|
|
63
74
|
};
|
|
64
75
|
}
|
|
65
76
|
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -120,6 +120,20 @@ export interface Provider {
|
|
|
120
120
|
* @memberof Provider
|
|
121
121
|
*/
|
|
122
122
|
enabledCountries?: Array<SmsCountryCode>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof Provider
|
|
127
|
+
*/
|
|
128
|
+
entryPointVersion?: ProviderEntryPointVersionEnum;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @export
|
|
132
|
+
* @enum {string}
|
|
133
|
+
*/
|
|
134
|
+
export declare enum ProviderEntryPointVersionEnum {
|
|
135
|
+
V6 = "v6",
|
|
136
|
+
V7 = "v7"
|
|
123
137
|
}
|
|
124
138
|
export declare function ProviderFromJSON(json: any): Provider;
|
|
125
139
|
export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
|
package/src/models/Provider.js
CHANGED
|
@@ -4,6 +4,15 @@ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
|
4
4
|
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @enum {string}
|
|
10
|
+
*/
|
|
11
|
+
var ProviderEntryPointVersionEnum;
|
|
12
|
+
(function (ProviderEntryPointVersionEnum) {
|
|
13
|
+
ProviderEntryPointVersionEnum["V6"] = "v6";
|
|
14
|
+
ProviderEntryPointVersionEnum["V7"] = "v7";
|
|
15
|
+
})(ProviderEntryPointVersionEnum || (ProviderEntryPointVersionEnum = {}));
|
|
7
16
|
function ProviderFromJSON(json) {
|
|
8
17
|
return ProviderFromJSONTyped(json);
|
|
9
18
|
}
|
|
@@ -29,6 +38,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
38
|
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
30
39
|
'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
31
40
|
'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
|
|
41
|
+
'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : json['entryPointVersion'],
|
|
32
42
|
};
|
|
33
43
|
}
|
|
34
44
|
function ProviderToJSON(value) {
|
|
@@ -56,7 +66,8 @@ function ProviderToJSON(value) {
|
|
|
56
66
|
'accountSid': value.accountSid,
|
|
57
67
|
'twilioNumber': value.twilioNumber,
|
|
58
68
|
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
|
|
69
|
+
'entryPointVersion': value.entryPointVersion,
|
|
59
70
|
};
|
|
60
71
|
}
|
|
61
72
|
|
|
62
|
-
export { ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON };
|
|
73
|
+
export { ProviderEntryPointVersionEnum, ProviderFromJSON, ProviderFromJSONTyped, ProviderToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function TokenBalanceFromJSON(json) {
|
|
9
|
+
return TokenBalanceFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'networkId': !runtime.exists(json, 'networkId') ? undefined : json['networkId'],
|
|
17
|
+
'address': json['address'],
|
|
18
|
+
'name': json['name'],
|
|
19
|
+
'symbol': json['symbol'],
|
|
20
|
+
'decimals': json['decimals'],
|
|
21
|
+
'logoURI': json['logoURI'],
|
|
22
|
+
'balance': json['balance'],
|
|
23
|
+
'rawBalance': json['rawBalance'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function TokenBalanceToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'networkId': value.networkId,
|
|
35
|
+
'address': value.address,
|
|
36
|
+
'name': value.name,
|
|
37
|
+
'symbol': value.symbol,
|
|
38
|
+
'decimals': value.decimals,
|
|
39
|
+
'logoURI': value.logoURI,
|
|
40
|
+
'balance': value.balance,
|
|
41
|
+
'rawBalance': value.rawBalance,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.TokenBalanceFromJSON = TokenBalanceFromJSON;
|
|
46
|
+
exports.TokenBalanceFromJSONTyped = TokenBalanceFromJSONTyped;
|
|
47
|
+
exports.TokenBalanceToJSON = TokenBalanceToJSON;
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
* @interface TokenBalance
|
|
16
|
+
*/
|
|
17
|
+
export interface TokenBalance {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TokenBalance
|
|
22
|
+
*/
|
|
23
|
+
networkId?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TokenBalance
|
|
28
|
+
*/
|
|
29
|
+
address: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TokenBalance
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TokenBalance
|
|
40
|
+
*/
|
|
41
|
+
symbol: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof TokenBalance
|
|
46
|
+
*/
|
|
47
|
+
decimals: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TokenBalance
|
|
52
|
+
*/
|
|
53
|
+
logoURI: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof TokenBalance
|
|
58
|
+
*/
|
|
59
|
+
balance: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof TokenBalance
|
|
64
|
+
*/
|
|
65
|
+
rawBalance: number;
|
|
66
|
+
}
|
|
67
|
+
export declare function TokenBalanceFromJSON(json: any): TokenBalance;
|
|
68
|
+
export declare function TokenBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenBalance;
|
|
69
|
+
export declare function TokenBalanceToJSON(value?: TokenBalance | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function TokenBalanceFromJSON(json) {
|
|
5
|
+
return TokenBalanceFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'networkId': !exists(json, 'networkId') ? undefined : json['networkId'],
|
|
13
|
+
'address': json['address'],
|
|
14
|
+
'name': json['name'],
|
|
15
|
+
'symbol': json['symbol'],
|
|
16
|
+
'decimals': json['decimals'],
|
|
17
|
+
'logoURI': json['logoURI'],
|
|
18
|
+
'balance': json['balance'],
|
|
19
|
+
'rawBalance': json['rawBalance'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function TokenBalanceToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'networkId': value.networkId,
|
|
31
|
+
'address': value.address,
|
|
32
|
+
'name': value.name,
|
|
33
|
+
'symbol': value.symbol,
|
|
34
|
+
'decimals': value.decimals,
|
|
35
|
+
'logoURI': value.logoURI,
|
|
36
|
+
'balance': value.balance,
|
|
37
|
+
'rawBalance': value.rawBalance,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON };
|
|
@@ -93,6 +93,7 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
93
93
|
UnprocessableEntityErrorCode["MergeAccountsConfirmation"] = "merge_accounts_confirmation";
|
|
94
94
|
UnprocessableEntityErrorCode["MergeAccountsInvalid"] = "merge_accounts_invalid";
|
|
95
95
|
UnprocessableEntityErrorCode["InvalidWalletId"] = "invalid_wallet_id";
|
|
96
|
+
UnprocessableEntityErrorCode["UnableToFetchBalances"] = "unable_to_fetch_balances";
|
|
96
97
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
97
98
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
98
99
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -85,7 +85,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
85
85
|
InvalidEmbeddedWalletChainsConfiguration = "invalid_embedded_wallet_chains_configuration",
|
|
86
86
|
MergeAccountsConfirmation = "merge_accounts_confirmation",
|
|
87
87
|
MergeAccountsInvalid = "merge_accounts_invalid",
|
|
88
|
-
InvalidWalletId = "invalid_wallet_id"
|
|
88
|
+
InvalidWalletId = "invalid_wallet_id",
|
|
89
|
+
UnableToFetchBalances = "unable_to_fetch_balances"
|
|
89
90
|
}
|
|
90
91
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
91
92
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -89,6 +89,7 @@ var UnprocessableEntityErrorCode;
|
|
|
89
89
|
UnprocessableEntityErrorCode["MergeAccountsConfirmation"] = "merge_accounts_confirmation";
|
|
90
90
|
UnprocessableEntityErrorCode["MergeAccountsInvalid"] = "merge_accounts_invalid";
|
|
91
91
|
UnprocessableEntityErrorCode["InvalidWalletId"] = "invalid_wallet_id";
|
|
92
|
+
UnprocessableEntityErrorCode["UnableToFetchBalances"] = "unable_to_fetch_balances";
|
|
92
93
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
93
94
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
94
95
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
package/src/models/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ export * from './SupportedSecurityMethods';
|
|
|
229
229
|
export * from './TimeUnitEnum';
|
|
230
230
|
export * from './Token';
|
|
231
231
|
export * from './TokenAddress';
|
|
232
|
+
export * from './TokenBalance';
|
|
232
233
|
export * from './TokenCreatedBy';
|
|
233
234
|
export * from './TokenWithRaw';
|
|
234
235
|
export * from './TokenWithRawProjectEnvironment';
|