netlify-api 0.3.1 → 0.3.2

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.
@@ -1,10 +1,10 @@
1
1
 
2
- > netlify-api@0.3.1 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
2
+ > netlify-api@0.3.2 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
3
3
  > rimraf dist && rollup -c
4
4
 
5
5
  
6
6
  ./src/index.ts → dist/index.cjs, dist/index.mjs...
7
- created dist/index.cjs, dist/index.mjs in 5.4s
7
+ created dist/index.cjs, dist/index.mjs in 5.1s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 5.2s
10
+ created dist/index.d.ts in 4.9s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # netlify-api
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3584599: [BREAKING] Updated roles in AddMemberToAccount and UpdateAccountMember endpoints
8
+
3
9
  ## 0.3.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -4523,7 +4523,7 @@ type AddMemberToAccountResponse = {
4523
4523
  role?: string;
4524
4524
  }[];
4525
4525
  type AddMemberToAccountRequestBody = {
4526
- role?: 'Owner' | 'Collaborator' | 'Controller';
4526
+ role?: 'Owner' | 'Developer' | 'Billing Admin' | 'Reviewer';
4527
4527
  email?: string;
4528
4528
  };
4529
4529
  type AddMemberToAccountVariables = {
@@ -4578,7 +4578,7 @@ type UpdateAccountMemberResponse = {
4578
4578
  role?: string;
4579
4579
  };
4580
4580
  type UpdateAccountMemberRequestBody = {
4581
- role?: 'Owner' | 'Collaborator' | 'Controller';
4581
+ role?: 'Owner' | 'Developer' | 'Billing Admin' | 'Reviewer';
4582
4582
  site_access?: 'all' | 'none' | 'selected';
4583
4583
  site_ids?: string[];
4584
4584
  };
@@ -8016,11 +8016,11 @@ type AccountUpdateSetup = {
8016
8016
  billing_details?: string;
8017
8017
  };
8018
8018
  type AccountAddMemberSetup = {
8019
- role?: 'Owner' | 'Collaborator' | 'Controller';
8019
+ role?: 'Owner' | 'Developer' | 'Billing Admin' | 'Reviewer';
8020
8020
  email?: string;
8021
8021
  };
8022
8022
  type AccountUpdateMemberSetup = {
8023
- role?: 'Owner' | 'Collaborator' | 'Controller';
8023
+ role?: 'Owner' | 'Developer' | 'Billing Admin' | 'Reviewer';
8024
8024
  site_access?: 'all' | 'none' | 'selected';
8025
8025
  site_ids?: string[];
8026
8026
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netlify-api",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Netlify API client for Node.js",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",