@dynamic-labs/sdk-api 0.0.286 → 0.0.288

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.286",
3
+ "version": "0.0.288",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -858,9 +858,6 @@ class SDKApi extends runtime.BaseAPI {
858
858
  if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
859
859
  throw new runtime.RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthRedirect.');
860
860
  }
861
- if (requestParameters.code === null || requestParameters.code === undefined) {
862
- throw new runtime.RequiredError('code', 'Required parameter requestParameters.code was null or undefined when calling oauthRedirect.');
863
- }
864
861
  const queryParameters = {};
865
862
  const headerParameters = {};
866
863
  const consumes = [
@@ -107,7 +107,7 @@ export interface OauthLoginUrlOptionsRequest {
107
107
  export interface OauthRedirectRequest {
108
108
  environmentId: string;
109
109
  providerType: ProviderEnum;
110
- code: string;
110
+ code?: string;
111
111
  state?: string;
112
112
  idToken?: string;
113
113
  error?: string;
@@ -854,9 +854,6 @@ class SDKApi extends BaseAPI {
854
854
  if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
855
855
  throw new RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthRedirect.');
856
856
  }
857
- if (requestParameters.code === null || requestParameters.code === undefined) {
858
- throw new RequiredError('code', 'Required parameter requestParameters.code was null or undefined when calling oauthRedirect.');
859
- }
860
857
  const queryParameters = {};
861
858
  const headerParameters = {};
862
859
  const consumes = [
@@ -39,6 +39,8 @@ exports.ProviderEnum = void 0;
39
39
  ProviderEnum["Blocto"] = "blocto";
40
40
  ProviderEnum["Banxa"] = "banxa";
41
41
  ProviderEnum["Dynamic"] = "dynamic";
42
+ ProviderEnum["Alchemy"] = "alchemy";
43
+ ProviderEnum["Zerodev"] = "zerodev";
42
44
  })(exports.ProviderEnum || (exports.ProviderEnum = {}));
43
45
  function ProviderEnumFromJSON(json) {
44
46
  return ProviderEnumFromJSONTyped(json);
@@ -31,7 +31,9 @@ export declare enum ProviderEnum {
31
31
  Twitter = "twitter",
32
32
  Blocto = "blocto",
33
33
  Banxa = "banxa",
34
- Dynamic = "dynamic"
34
+ Dynamic = "dynamic",
35
+ Alchemy = "alchemy",
36
+ Zerodev = "zerodev"
35
37
  }
36
38
  export declare function ProviderEnumFromJSON(json: any): ProviderEnum;
37
39
  export declare function ProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderEnum;
@@ -35,6 +35,8 @@ var ProviderEnum;
35
35
  ProviderEnum["Blocto"] = "blocto";
36
36
  ProviderEnum["Banxa"] = "banxa";
37
37
  ProviderEnum["Dynamic"] = "dynamic";
38
+ ProviderEnum["Alchemy"] = "alchemy";
39
+ ProviderEnum["Zerodev"] = "zerodev";
38
40
  })(ProviderEnum || (ProviderEnum = {}));
39
41
  function ProviderEnumFromJSON(json) {
40
42
  return ProviderEnumFromJSONTyped(json);
@@ -33,6 +33,7 @@ exports.SubscriptionAdvancedScopeEnum = void 0;
33
33
  SubscriptionAdvancedScopeEnum["Captcha"] = "captcha";
34
34
  SubscriptionAdvancedScopeEnum["SigninWithEmail"] = "signin_with_email";
35
35
  SubscriptionAdvancedScopeEnum["Gating"] = "gating";
36
+ SubscriptionAdvancedScopeEnum["AccountAbstraction"] = "account_abstraction";
36
37
  })(exports.SubscriptionAdvancedScopeEnum || (exports.SubscriptionAdvancedScopeEnum = {}));
37
38
  function SubscriptionAdvancedScopeEnumFromJSON(json) {
38
39
  return SubscriptionAdvancedScopeEnumFromJSONTyped(json);
@@ -25,7 +25,8 @@ export declare enum SubscriptionAdvancedScopeEnum {
25
25
  AnalyticsVisits = "analytics_visits",
26
26
  Captcha = "captcha",
27
27
  SigninWithEmail = "signin_with_email",
28
- Gating = "gating"
28
+ Gating = "gating",
29
+ AccountAbstraction = "account_abstraction"
29
30
  }
30
31
  export declare function SubscriptionAdvancedScopeEnumFromJSON(json: any): SubscriptionAdvancedScopeEnum;
31
32
  export declare function SubscriptionAdvancedScopeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionAdvancedScopeEnum;
@@ -29,6 +29,7 @@ var SubscriptionAdvancedScopeEnum;
29
29
  SubscriptionAdvancedScopeEnum["Captcha"] = "captcha";
30
30
  SubscriptionAdvancedScopeEnum["SigninWithEmail"] = "signin_with_email";
31
31
  SubscriptionAdvancedScopeEnum["Gating"] = "gating";
32
+ SubscriptionAdvancedScopeEnum["AccountAbstraction"] = "account_abstraction";
32
33
  })(SubscriptionAdvancedScopeEnum || (SubscriptionAdvancedScopeEnum = {}));
33
34
  function SubscriptionAdvancedScopeEnumFromJSON(json) {
34
35
  return SubscriptionAdvancedScopeEnumFromJSONTyped(json);