@dynamic-labs/sdk-api 0.0.269 → 0.0.270
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
|
@@ -56,6 +56,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'emailNotification': !runtime.exists(json, 'email_notification') ? undefined : json['email_notification'],
|
|
57
57
|
'discordNotification': !runtime.exists(json, 'discord_notification') ? undefined : json['discord_notification'],
|
|
58
58
|
'newsletterNotification': !runtime.exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
|
|
59
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
59
60
|
'info': !runtime.exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
60
61
|
};
|
|
61
62
|
}
|
|
@@ -106,6 +107,7 @@ function DynamicJwtToJSON(value) {
|
|
|
106
107
|
'email_notification': value.emailNotification,
|
|
107
108
|
'discord_notification': value.discordNotification,
|
|
108
109
|
'newsletter_notification': value.newsletterNotification,
|
|
110
|
+
'metadata': value.metadata,
|
|
109
111
|
'info': JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
110
112
|
};
|
|
111
113
|
}
|
|
@@ -253,6 +253,12 @@ export interface DynamicJwt {
|
|
|
253
253
|
* @memberof DynamicJwt
|
|
254
254
|
*/
|
|
255
255
|
newsletterNotification?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @type {object}
|
|
259
|
+
* @memberof DynamicJwt
|
|
260
|
+
*/
|
|
261
|
+
metadata?: object;
|
|
256
262
|
/**
|
|
257
263
|
*
|
|
258
264
|
* @type {JwtPayloadDeprecatedInfo}
|
package/src/models/DynamicJwt.js
CHANGED
|
@@ -52,6 +52,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'emailNotification': !exists(json, 'email_notification') ? undefined : json['email_notification'],
|
|
53
53
|
'discordNotification': !exists(json, 'discord_notification') ? undefined : json['discord_notification'],
|
|
54
54
|
'newsletterNotification': !exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
|
|
55
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
55
56
|
'info': !exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
56
57
|
};
|
|
57
58
|
}
|
|
@@ -102,6 +103,7 @@ function DynamicJwtToJSON(value) {
|
|
|
102
103
|
'email_notification': value.emailNotification,
|
|
103
104
|
'discord_notification': value.discordNotification,
|
|
104
105
|
'newsletter_notification': value.newsletterNotification,
|
|
106
|
+
'metadata': value.metadata,
|
|
105
107
|
'info': JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
106
108
|
};
|
|
107
109
|
}
|