@dynamic-labs/sdk-api 0.0.709 → 0.0.711
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 +61 -7
- package/src/apis/SDKApi.d.ts +23 -0
- package/src/apis/SDKApi.js +61 -7
- 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/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/index.d.ts +2 -0
package/src/apis/SDKApi.js
CHANGED
|
@@ -91,6 +91,7 @@ import { InitPasskeyRecoveryResponseFromJSON } from '../models/InitPasskeyRecove
|
|
|
91
91
|
import '../models/InviteStatusEnum.js';
|
|
92
92
|
import '../models/RoleEnum.js';
|
|
93
93
|
import { JwksResponseFromJSON } from '../models/JwksResponse.js';
|
|
94
|
+
import '../models/MFAAction.js';
|
|
94
95
|
import '../models/PublicKeyCredentialType.js';
|
|
95
96
|
import '../models/MFADeviceType.js';
|
|
96
97
|
import { PasskeyAuthRequestToJSON } from '../models/PasskeyAuthRequest.js';
|
|
@@ -385,6 +386,33 @@ class SDKApi extends BaseAPI {
|
|
|
385
386
|
return yield response.value();
|
|
386
387
|
});
|
|
387
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* Options call for this endpoint
|
|
391
|
+
*/
|
|
392
|
+
authenticatePasskeyOptionsRaw(requestParameters, initOverrides) {
|
|
393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
394
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
395
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling authenticatePasskeyOptions.');
|
|
396
|
+
}
|
|
397
|
+
const queryParameters = {};
|
|
398
|
+
const headerParameters = {};
|
|
399
|
+
const response = yield this.request({
|
|
400
|
+
path: `/sdk/{environmentId}/users/passkeys/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
401
|
+
method: 'OPTIONS',
|
|
402
|
+
headers: headerParameters,
|
|
403
|
+
query: queryParameters,
|
|
404
|
+
}, initOverrides);
|
|
405
|
+
return new VoidApiResponse(response);
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Options call for this endpoint
|
|
410
|
+
*/
|
|
411
|
+
authenticatePasskeyOptions(requestParameters, initOverrides) {
|
|
412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
413
|
+
yield this.authenticatePasskeyOptionsRaw(requestParameters, initOverrides);
|
|
414
|
+
});
|
|
415
|
+
}
|
|
388
416
|
/**
|
|
389
417
|
* Backup multiple keyShares for a waaS wallet
|
|
390
418
|
*/
|
|
@@ -2780,13 +2808,6 @@ class SDKApi extends BaseAPI {
|
|
|
2780
2808
|
}
|
|
2781
2809
|
const queryParameters = {};
|
|
2782
2810
|
const headerParameters = {};
|
|
2783
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2784
|
-
const token = this.configuration.accessToken;
|
|
2785
|
-
const tokenString = yield token("bearerAuth", []);
|
|
2786
|
-
if (tokenString) {
|
|
2787
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
2811
|
const response = yield this.request({
|
|
2791
2812
|
path: `/sdk/{environmentId}/users/passkeys/authenticate`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
2792
2813
|
method: 'GET',
|
|
@@ -6107,6 +6128,39 @@ class SDKApi extends BaseAPI {
|
|
|
6107
6128
|
yield this.signMessageOptionsRaw(requestParameters, initOverrides);
|
|
6108
6129
|
});
|
|
6109
6130
|
}
|
|
6131
|
+
/**
|
|
6132
|
+
* Authenticate a passkey
|
|
6133
|
+
*/
|
|
6134
|
+
signinWithPasskeyRaw(requestParameters, initOverrides) {
|
|
6135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6136
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
6137
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signinWithPasskey.');
|
|
6138
|
+
}
|
|
6139
|
+
if (requestParameters.passkeyAuthRequest === null || requestParameters.passkeyAuthRequest === undefined) {
|
|
6140
|
+
throw new RequiredError('passkeyAuthRequest', 'Required parameter requestParameters.passkeyAuthRequest was null or undefined when calling signinWithPasskey.');
|
|
6141
|
+
}
|
|
6142
|
+
const queryParameters = {};
|
|
6143
|
+
const headerParameters = {};
|
|
6144
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6145
|
+
const response = yield this.request({
|
|
6146
|
+
path: `/sdk/{environmentId}/users/passkeys/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
6147
|
+
method: 'POST',
|
|
6148
|
+
headers: headerParameters,
|
|
6149
|
+
query: queryParameters,
|
|
6150
|
+
body: PasskeyAuthRequestToJSON(requestParameters.passkeyAuthRequest),
|
|
6151
|
+
}, initOverrides);
|
|
6152
|
+
return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
|
|
6153
|
+
});
|
|
6154
|
+
}
|
|
6155
|
+
/**
|
|
6156
|
+
* Authenticate a passkey
|
|
6157
|
+
*/
|
|
6158
|
+
signinWithPasskey(requestParameters, initOverrides) {
|
|
6159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6160
|
+
const response = yield this.signinWithPasskeyRaw(requestParameters, initOverrides);
|
|
6161
|
+
return yield response.value();
|
|
6162
|
+
});
|
|
6163
|
+
}
|
|
6110
6164
|
/**
|
|
6111
6165
|
* Simulate an EVM transaction
|
|
6112
6166
|
*/
|
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -52,6 +52,7 @@ require('../models/OnrampProviders.cjs');
|
|
|
52
52
|
require('../models/SignInProviderEnum.cjs');
|
|
53
53
|
require('../models/SocialSignInProviderEnum.cjs');
|
|
54
54
|
var SdkView = require('../models/SdkView.cjs');
|
|
55
|
+
require('../models/MFAAction.cjs');
|
|
55
56
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
56
57
|
require('../models/ExportFormatEnum.cjs');
|
|
57
58
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -48,6 +48,7 @@ import '../models/OnrampProviders.js';
|
|
|
48
48
|
import '../models/SignInProviderEnum.js';
|
|
49
49
|
import '../models/SocialSignInProviderEnum.js';
|
|
50
50
|
import { SdkViewFromJSON } from '../models/SdkView.js';
|
|
51
|
+
import '../models/MFAAction.js';
|
|
51
52
|
import '../models/ZerodevBundlerProvider.js';
|
|
52
53
|
import '../models/ExportFormatEnum.js';
|
|
53
54
|
import '../models/ExportModelEnum.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -55,6 +55,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
55
55
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
56
56
|
require('../models/SdkViewSectionType.cjs');
|
|
57
57
|
require('../models/SdkViewType.cjs');
|
|
58
|
+
require('../models/MFAAction.cjs');
|
|
58
59
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
59
60
|
require('../models/ExportFormatEnum.cjs');
|
|
60
61
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -51,6 +51,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
51
51
|
import '../models/SdkViewSectionAlignment.js';
|
|
52
52
|
import '../models/SdkViewSectionType.js';
|
|
53
53
|
import '../models/SdkViewType.js';
|
|
54
|
+
import '../models/MFAAction.js';
|
|
54
55
|
import '../models/ZerodevBundlerProvider.js';
|
|
55
56
|
import '../models/ExportFormatEnum.js';
|
|
56
57
|
import '../models/ExportModelEnum.js';
|
package/src/apis/SettingsApi.cjs
CHANGED
|
@@ -55,6 +55,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
55
55
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
56
56
|
require('../models/SdkViewSectionType.cjs');
|
|
57
57
|
require('../models/SdkViewType.cjs');
|
|
58
|
+
require('../models/MFAAction.cjs');
|
|
58
59
|
var Provider = require('../models/Provider.cjs');
|
|
59
60
|
var ExchangeCreateRequest = require('../models/ExchangeCreateRequest.cjs');
|
|
60
61
|
var ExchangeResponse = require('../models/ExchangeResponse.cjs');
|
package/src/apis/SettingsApi.js
CHANGED
|
@@ -51,6 +51,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
51
51
|
import '../models/SdkViewSectionAlignment.js';
|
|
52
52
|
import '../models/SdkViewSectionType.js';
|
|
53
53
|
import '../models/SdkViewType.js';
|
|
54
|
+
import '../models/MFAAction.js';
|
|
54
55
|
import { ProviderFromJSON } from '../models/Provider.js';
|
|
55
56
|
import { ExchangeCreateRequestToJSON } from '../models/ExchangeCreateRequest.js';
|
|
56
57
|
import { ExchangeResponseFromJSON } from '../models/ExchangeResponse.js';
|
|
@@ -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');
|
|
@@ -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/apis/TokensApi.cjs
CHANGED
|
@@ -55,6 +55,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
55
55
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
56
56
|
require('../models/SdkViewSectionType.cjs');
|
|
57
57
|
require('../models/SdkViewType.cjs');
|
|
58
|
+
require('../models/MFAAction.cjs');
|
|
58
59
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
59
60
|
require('../models/ExportFormatEnum.cjs');
|
|
60
61
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -51,6 +51,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
51
51
|
import '../models/SdkViewSectionAlignment.js';
|
|
52
52
|
import '../models/SdkViewSectionType.js';
|
|
53
53
|
import '../models/SdkViewType.js';
|
|
54
|
+
import '../models/MFAAction.js';
|
|
54
55
|
import '../models/ZerodevBundlerProvider.js';
|
|
55
56
|
import '../models/ExportFormatEnum.js';
|
|
56
57
|
import '../models/ExportModelEnum.js';
|
|
@@ -55,6 +55,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
55
55
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
56
56
|
require('../models/SdkViewSectionType.cjs');
|
|
57
57
|
require('../models/SdkViewType.cjs');
|
|
58
|
+
require('../models/MFAAction.cjs');
|
|
58
59
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
59
60
|
require('../models/ExportFormatEnum.cjs');
|
|
60
61
|
require('../models/ExportModelEnum.cjs');
|
|
@@ -51,6 +51,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
51
51
|
import '../models/SdkViewSectionAlignment.js';
|
|
52
52
|
import '../models/SdkViewSectionType.js';
|
|
53
53
|
import '../models/SdkViewType.js';
|
|
54
|
+
import '../models/MFAAction.js';
|
|
54
55
|
import '../models/ZerodevBundlerProvider.js';
|
|
55
56
|
import '../models/ExportFormatEnum.js';
|
|
56
57
|
import '../models/ExportModelEnum.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -55,6 +55,7 @@ require('../models/SocialSignInProviderEnum.cjs');
|
|
|
55
55
|
require('../models/SdkViewSectionAlignment.cjs');
|
|
56
56
|
require('../models/SdkViewSectionType.cjs');
|
|
57
57
|
require('../models/SdkViewType.cjs');
|
|
58
|
+
require('../models/MFAAction.cjs');
|
|
58
59
|
require('../models/ZerodevBundlerProvider.cjs');
|
|
59
60
|
require('../models/ExportFormatEnum.cjs');
|
|
60
61
|
require('../models/ExportModelEnum.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -51,6 +51,7 @@ import '../models/SocialSignInProviderEnum.js';
|
|
|
51
51
|
import '../models/SdkViewSectionAlignment.js';
|
|
52
52
|
import '../models/SdkViewSectionType.js';
|
|
53
53
|
import '../models/SdkViewType.js';
|
|
54
|
+
import '../models/MFAAction.js';
|
|
54
55
|
import '../models/ZerodevBundlerProvider.js';
|
|
55
56
|
import '../models/ExportFormatEnum.js';
|
|
56
57
|
import '../models/ExportModelEnum.js';
|
package/src/apis/VisitsApi.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/VisitsApi.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/apis/WaasApi.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/WaasApi.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/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';
|
|
@@ -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 };
|