@dynamic-labs/sdk-api 0.0.416 → 0.0.417

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.416",
3
+ "version": "0.0.417",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -35,6 +35,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
36
36
  'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
37
37
  'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
38
+ 'emailVerifiedAt': !runtime.exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
38
39
  'email': !runtime.exists(json, 'email') ? undefined : json['email'],
39
40
  'wallets': !runtime.exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequest.CreateWalletRequestFromJSON)),
40
41
  'oauthAccounts': !runtime.exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequest.CreateUserOauthRequestFromJSON)),
@@ -68,6 +69,7 @@ function InternalUserFieldsToJSON(value) {
68
69
  'emailNotification': value.emailNotification,
69
70
  'discordNotification': value.discordNotification,
70
71
  'newsletterNotification': value.newsletterNotification,
72
+ 'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
71
73
  'email': value.email,
72
74
  'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequest.CreateWalletRequestToJSON)),
73
75
  'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequest.CreateUserOauthRequestToJSON)),
@@ -137,6 +137,12 @@ export interface InternalUserFields {
137
137
  * @memberof InternalUserFields
138
138
  */
139
139
  newsletterNotification?: boolean;
140
+ /**
141
+ *
142
+ * @type {Date}
143
+ * @memberof InternalUserFields
144
+ */
145
+ emailVerifiedAt?: Date;
140
146
  /**
141
147
  *
142
148
  * @type {string}
@@ -31,6 +31,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
32
32
  'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
33
33
  'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
34
+ 'emailVerifiedAt': !exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
34
35
  'email': !exists(json, 'email') ? undefined : json['email'],
35
36
  'wallets': !exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequestFromJSON)),
36
37
  'oauthAccounts': !exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequestFromJSON)),
@@ -64,6 +65,7 @@ function InternalUserFieldsToJSON(value) {
64
65
  'emailNotification': value.emailNotification,
65
66
  'discordNotification': value.discordNotification,
66
67
  'newsletterNotification': value.newsletterNotification,
68
+ 'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
67
69
  'email': value.email,
68
70
  'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequestToJSON)),
69
71
  'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequestToJSON)),