@randock/nameshift-api-client 0.0.561 → 0.0.562

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.561
1
+ ## @randock/nameshift-api-client@0.0.562
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.561 --save
39
+ npm install @randock/nameshift-api-client@0.0.562 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- ad0b981d605a519dc19297b6419856d4fbfa4c5f72cdb9212d4c35f3f18b6eb45fe862a64de9232dd27f8ea7ab06538c
47
+ cde681679ecb1a1c6f55c74321974a5e995e7963867a508ac5a4d229113e6687cbc3046f4c24f14b0368a17b110543fd
@@ -124,6 +124,12 @@ export interface PrivateAccountGetMeResponse {
124
124
  * @memberof PrivateAccountGetMeResponse
125
125
  */
126
126
  hasBrokerLeads: boolean;
127
+ /**
128
+ * Whether the current user must set up an authenticator app or a passkey before using the app.
129
+ * @type {boolean}
130
+ * @memberof PrivateAccountGetMeResponse
131
+ */
132
+ secondFactorSetupRequired: boolean;
127
133
  }
128
134
  /**
129
135
  * @export
@@ -109,6 +109,8 @@ function instanceOfPrivateAccountGetMeResponse(value) {
109
109
  return false;
110
110
  if (!('hasBrokerLeads' in value) || value['hasBrokerLeads'] === undefined)
111
111
  return false;
112
+ if (!('secondFactorSetupRequired' in value) || value['secondFactorSetupRequired'] === undefined)
113
+ return false;
112
114
  return true;
113
115
  }
114
116
  function PrivateAccountGetMeResponseFromJSON(json) {
@@ -136,6 +138,7 @@ function PrivateAccountGetMeResponseFromJSONTyped(json, ignoreDiscriminator) {
136
138
  'enabledFeatures': json['enabledFeatures'],
137
139
  'unreadNotificationsNumber': json['unreadNotificationsNumber'],
138
140
  'hasBrokerLeads': json['hasBrokerLeads'],
141
+ 'secondFactorSetupRequired': json['secondFactorSetupRequired'],
139
142
  };
140
143
  }
141
144
  function PrivateAccountGetMeResponseToJSON(json) {
@@ -164,5 +167,6 @@ function PrivateAccountGetMeResponseToJSONTyped(value, ignoreDiscriminator) {
164
167
  'enabledFeatures': value['enabledFeatures'],
165
168
  'unreadNotificationsNumber': value['unreadNotificationsNumber'],
166
169
  'hasBrokerLeads': value['hasBrokerLeads'],
170
+ 'secondFactorSetupRequired': value['secondFactorSetupRequired'],
167
171
  };
168
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.561",
3
+ "version": "0.0.562",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -171,6 +171,12 @@ export interface PrivateAccountGetMeResponse {
171
171
  * @memberof PrivateAccountGetMeResponse
172
172
  */
173
173
  hasBrokerLeads: boolean;
174
+ /**
175
+ * Whether the current user must set up an authenticator app or a passkey before using the app.
176
+ * @type {boolean}
177
+ * @memberof PrivateAccountGetMeResponse
178
+ */
179
+ secondFactorSetupRequired: boolean;
174
180
  }
175
181
 
176
182
 
@@ -243,6 +249,7 @@ export function instanceOfPrivateAccountGetMeResponse(value: object): value is P
243
249
  if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
244
250
  if (!('unreadNotificationsNumber' in value) || value['unreadNotificationsNumber'] === undefined) return false;
245
251
  if (!('hasBrokerLeads' in value) || value['hasBrokerLeads'] === undefined) return false;
252
+ if (!('secondFactorSetupRequired' in value) || value['secondFactorSetupRequired'] === undefined) return false;
246
253
  return true;
247
254
  }
248
255
 
@@ -273,6 +280,7 @@ export function PrivateAccountGetMeResponseFromJSONTyped(json: any, ignoreDiscri
273
280
  'enabledFeatures': json['enabledFeatures'],
274
281
  'unreadNotificationsNumber': json['unreadNotificationsNumber'],
275
282
  'hasBrokerLeads': json['hasBrokerLeads'],
283
+ 'secondFactorSetupRequired': json['secondFactorSetupRequired'],
276
284
  };
277
285
  }
278
286
 
@@ -304,6 +312,7 @@ export function PrivateAccountGetMeResponseToJSONTyped(value?: PrivateAccountGet
304
312
  'enabledFeatures': value['enabledFeatures'],
305
313
  'unreadNotificationsNumber': value['unreadNotificationsNumber'],
306
314
  'hasBrokerLeads': value['hasBrokerLeads'],
315
+ 'secondFactorSetupRequired': value['secondFactorSetupRequired'],
307
316
  };
308
317
  }
309
318