@scaleway/sdk-iam 2.4.0 → 2.5.0

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.
@@ -172,7 +172,7 @@ const unmarshalUser = (data) => {
172
172
  mfa: data.mfa,
173
173
  organizationId: data.organization_id,
174
174
  phoneNumber: data.phone_number,
175
- status: data.status ? data.status : void 0,
175
+ status: data.status,
176
176
  tags: data.tags,
177
177
  twoFactorEnabled: data.two_factor_enabled,
178
178
  type: data.type,
@@ -688,11 +688,11 @@ export interface User {
688
688
  /**
689
689
  * @deprecated Deprecated, use "mfa" instead.
690
690
  */
691
- twoFactorEnabled?: boolean;
691
+ twoFactorEnabled: boolean;
692
692
  /**
693
693
  * @deprecated Status of user invitation.
694
694
  */
695
- status?: UserStatus;
695
+ status: UserStatus;
696
696
  /**
697
697
  * Defines whether MFA is enabled.
698
698
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-iam",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Scaleway SDK iam",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.2.0"
30
+ "@scaleway/sdk-std": "2.2.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.2.0"
33
+ "@scaleway/sdk-client": "^2.2.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.2.0"
36
+ "@scaleway/sdk-client": "^2.2.1"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",