@dynamic-labs/sdk-api 0.0.232 → 0.0.233

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.232",
3
+ "version": "0.0.233",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -47,6 +47,13 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'firstVisit': !runtime.exists(json, 'first_visit') ? undefined : (new Date(json['first_visit'])),
48
48
  'lastVisit': !runtime.exists(json, 'last_visit') ? undefined : (new Date(json['last_visit'])),
49
49
  'newUser': !runtime.exists(json, 'new_user') ? undefined : json['new_user'],
50
+ 'btcWallet': !runtime.exists(json, 'btc_wallet') ? undefined : json['btc_wallet'],
51
+ 'kdaWallet': !runtime.exists(json, 'kda_wallet') ? undefined : json['kda_wallet'],
52
+ 'ltcWallet': !runtime.exists(json, 'ltc_wallet') ? undefined : json['ltc_wallet'],
53
+ 'ckbWallet': !runtime.exists(json, 'ckb_wallet') ? undefined : json['ckb_wallet'],
54
+ 'emailNotification': !runtime.exists(json, 'email_notification') ? undefined : json['email_notification'],
55
+ 'discordNotification': !runtime.exists(json, 'discord_notification') ? undefined : json['discord_notification'],
56
+ 'newsletterNotification': !runtime.exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
50
57
  'info': !runtime.exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoFromJSON(json['info']),
51
58
  };
52
59
  }
@@ -88,6 +95,13 @@ function DynamicJwtToJSON(value) {
88
95
  'first_visit': value.firstVisit === undefined ? undefined : (value.firstVisit.toISOString()),
89
96
  'last_visit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
90
97
  'new_user': value.newUser,
98
+ 'btc_wallet': value.btcWallet,
99
+ 'kda_wallet': value.kdaWallet,
100
+ 'ltc_wallet': value.ltcWallet,
101
+ 'ckb_wallet': value.ckbWallet,
102
+ 'email_notification': value.emailNotification,
103
+ 'discord_notification': value.discordNotification,
104
+ 'newsletter_notification': value.newsletterNotification,
91
105
  'info': JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoToJSON(value.info),
92
106
  };
93
107
  }
@@ -199,6 +199,48 @@ export interface DynamicJwt {
199
199
  * @memberof DynamicJwt
200
200
  */
201
201
  newUser?: boolean;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof DynamicJwt
206
+ */
207
+ btcWallet?: string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof DynamicJwt
212
+ */
213
+ kdaWallet?: string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof DynamicJwt
218
+ */
219
+ ltcWallet?: string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof DynamicJwt
224
+ */
225
+ ckbWallet?: string;
226
+ /**
227
+ *
228
+ * @type {boolean}
229
+ * @memberof DynamicJwt
230
+ */
231
+ emailNotification?: boolean;
232
+ /**
233
+ *
234
+ * @type {boolean}
235
+ * @memberof DynamicJwt
236
+ */
237
+ discordNotification?: boolean;
238
+ /**
239
+ *
240
+ * @type {boolean}
241
+ * @memberof DynamicJwt
242
+ */
243
+ newsletterNotification?: boolean;
202
244
  /**
203
245
  *
204
246
  * @type {JwtPayloadDeprecatedInfo}
@@ -43,6 +43,13 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'firstVisit': !exists(json, 'first_visit') ? undefined : (new Date(json['first_visit'])),
44
44
  'lastVisit': !exists(json, 'last_visit') ? undefined : (new Date(json['last_visit'])),
45
45
  'newUser': !exists(json, 'new_user') ? undefined : json['new_user'],
46
+ 'btcWallet': !exists(json, 'btc_wallet') ? undefined : json['btc_wallet'],
47
+ 'kdaWallet': !exists(json, 'kda_wallet') ? undefined : json['kda_wallet'],
48
+ 'ltcWallet': !exists(json, 'ltc_wallet') ? undefined : json['ltc_wallet'],
49
+ 'ckbWallet': !exists(json, 'ckb_wallet') ? undefined : json['ckb_wallet'],
50
+ 'emailNotification': !exists(json, 'email_notification') ? undefined : json['email_notification'],
51
+ 'discordNotification': !exists(json, 'discord_notification') ? undefined : json['discord_notification'],
52
+ 'newsletterNotification': !exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
46
53
  'info': !exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfoFromJSON(json['info']),
47
54
  };
48
55
  }
@@ -84,6 +91,13 @@ function DynamicJwtToJSON(value) {
84
91
  'first_visit': value.firstVisit === undefined ? undefined : (value.firstVisit.toISOString()),
85
92
  'last_visit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
86
93
  'new_user': value.newUser,
94
+ 'btc_wallet': value.btcWallet,
95
+ 'kda_wallet': value.kdaWallet,
96
+ 'ltc_wallet': value.ltcWallet,
97
+ 'ckb_wallet': value.ckbWallet,
98
+ 'email_notification': value.emailNotification,
99
+ 'discord_notification': value.discordNotification,
100
+ 'newsletter_notification': value.newsletterNotification,
87
101
  'info': JwtPayloadDeprecatedInfoToJSON(value.info),
88
102
  };
89
103
  }
@@ -24,6 +24,13 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'policiesConsent': !runtime.exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
25
25
  'country': !runtime.exists(json, 'country') ? undefined : json['country'],
26
26
  'username': !runtime.exists(json, 'username') ? undefined : json['username'],
27
+ 'btcWallet': !runtime.exists(json, 'btcWallet') ? undefined : json['btcWallet'],
28
+ 'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
29
+ 'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
30
+ 'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
31
+ 'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
32
+ 'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
33
+ 'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
27
34
  };
28
35
  }
29
36
  function InternalUserFieldsToJSON(value) {
@@ -45,6 +52,13 @@ function InternalUserFieldsToJSON(value) {
45
52
  'policiesConsent': value.policiesConsent,
46
53
  'country': value.country,
47
54
  'username': value.username,
55
+ 'btcWallet': value.btcWallet,
56
+ 'kdaWallet': value.kdaWallet,
57
+ 'ltcWallet': value.ltcWallet,
58
+ 'ckbWallet': value.ckbWallet,
59
+ 'emailNotification': value.emailNotification,
60
+ 'discordNotification': value.discordNotification,
61
+ 'newsletterNotification': value.newsletterNotification,
48
62
  };
49
63
  }
50
64
 
@@ -81,6 +81,48 @@ export interface InternalUserFields {
81
81
  * @memberof InternalUserFields
82
82
  */
83
83
  username?: string | null;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof InternalUserFields
88
+ */
89
+ btcWallet?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof InternalUserFields
94
+ */
95
+ kdaWallet?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof InternalUserFields
100
+ */
101
+ ltcWallet?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof InternalUserFields
106
+ */
107
+ ckbWallet?: string;
108
+ /**
109
+ *
110
+ * @type {boolean}
111
+ * @memberof InternalUserFields
112
+ */
113
+ emailNotification?: boolean;
114
+ /**
115
+ *
116
+ * @type {boolean}
117
+ * @memberof InternalUserFields
118
+ */
119
+ discordNotification?: boolean;
120
+ /**
121
+ *
122
+ * @type {boolean}
123
+ * @memberof InternalUserFields
124
+ */
125
+ newsletterNotification?: boolean;
84
126
  }
85
127
  export declare function InternalUserFieldsFromJSON(json: any): InternalUserFields;
86
128
  export declare function InternalUserFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalUserFields;
@@ -20,6 +20,13 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'policiesConsent': !exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
21
21
  'country': !exists(json, 'country') ? undefined : json['country'],
22
22
  'username': !exists(json, 'username') ? undefined : json['username'],
23
+ 'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
24
+ 'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
25
+ 'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
26
+ 'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
27
+ 'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
28
+ 'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
29
+ 'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
23
30
  };
24
31
  }
25
32
  function InternalUserFieldsToJSON(value) {
@@ -41,6 +48,13 @@ function InternalUserFieldsToJSON(value) {
41
48
  'policiesConsent': value.policiesConsent,
42
49
  'country': value.country,
43
50
  'username': value.username,
51
+ 'btcWallet': value.btcWallet,
52
+ 'kdaWallet': value.kdaWallet,
53
+ 'ltcWallet': value.ltcWallet,
54
+ 'ckbWallet': value.ckbWallet,
55
+ 'emailNotification': value.emailNotification,
56
+ 'discordNotification': value.discordNotification,
57
+ 'newsletterNotification': value.newsletterNotification,
44
58
  };
45
59
  }
46
60
 
@@ -32,6 +32,13 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'lastVisit': !runtime.exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
33
33
  'newUser': !runtime.exists(json, 'newUser') ? undefined : json['newUser'],
34
34
  'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
35
+ 'btcWallet': !runtime.exists(json, 'btcWallet') ? undefined : json['btcWallet'],
36
+ 'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
37
+ 'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
38
+ 'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
39
+ 'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
40
+ 'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
41
+ 'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
35
42
  };
36
43
  }
37
44
  function SdkUserToJSON(value) {
@@ -60,6 +67,13 @@ function SdkUserToJSON(value) {
60
67
  'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
61
68
  'newUser': value.newUser,
62
69
  'metadata': value.metadata,
70
+ 'btcWallet': value.btcWallet,
71
+ 'kdaWallet': value.kdaWallet,
72
+ 'ltcWallet': value.ltcWallet,
73
+ 'ckbWallet': value.ckbWallet,
74
+ 'emailNotification': value.emailNotification,
75
+ 'discordNotification': value.discordNotification,
76
+ 'newsletterNotification': value.newsletterNotification,
63
77
  };
64
78
  }
65
79
 
@@ -124,6 +124,48 @@ export interface SdkUser {
124
124
  * @memberof SdkUser
125
125
  */
126
126
  metadata?: object;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof SdkUser
131
+ */
132
+ btcWallet?: string | null;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof SdkUser
137
+ */
138
+ kdaWallet?: string | null;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof SdkUser
143
+ */
144
+ ltcWallet?: string | null;
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof SdkUser
149
+ */
150
+ ckbWallet?: string | null;
151
+ /**
152
+ *
153
+ * @type {boolean}
154
+ * @memberof SdkUser
155
+ */
156
+ emailNotification?: boolean | null;
157
+ /**
158
+ *
159
+ * @type {boolean}
160
+ * @memberof SdkUser
161
+ */
162
+ discordNotification?: boolean | null;
163
+ /**
164
+ *
165
+ * @type {boolean}
166
+ * @memberof SdkUser
167
+ */
168
+ newsletterNotification?: boolean | null;
127
169
  }
128
170
  export declare function SdkUserFromJSON(json: any): SdkUser;
129
171
  export declare function SdkUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkUser;
@@ -28,6 +28,13 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'lastVisit': !exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
29
29
  'newUser': !exists(json, 'newUser') ? undefined : json['newUser'],
30
30
  'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
31
+ 'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
32
+ 'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
33
+ 'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
34
+ 'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
35
+ 'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
36
+ 'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
37
+ 'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
31
38
  };
32
39
  }
33
40
  function SdkUserToJSON(value) {
@@ -56,6 +63,13 @@ function SdkUserToJSON(value) {
56
63
  'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
57
64
  'newUser': value.newUser,
58
65
  'metadata': value.metadata,
66
+ 'btcWallet': value.btcWallet,
67
+ 'kdaWallet': value.kdaWallet,
68
+ 'ltcWallet': value.ltcWallet,
69
+ 'ckbWallet': value.ckbWallet,
70
+ 'emailNotification': value.emailNotification,
71
+ 'discordNotification': value.discordNotification,
72
+ 'newsletterNotification': value.newsletterNotification,
59
73
  };
60
74
  }
61
75
 
@@ -36,6 +36,13 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'lastVisit': !runtime.exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
37
37
  'newUser': !runtime.exists(json, 'newUser') ? undefined : json['newUser'],
38
38
  'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
39
+ 'btcWallet': !runtime.exists(json, 'btcWallet') ? undefined : json['btcWallet'],
40
+ 'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
41
+ 'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
42
+ 'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
43
+ 'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
44
+ 'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
45
+ 'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
39
46
  'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
40
47
  'wallet': !runtime.exists(json, 'wallet') ? undefined : json['wallet'],
41
48
  'chain': !runtime.exists(json, 'chain') ? undefined : ChainEnum.ChainEnumFromJSON(json['chain']),
@@ -72,6 +79,13 @@ function UserToJSON(value) {
72
79
  'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
73
80
  'newUser': value.newUser,
74
81
  'metadata': value.metadata,
82
+ 'btcWallet': value.btcWallet,
83
+ 'kdaWallet': value.kdaWallet,
84
+ 'ltcWallet': value.ltcWallet,
85
+ 'ckbWallet': value.ckbWallet,
86
+ 'emailNotification': value.emailNotification,
87
+ 'discordNotification': value.discordNotification,
88
+ 'newsletterNotification': value.newsletterNotification,
75
89
  'walletPublicKey': value.walletPublicKey,
76
90
  'wallet': value.wallet,
77
91
  'chain': ChainEnum.ChainEnumToJSON(value.chain),
@@ -128,6 +128,48 @@ export interface User {
128
128
  * @memberof User
129
129
  */
130
130
  metadata?: object;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof User
135
+ */
136
+ btcWallet?: string | null;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof User
141
+ */
142
+ kdaWallet?: string | null;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof User
147
+ */
148
+ ltcWallet?: string | null;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof User
153
+ */
154
+ ckbWallet?: string | null;
155
+ /**
156
+ *
157
+ * @type {boolean}
158
+ * @memberof User
159
+ */
160
+ emailNotification?: boolean | null;
161
+ /**
162
+ *
163
+ * @type {boolean}
164
+ * @memberof User
165
+ */
166
+ discordNotification?: boolean | null;
167
+ /**
168
+ *
169
+ * @type {boolean}
170
+ * @memberof User
171
+ */
172
+ newsletterNotification?: boolean | null;
131
173
  /**
132
174
  *
133
175
  * @type {string}
@@ -32,6 +32,13 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'lastVisit': !exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
33
33
  'newUser': !exists(json, 'newUser') ? undefined : json['newUser'],
34
34
  'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
35
+ 'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
36
+ 'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
37
+ 'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
38
+ 'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
39
+ 'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
40
+ 'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
41
+ 'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
35
42
  'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
36
43
  'wallet': !exists(json, 'wallet') ? undefined : json['wallet'],
37
44
  'chain': !exists(json, 'chain') ? undefined : ChainEnumFromJSON(json['chain']),
@@ -68,6 +75,13 @@ function UserToJSON(value) {
68
75
  'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
69
76
  'newUser': value.newUser,
70
77
  'metadata': value.metadata,
78
+ 'btcWallet': value.btcWallet,
79
+ 'kdaWallet': value.kdaWallet,
80
+ 'ltcWallet': value.ltcWallet,
81
+ 'ckbWallet': value.ckbWallet,
82
+ 'emailNotification': value.emailNotification,
83
+ 'discordNotification': value.discordNotification,
84
+ 'newsletterNotification': value.newsletterNotification,
71
85
  'walletPublicKey': value.walletPublicKey,
72
86
  'wallet': value.wallet,
73
87
  'chain': ChainEnumToJSON(value.chain),
@@ -26,6 +26,13 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'username': !runtime.exists(json, 'username') ? undefined : json['username'],
27
27
  'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
28
28
  'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
29
+ 'btcWallet': !runtime.exists(json, 'btcWallet') ? undefined : json['btcWallet'],
30
+ 'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
31
+ 'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
32
+ 'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
33
+ 'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
34
+ 'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
35
+ 'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
29
36
  };
30
37
  }
31
38
  function UserFieldsToJSON(value) {
@@ -49,6 +56,13 @@ function UserFieldsToJSON(value) {
49
56
  'username': value.username,
50
57
  'captchaToken': value.captchaToken,
51
58
  'metadata': value.metadata,
59
+ 'btcWallet': value.btcWallet,
60
+ 'kdaWallet': value.kdaWallet,
61
+ 'ltcWallet': value.ltcWallet,
62
+ 'ckbWallet': value.ckbWallet,
63
+ 'emailNotification': value.emailNotification,
64
+ 'discordNotification': value.discordNotification,
65
+ 'newsletterNotification': value.newsletterNotification,
52
66
  };
53
67
  }
54
68
 
@@ -93,6 +93,48 @@ export interface UserFields {
93
93
  * @memberof UserFields
94
94
  */
95
95
  metadata?: object;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof UserFields
100
+ */
101
+ btcWallet?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof UserFields
106
+ */
107
+ kdaWallet?: string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof UserFields
112
+ */
113
+ ltcWallet?: string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof UserFields
118
+ */
119
+ ckbWallet?: string;
120
+ /**
121
+ *
122
+ * @type {boolean}
123
+ * @memberof UserFields
124
+ */
125
+ emailNotification?: boolean;
126
+ /**
127
+ *
128
+ * @type {boolean}
129
+ * @memberof UserFields
130
+ */
131
+ discordNotification?: boolean;
132
+ /**
133
+ *
134
+ * @type {boolean}
135
+ * @memberof UserFields
136
+ */
137
+ newsletterNotification?: boolean;
96
138
  }
97
139
  export declare function UserFieldsFromJSON(json: any): UserFields;
98
140
  export declare function UserFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFields;
@@ -22,6 +22,13 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
22
22
  'username': !exists(json, 'username') ? undefined : json['username'],
23
23
  'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
24
24
  'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
25
+ 'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
26
+ 'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
27
+ 'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
28
+ 'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
29
+ 'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
30
+ 'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
31
+ 'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
25
32
  };
26
33
  }
27
34
  function UserFieldsToJSON(value) {
@@ -45,6 +52,13 @@ function UserFieldsToJSON(value) {
45
52
  'username': value.username,
46
53
  'captchaToken': value.captchaToken,
47
54
  'metadata': value.metadata,
55
+ 'btcWallet': value.btcWallet,
56
+ 'kdaWallet': value.kdaWallet,
57
+ 'ltcWallet': value.ltcWallet,
58
+ 'ckbWallet': value.ckbWallet,
59
+ 'emailNotification': value.emailNotification,
60
+ 'discordNotification': value.discordNotification,
61
+ 'newsletterNotification': value.newsletterNotification,
48
62
  };
49
63
  }
50
64