@dynamic-labs/sdk-api-core 0.0.1
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/_virtual/_tslib.cjs +35 -0
- package/_virtual/_tslib.js +31 -0
- package/package.json +33 -0
- package/src/apis/SDKApi.cjs +3639 -0
- package/src/apis/SDKApi.d.ts +1325 -0
- package/src/apis/SDKApi.js +3635 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +767 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +160 -0
- package/src/models/AuthModeEnum.cjs +40 -0
- package/src/models/AuthModeEnum.d.ts +23 -0
- package/src/models/AuthModeEnum.js +34 -0
- package/src/models/AuthenticatorTransportProtocol.cjs +43 -0
- package/src/models/AuthenticatorTransportProtocol.d.ts +26 -0
- package/src/models/AuthenticatorTransportProtocol.js +37 -0
- package/src/models/BadRequest.cjs +33 -0
- package/src/models/BadRequest.d.ts +27 -0
- package/src/models/BadRequest.js +27 -0
- package/src/models/BaseUser.cjs +93 -0
- package/src/models/BaseUser.d.ts +203 -0
- package/src/models/BaseUser.js +87 -0
- package/src/models/ChainConfiguration.cjs +47 -0
- package/src/models/ChainConfiguration.d.ts +39 -0
- package/src/models/ChainConfiguration.js +41 -0
- package/src/models/ChainEnum.cjs +46 -0
- package/src/models/ChainEnum.d.ts +29 -0
- package/src/models/ChainEnum.js +40 -0
- package/src/models/CoinbaseMpcWalletProperties.cjs +36 -0
- package/src/models/CoinbaseMpcWalletProperties.d.ts +34 -0
- package/src/models/CoinbaseMpcWalletProperties.js +30 -0
- package/src/models/CompletePasskeyRecoveryRequest.cjs +37 -0
- package/src/models/CompletePasskeyRecoveryRequest.d.ts +40 -0
- package/src/models/CompletePasskeyRecoveryRequest.js +31 -0
- package/src/models/ConnectRequest.cjs +44 -0
- package/src/models/ConnectRequest.d.ts +54 -0
- package/src/models/ConnectRequest.js +38 -0
- package/src/models/CreateEmbeddedWalletParams.cjs +46 -0
- package/src/models/CreateEmbeddedWalletParams.d.ts +60 -0
- package/src/models/CreateEmbeddedWalletParams.js +40 -0
- package/src/models/CreateEmbeddedWalletSpecificOpts.cjs +29 -0
- package/src/models/CreateEmbeddedWalletSpecificOpts.d.ts +21 -0
- package/src/models/CreateEmbeddedWalletSpecificOpts.js +23 -0
- package/src/models/CreateEmbeddedWalletsRequest.cjs +33 -0
- package/src/models/CreateEmbeddedWalletsRequest.d.ts +28 -0
- package/src/models/CreateEmbeddedWalletsRequest.js +27 -0
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.cjs +35 -0
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.d.ts +34 -0
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.js +29 -0
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.cjs +37 -0
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.d.ts +40 -0
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.js +31 -0
- package/src/models/CreateUserEmbeddedWalletsRequest.cjs +38 -0
- package/src/models/CreateUserEmbeddedWalletsRequest.d.ts +41 -0
- package/src/models/CreateUserEmbeddedWalletsRequest.js +32 -0
- package/src/models/Currency.cjs +41 -0
- package/src/models/Currency.d.ts +52 -0
- package/src/models/Currency.js +35 -0
- package/src/models/CurrencyType.cjs +40 -0
- package/src/models/CurrencyType.d.ts +23 -0
- package/src/models/CurrencyType.js +34 -0
- package/src/models/Duration.cjs +35 -0
- package/src/models/Duration.d.ts +34 -0
- package/src/models/Duration.js +29 -0
- package/src/models/DynamicJwt.cjs +121 -0
- package/src/models/DynamicJwt.d.ts +283 -0
- package/src/models/DynamicJwt.js +115 -0
- package/src/models/EmailProviderResponse.cjs +33 -0
- package/src/models/EmailProviderResponse.d.ts +28 -0
- package/src/models/EmailProviderResponse.js +27 -0
- package/src/models/EmailVerificationCreateRequest.cjs +35 -0
- package/src/models/EmailVerificationCreateRequest.d.ts +33 -0
- package/src/models/EmailVerificationCreateRequest.js +29 -0
- package/src/models/EmailVerificationCreateResponse.cjs +45 -0
- package/src/models/EmailVerificationCreateResponse.d.ts +33 -0
- package/src/models/EmailVerificationCreateResponse.js +39 -0
- package/src/models/EmailVerificationRetryRequest.cjs +37 -0
- package/src/models/EmailVerificationRetryRequest.d.ts +39 -0
- package/src/models/EmailVerificationRetryRequest.js +31 -0
- package/src/models/EmailVerificationVerifyRequest.cjs +37 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +39 -0
- package/src/models/EmailVerificationVerifyRequest.js +31 -0
- package/src/models/EmbeddedWalletAuthToken.cjs +43 -0
- package/src/models/EmbeddedWalletAuthToken.d.ts +27 -0
- package/src/models/EmbeddedWalletAuthToken.js +37 -0
- package/src/models/EmbeddedWalletAuthType.cjs +39 -0
- package/src/models/EmbeddedWalletAuthType.d.ts +22 -0
- package/src/models/EmbeddedWalletAuthType.js +33 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.cjs +43 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.d.ts +27 -0
- package/src/models/EmbeddedWalletPasscodeClaimRequest.js +37 -0
- package/src/models/EmbeddedWalletProviderEnum.cjs +40 -0
- package/src/models/EmbeddedWalletProviderEnum.d.ts +23 -0
- package/src/models/EmbeddedWalletProviderEnum.js +34 -0
- package/src/models/EmbeddedWalletSecret.cjs +38 -0
- package/src/models/EmbeddedWalletSecret.d.ts +40 -0
- package/src/models/EmbeddedWalletSecret.js +32 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +45 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +59 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +39 -0
- package/src/models/EmbeddedWalletSecurityMethod.cjs +40 -0
- package/src/models/EmbeddedWalletSecurityMethod.d.ts +23 -0
- package/src/models/EmbeddedWalletSecurityMethod.js +34 -0
- package/src/models/EnvironmentEnum.cjs +40 -0
- package/src/models/EnvironmentEnum.d.ts +23 -0
- package/src/models/EnvironmentEnum.js +34 -0
- package/src/models/ErrorMessageWithCode.cjs +35 -0
- package/src/models/ErrorMessageWithCode.d.ts +33 -0
- package/src/models/ErrorMessageWithCode.js +29 -0
- package/src/models/ExportEmbeddedWalletResponse.cjs +43 -0
- package/src/models/ExportEmbeddedWalletResponse.d.ts +27 -0
- package/src/models/ExportEmbeddedWalletResponse.js +37 -0
- package/src/models/FarcasterSignInRequest.cjs +51 -0
- package/src/models/FarcasterSignInRequest.d.ts +51 -0
- package/src/models/FarcasterSignInRequest.js +45 -0
- package/src/models/FarcasterSignInResponse.cjs +37 -0
- package/src/models/FarcasterSignInResponse.d.ts +40 -0
- package/src/models/FarcasterSignInResponse.js +31 -0
- package/src/models/Forbidden.cjs +33 -0
- package/src/models/Forbidden.d.ts +27 -0
- package/src/models/Forbidden.js +27 -0
- package/src/models/ForbiddenErrorPayload.cjs +35 -0
- package/src/models/ForbiddenErrorPayload.d.ts +33 -0
- package/src/models/ForbiddenErrorPayload.js +29 -0
- package/src/models/ForbiddenWithErrorAndPayload.cjs +37 -0
- package/src/models/ForbiddenWithErrorAndPayload.d.ts +35 -0
- package/src/models/ForbiddenWithErrorAndPayload.js +31 -0
- package/src/models/FrameworkSettings.cjs +37 -0
- package/src/models/FrameworkSettings.d.ts +35 -0
- package/src/models/FrameworkSettings.js +31 -0
- package/src/models/GetUserPasskeysResponse.cjs +35 -0
- package/src/models/GetUserPasskeysResponse.d.ts +34 -0
- package/src/models/GetUserPasskeysResponse.js +29 -0
- package/src/models/HCaptchaSettings.cjs +37 -0
- package/src/models/HCaptchaSettings.d.ts +39 -0
- package/src/models/HCaptchaSettings.js +31 -0
- package/src/models/HardwareWalletEnum.cjs +39 -0
- package/src/models/HardwareWalletEnum.d.ts +22 -0
- package/src/models/HardwareWalletEnum.js +33 -0
- package/src/models/HardwareWalletProperties.cjs +34 -0
- package/src/models/HardwareWalletProperties.d.ts +28 -0
- package/src/models/HardwareWalletProperties.js +28 -0
- package/src/models/HealthcheckResponse.cjs +33 -0
- package/src/models/HealthcheckResponse.d.ts +28 -0
- package/src/models/HealthcheckResponse.js +27 -0
- package/src/models/HealthcheckStatus.cjs +40 -0
- package/src/models/HealthcheckStatus.d.ts +23 -0
- package/src/models/HealthcheckStatus.js +34 -0
- package/src/models/InitEmailAuthRequest.cjs +45 -0
- package/src/models/InitEmailAuthRequest.d.ts +33 -0
- package/src/models/InitEmailAuthRequest.js +39 -0
- package/src/models/InitEmailAuthResponse.cjs +45 -0
- package/src/models/InitEmailAuthResponse.d.ts +33 -0
- package/src/models/InitEmailAuthResponse.js +39 -0
- package/src/models/InitPasskeyRecoveryRequest.cjs +45 -0
- package/src/models/InitPasskeyRecoveryRequest.d.ts +33 -0
- package/src/models/InitPasskeyRecoveryRequest.js +39 -0
- package/src/models/InitPasskeyRecoveryResponse.cjs +43 -0
- package/src/models/InitPasskeyRecoveryResponse.d.ts +27 -0
- package/src/models/InitPasskeyRecoveryResponse.js +37 -0
- package/src/models/IntegrationSetting.cjs +37 -0
- package/src/models/IntegrationSetting.d.ts +39 -0
- package/src/models/IntegrationSetting.js +31 -0
- package/src/models/InternalServerError.cjs +33 -0
- package/src/models/InternalServerError.d.ts +27 -0
- package/src/models/InternalServerError.js +27 -0
- package/src/models/JwksKey.cjs +43 -0
- package/src/models/JwksKey.d.ts +57 -0
- package/src/models/JwksKey.js +37 -0
- package/src/models/JwksResponse.cjs +33 -0
- package/src/models/JwksResponse.d.ts +28 -0
- package/src/models/JwksResponse.js +27 -0
- package/src/models/JwtBlockchainAccount.cjs +45 -0
- package/src/models/JwtBlockchainAccount.d.ts +59 -0
- package/src/models/JwtBlockchainAccount.js +39 -0
- package/src/models/JwtPayloadDeprecatedInfo.cjs +63 -0
- package/src/models/JwtPayloadDeprecatedInfo.d.ts +113 -0
- package/src/models/JwtPayloadDeprecatedInfo.js +57 -0
- package/src/models/JwtVerifiedCredential.cjs +87 -0
- package/src/models/JwtVerifiedCredential.d.ts +177 -0
- package/src/models/JwtVerifiedCredential.js +81 -0
- package/src/models/JwtVerifiedCredentialFormatEnum.cjs +43 -0
- package/src/models/JwtVerifiedCredentialFormatEnum.d.ts +26 -0
- package/src/models/JwtVerifiedCredentialFormatEnum.js +37 -0
- package/src/models/KycFieldType.cjs +40 -0
- package/src/models/KycFieldType.d.ts +23 -0
- package/src/models/KycFieldType.js +34 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.cjs +43 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.d.ts +27 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.js +37 -0
- package/src/models/MFAAuthResponse.cjs +45 -0
- package/src/models/MFAAuthResponse.d.ts +33 -0
- package/src/models/MFAAuthResponse.js +39 -0
- package/src/models/MFAAuthTotpDevicePostRequest.cjs +35 -0
- package/src/models/MFAAuthTotpDevicePostRequest.d.ts +33 -0
- package/src/models/MFAAuthTotpDevicePostRequest.js +29 -0
- package/src/models/MFADevice.cjs +42 -0
- package/src/models/MFADevice.d.ts +52 -0
- package/src/models/MFADevice.js +36 -0
- package/src/models/MFADeviceType.cjs +39 -0
- package/src/models/MFADeviceType.d.ts +22 -0
- package/src/models/MFADeviceType.js +33 -0
- package/src/models/MFAGetRecoveryCodesResponse.cjs +45 -0
- package/src/models/MFAGetRecoveryCodesResponse.d.ts +33 -0
- package/src/models/MFAGetRecoveryCodesResponse.js +39 -0
- package/src/models/MFAListDevicesResponse.cjs +35 -0
- package/src/models/MFAListDevicesResponse.d.ts +34 -0
- package/src/models/MFAListDevicesResponse.js +29 -0
- package/src/models/MFARegenRecoveryCodesResponse.cjs +45 -0
- package/src/models/MFARegenRecoveryCodesResponse.d.ts +33 -0
- package/src/models/MFARegenRecoveryCodesResponse.js +39 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.cjs +39 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.d.ts +46 -0
- package/src/models/MFARegisterTotpDeviceGetResponse.js +33 -0
- package/src/models/MFARegisterTotpDevicePostRequest.cjs +35 -0
- package/src/models/MFARegisterTotpDevicePostRequest.d.ts +34 -0
- package/src/models/MFARegisterTotpDevicePostRequest.js +29 -0
- package/src/models/MFAUpdateDeviceRequest.cjs +43 -0
- package/src/models/MFAUpdateDeviceRequest.d.ts +27 -0
- package/src/models/MFAUpdateDeviceRequest.js +37 -0
- package/src/models/MethodNotAllowed.cjs +33 -0
- package/src/models/MethodNotAllowed.d.ts +27 -0
- package/src/models/MethodNotAllowed.js +27 -0
- package/src/models/MinifiedDynamicJwt.cjs +55 -0
- package/src/models/MinifiedDynamicJwt.d.ts +93 -0
- package/src/models/MinifiedDynamicJwt.js +49 -0
- package/src/models/NameService.cjs +33 -0
- package/src/models/NameService.d.ts +27 -0
- package/src/models/NameService.js +27 -0
- package/src/models/NameServiceData.cjs +35 -0
- package/src/models/NameServiceData.d.ts +33 -0
- package/src/models/NameServiceData.js +29 -0
- package/src/models/NativeCurrency.cjs +39 -0
- package/src/models/NativeCurrency.d.ts +45 -0
- package/src/models/NativeCurrency.js +33 -0
- package/src/models/Network.cjs +39 -0
- package/src/models/Network.d.ts +45 -0
- package/src/models/Network.js +33 -0
- package/src/models/NetworkConfiguration.cjs +61 -0
- package/src/models/NetworkConfiguration.d.ts +107 -0
- package/src/models/NetworkConfiguration.js +55 -0
- package/src/models/NetworkConfigurationResponse.cjs +36 -0
- package/src/models/NetworkConfigurationResponse.d.ts +34 -0
- package/src/models/NetworkConfigurationResponse.js +30 -0
- package/src/models/NextJsSettings.cjs +33 -0
- package/src/models/NextJsSettings.d.ts +27 -0
- package/src/models/NextJsSettings.js +27 -0
- package/src/models/NextViewEnum.cjs +42 -0
- package/src/models/NextViewEnum.d.ts +25 -0
- package/src/models/NextViewEnum.js +36 -0
- package/src/models/NonceResponse.cjs +33 -0
- package/src/models/NonceResponse.d.ts +27 -0
- package/src/models/NonceResponse.js +27 -0
- package/src/models/NotFound.cjs +45 -0
- package/src/models/NotFound.d.ts +33 -0
- package/src/models/NotFound.js +39 -0
- package/src/models/OAuthAccount.cjs +36 -0
- package/src/models/OAuthAccount.d.ts +34 -0
- package/src/models/OAuthAccount.js +30 -0
- package/src/models/OauthProviderLoginUrl.cjs +43 -0
- package/src/models/OauthProviderLoginUrl.d.ts +27 -0
- package/src/models/OauthProviderLoginUrl.js +37 -0
- package/src/models/OauthProviderRequest.cjs +38 -0
- package/src/models/OauthProviderRequest.d.ts +40 -0
- package/src/models/OauthProviderRequest.js +32 -0
- package/src/models/OauthRequest.cjs +39 -0
- package/src/models/OauthRequest.d.ts +45 -0
- package/src/models/OauthRequest.js +33 -0
- package/src/models/OauthResultRequest.cjs +43 -0
- package/src/models/OauthResultRequest.d.ts +27 -0
- package/src/models/OauthResultRequest.js +37 -0
- package/src/models/OauthResultResponse.cjs +38 -0
- package/src/models/OauthResultResponse.d.ts +40 -0
- package/src/models/OauthResultResponse.js +32 -0
- package/src/models/OauthResultStatus.cjs +40 -0
- package/src/models/OauthResultStatus.d.ts +23 -0
- package/src/models/OauthResultStatus.js +34 -0
- package/src/models/OnrampConfiguration.cjs +40 -0
- package/src/models/OnrampConfiguration.d.ts +46 -0
- package/src/models/OnrampConfiguration.js +34 -0
- package/src/models/PasskeyRegistrationCredential.cjs +39 -0
- package/src/models/PasskeyRegistrationCredential.d.ts +46 -0
- package/src/models/PasskeyRegistrationCredential.js +33 -0
- package/src/models/PasskeyStorage.cjs +37 -0
- package/src/models/PasskeyStorage.d.ts +39 -0
- package/src/models/PasskeyStorage.js +31 -0
- package/src/models/PasswordSourceTypeEnum.cjs +40 -0
- package/src/models/PasswordSourceTypeEnum.d.ts +23 -0
- package/src/models/PasswordSourceTypeEnum.js +34 -0
- package/src/models/PrefetchRequest.cjs +35 -0
- package/src/models/PrefetchRequest.d.ts +34 -0
- package/src/models/PrefetchRequest.js +29 -0
- package/src/models/ProjectSettings.cjs +61 -0
- package/src/models/ProjectSettings.d.ts +91 -0
- package/src/models/ProjectSettings.js +55 -0
- package/src/models/ProjectSettingsChains.cjs +38 -0
- package/src/models/ProjectSettingsChains.d.ts +40 -0
- package/src/models/ProjectSettingsChains.js +32 -0
- package/src/models/ProjectSettingsDesign.cjs +40 -0
- package/src/models/ProjectSettingsDesign.d.ts +42 -0
- package/src/models/ProjectSettingsDesign.js +34 -0
- package/src/models/ProjectSettingsDesignButton.cjs +41 -0
- package/src/models/ProjectSettingsDesignButton.d.ts +51 -0
- package/src/models/ProjectSettingsDesignButton.js +35 -0
- package/src/models/ProjectSettingsDesignModal.cjs +57 -0
- package/src/models/ProjectSettingsDesignModal.d.ts +99 -0
- package/src/models/ProjectSettingsDesignModal.js +51 -0
- package/src/models/ProjectSettingsDesignWidget.cjs +41 -0
- package/src/models/ProjectSettingsDesignWidget.d.ts +51 -0
- package/src/models/ProjectSettingsDesignWidget.js +35 -0
- package/src/models/ProjectSettingsGeneral.cjs +53 -0
- package/src/models/ProjectSettingsGeneral.d.ts +89 -0
- package/src/models/ProjectSettingsGeneral.js +47 -0
- package/src/models/ProjectSettingsKyc.cjs +44 -0
- package/src/models/ProjectSettingsKyc.d.ts +58 -0
- package/src/models/ProjectSettingsKyc.js +38 -0
- package/src/models/ProjectSettingsPrivacy.cjs +33 -0
- package/src/models/ProjectSettingsPrivacy.d.ts +27 -0
- package/src/models/ProjectSettingsPrivacy.js +27 -0
- package/src/models/ProjectSettingsSdk.cjs +74 -0
- package/src/models/ProjectSettingsSdk.d.ts +136 -0
- package/src/models/ProjectSettingsSdk.js +68 -0
- package/src/models/ProjectSettingsSdkAccountAbstraction.cjs +35 -0
- package/src/models/ProjectSettingsSdkAccountAbstraction.d.ts +33 -0
- package/src/models/ProjectSettingsSdkAccountAbstraction.js +29 -0
- package/src/models/ProjectSettingsSdkEmailSignIn.cjs +34 -0
- package/src/models/ProjectSettingsSdkEmailSignIn.d.ts +28 -0
- package/src/models/ProjectSettingsSdkEmailSignIn.js +28 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.cjs +50 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.d.ts +72 -0
- package/src/models/ProjectSettingsSdkEmbeddedWallets.js +44 -0
- package/src/models/ProjectSettingsSdkSocialSignIn.cjs +37 -0
- package/src/models/ProjectSettingsSdkSocialSignIn.d.ts +35 -0
- package/src/models/ProjectSettingsSdkSocialSignIn.js +31 -0
- package/src/models/ProjectSettingsSdkWalletConnect.cjs +35 -0
- package/src/models/ProjectSettingsSdkWalletConnect.d.ts +33 -0
- package/src/models/ProjectSettingsSdkWalletConnect.js +29 -0
- package/src/models/ProjectSettingsSecurity.cjs +37 -0
- package/src/models/ProjectSettingsSecurity.d.ts +35 -0
- package/src/models/ProjectSettingsSecurity.js +31 -0
- package/src/models/Provider.cjs +68 -0
- package/src/models/Provider.d.ts +126 -0
- package/src/models/Provider.js +62 -0
- package/src/models/ProviderAgreement.cjs +49 -0
- package/src/models/ProviderAgreement.d.ts +45 -0
- package/src/models/ProviderAgreement.js +43 -0
- package/src/models/ProviderEnum.cjs +62 -0
- package/src/models/ProviderEnum.d.ts +45 -0
- package/src/models/ProviderEnum.js +56 -0
- package/src/models/PublishEvents.cjs +33 -0
- package/src/models/PublishEvents.d.ts +28 -0
- package/src/models/PublishEvents.js +27 -0
- package/src/models/PublishEventsEvents.cjs +57 -0
- package/src/models/PublishEventsEvents.d.ts +54 -0
- package/src/models/PublishEventsEvents.js +51 -0
- package/src/models/ReactSettings.cjs +33 -0
- package/src/models/ReactSettings.d.ts +27 -0
- package/src/models/ReactSettings.js +27 -0
- package/src/models/SdkSettingsRequest.cjs +38 -0
- package/src/models/SdkSettingsRequest.d.ts +40 -0
- package/src/models/SdkSettingsRequest.js +32 -0
- package/src/models/SdkUser.cjs +93 -0
- package/src/models/SdkUser.d.ts +203 -0
- package/src/models/SdkUser.js +87 -0
- package/src/models/SdkView.cjs +37 -0
- package/src/models/SdkView.d.ts +35 -0
- package/src/models/SdkView.js +31 -0
- package/src/models/SdkViewSection.cjs +43 -0
- package/src/models/SdkViewSection.d.ts +53 -0
- package/src/models/SdkViewSection.js +37 -0
- package/src/models/SdkViewSectionAlignment.cjs +41 -0
- package/src/models/SdkViewSectionAlignment.d.ts +24 -0
- package/src/models/SdkViewSectionAlignment.js +35 -0
- package/src/models/SdkViewSectionType.cjs +45 -0
- package/src/models/SdkViewSectionType.d.ts +28 -0
- package/src/models/SdkViewSectionType.js +39 -0
- package/src/models/SdkViewType.cjs +39 -0
- package/src/models/SdkViewType.d.ts +22 -0
- package/src/models/SdkViewType.js +33 -0
- package/src/models/SdkViewUpdateRequest.cjs +34 -0
- package/src/models/SdkViewUpdateRequest.d.ts +28 -0
- package/src/models/SdkViewUpdateRequest.js +28 -0
- package/src/models/SdkViewsResponse.cjs +34 -0
- package/src/models/SdkViewsResponse.d.ts +28 -0
- package/src/models/SdkViewsResponse.js +28 -0
- package/src/models/SignInProviderEnum.cjs +43 -0
- package/src/models/SignInProviderEnum.d.ts +26 -0
- package/src/models/SignInProviderEnum.js +37 -0
- package/src/models/SmsCountryCode.cjs +45 -0
- package/src/models/SmsCountryCode.d.ts +33 -0
- package/src/models/SmsCountryCode.js +39 -0
- package/src/models/SmsVerificationCreateRequest.cjs +39 -0
- package/src/models/SmsVerificationCreateRequest.d.ts +45 -0
- package/src/models/SmsVerificationCreateRequest.js +33 -0
- package/src/models/SmsVerificationCreateResponse.cjs +49 -0
- package/src/models/SmsVerificationCreateResponse.d.ts +45 -0
- package/src/models/SmsVerificationCreateResponse.js +43 -0
- package/src/models/SmsVerificationRetryRequest.cjs +41 -0
- package/src/models/SmsVerificationRetryRequest.d.ts +51 -0
- package/src/models/SmsVerificationRetryRequest.js +35 -0
- package/src/models/SmsVerificationVerifyRequest.cjs +37 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +39 -0
- package/src/models/SmsVerificationVerifyRequest.js +31 -0
- package/src/models/SocialSignInProvider.cjs +36 -0
- package/src/models/SocialSignInProvider.d.ts +34 -0
- package/src/models/SocialSignInProvider.js +30 -0
- package/src/models/SocialSignInProviderEnum.cjs +52 -0
- package/src/models/SocialSignInProviderEnum.d.ts +35 -0
- package/src/models/SocialSignInProviderEnum.js +46 -0
- package/src/models/SupportedOnrampsResponse.cjs +34 -0
- package/src/models/SupportedOnrampsResponse.d.ts +28 -0
- package/src/models/SupportedOnrampsResponse.js +28 -0
- package/src/models/SupportedSecurityMethod.cjs +49 -0
- package/src/models/SupportedSecurityMethod.d.ts +45 -0
- package/src/models/SupportedSecurityMethod.js +43 -0
- package/src/models/SupportedSecurityMethods.cjs +38 -0
- package/src/models/SupportedSecurityMethods.d.ts +40 -0
- package/src/models/SupportedSecurityMethods.js +32 -0
- package/src/models/TimeUnitEnum.cjs +41 -0
- package/src/models/TimeUnitEnum.d.ts +24 -0
- package/src/models/TimeUnitEnum.js +35 -0
- package/src/models/TurnkeySignedRequest.cjs +37 -0
- package/src/models/TurnkeySignedRequest.d.ts +40 -0
- package/src/models/TurnkeySignedRequest.js +31 -0
- package/src/models/TurnkeyStamp.cjs +45 -0
- package/src/models/TurnkeyStamp.d.ts +33 -0
- package/src/models/TurnkeyStamp.js +39 -0
- package/src/models/TurnkeyWalletProperties.cjs +41 -0
- package/src/models/TurnkeyWalletProperties.d.ts +51 -0
- package/src/models/TurnkeyWalletProperties.js +35 -0
- package/src/models/Unauthorized.cjs +33 -0
- package/src/models/Unauthorized.d.ts +27 -0
- package/src/models/Unauthorized.js +27 -0
- package/src/models/UnprocessableEntity.cjs +39 -0
- package/src/models/UnprocessableEntity.d.ts +41 -0
- package/src/models/UnprocessableEntity.js +33 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +106 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +89 -0
- package/src/models/UnprocessableEntityErrorCode.js +100 -0
- package/src/models/UnprocessableEntityErrorPayload.cjs +40 -0
- package/src/models/UnprocessableEntityErrorPayload.d.ts +46 -0
- package/src/models/UnprocessableEntityErrorPayload.js +34 -0
- package/src/models/UpdateRecoveryEmailRequest.cjs +33 -0
- package/src/models/UpdateRecoveryEmailRequest.d.ts +28 -0
- package/src/models/UpdateRecoveryEmailRequest.js +27 -0
- package/src/models/UpdateSelfResponse.cjs +47 -0
- package/src/models/UpdateSelfResponse.d.ts +61 -0
- package/src/models/UpdateSelfResponse.js +41 -0
- package/src/models/UpdateUserPasskeyRequest.cjs +35 -0
- package/src/models/UpdateUserPasskeyRequest.d.ts +33 -0
- package/src/models/UpdateUserPasskeyRequest.js +29 -0
- package/src/models/UserFields.cjs +75 -0
- package/src/models/UserFields.d.ts +153 -0
- package/src/models/UserFields.js +69 -0
- package/src/models/UserIdentifierTypeEnum.cjs +40 -0
- package/src/models/UserIdentifierTypeEnum.d.ts +23 -0
- package/src/models/UserIdentifierTypeEnum.js +34 -0
- package/src/models/UserOauthAccessTokenResponse.cjs +43 -0
- package/src/models/UserOauthAccessTokenResponse.d.ts +27 -0
- package/src/models/UserOauthAccessTokenResponse.js +37 -0
- package/src/models/UserPasskey.cjs +48 -0
- package/src/models/UserPasskey.d.ts +70 -0
- package/src/models/UserPasskey.js +42 -0
- package/src/models/VerifyRequest.cjs +64 -0
- package/src/models/VerifyRequest.d.ts +110 -0
- package/src/models/VerifyRequest.js +58 -0
- package/src/models/VerifyResponse.cjs +37 -0
- package/src/models/VerifyResponse.d.ts +40 -0
- package/src/models/VerifyResponse.js +31 -0
- package/src/models/VerifyUnlinkRequest.cjs +37 -0
- package/src/models/VerifyUnlinkRequest.d.ts +39 -0
- package/src/models/VerifyUnlinkRequest.js +31 -0
- package/src/models/WalletAdditionalAddress.cjs +38 -0
- package/src/models/WalletAdditionalAddress.d.ts +40 -0
- package/src/models/WalletAdditionalAddress.js +32 -0
- package/src/models/WalletAddressType.cjs +40 -0
- package/src/models/WalletAddressType.d.ts +23 -0
- package/src/models/WalletAddressType.js +34 -0
- package/src/models/WalletProperties.cjs +49 -0
- package/src/models/WalletProperties.d.ts +71 -0
- package/src/models/WalletProperties.js +43 -0
- package/src/models/WalletProviderEnum.cjs +45 -0
- package/src/models/WalletProviderEnum.d.ts +28 -0
- package/src/models/WalletProviderEnum.js +39 -0
- package/src/models/index.d.ts +158 -0
- package/src/runtime.cjs +235 -0
- package/src/runtime.d.ts +140 -0
- package/src/runtime.js +219 -0
|
@@ -0,0 +1,203 @@
|
|
|
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 { JwtVerifiedCredential } from './JwtVerifiedCredential';
|
|
13
|
+
import { ProjectSettingsKyc } from './ProjectSettingsKyc';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SdkUser
|
|
18
|
+
*/
|
|
19
|
+
export interface SdkUser {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SdkUser
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SdkUser
|
|
30
|
+
*/
|
|
31
|
+
projectEnvironmentId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<JwtVerifiedCredential>}
|
|
35
|
+
* @memberof SdkUser
|
|
36
|
+
*/
|
|
37
|
+
verifiedCredentials: Array<JwtVerifiedCredential>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SdkUser
|
|
42
|
+
*/
|
|
43
|
+
alias?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Standard ISO 3166-1 alpha-2 two-letter country code
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SdkUser
|
|
48
|
+
*/
|
|
49
|
+
country?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SdkUser
|
|
54
|
+
*/
|
|
55
|
+
email?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SdkUser
|
|
60
|
+
*/
|
|
61
|
+
firstName?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SdkUser
|
|
66
|
+
*/
|
|
67
|
+
jobTitle?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SdkUser
|
|
72
|
+
*/
|
|
73
|
+
lastName?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof SdkUser
|
|
78
|
+
*/
|
|
79
|
+
phoneNumber?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof SdkUser
|
|
84
|
+
*/
|
|
85
|
+
policiesConsent?: boolean | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof SdkUser
|
|
90
|
+
*/
|
|
91
|
+
tShirtSize?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof SdkUser
|
|
96
|
+
*/
|
|
97
|
+
team?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SdkUser
|
|
102
|
+
*/
|
|
103
|
+
username?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Date}
|
|
107
|
+
* @memberof SdkUser
|
|
108
|
+
*/
|
|
109
|
+
firstVisit?: Date;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Date}
|
|
113
|
+
* @memberof SdkUser
|
|
114
|
+
*/
|
|
115
|
+
lastVisit?: Date;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof SdkUser
|
|
120
|
+
*/
|
|
121
|
+
newUser?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {object}
|
|
125
|
+
* @memberof SdkUser
|
|
126
|
+
*/
|
|
127
|
+
metadata?: object;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof SdkUser
|
|
132
|
+
*/
|
|
133
|
+
btcWallet?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof SdkUser
|
|
138
|
+
*/
|
|
139
|
+
kdaWallet?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof SdkUser
|
|
144
|
+
*/
|
|
145
|
+
ltcWallet?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof SdkUser
|
|
150
|
+
*/
|
|
151
|
+
ckbWallet?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof SdkUser
|
|
156
|
+
*/
|
|
157
|
+
kasWallet?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof SdkUser
|
|
162
|
+
*/
|
|
163
|
+
dogeWallet?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {boolean}
|
|
167
|
+
* @memberof SdkUser
|
|
168
|
+
*/
|
|
169
|
+
emailNotification?: boolean | null;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {boolean}
|
|
173
|
+
* @memberof SdkUser
|
|
174
|
+
*/
|
|
175
|
+
discordNotification?: boolean | null;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {boolean}
|
|
179
|
+
* @memberof SdkUser
|
|
180
|
+
*/
|
|
181
|
+
newsletterNotification?: boolean | null;
|
|
182
|
+
/**
|
|
183
|
+
* Access lists evaluated by Dynamic when considering access for the user.
|
|
184
|
+
* @type {Array<string>}
|
|
185
|
+
* @memberof SdkUser
|
|
186
|
+
*/
|
|
187
|
+
lists?: Array<string>;
|
|
188
|
+
/**
|
|
189
|
+
* 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
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof SdkUser
|
|
192
|
+
*/
|
|
193
|
+
scope?: string;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {Array<ProjectSettingsKyc>}
|
|
197
|
+
* @memberof SdkUser
|
|
198
|
+
*/
|
|
199
|
+
missingFields?: Array<ProjectSettingsKyc>;
|
|
200
|
+
}
|
|
201
|
+
export declare function SdkUserFromJSON(json: any): SdkUser;
|
|
202
|
+
export declare function SdkUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkUser;
|
|
203
|
+
export declare function SdkUserToJSON(value?: SdkUser | null): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialToJSON } from './JwtVerifiedCredential.js';
|
|
3
|
+
import { ProjectSettingsKycFromJSON, ProjectSettingsKycToJSON } from './ProjectSettingsKyc.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function SdkUserFromJSON(json) {
|
|
7
|
+
return SdkUserFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'id': json['id'],
|
|
15
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
16
|
+
'verifiedCredentials': (json['verifiedCredentials'].map(JwtVerifiedCredentialFromJSON)),
|
|
17
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
18
|
+
'country': !exists(json, 'country') ? undefined : json['country'],
|
|
19
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
20
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
21
|
+
'jobTitle': !exists(json, 'jobTitle') ? undefined : json['jobTitle'],
|
|
22
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
23
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
24
|
+
'policiesConsent': !exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
|
|
25
|
+
'tShirtSize': !exists(json, 'tShirtSize') ? undefined : json['tShirtSize'],
|
|
26
|
+
'team': !exists(json, 'team') ? undefined : json['team'],
|
|
27
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
28
|
+
'firstVisit': !exists(json, 'firstVisit') ? undefined : (new Date(json['firstVisit'])),
|
|
29
|
+
'lastVisit': !exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
|
|
30
|
+
'newUser': !exists(json, 'newUser') ? undefined : json['newUser'],
|
|
31
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
32
|
+
'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
|
|
33
|
+
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
34
|
+
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
35
|
+
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
36
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
37
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
38
|
+
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
39
|
+
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
40
|
+
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
41
|
+
'lists': !exists(json, 'lists') ? undefined : json['lists'],
|
|
42
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
43
|
+
'missingFields': !exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKycFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SdkUserToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value.id,
|
|
55
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
56
|
+
'verifiedCredentials': (value.verifiedCredentials.map(JwtVerifiedCredentialToJSON)),
|
|
57
|
+
'alias': value.alias,
|
|
58
|
+
'country': value.country,
|
|
59
|
+
'email': value.email,
|
|
60
|
+
'firstName': value.firstName,
|
|
61
|
+
'jobTitle': value.jobTitle,
|
|
62
|
+
'lastName': value.lastName,
|
|
63
|
+
'phoneNumber': value.phoneNumber,
|
|
64
|
+
'policiesConsent': value.policiesConsent,
|
|
65
|
+
'tShirtSize': value.tShirtSize,
|
|
66
|
+
'team': value.team,
|
|
67
|
+
'username': value.username,
|
|
68
|
+
'firstVisit': value.firstVisit === undefined ? undefined : (value.firstVisit.toISOString()),
|
|
69
|
+
'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
|
|
70
|
+
'newUser': value.newUser,
|
|
71
|
+
'metadata': value.metadata,
|
|
72
|
+
'btcWallet': value.btcWallet,
|
|
73
|
+
'kdaWallet': value.kdaWallet,
|
|
74
|
+
'ltcWallet': value.ltcWallet,
|
|
75
|
+
'ckbWallet': value.ckbWallet,
|
|
76
|
+
'kasWallet': value.kasWallet,
|
|
77
|
+
'dogeWallet': value.dogeWallet,
|
|
78
|
+
'emailNotification': value.emailNotification,
|
|
79
|
+
'discordNotification': value.discordNotification,
|
|
80
|
+
'newsletterNotification': value.newsletterNotification,
|
|
81
|
+
'lists': value.lists,
|
|
82
|
+
'scope': value.scope,
|
|
83
|
+
'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKycToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { SdkUserFromJSON, SdkUserFromJSONTyped, SdkUserToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SdkViewSection = require('./SdkViewSection.cjs');
|
|
7
|
+
var SdkViewType = require('./SdkViewType.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function SdkViewFromJSON(json) {
|
|
11
|
+
return SdkViewFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function SdkViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'type': SdkViewType.SdkViewTypeFromJSON(json['type']),
|
|
19
|
+
'sections': !runtime.exists(json, 'sections') ? undefined : (json['sections'].map(SdkViewSection.SdkViewSectionFromJSON)),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SdkViewToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'type': SdkViewType.SdkViewTypeToJSON(value.type),
|
|
31
|
+
'sections': value.sections === undefined ? undefined : (value.sections.map(SdkViewSection.SdkViewSectionToJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.SdkViewFromJSON = SdkViewFromJSON;
|
|
36
|
+
exports.SdkViewFromJSONTyped = SdkViewFromJSONTyped;
|
|
37
|
+
exports.SdkViewToJSON = SdkViewToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SdkViewSection } from './SdkViewSection';
|
|
13
|
+
import { SdkViewType } from './SdkViewType';
|
|
14
|
+
/**
|
|
15
|
+
* Configs used to create the view in the sdk.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SdkView
|
|
18
|
+
*/
|
|
19
|
+
export interface SdkView {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SdkViewType}
|
|
23
|
+
* @memberof SdkView
|
|
24
|
+
*/
|
|
25
|
+
type: SdkViewType;
|
|
26
|
+
/**
|
|
27
|
+
* The sections which will be used create the view in the sdk. The sections will be displayed in the order that they appear in the array.
|
|
28
|
+
* @type {Array<SdkViewSection>}
|
|
29
|
+
* @memberof SdkView
|
|
30
|
+
*/
|
|
31
|
+
sections?: Array<SdkViewSection>;
|
|
32
|
+
}
|
|
33
|
+
export declare function SdkViewFromJSON(json: any): SdkView;
|
|
34
|
+
export declare function SdkViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkView;
|
|
35
|
+
export declare function SdkViewToJSON(value?: SdkView | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SdkViewSectionFromJSON, SdkViewSectionToJSON } from './SdkViewSection.js';
|
|
3
|
+
import { SdkViewTypeFromJSON, SdkViewTypeToJSON } from './SdkViewType.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function SdkViewFromJSON(json) {
|
|
7
|
+
return SdkViewFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function SdkViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'type': SdkViewTypeFromJSON(json['type']),
|
|
15
|
+
'sections': !exists(json, 'sections') ? undefined : (json['sections'].map(SdkViewSectionFromJSON)),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SdkViewToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'type': SdkViewTypeToJSON(value.type),
|
|
27
|
+
'sections': value.sections === undefined ? undefined : (value.sections.map(SdkViewSectionToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { SdkViewFromJSON, SdkViewFromJSONTyped, SdkViewToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SdkViewSectionAlignment = require('./SdkViewSectionAlignment.cjs');
|
|
7
|
+
var SdkViewSectionType = require('./SdkViewSectionType.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function SdkViewSectionFromJSON(json) {
|
|
11
|
+
return SdkViewSectionFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function SdkViewSectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'type': SdkViewSectionType.SdkViewSectionTypeFromJSON(json['type']),
|
|
19
|
+
'label': !runtime.exists(json, 'label') ? undefined : json['label'],
|
|
20
|
+
'numOfItemsToDisplay': !runtime.exists(json, 'numOfItemsToDisplay') ? undefined : json['numOfItemsToDisplay'],
|
|
21
|
+
'defaultItem': !runtime.exists(json, 'defaultItem') ? undefined : json['defaultItem'],
|
|
22
|
+
'alignment': !runtime.exists(json, 'alignment') ? undefined : SdkViewSectionAlignment.SdkViewSectionAlignmentFromJSON(json['alignment']),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function SdkViewSectionToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'type': SdkViewSectionType.SdkViewSectionTypeToJSON(value.type),
|
|
34
|
+
'label': value.label,
|
|
35
|
+
'numOfItemsToDisplay': value.numOfItemsToDisplay,
|
|
36
|
+
'defaultItem': value.defaultItem,
|
|
37
|
+
'alignment': SdkViewSectionAlignment.SdkViewSectionAlignmentToJSON(value.alignment),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.SdkViewSectionFromJSON = SdkViewSectionFromJSON;
|
|
42
|
+
exports.SdkViewSectionFromJSONTyped = SdkViewSectionFromJSONTyped;
|
|
43
|
+
exports.SdkViewSectionToJSON = SdkViewSectionToJSON;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { SdkViewSectionAlignment } from './SdkViewSectionAlignment';
|
|
13
|
+
import { SdkViewSectionType } from './SdkViewSectionType';
|
|
14
|
+
/**
|
|
15
|
+
* A section used create the view in the sdk.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SdkViewSection
|
|
18
|
+
*/
|
|
19
|
+
export interface SdkViewSection {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SdkViewSectionType}
|
|
23
|
+
* @memberof SdkViewSection
|
|
24
|
+
*/
|
|
25
|
+
type: SdkViewSectionType;
|
|
26
|
+
/**
|
|
27
|
+
* The label for the section. This will be displayed above the section or as part of the separator component if it is a Separator section.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SdkViewSection
|
|
30
|
+
*/
|
|
31
|
+
label?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The deafult number of items to display in the section. For Wallet section, represents the number of wallet items to be displayed by default. User has to click a button to view more options if there are any. For Social section, represents the number of social providers to be displayed by default. User has to click a button to view more options if there are any.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof SdkViewSection
|
|
36
|
+
*/
|
|
37
|
+
numOfItemsToDisplay?: number;
|
|
38
|
+
/**
|
|
39
|
+
* The option to be displayed as the main one. The default item will be displayed in a more prominent way than the rest of the items in the section. For Wallet section, represents the wallet item to be displayed by default. For Social section, represents the social provider to be displayed by default.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SdkViewSection
|
|
42
|
+
*/
|
|
43
|
+
defaultItem?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {SdkViewSectionAlignment}
|
|
47
|
+
* @memberof SdkViewSection
|
|
48
|
+
*/
|
|
49
|
+
alignment?: SdkViewSectionAlignment;
|
|
50
|
+
}
|
|
51
|
+
export declare function SdkViewSectionFromJSON(json: any): SdkViewSection;
|
|
52
|
+
export declare function SdkViewSectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkViewSection;
|
|
53
|
+
export declare function SdkViewSectionToJSON(value?: SdkViewSection | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SdkViewSectionAlignmentFromJSON, SdkViewSectionAlignmentToJSON } from './SdkViewSectionAlignment.js';
|
|
3
|
+
import { SdkViewSectionTypeFromJSON, SdkViewSectionTypeToJSON } from './SdkViewSectionType.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function SdkViewSectionFromJSON(json) {
|
|
7
|
+
return SdkViewSectionFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function SdkViewSectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'type': SdkViewSectionTypeFromJSON(json['type']),
|
|
15
|
+
'label': !exists(json, 'label') ? undefined : json['label'],
|
|
16
|
+
'numOfItemsToDisplay': !exists(json, 'numOfItemsToDisplay') ? undefined : json['numOfItemsToDisplay'],
|
|
17
|
+
'defaultItem': !exists(json, 'defaultItem') ? undefined : json['defaultItem'],
|
|
18
|
+
'alignment': !exists(json, 'alignment') ? undefined : SdkViewSectionAlignmentFromJSON(json['alignment']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SdkViewSectionToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'type': SdkViewSectionTypeToJSON(value.type),
|
|
30
|
+
'label': value.label,
|
|
31
|
+
'numOfItemsToDisplay': value.numOfItemsToDisplay,
|
|
32
|
+
'defaultItem': value.defaultItem,
|
|
33
|
+
'alignment': SdkViewSectionAlignmentToJSON(value.alignment),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { SdkViewSectionFromJSON, SdkViewSectionFromJSONTyped, SdkViewSectionToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
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.SdkViewSectionAlignment = void 0;
|
|
24
|
+
(function (SdkViewSectionAlignment) {
|
|
25
|
+
SdkViewSectionAlignment["Center"] = "center";
|
|
26
|
+
SdkViewSectionAlignment["Left"] = "left";
|
|
27
|
+
SdkViewSectionAlignment["Right"] = "right";
|
|
28
|
+
})(exports.SdkViewSectionAlignment || (exports.SdkViewSectionAlignment = {}));
|
|
29
|
+
function SdkViewSectionAlignmentFromJSON(json) {
|
|
30
|
+
return SdkViewSectionAlignmentFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function SdkViewSectionAlignmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function SdkViewSectionAlignmentToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.SdkViewSectionAlignmentFromJSON = SdkViewSectionAlignmentFromJSON;
|
|
40
|
+
exports.SdkViewSectionAlignmentFromJSONTyped = SdkViewSectionAlignmentFromJSONTyped;
|
|
41
|
+
exports.SdkViewSectionAlignmentToJSON = SdkViewSectionAlignmentToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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 SdkViewSectionAlignment {
|
|
18
|
+
Center = "center",
|
|
19
|
+
Left = "left",
|
|
20
|
+
Right = "right"
|
|
21
|
+
}
|
|
22
|
+
export declare function SdkViewSectionAlignmentFromJSON(json: any): SdkViewSectionAlignment;
|
|
23
|
+
export declare function SdkViewSectionAlignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkViewSectionAlignment;
|
|
24
|
+
export declare function SdkViewSectionAlignmentToJSON(value?: SdkViewSectionAlignment | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 SdkViewSectionAlignment;
|
|
20
|
+
(function (SdkViewSectionAlignment) {
|
|
21
|
+
SdkViewSectionAlignment["Center"] = "center";
|
|
22
|
+
SdkViewSectionAlignment["Left"] = "left";
|
|
23
|
+
SdkViewSectionAlignment["Right"] = "right";
|
|
24
|
+
})(SdkViewSectionAlignment || (SdkViewSectionAlignment = {}));
|
|
25
|
+
function SdkViewSectionAlignmentFromJSON(json) {
|
|
26
|
+
return SdkViewSectionAlignmentFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function SdkViewSectionAlignmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function SdkViewSectionAlignmentToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { SdkViewSectionAlignment, SdkViewSectionAlignmentFromJSON, SdkViewSectionAlignmentFromJSONTyped, SdkViewSectionAlignmentToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
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.SdkViewSectionType = void 0;
|
|
24
|
+
(function (SdkViewSectionType) {
|
|
25
|
+
SdkViewSectionType["Email"] = "email";
|
|
26
|
+
SdkViewSectionType["EmailAndPhone"] = "emailAndPhone";
|
|
27
|
+
SdkViewSectionType["Phone"] = "phone";
|
|
28
|
+
SdkViewSectionType["Separator"] = "separator";
|
|
29
|
+
SdkViewSectionType["Social"] = "social";
|
|
30
|
+
SdkViewSectionType["Text"] = "text";
|
|
31
|
+
SdkViewSectionType["Wallet"] = "wallet";
|
|
32
|
+
})(exports.SdkViewSectionType || (exports.SdkViewSectionType = {}));
|
|
33
|
+
function SdkViewSectionTypeFromJSON(json) {
|
|
34
|
+
return SdkViewSectionTypeFromJSONTyped(json);
|
|
35
|
+
}
|
|
36
|
+
function SdkViewSectionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
function SdkViewSectionTypeToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SdkViewSectionTypeFromJSON = SdkViewSectionTypeFromJSON;
|
|
44
|
+
exports.SdkViewSectionTypeFromJSONTyped = SdkViewSectionTypeFromJSONTyped;
|
|
45
|
+
exports.SdkViewSectionTypeToJSON = SdkViewSectionTypeToJSON;
|