@dynamic-labs/sdk-api 0.0.583 → 0.0.585

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.583",
3
+ "version": "0.0.585",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,6 +17,7 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
17
17
  'allowListId': json['allowListId'],
18
18
  'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
19
19
  'email': !runtime.exists(json, 'email') ? undefined : json['email'],
20
+ 'emailDomain': !runtime.exists(json, 'emailDomain') ? undefined : json['emailDomain'],
20
21
  'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
21
22
  'discordUsername': !runtime.exists(json, 'discordUsername') ? undefined : json['discordUsername'],
22
23
  'twitterUsername': !runtime.exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
@@ -37,6 +38,7 @@ function AllowlistEntryToJSON(value) {
37
38
  'allowListId': value.allowListId,
38
39
  'walletPublicKey': value.walletPublicKey,
39
40
  'email': value.email,
41
+ 'emailDomain': value.emailDomain,
40
42
  'phoneNumber': value.phoneNumber,
41
43
  'discordUsername': value.discordUsername,
42
44
  'twitterUsername': value.twitterUsername,
@@ -39,6 +39,12 @@ export interface AllowlistEntry {
39
39
  * @memberof AllowlistEntry
40
40
  */
41
41
  email?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AllowlistEntry
46
+ */
47
+ emailDomain?: string;
42
48
  /**
43
49
  *
44
50
  * @type {string}
@@ -13,6 +13,7 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
13
13
  'allowListId': json['allowListId'],
14
14
  'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
15
15
  'email': !exists(json, 'email') ? undefined : json['email'],
16
+ 'emailDomain': !exists(json, 'emailDomain') ? undefined : json['emailDomain'],
16
17
  'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
17
18
  'discordUsername': !exists(json, 'discordUsername') ? undefined : json['discordUsername'],
18
19
  'twitterUsername': !exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
@@ -33,6 +34,7 @@ function AllowlistEntryToJSON(value) {
33
34
  'allowListId': value.allowListId,
34
35
  'walletPublicKey': value.walletPublicKey,
35
36
  'email': value.email,
37
+ 'emailDomain': value.emailDomain,
36
38
  'phoneNumber': value.phoneNumber,
37
39
  'discordUsername': value.discordUsername,
38
40
  'twitterUsername': value.twitterUsername,
@@ -15,6 +15,7 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
17
17
  'email': !runtime.exists(json, 'email') ? undefined : json['email'],
18
+ 'emailDomain': !runtime.exists(json, 'emailDomain') ? undefined : json['emailDomain'],
18
19
  'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
19
20
  'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
20
21
  'discordUsername': !runtime.exists(json, 'discordUsername') ? undefined : json['discordUsername'],
@@ -33,6 +34,7 @@ function PostAllowlistEntriesRequestToJSON(value) {
33
34
  return {
34
35
  'walletPublicKey': value.walletPublicKey,
35
36
  'email': value.email,
37
+ 'emailDomain': value.emailDomain,
36
38
  'phoneNumber': value.phoneNumber,
37
39
  'alias': value.alias,
38
40
  'discordUsername': value.discordUsername,
@@ -27,6 +27,12 @@ export interface PostAllowlistEntriesRequest {
27
27
  * @memberof PostAllowlistEntriesRequest
28
28
  */
29
29
  email?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostAllowlistEntriesRequest
34
+ */
35
+ emailDomain?: string;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -11,6 +11,7 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
11
11
  return {
12
12
  'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
13
13
  'email': !exists(json, 'email') ? undefined : json['email'],
14
+ 'emailDomain': !exists(json, 'emailDomain') ? undefined : json['emailDomain'],
14
15
  'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
15
16
  'alias': !exists(json, 'alias') ? undefined : json['alias'],
16
17
  'discordUsername': !exists(json, 'discordUsername') ? undefined : json['discordUsername'],
@@ -29,6 +30,7 @@ function PostAllowlistEntriesRequestToJSON(value) {
29
30
  return {
30
31
  'walletPublicKey': value.walletPublicKey,
31
32
  'email': value.email,
33
+ 'emailDomain': value.emailDomain,
32
34
  'phoneNumber': value.phoneNumber,
33
35
  'alias': value.alias,
34
36
  'discordUsername': value.discordUsername,
@@ -45,6 +45,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'preventOrphanedAccounts': !runtime.exists(json, 'preventOrphanedAccounts') ? undefined : json['preventOrphanedAccounts'],
46
46
  'views': !runtime.exists(json, 'views') ? undefined : (json['views'].map(SdkView.SdkViewFromJSON)),
47
47
  'accountAbstraction': !runtime.exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
48
+ 'blockEmailSubaddresses': !runtime.exists(json, 'blockEmailSubaddresses') ? undefined : json['blockEmailSubaddresses'],
48
49
  'enableMultiAsset': !runtime.exists(json, 'enableMultiAsset') ? undefined : json['enableMultiAsset'],
49
50
  'showFiat': !runtime.exists(json, 'showFiat') ? undefined : json['showFiat'],
50
51
  'disabledWalletConnectors': !runtime.exists(json, 'disabledWalletConnectors') ? undefined : json['disabledWalletConnectors'],
@@ -80,6 +81,7 @@ function ProjectSettingsSdkToJSON(value) {
80
81
  'preventOrphanedAccounts': value.preventOrphanedAccounts,
81
82
  'views': value.views === undefined ? undefined : (value.views.map(SdkView.SdkViewToJSON)),
82
83
  'accountAbstraction': ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
84
+ 'blockEmailSubaddresses': value.blockEmailSubaddresses,
83
85
  'enableMultiAsset': value.enableMultiAsset,
84
86
  'showFiat': value.showFiat,
85
87
  'disabledWalletConnectors': value.disabledWalletConnectors,
@@ -152,6 +152,12 @@ export interface ProjectSettingsSdk {
152
152
  * @memberof ProjectSettingsSdk
153
153
  */
154
154
  accountAbstraction?: ProjectSettingsSdkAccountAbstraction;
155
+ /**
156
+ *
157
+ * @type {boolean}
158
+ * @memberof ProjectSettingsSdk
159
+ */
160
+ blockEmailSubaddresses?: boolean;
155
161
  /**
156
162
  *
157
163
  * @type {boolean}
@@ -41,6 +41,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'preventOrphanedAccounts': !exists(json, 'preventOrphanedAccounts') ? undefined : json['preventOrphanedAccounts'],
42
42
  'views': !exists(json, 'views') ? undefined : (json['views'].map(SdkViewFromJSON)),
43
43
  'accountAbstraction': !exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
44
+ 'blockEmailSubaddresses': !exists(json, 'blockEmailSubaddresses') ? undefined : json['blockEmailSubaddresses'],
44
45
  'enableMultiAsset': !exists(json, 'enableMultiAsset') ? undefined : json['enableMultiAsset'],
45
46
  'showFiat': !exists(json, 'showFiat') ? undefined : json['showFiat'],
46
47
  'disabledWalletConnectors': !exists(json, 'disabledWalletConnectors') ? undefined : json['disabledWalletConnectors'],
@@ -76,6 +77,7 @@ function ProjectSettingsSdkToJSON(value) {
76
77
  'preventOrphanedAccounts': value.preventOrphanedAccounts,
77
78
  'views': value.views === undefined ? undefined : (value.views.map(SdkViewToJSON)),
78
79
  'accountAbstraction': ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
80
+ 'blockEmailSubaddresses': value.blockEmailSubaddresses,
79
81
  'enableMultiAsset': value.enableMultiAsset,
80
82
  'showFiat': value.showFiat,
81
83
  'disabledWalletConnectors': value.disabledWalletConnectors,