@hautechai/sdk 0.0.17 → 0.0.18

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.
@@ -7,6 +7,7 @@ export type MethodsPermissions = {
7
7
  accounts: {
8
8
  create: boolean;
9
9
  read: boolean;
10
+ list: boolean;
10
11
  };
11
12
  balances: {
12
13
  read: boolean;
@@ -55,6 +56,7 @@ export type MethodsPermissions = {
55
56
  poses: {
56
57
  create: boolean;
57
58
  read: boolean;
59
+ update: boolean;
58
60
  };
59
61
  stacks: {
60
62
  create: boolean;
@@ -109,15 +109,19 @@ export declare const createSDK: (options: SDKOptions) => {
109
109
  metadata?: any;
110
110
  }) => Promise<import("../types").OperationEntity>;
111
111
  };
112
- generate: {
113
- v1: (props: {
114
- input: import("../autogenerated").GenerateV1Input;
115
- metadata?: any;
116
- }) => Promise<import("../types").OperationEntity>;
117
- v3: (props: {
118
- input: import("../autogenerated").GenerateV3Input;
119
- metadata?: any;
120
- }) => Promise<import("../types").OperationEntity>;
112
+ haute: {
113
+ linda: {
114
+ v1: (props: {
115
+ input: import("../autogenerated").LindaHauteV1Input;
116
+ metadata?: any;
117
+ }) => Promise<import("../types").OperationEntity>;
118
+ };
119
+ naomi: {
120
+ v1: (props: {
121
+ input: import("../autogenerated").NaomiHauteV1Input;
122
+ metadata?: any;
123
+ }) => Promise<import("../types").OperationEntity>;
124
+ };
121
125
  };
122
126
  gpt: {
123
127
  v1: (props: {
@@ -126,16 +130,20 @@ export declare const createSDK: (options: SDKOptions) => {
126
130
  }) => Promise<import("../types").OperationEntity>;
127
131
  };
128
132
  imagine: {
129
- v1: (props: {
130
- input: import("../autogenerated").ImagineV1Input;
131
- metadata?: any;
132
- }) => Promise<import("../types").OperationEntity>;
133
+ kate: {
134
+ v1: (props: {
135
+ input: import("../autogenerated").KateImagineV1Input;
136
+ metadata?: any;
137
+ }) => Promise<import("../types").OperationEntity>;
138
+ };
133
139
  };
134
140
  inpaint: {
135
- v1: (props: {
136
- input: import("../autogenerated").InpaintV1Input;
137
- metadata?: any;
138
- }) => Promise<import("../types").OperationEntity>;
141
+ kate: {
142
+ v1: (props: {
143
+ input: import("../autogenerated").KateInpaintV1Input;
144
+ metadata?: any;
145
+ }) => Promise<import("../types").OperationEntity>;
146
+ };
139
147
  };
140
148
  segmentEmbeddings: {
141
149
  v1: (props: {
@@ -1,4 +1,4 @@
1
- import { CompositeV1Input, CutV1Input, GenerateV1Input, GenerateV3Input, GPTV1Input, ImagineV1Input, InpaintV1Input, ObjectDetectionV1Input, OperationEntity, PoseEstimationV1Input, SegmentAnythingEmbeddingsV1Input, SegmentAnythingMaskV1Input, UpscaleV1Input } from '../../autogenerated';
1
+ import { CompositeV1Input, CutV1Input, GPTV1Input, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, ObjectDetectionV1Input, OperationEntity, PoseEstimationV1Input, SegmentAnythingEmbeddingsV1Input, SegmentAnythingMaskV1Input, UpscaleV1Input } from '../../autogenerated';
2
2
  import { ListProps, ListResponse, SDKOptions } from '../../types';
3
3
  declare const operations: (options: SDKOptions) => {
4
4
  create: {
@@ -26,15 +26,19 @@ declare const operations: (options: SDKOptions) => {
26
26
  metadata?: any;
27
27
  }) => Promise<OperationEntity>;
28
28
  };
29
- generate: {
30
- v1: (props: {
31
- input: GenerateV1Input;
32
- metadata?: any;
33
- }) => Promise<OperationEntity>;
34
- v3: (props: {
35
- input: GenerateV3Input;
36
- metadata?: any;
37
- }) => Promise<OperationEntity>;
29
+ haute: {
30
+ linda: {
31
+ v1: (props: {
32
+ input: LindaHauteV1Input;
33
+ metadata?: any;
34
+ }) => Promise<OperationEntity>;
35
+ };
36
+ naomi: {
37
+ v1: (props: {
38
+ input: NaomiHauteV1Input;
39
+ metadata?: any;
40
+ }) => Promise<OperationEntity>;
41
+ };
38
42
  };
39
43
  gpt: {
40
44
  v1: (props: {
@@ -43,16 +47,20 @@ declare const operations: (options: SDKOptions) => {
43
47
  }) => Promise<OperationEntity>;
44
48
  };
45
49
  imagine: {
46
- v1: (props: {
47
- input: ImagineV1Input;
48
- metadata?: any;
49
- }) => Promise<OperationEntity>;
50
+ kate: {
51
+ v1: (props: {
52
+ input: KateImagineV1Input;
53
+ metadata?: any;
54
+ }) => Promise<OperationEntity>;
55
+ };
50
56
  };
51
57
  inpaint: {
52
- v1: (props: {
53
- input: InpaintV1Input;
54
- metadata?: any;
55
- }) => Promise<OperationEntity>;
58
+ kate: {
59
+ v1: (props: {
60
+ input: KateInpaintV1Input;
61
+ metadata?: any;
62
+ }) => Promise<OperationEntity>;
63
+ };
56
64
  };
57
65
  segmentEmbeddings: {
58
66
  v1: (props: {
@@ -20,18 +20,26 @@ const operations = (options) => {
20
20
  estimatePose: {
21
21
  v1: createOperation((methods, props) => methods.operationsControllerRunPoseEstimationV1V1(props)),
22
22
  },
23
- generate: {
24
- v1: createOperation((methods, props) => methods.operationsControllerRunGenerateV1V1(props)),
25
- v3: createOperation((methods, props) => methods.operationsControllerRunGenerateV3V1(props)),
23
+ haute: {
24
+ linda: {
25
+ v1: createOperation((methods, props) => methods.operationsControllerRunLindaHauteV1V1(props)),
26
+ },
27
+ naomi: {
28
+ v1: createOperation((methods, props) => methods.operationsControllerRunNaomiHauteV1V1(props)),
29
+ },
26
30
  },
27
31
  gpt: {
28
32
  v1: createOperation((methods, props) => methods.operationsControllerRunGptV1V1(props)),
29
33
  },
30
34
  imagine: {
31
- v1: createOperation((methods, props) => methods.operationsControllerRunImagineV1V1(props)),
35
+ kate: {
36
+ v1: createOperation((methods, props) => methods.operationsControllerRunKateImagineV1V1(props)),
37
+ },
32
38
  },
33
39
  inpaint: {
34
- v1: createOperation((methods, props) => methods.operationsControllerRunInpaintV1V1(props)),
40
+ kate: {
41
+ v1: createOperation((methods, props) => methods.operationsControllerRunKateInpaintV1V1(props)),
42
+ },
35
43
  },
36
44
  segmentEmbeddings: {
37
45
  v1: createOperation((methods, props) => methods.operationsControllerRunSegmentAnythingEmbeddingsV1V1(props)),
@@ -1,6 +1,6 @@
1
1
  export const defaultPermissions = {
2
2
  access: { add: true, read: true, remove: true },
3
- accounts: { create: false, read: false },
3
+ accounts: { create: false, list: false, read: false },
4
4
  balances: { read: true, self: { read: true, update: false }, update: false },
5
5
  collections: {
6
6
  create: true,
@@ -12,7 +12,7 @@ export const defaultPermissions = {
12
12
  images: { create: true, read: true },
13
13
  operations: { create: true, read: true, metadata: { update: true } },
14
14
  pipelines: { create: true, read: true, update: true },
15
- poses: { create: true, read: true },
15
+ poses: { create: true, read: true, update: true },
16
16
  stacks: { create: true, items: { add: true, remove: true }, read: true, metadata: { update: true } },
17
17
  storage: { create: true, delete: true, read: true, update: true },
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {