@openfilz-sdk/typescript-ee 1.14.6 → 1.14.8

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.
Files changed (98) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +13 -2
  4. package/api/access-requests-api.ts +203 -0
  5. package/api/collaboration-controller-api.ts +79 -4
  6. package/api/comments-api.ts +152 -0
  7. package/api.ts +1 -0
  8. package/dist/api/access-requests-api.d.ts +100 -0
  9. package/dist/api/access-requests-api.js +202 -0
  10. package/dist/api/collaboration-controller-api.d.ts +37 -4
  11. package/dist/api/collaboration-controller-api.js +74 -4
  12. package/dist/api/comments-api.d.ts +67 -0
  13. package/dist/api/comments-api.js +140 -0
  14. package/dist/api.d.ts +1 -0
  15. package/dist/api.js +1 -0
  16. package/dist/esm/api/access-requests-api.d.ts +100 -0
  17. package/dist/esm/api/access-requests-api.js +195 -0
  18. package/dist/esm/api/collaboration-controller-api.d.ts +37 -4
  19. package/dist/esm/api/collaboration-controller-api.js +74 -4
  20. package/dist/esm/api/comments-api.d.ts +67 -0
  21. package/dist/esm/api/comments-api.js +140 -0
  22. package/dist/esm/api.d.ts +1 -0
  23. package/dist/esm/api.js +1 -0
  24. package/dist/esm/models/access-request-input.d.ts +31 -0
  25. package/dist/esm/models/access-request-input.js +18 -0
  26. package/dist/esm/models/access-request-status.d.ts +36 -0
  27. package/dist/esm/models/access-request-status.js +24 -0
  28. package/dist/esm/models/enriched-audit-log.d.ts +1 -0
  29. package/dist/esm/models/enriched-audit-log.js +1 -0
  30. package/dist/esm/models/index.d.ts +6 -0
  31. package/dist/esm/models/index.js +6 -0
  32. package/dist/esm/models/mention-access-item.d.ts +29 -0
  33. package/dist/esm/models/mention-access-item.js +21 -0
  34. package/dist/esm/models/mention-access-preview.d.ts +15 -0
  35. package/dist/esm/models/mention-access-preview.js +14 -0
  36. package/dist/esm/models/mention-access-request.d.ts +21 -0
  37. package/dist/esm/models/mention-access-request.js +14 -0
  38. package/dist/esm/models/notification-dto.d.ts +3 -0
  39. package/dist/esm/models/notification-dto.js +3 -0
  40. package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
  41. package/dist/esm/models/search-by-audit-log-request.js +1 -0
  42. package/dist/esm/models/share-expiry-request.d.ts +25 -0
  43. package/dist/esm/models/share-expiry-request.js +14 -0
  44. package/dist/esm/models/share-request.d.ts +4 -0
  45. package/dist/esm/models/share-result-error.d.ts +3 -0
  46. package/dist/esm/models/share-result-error.js +3 -0
  47. package/dist/esm/models/violation.d.ts +3 -0
  48. package/dist/esm/models/violation.js +3 -0
  49. package/dist/models/access-request-input.d.ts +31 -0
  50. package/dist/models/access-request-input.js +21 -0
  51. package/dist/models/access-request-status.d.ts +36 -0
  52. package/dist/models/access-request-status.js +27 -0
  53. package/dist/models/enriched-audit-log.d.ts +1 -0
  54. package/dist/models/enriched-audit-log.js +1 -0
  55. package/dist/models/index.d.ts +6 -0
  56. package/dist/models/index.js +6 -0
  57. package/dist/models/mention-access-item.d.ts +29 -0
  58. package/dist/models/mention-access-item.js +24 -0
  59. package/dist/models/mention-access-preview.d.ts +15 -0
  60. package/dist/models/mention-access-preview.js +15 -0
  61. package/dist/models/mention-access-request.d.ts +21 -0
  62. package/dist/models/mention-access-request.js +15 -0
  63. package/dist/models/notification-dto.d.ts +3 -0
  64. package/dist/models/notification-dto.js +3 -0
  65. package/dist/models/search-by-audit-log-request.d.ts +1 -0
  66. package/dist/models/search-by-audit-log-request.js +1 -0
  67. package/dist/models/share-expiry-request.d.ts +25 -0
  68. package/dist/models/share-expiry-request.js +15 -0
  69. package/dist/models/share-request.d.ts +4 -0
  70. package/dist/models/share-result-error.d.ts +3 -0
  71. package/dist/models/share-result-error.js +3 -0
  72. package/dist/models/violation.d.ts +3 -0
  73. package/dist/models/violation.js +3 -0
  74. package/docs/AccessRequestInput.md +24 -0
  75. package/docs/AccessRequestStatus.md +26 -0
  76. package/docs/AccessRequestsApi.md +112 -0
  77. package/docs/CollaborationControllerApi.md +57 -1
  78. package/docs/CommentsApi.md +106 -0
  79. package/docs/MentionAccessItem.md +32 -0
  80. package/docs/MentionAccessPreview.md +20 -0
  81. package/docs/MentionAccessRequest.md +22 -0
  82. package/docs/ShareExpiryRequest.md +24 -0
  83. package/docs/ShareRequest.md +2 -0
  84. package/graphql/share.graphqls +43 -2
  85. package/models/access-request-input.ts +40 -0
  86. package/models/access-request-status.ts +46 -0
  87. package/models/enriched-audit-log.ts +1 -0
  88. package/models/index.ts +6 -0
  89. package/models/mention-access-item.ts +38 -0
  90. package/models/mention-access-preview.ts +23 -0
  91. package/models/mention-access-request.ts +27 -0
  92. package/models/notification-dto.ts +3 -0
  93. package/models/search-by-audit-log-request.ts +1 -0
  94. package/models/share-expiry-request.ts +31 -0
  95. package/models/share-request.ts +4 -0
  96. package/models/share-result-error.ts +3 -0
  97. package/models/violation.ts +3 -0
  98. package/package.json +1 -1
@@ -105,7 +105,7 @@ const CollaborationControllerApiAxiosParamCreator = function (configuration) {
105
105
  };
106
106
  }),
107
107
  /**
108
- * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user
108
+ * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user Optional `expiresAt` (ISO-8601 instant): the recipients lose access on that date. A date that is not in the future is refused with 400.
109
109
  * @summary Create Share for document(s)
110
110
  * @param {ShareRequest} shareRequest
111
111
  * @param {*} [options] Override http request option.
@@ -434,6 +434,40 @@ const CollaborationControllerApiAxiosParamCreator = function (configuration) {
434
434
  options: localVarRequestOptions,
435
435
  };
436
436
  }),
437
+ /**
438
+ * Sets the end of access of existing shares, `expiresAt: null` = no end. Only on shares granted on the documents themselves, by their owner (or a SHARE_ADMIN). Returns 200 when all items are processed successfully, 207 otherwise. Error codes in response: - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user - SHARE_ERR_INHERITED_SHARE: The share comes from a folder: change the date on the folder - SHARE_ERR_OWNER_ONLY: Only the document\'s owner changes the end date - SHARE_ERR_DOCUMENT_NOT_FOUND: The caller cannot see this document
439
+ * @summary Set, change or remove the end date of share(s)
440
+ * @param {ShareExpiryRequest} shareExpiryRequest
441
+ * @param {*} [options] Override http request option.
442
+ * @throws {RequiredError}
443
+ */
444
+ updateShareExpiry: (shareExpiryRequest_1, ...args_1) => __awaiter(this, [shareExpiryRequest_1, ...args_1], void 0, function* (shareExpiryRequest, options = {}) {
445
+ // verify required parameter 'shareExpiryRequest' is not null or undefined
446
+ (0, common_1.assertParamExists)('updateShareExpiry', 'shareExpiryRequest', shareExpiryRequest);
447
+ const localVarPath = `/api/v1/users/share/expiry`;
448
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
449
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
450
+ let baseOptions;
451
+ if (configuration) {
452
+ baseOptions = configuration.baseOptions;
453
+ }
454
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
455
+ const localVarHeaderParameter = {};
456
+ const localVarQueryParameter = {};
457
+ // authentication keycloak_auth required
458
+ // http bearer authentication required
459
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
460
+ localVarHeaderParameter['Content-Type'] = 'application/json';
461
+ localVarHeaderParameter['Accept'] = '*/*';
462
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
463
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
464
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
465
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(shareExpiryRequest, localVarRequestOptions, configuration);
466
+ return {
467
+ url: (0, common_1.toPathString)(localVarUrlObj),
468
+ options: localVarRequestOptions,
469
+ };
470
+ }),
437
471
  /**
438
472
  * Updates existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
439
473
  * @summary Update Share for document(s)
@@ -585,7 +619,7 @@ const CollaborationControllerApiFp = function (configuration) {
585
619
  });
586
620
  },
587
621
  /**
588
- * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user
622
+ * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user Optional `expiresAt` (ISO-8601 instant): the recipients lose access on that date. A date that is not in the future is refused with 400.
589
623
  * @summary Create Share for document(s)
590
624
  * @param {ShareRequest} shareRequest
591
625
  * @param {*} [options] Override http request option.
@@ -744,6 +778,22 @@ const CollaborationControllerApiFp = function (configuration) {
744
778
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
745
779
  });
746
780
  },
781
+ /**
782
+ * Sets the end of access of existing shares, `expiresAt: null` = no end. Only on shares granted on the documents themselves, by their owner (or a SHARE_ADMIN). Returns 200 when all items are processed successfully, 207 otherwise. Error codes in response: - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user - SHARE_ERR_INHERITED_SHARE: The share comes from a folder: change the date on the folder - SHARE_ERR_OWNER_ONLY: Only the document\'s owner changes the end date - SHARE_ERR_DOCUMENT_NOT_FOUND: The caller cannot see this document
783
+ * @summary Set, change or remove the end date of share(s)
784
+ * @param {ShareExpiryRequest} shareExpiryRequest
785
+ * @param {*} [options] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ updateShareExpiry(shareExpiryRequest, options) {
789
+ return __awaiter(this, void 0, void 0, function* () {
790
+ var _a, _b, _c;
791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateShareExpiry(shareExpiryRequest, options);
792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
793
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollaborationControllerApi.updateShareExpiry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
794
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
795
+ });
796
+ },
747
797
  /**
748
798
  * Updates existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
749
799
  * @summary Update Share for document(s)
@@ -825,7 +875,7 @@ const CollaborationControllerApiFactory = function (configuration, basePath, axi
825
875
  return localVarFp.addTeamMembers(teamId, requestBody, options).then((request) => request(axios, basePath));
826
876
  },
827
877
  /**
828
- * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user
878
+ * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user Optional `expiresAt` (ISO-8601 instant): the recipients lose access on that date. A date that is not in the future is refused with 400.
829
879
  * @summary Create Share for document(s)
830
880
  * @param {ShareRequest} shareRequest
831
881
  * @param {*} [options] Override http request option.
@@ -924,6 +974,16 @@ const CollaborationControllerApiFactory = function (configuration, basePath, axi
924
974
  removeTeamMembers(teamId, requestBody, options) {
925
975
  return localVarFp.removeTeamMembers(teamId, requestBody, options).then((request) => request(axios, basePath));
926
976
  },
977
+ /**
978
+ * Sets the end of access of existing shares, `expiresAt: null` = no end. Only on shares granted on the documents themselves, by their owner (or a SHARE_ADMIN). Returns 200 when all items are processed successfully, 207 otherwise. Error codes in response: - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user - SHARE_ERR_INHERITED_SHARE: The share comes from a folder: change the date on the folder - SHARE_ERR_OWNER_ONLY: Only the document\'s owner changes the end date - SHARE_ERR_DOCUMENT_NOT_FOUND: The caller cannot see this document
979
+ * @summary Set, change or remove the end date of share(s)
980
+ * @param {ShareExpiryRequest} shareExpiryRequest
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ */
984
+ updateShareExpiry(shareExpiryRequest, options) {
985
+ return localVarFp.updateShareExpiry(shareExpiryRequest, options).then((request) => request(axios, basePath));
986
+ },
927
987
  /**
928
988
  * Updates existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
929
989
  * @summary Update Share for document(s)
@@ -985,7 +1045,7 @@ class CollaborationControllerApi extends base_1.BaseAPI {
985
1045
  return (0, exports.CollaborationControllerApiFp)(this.configuration).addTeamMembers(teamId, requestBody, options).then((request) => request(this.axios, this.basePath));
986
1046
  }
987
1047
  /**
988
- * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user
1048
+ * Creates new Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_ALREADY_EXISTS: A share already exists for this document and user Optional `expiresAt` (ISO-8601 instant): the recipients lose access on that date. A date that is not in the future is refused with 400.
989
1049
  * @summary Create Share for document(s)
990
1050
  * @param {ShareRequest} shareRequest
991
1051
  * @param {*} [options] Override http request option.
@@ -1084,6 +1144,16 @@ class CollaborationControllerApi extends base_1.BaseAPI {
1084
1144
  removeTeamMembers(teamId, requestBody, options) {
1085
1145
  return (0, exports.CollaborationControllerApiFp)(this.configuration).removeTeamMembers(teamId, requestBody, options).then((request) => request(this.axios, this.basePath));
1086
1146
  }
1147
+ /**
1148
+ * Sets the end of access of existing shares, `expiresAt: null` = no end. Only on shares granted on the documents themselves, by their owner (or a SHARE_ADMIN). Returns 200 when all items are processed successfully, 207 otherwise. Error codes in response: - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user - SHARE_ERR_INHERITED_SHARE: The share comes from a folder: change the date on the folder - SHARE_ERR_OWNER_ONLY: Only the document\'s owner changes the end date - SHARE_ERR_DOCUMENT_NOT_FOUND: The caller cannot see this document
1149
+ * @summary Set, change or remove the end date of share(s)
1150
+ * @param {ShareExpiryRequest} shareExpiryRequest
1151
+ * @param {*} [options] Override http request option.
1152
+ * @throws {RequiredError}
1153
+ */
1154
+ updateShareExpiry(shareExpiryRequest, options) {
1155
+ return (0, exports.CollaborationControllerApiFp)(this.configuration).updateShareExpiry(shareExpiryRequest, options).then((request) => request(this.axios, this.basePath));
1156
+ }
1087
1157
  /**
1088
1158
  * Updates existing Shared document(s) with users. Returns 200 when all items are processed successfully. Returns 207 when there is a mix of successes, share requests, and/or errors. Error codes in response: - SHARE_ERR_USER_DEACTIVATED: Cannot share with a deactivated user in read-only mode - SHARE_ERR_USER_NOT_LICENSED: User must have a license to be shared with in editor or commenter mode - SHARE_ERR_PARENT_AND_CHILD: A folder and its children cannot both be in the share list - SHARE_ERR_NOT_ALREADY_SHARED: No existing share found for this document and user
1089
1159
  * @summary Update Share for document(s)
@@ -14,6 +14,9 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CommentDTO } from '../models';
16
16
  import type { CreateCommentRequest } from '../models';
17
+ import type { MentionAccessPreview } from '../models';
18
+ import type { MentionAccessRequest } from '../models';
19
+ import type { ShareResultResponse } from '../models';
17
20
  import type { UpdateCommentRequest } from '../models';
18
21
  /**
19
22
  * CommentsApi - axios parameter creator
@@ -35,6 +38,22 @@ export declare const CommentsApiAxiosParamCreator: (configuration?: Configuratio
35
38
  * @throws {RequiredError}
36
39
  */
37
40
  deleteComment: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
43
+ * @summary Give mentioned users comment access
44
+ * @param {MentionAccessRequest} mentionAccessRequest
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ grantMentionAccess: (mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
51
+ * @summary Preview comment access for mentioned users
52
+ * @param {MentionAccessRequest} mentionAccessRequest
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ previewMentionAccess: (mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
57
  /**
39
58
  * Update an existing comment. Only the comment creator can update their comment.
40
59
  * @summary Update a comment
@@ -65,6 +84,22 @@ export declare const CommentsApiFp: (configuration?: Configuration) => {
65
84
  * @throws {RequiredError}
66
85
  */
67
86
  deleteComment(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
87
+ /**
88
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
89
+ * @summary Give mentioned users comment access
90
+ * @param {MentionAccessRequest} mentionAccessRequest
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ grantMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareResultResponse>>;
95
+ /**
96
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
97
+ * @summary Preview comment access for mentioned users
98
+ * @param {MentionAccessRequest} mentionAccessRequest
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ previewMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MentionAccessPreview>>;
68
103
  /**
69
104
  * Update an existing comment. Only the comment creator can update their comment.
70
105
  * @summary Update a comment
@@ -95,6 +130,22 @@ export declare const CommentsApiFactory: (configuration?: Configuration, basePat
95
130
  * @throws {RequiredError}
96
131
  */
97
132
  deleteComment(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
133
+ /**
134
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
135
+ * @summary Give mentioned users comment access
136
+ * @param {MentionAccessRequest} mentionAccessRequest
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ grantMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShareResultResponse>;
141
+ /**
142
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
143
+ * @summary Preview comment access for mentioned users
144
+ * @param {MentionAccessRequest} mentionAccessRequest
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ previewMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<MentionAccessPreview>;
98
149
  /**
99
150
  * Update an existing comment. Only the comment creator can update their comment.
100
151
  * @summary Update a comment
@@ -125,6 +176,22 @@ export declare class CommentsApi extends BaseAPI {
125
176
  * @throws {RequiredError}
126
177
  */
127
178
  deleteComment(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
179
+ /**
180
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
181
+ * @summary Give mentioned users comment access
182
+ * @param {MentionAccessRequest} mentionAccessRequest
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ grantMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResultResponse, any, {}, any>>;
187
+ /**
188
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
189
+ * @summary Preview comment access for mentioned users
190
+ * @param {MentionAccessRequest} mentionAccessRequest
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ previewMentionAccess(mentionAccessRequest: MentionAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MentionAccessPreview, any, {}, any>>;
128
195
  /**
129
196
  * Update an existing comment. Only the comment creator can update their comment.
130
197
  * @summary Update a comment
@@ -100,6 +100,74 @@ const CommentsApiAxiosParamCreator = function (configuration) {
100
100
  options: localVarRequestOptions,
101
101
  };
102
102
  }),
103
+ /**
104
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
105
+ * @summary Give mentioned users comment access
106
+ * @param {MentionAccessRequest} mentionAccessRequest
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ grantMentionAccess: (mentionAccessRequest_1, ...args_1) => __awaiter(this, [mentionAccessRequest_1, ...args_1], void 0, function* (mentionAccessRequest, options = {}) {
111
+ // verify required parameter 'mentionAccessRequest' is not null or undefined
112
+ (0, common_1.assertParamExists)('grantMentionAccess', 'mentionAccessRequest', mentionAccessRequest);
113
+ const localVarPath = `/api/v1/documents/comments/mention-access/grant`;
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: 'POST' }, 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['Content-Type'] = 'application/json';
127
+ localVarHeaderParameter['Accept'] = 'application/json';
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mentionAccessRequest, localVarRequestOptions, configuration);
132
+ return {
133
+ url: (0, common_1.toPathString)(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
137
+ /**
138
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
139
+ * @summary Preview comment access for mentioned users
140
+ * @param {MentionAccessRequest} mentionAccessRequest
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ previewMentionAccess: (mentionAccessRequest_1, ...args_1) => __awaiter(this, [mentionAccessRequest_1, ...args_1], void 0, function* (mentionAccessRequest, options = {}) {
145
+ // verify required parameter 'mentionAccessRequest' is not null or undefined
146
+ (0, common_1.assertParamExists)('previewMentionAccess', 'mentionAccessRequest', mentionAccessRequest);
147
+ const localVarPath = `/api/v1/documents/comments/mention-access`;
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
155
+ const localVarHeaderParameter = {};
156
+ const localVarQueryParameter = {};
157
+ // authentication keycloak_auth required
158
+ // http bearer authentication required
159
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
160
+ localVarHeaderParameter['Content-Type'] = 'application/json';
161
+ localVarHeaderParameter['Accept'] = 'application/json';
162
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
163
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
164
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
165
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mentionAccessRequest, localVarRequestOptions, configuration);
166
+ return {
167
+ url: (0, common_1.toPathString)(localVarUrlObj),
168
+ options: localVarRequestOptions,
169
+ };
170
+ }),
103
171
  /**
104
172
  * Update an existing comment. Only the comment creator can update their comment.
105
173
  * @summary Update a comment
@@ -179,6 +247,38 @@ const CommentsApiFp = function (configuration) {
179
247
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
180
248
  });
181
249
  },
250
+ /**
251
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
252
+ * @summary Give mentioned users comment access
253
+ * @param {MentionAccessRequest} mentionAccessRequest
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ */
257
+ grantMentionAccess(mentionAccessRequest, options) {
258
+ return __awaiter(this, void 0, void 0, function* () {
259
+ var _a, _b, _c;
260
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.grantMentionAccess(mentionAccessRequest, options);
261
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
262
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommentsApi.grantMentionAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
263
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
264
+ });
265
+ },
266
+ /**
267
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
268
+ * @summary Preview comment access for mentioned users
269
+ * @param {MentionAccessRequest} mentionAccessRequest
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ previewMentionAccess(mentionAccessRequest, options) {
274
+ return __awaiter(this, void 0, void 0, function* () {
275
+ var _a, _b, _c;
276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.previewMentionAccess(mentionAccessRequest, options);
277
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
278
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommentsApi.previewMentionAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
279
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
280
+ });
281
+ },
182
282
  /**
183
283
  * Update an existing comment. Only the comment creator can update their comment.
184
284
  * @summary Update a comment
@@ -225,6 +325,26 @@ const CommentsApiFactory = function (configuration, basePath, axios) {
225
325
  deleteComment(id, options) {
226
326
  return localVarFp.deleteComment(id, options).then((request) => request(axios, basePath));
227
327
  },
328
+ /**
329
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
330
+ * @summary Give mentioned users comment access
331
+ * @param {MentionAccessRequest} mentionAccessRequest
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ grantMentionAccess(mentionAccessRequest, options) {
336
+ return localVarFp.grantMentionAccess(mentionAccessRequest, options).then((request) => request(axios, basePath));
337
+ },
338
+ /**
339
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
340
+ * @summary Preview comment access for mentioned users
341
+ * @param {MentionAccessRequest} mentionAccessRequest
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ previewMentionAccess(mentionAccessRequest, options) {
346
+ return localVarFp.previewMentionAccess(mentionAccessRequest, options).then((request) => request(axios, basePath));
347
+ },
228
348
  /**
229
349
  * Update an existing comment. Only the comment creator can update their comment.
230
350
  * @summary Update a comment
@@ -263,6 +383,26 @@ class CommentsApi extends base_1.BaseAPI {
263
383
  deleteComment(id, options) {
264
384
  return (0, exports.CommentsApiFp)(this.configuration).deleteComment(id, options).then((request) => request(this.axios, this.basePath));
265
385
  }
386
+ /**
387
+ * Does what the preview lists: silent COMMENTER shares on the documents the caller manages, share requests to the owner on the others. Call it before saving the comment so the mentioned users are notified.
388
+ * @summary Give mentioned users comment access
389
+ * @param {MentionAccessRequest} mentionAccessRequest
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ */
393
+ grantMentionAccess(mentionAccessRequest, options) {
394
+ return (0, exports.CommentsApiFp)(this.configuration).grantMentionAccess(mentionAccessRequest, options).then((request) => request(this.axios, this.basePath));
395
+ }
396
+ /**
397
+ * Lists the mentioned users who cannot comment on the documents yet and what giving them access takes: a COMMENTER share (or READER → COMMENTER) on a document the caller manages, a share request to the owner on the others. Changes nothing.
398
+ * @summary Preview comment access for mentioned users
399
+ * @param {MentionAccessRequest} mentionAccessRequest
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ previewMentionAccess(mentionAccessRequest, options) {
404
+ return (0, exports.CommentsApiFp)(this.configuration).previewMentionAccess(mentionAccessRequest, options).then((request) => request(this.axios, this.basePath));
405
+ }
266
406
  /**
267
407
  * Update an existing comment. Only the comment creator can update their comment.
268
408
  * @summary Update a comment
package/dist/api.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from './api/aimaintenance-api';
18
18
  export * from './api/aisettings-api';
19
19
  export * from './api/aitaxonomy-api';
20
20
  export * from './api/aiteam-inboxes-api';
21
+ export * from './api/access-requests-api';
21
22
  export * from './api/ai-analytics-admin-controller-api';
22
23
  export * from './api/ai-archiving-admin-controller-api';
23
24
  export * from './api/ai-cloud-usage-admin-controller-api';
package/dist/api.js CHANGED
@@ -36,6 +36,7 @@ __exportStar(require("./api/aimaintenance-api"), exports);
36
36
  __exportStar(require("./api/aisettings-api"), exports);
37
37
  __exportStar(require("./api/aitaxonomy-api"), exports);
38
38
  __exportStar(require("./api/aiteam-inboxes-api"), exports);
39
+ __exportStar(require("./api/access-requests-api"), exports);
39
40
  __exportStar(require("./api/ai-analytics-admin-controller-api"), exports);
40
41
  __exportStar(require("./api/ai-archiving-admin-controller-api"), exports);
41
42
  __exportStar(require("./api/ai-cloud-usage-admin-controller-api"), exports);
@@ -0,0 +1,100 @@
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 { AccessRequestInput } from '../models';
16
+ import type { AccessRequestStatus } from '../models';
17
+ /**
18
+ * AccessRequestsApi - axios parameter creator
19
+ */
20
+ export declare const AccessRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * HAS_ACCESS, PENDING (asked, not answered), NO_ACCESS, or OWNER_CANNOT_SHARE (the owner may not share documents, so a request would reach nobody). 404 when the document does not exist or is in the recycle bin; never returns its name or owner. 429 past the hourly limit.
23
+ * @summary Can I open this document, or ask for it?
24
+ * @param {string} documentId
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ myAccessToDocument: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ * Creates a share request to the owner, who answers it on Share requests (bell + e-mail). Asking again for the same access within a day does not notify the owner again. 404 no such document; 409 ACCESS_ALREADY_GRANTED, OWNER_CANNOT_SHARE, or a SHARE_ERR_* code when the owner could not grant it (licence for the mode, sharing policy); 429 ACCESS_REQUEST_RATE_LIMITED.
31
+ * @summary Ask the owner for access
32
+ * @param {AccessRequestInput} accessRequestInput
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ requestAccess: (accessRequestInput: AccessRequestInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ };
38
+ /**
39
+ * AccessRequestsApi - functional programming interface
40
+ */
41
+ export declare const AccessRequestsApiFp: (configuration?: Configuration) => {
42
+ /**
43
+ * HAS_ACCESS, PENDING (asked, not answered), NO_ACCESS, or OWNER_CANNOT_SHARE (the owner may not share documents, so a request would reach nobody). 404 when the document does not exist or is in the recycle bin; never returns its name or owner. 429 past the hourly limit.
44
+ * @summary Can I open this document, or ask for it?
45
+ * @param {string} documentId
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ myAccessToDocument(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestStatus>>;
50
+ /**
51
+ * Creates a share request to the owner, who answers it on Share requests (bell + e-mail). Asking again for the same access within a day does not notify the owner again. 404 no such document; 409 ACCESS_ALREADY_GRANTED, OWNER_CANNOT_SHARE, or a SHARE_ERR_* code when the owner could not grant it (licence for the mode, sharing policy); 429 ACCESS_REQUEST_RATE_LIMITED.
52
+ * @summary Ask the owner for access
53
+ * @param {AccessRequestInput} accessRequestInput
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ requestAccess(accessRequestInput: AccessRequestInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestStatus>>;
58
+ };
59
+ /**
60
+ * AccessRequestsApi - factory interface
61
+ */
62
+ export declare const AccessRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
+ /**
64
+ * HAS_ACCESS, PENDING (asked, not answered), NO_ACCESS, or OWNER_CANNOT_SHARE (the owner may not share documents, so a request would reach nobody). 404 when the document does not exist or is in the recycle bin; never returns its name or owner. 429 past the hourly limit.
65
+ * @summary Can I open this document, or ask for it?
66
+ * @param {string} documentId
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ myAccessToDocument(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AccessRequestStatus>;
71
+ /**
72
+ * Creates a share request to the owner, who answers it on Share requests (bell + e-mail). Asking again for the same access within a day does not notify the owner again. 404 no such document; 409 ACCESS_ALREADY_GRANTED, OWNER_CANNOT_SHARE, or a SHARE_ERR_* code when the owner could not grant it (licence for the mode, sharing policy); 429 ACCESS_REQUEST_RATE_LIMITED.
73
+ * @summary Ask the owner for access
74
+ * @param {AccessRequestInput} accessRequestInput
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ requestAccess(accessRequestInput: AccessRequestInput, options?: RawAxiosRequestConfig): AxiosPromise<AccessRequestStatus>;
79
+ };
80
+ /**
81
+ * AccessRequestsApi - object-oriented interface
82
+ */
83
+ export declare class AccessRequestsApi extends BaseAPI {
84
+ /**
85
+ * HAS_ACCESS, PENDING (asked, not answered), NO_ACCESS, or OWNER_CANNOT_SHARE (the owner may not share documents, so a request would reach nobody). 404 when the document does not exist or is in the recycle bin; never returns its name or owner. 429 past the hourly limit.
86
+ * @summary Can I open this document, or ask for it?
87
+ * @param {string} documentId
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ myAccessToDocument(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessRequestStatus, any, {}, any>>;
92
+ /**
93
+ * Creates a share request to the owner, who answers it on Share requests (bell + e-mail). Asking again for the same access within a day does not notify the owner again. 404 no such document; 409 ACCESS_ALREADY_GRANTED, OWNER_CANNOT_SHARE, or a SHARE_ERR_* code when the owner could not grant it (licence for the mode, sharing policy); 429 ACCESS_REQUEST_RATE_LIMITED.
94
+ * @summary Ask the owner for access
95
+ * @param {AccessRequestInput} accessRequestInput
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ requestAccess(accessRequestInput: AccessRequestInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessRequestStatus, any, {}, any>>;
100
+ }