Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dynamic-labs/sdk-api-core

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/sdk-api-core - npm Package Compare versions

Comparing version 0.0.419 to 0.0.420

src/models/MergeUser.cjs

2

package.json
{
"name": "@dynamic-labs/sdk-api-core",
"version": "0.0.419",
"version": "0.0.420",
"author": "Dynamic Labs",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -13,3 +13,3 @@ /**

import * as runtime from '../runtime';
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, 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, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, 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, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
export interface AuthMfaRecoveryRequest {

@@ -389,2 +389,9 @@ environmentId: string;

}
export interface VerifyMergeUsersRequest {
environmentId: string;
mergeUserConflictResolutions: MergeUserConflictResolutions;
}
export interface VerifyMergeUsersOptionsRequest {
environmentId: string;
}
export interface VerifyOptionsRequest {

@@ -1260,4 +1267,22 @@ environmentId: string;

/**
* Used to merge two users with user-chosen resolutions to conflicting data between the two users to be merged
* Merge users with conflict resolutions
*/
verifyMergeUsersRaw(requestParameters: VerifyMergeUsersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
/**
* Used to merge two users with user-chosen resolutions to conflicting data between the two users to be merged
* Merge users with conflict resolutions
*/
verifyMergeUsers(requestParameters: VerifyMergeUsersRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
/**
* Options call for this endpoint
*/
verifyMergeUsersOptionsRaw(requestParameters: VerifyMergeUsersOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Options call for this endpoint
*/
verifyMergeUsersOptions(requestParameters: VerifyMergeUsersOptionsRequest, initOverrides?: RequestInit): Promise<void>;
/**
* Options call for this endpoint
*/
verifyOptionsRaw(requestParameters: VerifyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;

@@ -1264,0 +1289,0 @@ /**

@@ -76,2 +76,6 @@ export { BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, JSONApiResponse, RequiredError, TextApiResponse, VoidApiResponse, canConsumeForm, exists, mapValues, querystring } from './runtime.js';

export { MFAUpdateDeviceRequestFromJSON, MFAUpdateDeviceRequestFromJSONTyped, MFAUpdateDeviceRequestToJSON } from './models/MFAUpdateDeviceRequest.js';
export { MergeUserFromJSON, MergeUserFromJSONTyped, MergeUserToJSON } from './models/MergeUser.js';
export { MergeUserConflictFromJSON, MergeUserConflictFromJSONTyped, MergeUserConflictToJSON } from './models/MergeUserConflict.js';
export { MergeUserConflictResolutionFromJSON, MergeUserConflictResolutionFromJSONTyped, MergeUserConflictResolutionToJSON } from './models/MergeUserConflictResolution.js';
export { MergeUserConflictResolutionsFromJSON, MergeUserConflictResolutionsFromJSONTyped, MergeUserConflictResolutionsToJSON } from './models/MergeUserConflictResolutions.js';
export { MethodNotAllowedFromJSON, MethodNotAllowedFromJSONTyped, MethodNotAllowedToJSON } from './models/MethodNotAllowed.js';

@@ -78,0 +82,0 @@ export { MinifiedDynamicJwtFromJSON, MinifiedDynamicJwtFromJSONTyped, MinifiedDynamicJwtToJSON } from './models/MinifiedDynamicJwt.js';

@@ -143,8 +143,2 @@ /**

/**
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
* @type {string}
* @memberof DynamicJwt
*/
requestedScope?: string;
/**
*

@@ -151,0 +145,0 @@ * @type {string}

@@ -36,3 +36,2 @@ import { exists } from '../runtime.js';

'scope': !exists(json, 'scope') ? undefined : json['scope'],
'requestedScope': !exists(json, 'requestedScope') ? undefined : json['requestedScope'],
'tShirtSize': !exists(json, 't_shirt_size') ? undefined : json['t_shirt_size'],

@@ -90,3 +89,2 @@ 'team': !exists(json, 'team') ? undefined : json['team'],

'scope': value.scope,
'requestedScope': value.requestedScope,
't_shirt_size': value.tShirtSize,

@@ -93,0 +91,0 @@ 'team': value.team,

@@ -74,2 +74,6 @@ export * from './AuthModeEnum';

export * from './MFAUpdateDeviceRequest';
export * from './MergeUser';
export * from './MergeUserConflict';
export * from './MergeUserConflictResolution';
export * from './MergeUserConflictResolutions';
export * from './MethodNotAllowed';

@@ -76,0 +80,0 @@ export * from './MinifiedDynamicJwt';

@@ -84,8 +84,2 @@ /**

scope?: string;
/**
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
* @type {string}
* @memberof MinifiedDynamicJwt
*/
requestedScope?: string;
}

@@ -92,0 +86,0 @@ export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;

@@ -23,3 +23,2 @@ import { exists } from '../runtime.js';

'scope': !exists(json, 'scope') ? undefined : json['scope'],
'requestedScope': !exists(json, 'requestedScope') ? undefined : json['requestedScope'],
};

@@ -46,3 +45,2 @@ }

'scope': value.scope,
'requestedScope': value.requestedScope,
};

@@ -49,0 +47,0 @@ }

@@ -85,3 +85,4 @@ /**

GateExists = "gate_exists",
InvalidEmbeddedWalletChainsConfiguration = "invalid_embedded_wallet_chains_configuration"
InvalidEmbeddedWalletChainsConfiguration = "invalid_embedded_wallet_chains_configuration",
MergeAccountsConfirmation = "merge_accounts_confirmation"
}

@@ -88,0 +89,0 @@ export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;

@@ -89,2 +89,3 @@ /* tslint:disable */

UnprocessableEntityErrorCode["InvalidEmbeddedWalletChainsConfiguration"] = "invalid_embedded_wallet_chains_configuration";
UnprocessableEntityErrorCode["MergeAccountsConfirmation"] = "merge_accounts_confirmation";
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));

@@ -91,0 +92,0 @@ function UnprocessableEntityErrorCodeFromJSON(json) {

@@ -12,2 +12,3 @@ /**

*/
import { MergeUserConflict } from './MergeUserConflict';
import { ProviderEnum } from './ProviderEnum';

@@ -44,2 +45,8 @@ /**

embeddedSocialSigninProvider?: ProviderEnum;
/**
*
* @type {Array<MergeUserConflict>}
* @memberof UnprocessableEntityErrorPayload
*/
mergeUserConflicts?: Array<MergeUserConflict>;
}

@@ -46,0 +53,0 @@ export declare function UnprocessableEntityErrorPayloadFromJSON(json: any): UnprocessableEntityErrorPayload;

import { exists } from '../runtime.js';
import { MergeUserConflictFromJSON, MergeUserConflictToJSON } from './MergeUserConflict.js';
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';

@@ -17,2 +18,3 @@

'embeddedSocialSigninProvider': !exists(json, 'embeddedSocialSigninProvider') ? undefined : ProviderEnumFromJSON(json['embeddedSocialSigninProvider']),
'mergeUserConflicts': !exists(json, 'mergeUserConflicts') ? undefined : (json['mergeUserConflicts'].map(MergeUserConflictFromJSON)),
};

@@ -32,2 +34,3 @@ }

'embeddedSocialSigninProvider': ProviderEnumToJSON(value.embeddedSocialSigninProvider),
'mergeUserConflicts': value.mergeUserConflicts === undefined ? undefined : (value.mergeUserConflicts.map(MergeUserConflictToJSON)),
};

@@ -34,0 +37,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc