@dynamic-labs/sdk-api-core 0.0.513 → 0.0.514

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-core",
3
- "version": "0.0.513",
3
+ "version": "0.0.514",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -19,6 +19,7 @@ function MFADeviceFromJSONTyped(json, ignoreDiscriminator) {
19
19
  'id': !runtime.exists(json, 'id') ? undefined : json['id'],
20
20
  'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
21
21
  '_default': !runtime.exists(json, 'default') ? undefined : json['default'],
22
+ 'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
22
23
  };
23
24
  }
24
25
  function MFADeviceToJSON(value) {
@@ -34,6 +35,7 @@ function MFADeviceToJSON(value) {
34
35
  'id': value.id,
35
36
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
36
37
  'default': value._default,
38
+ 'alias': value.alias,
37
39
  };
38
40
  }
39
41
 
@@ -46,6 +46,12 @@ export interface MFADevice {
46
46
  * @memberof MFADevice
47
47
  */
48
48
  _default?: boolean;
49
+ /**
50
+ * The optional alias for the MFA device
51
+ * @type {string}
52
+ * @memberof MFADevice
53
+ */
54
+ alias?: string;
49
55
  }
50
56
  export declare function MFADeviceFromJSON(json: any): MFADevice;
51
57
  export declare function MFADeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFADevice;
@@ -15,6 +15,7 @@ function MFADeviceFromJSONTyped(json, ignoreDiscriminator) {
15
15
  'id': !exists(json, 'id') ? undefined : json['id'],
16
16
  'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
17
17
  '_default': !exists(json, 'default') ? undefined : json['default'],
18
+ 'alias': !exists(json, 'alias') ? undefined : json['alias'],
18
19
  };
19
20
  }
20
21
  function MFADeviceToJSON(value) {
@@ -30,6 +31,7 @@ function MFADeviceToJSON(value) {
30
31
  'id': value.id,
31
32
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
32
33
  'default': value._default,
34
+ 'alias': value.alias,
33
35
  };
34
36
  }
35
37