@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.
Files changed (488) hide show
  1. package/_virtual/_tslib.cjs +35 -0
  2. package/_virtual/_tslib.js +31 -0
  3. package/package.json +33 -0
  4. package/src/apis/SDKApi.cjs +3639 -0
  5. package/src/apis/SDKApi.d.ts +1325 -0
  6. package/src/apis/SDKApi.js +3635 -0
  7. package/src/apis/index.d.ts +1 -0
  8. package/src/index.cjs +767 -0
  9. package/src/index.d.ts +3 -0
  10. package/src/index.js +160 -0
  11. package/src/models/AuthModeEnum.cjs +40 -0
  12. package/src/models/AuthModeEnum.d.ts +23 -0
  13. package/src/models/AuthModeEnum.js +34 -0
  14. package/src/models/AuthenticatorTransportProtocol.cjs +43 -0
  15. package/src/models/AuthenticatorTransportProtocol.d.ts +26 -0
  16. package/src/models/AuthenticatorTransportProtocol.js +37 -0
  17. package/src/models/BadRequest.cjs +33 -0
  18. package/src/models/BadRequest.d.ts +27 -0
  19. package/src/models/BadRequest.js +27 -0
  20. package/src/models/BaseUser.cjs +93 -0
  21. package/src/models/BaseUser.d.ts +203 -0
  22. package/src/models/BaseUser.js +87 -0
  23. package/src/models/ChainConfiguration.cjs +47 -0
  24. package/src/models/ChainConfiguration.d.ts +39 -0
  25. package/src/models/ChainConfiguration.js +41 -0
  26. package/src/models/ChainEnum.cjs +46 -0
  27. package/src/models/ChainEnum.d.ts +29 -0
  28. package/src/models/ChainEnum.js +40 -0
  29. package/src/models/CoinbaseMpcWalletProperties.cjs +36 -0
  30. package/src/models/CoinbaseMpcWalletProperties.d.ts +34 -0
  31. package/src/models/CoinbaseMpcWalletProperties.js +30 -0
  32. package/src/models/CompletePasskeyRecoveryRequest.cjs +37 -0
  33. package/src/models/CompletePasskeyRecoveryRequest.d.ts +40 -0
  34. package/src/models/CompletePasskeyRecoveryRequest.js +31 -0
  35. package/src/models/ConnectRequest.cjs +44 -0
  36. package/src/models/ConnectRequest.d.ts +54 -0
  37. package/src/models/ConnectRequest.js +38 -0
  38. package/src/models/CreateEmbeddedWalletParams.cjs +46 -0
  39. package/src/models/CreateEmbeddedWalletParams.d.ts +60 -0
  40. package/src/models/CreateEmbeddedWalletParams.js +40 -0
  41. package/src/models/CreateEmbeddedWalletSpecificOpts.cjs +29 -0
  42. package/src/models/CreateEmbeddedWalletSpecificOpts.d.ts +21 -0
  43. package/src/models/CreateEmbeddedWalletSpecificOpts.js +23 -0
  44. package/src/models/CreateEmbeddedWalletsRequest.cjs +33 -0
  45. package/src/models/CreateEmbeddedWalletsRequest.d.ts +28 -0
  46. package/src/models/CreateEmbeddedWalletsRequest.js +27 -0
  47. package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.cjs +35 -0
  48. package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.d.ts +34 -0
  49. package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.js +29 -0
  50. package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.cjs +37 -0
  51. package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.d.ts +40 -0
  52. package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.js +31 -0
  53. package/src/models/CreateUserEmbeddedWalletsRequest.cjs +38 -0
  54. package/src/models/CreateUserEmbeddedWalletsRequest.d.ts +41 -0
  55. package/src/models/CreateUserEmbeddedWalletsRequest.js +32 -0
  56. package/src/models/Currency.cjs +41 -0
  57. package/src/models/Currency.d.ts +52 -0
  58. package/src/models/Currency.js +35 -0
  59. package/src/models/CurrencyType.cjs +40 -0
  60. package/src/models/CurrencyType.d.ts +23 -0
  61. package/src/models/CurrencyType.js +34 -0
  62. package/src/models/Duration.cjs +35 -0
  63. package/src/models/Duration.d.ts +34 -0
  64. package/src/models/Duration.js +29 -0
  65. package/src/models/DynamicJwt.cjs +121 -0
  66. package/src/models/DynamicJwt.d.ts +283 -0
  67. package/src/models/DynamicJwt.js +115 -0
  68. package/src/models/EmailProviderResponse.cjs +33 -0
  69. package/src/models/EmailProviderResponse.d.ts +28 -0
  70. package/src/models/EmailProviderResponse.js +27 -0
  71. package/src/models/EmailVerificationCreateRequest.cjs +35 -0
  72. package/src/models/EmailVerificationCreateRequest.d.ts +33 -0
  73. package/src/models/EmailVerificationCreateRequest.js +29 -0
  74. package/src/models/EmailVerificationCreateResponse.cjs +45 -0
  75. package/src/models/EmailVerificationCreateResponse.d.ts +33 -0
  76. package/src/models/EmailVerificationCreateResponse.js +39 -0
  77. package/src/models/EmailVerificationRetryRequest.cjs +37 -0
  78. package/src/models/EmailVerificationRetryRequest.d.ts +39 -0
  79. package/src/models/EmailVerificationRetryRequest.js +31 -0
  80. package/src/models/EmailVerificationVerifyRequest.cjs +37 -0
  81. package/src/models/EmailVerificationVerifyRequest.d.ts +39 -0
  82. package/src/models/EmailVerificationVerifyRequest.js +31 -0
  83. package/src/models/EmbeddedWalletAuthToken.cjs +43 -0
  84. package/src/models/EmbeddedWalletAuthToken.d.ts +27 -0
  85. package/src/models/EmbeddedWalletAuthToken.js +37 -0
  86. package/src/models/EmbeddedWalletAuthType.cjs +39 -0
  87. package/src/models/EmbeddedWalletAuthType.d.ts +22 -0
  88. package/src/models/EmbeddedWalletAuthType.js +33 -0
  89. package/src/models/EmbeddedWalletPasscodeClaimRequest.cjs +43 -0
  90. package/src/models/EmbeddedWalletPasscodeClaimRequest.d.ts +27 -0
  91. package/src/models/EmbeddedWalletPasscodeClaimRequest.js +37 -0
  92. package/src/models/EmbeddedWalletProviderEnum.cjs +40 -0
  93. package/src/models/EmbeddedWalletProviderEnum.d.ts +23 -0
  94. package/src/models/EmbeddedWalletProviderEnum.js +34 -0
  95. package/src/models/EmbeddedWalletSecret.cjs +38 -0
  96. package/src/models/EmbeddedWalletSecret.d.ts +40 -0
  97. package/src/models/EmbeddedWalletSecret.js +32 -0
  98. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +45 -0
  99. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +59 -0
  100. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +39 -0
  101. package/src/models/EmbeddedWalletSecurityMethod.cjs +40 -0
  102. package/src/models/EmbeddedWalletSecurityMethod.d.ts +23 -0
  103. package/src/models/EmbeddedWalletSecurityMethod.js +34 -0
  104. package/src/models/EnvironmentEnum.cjs +40 -0
  105. package/src/models/EnvironmentEnum.d.ts +23 -0
  106. package/src/models/EnvironmentEnum.js +34 -0
  107. package/src/models/ErrorMessageWithCode.cjs +35 -0
  108. package/src/models/ErrorMessageWithCode.d.ts +33 -0
  109. package/src/models/ErrorMessageWithCode.js +29 -0
  110. package/src/models/ExportEmbeddedWalletResponse.cjs +43 -0
  111. package/src/models/ExportEmbeddedWalletResponse.d.ts +27 -0
  112. package/src/models/ExportEmbeddedWalletResponse.js +37 -0
  113. package/src/models/FarcasterSignInRequest.cjs +51 -0
  114. package/src/models/FarcasterSignInRequest.d.ts +51 -0
  115. package/src/models/FarcasterSignInRequest.js +45 -0
  116. package/src/models/FarcasterSignInResponse.cjs +37 -0
  117. package/src/models/FarcasterSignInResponse.d.ts +40 -0
  118. package/src/models/FarcasterSignInResponse.js +31 -0
  119. package/src/models/Forbidden.cjs +33 -0
  120. package/src/models/Forbidden.d.ts +27 -0
  121. package/src/models/Forbidden.js +27 -0
  122. package/src/models/ForbiddenErrorPayload.cjs +35 -0
  123. package/src/models/ForbiddenErrorPayload.d.ts +33 -0
  124. package/src/models/ForbiddenErrorPayload.js +29 -0
  125. package/src/models/ForbiddenWithErrorAndPayload.cjs +37 -0
  126. package/src/models/ForbiddenWithErrorAndPayload.d.ts +35 -0
  127. package/src/models/ForbiddenWithErrorAndPayload.js +31 -0
  128. package/src/models/FrameworkSettings.cjs +37 -0
  129. package/src/models/FrameworkSettings.d.ts +35 -0
  130. package/src/models/FrameworkSettings.js +31 -0
  131. package/src/models/GetUserPasskeysResponse.cjs +35 -0
  132. package/src/models/GetUserPasskeysResponse.d.ts +34 -0
  133. package/src/models/GetUserPasskeysResponse.js +29 -0
  134. package/src/models/HCaptchaSettings.cjs +37 -0
  135. package/src/models/HCaptchaSettings.d.ts +39 -0
  136. package/src/models/HCaptchaSettings.js +31 -0
  137. package/src/models/HardwareWalletEnum.cjs +39 -0
  138. package/src/models/HardwareWalletEnum.d.ts +22 -0
  139. package/src/models/HardwareWalletEnum.js +33 -0
  140. package/src/models/HardwareWalletProperties.cjs +34 -0
  141. package/src/models/HardwareWalletProperties.d.ts +28 -0
  142. package/src/models/HardwareWalletProperties.js +28 -0
  143. package/src/models/HealthcheckResponse.cjs +33 -0
  144. package/src/models/HealthcheckResponse.d.ts +28 -0
  145. package/src/models/HealthcheckResponse.js +27 -0
  146. package/src/models/HealthcheckStatus.cjs +40 -0
  147. package/src/models/HealthcheckStatus.d.ts +23 -0
  148. package/src/models/HealthcheckStatus.js +34 -0
  149. package/src/models/InitEmailAuthRequest.cjs +45 -0
  150. package/src/models/InitEmailAuthRequest.d.ts +33 -0
  151. package/src/models/InitEmailAuthRequest.js +39 -0
  152. package/src/models/InitEmailAuthResponse.cjs +45 -0
  153. package/src/models/InitEmailAuthResponse.d.ts +33 -0
  154. package/src/models/InitEmailAuthResponse.js +39 -0
  155. package/src/models/InitPasskeyRecoveryRequest.cjs +45 -0
  156. package/src/models/InitPasskeyRecoveryRequest.d.ts +33 -0
  157. package/src/models/InitPasskeyRecoveryRequest.js +39 -0
  158. package/src/models/InitPasskeyRecoveryResponse.cjs +43 -0
  159. package/src/models/InitPasskeyRecoveryResponse.d.ts +27 -0
  160. package/src/models/InitPasskeyRecoveryResponse.js +37 -0
  161. package/src/models/IntegrationSetting.cjs +37 -0
  162. package/src/models/IntegrationSetting.d.ts +39 -0
  163. package/src/models/IntegrationSetting.js +31 -0
  164. package/src/models/InternalServerError.cjs +33 -0
  165. package/src/models/InternalServerError.d.ts +27 -0
  166. package/src/models/InternalServerError.js +27 -0
  167. package/src/models/JwksKey.cjs +43 -0
  168. package/src/models/JwksKey.d.ts +57 -0
  169. package/src/models/JwksKey.js +37 -0
  170. package/src/models/JwksResponse.cjs +33 -0
  171. package/src/models/JwksResponse.d.ts +28 -0
  172. package/src/models/JwksResponse.js +27 -0
  173. package/src/models/JwtBlockchainAccount.cjs +45 -0
  174. package/src/models/JwtBlockchainAccount.d.ts +59 -0
  175. package/src/models/JwtBlockchainAccount.js +39 -0
  176. package/src/models/JwtPayloadDeprecatedInfo.cjs +63 -0
  177. package/src/models/JwtPayloadDeprecatedInfo.d.ts +113 -0
  178. package/src/models/JwtPayloadDeprecatedInfo.js +57 -0
  179. package/src/models/JwtVerifiedCredential.cjs +87 -0
  180. package/src/models/JwtVerifiedCredential.d.ts +177 -0
  181. package/src/models/JwtVerifiedCredential.js +81 -0
  182. package/src/models/JwtVerifiedCredentialFormatEnum.cjs +43 -0
  183. package/src/models/JwtVerifiedCredentialFormatEnum.d.ts +26 -0
  184. package/src/models/JwtVerifiedCredentialFormatEnum.js +37 -0
  185. package/src/models/KycFieldType.cjs +40 -0
  186. package/src/models/KycFieldType.d.ts +23 -0
  187. package/src/models/KycFieldType.js +34 -0
  188. package/src/models/MFAAuthRecoveryDevicePostRequest.cjs +43 -0
  189. package/src/models/MFAAuthRecoveryDevicePostRequest.d.ts +27 -0
  190. package/src/models/MFAAuthRecoveryDevicePostRequest.js +37 -0
  191. package/src/models/MFAAuthResponse.cjs +45 -0
  192. package/src/models/MFAAuthResponse.d.ts +33 -0
  193. package/src/models/MFAAuthResponse.js +39 -0
  194. package/src/models/MFAAuthTotpDevicePostRequest.cjs +35 -0
  195. package/src/models/MFAAuthTotpDevicePostRequest.d.ts +33 -0
  196. package/src/models/MFAAuthTotpDevicePostRequest.js +29 -0
  197. package/src/models/MFADevice.cjs +42 -0
  198. package/src/models/MFADevice.d.ts +52 -0
  199. package/src/models/MFADevice.js +36 -0
  200. package/src/models/MFADeviceType.cjs +39 -0
  201. package/src/models/MFADeviceType.d.ts +22 -0
  202. package/src/models/MFADeviceType.js +33 -0
  203. package/src/models/MFAGetRecoveryCodesResponse.cjs +45 -0
  204. package/src/models/MFAGetRecoveryCodesResponse.d.ts +33 -0
  205. package/src/models/MFAGetRecoveryCodesResponse.js +39 -0
  206. package/src/models/MFAListDevicesResponse.cjs +35 -0
  207. package/src/models/MFAListDevicesResponse.d.ts +34 -0
  208. package/src/models/MFAListDevicesResponse.js +29 -0
  209. package/src/models/MFARegenRecoveryCodesResponse.cjs +45 -0
  210. package/src/models/MFARegenRecoveryCodesResponse.d.ts +33 -0
  211. package/src/models/MFARegenRecoveryCodesResponse.js +39 -0
  212. package/src/models/MFARegisterTotpDeviceGetResponse.cjs +39 -0
  213. package/src/models/MFARegisterTotpDeviceGetResponse.d.ts +46 -0
  214. package/src/models/MFARegisterTotpDeviceGetResponse.js +33 -0
  215. package/src/models/MFARegisterTotpDevicePostRequest.cjs +35 -0
  216. package/src/models/MFARegisterTotpDevicePostRequest.d.ts +34 -0
  217. package/src/models/MFARegisterTotpDevicePostRequest.js +29 -0
  218. package/src/models/MFAUpdateDeviceRequest.cjs +43 -0
  219. package/src/models/MFAUpdateDeviceRequest.d.ts +27 -0
  220. package/src/models/MFAUpdateDeviceRequest.js +37 -0
  221. package/src/models/MethodNotAllowed.cjs +33 -0
  222. package/src/models/MethodNotAllowed.d.ts +27 -0
  223. package/src/models/MethodNotAllowed.js +27 -0
  224. package/src/models/MinifiedDynamicJwt.cjs +55 -0
  225. package/src/models/MinifiedDynamicJwt.d.ts +93 -0
  226. package/src/models/MinifiedDynamicJwt.js +49 -0
  227. package/src/models/NameService.cjs +33 -0
  228. package/src/models/NameService.d.ts +27 -0
  229. package/src/models/NameService.js +27 -0
  230. package/src/models/NameServiceData.cjs +35 -0
  231. package/src/models/NameServiceData.d.ts +33 -0
  232. package/src/models/NameServiceData.js +29 -0
  233. package/src/models/NativeCurrency.cjs +39 -0
  234. package/src/models/NativeCurrency.d.ts +45 -0
  235. package/src/models/NativeCurrency.js +33 -0
  236. package/src/models/Network.cjs +39 -0
  237. package/src/models/Network.d.ts +45 -0
  238. package/src/models/Network.js +33 -0
  239. package/src/models/NetworkConfiguration.cjs +61 -0
  240. package/src/models/NetworkConfiguration.d.ts +107 -0
  241. package/src/models/NetworkConfiguration.js +55 -0
  242. package/src/models/NetworkConfigurationResponse.cjs +36 -0
  243. package/src/models/NetworkConfigurationResponse.d.ts +34 -0
  244. package/src/models/NetworkConfigurationResponse.js +30 -0
  245. package/src/models/NextJsSettings.cjs +33 -0
  246. package/src/models/NextJsSettings.d.ts +27 -0
  247. package/src/models/NextJsSettings.js +27 -0
  248. package/src/models/NextViewEnum.cjs +42 -0
  249. package/src/models/NextViewEnum.d.ts +25 -0
  250. package/src/models/NextViewEnum.js +36 -0
  251. package/src/models/NonceResponse.cjs +33 -0
  252. package/src/models/NonceResponse.d.ts +27 -0
  253. package/src/models/NonceResponse.js +27 -0
  254. package/src/models/NotFound.cjs +45 -0
  255. package/src/models/NotFound.d.ts +33 -0
  256. package/src/models/NotFound.js +39 -0
  257. package/src/models/OAuthAccount.cjs +36 -0
  258. package/src/models/OAuthAccount.d.ts +34 -0
  259. package/src/models/OAuthAccount.js +30 -0
  260. package/src/models/OauthProviderLoginUrl.cjs +43 -0
  261. package/src/models/OauthProviderLoginUrl.d.ts +27 -0
  262. package/src/models/OauthProviderLoginUrl.js +37 -0
  263. package/src/models/OauthProviderRequest.cjs +38 -0
  264. package/src/models/OauthProviderRequest.d.ts +40 -0
  265. package/src/models/OauthProviderRequest.js +32 -0
  266. package/src/models/OauthRequest.cjs +39 -0
  267. package/src/models/OauthRequest.d.ts +45 -0
  268. package/src/models/OauthRequest.js +33 -0
  269. package/src/models/OauthResultRequest.cjs +43 -0
  270. package/src/models/OauthResultRequest.d.ts +27 -0
  271. package/src/models/OauthResultRequest.js +37 -0
  272. package/src/models/OauthResultResponse.cjs +38 -0
  273. package/src/models/OauthResultResponse.d.ts +40 -0
  274. package/src/models/OauthResultResponse.js +32 -0
  275. package/src/models/OauthResultStatus.cjs +40 -0
  276. package/src/models/OauthResultStatus.d.ts +23 -0
  277. package/src/models/OauthResultStatus.js +34 -0
  278. package/src/models/OnrampConfiguration.cjs +40 -0
  279. package/src/models/OnrampConfiguration.d.ts +46 -0
  280. package/src/models/OnrampConfiguration.js +34 -0
  281. package/src/models/PasskeyRegistrationCredential.cjs +39 -0
  282. package/src/models/PasskeyRegistrationCredential.d.ts +46 -0
  283. package/src/models/PasskeyRegistrationCredential.js +33 -0
  284. package/src/models/PasskeyStorage.cjs +37 -0
  285. package/src/models/PasskeyStorage.d.ts +39 -0
  286. package/src/models/PasskeyStorage.js +31 -0
  287. package/src/models/PasswordSourceTypeEnum.cjs +40 -0
  288. package/src/models/PasswordSourceTypeEnum.d.ts +23 -0
  289. package/src/models/PasswordSourceTypeEnum.js +34 -0
  290. package/src/models/PrefetchRequest.cjs +35 -0
  291. package/src/models/PrefetchRequest.d.ts +34 -0
  292. package/src/models/PrefetchRequest.js +29 -0
  293. package/src/models/ProjectSettings.cjs +61 -0
  294. package/src/models/ProjectSettings.d.ts +91 -0
  295. package/src/models/ProjectSettings.js +55 -0
  296. package/src/models/ProjectSettingsChains.cjs +38 -0
  297. package/src/models/ProjectSettingsChains.d.ts +40 -0
  298. package/src/models/ProjectSettingsChains.js +32 -0
  299. package/src/models/ProjectSettingsDesign.cjs +40 -0
  300. package/src/models/ProjectSettingsDesign.d.ts +42 -0
  301. package/src/models/ProjectSettingsDesign.js +34 -0
  302. package/src/models/ProjectSettingsDesignButton.cjs +41 -0
  303. package/src/models/ProjectSettingsDesignButton.d.ts +51 -0
  304. package/src/models/ProjectSettingsDesignButton.js +35 -0
  305. package/src/models/ProjectSettingsDesignModal.cjs +57 -0
  306. package/src/models/ProjectSettingsDesignModal.d.ts +99 -0
  307. package/src/models/ProjectSettingsDesignModal.js +51 -0
  308. package/src/models/ProjectSettingsDesignWidget.cjs +41 -0
  309. package/src/models/ProjectSettingsDesignWidget.d.ts +51 -0
  310. package/src/models/ProjectSettingsDesignWidget.js +35 -0
  311. package/src/models/ProjectSettingsGeneral.cjs +53 -0
  312. package/src/models/ProjectSettingsGeneral.d.ts +89 -0
  313. package/src/models/ProjectSettingsGeneral.js +47 -0
  314. package/src/models/ProjectSettingsKyc.cjs +44 -0
  315. package/src/models/ProjectSettingsKyc.d.ts +58 -0
  316. package/src/models/ProjectSettingsKyc.js +38 -0
  317. package/src/models/ProjectSettingsPrivacy.cjs +33 -0
  318. package/src/models/ProjectSettingsPrivacy.d.ts +27 -0
  319. package/src/models/ProjectSettingsPrivacy.js +27 -0
  320. package/src/models/ProjectSettingsSdk.cjs +74 -0
  321. package/src/models/ProjectSettingsSdk.d.ts +136 -0
  322. package/src/models/ProjectSettingsSdk.js +68 -0
  323. package/src/models/ProjectSettingsSdkAccountAbstraction.cjs +35 -0
  324. package/src/models/ProjectSettingsSdkAccountAbstraction.d.ts +33 -0
  325. package/src/models/ProjectSettingsSdkAccountAbstraction.js +29 -0
  326. package/src/models/ProjectSettingsSdkEmailSignIn.cjs +34 -0
  327. package/src/models/ProjectSettingsSdkEmailSignIn.d.ts +28 -0
  328. package/src/models/ProjectSettingsSdkEmailSignIn.js +28 -0
  329. package/src/models/ProjectSettingsSdkEmbeddedWallets.cjs +50 -0
  330. package/src/models/ProjectSettingsSdkEmbeddedWallets.d.ts +72 -0
  331. package/src/models/ProjectSettingsSdkEmbeddedWallets.js +44 -0
  332. package/src/models/ProjectSettingsSdkSocialSignIn.cjs +37 -0
  333. package/src/models/ProjectSettingsSdkSocialSignIn.d.ts +35 -0
  334. package/src/models/ProjectSettingsSdkSocialSignIn.js +31 -0
  335. package/src/models/ProjectSettingsSdkWalletConnect.cjs +35 -0
  336. package/src/models/ProjectSettingsSdkWalletConnect.d.ts +33 -0
  337. package/src/models/ProjectSettingsSdkWalletConnect.js +29 -0
  338. package/src/models/ProjectSettingsSecurity.cjs +37 -0
  339. package/src/models/ProjectSettingsSecurity.d.ts +35 -0
  340. package/src/models/ProjectSettingsSecurity.js +31 -0
  341. package/src/models/Provider.cjs +68 -0
  342. package/src/models/Provider.d.ts +126 -0
  343. package/src/models/Provider.js +62 -0
  344. package/src/models/ProviderAgreement.cjs +49 -0
  345. package/src/models/ProviderAgreement.d.ts +45 -0
  346. package/src/models/ProviderAgreement.js +43 -0
  347. package/src/models/ProviderEnum.cjs +62 -0
  348. package/src/models/ProviderEnum.d.ts +45 -0
  349. package/src/models/ProviderEnum.js +56 -0
  350. package/src/models/PublishEvents.cjs +33 -0
  351. package/src/models/PublishEvents.d.ts +28 -0
  352. package/src/models/PublishEvents.js +27 -0
  353. package/src/models/PublishEventsEvents.cjs +57 -0
  354. package/src/models/PublishEventsEvents.d.ts +54 -0
  355. package/src/models/PublishEventsEvents.js +51 -0
  356. package/src/models/ReactSettings.cjs +33 -0
  357. package/src/models/ReactSettings.d.ts +27 -0
  358. package/src/models/ReactSettings.js +27 -0
  359. package/src/models/SdkSettingsRequest.cjs +38 -0
  360. package/src/models/SdkSettingsRequest.d.ts +40 -0
  361. package/src/models/SdkSettingsRequest.js +32 -0
  362. package/src/models/SdkUser.cjs +93 -0
  363. package/src/models/SdkUser.d.ts +203 -0
  364. package/src/models/SdkUser.js +87 -0
  365. package/src/models/SdkView.cjs +37 -0
  366. package/src/models/SdkView.d.ts +35 -0
  367. package/src/models/SdkView.js +31 -0
  368. package/src/models/SdkViewSection.cjs +43 -0
  369. package/src/models/SdkViewSection.d.ts +53 -0
  370. package/src/models/SdkViewSection.js +37 -0
  371. package/src/models/SdkViewSectionAlignment.cjs +41 -0
  372. package/src/models/SdkViewSectionAlignment.d.ts +24 -0
  373. package/src/models/SdkViewSectionAlignment.js +35 -0
  374. package/src/models/SdkViewSectionType.cjs +45 -0
  375. package/src/models/SdkViewSectionType.d.ts +28 -0
  376. package/src/models/SdkViewSectionType.js +39 -0
  377. package/src/models/SdkViewType.cjs +39 -0
  378. package/src/models/SdkViewType.d.ts +22 -0
  379. package/src/models/SdkViewType.js +33 -0
  380. package/src/models/SdkViewUpdateRequest.cjs +34 -0
  381. package/src/models/SdkViewUpdateRequest.d.ts +28 -0
  382. package/src/models/SdkViewUpdateRequest.js +28 -0
  383. package/src/models/SdkViewsResponse.cjs +34 -0
  384. package/src/models/SdkViewsResponse.d.ts +28 -0
  385. package/src/models/SdkViewsResponse.js +28 -0
  386. package/src/models/SignInProviderEnum.cjs +43 -0
  387. package/src/models/SignInProviderEnum.d.ts +26 -0
  388. package/src/models/SignInProviderEnum.js +37 -0
  389. package/src/models/SmsCountryCode.cjs +45 -0
  390. package/src/models/SmsCountryCode.d.ts +33 -0
  391. package/src/models/SmsCountryCode.js +39 -0
  392. package/src/models/SmsVerificationCreateRequest.cjs +39 -0
  393. package/src/models/SmsVerificationCreateRequest.d.ts +45 -0
  394. package/src/models/SmsVerificationCreateRequest.js +33 -0
  395. package/src/models/SmsVerificationCreateResponse.cjs +49 -0
  396. package/src/models/SmsVerificationCreateResponse.d.ts +45 -0
  397. package/src/models/SmsVerificationCreateResponse.js +43 -0
  398. package/src/models/SmsVerificationRetryRequest.cjs +41 -0
  399. package/src/models/SmsVerificationRetryRequest.d.ts +51 -0
  400. package/src/models/SmsVerificationRetryRequest.js +35 -0
  401. package/src/models/SmsVerificationVerifyRequest.cjs +37 -0
  402. package/src/models/SmsVerificationVerifyRequest.d.ts +39 -0
  403. package/src/models/SmsVerificationVerifyRequest.js +31 -0
  404. package/src/models/SocialSignInProvider.cjs +36 -0
  405. package/src/models/SocialSignInProvider.d.ts +34 -0
  406. package/src/models/SocialSignInProvider.js +30 -0
  407. package/src/models/SocialSignInProviderEnum.cjs +52 -0
  408. package/src/models/SocialSignInProviderEnum.d.ts +35 -0
  409. package/src/models/SocialSignInProviderEnum.js +46 -0
  410. package/src/models/SupportedOnrampsResponse.cjs +34 -0
  411. package/src/models/SupportedOnrampsResponse.d.ts +28 -0
  412. package/src/models/SupportedOnrampsResponse.js +28 -0
  413. package/src/models/SupportedSecurityMethod.cjs +49 -0
  414. package/src/models/SupportedSecurityMethod.d.ts +45 -0
  415. package/src/models/SupportedSecurityMethod.js +43 -0
  416. package/src/models/SupportedSecurityMethods.cjs +38 -0
  417. package/src/models/SupportedSecurityMethods.d.ts +40 -0
  418. package/src/models/SupportedSecurityMethods.js +32 -0
  419. package/src/models/TimeUnitEnum.cjs +41 -0
  420. package/src/models/TimeUnitEnum.d.ts +24 -0
  421. package/src/models/TimeUnitEnum.js +35 -0
  422. package/src/models/TurnkeySignedRequest.cjs +37 -0
  423. package/src/models/TurnkeySignedRequest.d.ts +40 -0
  424. package/src/models/TurnkeySignedRequest.js +31 -0
  425. package/src/models/TurnkeyStamp.cjs +45 -0
  426. package/src/models/TurnkeyStamp.d.ts +33 -0
  427. package/src/models/TurnkeyStamp.js +39 -0
  428. package/src/models/TurnkeyWalletProperties.cjs +41 -0
  429. package/src/models/TurnkeyWalletProperties.d.ts +51 -0
  430. package/src/models/TurnkeyWalletProperties.js +35 -0
  431. package/src/models/Unauthorized.cjs +33 -0
  432. package/src/models/Unauthorized.d.ts +27 -0
  433. package/src/models/Unauthorized.js +27 -0
  434. package/src/models/UnprocessableEntity.cjs +39 -0
  435. package/src/models/UnprocessableEntity.d.ts +41 -0
  436. package/src/models/UnprocessableEntity.js +33 -0
  437. package/src/models/UnprocessableEntityErrorCode.cjs +106 -0
  438. package/src/models/UnprocessableEntityErrorCode.d.ts +89 -0
  439. package/src/models/UnprocessableEntityErrorCode.js +100 -0
  440. package/src/models/UnprocessableEntityErrorPayload.cjs +40 -0
  441. package/src/models/UnprocessableEntityErrorPayload.d.ts +46 -0
  442. package/src/models/UnprocessableEntityErrorPayload.js +34 -0
  443. package/src/models/UpdateRecoveryEmailRequest.cjs +33 -0
  444. package/src/models/UpdateRecoveryEmailRequest.d.ts +28 -0
  445. package/src/models/UpdateRecoveryEmailRequest.js +27 -0
  446. package/src/models/UpdateSelfResponse.cjs +47 -0
  447. package/src/models/UpdateSelfResponse.d.ts +61 -0
  448. package/src/models/UpdateSelfResponse.js +41 -0
  449. package/src/models/UpdateUserPasskeyRequest.cjs +35 -0
  450. package/src/models/UpdateUserPasskeyRequest.d.ts +33 -0
  451. package/src/models/UpdateUserPasskeyRequest.js +29 -0
  452. package/src/models/UserFields.cjs +75 -0
  453. package/src/models/UserFields.d.ts +153 -0
  454. package/src/models/UserFields.js +69 -0
  455. package/src/models/UserIdentifierTypeEnum.cjs +40 -0
  456. package/src/models/UserIdentifierTypeEnum.d.ts +23 -0
  457. package/src/models/UserIdentifierTypeEnum.js +34 -0
  458. package/src/models/UserOauthAccessTokenResponse.cjs +43 -0
  459. package/src/models/UserOauthAccessTokenResponse.d.ts +27 -0
  460. package/src/models/UserOauthAccessTokenResponse.js +37 -0
  461. package/src/models/UserPasskey.cjs +48 -0
  462. package/src/models/UserPasskey.d.ts +70 -0
  463. package/src/models/UserPasskey.js +42 -0
  464. package/src/models/VerifyRequest.cjs +64 -0
  465. package/src/models/VerifyRequest.d.ts +110 -0
  466. package/src/models/VerifyRequest.js +58 -0
  467. package/src/models/VerifyResponse.cjs +37 -0
  468. package/src/models/VerifyResponse.d.ts +40 -0
  469. package/src/models/VerifyResponse.js +31 -0
  470. package/src/models/VerifyUnlinkRequest.cjs +37 -0
  471. package/src/models/VerifyUnlinkRequest.d.ts +39 -0
  472. package/src/models/VerifyUnlinkRequest.js +31 -0
  473. package/src/models/WalletAdditionalAddress.cjs +38 -0
  474. package/src/models/WalletAdditionalAddress.d.ts +40 -0
  475. package/src/models/WalletAdditionalAddress.js +32 -0
  476. package/src/models/WalletAddressType.cjs +40 -0
  477. package/src/models/WalletAddressType.d.ts +23 -0
  478. package/src/models/WalletAddressType.js +34 -0
  479. package/src/models/WalletProperties.cjs +49 -0
  480. package/src/models/WalletProperties.d.ts +71 -0
  481. package/src/models/WalletProperties.js +43 -0
  482. package/src/models/WalletProviderEnum.cjs +45 -0
  483. package/src/models/WalletProviderEnum.d.ts +28 -0
  484. package/src/models/WalletProviderEnum.js +39 -0
  485. package/src/models/index.d.ts +158 -0
  486. package/src/runtime.cjs +235 -0
  487. package/src/runtime.d.ts +140 -0
  488. 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;