@openfilz-sdk/typescript-ee 1.12.18 → 1.12.20
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 +2 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +5 -2
- package/api/ownership-api.ts +146 -0
- package/dist/api/ownership-api.d.ts +65 -0
- package/dist/api/ownership-api.js +138 -0
- package/dist/esm/api/ownership-api.d.ts +65 -0
- package/dist/esm/api/ownership-api.js +138 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/ownership-eligibility.d.ts +20 -0
- package/dist/esm/models/ownership-eligibility.js +14 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/ownership-eligibility.d.ts +20 -0
- package/dist/models/ownership-eligibility.js +15 -0
- package/docs/OwnershipApi.md +104 -0
- package/docs/OwnershipEligibility.md +32 -0
- package/models/index.ts +1 -0
- package/models/ownership-eligibility.ts +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -215,6 +215,7 @@ docs/OutputTarget.md
|
|
|
215
215
|
docs/OwnedDocument.md
|
|
216
216
|
docs/OwnedDocumentsFilter.md
|
|
217
217
|
docs/OwnershipApi.md
|
|
218
|
+
docs/OwnershipEligibility.md
|
|
218
219
|
docs/OwnershipTransferReport.md
|
|
219
220
|
docs/OwnershipTransferRequest.md
|
|
220
221
|
docs/PDFToolsApi.md
|
|
@@ -468,6 +469,7 @@ models/organize-request.ts
|
|
|
468
469
|
models/output-target.ts
|
|
469
470
|
models/owned-document.ts
|
|
470
471
|
models/owned-documents-filter.ts
|
|
472
|
+
models/ownership-eligibility.ts
|
|
471
473
|
models/ownership-transfer-report.ts
|
|
472
474
|
models/ownership-transfer-request.ts
|
|
473
475
|
models/page-instruction.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a491f2ec6f09824af727e90b29e5e2dde27244ba2a8e8f7ade37bf92407106c6
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.12.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.12.20
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.12.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.12.20 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -230,11 +230,13 @@ Class | Method | HTTP request | Description
|
|
|
230
230
|
*OrganisationSettingsApi* | [**reset1**](docs/OrganisationSettingsApi.md#reset1) | **DELETE** /api/v1/admin/settings/{key} | Reset a setting to its deployment value
|
|
231
231
|
*OrganisationSettingsApi* | [**update2**](docs/OrganisationSettingsApi.md#update2) | **PUT** /api/v1/admin/settings | Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
232
232
|
*OwnershipApi* | [**adminCountOwnedDocuments**](docs/OwnershipApi.md#admincountowneddocuments) | **GET** /api/v1/admin/ownership/users/{userId}/documents/count | Count the documents a user owns (same filter as the listing)
|
|
233
|
+
*OwnershipApi* | [**adminGetOwnershipEligibility**](docs/OwnershipApi.md#admingetownershipeligibility) | **GET** /api/v1/admin/ownership/users/{userId}/eligibility | May the caller act on this user\'s documents now?
|
|
233
234
|
*OwnershipApi* | [**adminGetOwnershipTransfer**](docs/OwnershipApi.md#admingetownershiptransfer) | **GET** /api/v1/admin/ownership/transfers/{jobId} | A transfer\'s progress and outcome
|
|
234
235
|
*OwnershipApi* | [**adminListOwnedDocuments**](docs/OwnershipApi.md#adminlistowneddocuments) | **GET** /api/v1/admin/ownership/users/{userId}/documents | List the documents a user owns
|
|
235
236
|
*OwnershipApi* | [**adminListOwnershipTransfers**](docs/OwnershipApi.md#adminlistownershiptransfers) | **GET** /api/v1/admin/ownership/transfers | The last 50 transfers from or to a user
|
|
236
237
|
*OwnershipApi* | [**adminTransferOwnership**](docs/OwnershipApi.md#admintransferownership) | **POST** /api/v1/admin/ownership/transfers | Transfer documents to another user
|
|
237
238
|
*OwnershipApi* | [**countOwnedDocuments**](docs/OwnershipApi.md#countowneddocuments) | **GET** /api/v1/users/ownership/users/{userId}/documents/count | Count the documents a user owns (same filter as the listing)
|
|
239
|
+
*OwnershipApi* | [**getOwnershipEligibility**](docs/OwnershipApi.md#getownershipeligibility) | **GET** /api/v1/users/ownership/users/{userId}/eligibility | May the caller act on this user\'s documents now?
|
|
238
240
|
*OwnershipApi* | [**getOwnershipTransfer**](docs/OwnershipApi.md#getownershiptransfer) | **GET** /api/v1/users/ownership/transfers/{jobId} | A transfer\'s progress and outcome
|
|
239
241
|
*OwnershipApi* | [**listOwnedDocuments**](docs/OwnershipApi.md#listowneddocuments) | **GET** /api/v1/users/ownership/users/{userId}/documents | List the documents a user owns
|
|
240
242
|
*OwnershipApi* | [**listOwnershipTransfers**](docs/OwnershipApi.md#listownershiptransfers) | **GET** /api/v1/users/ownership/transfers | The last 50 transfers from or to a user
|
|
@@ -442,6 +444,7 @@ Class | Method | HTTP request | Description
|
|
|
442
444
|
- [OutputTarget](docs/OutputTarget.md)
|
|
443
445
|
- [OwnedDocument](docs/OwnedDocument.md)
|
|
444
446
|
- [OwnedDocumentsFilter](docs/OwnedDocumentsFilter.md)
|
|
447
|
+
- [OwnershipEligibility](docs/OwnershipEligibility.md)
|
|
445
448
|
- [OwnershipTransferReport](docs/OwnershipTransferReport.md)
|
|
446
449
|
- [OwnershipTransferRequest](docs/OwnershipTransferRequest.md)
|
|
447
450
|
- [PageInstruction](docs/PageInstruction.md)
|
package/api/ownership-api.ts
CHANGED
|
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { OwnedDocument } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { OwnershipEligibility } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
27
29
|
import type { OwnershipTransferReport } from '../models';
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import type { OwnershipTransferRequest } from '../models';
|
|
@@ -108,6 +110,44 @@ export const OwnershipApiAxiosParamCreator = function (configuration?: Configura
|
|
|
108
110
|
options: localVarRequestOptions,
|
|
109
111
|
};
|
|
110
112
|
},
|
|
113
|
+
/**
|
|
114
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
115
|
+
* @summary May the caller act on this user\'s documents now?
|
|
116
|
+
* @param {string} userId
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
adminGetOwnershipEligibility: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
121
|
+
// verify required parameter 'userId' is not null or undefined
|
|
122
|
+
assertParamExists('adminGetOwnershipEligibility', 'userId', userId)
|
|
123
|
+
const localVarPath = `/api/v1/admin/ownership/users/{userId}/eligibility`
|
|
124
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
133
|
+
const localVarHeaderParameter = {} as any;
|
|
134
|
+
const localVarQueryParameter = {} as any;
|
|
135
|
+
|
|
136
|
+
// authentication keycloak_auth required
|
|
137
|
+
// http bearer authentication required
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
139
|
+
|
|
140
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
111
151
|
/**
|
|
112
152
|
*
|
|
113
153
|
* @summary A transfer\'s progress and outcome
|
|
@@ -388,6 +428,44 @@ export const OwnershipApiAxiosParamCreator = function (configuration?: Configura
|
|
|
388
428
|
options: localVarRequestOptions,
|
|
389
429
|
};
|
|
390
430
|
},
|
|
431
|
+
/**
|
|
432
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
433
|
+
* @summary May the caller act on this user\'s documents now?
|
|
434
|
+
* @param {string} userId
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
getOwnershipEligibility: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
439
|
+
// verify required parameter 'userId' is not null or undefined
|
|
440
|
+
assertParamExists('getOwnershipEligibility', 'userId', userId)
|
|
441
|
+
const localVarPath = `/api/v1/users/ownership/users/{userId}/eligibility`
|
|
442
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
445
|
+
let baseOptions;
|
|
446
|
+
if (configuration) {
|
|
447
|
+
baseOptions = configuration.baseOptions;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
451
|
+
const localVarHeaderParameter = {} as any;
|
|
452
|
+
const localVarQueryParameter = {} as any;
|
|
453
|
+
|
|
454
|
+
// authentication keycloak_auth required
|
|
455
|
+
// http bearer authentication required
|
|
456
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
457
|
+
|
|
458
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
459
|
+
|
|
460
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
461
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
462
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
463
|
+
|
|
464
|
+
return {
|
|
465
|
+
url: toPathString(localVarUrlObj),
|
|
466
|
+
options: localVarRequestOptions,
|
|
467
|
+
};
|
|
468
|
+
},
|
|
391
469
|
/**
|
|
392
470
|
*
|
|
393
471
|
* @summary A transfer\'s progress and outcome
|
|
@@ -621,6 +699,19 @@ export const OwnershipApiFp = function(configuration?: Configuration) {
|
|
|
621
699
|
const localVarOperationServerBasePath = operationServerMap['OwnershipApi.adminCountOwnedDocuments']?.[localVarOperationServerIndex]?.url;
|
|
622
700
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
623
701
|
},
|
|
702
|
+
/**
|
|
703
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
704
|
+
* @summary May the caller act on this user\'s documents now?
|
|
705
|
+
* @param {string} userId
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
async adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>> {
|
|
710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminGetOwnershipEligibility(userId, options);
|
|
711
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
712
|
+
const localVarOperationServerBasePath = operationServerMap['OwnershipApi.adminGetOwnershipEligibility']?.[localVarOperationServerIndex]?.url;
|
|
713
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
714
|
+
},
|
|
624
715
|
/**
|
|
625
716
|
*
|
|
626
717
|
* @summary A transfer\'s progress and outcome
|
|
@@ -702,6 +793,19 @@ export const OwnershipApiFp = function(configuration?: Configuration) {
|
|
|
702
793
|
const localVarOperationServerBasePath = operationServerMap['OwnershipApi.countOwnedDocuments']?.[localVarOperationServerIndex]?.url;
|
|
703
794
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
704
795
|
},
|
|
796
|
+
/**
|
|
797
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
798
|
+
* @summary May the caller act on this user\'s documents now?
|
|
799
|
+
* @param {string} userId
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
async getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>> {
|
|
804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOwnershipEligibility(userId, options);
|
|
805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
806
|
+
const localVarOperationServerBasePath = operationServerMap['OwnershipApi.getOwnershipEligibility']?.[localVarOperationServerIndex]?.url;
|
|
807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
808
|
+
},
|
|
705
809
|
/**
|
|
706
810
|
*
|
|
707
811
|
* @summary A transfer\'s progress and outcome
|
|
@@ -789,6 +893,16 @@ export const OwnershipApiFactory = function (configuration?: Configuration, base
|
|
|
789
893
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
790
894
|
return localVarFp.adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
791
895
|
},
|
|
896
|
+
/**
|
|
897
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
898
|
+
* @summary May the caller act on this user\'s documents now?
|
|
899
|
+
* @param {string} userId
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility> {
|
|
904
|
+
return localVarFp.adminGetOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
905
|
+
},
|
|
792
906
|
/**
|
|
793
907
|
*
|
|
794
908
|
* @summary A transfer\'s progress and outcome
|
|
@@ -855,6 +969,16 @@ export const OwnershipApiFactory = function (configuration?: Configuration, base
|
|
|
855
969
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
856
970
|
return localVarFp.countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
857
971
|
},
|
|
972
|
+
/**
|
|
973
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
974
|
+
* @summary May the caller act on this user\'s documents now?
|
|
975
|
+
* @param {string} userId
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
*/
|
|
979
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility> {
|
|
980
|
+
return localVarFp.getOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
981
|
+
},
|
|
858
982
|
/**
|
|
859
983
|
*
|
|
860
984
|
* @summary A transfer\'s progress and outcome
|
|
@@ -929,6 +1053,17 @@ export class OwnershipApi extends BaseAPI {
|
|
|
929
1053
|
return OwnershipApiFp(this.configuration).adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
930
1054
|
}
|
|
931
1055
|
|
|
1056
|
+
/**
|
|
1057
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
1058
|
+
* @summary May the caller act on this user\'s documents now?
|
|
1059
|
+
* @param {string} userId
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
public adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig) {
|
|
1064
|
+
return OwnershipApiFp(this.configuration).adminGetOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1065
|
+
}
|
|
1066
|
+
|
|
932
1067
|
/**
|
|
933
1068
|
*
|
|
934
1069
|
* @summary A transfer\'s progress and outcome
|
|
@@ -1000,6 +1135,17 @@ export class OwnershipApi extends BaseAPI {
|
|
|
1000
1135
|
return OwnershipApiFp(this.configuration).countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
1001
1136
|
}
|
|
1002
1137
|
|
|
1138
|
+
/**
|
|
1139
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
1140
|
+
* @summary May the caller act on this user\'s documents now?
|
|
1141
|
+
* @param {string} userId
|
|
1142
|
+
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @throws {RequiredError}
|
|
1144
|
+
*/
|
|
1145
|
+
public getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig) {
|
|
1146
|
+
return OwnershipApiFp(this.configuration).getOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1003
1149
|
/**
|
|
1004
1150
|
*
|
|
1005
1151
|
* @summary A transfer\'s progress and outcome
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { OwnedDocument } from '../models';
|
|
16
|
+
import type { OwnershipEligibility } from '../models';
|
|
16
17
|
import type { OwnershipTransferReport } from '../models';
|
|
17
18
|
import type { OwnershipTransferRequest } from '../models';
|
|
18
19
|
/**
|
|
@@ -34,6 +35,14 @@ export declare const OwnershipApiAxiosParamCreator: (configuration?: Configurati
|
|
|
34
35
|
* @throws {RequiredError}
|
|
35
36
|
*/
|
|
36
37
|
adminCountOwnedDocuments: (userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
40
|
+
* @summary May the caller act on this user\'s documents now?
|
|
41
|
+
* @param {string} userId
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
adminGetOwnershipEligibility: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
46
|
/**
|
|
38
47
|
*
|
|
39
48
|
* @summary A transfer\'s progress and outcome
|
|
@@ -90,6 +99,14 @@ export declare const OwnershipApiAxiosParamCreator: (configuration?: Configurati
|
|
|
90
99
|
* @throws {RequiredError}
|
|
91
100
|
*/
|
|
92
101
|
countOwnedDocuments: (userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
/**
|
|
103
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
104
|
+
* @summary May the caller act on this user\'s documents now?
|
|
105
|
+
* @param {string} userId
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getOwnershipEligibility: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
110
|
/**
|
|
94
111
|
*
|
|
95
112
|
* @summary A transfer\'s progress and outcome
|
|
@@ -151,6 +168,14 @@ export declare const OwnershipApiFp: (configuration?: Configuration) => {
|
|
|
151
168
|
* @throws {RequiredError}
|
|
152
169
|
*/
|
|
153
170
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
171
|
+
/**
|
|
172
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
173
|
+
* @summary May the caller act on this user\'s documents now?
|
|
174
|
+
* @param {string} userId
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>>;
|
|
154
179
|
/**
|
|
155
180
|
*
|
|
156
181
|
* @summary A transfer\'s progress and outcome
|
|
@@ -207,6 +232,14 @@ export declare const OwnershipApiFp: (configuration?: Configuration) => {
|
|
|
207
232
|
* @throws {RequiredError}
|
|
208
233
|
*/
|
|
209
234
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
235
|
+
/**
|
|
236
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
237
|
+
* @summary May the caller act on this user\'s documents now?
|
|
238
|
+
* @param {string} userId
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>>;
|
|
210
243
|
/**
|
|
211
244
|
*
|
|
212
245
|
* @summary A transfer\'s progress and outcome
|
|
@@ -268,6 +301,14 @@ export declare const OwnershipApiFactory: (configuration?: Configuration, basePa
|
|
|
268
301
|
* @throws {RequiredError}
|
|
269
302
|
*/
|
|
270
303
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
304
|
+
/**
|
|
305
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
306
|
+
* @summary May the caller act on this user\'s documents now?
|
|
307
|
+
* @param {string} userId
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility>;
|
|
271
312
|
/**
|
|
272
313
|
*
|
|
273
314
|
* @summary A transfer\'s progress and outcome
|
|
@@ -324,6 +365,14 @@ export declare const OwnershipApiFactory: (configuration?: Configuration, basePa
|
|
|
324
365
|
* @throws {RequiredError}
|
|
325
366
|
*/
|
|
326
367
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
368
|
+
/**
|
|
369
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
370
|
+
* @summary May the caller act on this user\'s documents now?
|
|
371
|
+
* @param {string} userId
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility>;
|
|
327
376
|
/**
|
|
328
377
|
*
|
|
329
378
|
* @summary A transfer\'s progress and outcome
|
|
@@ -385,6 +434,14 @@ export declare class OwnershipApi extends BaseAPI {
|
|
|
385
434
|
* @throws {RequiredError}
|
|
386
435
|
*/
|
|
387
436
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
437
|
+
/**
|
|
438
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
439
|
+
* @summary May the caller act on this user\'s documents now?
|
|
440
|
+
* @param {string} userId
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OwnershipEligibility, any, {}, any>>;
|
|
388
445
|
/**
|
|
389
446
|
*
|
|
390
447
|
* @summary A transfer\'s progress and outcome
|
|
@@ -441,6 +498,14 @@ export declare class OwnershipApi extends BaseAPI {
|
|
|
441
498
|
* @throws {RequiredError}
|
|
442
499
|
*/
|
|
443
500
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
501
|
+
/**
|
|
502
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
503
|
+
* @summary May the caller act on this user\'s documents now?
|
|
504
|
+
* @param {string} userId
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OwnershipEligibility, any, {}, any>>;
|
|
444
509
|
/**
|
|
445
510
|
*
|
|
446
511
|
* @summary A transfer\'s progress and outcome
|
|
@@ -99,6 +99,39 @@ const OwnershipApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
options: localVarRequestOptions,
|
|
100
100
|
};
|
|
101
101
|
}),
|
|
102
|
+
/**
|
|
103
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
104
|
+
* @summary May the caller act on this user\'s documents now?
|
|
105
|
+
* @param {string} userId
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
adminGetOwnershipEligibility: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
110
|
+
// verify required parameter 'userId' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('adminGetOwnershipEligibility', 'userId', userId);
|
|
112
|
+
const localVarPath = `/api/v1/admin/ownership/users/{userId}/eligibility`
|
|
113
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
121
|
+
const localVarHeaderParameter = {};
|
|
122
|
+
const localVarQueryParameter = {};
|
|
123
|
+
// authentication keycloak_auth required
|
|
124
|
+
// http bearer authentication required
|
|
125
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
126
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
127
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
130
|
+
return {
|
|
131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
}),
|
|
102
135
|
/**
|
|
103
136
|
*
|
|
104
137
|
* @summary A transfer\'s progress and outcome
|
|
@@ -339,6 +372,39 @@ const OwnershipApiAxiosParamCreator = function (configuration) {
|
|
|
339
372
|
options: localVarRequestOptions,
|
|
340
373
|
};
|
|
341
374
|
}),
|
|
375
|
+
/**
|
|
376
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
377
|
+
* @summary May the caller act on this user\'s documents now?
|
|
378
|
+
* @param {string} userId
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
getOwnershipEligibility: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
383
|
+
// verify required parameter 'userId' is not null or undefined
|
|
384
|
+
(0, common_1.assertParamExists)('getOwnershipEligibility', 'userId', userId);
|
|
385
|
+
const localVarPath = `/api/v1/users/ownership/users/{userId}/eligibility`
|
|
386
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
387
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
388
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
389
|
+
let baseOptions;
|
|
390
|
+
if (configuration) {
|
|
391
|
+
baseOptions = configuration.baseOptions;
|
|
392
|
+
}
|
|
393
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
394
|
+
const localVarHeaderParameter = {};
|
|
395
|
+
const localVarQueryParameter = {};
|
|
396
|
+
// authentication keycloak_auth required
|
|
397
|
+
// http bearer authentication required
|
|
398
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
399
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
400
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
403
|
+
return {
|
|
404
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
405
|
+
options: localVarRequestOptions,
|
|
406
|
+
};
|
|
407
|
+
}),
|
|
342
408
|
/**
|
|
343
409
|
*
|
|
344
410
|
* @summary A transfer\'s progress and outcome
|
|
@@ -546,6 +612,22 @@ const OwnershipApiFp = function (configuration) {
|
|
|
546
612
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
547
613
|
});
|
|
548
614
|
},
|
|
615
|
+
/**
|
|
616
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
617
|
+
* @summary May the caller act on this user\'s documents now?
|
|
618
|
+
* @param {string} userId
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
var _a, _b, _c;
|
|
625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetOwnershipEligibility(userId, options);
|
|
626
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
627
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OwnershipApi.adminGetOwnershipEligibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
628
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
629
|
+
});
|
|
630
|
+
},
|
|
549
631
|
/**
|
|
550
632
|
*
|
|
551
633
|
* @summary A transfer\'s progress and outcome
|
|
@@ -642,6 +724,22 @@ const OwnershipApiFp = function (configuration) {
|
|
|
642
724
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
643
725
|
});
|
|
644
726
|
},
|
|
727
|
+
/**
|
|
728
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
729
|
+
* @summary May the caller act on this user\'s documents now?
|
|
730
|
+
* @param {string} userId
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
getOwnershipEligibility(userId, options) {
|
|
735
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
736
|
+
var _a, _b, _c;
|
|
737
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOwnershipEligibility(userId, options);
|
|
738
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
739
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OwnershipApi.getOwnershipEligibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
740
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
741
|
+
});
|
|
742
|
+
},
|
|
645
743
|
/**
|
|
646
744
|
*
|
|
647
745
|
* @summary A transfer\'s progress and outcome
|
|
@@ -741,6 +839,16 @@ const OwnershipApiFactory = function (configuration, basePath, axios) {
|
|
|
741
839
|
adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
742
840
|
return localVarFp.adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
743
841
|
},
|
|
842
|
+
/**
|
|
843
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
844
|
+
* @summary May the caller act on this user\'s documents now?
|
|
845
|
+
* @param {string} userId
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
850
|
+
return localVarFp.adminGetOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
851
|
+
},
|
|
744
852
|
/**
|
|
745
853
|
*
|
|
746
854
|
* @summary A transfer\'s progress and outcome
|
|
@@ -807,6 +915,16 @@ const OwnershipApiFactory = function (configuration, basePath, axios) {
|
|
|
807
915
|
countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
808
916
|
return localVarFp.countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
809
917
|
},
|
|
918
|
+
/**
|
|
919
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
920
|
+
* @summary May the caller act on this user\'s documents now?
|
|
921
|
+
* @param {string} userId
|
|
922
|
+
* @param {*} [options] Override http request option.
|
|
923
|
+
* @throws {RequiredError}
|
|
924
|
+
*/
|
|
925
|
+
getOwnershipEligibility(userId, options) {
|
|
926
|
+
return localVarFp.getOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
927
|
+
},
|
|
810
928
|
/**
|
|
811
929
|
*
|
|
812
930
|
* @summary A transfer\'s progress and outcome
|
|
@@ -880,6 +998,16 @@ class OwnershipApi extends base_1.BaseAPI {
|
|
|
880
998
|
adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
881
999
|
return (0, exports.OwnershipApiFp)(this.configuration).adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
882
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
1003
|
+
* @summary May the caller act on this user\'s documents now?
|
|
1004
|
+
* @param {string} userId
|
|
1005
|
+
* @param {*} [options] Override http request option.
|
|
1006
|
+
* @throws {RequiredError}
|
|
1007
|
+
*/
|
|
1008
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
1009
|
+
return (0, exports.OwnershipApiFp)(this.configuration).adminGetOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1010
|
+
}
|
|
883
1011
|
/**
|
|
884
1012
|
*
|
|
885
1013
|
* @summary A transfer\'s progress and outcome
|
|
@@ -946,6 +1074,16 @@ class OwnershipApi extends base_1.BaseAPI {
|
|
|
946
1074
|
countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
947
1075
|
return (0, exports.OwnershipApiFp)(this.configuration).countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
948
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
1079
|
+
* @summary May the caller act on this user\'s documents now?
|
|
1080
|
+
* @param {string} userId
|
|
1081
|
+
* @param {*} [options] Override http request option.
|
|
1082
|
+
* @throws {RequiredError}
|
|
1083
|
+
*/
|
|
1084
|
+
getOwnershipEligibility(userId, options) {
|
|
1085
|
+
return (0, exports.OwnershipApiFp)(this.configuration).getOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1086
|
+
}
|
|
949
1087
|
/**
|
|
950
1088
|
*
|
|
951
1089
|
* @summary A transfer\'s progress and outcome
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { OwnedDocument } from '../models';
|
|
16
|
+
import type { OwnershipEligibility } from '../models';
|
|
16
17
|
import type { OwnershipTransferReport } from '../models';
|
|
17
18
|
import type { OwnershipTransferRequest } from '../models';
|
|
18
19
|
/**
|
|
@@ -34,6 +35,14 @@ export declare const OwnershipApiAxiosParamCreator: (configuration?: Configurati
|
|
|
34
35
|
* @throws {RequiredError}
|
|
35
36
|
*/
|
|
36
37
|
adminCountOwnedDocuments: (userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
40
|
+
* @summary May the caller act on this user\'s documents now?
|
|
41
|
+
* @param {string} userId
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
adminGetOwnershipEligibility: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
46
|
/**
|
|
38
47
|
*
|
|
39
48
|
* @summary A transfer\'s progress and outcome
|
|
@@ -90,6 +99,14 @@ export declare const OwnershipApiAxiosParamCreator: (configuration?: Configurati
|
|
|
90
99
|
* @throws {RequiredError}
|
|
91
100
|
*/
|
|
92
101
|
countOwnedDocuments: (userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
/**
|
|
103
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
104
|
+
* @summary May the caller act on this user\'s documents now?
|
|
105
|
+
* @param {string} userId
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getOwnershipEligibility: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
110
|
/**
|
|
94
111
|
*
|
|
95
112
|
* @summary A transfer\'s progress and outcome
|
|
@@ -151,6 +168,14 @@ export declare const OwnershipApiFp: (configuration?: Configuration) => {
|
|
|
151
168
|
* @throws {RequiredError}
|
|
152
169
|
*/
|
|
153
170
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
171
|
+
/**
|
|
172
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
173
|
+
* @summary May the caller act on this user\'s documents now?
|
|
174
|
+
* @param {string} userId
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>>;
|
|
154
179
|
/**
|
|
155
180
|
*
|
|
156
181
|
* @summary A transfer\'s progress and outcome
|
|
@@ -207,6 +232,14 @@ export declare const OwnershipApiFp: (configuration?: Configuration) => {
|
|
|
207
232
|
* @throws {RequiredError}
|
|
208
233
|
*/
|
|
209
234
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
235
|
+
/**
|
|
236
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
237
|
+
* @summary May the caller act on this user\'s documents now?
|
|
238
|
+
* @param {string} userId
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OwnershipEligibility>>;
|
|
210
243
|
/**
|
|
211
244
|
*
|
|
212
245
|
* @summary A transfer\'s progress and outcome
|
|
@@ -268,6 +301,14 @@ export declare const OwnershipApiFactory: (configuration?: Configuration, basePa
|
|
|
268
301
|
* @throws {RequiredError}
|
|
269
302
|
*/
|
|
270
303
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
304
|
+
/**
|
|
305
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
306
|
+
* @summary May the caller act on this user\'s documents now?
|
|
307
|
+
* @param {string} userId
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility>;
|
|
271
312
|
/**
|
|
272
313
|
*
|
|
273
314
|
* @summary A transfer\'s progress and outcome
|
|
@@ -324,6 +365,14 @@ export declare const OwnershipApiFactory: (configuration?: Configuration, basePa
|
|
|
324
365
|
* @throws {RequiredError}
|
|
325
366
|
*/
|
|
326
367
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
368
|
+
/**
|
|
369
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
370
|
+
* @summary May the caller act on this user\'s documents now?
|
|
371
|
+
* @param {string} userId
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<OwnershipEligibility>;
|
|
327
376
|
/**
|
|
328
377
|
*
|
|
329
378
|
* @summary A transfer\'s progress and outcome
|
|
@@ -385,6 +434,14 @@ export declare class OwnershipApi extends BaseAPI {
|
|
|
385
434
|
* @throws {RequiredError}
|
|
386
435
|
*/
|
|
387
436
|
adminCountOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: AdminCountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
437
|
+
/**
|
|
438
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
439
|
+
* @summary May the caller act on this user\'s documents now?
|
|
440
|
+
* @param {string} userId
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
adminGetOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OwnershipEligibility, any, {}, any>>;
|
|
388
445
|
/**
|
|
389
446
|
*
|
|
390
447
|
* @summary A transfer\'s progress and outcome
|
|
@@ -441,6 +498,14 @@ export declare class OwnershipApi extends BaseAPI {
|
|
|
441
498
|
* @throws {RequiredError}
|
|
442
499
|
*/
|
|
443
500
|
countOwnedDocuments(userId: string, parentId?: string, recursive?: boolean, type?: CountOwnedDocumentsTypeEnum, name?: string, updatedAfter?: string, updatedBefore?: string, xOpenFilzReason?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
501
|
+
/**
|
|
502
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
503
|
+
* @summary May the caller act on this user\'s documents now?
|
|
504
|
+
* @param {string} userId
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
getOwnershipEligibility(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OwnershipEligibility, any, {}, any>>;
|
|
444
509
|
/**
|
|
445
510
|
*
|
|
446
511
|
* @summary A transfer\'s progress and outcome
|
|
@@ -96,6 +96,39 @@ export const OwnershipApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
options: localVarRequestOptions,
|
|
97
97
|
};
|
|
98
98
|
}),
|
|
99
|
+
/**
|
|
100
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
101
|
+
* @summary May the caller act on this user\'s documents now?
|
|
102
|
+
* @param {string} userId
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
adminGetOwnershipEligibility: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
107
|
+
// verify required parameter 'userId' is not null or undefined
|
|
108
|
+
assertParamExists('adminGetOwnershipEligibility', 'userId', userId);
|
|
109
|
+
const localVarPath = `/api/v1/admin/ownership/users/{userId}/eligibility`
|
|
110
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
113
|
+
let baseOptions;
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
}
|
|
117
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
118
|
+
const localVarHeaderParameter = {};
|
|
119
|
+
const localVarQueryParameter = {};
|
|
120
|
+
// authentication keycloak_auth required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
123
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
124
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
+
return {
|
|
128
|
+
url: toPathString(localVarUrlObj),
|
|
129
|
+
options: localVarRequestOptions,
|
|
130
|
+
};
|
|
131
|
+
}),
|
|
99
132
|
/**
|
|
100
133
|
*
|
|
101
134
|
* @summary A transfer\'s progress and outcome
|
|
@@ -336,6 +369,39 @@ export const OwnershipApiAxiosParamCreator = function (configuration) {
|
|
|
336
369
|
options: localVarRequestOptions,
|
|
337
370
|
};
|
|
338
371
|
}),
|
|
372
|
+
/**
|
|
373
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
374
|
+
* @summary May the caller act on this user\'s documents now?
|
|
375
|
+
* @param {string} userId
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
getOwnershipEligibility: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
380
|
+
// verify required parameter 'userId' is not null or undefined
|
|
381
|
+
assertParamExists('getOwnershipEligibility', 'userId', userId);
|
|
382
|
+
const localVarPath = `/api/v1/users/ownership/users/{userId}/eligibility`
|
|
383
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
386
|
+
let baseOptions;
|
|
387
|
+
if (configuration) {
|
|
388
|
+
baseOptions = configuration.baseOptions;
|
|
389
|
+
}
|
|
390
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
391
|
+
const localVarHeaderParameter = {};
|
|
392
|
+
const localVarQueryParameter = {};
|
|
393
|
+
// authentication keycloak_auth required
|
|
394
|
+
// http bearer authentication required
|
|
395
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
396
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
399
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
400
|
+
return {
|
|
401
|
+
url: toPathString(localVarUrlObj),
|
|
402
|
+
options: localVarRequestOptions,
|
|
403
|
+
};
|
|
404
|
+
}),
|
|
339
405
|
/**
|
|
340
406
|
*
|
|
341
407
|
* @summary A transfer\'s progress and outcome
|
|
@@ -542,6 +608,22 @@ export const OwnershipApiFp = function (configuration) {
|
|
|
542
608
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
543
609
|
});
|
|
544
610
|
},
|
|
611
|
+
/**
|
|
612
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
613
|
+
* @summary May the caller act on this user\'s documents now?
|
|
614
|
+
* @param {string} userId
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
620
|
+
var _a, _b, _c;
|
|
621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminGetOwnershipEligibility(userId, options);
|
|
622
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
623
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OwnershipApi.adminGetOwnershipEligibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
625
|
+
});
|
|
626
|
+
},
|
|
545
627
|
/**
|
|
546
628
|
*
|
|
547
629
|
* @summary A transfer\'s progress and outcome
|
|
@@ -638,6 +720,22 @@ export const OwnershipApiFp = function (configuration) {
|
|
|
638
720
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
639
721
|
});
|
|
640
722
|
},
|
|
723
|
+
/**
|
|
724
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
725
|
+
* @summary May the caller act on this user\'s documents now?
|
|
726
|
+
* @param {string} userId
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
getOwnershipEligibility(userId, options) {
|
|
731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
732
|
+
var _a, _b, _c;
|
|
733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOwnershipEligibility(userId, options);
|
|
734
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
735
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OwnershipApi.getOwnershipEligibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
737
|
+
});
|
|
738
|
+
},
|
|
641
739
|
/**
|
|
642
740
|
*
|
|
643
741
|
* @summary A transfer\'s progress and outcome
|
|
@@ -736,6 +834,16 @@ export const OwnershipApiFactory = function (configuration, basePath, axios) {
|
|
|
736
834
|
adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
737
835
|
return localVarFp.adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
738
836
|
},
|
|
837
|
+
/**
|
|
838
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
839
|
+
* @summary May the caller act on this user\'s documents now?
|
|
840
|
+
* @param {string} userId
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
845
|
+
return localVarFp.adminGetOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
846
|
+
},
|
|
739
847
|
/**
|
|
740
848
|
*
|
|
741
849
|
* @summary A transfer\'s progress and outcome
|
|
@@ -802,6 +910,16 @@ export const OwnershipApiFactory = function (configuration, basePath, axios) {
|
|
|
802
910
|
countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
803
911
|
return localVarFp.countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(axios, basePath));
|
|
804
912
|
},
|
|
913
|
+
/**
|
|
914
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
915
|
+
* @summary May the caller act on this user\'s documents now?
|
|
916
|
+
* @param {string} userId
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
*/
|
|
920
|
+
getOwnershipEligibility(userId, options) {
|
|
921
|
+
return localVarFp.getOwnershipEligibility(userId, options).then((request) => request(axios, basePath));
|
|
922
|
+
},
|
|
805
923
|
/**
|
|
806
924
|
*
|
|
807
925
|
* @summary A transfer\'s progress and outcome
|
|
@@ -874,6 +992,16 @@ export class OwnershipApi extends BaseAPI {
|
|
|
874
992
|
adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
875
993
|
return OwnershipApiFp(this.configuration).adminCountOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
876
994
|
}
|
|
995
|
+
/**
|
|
996
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
997
|
+
* @summary May the caller act on this user\'s documents now?
|
|
998
|
+
* @param {string} userId
|
|
999
|
+
* @param {*} [options] Override http request option.
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
*/
|
|
1002
|
+
adminGetOwnershipEligibility(userId, options) {
|
|
1003
|
+
return OwnershipApiFp(this.configuration).adminGetOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1004
|
+
}
|
|
877
1005
|
/**
|
|
878
1006
|
*
|
|
879
1007
|
* @summary A transfer\'s progress and outcome
|
|
@@ -940,6 +1068,16 @@ export class OwnershipApi extends BaseAPI {
|
|
|
940
1068
|
countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options) {
|
|
941
1069
|
return OwnershipApiFp(this.configuration).countOwnedDocuments(userId, parentId, recursive, type, name, updatedAfter, updatedBefore, xOpenFilzReason, options).then((request) => request(this.axios, this.basePath));
|
|
942
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
1073
|
+
* @summary May the caller act on this user\'s documents now?
|
|
1074
|
+
* @param {string} userId
|
|
1075
|
+
* @param {*} [options] Override http request option.
|
|
1076
|
+
* @throws {RequiredError}
|
|
1077
|
+
*/
|
|
1078
|
+
getOwnershipEligibility(userId, options) {
|
|
1079
|
+
return OwnershipApiFp(this.configuration).getOwnershipEligibility(userId, options).then((request) => request(this.axios, this.basePath));
|
|
1080
|
+
}
|
|
943
1081
|
/**
|
|
944
1082
|
*
|
|
945
1083
|
* @summary A transfer\'s progress and outcome
|
|
@@ -116,6 +116,7 @@ export * from './organize-request';
|
|
|
116
116
|
export * from './output-target';
|
|
117
117
|
export * from './owned-document';
|
|
118
118
|
export * from './owned-documents-filter';
|
|
119
|
+
export * from './ownership-eligibility';
|
|
119
120
|
export * from './ownership-transfer-report';
|
|
120
121
|
export * from './ownership-transfer-request';
|
|
121
122
|
export * from './page-instruction';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -116,6 +116,7 @@ export * from './organize-request';
|
|
|
116
116
|
export * from './output-target';
|
|
117
117
|
export * from './owned-document';
|
|
118
118
|
export * from './owned-documents-filter';
|
|
119
|
+
export * from './ownership-eligibility';
|
|
119
120
|
export * from './ownership-transfer-report';
|
|
120
121
|
export * from './ownership-transfer-request';
|
|
121
122
|
export * from './page-instruction';
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export interface OwnershipEligibility {
|
|
13
|
+
'userId'?: string;
|
|
14
|
+
'userStatus'?: string;
|
|
15
|
+
'consentBypass'?: string;
|
|
16
|
+
'allowed'?: boolean;
|
|
17
|
+
'refusal'?: string;
|
|
18
|
+
'recentSignIn'?: boolean;
|
|
19
|
+
'stepUpMaxAgeSeconds'?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export * from './organize-request';
|
|
|
116
116
|
export * from './output-target';
|
|
117
117
|
export * from './owned-document';
|
|
118
118
|
export * from './owned-documents-filter';
|
|
119
|
+
export * from './ownership-eligibility';
|
|
119
120
|
export * from './ownership-transfer-report';
|
|
120
121
|
export * from './ownership-transfer-request';
|
|
121
122
|
export * from './page-instruction';
|
package/dist/models/index.js
CHANGED
|
@@ -132,6 +132,7 @@ __exportStar(require("./organize-request"), exports);
|
|
|
132
132
|
__exportStar(require("./output-target"), exports);
|
|
133
133
|
__exportStar(require("./owned-document"), exports);
|
|
134
134
|
__exportStar(require("./owned-documents-filter"), exports);
|
|
135
|
+
__exportStar(require("./ownership-eligibility"), exports);
|
|
135
136
|
__exportStar(require("./ownership-transfer-report"), exports);
|
|
136
137
|
__exportStar(require("./ownership-transfer-request"), exports);
|
|
137
138
|
__exportStar(require("./page-instruction"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export interface OwnershipEligibility {
|
|
13
|
+
'userId'?: string;
|
|
14
|
+
'userStatus'?: string;
|
|
15
|
+
'consentBypass'?: string;
|
|
16
|
+
'allowed'?: boolean;
|
|
17
|
+
'refusal'?: string;
|
|
18
|
+
'recentSignIn'?: boolean;
|
|
19
|
+
'stepUpMaxAgeSeconds'?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/docs/OwnershipApi.md
CHANGED
|
@@ -5,11 +5,13 @@ All URIs are relative to *http://localhost:8081*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**adminCountOwnedDocuments**](#admincountowneddocuments) | **GET** /api/v1/admin/ownership/users/{userId}/documents/count | Count the documents a user owns (same filter as the listing)|
|
|
8
|
+
|[**adminGetOwnershipEligibility**](#admingetownershipeligibility) | **GET** /api/v1/admin/ownership/users/{userId}/eligibility | May the caller act on this user\'s documents now?|
|
|
8
9
|
|[**adminGetOwnershipTransfer**](#admingetownershiptransfer) | **GET** /api/v1/admin/ownership/transfers/{jobId} | A transfer\'s progress and outcome|
|
|
9
10
|
|[**adminListOwnedDocuments**](#adminlistowneddocuments) | **GET** /api/v1/admin/ownership/users/{userId}/documents | List the documents a user owns|
|
|
10
11
|
|[**adminListOwnershipTransfers**](#adminlistownershiptransfers) | **GET** /api/v1/admin/ownership/transfers | The last 50 transfers from or to a user|
|
|
11
12
|
|[**adminTransferOwnership**](#admintransferownership) | **POST** /api/v1/admin/ownership/transfers | Transfer documents to another user|
|
|
12
13
|
|[**countOwnedDocuments**](#countowneddocuments) | **GET** /api/v1/users/ownership/users/{userId}/documents/count | Count the documents a user owns (same filter as the listing)|
|
|
14
|
+
|[**getOwnershipEligibility**](#getownershipeligibility) | **GET** /api/v1/users/ownership/users/{userId}/eligibility | May the caller act on this user\'s documents now?|
|
|
13
15
|
|[**getOwnershipTransfer**](#getownershiptransfer) | **GET** /api/v1/users/ownership/transfers/{jobId} | A transfer\'s progress and outcome|
|
|
14
16
|
|[**listOwnedDocuments**](#listowneddocuments) | **GET** /api/v1/users/ownership/users/{userId}/documents | List the documents a user owns|
|
|
15
17
|
|[**listOwnershipTransfers**](#listownershiptransfers) | **GET** /api/v1/users/ownership/transfers | The last 50 transfers from or to a user|
|
|
@@ -79,6 +81,57 @@ const { status, data } = await apiInstance.adminCountOwnedDocuments(
|
|
|
79
81
|
- **Accept**: */*
|
|
80
82
|
|
|
81
83
|
|
|
84
|
+
### HTTP response details
|
|
85
|
+
| Status code | Description | Response headers |
|
|
86
|
+
|-------------|-------------|------------------|
|
|
87
|
+
|**200** | OK | - |
|
|
88
|
+
|
|
89
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
90
|
+
|
|
91
|
+
# **adminGetOwnershipEligibility**
|
|
92
|
+
> OwnershipEligibility adminGetOwnershipEligibility()
|
|
93
|
+
|
|
94
|
+
The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
95
|
+
|
|
96
|
+
### Example
|
|
97
|
+
|
|
98
|
+
```typescript
|
|
99
|
+
import {
|
|
100
|
+
OwnershipApi,
|
|
101
|
+
Configuration
|
|
102
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
103
|
+
|
|
104
|
+
const configuration = new Configuration();
|
|
105
|
+
const apiInstance = new OwnershipApi(configuration);
|
|
106
|
+
|
|
107
|
+
let userId: string; // (default to undefined)
|
|
108
|
+
|
|
109
|
+
const { status, data } = await apiInstance.adminGetOwnershipEligibility(
|
|
110
|
+
userId
|
|
111
|
+
);
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Parameters
|
|
115
|
+
|
|
116
|
+
|Name | Type | Description | Notes|
|
|
117
|
+
|------------- | ------------- | ------------- | -------------|
|
|
118
|
+
| **userId** | [**string**] | | defaults to undefined|
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Return type
|
|
122
|
+
|
|
123
|
+
**OwnershipEligibility**
|
|
124
|
+
|
|
125
|
+
### Authorization
|
|
126
|
+
|
|
127
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
128
|
+
|
|
129
|
+
### HTTP request headers
|
|
130
|
+
|
|
131
|
+
- **Content-Type**: Not defined
|
|
132
|
+
- **Accept**: */*
|
|
133
|
+
|
|
134
|
+
|
|
82
135
|
### HTTP response details
|
|
83
136
|
| Status code | Description | Response headers |
|
|
84
137
|
|-------------|-------------|------------------|
|
|
@@ -381,6 +434,57 @@ const { status, data } = await apiInstance.countOwnedDocuments(
|
|
|
381
434
|
- **Accept**: */*
|
|
382
435
|
|
|
383
436
|
|
|
437
|
+
### HTTP response details
|
|
438
|
+
| Status code | Description | Response headers |
|
|
439
|
+
|-------------|-------------|------------------|
|
|
440
|
+
|**200** | OK | - |
|
|
441
|
+
|
|
442
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
443
|
+
|
|
444
|
+
# **getOwnershipEligibility**
|
|
445
|
+
> OwnershipEligibility getOwnershipEligibility()
|
|
446
|
+
|
|
447
|
+
The consent-bypass setting applied to this user (allowed, or refusal NEVER / ACTIVE_USER) and whether the caller\'s sign-in is recent enough (else a step-up is asked before acting). No reason needed, nothing audited.
|
|
448
|
+
|
|
449
|
+
### Example
|
|
450
|
+
|
|
451
|
+
```typescript
|
|
452
|
+
import {
|
|
453
|
+
OwnershipApi,
|
|
454
|
+
Configuration
|
|
455
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
456
|
+
|
|
457
|
+
const configuration = new Configuration();
|
|
458
|
+
const apiInstance = new OwnershipApi(configuration);
|
|
459
|
+
|
|
460
|
+
let userId: string; // (default to undefined)
|
|
461
|
+
|
|
462
|
+
const { status, data } = await apiInstance.getOwnershipEligibility(
|
|
463
|
+
userId
|
|
464
|
+
);
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### Parameters
|
|
468
|
+
|
|
469
|
+
|Name | Type | Description | Notes|
|
|
470
|
+
|------------- | ------------- | ------------- | -------------|
|
|
471
|
+
| **userId** | [**string**] | | defaults to undefined|
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
### Return type
|
|
475
|
+
|
|
476
|
+
**OwnershipEligibility**
|
|
477
|
+
|
|
478
|
+
### Authorization
|
|
479
|
+
|
|
480
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
481
|
+
|
|
482
|
+
### HTTP request headers
|
|
483
|
+
|
|
484
|
+
- **Content-Type**: Not defined
|
|
485
|
+
- **Accept**: */*
|
|
486
|
+
|
|
487
|
+
|
|
384
488
|
### HTTP response details
|
|
385
489
|
| Status code | Description | Response headers |
|
|
386
490
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# OwnershipEligibility
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**userStatus** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**consentBypass** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**allowed** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**refusal** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**recentSignIn** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**stepUpMaxAgeSeconds** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { OwnershipEligibility } from '@openfilz-sdk/typescript-ee';
|
|
20
|
+
|
|
21
|
+
const instance: OwnershipEligibility = {
|
|
22
|
+
userId,
|
|
23
|
+
userStatus,
|
|
24
|
+
consentBypass,
|
|
25
|
+
allowed,
|
|
26
|
+
refusal,
|
|
27
|
+
recentSignIn,
|
|
28
|
+
stepUpMaxAgeSeconds,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/models/index.ts
CHANGED
|
@@ -116,6 +116,7 @@ export * from './organize-request';
|
|
|
116
116
|
export * from './output-target';
|
|
117
117
|
export * from './owned-document';
|
|
118
118
|
export * from './owned-documents-filter';
|
|
119
|
+
export * from './ownership-eligibility';
|
|
119
120
|
export * from './ownership-transfer-report';
|
|
120
121
|
export * from './ownership-transfer-request';
|
|
121
122
|
export * from './page-instruction';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface OwnershipEligibility {
|
|
18
|
+
'userId'?: string;
|
|
19
|
+
'userStatus'?: string;
|
|
20
|
+
'consentBypass'?: string;
|
|
21
|
+
'allowed'?: boolean;
|
|
22
|
+
'refusal'?: string;
|
|
23
|
+
'recentSignIn'?: boolean;
|
|
24
|
+
'stepUpMaxAgeSeconds'?: number;
|
|
25
|
+
}
|
|
26
|
+
|