@dynamic-labs/sdk-api 0.0.710 → 0.0.712
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/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.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/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.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/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.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 +1 -0
- package/src/apis/SDKApi.js +1 -0
- 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/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.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/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.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 +12 -0
- package/src/index.js +2 -0
- package/src/models/ExchangeTransferResponse.cjs +6 -16
- package/src/models/ExchangeTransferResponse.d.ts +3 -3
- package/src/models/ExchangeTransferResponse.js +6 -16
- package/src/models/MFAAction.cjs +43 -0
- package/src/models/MFAAction.d.ts +26 -0
- package/src/models/MFAAction.js +37 -0
- package/src/models/MFASettings.cjs +3 -0
- package/src/models/MFASettings.d.ts +7 -0
- package/src/models/MFASettings.js +3 -0
- package/src/models/MFASettingsActions.cjs +35 -0
- package/src/models/MFASettingsActions.d.ts +34 -0
- package/src/models/MFASettingsActions.js +29 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +1 -0
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/index.d.ts +2 -0
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -57,6 +57,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
57
57
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
58
58
|
require('../models/SdkViewSectionType.cjs');
|
|
59
59
|
require('../models/SdkViewType.cjs');
|
|
60
|
+
require('../models/MFAAction.cjs');
|
|
60
61
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
61
62
|
require('../models/ExportFormatEnum.cjs');
|
|
62
63
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -53,6 +53,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
53
53
|
import '../models/SdkViewSectionAlignment.js';
|
|
54
54
|
import '../models/SdkViewSectionType.js';
|
|
55
55
|
import '../models/SdkViewType.js';
|
|
56
|
+
import '../models/MFAAction.js';
|
|
56
57
|
import '../models/ZerodevBundlerProvider.js';
|
|
57
58
|
import '../models/ExportFormatEnum.js';
|
|
58
59
|
import '../models/ExportModelEnum.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -54,6 +54,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
54
54
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
55
55
|
require('../models/SdkViewSectionType.cjs');
|
|
56
56
|
require('../models/SdkViewType.cjs');
|
|
57
|
+
require('../models/MFAAction.cjs');
|
|
57
58
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
58
59
|
require('../models/ExportFormatEnum.cjs');
|
|
59
60
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -50,6 +50,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
50
50
|
import '../models/SdkViewSectionAlignment.js';
|
|
51
51
|
import '../models/SdkViewSectionType.js';
|
|
52
52
|
import '../models/SdkViewType.js';
|
|
53
|
+
import '../models/MFAAction.js';
|
|
53
54
|
import '../models/ZerodevBundlerProvider.js';
|
|
54
55
|
import '../models/ExportFormatEnum.js';
|
|
55
56
|
import '../models/ExportModelEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -253,6 +253,7 @@ var JwtVerifiedCredentialHashes = require('./models/JwtVerifiedCredentialHashes.
|
|
|
253
253
|
var Key = require('./models/Key.cjs');
|
|
254
254
|
var KeyResponse = require('./models/KeyResponse.cjs');
|
|
255
255
|
var KycFieldType = require('./models/KycFieldType.cjs');
|
|
256
|
+
var MFAAction = require('./models/MFAAction.cjs');
|
|
256
257
|
var MFAAuthPasskeyDeviceGetResponse = require('./models/MFAAuthPasskeyDeviceGetResponse.cjs');
|
|
257
258
|
var MFAAuthPasskeyDeviceGetResponseAssertion = require('./models/MFAAuthPasskeyDeviceGetResponseAssertion.cjs');
|
|
258
259
|
var MFAAuthPasskeyDevicePostRequest = require('./models/MFAAuthPasskeyDevicePostRequest.cjs');
|
|
@@ -269,6 +270,7 @@ var MFARegisterPasskeyDevicePostRequest = require('./models/MFARegisterPasskeyDe
|
|
|
269
270
|
var MFARegisterTotpDeviceGetResponse = require('./models/MFARegisterTotpDeviceGetResponse.cjs');
|
|
270
271
|
var MFARegisterTotpDevicePostRequest = require('./models/MFARegisterTotpDevicePostRequest.cjs');
|
|
271
272
|
var MFASettings = require('./models/MFASettings.cjs');
|
|
273
|
+
var MFASettingsActions = require('./models/MFASettingsActions.cjs');
|
|
272
274
|
var MFASettingsMethods = require('./models/MFASettingsMethods.cjs');
|
|
273
275
|
var MFAUpdateDeviceRequest = require('./models/MFAUpdateDeviceRequest.cjs');
|
|
274
276
|
var MemberResponse = require('./models/MemberResponse.cjs');
|
|
@@ -1355,6 +1357,13 @@ Object.defineProperty(exports, 'KycFieldType', {
|
|
|
1355
1357
|
exports.KycFieldTypeFromJSON = KycFieldType.KycFieldTypeFromJSON;
|
|
1356
1358
|
exports.KycFieldTypeFromJSONTyped = KycFieldType.KycFieldTypeFromJSONTyped;
|
|
1357
1359
|
exports.KycFieldTypeToJSON = KycFieldType.KycFieldTypeToJSON;
|
|
1360
|
+
Object.defineProperty(exports, 'MFAAction', {
|
|
1361
|
+
enumerable: true,
|
|
1362
|
+
get: function () { return MFAAction.MFAAction; }
|
|
1363
|
+
});
|
|
1364
|
+
exports.MFAActionFromJSON = MFAAction.MFAActionFromJSON;
|
|
1365
|
+
exports.MFAActionFromJSONTyped = MFAAction.MFAActionFromJSONTyped;
|
|
1366
|
+
exports.MFAActionToJSON = MFAAction.MFAActionToJSON;
|
|
1358
1367
|
exports.MFAAuthPasskeyDeviceGetResponseFromJSON = MFAAuthPasskeyDeviceGetResponse.MFAAuthPasskeyDeviceGetResponseFromJSON;
|
|
1359
1368
|
exports.MFAAuthPasskeyDeviceGetResponseFromJSONTyped = MFAAuthPasskeyDeviceGetResponse.MFAAuthPasskeyDeviceGetResponseFromJSONTyped;
|
|
1360
1369
|
exports.MFAAuthPasskeyDeviceGetResponseToJSON = MFAAuthPasskeyDeviceGetResponse.MFAAuthPasskeyDeviceGetResponseToJSON;
|
|
@@ -1407,6 +1416,9 @@ exports.MFARegisterTotpDevicePostRequestToJSON = MFARegisterTotpDevicePostReques
|
|
|
1407
1416
|
exports.MFASettingsFromJSON = MFASettings.MFASettingsFromJSON;
|
|
1408
1417
|
exports.MFASettingsFromJSONTyped = MFASettings.MFASettingsFromJSONTyped;
|
|
1409
1418
|
exports.MFASettingsToJSON = MFASettings.MFASettingsToJSON;
|
|
1419
|
+
exports.MFASettingsActionsFromJSON = MFASettingsActions.MFASettingsActionsFromJSON;
|
|
1420
|
+
exports.MFASettingsActionsFromJSONTyped = MFASettingsActions.MFASettingsActionsFromJSONTyped;
|
|
1421
|
+
exports.MFASettingsActionsToJSON = MFASettingsActions.MFASettingsActionsToJSON;
|
|
1410
1422
|
exports.MFASettingsMethodsFromJSON = MFASettingsMethods.MFASettingsMethodsFromJSON;
|
|
1411
1423
|
exports.MFASettingsMethodsFromJSONTyped = MFASettingsMethods.MFASettingsMethodsFromJSONTyped;
|
|
1412
1424
|
exports.MFASettingsMethodsToJSON = MFASettingsMethods.MFASettingsMethodsToJSON;
|
package/src/index.js
CHANGED
|
@@ -249,6 +249,7 @@ export { JwtVerifiedCredentialHashesFromJSON, JwtVerifiedCredentialHashesFromJSO
|
|
|
249
249
|
export { KeyFromJSON, KeyFromJSONTyped, KeyToJSON } from './models/Key.js';
|
|
250
250
|
export { KeyResponseFromJSON, KeyResponseFromJSONTyped, KeyResponseToJSON } from './models/KeyResponse.js';
|
|
251
251
|
export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON } from './models/KycFieldType.js';
|
|
252
|
+
export { MFAAction, MFAActionFromJSON, MFAActionFromJSONTyped, MFAActionToJSON } from './models/MFAAction.js';
|
|
252
253
|
export { MFAAuthPasskeyDeviceGetResponseFromJSON, MFAAuthPasskeyDeviceGetResponseFromJSONTyped, MFAAuthPasskeyDeviceGetResponseToJSON } from './models/MFAAuthPasskeyDeviceGetResponse.js';
|
|
253
254
|
export { MFAAuthPasskeyDeviceGetResponseAssertionFromJSON, MFAAuthPasskeyDeviceGetResponseAssertionFromJSONTyped, MFAAuthPasskeyDeviceGetResponseAssertionToJSON } from './models/MFAAuthPasskeyDeviceGetResponseAssertion.js';
|
|
254
255
|
export { MFAAuthPasskeyDevicePostRequestFromJSON, MFAAuthPasskeyDevicePostRequestFromJSONTyped, MFAAuthPasskeyDevicePostRequestToJSON } from './models/MFAAuthPasskeyDevicePostRequest.js';
|
|
@@ -265,6 +266,7 @@ export { MFARegisterPasskeyDevicePostRequestFromJSON, MFARegisterPasskeyDevicePo
|
|
|
265
266
|
export { MFARegisterTotpDeviceGetResponseFromJSON, MFARegisterTotpDeviceGetResponseFromJSONTyped, MFARegisterTotpDeviceGetResponseToJSON } from './models/MFARegisterTotpDeviceGetResponse.js';
|
|
266
267
|
export { MFARegisterTotpDevicePostRequestFromJSON, MFARegisterTotpDevicePostRequestFromJSONTyped, MFARegisterTotpDevicePostRequestToJSON } from './models/MFARegisterTotpDevicePostRequest.js';
|
|
267
268
|
export { MFASettingsFromJSON, MFASettingsFromJSONTyped, MFASettingsToJSON } from './models/MFASettings.js';
|
|
269
|
+
export { MFASettingsActionsFromJSON, MFASettingsActionsFromJSONTyped, MFASettingsActionsToJSON } from './models/MFASettingsActions.js';
|
|
268
270
|
export { MFASettingsMethodsFromJSON, MFASettingsMethodsFromJSONTyped, MFASettingsMethodsToJSON } from './models/MFASettingsMethods.js';
|
|
269
271
|
export { MFAUpdateDeviceRequestFromJSON, MFAUpdateDeviceRequestFromJSONTyped, MFAUpdateDeviceRequestToJSON } from './models/MFAUpdateDeviceRequest.js';
|
|
270
272
|
export { MemberResponseFromJSON, MemberResponseFromJSONTyped, MemberResponseToJSON } from './models/MemberResponse.js';
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
8
|
function ExchangeTransferResponseFromJSON(json) {
|
|
19
9
|
return ExchangeTransferResponseFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,11 +14,11 @@ function ExchangeTransferResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'id': json['id'],
|
|
27
|
-
'exchangeAccountId': json['exchangeAccountId'],
|
|
28
|
-
'status': json['status'],
|
|
17
|
+
'exchangeAccountId': !runtime.exists(json, 'exchangeAccountId') ? undefined : json['exchangeAccountId'],
|
|
18
|
+
'status': !runtime.exists(json, 'status') ? undefined : json['status'],
|
|
29
19
|
'amount': json['amount'],
|
|
30
20
|
'currency': json['currency'],
|
|
31
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
21
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
32
22
|
};
|
|
33
23
|
}
|
|
34
24
|
function ExchangeTransferResponseToJSON(value) {
|
|
@@ -44,7 +34,7 @@ function ExchangeTransferResponseToJSON(value) {
|
|
|
44
34
|
'status': value.status,
|
|
45
35
|
'amount': value.amount,
|
|
46
36
|
'currency': value.currency,
|
|
47
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
37
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
48
38
|
};
|
|
49
39
|
}
|
|
50
40
|
|
|
@@ -26,13 +26,13 @@ export interface ExchangeTransferResponse {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ExchangeTransferResponse
|
|
28
28
|
*/
|
|
29
|
-
exchangeAccountId
|
|
29
|
+
exchangeAccountId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Current status of the transaction
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ExchangeTransferResponse
|
|
34
34
|
*/
|
|
35
|
-
status
|
|
35
|
+
status?: string;
|
|
36
36
|
/**
|
|
37
37
|
* the amount to transfer
|
|
38
38
|
* @type {number}
|
|
@@ -50,7 +50,7 @@ export interface ExchangeTransferResponse {
|
|
|
50
50
|
* @type {Date}
|
|
51
51
|
* @memberof ExchangeTransferResponse
|
|
52
52
|
*/
|
|
53
|
-
createdAt
|
|
53
|
+
createdAt?: Date;
|
|
54
54
|
}
|
|
55
55
|
export declare function ExchangeTransferResponseFromJSON(json: any): ExchangeTransferResponse;
|
|
56
56
|
export declare function ExchangeTransferResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeTransferResponse;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
4
|
function ExchangeTransferResponseFromJSON(json) {
|
|
15
5
|
return ExchangeTransferResponseFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,11 +10,11 @@ function ExchangeTransferResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'id': json['id'],
|
|
23
|
-
'exchangeAccountId': json['exchangeAccountId'],
|
|
24
|
-
'status': json['status'],
|
|
13
|
+
'exchangeAccountId': !exists(json, 'exchangeAccountId') ? undefined : json['exchangeAccountId'],
|
|
14
|
+
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
25
15
|
'amount': json['amount'],
|
|
26
16
|
'currency': json['currency'],
|
|
27
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
17
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
28
18
|
};
|
|
29
19
|
}
|
|
30
20
|
function ExchangeTransferResponseToJSON(value) {
|
|
@@ -40,7 +30,7 @@ function ExchangeTransferResponseToJSON(value) {
|
|
|
40
30
|
'status': value.status,
|
|
41
31
|
'amount': value.amount,
|
|
42
32
|
'currency': value.currency,
|
|
43
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
33
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
44
34
|
};
|
|
45
35
|
}
|
|
46
36
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.MFAAction = void 0;
|
|
24
|
+
(function (MFAAction) {
|
|
25
|
+
MFAAction["WalletWaasSign"] = "wallet.waas.sign";
|
|
26
|
+
MFAAction["WalletWaasExport"] = "wallet.waas.export";
|
|
27
|
+
MFAAction["WalletWaasReshare"] = "wallet.waas.reshare";
|
|
28
|
+
MFAAction["WalletWaasRefresh"] = "wallet.waas.refresh";
|
|
29
|
+
MFAAction["UserUpdate"] = "user.update";
|
|
30
|
+
})(exports.MFAAction || (exports.MFAAction = {}));
|
|
31
|
+
function MFAActionFromJSON(json) {
|
|
32
|
+
return MFAActionFromJSONTyped(json);
|
|
33
|
+
}
|
|
34
|
+
function MFAActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
function MFAActionToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.MFAActionFromJSON = MFAActionFromJSON;
|
|
42
|
+
exports.MFAActionFromJSONTyped = MFAActionFromJSONTyped;
|
|
43
|
+
exports.MFAActionToJSON = MFAActionToJSON;
|
|
@@ -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 MFAAction {
|
|
18
|
+
WalletWaasSign = "wallet.waas.sign",
|
|
19
|
+
WalletWaasExport = "wallet.waas.export",
|
|
20
|
+
WalletWaasReshare = "wallet.waas.reshare",
|
|
21
|
+
WalletWaasRefresh = "wallet.waas.refresh",
|
|
22
|
+
UserUpdate = "user.update"
|
|
23
|
+
}
|
|
24
|
+
export declare function MFAActionFromJSON(json: any): MFAAction;
|
|
25
|
+
export declare function MFAActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAAction;
|
|
26
|
+
export declare function MFAActionToJSON(value?: MFAAction | 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 MFAAction;
|
|
20
|
+
(function (MFAAction) {
|
|
21
|
+
MFAAction["WalletWaasSign"] = "wallet.waas.sign";
|
|
22
|
+
MFAAction["WalletWaasExport"] = "wallet.waas.export";
|
|
23
|
+
MFAAction["WalletWaasReshare"] = "wallet.waas.reshare";
|
|
24
|
+
MFAAction["WalletWaasRefresh"] = "wallet.waas.refresh";
|
|
25
|
+
MFAAction["UserUpdate"] = "user.update";
|
|
26
|
+
})(MFAAction || (MFAAction = {}));
|
|
27
|
+
function MFAActionFromJSON(json) {
|
|
28
|
+
return MFAActionFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function MFAActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function MFAActionToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { MFAAction, MFAActionFromJSON, MFAActionFromJSONTyped, MFAActionToJSON };
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var MFADeviceType = require('./MFADeviceType.cjs');
|
|
7
|
+
var MFASettingsActions = require('./MFASettingsActions.cjs');
|
|
7
8
|
var MFASettingsMethods = require('./MFASettingsMethods.cjs');
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
@@ -19,6 +20,7 @@ function MFASettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
20
|
'required': !runtime.exists(json, 'required') ? undefined : json['required'],
|
|
20
21
|
'availableMethods': !runtime.exists(json, 'availableMethods') ? undefined : (json['availableMethods'].map(MFADeviceType.MFADeviceTypeFromJSON)),
|
|
21
22
|
'methods': !runtime.exists(json, 'methods') ? undefined : (json['methods'].map(MFASettingsMethods.MFASettingsMethodsFromJSON)),
|
|
23
|
+
'actions': !runtime.exists(json, 'actions') ? undefined : (json['actions'].map(MFASettingsActions.MFASettingsActionsFromJSON)),
|
|
22
24
|
};
|
|
23
25
|
}
|
|
24
26
|
function MFASettingsToJSON(value) {
|
|
@@ -33,6 +35,7 @@ function MFASettingsToJSON(value) {
|
|
|
33
35
|
'required': value.required,
|
|
34
36
|
'availableMethods': value.availableMethods === undefined ? undefined : (value.availableMethods.map(MFADeviceType.MFADeviceTypeToJSON)),
|
|
35
37
|
'methods': value.methods === undefined ? undefined : (value.methods.map(MFASettingsMethods.MFASettingsMethodsToJSON)),
|
|
38
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(MFASettingsActions.MFASettingsActionsToJSON)),
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { MFADeviceType } from './MFADeviceType';
|
|
13
|
+
import { MFASettingsActions } from './MFASettingsActions';
|
|
13
14
|
import { MFASettingsMethods } from './MFASettingsMethods';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -41,6 +42,12 @@ export interface MFASettings {
|
|
|
41
42
|
* @memberof MFASettings
|
|
42
43
|
*/
|
|
43
44
|
methods?: Array<MFASettingsMethods>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<MFASettingsActions>}
|
|
48
|
+
* @memberof MFASettings
|
|
49
|
+
*/
|
|
50
|
+
actions?: Array<MFASettingsActions>;
|
|
44
51
|
}
|
|
45
52
|
export declare function MFASettingsFromJSON(json: any): MFASettings;
|
|
46
53
|
export declare function MFASettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFASettings;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { MFADeviceTypeFromJSON, MFADeviceTypeToJSON } from './MFADeviceType.js';
|
|
3
|
+
import { MFASettingsActionsFromJSON, MFASettingsActionsToJSON } from './MFASettingsActions.js';
|
|
3
4
|
import { MFASettingsMethodsFromJSON, MFASettingsMethodsToJSON } from './MFASettingsMethods.js';
|
|
4
5
|
|
|
5
6
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function MFASettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
'required': !exists(json, 'required') ? undefined : json['required'],
|
|
16
17
|
'availableMethods': !exists(json, 'availableMethods') ? undefined : (json['availableMethods'].map(MFADeviceTypeFromJSON)),
|
|
17
18
|
'methods': !exists(json, 'methods') ? undefined : (json['methods'].map(MFASettingsMethodsFromJSON)),
|
|
19
|
+
'actions': !exists(json, 'actions') ? undefined : (json['actions'].map(MFASettingsActionsFromJSON)),
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
function MFASettingsToJSON(value) {
|
|
@@ -29,6 +31,7 @@ function MFASettingsToJSON(value) {
|
|
|
29
31
|
'required': value.required,
|
|
30
32
|
'availableMethods': value.availableMethods === undefined ? undefined : (value.availableMethods.map(MFADeviceTypeToJSON)),
|
|
31
33
|
'methods': value.methods === undefined ? undefined : (value.methods.map(MFASettingsMethodsToJSON)),
|
|
34
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(MFASettingsActionsToJSON)),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var MFAAction = require('./MFAAction.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function MFASettingsActionsFromJSON(json) {
|
|
9
|
+
return MFASettingsActionsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function MFASettingsActionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'action': MFAAction.MFAActionFromJSON(json['action']),
|
|
17
|
+
'required': json['required'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function MFASettingsActionsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'action': MFAAction.MFAActionToJSON(value.action),
|
|
29
|
+
'required': value.required,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.MFASettingsActionsFromJSON = MFASettingsActionsFromJSON;
|
|
34
|
+
exports.MFASettingsActionsFromJSONTyped = MFASettingsActionsFromJSONTyped;
|
|
35
|
+
exports.MFASettingsActionsToJSON = MFASettingsActionsToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { MFAAction } from './MFAAction';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MFASettingsActions
|
|
17
|
+
*/
|
|
18
|
+
export interface MFASettingsActions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MFAAction}
|
|
22
|
+
* @memberof MFASettingsActions
|
|
23
|
+
*/
|
|
24
|
+
action: MFAAction;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof MFASettingsActions
|
|
29
|
+
*/
|
|
30
|
+
required: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare function MFASettingsActionsFromJSON(json: any): MFASettingsActions;
|
|
33
|
+
export declare function MFASettingsActionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFASettingsActions;
|
|
34
|
+
export declare function MFASettingsActionsToJSON(value?: MFASettingsActions | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MFAActionFromJSON, MFAActionToJSON } from './MFAAction.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function MFASettingsActionsFromJSON(json) {
|
|
5
|
+
return MFASettingsActionsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function MFASettingsActionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'action': MFAActionFromJSON(json['action']),
|
|
13
|
+
'required': json['required'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function MFASettingsActionsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'action': MFAActionToJSON(value.action),
|
|
25
|
+
'required': value.required,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { MFASettingsActionsFromJSON, MFASettingsActionsFromJSONTyped, MFASettingsActionsToJSON };
|
|
@@ -22,6 +22,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
22
22
|
*/
|
|
23
23
|
exports.UnprocessableEntityErrorCode = void 0;
|
|
24
24
|
(function (UnprocessableEntityErrorCode) {
|
|
25
|
+
UnprocessableEntityErrorCode["TransferAddressNotWhitelisted"] = "transfer_address_not_whitelisted";
|
|
25
26
|
UnprocessableEntityErrorCode["InvalidScopes"] = "invalid_scopes";
|
|
26
27
|
UnprocessableEntityErrorCode["UnknownTransferError"] = "unknown_transfer_error";
|
|
27
28
|
UnprocessableEntityErrorCode["TransferMfaRequired"] = "transfer_mfa_required";
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum UnprocessableEntityErrorCode {
|
|
18
|
+
TransferAddressNotWhitelisted = "transfer_address_not_whitelisted",
|
|
18
19
|
InvalidScopes = "invalid_scopes",
|
|
19
20
|
UnknownTransferError = "unknown_transfer_error",
|
|
20
21
|
TransferMfaRequired = "transfer_mfa_required",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
var UnprocessableEntityErrorCode;
|
|
20
20
|
(function (UnprocessableEntityErrorCode) {
|
|
21
|
+
UnprocessableEntityErrorCode["TransferAddressNotWhitelisted"] = "transfer_address_not_whitelisted";
|
|
21
22
|
UnprocessableEntityErrorCode["InvalidScopes"] = "invalid_scopes";
|
|
22
23
|
UnprocessableEntityErrorCode["UnknownTransferError"] = "unknown_transfer_error";
|
|
23
24
|
UnprocessableEntityErrorCode["TransferMfaRequired"] = "transfer_mfa_required";
|
package/src/models/index.d.ts
CHANGED
|
@@ -213,6 +213,7 @@ export * from './JwtVerifiedCredentialHashes';
|
|
|
213
213
|
export * from './Key';
|
|
214
214
|
export * from './KeyResponse';
|
|
215
215
|
export * from './KycFieldType';
|
|
216
|
+
export * from './MFAAction';
|
|
216
217
|
export * from './MFAAuthPasskeyDeviceGetResponse';
|
|
217
218
|
export * from './MFAAuthPasskeyDeviceGetResponseAssertion';
|
|
218
219
|
export * from './MFAAuthPasskeyDevicePostRequest';
|
|
@@ -229,6 +230,7 @@ export * from './MFARegisterPasskeyDevicePostRequest';
|
|
|
229
230
|
export * from './MFARegisterTotpDeviceGetResponse';
|
|
230
231
|
export * from './MFARegisterTotpDevicePostRequest';
|
|
231
232
|
export * from './MFASettings';
|
|
233
|
+
export * from './MFASettingsActions';
|
|
232
234
|
export * from './MFASettingsMethods';
|
|
233
235
|
export * from './MFAUpdateDeviceRequest';
|
|
234
236
|
export * from './MemberResponse';
|