@explo-tech/fido-api 2.8.11-dan-log-secure-errors.1 → 2.8.12
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/index.ts +7 -0
- package/models/BranchResponseMetadata.ts +0 -3
- package/models/CreateCommitRequest.ts +13 -0
- package/models/CreateCommitResponse.ts +11 -0
- package/models/CreateViewChange.ts +1 -0
- package/models/CreateViewDiff.ts +11 -0
- package/models/DeleteViewDiff.ts +11 -0
- package/models/DiffBranchResponse.ts +10 -0
- package/models/MergeBranchRequest.ts +1 -1
- package/models/UpdateViewDiff.ts +12 -0
- package/models/ViewDiff.ts +10 -0
- package/package.json +1 -1
- package/services/BranchResourceService.ts +26 -4
- package/services/CommitResourceService.ts +18 -5
- package/services/ViewResourceService.ts +1 -1
package/index.ts
CHANGED
|
@@ -25,7 +25,10 @@ export type { Commit } from './models/Commit';
|
|
|
25
25
|
export type { CommitResponse } from './models/CommitResponse';
|
|
26
26
|
export type { Computation } from './models/Computation';
|
|
27
27
|
export type { ComputedView } from './models/ComputedView';
|
|
28
|
+
export type { CreateCommitRequest } from './models/CreateCommitRequest';
|
|
29
|
+
export type { CreateCommitResponse } from './models/CreateCommitResponse';
|
|
28
30
|
export type { CreateViewChange } from './models/CreateViewChange';
|
|
31
|
+
export type { CreateViewDiff } from './models/CreateViewDiff';
|
|
29
32
|
export type { DataPage } from './models/DataPage';
|
|
30
33
|
export type { DataRecord } from './models/DataRecord';
|
|
31
34
|
export type { DataRequestParameters } from './models/DataRequestParameters';
|
|
@@ -43,6 +46,8 @@ export type { DateTimePropertyValue } from './models/DateTimePropertyValue';
|
|
|
43
46
|
export type { DecimalIntervalGrouping } from './models/DecimalIntervalGrouping';
|
|
44
47
|
export type { DecimalPropertyValue } from './models/DecimalPropertyValue';
|
|
45
48
|
export type { DeleteViewChange } from './models/DeleteViewChange';
|
|
49
|
+
export type { DeleteViewDiff } from './models/DeleteViewDiff';
|
|
50
|
+
export type { DiffBranchResponse } from './models/DiffBranchResponse';
|
|
46
51
|
export type { DoublePropertyValue } from './models/DoublePropertyValue';
|
|
47
52
|
export type { EmailConfiguration } from './models/EmailConfiguration';
|
|
48
53
|
export type { Equal } from './models/Equal';
|
|
@@ -143,11 +148,13 @@ export type { TestConnectionResponse } from './models/TestConnectionResponse';
|
|
|
143
148
|
export type { TtlEviction } from './models/TtlEviction';
|
|
144
149
|
export type { Tunnel } from './models/Tunnel';
|
|
145
150
|
export type { UpdateViewChange } from './models/UpdateViewChange';
|
|
151
|
+
export type { UpdateViewDiff } from './models/UpdateViewDiff';
|
|
146
152
|
export type { UUID } from './models/UUID';
|
|
147
153
|
export type { ValueGrouping } from './models/ValueGrouping';
|
|
148
154
|
export type { VendorPrivateKeyAuthentication } from './models/VendorPrivateKeyAuthentication';
|
|
149
155
|
export type { View } from './models/View';
|
|
150
156
|
export type { ViewChange } from './models/ViewChange';
|
|
157
|
+
export type { ViewDiff } from './models/ViewDiff';
|
|
151
158
|
export type { ViewExportRequest } from './models/ViewExportRequest';
|
|
152
159
|
export type { ViewRequest } from './models/ViewRequest';
|
|
153
160
|
export type { ViewResponse } from './models/ViewResponse';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { UUID } from './UUID';
|
|
6
|
+
import type { ViewChange } from './ViewChange';
|
|
7
|
+
|
|
8
|
+
export type CreateCommitRequest = {
|
|
9
|
+
commitMessage: string;
|
|
10
|
+
parentCommitId: UUID;
|
|
11
|
+
changes: Array<ViewChange>;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { CreateViewDiff } from './CreateViewDiff';
|
|
6
|
+
import type { DeleteViewDiff } from './DeleteViewDiff';
|
|
7
|
+
import type { UpdateViewDiff } from './UpdateViewDiff';
|
|
8
|
+
|
|
9
|
+
export type ViewDiff = (CreateViewDiff | DeleteViewDiff | UpdateViewDiff);
|
|
10
|
+
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import type { BranchResponse } from '../models/BranchResponse';
|
|
5
|
+
import type { DiffBranchResponse } from '../models/DiffBranchResponse';
|
|
5
6
|
import type { ListBranchResponse } from '../models/ListBranchResponse';
|
|
6
7
|
import type { MergeBranchRequest } from '../models/MergeBranchRequest';
|
|
7
8
|
import type { UUID } from '../models/UUID';
|
|
@@ -42,6 +43,27 @@ export class BranchResourceService {
|
|
|
42
43
|
});
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Returns the diff between the provided source branch and the provided target branch
|
|
48
|
+
* @param from
|
|
49
|
+
* @param to
|
|
50
|
+
* @returns DiffBranchResponse The diff between the two branches
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
public static diffBranch(
|
|
54
|
+
from?: UUID,
|
|
55
|
+
to?: UUID,
|
|
56
|
+
): CancelablePromise<DiffBranchResponse> {
|
|
57
|
+
return __request(OpenAPI, {
|
|
58
|
+
method: 'GET',
|
|
59
|
+
url: '/v1/branches/diff',
|
|
60
|
+
query: {
|
|
61
|
+
'from': from,
|
|
62
|
+
'to': to,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
45
67
|
/**
|
|
46
68
|
* Gets the branch with the requested id
|
|
47
69
|
* @param id
|
|
@@ -67,20 +89,20 @@ export class BranchResourceService {
|
|
|
67
89
|
|
|
68
90
|
/**
|
|
69
91
|
* Merge the provided source branch into the provided target branch
|
|
70
|
-
* @param
|
|
92
|
+
* @param sourceBranchId
|
|
71
93
|
* @param requestBody Options for merge
|
|
72
94
|
* @returns BranchResponse The target branch with the new head
|
|
73
95
|
* @throws ApiError
|
|
74
96
|
*/
|
|
75
97
|
public static mergeBranch(
|
|
76
|
-
|
|
98
|
+
sourceBranchId: string,
|
|
77
99
|
requestBody: MergeBranchRequest,
|
|
78
100
|
): CancelablePromise<BranchResponse> {
|
|
79
101
|
return __request(OpenAPI, {
|
|
80
102
|
method: 'POST',
|
|
81
|
-
url: '/v1/branches/{
|
|
103
|
+
url: '/v1/branches/{sourceBranchId}/merge',
|
|
82
104
|
path: {
|
|
83
|
-
'
|
|
105
|
+
'sourceBranchId': sourceBranchId,
|
|
84
106
|
},
|
|
85
107
|
body: requestBody,
|
|
86
108
|
mediaType: 'application/json',
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/* istanbul ignore file */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { CreateCommitRequest } from '../models/CreateCommitRequest';
|
|
5
|
+
import type { CreateCommitResponse } from '../models/CreateCommitResponse';
|
|
6
|
+
import type { ListViewsResponse } from '../models/ListViewsResponse';
|
|
6
7
|
|
|
7
8
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
9
|
import { OpenAPI } from '../core/OpenAPI';
|
|
@@ -14,13 +15,13 @@ export class CommitResourceService {
|
|
|
14
15
|
* Creates a new commit on the provided branch
|
|
15
16
|
* @param branchId
|
|
16
17
|
* @param requestBody Branch to create
|
|
17
|
-
* @returns
|
|
18
|
+
* @returns CreateCommitResponse The created commit
|
|
18
19
|
* @throws ApiError
|
|
19
20
|
*/
|
|
20
21
|
public static createCommit(
|
|
21
22
|
branchId: string,
|
|
22
|
-
requestBody:
|
|
23
|
-
): CancelablePromise<
|
|
23
|
+
requestBody: CreateCommitRequest,
|
|
24
|
+
): CancelablePromise<CreateCommitResponse> {
|
|
24
25
|
return __request(OpenAPI, {
|
|
25
26
|
method: 'POST',
|
|
26
27
|
url: '/v1/branches/{branchId}/commits',
|
|
@@ -32,4 +33,16 @@ export class CommitResourceService {
|
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new commit on the provided branch
|
|
38
|
+
* @returns ListViewsResponse The created commit
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
public static listViews(): CancelablePromise<ListViewsResponse> {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/v1/branches/{branchId}/commits/list-views',
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
35
48
|
}
|
|
@@ -118,7 +118,7 @@ export class ViewResourceService {
|
|
|
118
118
|
): CancelablePromise<ViewResponse> {
|
|
119
119
|
return __request(OpenAPI, {
|
|
120
120
|
method: 'GET',
|
|
121
|
-
url: '/v1/namespaces/{namespaceId}/views/{id}/
|
|
121
|
+
url: '/v1/namespaces/{namespaceId}/views/{id}/version/{versionId}',
|
|
122
122
|
path: {
|
|
123
123
|
'id': id,
|
|
124
124
|
'namespaceId': namespaceId,
|