@openfilz-sdk/typescript-ee 1.3.5 → 1.4.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/.openapi-generator/FILES +32 -6
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +36 -7
- package/api/{audit-controller-api.ts → collaboration-audit-controller-api.ts} +42 -42
- package/api/delegated-browse-grants-admin-api.ts +452 -0
- package/api/delegated-browse-grants-end-user-api.ts +426 -0
- package/api/upload-token-controller-api.ts +219 -0
- package/api/user-privacy-api.ts +196 -0
- package/api/webhook-proxy-controller-api.ts +523 -0
- package/api.ts +6 -1
- package/dist/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +41 -41
- package/dist/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/api/delegated-browse-grants-admin-api.js +434 -0
- package/dist/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/api/delegated-browse-grants-end-user-api.js +416 -0
- package/dist/api/upload-token-controller-api.d.ts +105 -0
- package/dist/api/upload-token-controller-api.js +214 -0
- package/dist/api/user-privacy-api.d.ts +96 -0
- package/dist/api/user-privacy-api.js +195 -0
- package/dist/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/api/webhook-proxy-controller-api.js +511 -0
- package/dist/api.d.ts +6 -1
- package/dist/api.js +6 -1
- package/dist/esm/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/esm/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +36 -36
- package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/esm/api/delegated-browse-grants-admin-api.js +427 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.js +409 -0
- package/dist/esm/api/upload-token-controller-api.d.ts +105 -0
- package/dist/esm/api/upload-token-controller-api.js +207 -0
- package/dist/esm/api/user-privacy-api.d.ts +96 -0
- package/dist/esm/api/user-privacy-api.js +188 -0
- package/dist/esm/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/esm/api/webhook-proxy-controller-api.js +504 -0
- package/dist/esm/api.d.ts +6 -1
- package/dist/esm/api.js +6 -1
- package/dist/esm/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/esm/models/create-delegated-grant-request.js +16 -0
- package/dist/esm/models/delegated-folder-node.d.ts +16 -0
- package/dist/esm/models/delegated-folder-node.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +43 -0
- package/dist/esm/models/delegated-grant-dto.js +24 -0
- package/dist/esm/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/esm/models/enriched-audit-log-details.js +14 -0
- package/dist/esm/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{models/audit-log.js → esm/models/enriched-audit-log.js} +17 -11
- package/dist/esm/models/index.d.ts +10 -2
- package/dist/esm/models/index.js +10 -2
- package/dist/esm/models/mint-upload-token-request.d.ts +17 -0
- package/dist/esm/models/mint-upload-token-request.js +14 -0
- package/dist/esm/models/notification-dto.d.ts +3 -0
- package/dist/esm/models/notification-dto.js +4 -1
- package/dist/esm/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/esm/models/search-by-audit-log-request.js +15 -6
- package/dist/esm/models/update-user-privacy-request.d.ts +14 -0
- package/dist/esm/models/update-user-privacy-request.js +14 -0
- package/dist/esm/models/upload-token-response.d.ts +18 -0
- package/dist/esm/models/upload-token-response.js +14 -0
- package/dist/esm/models/user-privacy-dto.d.ts +14 -0
- package/dist/esm/models/user-privacy-dto.js +14 -0
- package/dist/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/models/create-delegated-grant-request.js +19 -0
- package/dist/models/delegated-folder-node.d.ts +16 -0
- package/dist/models/delegated-folder-node.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +43 -0
- package/dist/models/delegated-grant-dto.js +27 -0
- package/dist/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/models/enriched-audit-log-details.js +15 -0
- package/dist/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{esm/models/audit-log.js → models/enriched-audit-log.js} +20 -8
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- package/dist/models/mint-upload-token-request.d.ts +17 -0
- package/dist/models/mint-upload-token-request.js +15 -0
- package/dist/models/notification-dto.d.ts +3 -0
- package/dist/models/notification-dto.js +4 -1
- package/dist/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/models/search-by-audit-log-request.js +15 -6
- package/dist/models/update-user-privacy-request.d.ts +14 -0
- package/dist/models/update-user-privacy-request.js +15 -0
- package/dist/models/upload-token-response.d.ts +18 -0
- package/dist/models/upload-token-response.js +15 -0
- package/dist/models/user-privacy-dto.d.ts +14 -0
- package/dist/models/user-privacy-dto.js +15 -0
- package/docs/{AuditControllerApi.md → CollaborationAuditControllerApi.md} +16 -16
- package/docs/ConsumeDelegatedGrantRequest.md +22 -0
- package/docs/CreateDelegatedGrantRequest.md +26 -0
- package/docs/DelegatedBrowseGrantsAdminApi.md +275 -0
- package/docs/DelegatedBrowseGrantsEndUserApi.md +266 -0
- package/docs/DelegatedFolderNode.md +24 -0
- package/docs/DelegatedGrantDTO.md +52 -0
- package/docs/{AuditLog.md → EnrichedAuditLog.md} +9 -5
- package/docs/{AuditLogDetailsOneOf.md → EnrichedAuditLogDetails.md} +3 -3
- package/docs/MintUploadTokenRequest.md +26 -0
- package/docs/UpdateUserPrivacyRequest.md +20 -0
- package/docs/UploadTokenControllerApi.md +115 -0
- package/docs/UploadTokenResponse.md +28 -0
- package/docs/UserPrivacyApi.md +104 -0
- package/docs/UserPrivacyDTO.md +20 -0
- package/docs/WebhookProxyControllerApi.md +364 -0
- package/models/consume-delegated-grant-request.ts +21 -0
- package/models/create-delegated-grant-request.ts +30 -0
- package/models/delegated-folder-node.ts +22 -0
- package/models/delegated-grant-dto.ts +53 -0
- package/models/{audit-log-details-one-of.ts → enriched-audit-log-details.ts} +2 -20
- package/models/{audit-log.ts → enriched-audit-log.ts} +27 -16
- package/models/index.ts +10 -2
- package/models/mint-upload-token-request.ts +23 -0
- package/models/notification-dto.ts +4 -1
- package/models/search-by-audit-log-request.ts +15 -6
- package/models/update-user-privacy-request.ts +20 -0
- package/models/upload-token-response.ts +24 -0
- package/models/user-privacy-dto.ts +20 -0
- package/package.json +1 -1
- /package/dist/esm/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
- /package/dist/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type { AuditLog } from '../models';
|
|
16
15
|
import type { AuditVerificationResult } from '../models';
|
|
16
|
+
import type { EnrichedAuditLog } from '../models';
|
|
17
17
|
import type { SearchByAuditLogRequest } from '../models';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* CollaborationAuditControllerApi - axios parameter creator
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const CollaborationAuditControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @summary Get audit trail for a resource
|
|
23
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
24
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
25
25
|
* @param {string} id ID of the resource to get the audit trail for
|
|
26
26
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
@@ -29,15 +29,15 @@ export declare const AuditControllerApiAxiosParamCreator: (configuration?: Confi
|
|
|
29
29
|
*/
|
|
30
30
|
getAuditTrail: (id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary Search
|
|
32
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
33
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
34
34
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
38
|
searchAuditTrail: (searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
40
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
41
41
|
* @summary Verify audit chain integrity
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
@@ -45,28 +45,28 @@ export declare const AuditControllerApiAxiosParamCreator: (configuration?: Confi
|
|
|
45
45
|
verifyChain: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* CollaborationAuditControllerApi - functional programming interface
|
|
49
49
|
*/
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const CollaborationAuditControllerApiFp: (configuration?: Configuration) => {
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @summary Get audit trail for a resource
|
|
52
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
53
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
54
54
|
* @param {string} id ID of the resource to get the audit trail for
|
|
55
55
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
59
|
+
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnrichedAuditLog>>>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @summary Search
|
|
61
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
62
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
63
63
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
67
|
+
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnrichedAuditLog>>>;
|
|
68
68
|
/**
|
|
69
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
69
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
70
70
|
* @summary Verify audit chain integrity
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
@@ -74,28 +74,28 @@ export declare const AuditControllerApiFp: (configuration?: Configuration) => {
|
|
|
74
74
|
verifyChain(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuditVerificationResult>>;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* CollaborationAuditControllerApi - factory interface
|
|
78
78
|
*/
|
|
79
|
-
export declare const
|
|
79
|
+
export declare const CollaborationAuditControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Get audit trail for a resource
|
|
81
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
82
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
83
83
|
* @param {string} id ID of the resource to get the audit trail for
|
|
84
84
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
|
-
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
88
|
+
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<EnrichedAuditLog>>;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @summary Search
|
|
90
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
91
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
92
92
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
95
95
|
*/
|
|
96
|
-
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
96
|
+
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<EnrichedAuditLog>>;
|
|
97
97
|
/**
|
|
98
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
98
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
99
99
|
* @summary Verify audit chain integrity
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
@@ -103,28 +103,28 @@ export declare const AuditControllerApiFactory: (configuration?: Configuration,
|
|
|
103
103
|
verifyChain(options?: RawAxiosRequestConfig): AxiosPromise<AuditVerificationResult>;
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* CollaborationAuditControllerApi - object-oriented interface
|
|
107
107
|
*/
|
|
108
|
-
export declare class
|
|
108
|
+
export declare class CollaborationAuditControllerApi extends BaseAPI {
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
111
|
-
* @summary Get audit trail for a resource
|
|
110
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
111
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
112
112
|
* @param {string} id ID of the resource to get the audit trail for
|
|
113
113
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
117
|
+
getAuditTrail(id: string, sort?: GetAuditTrailSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}>>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
120
|
-
* @summary Search
|
|
119
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
120
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
121
121
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
*/
|
|
125
|
-
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
125
|
+
searchAuditTrail(searchByAuditLogRequest: SearchByAuditLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnrichedAuditLog[], any, {}>>;
|
|
126
126
|
/**
|
|
127
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
127
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
128
128
|
* @summary Verify audit chain integrity
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
@@ -27,13 +27,13 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* CollaborationAuditControllerApi - axios parameter creator
|
|
31
31
|
*/
|
|
32
|
-
export const
|
|
32
|
+
export const CollaborationAuditControllerApiAxiosParamCreator = function (configuration) {
|
|
33
33
|
return {
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Get audit trail for a resource
|
|
35
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
36
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
37
37
|
* @param {string} id ID of the resource to get the audit trail for
|
|
38
38
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -69,8 +69,8 @@ export const AuditControllerApiAxiosParamCreator = function (configuration) {
|
|
|
69
69
|
};
|
|
70
70
|
}),
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary Search
|
|
72
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
73
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
74
74
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
@@ -103,7 +103,7 @@ export const AuditControllerApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
};
|
|
104
104
|
}),
|
|
105
105
|
/**
|
|
106
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
106
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
107
107
|
* @summary Verify audit chain integrity
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
@@ -134,14 +134,14 @@ export const AuditControllerApiAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* CollaborationAuditControllerApi - functional programming interface
|
|
138
138
|
*/
|
|
139
|
-
export const
|
|
140
|
-
const localVarAxiosParamCreator =
|
|
139
|
+
export const CollaborationAuditControllerApiFp = function (configuration) {
|
|
140
|
+
const localVarAxiosParamCreator = CollaborationAuditControllerApiAxiosParamCreator(configuration);
|
|
141
141
|
return {
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
144
|
-
* @summary Get audit trail for a resource
|
|
143
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
144
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
145
145
|
* @param {string} id ID of the resource to get the audit trail for
|
|
146
146
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
@@ -152,13 +152,13 @@ export const AuditControllerApiFp = function (configuration) {
|
|
|
152
152
|
var _a, _b, _c;
|
|
153
153
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAuditTrail(id, sort, options);
|
|
154
154
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
155
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
155
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollaborationAuditControllerApi.getAuditTrail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
156
156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
157
157
|
});
|
|
158
158
|
},
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
161
|
-
* @summary Search
|
|
160
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
161
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
162
162
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
@@ -168,12 +168,12 @@ export const AuditControllerApiFp = function (configuration) {
|
|
|
168
168
|
var _a, _b, _c;
|
|
169
169
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchAuditTrail(searchByAuditLogRequest, options);
|
|
170
170
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
171
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
171
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollaborationAuditControllerApi.searchAuditTrail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
172
172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
173
173
|
});
|
|
174
174
|
},
|
|
175
175
|
/**
|
|
176
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
176
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
177
177
|
* @summary Verify audit chain integrity
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
@@ -183,21 +183,21 @@ export const AuditControllerApiFp = function (configuration) {
|
|
|
183
183
|
var _a, _b, _c;
|
|
184
184
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyChain(options);
|
|
185
185
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
186
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
186
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollaborationAuditControllerApi.verifyChain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
187
187
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
188
188
|
});
|
|
189
189
|
},
|
|
190
190
|
};
|
|
191
191
|
};
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* CollaborationAuditControllerApi - factory interface
|
|
194
194
|
*/
|
|
195
|
-
export const
|
|
196
|
-
const localVarFp =
|
|
195
|
+
export const CollaborationAuditControllerApiFactory = function (configuration, basePath, axios) {
|
|
196
|
+
const localVarFp = CollaborationAuditControllerApiFp(configuration);
|
|
197
197
|
return {
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
200
|
-
* @summary Get audit trail for a resource
|
|
199
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
200
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
201
201
|
* @param {string} id ID of the resource to get the audit trail for
|
|
202
202
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
@@ -207,8 +207,8 @@ export const AuditControllerApiFactory = function (configuration, basePath, axio
|
|
|
207
207
|
return localVarFp.getAuditTrail(id, sort, options).then((request) => request(axios, basePath));
|
|
208
208
|
},
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
211
|
-
* @summary Search
|
|
210
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
211
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
212
212
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
213
213
|
* @param {*} [options] Override http request option.
|
|
214
214
|
* @throws {RequiredError}
|
|
@@ -217,7 +217,7 @@ export const AuditControllerApiFactory = function (configuration, basePath, axio
|
|
|
217
217
|
return localVarFp.searchAuditTrail(searchByAuditLogRequest, options).then((request) => request(axios, basePath));
|
|
218
218
|
},
|
|
219
219
|
/**
|
|
220
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
220
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
221
221
|
* @summary Verify audit chain integrity
|
|
222
222
|
* @param {*} [options] Override http request option.
|
|
223
223
|
* @throws {RequiredError}
|
|
@@ -228,38 +228,38 @@ export const AuditControllerApiFactory = function (configuration, basePath, axio
|
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* CollaborationAuditControllerApi - object-oriented interface
|
|
232
232
|
*/
|
|
233
|
-
export class
|
|
233
|
+
export class CollaborationAuditControllerApi extends BaseAPI {
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @summary Get audit trail for a resource
|
|
235
|
+
* EE variant — adds `azp` and `actedViaIntegration` to every row when the audit was authorized via an integration JWT.
|
|
236
|
+
* @summary Get audit trail for a resource (enriched with actor azp)
|
|
237
237
|
* @param {string} id ID of the resource to get the audit trail for
|
|
238
238
|
* @param {GetAuditTrailSortEnum} [sort] Sort order for the audit trail. Can be \'ASC\' or \'DESC\'. Default is \'DESC\'
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
241
241
|
*/
|
|
242
242
|
getAuditTrail(id, sort, options) {
|
|
243
|
-
return
|
|
243
|
+
return CollaborationAuditControllerApiFp(this.configuration).getAuditTrail(id, sort, options).then((request) => request(this.axios, this.basePath));
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
247
|
-
* @summary Search
|
|
246
|
+
* EE variant — same as core, returns rows enriched with actor azp.
|
|
247
|
+
* @summary Search audit trail (enriched with actor azp)
|
|
248
248
|
* @param {SearchByAuditLogRequest} searchByAuditLogRequest
|
|
249
249
|
* @param {*} [options] Override http request option.
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
*/
|
|
252
252
|
searchAuditTrail(searchByAuditLogRequest, options) {
|
|
253
|
-
return
|
|
253
|
+
return CollaborationAuditControllerApiFp(this.configuration).searchAuditTrail(searchByAuditLogRequest, options).then((request) => request(this.axios, this.basePath));
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* Verifies the cryptographic hash chain of the audit log to
|
|
256
|
+
* Verifies the cryptographic hash chain of the audit log. Identical to the core variant — actor enrichment is read-side only and does not affect chain hashes.
|
|
257
257
|
* @summary Verify audit chain integrity
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
261
|
verifyChain(options) {
|
|
262
|
-
return
|
|
262
|
+
return CollaborationAuditControllerApiFp(this.configuration).verifyChain(options).then((request) => request(this.axios, this.basePath));
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
export const GetAuditTrailSortEnum = {
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { ConsumeDelegatedGrantRequest } from '../models';
|
|
16
|
+
import type { CreateDelegatedGrantRequest } from '../models';
|
|
17
|
+
import type { DelegatedFolderNode } from '../models';
|
|
18
|
+
import type { DelegatedGrantDTO } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* DelegatedBrowseGrantsAdminApi - axios parameter creator
|
|
21
|
+
*/
|
|
22
|
+
export declare const DelegatedBrowseGrantsAdminApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
* List folders under {parent} in the grantor\'s tree. Omit {parent} to list the grantor\'s root-level folders. Returns only name/id/hasChildren — no files, no metadata, no content-types.
|
|
25
|
+
* @summary Browse folders on behalf of the grantor
|
|
26
|
+
* @param {string} grantId
|
|
27
|
+
* @param {string} [parent]
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
browseFolders: (grantId: string, parent?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Flip an ACCEPTED grant to CONSUMED after using it to create a webhook. Single-use: subsequent browse calls return 410 Gone.
|
|
34
|
+
* @summary Mark grant as consumed
|
|
35
|
+
* @param {string} id
|
|
36
|
+
* @param {ConsumeDelegatedGrantRequest} consumeDelegatedGrantRequest
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
consume: (id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
* Admin UI polls this after creation to learn when the grantor has accepted/declined. 404 if the grant isn\'t yours.
|
|
43
|
+
* @summary Poll grant status
|
|
44
|
+
* @param {string} id
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
getGrant: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
51
|
+
* @summary List grants I requested
|
|
52
|
+
* @param {ListMineStatusEnum} [status]
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
listMine: (status?: ListMineStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a PENDING grant. Notifies the grantor via in-app + email. Grantor has 15 min to accept or the grant auto-expires.
|
|
59
|
+
* @summary Request a grant
|
|
60
|
+
* @param {CreateDelegatedGrantRequest} createDelegatedGrantRequest
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
requestGrant: (createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* DelegatedBrowseGrantsAdminApi - functional programming interface
|
|
68
|
+
*/
|
|
69
|
+
export declare const DelegatedBrowseGrantsAdminApiFp: (configuration?: Configuration) => {
|
|
70
|
+
/**
|
|
71
|
+
* List folders under {parent} in the grantor\'s tree. Omit {parent} to list the grantor\'s root-level folders. Returns only name/id/hasChildren — no files, no metadata, no content-types.
|
|
72
|
+
* @summary Browse folders on behalf of the grantor
|
|
73
|
+
* @param {string} grantId
|
|
74
|
+
* @param {string} [parent]
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
browseFolders(grantId: string, parent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DelegatedFolderNode>>>;
|
|
79
|
+
/**
|
|
80
|
+
* Flip an ACCEPTED grant to CONSUMED after using it to create a webhook. Single-use: subsequent browse calls return 410 Gone.
|
|
81
|
+
* @summary Mark grant as consumed
|
|
82
|
+
* @param {string} id
|
|
83
|
+
* @param {ConsumeDelegatedGrantRequest} consumeDelegatedGrantRequest
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
consume(id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DelegatedGrantDTO>>;
|
|
88
|
+
/**
|
|
89
|
+
* Admin UI polls this after creation to learn when the grantor has accepted/declined. 404 if the grant isn\'t yours.
|
|
90
|
+
* @summary Poll grant status
|
|
91
|
+
* @param {string} id
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
getGrant(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DelegatedGrantDTO>>;
|
|
96
|
+
/**
|
|
97
|
+
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
98
|
+
* @summary List grants I requested
|
|
99
|
+
* @param {ListMineStatusEnum} [status]
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
listMine(status?: ListMineStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DelegatedGrantDTO>>>;
|
|
104
|
+
/**
|
|
105
|
+
* Create a PENDING grant. Notifies the grantor via in-app + email. Grantor has 15 min to accept or the grant auto-expires.
|
|
106
|
+
* @summary Request a grant
|
|
107
|
+
* @param {CreateDelegatedGrantRequest} createDelegatedGrantRequest
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
requestGrant(createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DelegatedGrantDTO>>;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* DelegatedBrowseGrantsAdminApi - factory interface
|
|
115
|
+
*/
|
|
116
|
+
export declare const DelegatedBrowseGrantsAdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
117
|
+
/**
|
|
118
|
+
* List folders under {parent} in the grantor\'s tree. Omit {parent} to list the grantor\'s root-level folders. Returns only name/id/hasChildren — no files, no metadata, no content-types.
|
|
119
|
+
* @summary Browse folders on behalf of the grantor
|
|
120
|
+
* @param {string} grantId
|
|
121
|
+
* @param {string} [parent]
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
browseFolders(grantId: string, parent?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DelegatedFolderNode>>;
|
|
126
|
+
/**
|
|
127
|
+
* Flip an ACCEPTED grant to CONSUMED after using it to create a webhook. Single-use: subsequent browse calls return 410 Gone.
|
|
128
|
+
* @summary Mark grant as consumed
|
|
129
|
+
* @param {string} id
|
|
130
|
+
* @param {ConsumeDelegatedGrantRequest} consumeDelegatedGrantRequest
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
consume(id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig): AxiosPromise<DelegatedGrantDTO>;
|
|
135
|
+
/**
|
|
136
|
+
* Admin UI polls this after creation to learn when the grantor has accepted/declined. 404 if the grant isn\'t yours.
|
|
137
|
+
* @summary Poll grant status
|
|
138
|
+
* @param {string} id
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
getGrant(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DelegatedGrantDTO>;
|
|
143
|
+
/**
|
|
144
|
+
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
145
|
+
* @summary List grants I requested
|
|
146
|
+
* @param {ListMineStatusEnum} [status]
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
listMine(status?: ListMineStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<DelegatedGrantDTO>>;
|
|
151
|
+
/**
|
|
152
|
+
* Create a PENDING grant. Notifies the grantor via in-app + email. Grantor has 15 min to accept or the grant auto-expires.
|
|
153
|
+
* @summary Request a grant
|
|
154
|
+
* @param {CreateDelegatedGrantRequest} createDelegatedGrantRequest
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
requestGrant(createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig): AxiosPromise<DelegatedGrantDTO>;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* DelegatedBrowseGrantsAdminApi - object-oriented interface
|
|
162
|
+
*/
|
|
163
|
+
export declare class DelegatedBrowseGrantsAdminApi extends BaseAPI {
|
|
164
|
+
/**
|
|
165
|
+
* List folders under {parent} in the grantor\'s tree. Omit {parent} to list the grantor\'s root-level folders. Returns only name/id/hasChildren — no files, no metadata, no content-types.
|
|
166
|
+
* @summary Browse folders on behalf of the grantor
|
|
167
|
+
* @param {string} grantId
|
|
168
|
+
* @param {string} [parent]
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
browseFolders(grantId: string, parent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedFolderNode[], any, {}>>;
|
|
173
|
+
/**
|
|
174
|
+
* Flip an ACCEPTED grant to CONSUMED after using it to create a webhook. Single-use: subsequent browse calls return 410 Gone.
|
|
175
|
+
* @summary Mark grant as consumed
|
|
176
|
+
* @param {string} id
|
|
177
|
+
* @param {ConsumeDelegatedGrantRequest} consumeDelegatedGrantRequest
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
consume(id: string, consumeDelegatedGrantRequest: ConsumeDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
182
|
+
/**
|
|
183
|
+
* Admin UI polls this after creation to learn when the grantor has accepted/declined. 404 if the grant isn\'t yours.
|
|
184
|
+
* @summary Poll grant status
|
|
185
|
+
* @param {string} id
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
getGrant(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
190
|
+
/**
|
|
191
|
+
* Optionally filter by ?status=PENDING|ACCEPTED|...
|
|
192
|
+
* @summary List grants I requested
|
|
193
|
+
* @param {ListMineStatusEnum} [status]
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
listMine(status?: ListMineStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO[], any, {}>>;
|
|
198
|
+
/**
|
|
199
|
+
* Create a PENDING grant. Notifies the grantor via in-app + email. Grantor has 15 min to accept or the grant auto-expires.
|
|
200
|
+
* @summary Request a grant
|
|
201
|
+
* @param {CreateDelegatedGrantRequest} createDelegatedGrantRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
requestGrant(createDelegatedGrantRequest: CreateDelegatedGrantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DelegatedGrantDTO, any, {}>>;
|
|
206
|
+
}
|
|
207
|
+
export declare const ListMineStatusEnum: {
|
|
208
|
+
readonly Pending: "PENDING";
|
|
209
|
+
readonly Accepted: "ACCEPTED";
|
|
210
|
+
readonly Declined: "DECLINED";
|
|
211
|
+
readonly Revoked: "REVOKED";
|
|
212
|
+
readonly Expired: "EXPIRED";
|
|
213
|
+
readonly Consumed: "CONSUMED";
|
|
214
|
+
};
|
|
215
|
+
export type ListMineStatusEnum = typeof ListMineStatusEnum[keyof typeof ListMineStatusEnum];
|