@dynamic-labs/sdk-api 0.0.313 → 0.0.314

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.313",
3
+ "version": "0.0.314",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -57,6 +57,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
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
59
  'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
60
+ 'memberEnvironmentIds': !runtime.exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
60
61
  'info': !runtime.exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoFromJSON(json['info']),
61
62
  };
62
63
  }
@@ -108,6 +109,7 @@ function DynamicJwtToJSON(value) {
108
109
  'discord_notification': value.discordNotification,
109
110
  'newsletter_notification': value.newsletterNotification,
110
111
  'metadata': value.metadata,
112
+ 'member_environment_ids': value.memberEnvironmentIds,
111
113
  'info': JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoToJSON(value.info),
112
114
  };
113
115
  }
@@ -259,6 +259,12 @@ export interface DynamicJwt {
259
259
  * @memberof DynamicJwt
260
260
  */
261
261
  metadata?: object;
262
+ /**
263
+ * This will be populated when `environment_id` is the Dynamic production environment ID. This is a list of environment IDs that the subject user ID can make configuration and set up changes as as organization admin.
264
+ * @type {Array<string>}
265
+ * @memberof DynamicJwt
266
+ */
267
+ memberEnvironmentIds?: Array<string>;
262
268
  /**
263
269
  *
264
270
  * @type {JwtPayloadDeprecatedInfo}
@@ -53,6 +53,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'discordNotification': !exists(json, 'discord_notification') ? undefined : json['discord_notification'],
54
54
  'newsletterNotification': !exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
55
55
  'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
56
+ 'memberEnvironmentIds': !exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
56
57
  'info': !exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfoFromJSON(json['info']),
57
58
  };
58
59
  }
@@ -104,6 +105,7 @@ function DynamicJwtToJSON(value) {
104
105
  'discord_notification': value.discordNotification,
105
106
  'newsletter_notification': value.newsletterNotification,
106
107
  'metadata': value.metadata,
108
+ 'member_environment_ids': value.memberEnvironmentIds,
107
109
  'info': JwtPayloadDeprecatedInfoToJSON(value.info),
108
110
  };
109
111
  }