@hautechai/sdk 2.23.2 → 2.25.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 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.js +23 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10584,6 +10584,15 @@ var getWorkflows = () => {
|
|
|
10584
10584
|
options
|
|
10585
10585
|
);
|
|
10586
10586
|
};
|
|
10587
|
+
const workflowsControllerRevokeWorkflowPublicAccessV1 = (id, options) => {
|
|
10588
|
+
return axiosMutator(
|
|
10589
|
+
{
|
|
10590
|
+
url: `/v1/workflows/${id}/revoke/public`,
|
|
10591
|
+
method: "POST"
|
|
10592
|
+
},
|
|
10593
|
+
options
|
|
10594
|
+
);
|
|
10595
|
+
};
|
|
10587
10596
|
const workflowsControllerGetWorkflowV1 = (id, options) => {
|
|
10588
10597
|
return axiosMutator(
|
|
10589
10598
|
{
|
|
@@ -10642,7 +10651,7 @@ var getWorkflows = () => {
|
|
|
10642
10651
|
options
|
|
10643
10652
|
);
|
|
10644
10653
|
};
|
|
10645
|
-
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
10654
|
+
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerRevokeWorkflowPublicAccessV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
10646
10655
|
};
|
|
10647
10656
|
|
|
10648
10657
|
// src/sdk/api-definitions/workflows.ts
|
|
@@ -10659,6 +10668,7 @@ var useWorkflowsApi = () => {
|
|
|
10659
10668
|
listPublic: hautechApi.workflowsControllerListPublicWorkflowsV1,
|
|
10660
10669
|
getPublic: hautechApi.workflowsControllerGetPublicWorkflowV1,
|
|
10661
10670
|
shareWithEveryone: hautechApi.workflowsControllerShareWorkflowWithEveryoneV1,
|
|
10671
|
+
revokePublicAccess: hautechApi.workflowsControllerRevokeWorkflowPublicAccessV1,
|
|
10662
10672
|
getStatistics: hautechApi.workflowsControllerGetSharedWorkflowStatisticsV1
|
|
10663
10673
|
});
|
|
10664
10674
|
};
|
|
@@ -13491,7 +13501,6 @@ var GrantAccessControllerParamsAccess = {
|
|
|
13491
13501
|
member: "member",
|
|
13492
13502
|
public_execute: "public_execute",
|
|
13493
13503
|
public_read: "public_read",
|
|
13494
|
-
public_write: "public_write",
|
|
13495
13504
|
can_assign_members: "can_assign_members",
|
|
13496
13505
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13497
13506
|
can_assign_owners: "can_assign_owners",
|
|
@@ -13831,7 +13840,6 @@ var ListAccessControllerGrantsDtoAccess = {
|
|
|
13831
13840
|
member: "member",
|
|
13832
13841
|
public_execute: "public_execute",
|
|
13833
13842
|
public_read: "public_read",
|
|
13834
|
-
public_write: "public_write",
|
|
13835
13843
|
can_assign_members: "can_assign_members",
|
|
13836
13844
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13837
13845
|
can_assign_owners: "can_assign_owners",
|
|
@@ -13972,7 +13980,6 @@ var ModifyAccessParamsDtoAccess = {
|
|
|
13972
13980
|
member: "member",
|
|
13973
13981
|
public_execute: "public_execute",
|
|
13974
13982
|
public_read: "public_read",
|
|
13975
|
-
public_write: "public_write",
|
|
13976
13983
|
can_assign_members: "can_assign_members",
|
|
13977
13984
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13978
13985
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14293,7 +14300,6 @@ var RevokeAccessControllerParamsDtoAccess = {
|
|
|
14293
14300
|
member: "member",
|
|
14294
14301
|
public_execute: "public_execute",
|
|
14295
14302
|
public_read: "public_read",
|
|
14296
|
-
public_write: "public_write",
|
|
14297
14303
|
can_assign_members: "can_assign_members",
|
|
14298
14304
|
can_assign_maintainers: "can_assign_maintainers",
|
|
14299
14305
|
can_assign_owners: "can_assign_owners",
|
|
@@ -14422,8 +14428,7 @@ var SelfAccountDtoType = {
|
|
|
14422
14428
|
// src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccess.ts
|
|
14423
14429
|
var ShareWithEveryoneControllerParamsDtoAccess = {
|
|
14424
14430
|
public_execute: "public_execute",
|
|
14425
|
-
public_read: "public_read"
|
|
14426
|
-
public_write: "public_write"
|
|
14431
|
+
public_read: "public_read"
|
|
14427
14432
|
};
|
|
14428
14433
|
|
|
14429
14434
|
// src/autogenerated/schemas/sharedResourceDtoType.ts
|
|
@@ -16558,6 +16563,15 @@ var getUserProfiles = () => {
|
|
|
16558
16563
|
options
|
|
16559
16564
|
);
|
|
16560
16565
|
};
|
|
16566
|
+
const getById = (id, options) => {
|
|
16567
|
+
return axiosMutator(
|
|
16568
|
+
{
|
|
16569
|
+
url: `/api/v1/user-profiles/${id}`,
|
|
16570
|
+
method: "GET"
|
|
16571
|
+
},
|
|
16572
|
+
options
|
|
16573
|
+
);
|
|
16574
|
+
};
|
|
16561
16575
|
const updateUserProfile = (id, updateUserProfileDto, options) => {
|
|
16562
16576
|
return axiosMutator(
|
|
16563
16577
|
{
|
|
@@ -16569,7 +16583,7 @@ var getUserProfiles = () => {
|
|
|
16569
16583
|
options
|
|
16570
16584
|
);
|
|
16571
16585
|
};
|
|
16572
|
-
return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, updateUserProfile };
|
|
16586
|
+
return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, getById, updateUserProfile };
|
|
16573
16587
|
};
|
|
16574
16588
|
|
|
16575
16589
|
// src/sdk/api-definitions/user-profiles.ts
|
|
@@ -16580,6 +16594,7 @@ var useUserProfilesApi = () => {
|
|
|
16580
16594
|
list: api.getUserProfiles,
|
|
16581
16595
|
self: api.getSelfProfile,
|
|
16582
16596
|
getByHandle: wrapApiCallNullable(api.getByHandle),
|
|
16597
|
+
getById: wrapApiCallNullable(api.getById),
|
|
16583
16598
|
update: api.updateUserProfile
|
|
16584
16599
|
});
|
|
16585
16600
|
};
|