@dynamic-labs/sdk-api-core 0.0.666 → 0.0.668

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-core",
3
- "version": "0.0.666",
3
+ "version": "0.0.668",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -23,6 +23,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
23
23
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
24
24
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
25
25
  'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSON)),
26
+ 'enableLoginWithExternalWallets': !runtime.exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
26
27
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
27
28
  };
28
29
  }
@@ -43,6 +44,7 @@ function GlobalWalletSettingsToJSON(value) {
43
44
  'privacyPolicyUrl': value.privacyPolicyUrl,
44
45
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
45
46
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksToJSON)),
47
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
46
48
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
47
49
  };
48
50
  }
@@ -70,6 +70,12 @@ export interface GlobalWalletSettings {
70
70
  * @memberof GlobalWalletSettings
71
71
  */
72
72
  customMenuLinks?: Array<GlobalWalletSettingsCustomMenuLinks>;
73
+ /**
74
+ *
75
+ * @type {boolean}
76
+ * @memberof GlobalWalletSettings
77
+ */
78
+ enableLoginWithExternalWallets?: boolean;
73
79
  /**
74
80
  * If global wallet is enabled, then this timestamp will be present.
75
81
  * @type {Date}
@@ -19,6 +19,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
19
19
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
20
20
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
21
21
  'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinksFromJSON)),
22
+ 'enableLoginWithExternalWallets': !exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
22
23
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
23
24
  };
24
25
  }
@@ -39,6 +40,7 @@ function GlobalWalletSettingsToJSON(value) {
39
40
  'privacyPolicyUrl': value.privacyPolicyUrl,
40
41
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
41
42
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinksToJSON)),
43
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
42
44
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
43
45
  };
44
46
  }
@@ -22,6 +22,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
22
22
  */
23
23
  exports.UnprocessableEntityErrorCode = void 0;
24
24
  (function (UnprocessableEntityErrorCode) {
25
+ UnprocessableEntityErrorCode["InvalidEmail"] = "invalid_email";
25
26
  UnprocessableEntityErrorCode["EmailAlreadyExists"] = "email_already_exists";
26
27
  UnprocessableEntityErrorCode["AllowlistAlreadyExists"] = "allowlist_already_exists";
27
28
  UnprocessableEntityErrorCode["AllowlistEntryAlreadyExists"] = "allowlist_entry_already_exists";
@@ -15,6 +15,7 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum UnprocessableEntityErrorCode {
18
+ InvalidEmail = "invalid_email",
18
19
  EmailAlreadyExists = "email_already_exists",
19
20
  AllowlistAlreadyExists = "allowlist_already_exists",
20
21
  AllowlistEntryAlreadyExists = "allowlist_entry_already_exists",
@@ -18,6 +18,7 @@
18
18
  */
19
19
  var UnprocessableEntityErrorCode;
20
20
  (function (UnprocessableEntityErrorCode) {
21
+ UnprocessableEntityErrorCode["InvalidEmail"] = "invalid_email";
21
22
  UnprocessableEntityErrorCode["EmailAlreadyExists"] = "email_already_exists";
22
23
  UnprocessableEntityErrorCode["AllowlistAlreadyExists"] = "allowlist_already_exists";
23
24
  UnprocessableEntityErrorCode["AllowlistEntryAlreadyExists"] = "allowlist_entry_already_exists";