@hautechai/sdk 2.29.1 → 2.30.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 +104 -8
- package/dist/index.d.ts +104 -8
- package/dist/index.js +79 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +76 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12377,6 +12377,24 @@ var getAccess = () => {
|
|
|
12377
12377
|
options
|
|
12378
12378
|
);
|
|
12379
12379
|
};
|
|
12380
|
+
const accessControllerCurrentAccessV1 = (id, options) => {
|
|
12381
|
+
return axiosMutator(
|
|
12382
|
+
{
|
|
12383
|
+
url: `/v1/resources/${id}/access/self`,
|
|
12384
|
+
method: "GET"
|
|
12385
|
+
},
|
|
12386
|
+
options
|
|
12387
|
+
);
|
|
12388
|
+
};
|
|
12389
|
+
const accessControllerListSharedUsersV1 = (id, options) => {
|
|
12390
|
+
return axiosMutator(
|
|
12391
|
+
{
|
|
12392
|
+
url: `/v1/resources/${id}/access/shared`,
|
|
12393
|
+
method: "GET"
|
|
12394
|
+
},
|
|
12395
|
+
options
|
|
12396
|
+
);
|
|
12397
|
+
};
|
|
12380
12398
|
const accessControllerListSharedV1 = (params, options) => {
|
|
12381
12399
|
return axiosMutator(
|
|
12382
12400
|
{
|
|
@@ -12387,7 +12405,7 @@ var getAccess = () => {
|
|
|
12387
12405
|
options
|
|
12388
12406
|
);
|
|
12389
12407
|
};
|
|
12390
|
-
return { accessControllerGrantAccessV1, accessControllerRevokeAccessV1, accessControllerAttachAccessV1, accessControllerDetachAccessV1, accessControllerGrantAccessToEveryoneV1, accessControllerRevokeAccessFromEveryoneV1, accessControllerAccessV1, accessControllerListSharedV1 };
|
|
12408
|
+
return { accessControllerGrantAccessV1, accessControllerRevokeAccessV1, accessControllerAttachAccessV1, accessControllerDetachAccessV1, accessControllerGrantAccessToEveryoneV1, accessControllerRevokeAccessFromEveryoneV1, accessControllerAccessV1, accessControllerCurrentAccessV1, accessControllerListSharedUsersV1, accessControllerListSharedV1 };
|
|
12391
12409
|
};
|
|
12392
12410
|
|
|
12393
12411
|
// src/sdk/api-definitions/access.ts
|
|
@@ -12401,6 +12419,8 @@ var useAccessApi = () => {
|
|
|
12401
12419
|
shareWithEveryone: api.accessControllerGrantAccessToEveryoneV1,
|
|
12402
12420
|
revokeFromEveryone: api.accessControllerRevokeAccessFromEveryoneV1,
|
|
12403
12421
|
list: api.accessControllerAccessV1,
|
|
12422
|
+
currentAccess: api.accessControllerCurrentAccessV1,
|
|
12423
|
+
listSharedUsers: api.accessControllerListSharedUsersV1,
|
|
12404
12424
|
listShared: api.accessControllerListSharedV1
|
|
12405
12425
|
});
|
|
12406
12426
|
};
|
|
@@ -12735,6 +12755,29 @@ var CropV1ResponseStatus = {
|
|
|
12735
12755
|
failed: "failed"
|
|
12736
12756
|
};
|
|
12737
12757
|
|
|
12758
|
+
// src/autogenerated/schemas/currentAccessControllerDtoRelationsItem.ts
|
|
12759
|
+
var CurrentAccessControllerDtoRelationsItem = {
|
|
12760
|
+
owner: "owner",
|
|
12761
|
+
maintainer: "maintainer",
|
|
12762
|
+
writer: "writer",
|
|
12763
|
+
reader: "reader",
|
|
12764
|
+
member: "member",
|
|
12765
|
+
public_execute: "public_execute",
|
|
12766
|
+
public_read: "public_read",
|
|
12767
|
+
can_assign_members: "can_assign_members",
|
|
12768
|
+
can_assign_maintainers: "can_assign_maintainers",
|
|
12769
|
+
can_assign_owners: "can_assign_owners",
|
|
12770
|
+
can_view: "can_view",
|
|
12771
|
+
can_edit: "can_edit",
|
|
12772
|
+
can_delete: "can_delete",
|
|
12773
|
+
can_change_access: "can_change_access",
|
|
12774
|
+
can_add_items: "can_add_items",
|
|
12775
|
+
can_remove_items: "can_remove_items",
|
|
12776
|
+
can_list: "can_list",
|
|
12777
|
+
can_execute: "can_execute",
|
|
12778
|
+
parent: "parent"
|
|
12779
|
+
};
|
|
12780
|
+
|
|
12738
12781
|
// src/autogenerated/schemas/cutV1ResponseKind.ts
|
|
12739
12782
|
var CutV1ResponseKind = {
|
|
12740
12783
|
operation: "operation"
|
|
@@ -13517,7 +13560,6 @@ var GrantAccessControllerParamsAccess = {
|
|
|
13517
13560
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13518
13561
|
can_assign_owners: "can_assign_owners",
|
|
13519
13562
|
can_view: "can_view",
|
|
13520
|
-
can_write: "can_write",
|
|
13521
13563
|
can_edit: "can_edit",
|
|
13522
13564
|
can_delete: "can_delete",
|
|
13523
13565
|
can_change_access: "can_change_access",
|
|
@@ -13856,7 +13898,6 @@ var ListAccessControllerGrantsDtoAccess = {
|
|
|
13856
13898
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13857
13899
|
can_assign_owners: "can_assign_owners",
|
|
13858
13900
|
can_view: "can_view",
|
|
13859
|
-
can_write: "can_write",
|
|
13860
13901
|
can_edit: "can_edit",
|
|
13861
13902
|
can_delete: "can_delete",
|
|
13862
13903
|
can_change_access: "can_change_access",
|
|
@@ -13996,7 +14037,6 @@ var ModifyAccessParamsDtoAccess = {
|
|
|
13996
14037
|
can_assign_maintainers: "can_assign_maintainers",
|
|
13997
14038
|
can_assign_owners: "can_assign_owners",
|
|
13998
14039
|
can_view: "can_view",
|
|
13999
|
-
can_write: "can_write",
|
|
14000
14040
|
can_edit: "can_edit",
|
|
14001
14041
|
can_delete: "can_delete",
|
|
14002
14042
|
can_change_access: "can_change_access",
|
|
@@ -14316,7 +14356,6 @@ var RevokeAccessControllerParamsDtoAccess = {
|
|
|
14316
14356
|
can_assign_maintainers: "can_assign_maintainers",
|
|
14317
14357
|
can_assign_owners: "can_assign_owners",
|
|
14318
14358
|
can_view: "can_view",
|
|
14319
|
-
can_write: "can_write",
|
|
14320
14359
|
can_edit: "can_edit",
|
|
14321
14360
|
can_delete: "can_delete",
|
|
14322
14361
|
can_change_access: "can_change_access",
|
|
@@ -14443,6 +14482,35 @@ var ShareWithEveryoneControllerParamsDtoAccess = {
|
|
|
14443
14482
|
public_read: "public_read"
|
|
14444
14483
|
};
|
|
14445
14484
|
|
|
14485
|
+
// src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccessItem.ts
|
|
14486
|
+
var ShareWithEveryoneControllerParamsDtoAccessItem = {
|
|
14487
|
+
public_execute: "public_execute",
|
|
14488
|
+
public_read: "public_read"
|
|
14489
|
+
};
|
|
14490
|
+
|
|
14491
|
+
// src/autogenerated/schemas/sharedAccessEntryDtoRelationsItem.ts
|
|
14492
|
+
var SharedAccessEntryDtoRelationsItem = {
|
|
14493
|
+
owner: "owner",
|
|
14494
|
+
maintainer: "maintainer",
|
|
14495
|
+
writer: "writer",
|
|
14496
|
+
reader: "reader",
|
|
14497
|
+
member: "member",
|
|
14498
|
+
public_execute: "public_execute",
|
|
14499
|
+
public_read: "public_read",
|
|
14500
|
+
can_assign_members: "can_assign_members",
|
|
14501
|
+
can_assign_maintainers: "can_assign_maintainers",
|
|
14502
|
+
can_assign_owners: "can_assign_owners",
|
|
14503
|
+
can_view: "can_view",
|
|
14504
|
+
can_edit: "can_edit",
|
|
14505
|
+
can_delete: "can_delete",
|
|
14506
|
+
can_change_access: "can_change_access",
|
|
14507
|
+
can_add_items: "can_add_items",
|
|
14508
|
+
can_remove_items: "can_remove_items",
|
|
14509
|
+
can_list: "can_list",
|
|
14510
|
+
can_execute: "can_execute",
|
|
14511
|
+
parent: "parent"
|
|
14512
|
+
};
|
|
14513
|
+
|
|
14446
14514
|
// src/autogenerated/schemas/sharedResourceDtoType.ts
|
|
14447
14515
|
var SharedResourceDtoType = {
|
|
14448
14516
|
collection: "collection",
|
|
@@ -16895,6 +16963,7 @@ export {
|
|
|
16895
16963
|
ContrastV1ResponseStatus,
|
|
16896
16964
|
CropV1ResponseKind,
|
|
16897
16965
|
CropV1ResponseStatus,
|
|
16966
|
+
CurrentAccessControllerDtoRelationsItem,
|
|
16898
16967
|
CutV1ResponseKind,
|
|
16899
16968
|
CutV1ResponseStatus,
|
|
16900
16969
|
EchoV1ResponseKind,
|
|
@@ -17158,6 +17227,8 @@ export {
|
|
|
17158
17227
|
SegmentAnythingMaskV1ResponseStatus,
|
|
17159
17228
|
SelfAccountDtoType,
|
|
17160
17229
|
ShareWithEveryoneControllerParamsDtoAccess,
|
|
17230
|
+
ShareWithEveryoneControllerParamsDtoAccessItem,
|
|
17231
|
+
SharedAccessEntryDtoRelationsItem,
|
|
17161
17232
|
SharedResourceDtoType,
|
|
17162
17233
|
StackEntityKind,
|
|
17163
17234
|
StacksControllerListStacksV1OrderBy,
|