@hautechai/sdk 2.23.1 → 2.24.0
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 +2 -6
- package/dist/index.d.ts +2 -6
- package/dist/index.js +14 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6969,7 +6969,6 @@ declare const GrantAccessControllerParamsAccess: {
|
|
|
6969
6969
|
readonly member: "member";
|
|
6970
6970
|
readonly public_execute: "public_execute";
|
|
6971
6971
|
readonly public_read: "public_read";
|
|
6972
|
-
readonly public_write: "public_write";
|
|
6973
6972
|
readonly can_assign_members: "can_assign_members";
|
|
6974
6973
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
6975
6974
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -9359,7 +9358,6 @@ declare const ListAccessControllerGrantsDtoAccess: {
|
|
|
9359
9358
|
readonly member: "member";
|
|
9360
9359
|
readonly public_execute: "public_execute";
|
|
9361
9360
|
readonly public_read: "public_read";
|
|
9362
|
-
readonly public_write: "public_write";
|
|
9363
9361
|
readonly can_assign_members: "can_assign_members";
|
|
9364
9362
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
9365
9363
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -10479,7 +10477,6 @@ declare const ModifyAccessParamsDtoAccess: {
|
|
|
10479
10477
|
readonly member: "member";
|
|
10480
10478
|
readonly public_execute: "public_execute";
|
|
10481
10479
|
readonly public_read: "public_read";
|
|
10482
|
-
readonly public_write: "public_write";
|
|
10483
10480
|
readonly can_assign_members: "can_assign_members";
|
|
10484
10481
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
10485
10482
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -12026,7 +12023,6 @@ declare const RevokeAccessControllerParamsDtoAccess: {
|
|
|
12026
12023
|
readonly member: "member";
|
|
12027
12024
|
readonly public_execute: "public_execute";
|
|
12028
12025
|
readonly public_read: "public_read";
|
|
12029
|
-
readonly public_write: "public_write";
|
|
12030
12026
|
readonly can_assign_members: "can_assign_members";
|
|
12031
12027
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
12032
12028
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -12901,7 +12897,6 @@ type ShareWithEveryoneControllerParamsDtoAccess = typeof ShareWithEveryoneContro
|
|
|
12901
12897
|
declare const ShareWithEveryoneControllerParamsDtoAccess: {
|
|
12902
12898
|
readonly public_execute: "public_execute";
|
|
12903
12899
|
readonly public_read: "public_read";
|
|
12904
|
-
readonly public_write: "public_write";
|
|
12905
12900
|
};
|
|
12906
12901
|
|
|
12907
12902
|
/**
|
|
@@ -15019,6 +15014,7 @@ declare const apiDefinitions: {
|
|
|
15019
15014
|
listPublic: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicWorkflowSummaryDto[], any>>;
|
|
15020
15015
|
getPublic: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicWorkflowDto, any>>;
|
|
15021
15016
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowDto, any>>;
|
|
15017
|
+
revokePublicAccess: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowDto, any>>;
|
|
15022
15018
|
getStatistics: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowStatisticsDto, any>>;
|
|
15023
15019
|
}>;
|
|
15024
15020
|
storage: ApiDefinitionTree<{
|
|
@@ -15262,7 +15258,7 @@ declare const apiDefinitions: {
|
|
|
15262
15258
|
grant: (id: string, grantAccessControllerParams: GrantAccessControllerParams, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15263
15259
|
revoke: (id: string, revokeAccessControllerParamsDto: RevokeAccessControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15264
15260
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15265
|
-
revokeFromEveryone: (id: string,
|
|
15261
|
+
revokeFromEveryone: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15266
15262
|
list: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListAccessControllerDto, any>>;
|
|
15267
15263
|
listShared: (params?: AccessControllerListSharedV1Params, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListSharedResourcesResponseDto, any>>;
|
|
15268
15264
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -6969,7 +6969,6 @@ declare const GrantAccessControllerParamsAccess: {
|
|
|
6969
6969
|
readonly member: "member";
|
|
6970
6970
|
readonly public_execute: "public_execute";
|
|
6971
6971
|
readonly public_read: "public_read";
|
|
6972
|
-
readonly public_write: "public_write";
|
|
6973
6972
|
readonly can_assign_members: "can_assign_members";
|
|
6974
6973
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
6975
6974
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -9359,7 +9358,6 @@ declare const ListAccessControllerGrantsDtoAccess: {
|
|
|
9359
9358
|
readonly member: "member";
|
|
9360
9359
|
readonly public_execute: "public_execute";
|
|
9361
9360
|
readonly public_read: "public_read";
|
|
9362
|
-
readonly public_write: "public_write";
|
|
9363
9361
|
readonly can_assign_members: "can_assign_members";
|
|
9364
9362
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
9365
9363
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -10479,7 +10477,6 @@ declare const ModifyAccessParamsDtoAccess: {
|
|
|
10479
10477
|
readonly member: "member";
|
|
10480
10478
|
readonly public_execute: "public_execute";
|
|
10481
10479
|
readonly public_read: "public_read";
|
|
10482
|
-
readonly public_write: "public_write";
|
|
10483
10480
|
readonly can_assign_members: "can_assign_members";
|
|
10484
10481
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
10485
10482
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -12026,7 +12023,6 @@ declare const RevokeAccessControllerParamsDtoAccess: {
|
|
|
12026
12023
|
readonly member: "member";
|
|
12027
12024
|
readonly public_execute: "public_execute";
|
|
12028
12025
|
readonly public_read: "public_read";
|
|
12029
|
-
readonly public_write: "public_write";
|
|
12030
12026
|
readonly can_assign_members: "can_assign_members";
|
|
12031
12027
|
readonly can_assign_maintainers: "can_assign_maintainers";
|
|
12032
12028
|
readonly can_assign_owners: "can_assign_owners";
|
|
@@ -12901,7 +12897,6 @@ type ShareWithEveryoneControllerParamsDtoAccess = typeof ShareWithEveryoneContro
|
|
|
12901
12897
|
declare const ShareWithEveryoneControllerParamsDtoAccess: {
|
|
12902
12898
|
readonly public_execute: "public_execute";
|
|
12903
12899
|
readonly public_read: "public_read";
|
|
12904
|
-
readonly public_write: "public_write";
|
|
12905
12900
|
};
|
|
12906
12901
|
|
|
12907
12902
|
/**
|
|
@@ -15019,6 +15014,7 @@ declare const apiDefinitions: {
|
|
|
15019
15014
|
listPublic: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicWorkflowSummaryDto[], any>>;
|
|
15020
15015
|
getPublic: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicWorkflowDto, any>>;
|
|
15021
15016
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowDto, any>>;
|
|
15017
|
+
revokePublicAccess: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowDto, any>>;
|
|
15022
15018
|
getStatistics: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<WorkflowStatisticsDto, any>>;
|
|
15023
15019
|
}>;
|
|
15024
15020
|
storage: ApiDefinitionTree<{
|
|
@@ -15262,7 +15258,7 @@ declare const apiDefinitions: {
|
|
|
15262
15258
|
grant: (id: string, grantAccessControllerParams: GrantAccessControllerParams, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15263
15259
|
revoke: (id: string, revokeAccessControllerParamsDto: RevokeAccessControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15264
15260
|
shareWithEveryone: (id: string, shareWithEveryoneControllerParamsDto: ShareWithEveryoneControllerParamsDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15265
|
-
revokeFromEveryone: (id: string,
|
|
15261
|
+
revokeFromEveryone: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
15266
15262
|
list: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListAccessControllerDto, any>>;
|
|
15267
15263
|
listShared: (params?: AccessControllerListSharedV1Params, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<ListSharedResourcesResponseDto, any>>;
|
|
15268
15264
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -10963,6 +10963,15 @@ var getWorkflows = () => {
|
|
|
10963
10963
|
options
|
|
10964
10964
|
);
|
|
10965
10965
|
};
|
|
10966
|
+
const workflowsControllerRevokeWorkflowPublicAccessV1 = (id, options) => {
|
|
10967
|
+
return axiosMutator(
|
|
10968
|
+
{
|
|
10969
|
+
url: `/v1/workflows/${id}/revoke/public`,
|
|
10970
|
+
method: "POST"
|
|
10971
|
+
},
|
|
10972
|
+
options
|
|
10973
|
+
);
|
|
10974
|
+
};
|
|
10966
10975
|
const workflowsControllerGetWorkflowV1 = (id, options) => {
|
|
10967
10976
|
return axiosMutator(
|
|
10968
10977
|
{
|
|
@@ -11021,7 +11030,7 @@ var getWorkflows = () => {
|
|
|
11021
11030
|
options
|
|
11022
11031
|
);
|
|
11023
11032
|
};
|
|
11024
|
-
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
11033
|
+
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerRevokeWorkflowPublicAccessV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
11025
11034
|
};
|
|
11026
11035
|
|
|
11027
11036
|
// src/sdk/api-definitions/workflows.ts
|
|
@@ -11038,6 +11047,7 @@ var useWorkflowsApi = () => {
|
|
|
11038
11047
|
listPublic: hautechApi.workflowsControllerListPublicWorkflowsV1,
|
|
11039
11048
|
getPublic: hautechApi.workflowsControllerGetPublicWorkflowV1,
|
|
11040
11049
|
shareWithEveryone: hautechApi.workflowsControllerShareWorkflowWithEveryoneV1,
|
|
11050
|
+
revokePublicAccess: hautechApi.workflowsControllerRevokeWorkflowPublicAccessV1,
|
|
11041
11051
|
getStatistics: hautechApi.workflowsControllerGetSharedWorkflowStatisticsV1
|
|
11042
11052
|
});
|
|
11043
11053
|
};
|
|
@@ -12716,13 +12726,11 @@ var getAccess = () => {
|
|
|
12716
12726
|
options
|
|
12717
12727
|
);
|
|
12718
12728
|
};
|
|
12719
|
-
const accessControllerRevokeAccessFromEveryoneV1 = (id,
|
|
12729
|
+
const accessControllerRevokeAccessFromEveryoneV1 = (id, options) => {
|
|
12720
12730
|
return axiosMutator(
|
|
12721
12731
|
{
|
|
12722
12732
|
url: `/v1/resources/${id}/access/revoke/everyone`,
|
|
12723
|
-
method: "POST"
|
|
12724
|
-
headers: { "Content-Type": "application/json" },
|
|
12725
|
-
data: shareWithEveryoneControllerParamsDto
|
|
12733
|
+
method: "POST"
|
|
12726
12734
|
},
|
|
12727
12735
|
options
|
|
12728
12736
|
);
|
|
@@ -13872,7 +13880,6 @@ var GrantAccessControllerParamsAccess = {
|
|
|
13872
13880
|
member: "member",
|
|
13873
13881
|
public_execute: "public_execute",
|
|
13874
13882
|
public_read: "public_read",
|
|
13875
|
-
public_write: "public_write",
|
|
13876
13883
|
can_assign_members: "can_assign_members",
|
|
13877
13884
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13878
13885
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14212,7 +14219,6 @@ var ListAccessControllerGrantsDtoAccess = {
|
|
|
14212
14219
|
member: "member",
|
|
14213
14220
|
public_execute: "public_execute",
|
|
14214
14221
|
public_read: "public_read",
|
|
14215
|
-
public_write: "public_write",
|
|
14216
14222
|
can_assign_members: "can_assign_members",
|
|
14217
14223
|
can_assign_maintainers: "can_assign_maintainers",
|
|
14218
14224
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14353,7 +14359,6 @@ var ModifyAccessParamsDtoAccess = {
|
|
|
14353
14359
|
member: "member",
|
|
14354
14360
|
public_execute: "public_execute",
|
|
14355
14361
|
public_read: "public_read",
|
|
14356
|
-
public_write: "public_write",
|
|
14357
14362
|
can_assign_members: "can_assign_members",
|
|
14358
14363
|
can_assign_maintainers: "can_assign_maintainers",
|
|
14359
14364
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14674,7 +14679,6 @@ var RevokeAccessControllerParamsDtoAccess = {
|
|
|
14674
14679
|
member: "member",
|
|
14675
14680
|
public_execute: "public_execute",
|
|
14676
14681
|
public_read: "public_read",
|
|
14677
|
-
public_write: "public_write",
|
|
14678
14682
|
can_assign_members: "can_assign_members",
|
|
14679
14683
|
can_assign_maintainers: "can_assign_maintainers",
|
|
14680
14684
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14803,8 +14807,7 @@ var SelfAccountDtoType = {
|
|
|
14803
14807
|
// src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccess.ts
|
|
14804
14808
|
var ShareWithEveryoneControllerParamsDtoAccess = {
|
|
14805
14809
|
public_execute: "public_execute",
|
|
14806
|
-
public_read: "public_read"
|
|
14807
|
-
public_write: "public_write"
|
|
14810
|
+
public_read: "public_read"
|
|
14808
14811
|
};
|
|
14809
14812
|
|
|
14810
14813
|
// src/autogenerated/schemas/sharedResourceDtoType.ts
|