@hautechai/sdk 2.23.1 → 2.23.2
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -15262,7 +15262,7 @@ declare const apiDefinitions: {
|
|
|
15262
15262
|
grant: (id: string, grantAccessControllerParams: GrantAccessControllerParams, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15263
15263
|
revoke: (id: string, revokeAccessControllerParamsDto: RevokeAccessControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15264
15264
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15265
|
-
revokeFromEveryone: (id: string,
|
|
15265
|
+
revokeFromEveryone: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15266
15266
|
list: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListAccessControllerDto, any>>;
|
|
15267
15267
|
listShared: (params?: AccessControllerListSharedV1Params, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListSharedResourcesResponseDto, any>>;
|
|
15268
15268
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -15262,7 +15262,7 @@ declare const apiDefinitions: {
|
|
|
15262
15262
|
grant: (id: string, grantAccessControllerParams: GrantAccessControllerParams, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15263
15263
|
revoke: (id: string, revokeAccessControllerParamsDto: RevokeAccessControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15264
15264
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15265
|
-
revokeFromEveryone: (id: string,
|
|
15265
|
+
revokeFromEveryone: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15266
15266
|
list: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListAccessControllerDto, any>>;
|
|
15267
15267
|
listShared: (params?: AccessControllerListSharedV1Params, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListSharedResourcesResponseDto, any>>;
|
|
15268
15268
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -12716,13 +12716,11 @@ var getAccess = () => {
|
|
|
12716
12716
|
options
|
|
12717
12717
|
);
|
|
12718
12718
|
};
|
|
12719
|
-
const accessControllerRevokeAccessFromEveryoneV1 = (id,
|
|
12719
|
+
const accessControllerRevokeAccessFromEveryoneV1 = (id, options) => {
|
|
12720
12720
|
return axiosMutator(
|
|
12721
12721
|
{
|
|
12722
12722
|
url: `/v1/resources/${id}/access/revoke/everyone`,
|
|
12723
|
-
method: "POST"
|
|
12724
|
-
headers: { "Content-Type": "application/json" },
|
|
12725
|
-
data: shareWithEveryoneControllerParamsDto
|
|
12723
|
+
method: "POST"
|
|
12726
12724
|
},
|
|
12727
12725
|
options
|
|
12728
12726
|
);
|