@explo-tech/fido-api 3.9.0-dan-fix-openapi-gen.1 → 3.9.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@explo-tech/fido-api",
3
3
  "description": "Fido api",
4
4
  "homepage": "https://github.com/trust-kaz/fido",
5
- "version": "3.9.0-dan-fix-openapi-gen.1",
5
+ "version": "3.9.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -87,6 +87,28 @@ export class BranchResourceService {
87
87
  });
88
88
  }
89
89
 
90
+ /**
91
+ * Updates a branch's metadata
92
+ * @param id
93
+ * @param requestBody Branch object to update
94
+ * @returns BranchResponse The updated branch
95
+ * @throws ApiError
96
+ */
97
+ public static updateBranch(
98
+ id: UUID,
99
+ requestBody: BranchRequest,
100
+ ): CancelablePromise<BranchResponse> {
101
+ return __request(OpenAPI, {
102
+ method: 'PUT',
103
+ url: '/v1/branches/{id}',
104
+ path: {
105
+ 'id': id,
106
+ },
107
+ body: requestBody,
108
+ mediaType: 'application/json',
109
+ });
110
+ }
111
+
90
112
  /**
91
113
  * Merge the provided source branch into the provided target branch
92
114
  * @param targetBranchId