@hautechai/sdk 0.3.15 → 0.3.17
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.
|
@@ -1488,6 +1488,7 @@ export declare const ImageEntityKindEnum: {
|
|
|
1488
1488
|
readonly Pose: "pose";
|
|
1489
1489
|
readonly Storage: "storage";
|
|
1490
1490
|
readonly Pipeline: "pipeline";
|
|
1491
|
+
readonly Forbidden: "forbidden";
|
|
1491
1492
|
};
|
|
1492
1493
|
export type ImageEntityKindEnum = typeof ImageEntityKindEnum[keyof typeof ImageEntityKindEnum];
|
|
1493
1494
|
/**
|
|
@@ -1772,8 +1773,6 @@ export declare const KateImagineV1InputAspectRatioEnum: {
|
|
|
1772
1773
|
readonly _1319: "13:19";
|
|
1773
1774
|
readonly _74: "7:4";
|
|
1774
1775
|
readonly _47: "4:7";
|
|
1775
|
-
readonly _125: "12:5";
|
|
1776
|
-
readonly _512: "5:12";
|
|
1777
1776
|
};
|
|
1778
1777
|
export type KateImagineV1InputAspectRatioEnum = typeof KateImagineV1InputAspectRatioEnum[keyof typeof KateImagineV1InputAspectRatioEnum];
|
|
1779
1778
|
/**
|
|
@@ -2137,6 +2136,7 @@ export declare const ListCollectionItemsParamsDtoKindEnum: {
|
|
|
2137
2136
|
readonly Pose: "pose";
|
|
2138
2137
|
readonly Storage: "storage";
|
|
2139
2138
|
readonly Pipeline: "pipeline";
|
|
2139
|
+
readonly Forbidden: "forbidden";
|
|
2140
2140
|
};
|
|
2141
2141
|
export type ListCollectionItemsParamsDtoKindEnum = typeof ListCollectionItemsParamsDtoKindEnum[keyof typeof ListCollectionItemsParamsDtoKindEnum];
|
|
2142
2142
|
/**
|
|
@@ -3380,6 +3380,7 @@ export declare const ResourceEntityKindEnum: {
|
|
|
3380
3380
|
readonly Pose: "pose";
|
|
3381
3381
|
readonly Storage: "storage";
|
|
3382
3382
|
readonly Pipeline: "pipeline";
|
|
3383
|
+
readonly Forbidden: "forbidden";
|
|
3383
3384
|
};
|
|
3384
3385
|
export type ResourceEntityKindEnum = typeof ResourceEntityKindEnum[keyof typeof ResourceEntityKindEnum];
|
|
3385
3386
|
/**
|
|
@@ -3545,6 +3546,12 @@ export interface SegmentAnythingMaskV1Input {
|
|
|
3545
3546
|
* @memberof SegmentAnythingMaskV1Input
|
|
3546
3547
|
*/
|
|
3547
3548
|
'smoothness'?: number;
|
|
3549
|
+
/**
|
|
3550
|
+
*
|
|
3551
|
+
* @type {number}
|
|
3552
|
+
* @memberof SegmentAnythingMaskV1Input
|
|
3553
|
+
*/
|
|
3554
|
+
'maskThreshold'?: number;
|
|
3548
3555
|
}
|
|
3549
3556
|
/**
|
|
3550
3557
|
*
|
|
@@ -6570,6 +6577,7 @@ export declare const CollectionsControllerListItemsV1KindEnum: {
|
|
|
6570
6577
|
readonly Pose: "pose";
|
|
6571
6578
|
readonly Storage: "storage";
|
|
6572
6579
|
readonly Pipeline: "pipeline";
|
|
6580
|
+
readonly Forbidden: "forbidden";
|
|
6573
6581
|
};
|
|
6574
6582
|
export type CollectionsControllerListItemsV1KindEnum = typeof CollectionsControllerListItemsV1KindEnum[keyof typeof CollectionsControllerListItemsV1KindEnum];
|
|
6575
6583
|
/**
|
|
@@ -108,7 +108,8 @@ export const ImageEntityKindEnum = {
|
|
|
108
108
|
Image: 'image',
|
|
109
109
|
Pose: 'pose',
|
|
110
110
|
Storage: 'storage',
|
|
111
|
-
Pipeline: 'pipeline'
|
|
111
|
+
Pipeline: 'pipeline',
|
|
112
|
+
Forbidden: 'forbidden'
|
|
112
113
|
};
|
|
113
114
|
export const ImagineKateV1ResponseKindEnum = {
|
|
114
115
|
Operation: 'operation'
|
|
@@ -133,9 +134,7 @@ export const KateImagineV1InputAspectRatioEnum = {
|
|
|
133
134
|
_1913: '19:13',
|
|
134
135
|
_1319: '13:19',
|
|
135
136
|
_74: '7:4',
|
|
136
|
-
_47: '4:7'
|
|
137
|
-
_125: '12:5',
|
|
138
|
-
_512: '5:12'
|
|
137
|
+
_47: '4:7'
|
|
139
138
|
};
|
|
140
139
|
export const KateInpaintV1InputBranchEnum = {
|
|
141
140
|
Stable: 'stable',
|
|
@@ -188,7 +187,8 @@ export const ListCollectionItemsParamsDtoKindEnum = {
|
|
|
188
187
|
Image: 'image',
|
|
189
188
|
Pose: 'pose',
|
|
190
189
|
Storage: 'storage',
|
|
191
|
-
Pipeline: 'pipeline'
|
|
190
|
+
Pipeline: 'pipeline',
|
|
191
|
+
Forbidden: 'forbidden'
|
|
192
192
|
};
|
|
193
193
|
export const ListCollectionsParamsDtoOrderByEnum = {
|
|
194
194
|
CreatedAtAsc: 'createdAt_ASC',
|
|
@@ -297,7 +297,8 @@ export const ResourceEntityKindEnum = {
|
|
|
297
297
|
Image: 'image',
|
|
298
298
|
Pose: 'pose',
|
|
299
299
|
Storage: 'storage',
|
|
300
|
-
Pipeline: 'pipeline'
|
|
300
|
+
Pipeline: 'pipeline',
|
|
301
|
+
Forbidden: 'forbidden'
|
|
301
302
|
};
|
|
302
303
|
export const RevokeAccessControllerParamsDtoPrincipalTypeEnum = {
|
|
303
304
|
Account: 'account',
|
|
@@ -5552,7 +5553,8 @@ export const CollectionsControllerListItemsV1KindEnum = {
|
|
|
5552
5553
|
Image: 'image',
|
|
5553
5554
|
Pose: 'pose',
|
|
5554
5555
|
Storage: 'storage',
|
|
5555
|
-
Pipeline: 'pipeline'
|
|
5556
|
+
Pipeline: 'pipeline',
|
|
5557
|
+
Forbidden: 'forbidden'
|
|
5556
5558
|
};
|
|
5557
5559
|
/**
|
|
5558
5560
|
* GroupsApi - axios parameter creator
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import { AttachAccessControllerParamsDto, GrantAccessControllerParams } from '../../autogenerated';
|
|
1
|
+
import { AttachAccessControllerParamsDto, DetachAccessControllerParamsDto, GrantAccessControllerParams, RevokeAccessControllerParamsDto } from '../../autogenerated';
|
|
2
2
|
import { SDKOptions } from '../../types';
|
|
3
3
|
declare const resources: (options: SDKOptions) => {
|
|
4
4
|
attach: (props: AttachAccessControllerParamsDto & {
|
|
5
5
|
id: string;
|
|
6
6
|
}) => Promise<void>;
|
|
7
|
+
detach: (props: DetachAccessControllerParamsDto & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) => Promise<void>;
|
|
7
10
|
grant: (props: GrantAccessControllerParams & {
|
|
8
11
|
id: string;
|
|
9
12
|
}) => Promise<void>;
|
|
13
|
+
revoke: (props: RevokeAccessControllerParamsDto & {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => Promise<void>;
|
|
16
|
+
list: (props: {
|
|
17
|
+
id: string;
|
|
18
|
+
}) => Promise<void>;
|
|
10
19
|
};
|
|
11
20
|
export default resources;
|
package/dist/sdk/access/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessApi } from '../../autogenerated';
|
|
1
|
+
import { AccessApi, } from '../../autogenerated';
|
|
2
2
|
import { useAutogeneratedAPI } from '../api';
|
|
3
3
|
const resources = (options) => {
|
|
4
4
|
const api = useAutogeneratedAPI({ API: AccessApi, options });
|
|
@@ -6,9 +6,18 @@ const resources = (options) => {
|
|
|
6
6
|
attach: async (props) => api.call({
|
|
7
7
|
run: (methods) => methods.accessControllerAttachAccessV1(props.id, props),
|
|
8
8
|
}),
|
|
9
|
+
detach: async (props) => api.call({
|
|
10
|
+
run: (methods) => methods.accessControllerDetachAccessV1(props.id, props),
|
|
11
|
+
}),
|
|
9
12
|
grant: async (props) => api.call({
|
|
10
13
|
run: (methods) => methods.accessControllerGrantAccessV1(props.id, props),
|
|
11
14
|
}),
|
|
15
|
+
revoke: async (props) => api.call({
|
|
16
|
+
run: (methods) => methods.accessControllerRevokeAccessV1(props.id, props),
|
|
17
|
+
}),
|
|
18
|
+
list: async (props) => api.call({
|
|
19
|
+
run: (methods) => methods.accessControllerAccessV1(props.id),
|
|
20
|
+
}),
|
|
12
21
|
};
|
|
13
22
|
};
|
|
14
23
|
export default resources;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -4,9 +4,18 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
4
4
|
attach: (props: import("../autogenerated").AttachAccessControllerParamsDto & {
|
|
5
5
|
id: string;
|
|
6
6
|
}) => Promise<void>;
|
|
7
|
+
detach: (props: import("../autogenerated").DetachAccessControllerParamsDto & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) => Promise<void>;
|
|
7
10
|
grant: (props: import("../autogenerated").GrantAccessControllerParams & {
|
|
8
11
|
id: string;
|
|
9
12
|
}) => Promise<void>;
|
|
13
|
+
revoke: (props: import("../autogenerated").RevokeAccessControllerParamsDto & {
|
|
14
|
+
id: string;
|
|
15
|
+
}) => Promise<void>;
|
|
16
|
+
list: (props: {
|
|
17
|
+
id: string;
|
|
18
|
+
}) => Promise<void>;
|
|
10
19
|
};
|
|
11
20
|
accounts: {
|
|
12
21
|
create: (props?: {
|