@explo-tech/fido-api 3.1.4 → 3.1.6-jordan-middleware.1

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.1.4",
5
+ "version": "3.1.6-jordan-middleware.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
  import type { ListBranchContentResponse } from '../models/ListBranchContentResponse';
5
5
  import type { UUID } from '../models/UUID';
6
+ import type { ViewResponse } from '../models/ViewResponse';
6
7
 
7
8
  import type { CancelablePromise } from '../core/CancelablePromise';
8
9
  import { OpenAPI } from '../core/OpenAPI';
@@ -39,4 +40,25 @@ export class BranchContentResourceService {
39
40
  });
40
41
  }
41
42
 
43
+ /**
44
+ * Gets the latest version of the view at the requested branch
45
+ * @param id
46
+ * @param viewId
47
+ * @returns ViewResponse The requested view
48
+ * @throws ApiError
49
+ */
50
+ public static getViewOnBranch(
51
+ id: UUID,
52
+ viewId: UUID,
53
+ ): CancelablePromise<ViewResponse> {
54
+ return __request(OpenAPI, {
55
+ method: 'GET',
56
+ url: '/v1/branches/{id}/views/{viewId}',
57
+ path: {
58
+ 'id': id,
59
+ 'viewId': viewId,
60
+ },
61
+ });
62
+ }
63
+
42
64
  }