@hautechai/sdk 0.2.6 → 0.3.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.
|
@@ -25,30 +25,6 @@ export interface AccountEntity {
|
|
|
25
25
|
* @memberof AccountEntity
|
|
26
26
|
*/
|
|
27
27
|
'id': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AccountEntity
|
|
32
|
-
*/
|
|
33
|
-
'applicationId': string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {object}
|
|
37
|
-
* @memberof AccountEntity
|
|
38
|
-
*/
|
|
39
|
-
'balance': object;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AccountEntity
|
|
44
|
-
*/
|
|
45
|
-
'createdAt': string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AccountEntity
|
|
50
|
-
*/
|
|
51
|
-
'alias'?: string;
|
|
52
28
|
/**
|
|
53
29
|
*
|
|
54
30
|
* @type {string}
|
|
@@ -270,24 +246,12 @@ export interface CollectionEntity {
|
|
|
270
246
|
* @memberof CollectionEntity
|
|
271
247
|
*/
|
|
272
248
|
'kind': number;
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @type {Array<ResourceEntity>}
|
|
276
|
-
* @memberof CollectionEntity
|
|
277
|
-
*/
|
|
278
|
-
'items': Array<ResourceEntity>;
|
|
279
249
|
/**
|
|
280
250
|
*
|
|
281
251
|
* @type {string}
|
|
282
252
|
* @memberof CollectionEntity
|
|
283
253
|
*/
|
|
284
254
|
'id': string;
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* @type {AccountEntity}
|
|
288
|
-
* @memberof CollectionEntity
|
|
289
|
-
*/
|
|
290
|
-
'creator': AccountEntity;
|
|
291
255
|
/**
|
|
292
256
|
*
|
|
293
257
|
* @type {string}
|
|
@@ -312,18 +276,6 @@ export interface CollectionEntity {
|
|
|
312
276
|
* @memberof CollectionEntity
|
|
313
277
|
*/
|
|
314
278
|
'updatedAt': string;
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @type {Array<CollectionEntity>}
|
|
318
|
-
* @memberof CollectionEntity
|
|
319
|
-
*/
|
|
320
|
-
'collections': Array<CollectionEntity>;
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* @type {Array<RepresentationEntity>}
|
|
324
|
-
* @memberof CollectionEntity
|
|
325
|
-
*/
|
|
326
|
-
'representations': Array<RepresentationEntity>;
|
|
327
279
|
}
|
|
328
280
|
/**
|
|
329
281
|
*
|
|
@@ -468,12 +420,6 @@ export interface CompositeV1Response {
|
|
|
468
420
|
* @memberof CompositeV1Response
|
|
469
421
|
*/
|
|
470
422
|
'id': string;
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @type {AccountEntity}
|
|
474
|
-
* @memberof CompositeV1Response
|
|
475
|
-
*/
|
|
476
|
-
'creator': AccountEntity;
|
|
477
423
|
/**
|
|
478
424
|
*
|
|
479
425
|
* @type {string}
|
|
@@ -498,18 +444,6 @@ export interface CompositeV1Response {
|
|
|
498
444
|
* @memberof CompositeV1Response
|
|
499
445
|
*/
|
|
500
446
|
'updatedAt': string;
|
|
501
|
-
/**
|
|
502
|
-
*
|
|
503
|
-
* @type {Array<CollectionEntity>}
|
|
504
|
-
* @memberof CompositeV1Response
|
|
505
|
-
*/
|
|
506
|
-
'collections': Array<CollectionEntity>;
|
|
507
|
-
/**
|
|
508
|
-
*
|
|
509
|
-
* @type {Array<RepresentationEntity>}
|
|
510
|
-
* @memberof CompositeV1Response
|
|
511
|
-
*/
|
|
512
|
-
'representations': Array<RepresentationEntity>;
|
|
513
447
|
}
|
|
514
448
|
export declare const CompositeV1ResponseKindEnum: {
|
|
515
449
|
readonly Operation: "operation";
|
|
@@ -691,12 +625,6 @@ export interface CutV1Response {
|
|
|
691
625
|
* @memberof CutV1Response
|
|
692
626
|
*/
|
|
693
627
|
'id': string;
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {AccountEntity}
|
|
697
|
-
* @memberof CutV1Response
|
|
698
|
-
*/
|
|
699
|
-
'creator': AccountEntity;
|
|
700
628
|
/**
|
|
701
629
|
*
|
|
702
630
|
* @type {string}
|
|
@@ -721,18 +649,6 @@ export interface CutV1Response {
|
|
|
721
649
|
* @memberof CutV1Response
|
|
722
650
|
*/
|
|
723
651
|
'updatedAt': string;
|
|
724
|
-
/**
|
|
725
|
-
*
|
|
726
|
-
* @type {Array<CollectionEntity>}
|
|
727
|
-
* @memberof CutV1Response
|
|
728
|
-
*/
|
|
729
|
-
'collections': Array<CollectionEntity>;
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @type {Array<RepresentationEntity>}
|
|
733
|
-
* @memberof CutV1Response
|
|
734
|
-
*/
|
|
735
|
-
'representations': Array<RepresentationEntity>;
|
|
736
652
|
}
|
|
737
653
|
export declare const CutV1ResponseKindEnum: {
|
|
738
654
|
readonly Operation: "operation";
|
|
@@ -1075,12 +991,6 @@ export interface GptV1Response {
|
|
|
1075
991
|
* @memberof GptV1Response
|
|
1076
992
|
*/
|
|
1077
993
|
'id': string;
|
|
1078
|
-
/**
|
|
1079
|
-
*
|
|
1080
|
-
* @type {AccountEntity}
|
|
1081
|
-
* @memberof GptV1Response
|
|
1082
|
-
*/
|
|
1083
|
-
'creator': AccountEntity;
|
|
1084
994
|
/**
|
|
1085
995
|
*
|
|
1086
996
|
* @type {string}
|
|
@@ -1105,18 +1015,6 @@ export interface GptV1Response {
|
|
|
1105
1015
|
* @memberof GptV1Response
|
|
1106
1016
|
*/
|
|
1107
1017
|
'updatedAt': string;
|
|
1108
|
-
/**
|
|
1109
|
-
*
|
|
1110
|
-
* @type {Array<CollectionEntity>}
|
|
1111
|
-
* @memberof GptV1Response
|
|
1112
|
-
*/
|
|
1113
|
-
'collections': Array<CollectionEntity>;
|
|
1114
|
-
/**
|
|
1115
|
-
*
|
|
1116
|
-
* @type {Array<RepresentationEntity>}
|
|
1117
|
-
* @memberof GptV1Response
|
|
1118
|
-
*/
|
|
1119
|
-
'representations': Array<RepresentationEntity>;
|
|
1120
1018
|
}
|
|
1121
1019
|
export declare const GptV1ResponseKindEnum: {
|
|
1122
1020
|
readonly Operation: "operation";
|
|
@@ -1206,24 +1104,6 @@ export interface GroupEntity {
|
|
|
1206
1104
|
* @memberof GroupEntity
|
|
1207
1105
|
*/
|
|
1208
1106
|
'id': string;
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof GroupEntity
|
|
1213
|
-
*/
|
|
1214
|
-
'applicationId': string;
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @type {AccountEntity}
|
|
1218
|
-
* @memberof GroupEntity
|
|
1219
|
-
*/
|
|
1220
|
-
'creator': AccountEntity;
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {string}
|
|
1224
|
-
* @memberof GroupEntity
|
|
1225
|
-
*/
|
|
1226
|
-
'creatorId': string;
|
|
1227
1107
|
/**
|
|
1228
1108
|
*
|
|
1229
1109
|
* @type {string}
|
|
@@ -1292,12 +1172,6 @@ export interface HauteLindaV1Response {
|
|
|
1292
1172
|
* @memberof HauteLindaV1Response
|
|
1293
1173
|
*/
|
|
1294
1174
|
'id': string;
|
|
1295
|
-
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @type {AccountEntity}
|
|
1298
|
-
* @memberof HauteLindaV1Response
|
|
1299
|
-
*/
|
|
1300
|
-
'creator': AccountEntity;
|
|
1301
1175
|
/**
|
|
1302
1176
|
*
|
|
1303
1177
|
* @type {string}
|
|
@@ -1322,18 +1196,6 @@ export interface HauteLindaV1Response {
|
|
|
1322
1196
|
* @memberof HauteLindaV1Response
|
|
1323
1197
|
*/
|
|
1324
1198
|
'updatedAt': string;
|
|
1325
|
-
/**
|
|
1326
|
-
*
|
|
1327
|
-
* @type {Array<CollectionEntity>}
|
|
1328
|
-
* @memberof HauteLindaV1Response
|
|
1329
|
-
*/
|
|
1330
|
-
'collections': Array<CollectionEntity>;
|
|
1331
|
-
/**
|
|
1332
|
-
*
|
|
1333
|
-
* @type {Array<RepresentationEntity>}
|
|
1334
|
-
* @memberof HauteLindaV1Response
|
|
1335
|
-
*/
|
|
1336
|
-
'representations': Array<RepresentationEntity>;
|
|
1337
1199
|
}
|
|
1338
1200
|
export declare const HauteLindaV1ResponseKindEnum: {
|
|
1339
1201
|
readonly Operation: "operation";
|
|
@@ -1406,12 +1268,6 @@ export interface HauteNaomiV1Response {
|
|
|
1406
1268
|
* @memberof HauteNaomiV1Response
|
|
1407
1269
|
*/
|
|
1408
1270
|
'id': string;
|
|
1409
|
-
/**
|
|
1410
|
-
*
|
|
1411
|
-
* @type {AccountEntity}
|
|
1412
|
-
* @memberof HauteNaomiV1Response
|
|
1413
|
-
*/
|
|
1414
|
-
'creator': AccountEntity;
|
|
1415
1271
|
/**
|
|
1416
1272
|
*
|
|
1417
1273
|
* @type {string}
|
|
@@ -1436,18 +1292,6 @@ export interface HauteNaomiV1Response {
|
|
|
1436
1292
|
* @memberof HauteNaomiV1Response
|
|
1437
1293
|
*/
|
|
1438
1294
|
'updatedAt': string;
|
|
1439
|
-
/**
|
|
1440
|
-
*
|
|
1441
|
-
* @type {Array<CollectionEntity>}
|
|
1442
|
-
* @memberof HauteNaomiV1Response
|
|
1443
|
-
*/
|
|
1444
|
-
'collections': Array<CollectionEntity>;
|
|
1445
|
-
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @type {Array<RepresentationEntity>}
|
|
1448
|
-
* @memberof HauteNaomiV1Response
|
|
1449
|
-
*/
|
|
1450
|
-
'representations': Array<RepresentationEntity>;
|
|
1451
1295
|
}
|
|
1452
1296
|
export declare const HauteNaomiV1ResponseKindEnum: {
|
|
1453
1297
|
readonly Operation: "operation";
|
|
@@ -1477,12 +1321,6 @@ export interface ImageEntity {
|
|
|
1477
1321
|
* @memberof ImageEntity
|
|
1478
1322
|
*/
|
|
1479
1323
|
'id': string;
|
|
1480
|
-
/**
|
|
1481
|
-
*
|
|
1482
|
-
* @type {AccountEntity}
|
|
1483
|
-
* @memberof ImageEntity
|
|
1484
|
-
*/
|
|
1485
|
-
'creator': AccountEntity;
|
|
1486
1324
|
/**
|
|
1487
1325
|
*
|
|
1488
1326
|
* @type {string}
|
|
@@ -1507,24 +1345,6 @@ export interface ImageEntity {
|
|
|
1507
1345
|
* @memberof ImageEntity
|
|
1508
1346
|
*/
|
|
1509
1347
|
'updatedAt': string;
|
|
1510
|
-
/**
|
|
1511
|
-
*
|
|
1512
|
-
* @type {Array<CollectionEntity>}
|
|
1513
|
-
* @memberof ImageEntity
|
|
1514
|
-
*/
|
|
1515
|
-
'collections': Array<CollectionEntity>;
|
|
1516
|
-
/**
|
|
1517
|
-
*
|
|
1518
|
-
* @type {Array<RepresentationEntity>}
|
|
1519
|
-
* @memberof ImageEntity
|
|
1520
|
-
*/
|
|
1521
|
-
'representations': Array<RepresentationEntity>;
|
|
1522
|
-
/**
|
|
1523
|
-
*
|
|
1524
|
-
* @type {string}
|
|
1525
|
-
* @memberof ImageEntity
|
|
1526
|
-
*/
|
|
1527
|
-
'uri': string;
|
|
1528
1348
|
/**
|
|
1529
1349
|
*
|
|
1530
1350
|
* @type {number}
|
|
@@ -1665,12 +1485,6 @@ export interface ImagineKateV1Response {
|
|
|
1665
1485
|
* @memberof ImagineKateV1Response
|
|
1666
1486
|
*/
|
|
1667
1487
|
'id': string;
|
|
1668
|
-
/**
|
|
1669
|
-
*
|
|
1670
|
-
* @type {AccountEntity}
|
|
1671
|
-
* @memberof ImagineKateV1Response
|
|
1672
|
-
*/
|
|
1673
|
-
'creator': AccountEntity;
|
|
1674
1488
|
/**
|
|
1675
1489
|
*
|
|
1676
1490
|
* @type {string}
|
|
@@ -1695,18 +1509,6 @@ export interface ImagineKateV1Response {
|
|
|
1695
1509
|
* @memberof ImagineKateV1Response
|
|
1696
1510
|
*/
|
|
1697
1511
|
'updatedAt': string;
|
|
1698
|
-
/**
|
|
1699
|
-
*
|
|
1700
|
-
* @type {Array<CollectionEntity>}
|
|
1701
|
-
* @memberof ImagineKateV1Response
|
|
1702
|
-
*/
|
|
1703
|
-
'collections': Array<CollectionEntity>;
|
|
1704
|
-
/**
|
|
1705
|
-
*
|
|
1706
|
-
* @type {Array<RepresentationEntity>}
|
|
1707
|
-
* @memberof ImagineKateV1Response
|
|
1708
|
-
*/
|
|
1709
|
-
'representations': Array<RepresentationEntity>;
|
|
1710
1512
|
}
|
|
1711
1513
|
export declare const ImagineKateV1ResponseKindEnum: {
|
|
1712
1514
|
readonly Operation: "operation";
|
|
@@ -1792,12 +1594,6 @@ export interface InpaintKateV1Response {
|
|
|
1792
1594
|
* @memberof InpaintKateV1Response
|
|
1793
1595
|
*/
|
|
1794
1596
|
'id': string;
|
|
1795
|
-
/**
|
|
1796
|
-
*
|
|
1797
|
-
* @type {AccountEntity}
|
|
1798
|
-
* @memberof InpaintKateV1Response
|
|
1799
|
-
*/
|
|
1800
|
-
'creator': AccountEntity;
|
|
1801
1597
|
/**
|
|
1802
1598
|
*
|
|
1803
1599
|
* @type {string}
|
|
@@ -1822,18 +1618,6 @@ export interface InpaintKateV1Response {
|
|
|
1822
1618
|
* @memberof InpaintKateV1Response
|
|
1823
1619
|
*/
|
|
1824
1620
|
'updatedAt': string;
|
|
1825
|
-
/**
|
|
1826
|
-
*
|
|
1827
|
-
* @type {Array<CollectionEntity>}
|
|
1828
|
-
* @memberof InpaintKateV1Response
|
|
1829
|
-
*/
|
|
1830
|
-
'collections': Array<CollectionEntity>;
|
|
1831
|
-
/**
|
|
1832
|
-
*
|
|
1833
|
-
* @type {Array<RepresentationEntity>}
|
|
1834
|
-
* @memberof InpaintKateV1Response
|
|
1835
|
-
*/
|
|
1836
|
-
'representations': Array<RepresentationEntity>;
|
|
1837
1621
|
}
|
|
1838
1622
|
export declare const InpaintKateV1ResponseKindEnum: {
|
|
1839
1623
|
readonly Operation: "operation";
|
|
@@ -1948,7 +1732,18 @@ export interface KateInpaintV1Input {
|
|
|
1948
1732
|
* @memberof KateInpaintV1Input
|
|
1949
1733
|
*/
|
|
1950
1734
|
'guidanceScale'?: number;
|
|
1735
|
+
/**
|
|
1736
|
+
*
|
|
1737
|
+
* @type {string}
|
|
1738
|
+
* @memberof KateInpaintV1Input
|
|
1739
|
+
*/
|
|
1740
|
+
'branch'?: KateInpaintV1InputBranchEnum;
|
|
1951
1741
|
}
|
|
1742
|
+
export declare const KateInpaintV1InputBranchEnum: {
|
|
1743
|
+
readonly Stable: "stable";
|
|
1744
|
+
readonly Nightly: "nightly";
|
|
1745
|
+
};
|
|
1746
|
+
export type KateInpaintV1InputBranchEnum = typeof KateInpaintV1InputBranchEnum[keyof typeof KateInpaintV1InputBranchEnum];
|
|
1952
1747
|
/**
|
|
1953
1748
|
*
|
|
1954
1749
|
* @export
|
|
@@ -2519,12 +2314,6 @@ export interface NegateImageV1Response {
|
|
|
2519
2314
|
* @memberof NegateImageV1Response
|
|
2520
2315
|
*/
|
|
2521
2316
|
'id': string;
|
|
2522
|
-
/**
|
|
2523
|
-
*
|
|
2524
|
-
* @type {AccountEntity}
|
|
2525
|
-
* @memberof NegateImageV1Response
|
|
2526
|
-
*/
|
|
2527
|
-
'creator': AccountEntity;
|
|
2528
2317
|
/**
|
|
2529
2318
|
*
|
|
2530
2319
|
* @type {string}
|
|
@@ -2549,18 +2338,6 @@ export interface NegateImageV1Response {
|
|
|
2549
2338
|
* @memberof NegateImageV1Response
|
|
2550
2339
|
*/
|
|
2551
2340
|
'updatedAt': string;
|
|
2552
|
-
/**
|
|
2553
|
-
*
|
|
2554
|
-
* @type {Array<CollectionEntity>}
|
|
2555
|
-
* @memberof NegateImageV1Response
|
|
2556
|
-
*/
|
|
2557
|
-
'collections': Array<CollectionEntity>;
|
|
2558
|
-
/**
|
|
2559
|
-
*
|
|
2560
|
-
* @type {Array<RepresentationEntity>}
|
|
2561
|
-
* @memberof NegateImageV1Response
|
|
2562
|
-
*/
|
|
2563
|
-
'representations': Array<RepresentationEntity>;
|
|
2564
2341
|
}
|
|
2565
2342
|
export declare const NegateImageV1ResponseKindEnum: {
|
|
2566
2343
|
readonly Operation: "operation";
|
|
@@ -2652,12 +2429,6 @@ export interface ObjectDetectionV1Response {
|
|
|
2652
2429
|
* @memberof ObjectDetectionV1Response
|
|
2653
2430
|
*/
|
|
2654
2431
|
'id': string;
|
|
2655
|
-
/**
|
|
2656
|
-
*
|
|
2657
|
-
* @type {AccountEntity}
|
|
2658
|
-
* @memberof ObjectDetectionV1Response
|
|
2659
|
-
*/
|
|
2660
|
-
'creator': AccountEntity;
|
|
2661
2432
|
/**
|
|
2662
2433
|
*
|
|
2663
2434
|
* @type {string}
|
|
@@ -2682,18 +2453,6 @@ export interface ObjectDetectionV1Response {
|
|
|
2682
2453
|
* @memberof ObjectDetectionV1Response
|
|
2683
2454
|
*/
|
|
2684
2455
|
'updatedAt': string;
|
|
2685
|
-
/**
|
|
2686
|
-
*
|
|
2687
|
-
* @type {Array<CollectionEntity>}
|
|
2688
|
-
* @memberof ObjectDetectionV1Response
|
|
2689
|
-
*/
|
|
2690
|
-
'collections': Array<CollectionEntity>;
|
|
2691
|
-
/**
|
|
2692
|
-
*
|
|
2693
|
-
* @type {Array<RepresentationEntity>}
|
|
2694
|
-
* @memberof ObjectDetectionV1Response
|
|
2695
|
-
*/
|
|
2696
|
-
'representations': Array<RepresentationEntity>;
|
|
2697
2456
|
}
|
|
2698
2457
|
export declare const ObjectDetectionV1ResponseKindEnum: {
|
|
2699
2458
|
readonly Operation: "operation";
|
|
@@ -2747,12 +2506,6 @@ export interface OperationEntity {
|
|
|
2747
2506
|
* @memberof OperationEntity
|
|
2748
2507
|
*/
|
|
2749
2508
|
'id': string;
|
|
2750
|
-
/**
|
|
2751
|
-
*
|
|
2752
|
-
* @type {AccountEntity}
|
|
2753
|
-
* @memberof OperationEntity
|
|
2754
|
-
*/
|
|
2755
|
-
'creator': AccountEntity;
|
|
2756
2509
|
/**
|
|
2757
2510
|
*
|
|
2758
2511
|
* @type {string}
|
|
@@ -2777,18 +2530,6 @@ export interface OperationEntity {
|
|
|
2777
2530
|
* @memberof OperationEntity
|
|
2778
2531
|
*/
|
|
2779
2532
|
'updatedAt': string;
|
|
2780
|
-
/**
|
|
2781
|
-
*
|
|
2782
|
-
* @type {Array<CollectionEntity>}
|
|
2783
|
-
* @memberof OperationEntity
|
|
2784
|
-
*/
|
|
2785
|
-
'collections': Array<CollectionEntity>;
|
|
2786
|
-
/**
|
|
2787
|
-
*
|
|
2788
|
-
* @type {Array<RepresentationEntity>}
|
|
2789
|
-
* @memberof OperationEntity
|
|
2790
|
-
*/
|
|
2791
|
-
'representations': Array<RepresentationEntity>;
|
|
2792
2533
|
}
|
|
2793
2534
|
export declare const OperationEntityKindEnum: {
|
|
2794
2535
|
readonly Operation: "operation";
|
|
@@ -2911,12 +2652,6 @@ export interface PipelineEntity {
|
|
|
2911
2652
|
* @memberof PipelineEntity
|
|
2912
2653
|
*/
|
|
2913
2654
|
'id': string;
|
|
2914
|
-
/**
|
|
2915
|
-
*
|
|
2916
|
-
* @type {AccountEntity}
|
|
2917
|
-
* @memberof PipelineEntity
|
|
2918
|
-
*/
|
|
2919
|
-
'creator': AccountEntity;
|
|
2920
2655
|
/**
|
|
2921
2656
|
*
|
|
2922
2657
|
* @type {string}
|
|
@@ -2941,18 +2676,6 @@ export interface PipelineEntity {
|
|
|
2941
2676
|
* @memberof PipelineEntity
|
|
2942
2677
|
*/
|
|
2943
2678
|
'updatedAt': string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {Array<CollectionEntity>}
|
|
2947
|
-
* @memberof PipelineEntity
|
|
2948
|
-
*/
|
|
2949
|
-
'collections': Array<CollectionEntity>;
|
|
2950
|
-
/**
|
|
2951
|
-
*
|
|
2952
|
-
* @type {Array<RepresentationEntity>}
|
|
2953
|
-
* @memberof PipelineEntity
|
|
2954
|
-
*/
|
|
2955
|
-
'representations': Array<RepresentationEntity>;
|
|
2956
2679
|
}
|
|
2957
2680
|
export declare const PipelineEntityKindEnum: {
|
|
2958
2681
|
readonly Pipeline: "pipeline";
|
|
@@ -2982,12 +2705,6 @@ export interface PoseEntity {
|
|
|
2982
2705
|
* @memberof PoseEntity
|
|
2983
2706
|
*/
|
|
2984
2707
|
'sourceImage': ImageEntity;
|
|
2985
|
-
/**
|
|
2986
|
-
*
|
|
2987
|
-
* @type {string}
|
|
2988
|
-
* @memberof PoseEntity
|
|
2989
|
-
*/
|
|
2990
|
-
'sourceImageId': string;
|
|
2991
2708
|
/**
|
|
2992
2709
|
*
|
|
2993
2710
|
* @type {ImageEntity}
|
|
@@ -3006,12 +2723,6 @@ export interface PoseEntity {
|
|
|
3006
2723
|
* @memberof PoseEntity
|
|
3007
2724
|
*/
|
|
3008
2725
|
'id': string;
|
|
3009
|
-
/**
|
|
3010
|
-
*
|
|
3011
|
-
* @type {AccountEntity}
|
|
3012
|
-
* @memberof PoseEntity
|
|
3013
|
-
*/
|
|
3014
|
-
'creator': AccountEntity;
|
|
3015
2726
|
/**
|
|
3016
2727
|
*
|
|
3017
2728
|
* @type {string}
|
|
@@ -3036,18 +2747,6 @@ export interface PoseEntity {
|
|
|
3036
2747
|
* @memberof PoseEntity
|
|
3037
2748
|
*/
|
|
3038
2749
|
'updatedAt': string;
|
|
3039
|
-
/**
|
|
3040
|
-
*
|
|
3041
|
-
* @type {Array<CollectionEntity>}
|
|
3042
|
-
* @memberof PoseEntity
|
|
3043
|
-
*/
|
|
3044
|
-
'collections': Array<CollectionEntity>;
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @type {Array<RepresentationEntity>}
|
|
3048
|
-
* @memberof PoseEntity
|
|
3049
|
-
*/
|
|
3050
|
-
'representations': Array<RepresentationEntity>;
|
|
3051
2750
|
}
|
|
3052
2751
|
export declare const PoseEntityKindEnum: {
|
|
3053
2752
|
readonly Pose: "pose";
|
|
@@ -3127,12 +2826,6 @@ export interface PoseEstimationV1Response {
|
|
|
3127
2826
|
* @memberof PoseEstimationV1Response
|
|
3128
2827
|
*/
|
|
3129
2828
|
'id': string;
|
|
3130
|
-
/**
|
|
3131
|
-
*
|
|
3132
|
-
* @type {AccountEntity}
|
|
3133
|
-
* @memberof PoseEstimationV1Response
|
|
3134
|
-
*/
|
|
3135
|
-
'creator': AccountEntity;
|
|
3136
2829
|
/**
|
|
3137
2830
|
*
|
|
3138
2831
|
* @type {string}
|
|
@@ -3157,18 +2850,6 @@ export interface PoseEstimationV1Response {
|
|
|
3157
2850
|
* @memberof PoseEstimationV1Response
|
|
3158
2851
|
*/
|
|
3159
2852
|
'updatedAt': string;
|
|
3160
|
-
/**
|
|
3161
|
-
*
|
|
3162
|
-
* @type {Array<CollectionEntity>}
|
|
3163
|
-
* @memberof PoseEstimationV1Response
|
|
3164
|
-
*/
|
|
3165
|
-
'collections': Array<CollectionEntity>;
|
|
3166
|
-
/**
|
|
3167
|
-
*
|
|
3168
|
-
* @type {Array<RepresentationEntity>}
|
|
3169
|
-
* @memberof PoseEstimationV1Response
|
|
3170
|
-
*/
|
|
3171
|
-
'representations': Array<RepresentationEntity>;
|
|
3172
2853
|
}
|
|
3173
2854
|
export declare const PoseEstimationV1ResponseKindEnum: {
|
|
3174
2855
|
readonly Operation: "operation";
|
|
@@ -3287,54 +2968,6 @@ export interface RemoveItemsFromStackParamsDto {
|
|
|
3287
2968
|
*/
|
|
3288
2969
|
'itemIds': Array<string>;
|
|
3289
2970
|
}
|
|
3290
|
-
/**
|
|
3291
|
-
*
|
|
3292
|
-
* @export
|
|
3293
|
-
* @interface RepresentationEntity
|
|
3294
|
-
*/
|
|
3295
|
-
export interface RepresentationEntity {
|
|
3296
|
-
/**
|
|
3297
|
-
*
|
|
3298
|
-
* @type {string}
|
|
3299
|
-
* @memberof RepresentationEntity
|
|
3300
|
-
*/
|
|
3301
|
-
'id': string;
|
|
3302
|
-
/**
|
|
3303
|
-
*
|
|
3304
|
-
* @type {ResourceEntity}
|
|
3305
|
-
* @memberof RepresentationEntity
|
|
3306
|
-
*/
|
|
3307
|
-
'resource': ResourceEntity;
|
|
3308
|
-
/**
|
|
3309
|
-
*
|
|
3310
|
-
* @type {string}
|
|
3311
|
-
* @memberof RepresentationEntity
|
|
3312
|
-
*/
|
|
3313
|
-
'resourceId': string;
|
|
3314
|
-
/**
|
|
3315
|
-
*
|
|
3316
|
-
* @type {string}
|
|
3317
|
-
* @memberof RepresentationEntity
|
|
3318
|
-
*/
|
|
3319
|
-
'createdAt': string;
|
|
3320
|
-
/**
|
|
3321
|
-
*
|
|
3322
|
-
* @type {string}
|
|
3323
|
-
* @memberof RepresentationEntity
|
|
3324
|
-
*/
|
|
3325
|
-
'type': RepresentationEntityTypeEnum;
|
|
3326
|
-
/**
|
|
3327
|
-
*
|
|
3328
|
-
* @type {string}
|
|
3329
|
-
* @memberof RepresentationEntity
|
|
3330
|
-
*/
|
|
3331
|
-
'uri': string;
|
|
3332
|
-
}
|
|
3333
|
-
export declare const RepresentationEntityTypeEnum: {
|
|
3334
|
-
readonly SamV1: "sam.v1";
|
|
3335
|
-
readonly PoseV1: "pose.v1";
|
|
3336
|
-
};
|
|
3337
|
-
export type RepresentationEntityTypeEnum = typeof RepresentationEntityTypeEnum[keyof typeof RepresentationEntityTypeEnum];
|
|
3338
2971
|
/**
|
|
3339
2972
|
*
|
|
3340
2973
|
* @export
|
|
@@ -3353,12 +2986,6 @@ export interface ResourceEntity {
|
|
|
3353
2986
|
* @memberof ResourceEntity
|
|
3354
2987
|
*/
|
|
3355
2988
|
'id': string;
|
|
3356
|
-
/**
|
|
3357
|
-
*
|
|
3358
|
-
* @type {AccountEntity}
|
|
3359
|
-
* @memberof ResourceEntity
|
|
3360
|
-
*/
|
|
3361
|
-
'creator': AccountEntity;
|
|
3362
2989
|
/**
|
|
3363
2990
|
*
|
|
3364
2991
|
* @type {string}
|
|
@@ -3383,18 +3010,6 @@ export interface ResourceEntity {
|
|
|
3383
3010
|
* @memberof ResourceEntity
|
|
3384
3011
|
*/
|
|
3385
3012
|
'updatedAt': string;
|
|
3386
|
-
/**
|
|
3387
|
-
*
|
|
3388
|
-
* @type {Array<CollectionEntity>}
|
|
3389
|
-
* @memberof ResourceEntity
|
|
3390
|
-
*/
|
|
3391
|
-
'collections': Array<CollectionEntity>;
|
|
3392
|
-
/**
|
|
3393
|
-
*
|
|
3394
|
-
* @type {Array<RepresentationEntity>}
|
|
3395
|
-
* @memberof ResourceEntity
|
|
3396
|
-
*/
|
|
3397
|
-
'representations': Array<RepresentationEntity>;
|
|
3398
3013
|
}
|
|
3399
3014
|
export declare const ResourceEntityKindEnum: {
|
|
3400
3015
|
readonly Collection: "collection";
|
|
@@ -3480,12 +3095,6 @@ export interface SegmentAnythingEmbeddingsV1Response {
|
|
|
3480
3095
|
* @memberof SegmentAnythingEmbeddingsV1Response
|
|
3481
3096
|
*/
|
|
3482
3097
|
'id': string;
|
|
3483
|
-
/**
|
|
3484
|
-
*
|
|
3485
|
-
* @type {AccountEntity}
|
|
3486
|
-
* @memberof SegmentAnythingEmbeddingsV1Response
|
|
3487
|
-
*/
|
|
3488
|
-
'creator': AccountEntity;
|
|
3489
3098
|
/**
|
|
3490
3099
|
*
|
|
3491
3100
|
* @type {string}
|
|
@@ -3510,18 +3119,6 @@ export interface SegmentAnythingEmbeddingsV1Response {
|
|
|
3510
3119
|
* @memberof SegmentAnythingEmbeddingsV1Response
|
|
3511
3120
|
*/
|
|
3512
3121
|
'updatedAt': string;
|
|
3513
|
-
/**
|
|
3514
|
-
*
|
|
3515
|
-
* @type {Array<CollectionEntity>}
|
|
3516
|
-
* @memberof SegmentAnythingEmbeddingsV1Response
|
|
3517
|
-
*/
|
|
3518
|
-
'collections': Array<CollectionEntity>;
|
|
3519
|
-
/**
|
|
3520
|
-
*
|
|
3521
|
-
* @type {Array<RepresentationEntity>}
|
|
3522
|
-
* @memberof SegmentAnythingEmbeddingsV1Response
|
|
3523
|
-
*/
|
|
3524
|
-
'representations': Array<RepresentationEntity>;
|
|
3525
3122
|
}
|
|
3526
3123
|
export declare const SegmentAnythingEmbeddingsV1ResponseKindEnum: {
|
|
3527
3124
|
readonly Operation: "operation";
|
|
@@ -3619,12 +3216,6 @@ export interface SegmentAnythingMaskV1Response {
|
|
|
3619
3216
|
* @memberof SegmentAnythingMaskV1Response
|
|
3620
3217
|
*/
|
|
3621
3218
|
'id': string;
|
|
3622
|
-
/**
|
|
3623
|
-
*
|
|
3624
|
-
* @type {AccountEntity}
|
|
3625
|
-
* @memberof SegmentAnythingMaskV1Response
|
|
3626
|
-
*/
|
|
3627
|
-
'creator': AccountEntity;
|
|
3628
3219
|
/**
|
|
3629
3220
|
*
|
|
3630
3221
|
* @type {string}
|
|
@@ -3649,18 +3240,6 @@ export interface SegmentAnythingMaskV1Response {
|
|
|
3649
3240
|
* @memberof SegmentAnythingMaskV1Response
|
|
3650
3241
|
*/
|
|
3651
3242
|
'updatedAt': string;
|
|
3652
|
-
/**
|
|
3653
|
-
*
|
|
3654
|
-
* @type {Array<CollectionEntity>}
|
|
3655
|
-
* @memberof SegmentAnythingMaskV1Response
|
|
3656
|
-
*/
|
|
3657
|
-
'collections': Array<CollectionEntity>;
|
|
3658
|
-
/**
|
|
3659
|
-
*
|
|
3660
|
-
* @type {Array<RepresentationEntity>}
|
|
3661
|
-
* @memberof SegmentAnythingMaskV1Response
|
|
3662
|
-
*/
|
|
3663
|
-
'representations': Array<RepresentationEntity>;
|
|
3664
3243
|
}
|
|
3665
3244
|
export declare const SegmentAnythingMaskV1ResponseKindEnum: {
|
|
3666
3245
|
readonly Operation: "operation";
|
|
@@ -3728,12 +3307,6 @@ export interface StackEntity {
|
|
|
3728
3307
|
* @memberof StackEntity
|
|
3729
3308
|
*/
|
|
3730
3309
|
'id': string;
|
|
3731
|
-
/**
|
|
3732
|
-
*
|
|
3733
|
-
* @type {AccountEntity}
|
|
3734
|
-
* @memberof StackEntity
|
|
3735
|
-
*/
|
|
3736
|
-
'creator': AccountEntity;
|
|
3737
3310
|
/**
|
|
3738
3311
|
*
|
|
3739
3312
|
* @type {string}
|
|
@@ -3758,18 +3331,6 @@ export interface StackEntity {
|
|
|
3758
3331
|
* @memberof StackEntity
|
|
3759
3332
|
*/
|
|
3760
3333
|
'updatedAt': string;
|
|
3761
|
-
/**
|
|
3762
|
-
*
|
|
3763
|
-
* @type {Array<CollectionEntity>}
|
|
3764
|
-
* @memberof StackEntity
|
|
3765
|
-
*/
|
|
3766
|
-
'collections': Array<CollectionEntity>;
|
|
3767
|
-
/**
|
|
3768
|
-
*
|
|
3769
|
-
* @type {Array<RepresentationEntity>}
|
|
3770
|
-
* @memberof StackEntity
|
|
3771
|
-
*/
|
|
3772
|
-
'representations': Array<RepresentationEntity>;
|
|
3773
3334
|
}
|
|
3774
3335
|
export declare const StackEntityKindEnum: {
|
|
3775
3336
|
readonly Stack: "stack";
|
|
@@ -3792,12 +3353,6 @@ export interface StorageEntity {
|
|
|
3792
3353
|
* @memberof StorageEntity
|
|
3793
3354
|
*/
|
|
3794
3355
|
'kind': StorageEntityKindEnum;
|
|
3795
|
-
/**
|
|
3796
|
-
*
|
|
3797
|
-
* @type {string}
|
|
3798
|
-
* @memberof StorageEntity
|
|
3799
|
-
*/
|
|
3800
|
-
'applicationId': string;
|
|
3801
3356
|
/**
|
|
3802
3357
|
*
|
|
3803
3358
|
* @type {string}
|
|
@@ -3816,12 +3371,6 @@ export interface StorageEntity {
|
|
|
3816
3371
|
* @memberof StorageEntity
|
|
3817
3372
|
*/
|
|
3818
3373
|
'id': string;
|
|
3819
|
-
/**
|
|
3820
|
-
*
|
|
3821
|
-
* @type {AccountEntity}
|
|
3822
|
-
* @memberof StorageEntity
|
|
3823
|
-
*/
|
|
3824
|
-
'creator': AccountEntity;
|
|
3825
3374
|
/**
|
|
3826
3375
|
*
|
|
3827
3376
|
* @type {string}
|
|
@@ -3846,18 +3395,6 @@ export interface StorageEntity {
|
|
|
3846
3395
|
* @memberof StorageEntity
|
|
3847
3396
|
*/
|
|
3848
3397
|
'updatedAt': string;
|
|
3849
|
-
/**
|
|
3850
|
-
*
|
|
3851
|
-
* @type {Array<CollectionEntity>}
|
|
3852
|
-
* @memberof StorageEntity
|
|
3853
|
-
*/
|
|
3854
|
-
'collections': Array<CollectionEntity>;
|
|
3855
|
-
/**
|
|
3856
|
-
*
|
|
3857
|
-
* @type {Array<RepresentationEntity>}
|
|
3858
|
-
* @memberof StorageEntity
|
|
3859
|
-
*/
|
|
3860
|
-
'representations': Array<RepresentationEntity>;
|
|
3861
3398
|
}
|
|
3862
3399
|
export declare const StorageEntityKindEnum: {
|
|
3863
3400
|
readonly Storage: "storage";
|
|
@@ -4007,12 +3544,6 @@ export interface UpscaleV1Response {
|
|
|
4007
3544
|
* @memberof UpscaleV1Response
|
|
4008
3545
|
*/
|
|
4009
3546
|
'id': string;
|
|
4010
|
-
/**
|
|
4011
|
-
*
|
|
4012
|
-
* @type {AccountEntity}
|
|
4013
|
-
* @memberof UpscaleV1Response
|
|
4014
|
-
*/
|
|
4015
|
-
'creator': AccountEntity;
|
|
4016
3547
|
/**
|
|
4017
3548
|
*
|
|
4018
3549
|
* @type {string}
|
|
@@ -4037,18 +3568,6 @@ export interface UpscaleV1Response {
|
|
|
4037
3568
|
* @memberof UpscaleV1Response
|
|
4038
3569
|
*/
|
|
4039
3570
|
'updatedAt': string;
|
|
4040
|
-
/**
|
|
4041
|
-
*
|
|
4042
|
-
* @type {Array<CollectionEntity>}
|
|
4043
|
-
* @memberof UpscaleV1Response
|
|
4044
|
-
*/
|
|
4045
|
-
'collections': Array<CollectionEntity>;
|
|
4046
|
-
/**
|
|
4047
|
-
*
|
|
4048
|
-
* @type {Array<RepresentationEntity>}
|
|
4049
|
-
* @memberof UpscaleV1Response
|
|
4050
|
-
*/
|
|
4051
|
-
'representations': Array<RepresentationEntity>;
|
|
4052
3571
|
}
|
|
4053
3572
|
export declare const UpscaleV1ResponseKindEnum: {
|
|
4054
3573
|
readonly Operation: "operation";
|
|
@@ -4121,12 +3640,6 @@ export interface VtonGiseleV1Response {
|
|
|
4121
3640
|
* @memberof VtonGiseleV1Response
|
|
4122
3641
|
*/
|
|
4123
3642
|
'id': string;
|
|
4124
|
-
/**
|
|
4125
|
-
*
|
|
4126
|
-
* @type {AccountEntity}
|
|
4127
|
-
* @memberof VtonGiseleV1Response
|
|
4128
|
-
*/
|
|
4129
|
-
'creator': AccountEntity;
|
|
4130
3643
|
/**
|
|
4131
3644
|
*
|
|
4132
3645
|
* @type {string}
|
|
@@ -4151,18 +3664,6 @@ export interface VtonGiseleV1Response {
|
|
|
4151
3664
|
* @memberof VtonGiseleV1Response
|
|
4152
3665
|
*/
|
|
4153
3666
|
'updatedAt': string;
|
|
4154
|
-
/**
|
|
4155
|
-
*
|
|
4156
|
-
* @type {Array<CollectionEntity>}
|
|
4157
|
-
* @memberof VtonGiseleV1Response
|
|
4158
|
-
*/
|
|
4159
|
-
'collections': Array<CollectionEntity>;
|
|
4160
|
-
/**
|
|
4161
|
-
*
|
|
4162
|
-
* @type {Array<RepresentationEntity>}
|
|
4163
|
-
* @memberof VtonGiseleV1Response
|
|
4164
|
-
*/
|
|
4165
|
-
'representations': Array<RepresentationEntity>;
|
|
4166
3667
|
}
|
|
4167
3668
|
export declare const VtonGiseleV1ResponseKindEnum: {
|
|
4168
3669
|
readonly Operation: "operation";
|
|
@@ -7648,6 +7149,14 @@ export declare const PosesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7648
7149
|
* @throws {RequiredError}
|
|
7649
7150
|
*/
|
|
7650
7151
|
posesControllerSetPosePreviewV1: (id: string, setPosePreviewControllerParamsDto: SetPosePreviewControllerParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7152
|
+
/**
|
|
7153
|
+
*
|
|
7154
|
+
* @param {string} id
|
|
7155
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7156
|
+
* @param {*} [options] Override http request option.
|
|
7157
|
+
* @throws {RequiredError}
|
|
7158
|
+
*/
|
|
7159
|
+
posesControllerUpdateMetadataV1: (id: string, updateMetadataDto: UpdateMetadataDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7651
7160
|
};
|
|
7652
7161
|
/**
|
|
7653
7162
|
* PosesApi - functional programming interface
|
|
@@ -7678,6 +7187,14 @@ export declare const PosesApiFp: (configuration?: Configuration) => {
|
|
|
7678
7187
|
* @throws {RequiredError}
|
|
7679
7188
|
*/
|
|
7680
7189
|
posesControllerSetPosePreviewV1(id: string, setPosePreviewControllerParamsDto: SetPosePreviewControllerParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7190
|
+
/**
|
|
7191
|
+
*
|
|
7192
|
+
* @param {string} id
|
|
7193
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7194
|
+
* @param {*} [options] Override http request option.
|
|
7195
|
+
* @throws {RequiredError}
|
|
7196
|
+
*/
|
|
7197
|
+
posesControllerUpdateMetadataV1(id: string, updateMetadataDto: UpdateMetadataDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceEntity>>;
|
|
7681
7198
|
};
|
|
7682
7199
|
/**
|
|
7683
7200
|
* PosesApi - factory interface
|
|
@@ -7708,6 +7225,14 @@ export declare const PosesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7708
7225
|
* @throws {RequiredError}
|
|
7709
7226
|
*/
|
|
7710
7227
|
posesControllerSetPosePreviewV1(id: string, setPosePreviewControllerParamsDto: SetPosePreviewControllerParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7228
|
+
/**
|
|
7229
|
+
*
|
|
7230
|
+
* @param {string} id
|
|
7231
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7232
|
+
* @param {*} [options] Override http request option.
|
|
7233
|
+
* @throws {RequiredError}
|
|
7234
|
+
*/
|
|
7235
|
+
posesControllerUpdateMetadataV1(id: string, updateMetadataDto: UpdateMetadataDto, options?: RawAxiosRequestConfig): AxiosPromise<ResourceEntity>;
|
|
7711
7236
|
};
|
|
7712
7237
|
/**
|
|
7713
7238
|
* PosesApi - object-oriented interface
|
|
@@ -7743,6 +7268,15 @@ export declare class PosesApi extends BaseAPI {
|
|
|
7743
7268
|
* @memberof PosesApi
|
|
7744
7269
|
*/
|
|
7745
7270
|
posesControllerSetPosePreviewV1(id: string, setPosePreviewControllerParamsDto: SetPosePreviewControllerParamsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7271
|
+
/**
|
|
7272
|
+
*
|
|
7273
|
+
* @param {string} id
|
|
7274
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7275
|
+
* @param {*} [options] Override http request option.
|
|
7276
|
+
* @throws {RequiredError}
|
|
7277
|
+
* @memberof PosesApi
|
|
7278
|
+
*/
|
|
7279
|
+
posesControllerUpdateMetadataV1(id: string, updateMetadataDto: UpdateMetadataDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceEntity, any>>;
|
|
7746
7280
|
}
|
|
7747
7281
|
/**
|
|
7748
7282
|
* @export
|
|
@@ -133,6 +133,10 @@ export const KateImagineV1InputAspectRatioEnum = {
|
|
|
133
133
|
_125: '12:5',
|
|
134
134
|
_512: '5:12'
|
|
135
135
|
};
|
|
136
|
+
export const KateInpaintV1InputBranchEnum = {
|
|
137
|
+
Stable: 'stable',
|
|
138
|
+
Nightly: 'nightly'
|
|
139
|
+
};
|
|
136
140
|
export const LindaHauteV1InputAspectRatioEnum = {
|
|
137
141
|
_11: '1:1',
|
|
138
142
|
_97: '9:7',
|
|
@@ -247,10 +251,6 @@ export const RemoveAccountFromGroupParamsDtoRoleEnum = {
|
|
|
247
251
|
Member: 'member',
|
|
248
252
|
Owner: 'owner'
|
|
249
253
|
};
|
|
250
|
-
export const RepresentationEntityTypeEnum = {
|
|
251
|
-
SamV1: 'sam.v1',
|
|
252
|
-
PoseV1: 'pose.v1'
|
|
253
|
-
};
|
|
254
254
|
export const ResourceEntityKindEnum = {
|
|
255
255
|
Collection: 'collection',
|
|
256
256
|
Operation: 'operation',
|
|
@@ -7517,6 +7517,42 @@ export const PosesApiAxiosParamCreator = function (configuration) {
|
|
|
7517
7517
|
options: localVarRequestOptions,
|
|
7518
7518
|
};
|
|
7519
7519
|
},
|
|
7520
|
+
/**
|
|
7521
|
+
*
|
|
7522
|
+
* @param {string} id
|
|
7523
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7524
|
+
* @param {*} [options] Override http request option.
|
|
7525
|
+
* @throws {RequiredError}
|
|
7526
|
+
*/
|
|
7527
|
+
posesControllerUpdateMetadataV1: async (id, updateMetadataDto, options = {}) => {
|
|
7528
|
+
// verify required parameter 'id' is not null or undefined
|
|
7529
|
+
assertParamExists('posesControllerUpdateMetadataV1', 'id', id);
|
|
7530
|
+
// verify required parameter 'updateMetadataDto' is not null or undefined
|
|
7531
|
+
assertParamExists('posesControllerUpdateMetadataV1', 'updateMetadataDto', updateMetadataDto);
|
|
7532
|
+
const localVarPath = `/v1/poses/{id}/metadata`
|
|
7533
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7534
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7535
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7536
|
+
let baseOptions;
|
|
7537
|
+
if (configuration) {
|
|
7538
|
+
baseOptions = configuration.baseOptions;
|
|
7539
|
+
}
|
|
7540
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
7541
|
+
const localVarHeaderParameter = {};
|
|
7542
|
+
const localVarQueryParameter = {};
|
|
7543
|
+
// authentication bearer required
|
|
7544
|
+
// http bearer authentication required
|
|
7545
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7546
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7549
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7550
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMetadataDto, localVarRequestOptions, configuration);
|
|
7551
|
+
return {
|
|
7552
|
+
url: toPathString(localVarUrlObj),
|
|
7553
|
+
options: localVarRequestOptions,
|
|
7554
|
+
};
|
|
7555
|
+
},
|
|
7520
7556
|
};
|
|
7521
7557
|
};
|
|
7522
7558
|
/**
|
|
@@ -7565,6 +7601,19 @@ export const PosesApiFp = function (configuration) {
|
|
|
7565
7601
|
const localVarOperationServerBasePath = operationServerMap['PosesApi.posesControllerSetPosePreviewV1']?.[localVarOperationServerIndex]?.url;
|
|
7566
7602
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7567
7603
|
},
|
|
7604
|
+
/**
|
|
7605
|
+
*
|
|
7606
|
+
* @param {string} id
|
|
7607
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7608
|
+
* @param {*} [options] Override http request option.
|
|
7609
|
+
* @throws {RequiredError}
|
|
7610
|
+
*/
|
|
7611
|
+
async posesControllerUpdateMetadataV1(id, updateMetadataDto, options) {
|
|
7612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.posesControllerUpdateMetadataV1(id, updateMetadataDto, options);
|
|
7613
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7614
|
+
const localVarOperationServerBasePath = operationServerMap['PosesApi.posesControllerUpdateMetadataV1']?.[localVarOperationServerIndex]?.url;
|
|
7615
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7616
|
+
},
|
|
7568
7617
|
};
|
|
7569
7618
|
};
|
|
7570
7619
|
/**
|
|
@@ -7604,6 +7653,16 @@ export const PosesApiFactory = function (configuration, basePath, axios) {
|
|
|
7604
7653
|
posesControllerSetPosePreviewV1(id, setPosePreviewControllerParamsDto, options) {
|
|
7605
7654
|
return localVarFp.posesControllerSetPosePreviewV1(id, setPosePreviewControllerParamsDto, options).then((request) => request(axios, basePath));
|
|
7606
7655
|
},
|
|
7656
|
+
/**
|
|
7657
|
+
*
|
|
7658
|
+
* @param {string} id
|
|
7659
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7660
|
+
* @param {*} [options] Override http request option.
|
|
7661
|
+
* @throws {RequiredError}
|
|
7662
|
+
*/
|
|
7663
|
+
posesControllerUpdateMetadataV1(id, updateMetadataDto, options) {
|
|
7664
|
+
return localVarFp.posesControllerUpdateMetadataV1(id, updateMetadataDto, options).then((request) => request(axios, basePath));
|
|
7665
|
+
},
|
|
7607
7666
|
};
|
|
7608
7667
|
};
|
|
7609
7668
|
/**
|
|
@@ -7646,6 +7705,17 @@ export class PosesApi extends BaseAPI {
|
|
|
7646
7705
|
posesControllerSetPosePreviewV1(id, setPosePreviewControllerParamsDto, options) {
|
|
7647
7706
|
return PosesApiFp(this.configuration).posesControllerSetPosePreviewV1(id, setPosePreviewControllerParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
7648
7707
|
}
|
|
7708
|
+
/**
|
|
7709
|
+
*
|
|
7710
|
+
* @param {string} id
|
|
7711
|
+
* @param {UpdateMetadataDto} updateMetadataDto
|
|
7712
|
+
* @param {*} [options] Override http request option.
|
|
7713
|
+
* @throws {RequiredError}
|
|
7714
|
+
* @memberof PosesApi
|
|
7715
|
+
*/
|
|
7716
|
+
posesControllerUpdateMetadataV1(id, updateMetadataDto, options) {
|
|
7717
|
+
return PosesApiFp(this.configuration).posesControllerUpdateMetadataV1(id, updateMetadataDto, options).then((request) => request(this.axios, this.basePath));
|
|
7718
|
+
}
|
|
7649
7719
|
}
|
|
7650
7720
|
/**
|
|
7651
7721
|
* @export
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -1209,6 +1209,10 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1209
1209
|
id: string;
|
|
1210
1210
|
}) => Promise<import("../autogenerated").PoseEntity | undefined>;
|
|
1211
1211
|
list: (props: import("../autogenerated").ListPosesParamsDto) => Promise<import("../types").ListResponse<import("../autogenerated").PoseEntity>>;
|
|
1212
|
+
updateMetadata: (props: {
|
|
1213
|
+
id: string;
|
|
1214
|
+
metadata?: StacksMetadata;
|
|
1215
|
+
}) => Promise<void>;
|
|
1212
1216
|
};
|
|
1213
1217
|
close: () => void;
|
|
1214
1218
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ListResponse, SDKOptions } from '../../types';
|
|
2
2
|
import { ListPosesParamsDto, PoseEntity } from '../../autogenerated';
|
|
3
|
+
import { StacksMetadata } from '../index';
|
|
3
4
|
declare const poses: (options: SDKOptions) => {
|
|
4
5
|
putPreview: (props: {
|
|
5
6
|
id: string;
|
|
@@ -9,5 +10,9 @@ declare const poses: (options: SDKOptions) => {
|
|
|
9
10
|
id: string;
|
|
10
11
|
}) => Promise<PoseEntity | undefined>;
|
|
11
12
|
list: (props: ListPosesParamsDto) => Promise<ListResponse<PoseEntity>>;
|
|
13
|
+
updateMetadata: (props: {
|
|
14
|
+
id: string;
|
|
15
|
+
metadata?: StacksMetadata;
|
|
16
|
+
}) => Promise<void>;
|
|
12
17
|
};
|
|
13
18
|
export default poses;
|
package/dist/sdk/poses/index.js
CHANGED
|
@@ -16,6 +16,9 @@ const poses = (options) => {
|
|
|
16
16
|
run: (methods) => methods.posesControllerListPosesV1(props.orderBy, props.limit, props.cursor),
|
|
17
17
|
transform: transformToListResponse,
|
|
18
18
|
}),
|
|
19
|
+
updateMetadata: async (props) => api.call({
|
|
20
|
+
run: (methods) => methods.posesControllerUpdateMetadataV1(props.id, { overwrite: props.metadata ?? {} }),
|
|
21
|
+
}),
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
24
|
export default poses;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hautechai/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"description": "Hautech SDK",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@hautechai/pipelines": "0.3.
|
|
13
|
+
"@hautechai/pipelines": "0.3.4",
|
|
14
14
|
"axios": "1.7.9",
|
|
15
15
|
"jose": "5.9.6",
|
|
16
16
|
"websocket": "^1.0.35"
|