@dynamic-labs/sdk-api 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",
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(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
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(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
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<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
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(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
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(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
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 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
22
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
23
23
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
24
24
  'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
25
+ 'enableLoginWithExternalWallets': !runtime.exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
25
26
  };
26
27
  }
27
28
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -40,6 +41,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
40
41
  'privacyPolicyUrl': value.privacyPolicyUrl,
41
42
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
42
43
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
44
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
43
45
  };
44
46
  }
45
47
 
@@ -64,6 +64,12 @@ export interface GlobalWalletSettingsCreateRequest {
64
64
  * @memberof GlobalWalletSettingsCreateRequest
65
65
  */
66
66
  customMenuLinks?: Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof GlobalWalletSettingsCreateRequest
71
+ */
72
+ enableLoginWithExternalWallets?: boolean;
67
73
  }
68
74
  export declare function GlobalWalletSettingsCreateRequestFromJSON(json: any): GlobalWalletSettingsCreateRequest;
69
75
  export declare function GlobalWalletSettingsCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequest;
@@ -18,6 +18,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
18
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
19
19
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
20
20
  'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
21
+ 'enableLoginWithExternalWallets': !exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
21
22
  };
22
23
  }
23
24
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -36,6 +37,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
36
37
  'privacyPolicyUrl': value.privacyPolicyUrl,
37
38
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
39
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
40
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
39
41
  };
40
42
  }
41
43
 
@@ -22,6 +22,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
22
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
23
23
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
24
24
  'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
25
+ 'enableLoginWithExternalWallets': !runtime.exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
25
26
  };
26
27
  }
27
28
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -40,6 +41,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
40
41
  'privacyPolicyUrl': value.privacyPolicyUrl,
41
42
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
42
43
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
44
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
43
45
  };
44
46
  }
45
47
 
@@ -64,6 +64,12 @@ export interface GlobalWalletSettingsUpdateRequest {
64
64
  * @memberof GlobalWalletSettingsUpdateRequest
65
65
  */
66
66
  customMenuLinks?: Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof GlobalWalletSettingsUpdateRequest
71
+ */
72
+ enableLoginWithExternalWallets?: boolean;
67
73
  }
68
74
  export declare function GlobalWalletSettingsUpdateRequestFromJSON(json: any): GlobalWalletSettingsUpdateRequest;
69
75
  export declare function GlobalWalletSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsUpdateRequest;
@@ -18,6 +18,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
18
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
19
19
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
20
20
  'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
21
+ 'enableLoginWithExternalWallets': !exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
21
22
  };
22
23
  }
23
24
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -36,6 +37,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
36
37
  'privacyPolicyUrl': value.privacyPolicyUrl,
37
38
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
39
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
40
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
39
41
  };
40
42
  }
41
43
 
@@ -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";