@dynamic-labs/sdk-api 0.0.360 → 0.0.362

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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +224 -0
  3. package/src/apis/SDKApi.d.ts +82 -1
  4. package/src/apis/SDKApi.js +224 -0
  5. package/src/index.cjs +16 -0
  6. package/src/index.js +4 -0
  7. package/src/models/EmailVerificationVerifyRequest.d.ts +1 -1
  8. package/src/models/JwtVerifiedCredential.cjs +4 -0
  9. package/src/models/JwtVerifiedCredential.d.ts +12 -0
  10. package/src/models/JwtVerifiedCredential.js +4 -0
  11. package/src/models/JwtVerifiedCredentialFormatEnum.cjs +1 -0
  12. package/src/models/JwtVerifiedCredentialFormatEnum.d.ts +2 -1
  13. package/src/models/JwtVerifiedCredentialFormatEnum.js +1 -0
  14. package/src/models/ProviderEnum.cjs +1 -0
  15. package/src/models/ProviderEnum.d.ts +2 -1
  16. package/src/models/ProviderEnum.js +1 -0
  17. package/src/models/SmsVerificationCreateRequest.cjs +37 -0
  18. package/src/models/SmsVerificationCreateRequest.d.ts +39 -0
  19. package/src/models/SmsVerificationCreateRequest.js +31 -0
  20. package/src/models/SmsVerificationCreateResponse.cjs +47 -0
  21. package/src/models/SmsVerificationCreateResponse.d.ts +39 -0
  22. package/src/models/SmsVerificationCreateResponse.js +41 -0
  23. package/src/models/SmsVerificationRetryRequest.cjs +39 -0
  24. package/src/models/SmsVerificationRetryRequest.d.ts +45 -0
  25. package/src/models/SmsVerificationRetryRequest.js +33 -0
  26. package/src/models/SmsVerificationVerifyRequest.cjs +37 -0
  27. package/src/models/SmsVerificationVerifyRequest.d.ts +39 -0
  28. package/src/models/SmsVerificationVerifyRequest.js +31 -0
  29. package/src/models/UnprocessableEntityErrorCode.cjs +7 -0
  30. package/src/models/UnprocessableEntityErrorCode.d.ts +7 -0
  31. package/src/models/UnprocessableEntityErrorCode.js +7 -0
  32. package/src/models/index.d.ts +4 -0
@@ -30,8 +30,13 @@ exports.UnprocessableEntityErrorCode = void 0;
30
30
  UnprocessableEntityErrorCode["MembersCannotDeleteThemself"] = "members_cannot_delete_themself";
31
31
  UnprocessableEntityErrorCode["UsernameAlreadyExists"] = "username_already_exists";
32
32
  UnprocessableEntityErrorCode["WrongEmailVerificationToken"] = "wrong_email_verification_token";
33
+ UnprocessableEntityErrorCode["WrongSmsVerificationToken"] = "wrong_sms_verification_token";
33
34
  UnprocessableEntityErrorCode["InvalidEmailVerification"] = "invalid_email_verification";
35
+ UnprocessableEntityErrorCode["InvalidSmsVerification"] = "invalid_sms_verification";
36
+ UnprocessableEntityErrorCode["InvalidVerification"] = "invalid_verification";
37
+ UnprocessableEntityErrorCode["TooManySmsVerificationAttempts"] = "too_many_sms_verification_attempts";
34
38
  UnprocessableEntityErrorCode["TooManyEmailVerificationAttempts"] = "too_many_email_verification_attempts";
39
+ UnprocessableEntityErrorCode["TooManyVerificationAttempts"] = "too_many_verification_attempts";
35
40
  UnprocessableEntityErrorCode["OrganizationNameAlreadyExists"] = "organization_name_already_exists";
36
41
  UnprocessableEntityErrorCode["ProjectNameAlreadyExists"] = "project_name_already_exists";
37
42
  UnprocessableEntityErrorCode["WalletNotDeployed"] = "wallet_not_deployed";
@@ -46,12 +51,14 @@ exports.UnprocessableEntityErrorCode = void 0;
46
51
  UnprocessableEntityErrorCode["NftTokenGatingNotSupportedForChain"] = "nft_token_gating_not_supported_for_chain";
47
52
  UnprocessableEntityErrorCode["EmptyChainName"] = "empty_chain_name";
48
53
  UnprocessableEntityErrorCode["NoEnabledEmailProvider"] = "no_enabled_email_provider";
54
+ UnprocessableEntityErrorCode["NoEnabledSmsProvider"] = "no_enabled_sms_provider";
49
55
  UnprocessableEntityErrorCode["InvalidKeyExportUrl"] = "invalid_key_export_url";
50
56
  UnprocessableEntityErrorCode["InvalidDynamicProps"] = "invalid_dynamic_props";
51
57
  UnprocessableEntityErrorCode["TooManyOrganizationsForUser"] = "too_many_organizations_for_user";
52
58
  UnprocessableEntityErrorCode["TooManyProjectsForOrganization"] = "too_many_projects_for_organization";
53
59
  UnprocessableEntityErrorCode["EmailAssociatedWithDifferentProvider"] = "email_associated_with_different_provider";
54
60
  UnprocessableEntityErrorCode["UserHasAlreadyAccountWithEmail"] = "user_has_already_account_with_email";
61
+ UnprocessableEntityErrorCode["UserHasAlreadyAccountWithPhoneNumber"] = "user_has_already_account_with_phone_number";
55
62
  UnprocessableEntityErrorCode["OtherVerifyFailure"] = "other_verify_failure";
56
63
  UnprocessableEntityErrorCode["EmailTiedToEmbeddedWallet"] = "email_tied_to_embedded_wallet";
57
64
  UnprocessableEntityErrorCode["InvalidInvite"] = "invalid_invite";
@@ -23,8 +23,13 @@ export declare enum UnprocessableEntityErrorCode {
23
23
  MembersCannotDeleteThemself = "members_cannot_delete_themself",
24
24
  UsernameAlreadyExists = "username_already_exists",
25
25
  WrongEmailVerificationToken = "wrong_email_verification_token",
26
+ WrongSmsVerificationToken = "wrong_sms_verification_token",
26
27
  InvalidEmailVerification = "invalid_email_verification",
28
+ InvalidSmsVerification = "invalid_sms_verification",
29
+ InvalidVerification = "invalid_verification",
30
+ TooManySmsVerificationAttempts = "too_many_sms_verification_attempts",
27
31
  TooManyEmailVerificationAttempts = "too_many_email_verification_attempts",
32
+ TooManyVerificationAttempts = "too_many_verification_attempts",
28
33
  OrganizationNameAlreadyExists = "organization_name_already_exists",
29
34
  ProjectNameAlreadyExists = "project_name_already_exists",
30
35
  WalletNotDeployed = "wallet_not_deployed",
@@ -39,12 +44,14 @@ export declare enum UnprocessableEntityErrorCode {
39
44
  NftTokenGatingNotSupportedForChain = "nft_token_gating_not_supported_for_chain",
40
45
  EmptyChainName = "empty_chain_name",
41
46
  NoEnabledEmailProvider = "no_enabled_email_provider",
47
+ NoEnabledSmsProvider = "no_enabled_sms_provider",
42
48
  InvalidKeyExportUrl = "invalid_key_export_url",
43
49
  InvalidDynamicProps = "invalid_dynamic_props",
44
50
  TooManyOrganizationsForUser = "too_many_organizations_for_user",
45
51
  TooManyProjectsForOrganization = "too_many_projects_for_organization",
46
52
  EmailAssociatedWithDifferentProvider = "email_associated_with_different_provider",
47
53
  UserHasAlreadyAccountWithEmail = "user_has_already_account_with_email",
54
+ UserHasAlreadyAccountWithPhoneNumber = "user_has_already_account_with_phone_number",
48
55
  OtherVerifyFailure = "other_verify_failure",
49
56
  EmailTiedToEmbeddedWallet = "email_tied_to_embedded_wallet",
50
57
  InvalidInvite = "invalid_invite",
@@ -26,8 +26,13 @@ var UnprocessableEntityErrorCode;
26
26
  UnprocessableEntityErrorCode["MembersCannotDeleteThemself"] = "members_cannot_delete_themself";
27
27
  UnprocessableEntityErrorCode["UsernameAlreadyExists"] = "username_already_exists";
28
28
  UnprocessableEntityErrorCode["WrongEmailVerificationToken"] = "wrong_email_verification_token";
29
+ UnprocessableEntityErrorCode["WrongSmsVerificationToken"] = "wrong_sms_verification_token";
29
30
  UnprocessableEntityErrorCode["InvalidEmailVerification"] = "invalid_email_verification";
31
+ UnprocessableEntityErrorCode["InvalidSmsVerification"] = "invalid_sms_verification";
32
+ UnprocessableEntityErrorCode["InvalidVerification"] = "invalid_verification";
33
+ UnprocessableEntityErrorCode["TooManySmsVerificationAttempts"] = "too_many_sms_verification_attempts";
30
34
  UnprocessableEntityErrorCode["TooManyEmailVerificationAttempts"] = "too_many_email_verification_attempts";
35
+ UnprocessableEntityErrorCode["TooManyVerificationAttempts"] = "too_many_verification_attempts";
31
36
  UnprocessableEntityErrorCode["OrganizationNameAlreadyExists"] = "organization_name_already_exists";
32
37
  UnprocessableEntityErrorCode["ProjectNameAlreadyExists"] = "project_name_already_exists";
33
38
  UnprocessableEntityErrorCode["WalletNotDeployed"] = "wallet_not_deployed";
@@ -42,12 +47,14 @@ var UnprocessableEntityErrorCode;
42
47
  UnprocessableEntityErrorCode["NftTokenGatingNotSupportedForChain"] = "nft_token_gating_not_supported_for_chain";
43
48
  UnprocessableEntityErrorCode["EmptyChainName"] = "empty_chain_name";
44
49
  UnprocessableEntityErrorCode["NoEnabledEmailProvider"] = "no_enabled_email_provider";
50
+ UnprocessableEntityErrorCode["NoEnabledSmsProvider"] = "no_enabled_sms_provider";
45
51
  UnprocessableEntityErrorCode["InvalidKeyExportUrl"] = "invalid_key_export_url";
46
52
  UnprocessableEntityErrorCode["InvalidDynamicProps"] = "invalid_dynamic_props";
47
53
  UnprocessableEntityErrorCode["TooManyOrganizationsForUser"] = "too_many_organizations_for_user";
48
54
  UnprocessableEntityErrorCode["TooManyProjectsForOrganization"] = "too_many_projects_for_organization";
49
55
  UnprocessableEntityErrorCode["EmailAssociatedWithDifferentProvider"] = "email_associated_with_different_provider";
50
56
  UnprocessableEntityErrorCode["UserHasAlreadyAccountWithEmail"] = "user_has_already_account_with_email";
57
+ UnprocessableEntityErrorCode["UserHasAlreadyAccountWithPhoneNumber"] = "user_has_already_account_with_phone_number";
51
58
  UnprocessableEntityErrorCode["OtherVerifyFailure"] = "other_verify_failure";
52
59
  UnprocessableEntityErrorCode["EmailTiedToEmbeddedWallet"] = "email_tied_to_embedded_wallet";
53
60
  UnprocessableEntityErrorCode["InvalidInvite"] = "invalid_invite";
@@ -179,6 +179,10 @@ export * from './SdkViewUpdateRequest';
179
179
  export * from './SdkViewsResponse';
180
180
  export * from './Session';
181
181
  export * from './SignInProviderEnum';
182
+ export * from './SmsVerificationCreateRequest';
183
+ export * from './SmsVerificationCreateResponse';
184
+ export * from './SmsVerificationRetryRequest';
185
+ export * from './SmsVerificationVerifyRequest';
182
186
  export * from './SocialSignInProvider';
183
187
  export * from './SocialSignInProviderEnum';
184
188
  export * from './SubscriptionAdvancedScopeEnum';