@dynamic-labs/sdk-api-core 0.0.451 → 0.0.452

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.451",
3
+ "version": "0.0.452",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -46,7 +46,6 @@ var InitPasskeyRecoveryRequest = require('../models/InitPasskeyRecoveryRequest.c
46
46
  var InitPasskeyRecoveryResponse = require('../models/InitPasskeyRecoveryResponse.cjs');
47
47
  var JwksResponse = require('../models/JwksResponse.cjs');
48
48
  var MFAAuthRecoveryDevicePostRequest = require('../models/MFAAuthRecoveryDevicePostRequest.cjs');
49
- var MFAAuthResponse = require('../models/MFAAuthResponse.cjs');
50
49
  var MFAAuthTotpDevicePostRequest = require('../models/MFAAuthTotpDevicePostRequest.cjs');
51
50
  var MFADevice = require('../models/MFADevice.cjs');
52
51
  require('../models/MFADeviceType.cjs');
@@ -126,7 +125,7 @@ class SDKApi extends runtime.BaseAPI {
126
125
  query: queryParameters,
127
126
  body: MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestToJSON(requestParameters.mFAAuthRecoveryDevicePostRequest),
128
127
  }, initOverrides);
129
- return new runtime.JSONApiResponse(response, (jsonValue) => MFAAuthResponse.MFAAuthResponseFromJSON(jsonValue));
128
+ return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
130
129
  });
131
130
  }
132
131
  /**
@@ -193,7 +192,7 @@ class SDKApi extends runtime.BaseAPI {
193
192
  query: queryParameters,
194
193
  body: MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestToJSON(requestParameters.mFAAuthTotpDevicePostRequest),
195
194
  }, initOverrides);
196
- return new runtime.JSONApiResponse(response, (jsonValue) => MFAAuthResponse.MFAAuthResponseFromJSON(jsonValue));
195
+ return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
197
196
  });
198
197
  }
199
198
  /**
@@ -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, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, 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';
13
+ import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, 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;
@@ -450,11 +450,11 @@ export declare class SDKApi extends runtime.BaseAPI {
450
450
  /**
451
451
  * Upgrade JWT scope with valid MFA session
452
452
  */
453
- authMfaRecoveryRaw(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<MFAAuthResponse>>;
453
+ authMfaRecoveryRaw(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
454
454
  /**
455
455
  * Upgrade JWT scope with valid MFA session
456
456
  */
457
- authMfaRecovery(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<MFAAuthResponse>;
457
+ authMfaRecovery(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
458
458
  /**
459
459
  * Options call for this endpoint
460
460
  */
@@ -466,11 +466,11 @@ export declare class SDKApi extends runtime.BaseAPI {
466
466
  /**
467
467
  * Upgrade JWT scope with valid MFA session
468
468
  */
469
- authMfaTotpDeviceRaw(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<MFAAuthResponse>>;
469
+ authMfaTotpDeviceRaw(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
470
470
  /**
471
471
  * Upgrade JWT scope with valid MFA session
472
472
  */
473
- authMfaTotpDevice(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<MFAAuthResponse>;
473
+ authMfaTotpDevice(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
474
474
  /**
475
475
  * Options call for this endpoint
476
476
  */
@@ -42,7 +42,6 @@ import { InitPasskeyRecoveryRequestToJSON } from '../models/InitPasskeyRecoveryR
42
42
  import { InitPasskeyRecoveryResponseFromJSON } from '../models/InitPasskeyRecoveryResponse.js';
43
43
  import { JwksResponseFromJSON } from '../models/JwksResponse.js';
44
44
  import { MFAAuthRecoveryDevicePostRequestToJSON } from '../models/MFAAuthRecoveryDevicePostRequest.js';
45
- import { MFAAuthResponseFromJSON } from '../models/MFAAuthResponse.js';
46
45
  import { MFAAuthTotpDevicePostRequestToJSON } from '../models/MFAAuthTotpDevicePostRequest.js';
47
46
  import { MFADeviceFromJSON } from '../models/MFADevice.js';
48
47
  import '../models/MFADeviceType.js';
@@ -122,7 +121,7 @@ class SDKApi extends BaseAPI {
122
121
  query: queryParameters,
123
122
  body: MFAAuthRecoveryDevicePostRequestToJSON(requestParameters.mFAAuthRecoveryDevicePostRequest),
124
123
  }, initOverrides);
125
- return new JSONApiResponse(response, (jsonValue) => MFAAuthResponseFromJSON(jsonValue));
124
+ return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
126
125
  });
127
126
  }
128
127
  /**
@@ -189,7 +188,7 @@ class SDKApi extends BaseAPI {
189
188
  query: queryParameters,
190
189
  body: MFAAuthTotpDevicePostRequestToJSON(requestParameters.mFAAuthTotpDevicePostRequest),
191
190
  }, initOverrides);
192
- return new JSONApiResponse(response, (jsonValue) => MFAAuthResponseFromJSON(jsonValue));
191
+ return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
193
192
  });
194
193
  }
195
194
  /**
package/src/index.cjs CHANGED
@@ -69,7 +69,6 @@ var JwtVerifiedCredential = require('./models/JwtVerifiedCredential.cjs');
69
69
  var JwtVerifiedCredentialFormatEnum = require('./models/JwtVerifiedCredentialFormatEnum.cjs');
70
70
  var KycFieldType = require('./models/KycFieldType.cjs');
71
71
  var MFAAuthRecoveryDevicePostRequest = require('./models/MFAAuthRecoveryDevicePostRequest.cjs');
72
- var MFAAuthResponse = require('./models/MFAAuthResponse.cjs');
73
72
  var MFAAuthTotpDevicePostRequest = require('./models/MFAAuthTotpDevicePostRequest.cjs');
74
73
  var MFADevice = require('./models/MFADevice.cjs');
75
74
  var MFADeviceType = require('./models/MFADeviceType.cjs');
@@ -456,9 +455,6 @@ exports.KycFieldTypeToJSON = KycFieldType.KycFieldTypeToJSON;
456
455
  exports.MFAAuthRecoveryDevicePostRequestFromJSON = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestFromJSON;
457
456
  exports.MFAAuthRecoveryDevicePostRequestFromJSONTyped = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestFromJSONTyped;
458
457
  exports.MFAAuthRecoveryDevicePostRequestToJSON = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestToJSON;
459
- exports.MFAAuthResponseFromJSON = MFAAuthResponse.MFAAuthResponseFromJSON;
460
- exports.MFAAuthResponseFromJSONTyped = MFAAuthResponse.MFAAuthResponseFromJSONTyped;
461
- exports.MFAAuthResponseToJSON = MFAAuthResponse.MFAAuthResponseToJSON;
462
458
  exports.MFAAuthTotpDevicePostRequestFromJSON = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestFromJSON;
463
459
  exports.MFAAuthTotpDevicePostRequestFromJSONTyped = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestFromJSONTyped;
464
460
  exports.MFAAuthTotpDevicePostRequestToJSON = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestToJSON;
package/src/index.js CHANGED
@@ -65,7 +65,6 @@ export { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialFromJSONTyped, JwtV
65
65
  export { JwtVerifiedCredentialFormatEnum, JwtVerifiedCredentialFormatEnumFromJSON, JwtVerifiedCredentialFormatEnumFromJSONTyped, JwtVerifiedCredentialFormatEnumToJSON } from './models/JwtVerifiedCredentialFormatEnum.js';
66
66
  export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON } from './models/KycFieldType.js';
67
67
  export { MFAAuthRecoveryDevicePostRequestFromJSON, MFAAuthRecoveryDevicePostRequestFromJSONTyped, MFAAuthRecoveryDevicePostRequestToJSON } from './models/MFAAuthRecoveryDevicePostRequest.js';
68
- export { MFAAuthResponseFromJSON, MFAAuthResponseFromJSONTyped, MFAAuthResponseToJSON } from './models/MFAAuthResponse.js';
69
68
  export { MFAAuthTotpDevicePostRequestFromJSON, MFAAuthTotpDevicePostRequestFromJSONTyped, MFAAuthTotpDevicePostRequestToJSON } from './models/MFAAuthTotpDevicePostRequest.js';
70
69
  export { MFADeviceFromJSON, MFADeviceFromJSONTyped, MFADeviceToJSON } from './models/MFADevice.js';
71
70
  export { MFADeviceType, MFADeviceTypeFromJSON, MFADeviceTypeFromJSONTyped, MFADeviceTypeToJSON } from './models/MFADeviceType.js';
@@ -63,7 +63,6 @@ export * from './JwtVerifiedCredential';
63
63
  export * from './JwtVerifiedCredentialFormatEnum';
64
64
  export * from './KycFieldType';
65
65
  export * from './MFAAuthRecoveryDevicePostRequest';
66
- export * from './MFAAuthResponse';
67
66
  export * from './MFAAuthTotpDevicePostRequest';
68
67
  export * from './MFADevice';
69
68
  export * from './MFADeviceType';
@@ -1,45 +0,0 @@
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
- function MFAAuthResponseFromJSON(json) {
19
- return MFAAuthResponseFromJSONTyped(json);
20
- }
21
- function MFAAuthResponseFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'jwt': json['jwt'],
27
- 'minifiedJwt': json['minifiedJwt'],
28
- };
29
- }
30
- function MFAAuthResponseToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- return {
38
- 'jwt': value.jwt,
39
- 'minifiedJwt': value.minifiedJwt,
40
- };
41
- }
42
-
43
- exports.MFAAuthResponseFromJSON = MFAAuthResponseFromJSON;
44
- exports.MFAAuthResponseFromJSONTyped = MFAAuthResponseFromJSONTyped;
45
- exports.MFAAuthResponseToJSON = MFAAuthResponseToJSON;
@@ -1,33 +0,0 @@
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 MFAAuthResponse
16
- */
17
- export interface MFAAuthResponse {
18
- /**
19
- * The JWT token for the user
20
- * @type {string}
21
- * @memberof MFAAuthResponse
22
- */
23
- jwt: string;
24
- /**
25
- * The JWT token for the user
26
- * @type {string}
27
- * @memberof MFAAuthResponse
28
- */
29
- minifiedJwt: string;
30
- }
31
- export declare function MFAAuthResponseFromJSON(json: any): MFAAuthResponse;
32
- export declare function MFAAuthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAAuthResponse;
33
- export declare function MFAAuthResponseToJSON(value?: MFAAuthResponse | null): any;
@@ -1,39 +0,0 @@
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
- function MFAAuthResponseFromJSON(json) {
15
- return MFAAuthResponseFromJSONTyped(json);
16
- }
17
- function MFAAuthResponseFromJSONTyped(json, ignoreDiscriminator) {
18
- if ((json === undefined) || (json === null)) {
19
- return json;
20
- }
21
- return {
22
- 'jwt': json['jwt'],
23
- 'minifiedJwt': json['minifiedJwt'],
24
- };
25
- }
26
- function MFAAuthResponseToJSON(value) {
27
- if (value === undefined) {
28
- return undefined;
29
- }
30
- if (value === null) {
31
- return null;
32
- }
33
- return {
34
- 'jwt': value.jwt,
35
- 'minifiedJwt': value.minifiedJwt,
36
- };
37
- }
38
-
39
- export { MFAAuthResponseFromJSON, MFAAuthResponseFromJSONTyped, MFAAuthResponseToJSON };