@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 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<{
@@ -15629,6 +15625,7 @@ declare const getDirectoryApiDefinitions: () => {
15629
15625
  list: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto[], any>>;
15630
15626
  self: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto, any>>;
15631
15627
  getByHandle: (handle: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicUserProfileDto | null, any>>;
15628
+ getById: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicUserProfileDto | null, any>>;
15632
15629
  update: (id: string, updateUserProfileDto: UpdateUserProfileDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto, any>>;
15633
15630
  }>;
15634
15631
  };
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<{
@@ -15629,6 +15625,7 @@ declare const getDirectoryApiDefinitions: () => {
15629
15625
  list: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto[], any>>;
15630
15626
  self: (options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto, any>>;
15631
15627
  getByHandle: (handle: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicUserProfileDto | null, any>>;
15628
+ getById: (id: string, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<PublicUserProfileDto | null, any>>;
15632
15629
  update: (id: string, updateUserProfileDto: UpdateUserProfileDto, options?: axios.AxiosRequestConfig<any> | undefined) => Promise<axios.AxiosResponse<UserProfileDto, any>>;
15633
15630
  }>;
15634
15631
  };
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
  };
@@ -13870,7 +13880,6 @@ var GrantAccessControllerParamsAccess = {
13870
13880
  member: "member",
13871
13881
  public_execute: "public_execute",
13872
13882
  public_read: "public_read",
13873
- public_write: "public_write",
13874
13883
  can_assign_members: "can_assign_members",
13875
13884
  can_assign_maintainers: "can_assign_maintainers",
13876
13885
  can_assign_owners: "can_assign_owners",
@@ -14210,7 +14219,6 @@ var ListAccessControllerGrantsDtoAccess = {
14210
14219
  member: "member",
14211
14220
  public_execute: "public_execute",
14212
14221
  public_read: "public_read",
14213
- public_write: "public_write",
14214
14222
  can_assign_members: "can_assign_members",
14215
14223
  can_assign_maintainers: "can_assign_maintainers",
14216
14224
  can_assign_owners: "can_assign_owners",
@@ -14351,7 +14359,6 @@ var ModifyAccessParamsDtoAccess = {
14351
14359
  member: "member",
14352
14360
  public_execute: "public_execute",
14353
14361
  public_read: "public_read",
14354
- public_write: "public_write",
14355
14362
  can_assign_members: "can_assign_members",
14356
14363
  can_assign_maintainers: "can_assign_maintainers",
14357
14364
  can_assign_owners: "can_assign_owners",
@@ -14672,7 +14679,6 @@ var RevokeAccessControllerParamsDtoAccess = {
14672
14679
  member: "member",
14673
14680
  public_execute: "public_execute",
14674
14681
  public_read: "public_read",
14675
- public_write: "public_write",
14676
14682
  can_assign_members: "can_assign_members",
14677
14683
  can_assign_maintainers: "can_assign_maintainers",
14678
14684
  can_assign_owners: "can_assign_owners",
@@ -14801,8 +14807,7 @@ var SelfAccountDtoType = {
14801
14807
  // src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccess.ts
14802
14808
  var ShareWithEveryoneControllerParamsDtoAccess = {
14803
14809
  public_execute: "public_execute",
14804
- public_read: "public_read",
14805
- public_write: "public_write"
14810
+ public_read: "public_read"
14806
14811
  };
14807
14812
 
14808
14813
  // src/autogenerated/schemas/sharedResourceDtoType.ts
@@ -16937,6 +16942,15 @@ var getUserProfiles = () => {
16937
16942
  options
16938
16943
  );
16939
16944
  };
16945
+ const getById = (id, options) => {
16946
+ return axiosMutator(
16947
+ {
16948
+ url: `/api/v1/user-profiles/${id}`,
16949
+ method: "GET"
16950
+ },
16951
+ options
16952
+ );
16953
+ };
16940
16954
  const updateUserProfile = (id, updateUserProfileDto, options) => {
16941
16955
  return axiosMutator(
16942
16956
  {
@@ -16948,7 +16962,7 @@ var getUserProfiles = () => {
16948
16962
  options
16949
16963
  );
16950
16964
  };
16951
- return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, updateUserProfile };
16965
+ return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, getById, updateUserProfile };
16952
16966
  };
16953
16967
 
16954
16968
  // src/sdk/api-definitions/user-profiles.ts
@@ -16959,6 +16973,7 @@ var useUserProfilesApi = () => {
16959
16973
  list: api.getUserProfiles,
16960
16974
  self: api.getSelfProfile,
16961
16975
  getByHandle: wrapApiCallNullable(api.getByHandle),
16976
+ getById: wrapApiCallNullable(api.getById),
16962
16977
  update: api.updateUserProfile
16963
16978
  });
16964
16979
  };