@hautechai/sdk 0.0.2 → 0.0.4

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.
@@ -48,6 +48,17 @@ export const ImageEntityKindEnum = {
48
48
  Pose: 'pose',
49
49
  Storage: 'storage'
50
50
  };
51
+ export const ImagineV1InputAspectRatioEnum = {
52
+ _11: '1:1',
53
+ _97: '9:7',
54
+ _79: '7:9',
55
+ _1913: '19:13',
56
+ _1319: '13:19',
57
+ _74: '7:4',
58
+ _47: '4:7',
59
+ _125: '12:5',
60
+ _512: '5:12'
61
+ };
51
62
  export const OperationEntityKindEnum = {
52
63
  Collection: 'collection',
53
64
  Operation: 'operation',
@@ -75,6 +86,14 @@ export const PipelineEntityStatusEnum = {
75
86
  Success: 'success',
76
87
  Failed: 'failed'
77
88
  };
89
+ export const PoseEntityKindEnum = {
90
+ Collection: 'collection',
91
+ Operation: 'operation',
92
+ Stack: 'stack',
93
+ Image: 'image',
94
+ Pose: 'pose',
95
+ Storage: 'storage'
96
+ };
78
97
  export const RemoveAccountFromGroupControllerParamsDtoRoleEnum = {
79
98
  Maintainer: 'maintainer',
80
99
  Member: 'member',
@@ -104,242 +123,6 @@ export const StorageEntityKindEnum = {
104
123
  Pose: 'pose',
105
124
  Storage: 'storage'
106
125
  };
107
- /**
108
- * AccessApi - axios parameter creator
109
- * @export
110
- */
111
- export const AccessApiAxiosParamCreator = function (configuration) {
112
- return {
113
- /**
114
- *
115
- * @param {AddAccessParamsDto} addAccessParamsDto
116
- * @param {*} [options] Override http request option.
117
- * @throws {RequiredError}
118
- */
119
- accessControllerAddAccessV1: async (addAccessParamsDto, options = {}) => {
120
- // verify required parameter 'addAccessParamsDto' is not null or undefined
121
- assertParamExists('accessControllerAddAccessV1', 'addAccessParamsDto', addAccessParamsDto);
122
- const localVarPath = `/v1/access`;
123
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
124
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
125
- let baseOptions;
126
- if (configuration) {
127
- baseOptions = configuration.baseOptions;
128
- }
129
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
130
- const localVarHeaderParameter = {};
131
- const localVarQueryParameter = {};
132
- // authentication bearer required
133
- // http bearer authentication required
134
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
135
- localVarHeaderParameter['Content-Type'] = 'application/json';
136
- setSearchParams(localVarUrlObj, localVarQueryParameter);
137
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
139
- localVarRequestOptions.data = serializeDataIfNeeded(addAccessParamsDto, localVarRequestOptions, configuration);
140
- return {
141
- url: toPathString(localVarUrlObj),
142
- options: localVarRequestOptions,
143
- };
144
- },
145
- /**
146
- *
147
- * @param {string} resource
148
- * @param {string} resourceId
149
- * @param {string} action
150
- * @param {*} [options] Override http request option.
151
- * @throws {RequiredError}
152
- */
153
- accessControllerCheckAccessV1: async (resource, resourceId, action, options = {}) => {
154
- // verify required parameter 'resource' is not null or undefined
155
- assertParamExists('accessControllerCheckAccessV1', 'resource', resource);
156
- // verify required parameter 'resourceId' is not null or undefined
157
- assertParamExists('accessControllerCheckAccessV1', 'resourceId', resourceId);
158
- // verify required parameter 'action' is not null or undefined
159
- assertParamExists('accessControllerCheckAccessV1', 'action', action);
160
- const localVarPath = `/v1/access/check/{resource}/{resourceId}/{action}`
161
- .replace(`{${"resource"}}`, encodeURIComponent(String(resource)))
162
- .replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)))
163
- .replace(`{${"action"}}`, encodeURIComponent(String(action)));
164
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
165
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
166
- let baseOptions;
167
- if (configuration) {
168
- baseOptions = configuration.baseOptions;
169
- }
170
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
171
- const localVarHeaderParameter = {};
172
- const localVarQueryParameter = {};
173
- // authentication bearer required
174
- // http bearer authentication required
175
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
176
- setSearchParams(localVarUrlObj, localVarQueryParameter);
177
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
179
- return {
180
- url: toPathString(localVarUrlObj),
181
- options: localVarRequestOptions,
182
- };
183
- },
184
- /**
185
- *
186
- * @param {RemoveAccessParamsDto} removeAccessParamsDto
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- accessControllerRemoveAccessV1: async (removeAccessParamsDto, options = {}) => {
191
- // verify required parameter 'removeAccessParamsDto' is not null or undefined
192
- assertParamExists('accessControllerRemoveAccessV1', 'removeAccessParamsDto', removeAccessParamsDto);
193
- const localVarPath = `/v1/access`;
194
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
196
- let baseOptions;
197
- if (configuration) {
198
- baseOptions = configuration.baseOptions;
199
- }
200
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
201
- const localVarHeaderParameter = {};
202
- const localVarQueryParameter = {};
203
- // authentication bearer required
204
- // http bearer authentication required
205
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
206
- localVarHeaderParameter['Content-Type'] = 'application/json';
207
- setSearchParams(localVarUrlObj, localVarQueryParameter);
208
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
209
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
210
- localVarRequestOptions.data = serializeDataIfNeeded(removeAccessParamsDto, localVarRequestOptions, configuration);
211
- return {
212
- url: toPathString(localVarUrlObj),
213
- options: localVarRequestOptions,
214
- };
215
- },
216
- };
217
- };
218
- /**
219
- * AccessApi - functional programming interface
220
- * @export
221
- */
222
- export const AccessApiFp = function (configuration) {
223
- const localVarAxiosParamCreator = AccessApiAxiosParamCreator(configuration);
224
- return {
225
- /**
226
- *
227
- * @param {AddAccessParamsDto} addAccessParamsDto
228
- * @param {*} [options] Override http request option.
229
- * @throws {RequiredError}
230
- */
231
- async accessControllerAddAccessV1(addAccessParamsDto, options) {
232
- const localVarAxiosArgs = await localVarAxiosParamCreator.accessControllerAddAccessV1(addAccessParamsDto, options);
233
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
234
- const localVarOperationServerBasePath = operationServerMap['AccessApi.accessControllerAddAccessV1']?.[localVarOperationServerIndex]?.url;
235
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
236
- },
237
- /**
238
- *
239
- * @param {string} resource
240
- * @param {string} resourceId
241
- * @param {string} action
242
- * @param {*} [options] Override http request option.
243
- * @throws {RequiredError}
244
- */
245
- async accessControllerCheckAccessV1(resource, resourceId, action, options) {
246
- const localVarAxiosArgs = await localVarAxiosParamCreator.accessControllerCheckAccessV1(resource, resourceId, action, options);
247
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
248
- const localVarOperationServerBasePath = operationServerMap['AccessApi.accessControllerCheckAccessV1']?.[localVarOperationServerIndex]?.url;
249
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
250
- },
251
- /**
252
- *
253
- * @param {RemoveAccessParamsDto} removeAccessParamsDto
254
- * @param {*} [options] Override http request option.
255
- * @throws {RequiredError}
256
- */
257
- async accessControllerRemoveAccessV1(removeAccessParamsDto, options) {
258
- const localVarAxiosArgs = await localVarAxiosParamCreator.accessControllerRemoveAccessV1(removeAccessParamsDto, options);
259
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
260
- const localVarOperationServerBasePath = operationServerMap['AccessApi.accessControllerRemoveAccessV1']?.[localVarOperationServerIndex]?.url;
261
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
262
- },
263
- };
264
- };
265
- /**
266
- * AccessApi - factory interface
267
- * @export
268
- */
269
- export const AccessApiFactory = function (configuration, basePath, axios) {
270
- const localVarFp = AccessApiFp(configuration);
271
- return {
272
- /**
273
- *
274
- * @param {AddAccessParamsDto} addAccessParamsDto
275
- * @param {*} [options] Override http request option.
276
- * @throws {RequiredError}
277
- */
278
- accessControllerAddAccessV1(addAccessParamsDto, options) {
279
- return localVarFp.accessControllerAddAccessV1(addAccessParamsDto, options).then((request) => request(axios, basePath));
280
- },
281
- /**
282
- *
283
- * @param {string} resource
284
- * @param {string} resourceId
285
- * @param {string} action
286
- * @param {*} [options] Override http request option.
287
- * @throws {RequiredError}
288
- */
289
- accessControllerCheckAccessV1(resource, resourceId, action, options) {
290
- return localVarFp.accessControllerCheckAccessV1(resource, resourceId, action, options).then((request) => request(axios, basePath));
291
- },
292
- /**
293
- *
294
- * @param {RemoveAccessParamsDto} removeAccessParamsDto
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- */
298
- accessControllerRemoveAccessV1(removeAccessParamsDto, options) {
299
- return localVarFp.accessControllerRemoveAccessV1(removeAccessParamsDto, options).then((request) => request(axios, basePath));
300
- },
301
- };
302
- };
303
- /**
304
- * AccessApi - object-oriented interface
305
- * @export
306
- * @class AccessApi
307
- * @extends {BaseAPI}
308
- */
309
- export class AccessApi extends BaseAPI {
310
- /**
311
- *
312
- * @param {AddAccessParamsDto} addAccessParamsDto
313
- * @param {*} [options] Override http request option.
314
- * @throws {RequiredError}
315
- * @memberof AccessApi
316
- */
317
- accessControllerAddAccessV1(addAccessParamsDto, options) {
318
- return AccessApiFp(this.configuration).accessControllerAddAccessV1(addAccessParamsDto, options).then((request) => request(this.axios, this.basePath));
319
- }
320
- /**
321
- *
322
- * @param {string} resource
323
- * @param {string} resourceId
324
- * @param {string} action
325
- * @param {*} [options] Override http request option.
326
- * @throws {RequiredError}
327
- * @memberof AccessApi
328
- */
329
- accessControllerCheckAccessV1(resource, resourceId, action, options) {
330
- return AccessApiFp(this.configuration).accessControllerCheckAccessV1(resource, resourceId, action, options).then((request) => request(this.axios, this.basePath));
331
- }
332
- /**
333
- *
334
- * @param {RemoveAccessParamsDto} removeAccessParamsDto
335
- * @param {*} [options] Override http request option.
336
- * @throws {RequiredError}
337
- * @memberof AccessApi
338
- */
339
- accessControllerRemoveAccessV1(removeAccessParamsDto, options) {
340
- return AccessApiFp(this.configuration).accessControllerRemoveAccessV1(removeAccessParamsDto, options).then((request) => request(this.axios, this.basePath));
341
- }
342
- }
343
126
  /**
344
127
  * AccountsApi - axios parameter creator
345
128
  * @export
@@ -2489,6 +2272,70 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
2489
2272
  options: localVarRequestOptions,
2490
2273
  };
2491
2274
  },
2275
+ /**
2276
+ *
2277
+ * @param {PoseEstimationV1ControllerInput} poseEstimationV1ControllerInput
2278
+ * @param {*} [options] Override http request option.
2279
+ * @throws {RequiredError}
2280
+ */
2281
+ operationsControllerRunPoseEstimationV1V1: async (poseEstimationV1ControllerInput, options = {}) => {
2282
+ // verify required parameter 'poseEstimationV1ControllerInput' is not null or undefined
2283
+ assertParamExists('operationsControllerRunPoseEstimationV1V1', 'poseEstimationV1ControllerInput', poseEstimationV1ControllerInput);
2284
+ const localVarPath = `/v1/operations/run/poseEstimation.v1`;
2285
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2286
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2287
+ let baseOptions;
2288
+ if (configuration) {
2289
+ baseOptions = configuration.baseOptions;
2290
+ }
2291
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2292
+ const localVarHeaderParameter = {};
2293
+ const localVarQueryParameter = {};
2294
+ // authentication bearer required
2295
+ // http bearer authentication required
2296
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2297
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2298
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2299
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2300
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2301
+ localVarRequestOptions.data = serializeDataIfNeeded(poseEstimationV1ControllerInput, localVarRequestOptions, configuration);
2302
+ return {
2303
+ url: toPathString(localVarUrlObj),
2304
+ options: localVarRequestOptions,
2305
+ };
2306
+ },
2307
+ /**
2308
+ *
2309
+ * @param {SegmentAnythingEmbeddingsV1ControllerInput} segmentAnythingEmbeddingsV1ControllerInput
2310
+ * @param {*} [options] Override http request option.
2311
+ * @throws {RequiredError}
2312
+ */
2313
+ operationsControllerRunSegmentAnythingEmbeddingsV1V1: async (segmentAnythingEmbeddingsV1ControllerInput, options = {}) => {
2314
+ // verify required parameter 'segmentAnythingEmbeddingsV1ControllerInput' is not null or undefined
2315
+ assertParamExists('operationsControllerRunSegmentAnythingEmbeddingsV1V1', 'segmentAnythingEmbeddingsV1ControllerInput', segmentAnythingEmbeddingsV1ControllerInput);
2316
+ const localVarPath = `/v1/operations/run/segmentAnything.embeddings.v1`;
2317
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2318
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2319
+ let baseOptions;
2320
+ if (configuration) {
2321
+ baseOptions = configuration.baseOptions;
2322
+ }
2323
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2324
+ const localVarHeaderParameter = {};
2325
+ const localVarQueryParameter = {};
2326
+ // authentication bearer required
2327
+ // http bearer authentication required
2328
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2329
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2330
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2331
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2332
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2333
+ localVarRequestOptions.data = serializeDataIfNeeded(segmentAnythingEmbeddingsV1ControllerInput, localVarRequestOptions, configuration);
2334
+ return {
2335
+ url: toPathString(localVarUrlObj),
2336
+ options: localVarRequestOptions,
2337
+ };
2338
+ },
2492
2339
  /**
2493
2340
  *
2494
2341
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2676,6 +2523,30 @@ export const OperationsApiFp = function (configuration) {
2676
2523
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunObjectDetectionV1V1']?.[localVarOperationServerIndex]?.url;
2677
2524
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2678
2525
  },
2526
+ /**
2527
+ *
2528
+ * @param {PoseEstimationV1ControllerInput} poseEstimationV1ControllerInput
2529
+ * @param {*} [options] Override http request option.
2530
+ * @throws {RequiredError}
2531
+ */
2532
+ async operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options) {
2533
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options);
2534
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2535
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunPoseEstimationV1V1']?.[localVarOperationServerIndex]?.url;
2536
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2537
+ },
2538
+ /**
2539
+ *
2540
+ * @param {SegmentAnythingEmbeddingsV1ControllerInput} segmentAnythingEmbeddingsV1ControllerInput
2541
+ * @param {*} [options] Override http request option.
2542
+ * @throws {RequiredError}
2543
+ */
2544
+ async operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
2545
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options);
2546
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2547
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingEmbeddingsV1V1']?.[localVarOperationServerIndex]?.url;
2548
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2549
+ },
2679
2550
  /**
2680
2551
  *
2681
2552
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2793,6 +2664,24 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
2793
2664
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1ControllerInput, options) {
2794
2665
  return localVarFp.operationsControllerRunObjectDetectionV1V1(objectDetectionV1ControllerInput, options).then((request) => request(axios, basePath));
2795
2666
  },
2667
+ /**
2668
+ *
2669
+ * @param {PoseEstimationV1ControllerInput} poseEstimationV1ControllerInput
2670
+ * @param {*} [options] Override http request option.
2671
+ * @throws {RequiredError}
2672
+ */
2673
+ operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options) {
2674
+ return localVarFp.operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options).then((request) => request(axios, basePath));
2675
+ },
2676
+ /**
2677
+ *
2678
+ * @param {SegmentAnythingEmbeddingsV1ControllerInput} segmentAnythingEmbeddingsV1ControllerInput
2679
+ * @param {*} [options] Override http request option.
2680
+ * @throws {RequiredError}
2681
+ */
2682
+ operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
2683
+ return localVarFp.operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(axios, basePath));
2684
+ },
2796
2685
  /**
2797
2686
  *
2798
2687
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2913,6 +2802,26 @@ export class OperationsApi extends BaseAPI {
2913
2802
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1ControllerInput, options) {
2914
2803
  return OperationsApiFp(this.configuration).operationsControllerRunObjectDetectionV1V1(objectDetectionV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
2915
2804
  }
2805
+ /**
2806
+ *
2807
+ * @param {PoseEstimationV1ControllerInput} poseEstimationV1ControllerInput
2808
+ * @param {*} [options] Override http request option.
2809
+ * @throws {RequiredError}
2810
+ * @memberof OperationsApi
2811
+ */
2812
+ operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options) {
2813
+ return OperationsApiFp(this.configuration).operationsControllerRunPoseEstimationV1V1(poseEstimationV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
2814
+ }
2815
+ /**
2816
+ *
2817
+ * @param {SegmentAnythingEmbeddingsV1ControllerInput} segmentAnythingEmbeddingsV1ControllerInput
2818
+ * @param {*} [options] Override http request option.
2819
+ * @throws {RequiredError}
2820
+ * @memberof OperationsApi
2821
+ */
2822
+ operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
2823
+ return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
2824
+ }
2916
2825
  /**
2917
2826
  *
2918
2827
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -3226,38 +3135,6 @@ export class PipelinesApi extends BaseAPI {
3226
3135
  */
3227
3136
  export const PosesApiAxiosParamCreator = function (configuration) {
3228
3137
  return {
3229
- /**
3230
- *
3231
- * @param {CreatePoseParamsDto} createPoseParamsDto
3232
- * @param {*} [options] Override http request option.
3233
- * @throws {RequiredError}
3234
- */
3235
- posesControllerCreatePoseV1: async (createPoseParamsDto, options = {}) => {
3236
- // verify required parameter 'createPoseParamsDto' is not null or undefined
3237
- assertParamExists('posesControllerCreatePoseV1', 'createPoseParamsDto', createPoseParamsDto);
3238
- const localVarPath = `/v1/poses`;
3239
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3240
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3241
- let baseOptions;
3242
- if (configuration) {
3243
- baseOptions = configuration.baseOptions;
3244
- }
3245
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3246
- const localVarHeaderParameter = {};
3247
- const localVarQueryParameter = {};
3248
- // authentication bearer required
3249
- // http bearer authentication required
3250
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
3251
- localVarHeaderParameter['Content-Type'] = 'application/json';
3252
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3253
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3254
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3255
- localVarRequestOptions.data = serializeDataIfNeeded(createPoseParamsDto, localVarRequestOptions, configuration);
3256
- return {
3257
- url: toPathString(localVarUrlObj),
3258
- options: localVarRequestOptions,
3259
- };
3260
- },
3261
3138
  /**
3262
3139
  *
3263
3140
  * @param {string} id
@@ -3291,10 +3168,13 @@ export const PosesApiAxiosParamCreator = function (configuration) {
3291
3168
  },
3292
3169
  /**
3293
3170
  *
3171
+ * @param {PosesControllerListPosesV1OrderByEnum} [orderBy]
3172
+ * @param {number} [limit]
3173
+ * @param {string} [cursor]
3294
3174
  * @param {*} [options] Override http request option.
3295
3175
  * @throws {RequiredError}
3296
3176
  */
3297
- posesControllerListStacksV1: async (options = {}) => {
3177
+ posesControllerListPosesV1: async (orderBy, limit, cursor, options = {}) => {
3298
3178
  const localVarPath = `/v1/poses`;
3299
3179
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3300
3180
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3308,6 +3188,15 @@ export const PosesApiAxiosParamCreator = function (configuration) {
3308
3188
  // authentication bearer required
3309
3189
  // http bearer authentication required
3310
3190
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3191
+ if (orderBy !== undefined) {
3192
+ localVarQueryParameter['orderBy'] = orderBy;
3193
+ }
3194
+ if (limit !== undefined) {
3195
+ localVarQueryParameter['limit'] = limit;
3196
+ }
3197
+ if (cursor !== undefined) {
3198
+ localVarQueryParameter['cursor'] = cursor;
3199
+ }
3311
3200
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3312
3201
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3313
3202
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3325,18 +3214,6 @@ export const PosesApiAxiosParamCreator = function (configuration) {
3325
3214
  export const PosesApiFp = function (configuration) {
3326
3215
  const localVarAxiosParamCreator = PosesApiAxiosParamCreator(configuration);
3327
3216
  return {
3328
- /**
3329
- *
3330
- * @param {CreatePoseParamsDto} createPoseParamsDto
3331
- * @param {*} [options] Override http request option.
3332
- * @throws {RequiredError}
3333
- */
3334
- async posesControllerCreatePoseV1(createPoseParamsDto, options) {
3335
- const localVarAxiosArgs = await localVarAxiosParamCreator.posesControllerCreatePoseV1(createPoseParamsDto, options);
3336
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3337
- const localVarOperationServerBasePath = operationServerMap['PosesApi.posesControllerCreatePoseV1']?.[localVarOperationServerIndex]?.url;
3338
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3339
- },
3340
3217
  /**
3341
3218
  *
3342
3219
  * @param {string} id
@@ -3351,13 +3228,16 @@ export const PosesApiFp = function (configuration) {
3351
3228
  },
3352
3229
  /**
3353
3230
  *
3231
+ * @param {PosesControllerListPosesV1OrderByEnum} [orderBy]
3232
+ * @param {number} [limit]
3233
+ * @param {string} [cursor]
3354
3234
  * @param {*} [options] Override http request option.
3355
3235
  * @throws {RequiredError}
3356
3236
  */
3357
- async posesControllerListStacksV1(options) {
3358
- const localVarAxiosArgs = await localVarAxiosParamCreator.posesControllerListStacksV1(options);
3237
+ async posesControllerListPosesV1(orderBy, limit, cursor, options) {
3238
+ const localVarAxiosArgs = await localVarAxiosParamCreator.posesControllerListPosesV1(orderBy, limit, cursor, options);
3359
3239
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3360
- const localVarOperationServerBasePath = operationServerMap['PosesApi.posesControllerListStacksV1']?.[localVarOperationServerIndex]?.url;
3240
+ const localVarOperationServerBasePath = operationServerMap['PosesApi.posesControllerListPosesV1']?.[localVarOperationServerIndex]?.url;
3361
3241
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3362
3242
  },
3363
3243
  };
@@ -3369,15 +3249,6 @@ export const PosesApiFp = function (configuration) {
3369
3249
  export const PosesApiFactory = function (configuration, basePath, axios) {
3370
3250
  const localVarFp = PosesApiFp(configuration);
3371
3251
  return {
3372
- /**
3373
- *
3374
- * @param {CreatePoseParamsDto} createPoseParamsDto
3375
- * @param {*} [options] Override http request option.
3376
- * @throws {RequiredError}
3377
- */
3378
- posesControllerCreatePoseV1(createPoseParamsDto, options) {
3379
- return localVarFp.posesControllerCreatePoseV1(createPoseParamsDto, options).then((request) => request(axios, basePath));
3380
- },
3381
3252
  /**
3382
3253
  *
3383
3254
  * @param {string} id
@@ -3389,11 +3260,14 @@ export const PosesApiFactory = function (configuration, basePath, axios) {
3389
3260
  },
3390
3261
  /**
3391
3262
  *
3263
+ * @param {PosesControllerListPosesV1OrderByEnum} [orderBy]
3264
+ * @param {number} [limit]
3265
+ * @param {string} [cursor]
3392
3266
  * @param {*} [options] Override http request option.
3393
3267
  * @throws {RequiredError}
3394
3268
  */
3395
- posesControllerListStacksV1(options) {
3396
- return localVarFp.posesControllerListStacksV1(options).then((request) => request(axios, basePath));
3269
+ posesControllerListPosesV1(orderBy, limit, cursor, options) {
3270
+ return localVarFp.posesControllerListPosesV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
3397
3271
  },
3398
3272
  };
3399
3273
  };
@@ -3404,16 +3278,6 @@ export const PosesApiFactory = function (configuration, basePath, axios) {
3404
3278
  * @extends {BaseAPI}
3405
3279
  */
3406
3280
  export class PosesApi extends BaseAPI {
3407
- /**
3408
- *
3409
- * @param {CreatePoseParamsDto} createPoseParamsDto
3410
- * @param {*} [options] Override http request option.
3411
- * @throws {RequiredError}
3412
- * @memberof PosesApi
3413
- */
3414
- posesControllerCreatePoseV1(createPoseParamsDto, options) {
3415
- return PosesApiFp(this.configuration).posesControllerCreatePoseV1(createPoseParamsDto, options).then((request) => request(this.axios, this.basePath));
3416
- }
3417
3281
  /**
3418
3282
  *
3419
3283
  * @param {string} id
@@ -3426,14 +3290,24 @@ export class PosesApi extends BaseAPI {
3426
3290
  }
3427
3291
  /**
3428
3292
  *
3293
+ * @param {PosesControllerListPosesV1OrderByEnum} [orderBy]
3294
+ * @param {number} [limit]
3295
+ * @param {string} [cursor]
3429
3296
  * @param {*} [options] Override http request option.
3430
3297
  * @throws {RequiredError}
3431
3298
  * @memberof PosesApi
3432
3299
  */
3433
- posesControllerListStacksV1(options) {
3434
- return PosesApiFp(this.configuration).posesControllerListStacksV1(options).then((request) => request(this.axios, this.basePath));
3300
+ posesControllerListPosesV1(orderBy, limit, cursor, options) {
3301
+ return PosesApiFp(this.configuration).posesControllerListPosesV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
3435
3302
  }
3436
3303
  }
3304
+ /**
3305
+ * @export
3306
+ */
3307
+ export const PosesControllerListPosesV1OrderByEnum = {
3308
+ Asc: 'createdAt_ASC',
3309
+ Desc: 'createdAt_DESC'
3310
+ };
3437
3311
  /**
3438
3312
  * StacksApi - axios parameter creator
3439
3313
  * @export
@@ -2,10 +2,10 @@ import { SDKOptions, ListProps } from '../../types';
2
2
  declare const collections: (options: SDKOptions) => {
3
3
  create: (props?: {
4
4
  metadata?: any;
5
- }) => Promise<import("../../autogenerated").CollectionEntity>;
5
+ }) => Promise<import("../../types").CollectionEntity>;
6
6
  get: (props: {
7
7
  id: string;
8
- }) => Promise<import("../../autogenerated").CollectionEntity | undefined>;
8
+ }) => Promise<import("../../types").CollectionEntity | undefined>;
9
9
  items: {
10
10
  add: (props: {
11
11
  collectionId: string;
@@ -23,6 +23,6 @@ declare const collections: (options: SDKOptions) => {
23
23
  updateMetadata: (props: {
24
24
  id: string;
25
25
  metadata?: any;
26
- }) => Promise<import("../../autogenerated").ResourceEntity>;
26
+ }) => Promise<import("../../types").ResourceEntity>;
27
27
  };
28
28
  export default collections;
@@ -13,12 +13,12 @@ declare const groups: (options: SDKOptions) => {
13
13
  role: RemoveAccountFromGroupControllerParamsDtoRoleEnum;
14
14
  }) => Promise<void>;
15
15
  };
16
- create: () => Promise<import("../../autogenerated").GroupEntity>;
16
+ create: () => Promise<import("../../types").GroupEntity>;
17
17
  delete: (props: {
18
18
  id: string;
19
19
  }) => Promise<void>;
20
20
  get: (props: {
21
21
  id: string;
22
- }) => Promise<import("../../autogenerated").GroupEntity | undefined>;
22
+ }) => Promise<import("../../types").GroupEntity | undefined>;
23
23
  };
24
24
  export default groups;
@@ -2,13 +2,13 @@ import { SDKOptions } from '../../types';
2
2
  declare const images: (options: SDKOptions) => {
3
3
  createFromFile: (props: {
4
4
  file: any;
5
- }) => Promise<import("../../autogenerated").ImageEntity>;
5
+ }) => Promise<import("../../types").ImageEntity>;
6
6
  createFromUrl: (props: {
7
7
  url: string;
8
- }) => Promise<import("../../autogenerated").ImageEntity>;
8
+ }) => Promise<import("../../types").ImageEntity>;
9
9
  get: (props: {
10
10
  id: string;
11
- }) => Promise<import("../../autogenerated").ImageEntity | undefined>;
11
+ }) => Promise<import("../../types").ImageEntity | undefined>;
12
12
  getUrls: (props: {
13
13
  ids: string[];
14
14
  }) => Promise<Record<string, string>>;