@ideascol/agents-generator-sdk 0.3.0 → 0.3.2
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/bin/cli.js +120 -42
- package/dist/index.js +120 -42
- package/dist/lib/clients/agents-generator/services/AdminAgentsService.d.ts +2 -1
- package/dist/lib/clients/agents-generator/services/AdminCredentialsService.d.ts +17 -11
- package/dist/lib/clients/agents-generator/services/AdminFileLibraryService.d.ts +13 -9
- package/dist/lib/clients/agents-generator/services/AgentService.d.ts +2 -1
- package/dist/lib/clients/agents-generator/services/CredentialsService.d.ts +17 -11
- package/dist/lib/clients/agents-generator/services/FileLibraryService.d.ts +13 -9
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -835,10 +835,13 @@ var init_request = __esm(() => {
|
|
|
835
835
|
|
|
836
836
|
// src/lib/clients/agents-generator/services/AdminAgentsService.ts
|
|
837
837
|
class AdminAgentsService {
|
|
838
|
-
static createAgent(requestBody) {
|
|
838
|
+
static createAgent(requestBody, workspaceId) {
|
|
839
839
|
return request(OpenAPI, {
|
|
840
840
|
method: "POST",
|
|
841
841
|
url: "/agents",
|
|
842
|
+
query: {
|
|
843
|
+
workspace_id: workspaceId
|
|
844
|
+
},
|
|
842
845
|
body: requestBody,
|
|
843
846
|
mediaType: "application/json",
|
|
844
847
|
errors: {
|
|
@@ -1049,16 +1052,13 @@ var init_AdminConversationsService = __esm(() => {
|
|
|
1049
1052
|
|
|
1050
1053
|
// src/lib/clients/agents-generator/services/AdminCredentialsService.ts
|
|
1051
1054
|
class AdminCredentialsService {
|
|
1052
|
-
static
|
|
1053
|
-
return request(OpenAPI, {
|
|
1054
|
-
method: "GET",
|
|
1055
|
-
url: "/credentials"
|
|
1056
|
-
});
|
|
1057
|
-
}
|
|
1058
|
-
static createCredential(requestBody) {
|
|
1055
|
+
static createCredential(requestBody, workspaceId) {
|
|
1059
1056
|
return request(OpenAPI, {
|
|
1060
1057
|
method: "POST",
|
|
1061
1058
|
url: "/credentials",
|
|
1059
|
+
query: {
|
|
1060
|
+
workspace_id: workspaceId
|
|
1061
|
+
},
|
|
1062
1062
|
body: requestBody,
|
|
1063
1063
|
mediaType: "application/json",
|
|
1064
1064
|
errors: {
|
|
@@ -1066,25 +1066,43 @@ class AdminCredentialsService {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
});
|
|
1068
1068
|
}
|
|
1069
|
-
static
|
|
1069
|
+
static getCredentials(workspaceId) {
|
|
1070
|
+
return request(OpenAPI, {
|
|
1071
|
+
method: "GET",
|
|
1072
|
+
url: "/credentials",
|
|
1073
|
+
query: {
|
|
1074
|
+
workspace_id: workspaceId
|
|
1075
|
+
},
|
|
1076
|
+
errors: {
|
|
1077
|
+
422: `Validation Error`
|
|
1078
|
+
}
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
1081
|
+
static getCredential(credentialId, workspaceId) {
|
|
1070
1082
|
return request(OpenAPI, {
|
|
1071
1083
|
method: "GET",
|
|
1072
1084
|
url: "/credentials/{credential_id}",
|
|
1073
1085
|
path: {
|
|
1074
1086
|
credential_id: credentialId
|
|
1075
1087
|
},
|
|
1088
|
+
query: {
|
|
1089
|
+
workspace_id: workspaceId
|
|
1090
|
+
},
|
|
1076
1091
|
errors: {
|
|
1077
1092
|
422: `Validation Error`
|
|
1078
1093
|
}
|
|
1079
1094
|
});
|
|
1080
1095
|
}
|
|
1081
|
-
static updateCredential(credentialId, requestBody) {
|
|
1096
|
+
static updateCredential(credentialId, requestBody, workspaceId) {
|
|
1082
1097
|
return request(OpenAPI, {
|
|
1083
1098
|
method: "PUT",
|
|
1084
1099
|
url: "/credentials/{credential_id}",
|
|
1085
1100
|
path: {
|
|
1086
1101
|
credential_id: credentialId
|
|
1087
1102
|
},
|
|
1103
|
+
query: {
|
|
1104
|
+
workspace_id: workspaceId
|
|
1105
|
+
},
|
|
1088
1106
|
body: requestBody,
|
|
1089
1107
|
mediaType: "application/json",
|
|
1090
1108
|
errors: {
|
|
@@ -1092,25 +1110,31 @@ class AdminCredentialsService {
|
|
|
1092
1110
|
}
|
|
1093
1111
|
});
|
|
1094
1112
|
}
|
|
1095
|
-
static deleteCredential(credentialId) {
|
|
1113
|
+
static deleteCredential(credentialId, workspaceId) {
|
|
1096
1114
|
return request(OpenAPI, {
|
|
1097
1115
|
method: "DELETE",
|
|
1098
1116
|
url: "/credentials/{credential_id}",
|
|
1099
1117
|
path: {
|
|
1100
1118
|
credential_id: credentialId
|
|
1101
1119
|
},
|
|
1120
|
+
query: {
|
|
1121
|
+
workspace_id: workspaceId
|
|
1122
|
+
},
|
|
1102
1123
|
errors: {
|
|
1103
1124
|
422: `Validation Error`
|
|
1104
1125
|
}
|
|
1105
1126
|
});
|
|
1106
1127
|
}
|
|
1107
|
-
static getCredentialDecrypted(credentialId) {
|
|
1128
|
+
static getCredentialDecrypted(credentialId, workspaceId) {
|
|
1108
1129
|
return request(OpenAPI, {
|
|
1109
1130
|
method: "GET",
|
|
1110
1131
|
url: "/credentials/{credential_id}/decrypt",
|
|
1111
1132
|
path: {
|
|
1112
1133
|
credential_id: credentialId
|
|
1113
1134
|
},
|
|
1135
|
+
query: {
|
|
1136
|
+
workspace_id: workspaceId
|
|
1137
|
+
},
|
|
1114
1138
|
errors: {
|
|
1115
1139
|
422: `Validation Error`
|
|
1116
1140
|
}
|
|
@@ -1124,16 +1148,13 @@ var init_AdminCredentialsService = __esm(() => {
|
|
|
1124
1148
|
|
|
1125
1149
|
// src/lib/clients/agents-generator/services/AdminFileLibraryService.ts
|
|
1126
1150
|
class AdminFileLibraryService {
|
|
1127
|
-
static
|
|
1128
|
-
return request(OpenAPI, {
|
|
1129
|
-
method: "GET",
|
|
1130
|
-
url: "/file-library/buckets"
|
|
1131
|
-
});
|
|
1132
|
-
}
|
|
1133
|
-
static createBucket(requestBody) {
|
|
1151
|
+
static createBucket(requestBody, workspaceId) {
|
|
1134
1152
|
return request(OpenAPI, {
|
|
1135
1153
|
method: "POST",
|
|
1136
1154
|
url: "/file-library/buckets",
|
|
1155
|
+
query: {
|
|
1156
|
+
workspace_id: workspaceId
|
|
1157
|
+
},
|
|
1137
1158
|
body: requestBody,
|
|
1138
1159
|
mediaType: "application/json",
|
|
1139
1160
|
errors: {
|
|
@@ -1141,25 +1162,43 @@ class AdminFileLibraryService {
|
|
|
1141
1162
|
}
|
|
1142
1163
|
});
|
|
1143
1164
|
}
|
|
1144
|
-
static
|
|
1165
|
+
static getBuckets(workspaceId) {
|
|
1166
|
+
return request(OpenAPI, {
|
|
1167
|
+
method: "GET",
|
|
1168
|
+
url: "/file-library/buckets",
|
|
1169
|
+
query: {
|
|
1170
|
+
workspace_id: workspaceId
|
|
1171
|
+
},
|
|
1172
|
+
errors: {
|
|
1173
|
+
422: `Validation Error`
|
|
1174
|
+
}
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
static getBucket(bucketId, workspaceId) {
|
|
1145
1178
|
return request(OpenAPI, {
|
|
1146
1179
|
method: "GET",
|
|
1147
1180
|
url: "/file-library/buckets/{bucket_id}",
|
|
1148
1181
|
path: {
|
|
1149
1182
|
bucket_id: bucketId
|
|
1150
1183
|
},
|
|
1184
|
+
query: {
|
|
1185
|
+
workspace_id: workspaceId
|
|
1186
|
+
},
|
|
1151
1187
|
errors: {
|
|
1152
1188
|
422: `Validation Error`
|
|
1153
1189
|
}
|
|
1154
1190
|
});
|
|
1155
1191
|
}
|
|
1156
|
-
static deleteBucket(bucketId) {
|
|
1192
|
+
static deleteBucket(bucketId, workspaceId) {
|
|
1157
1193
|
return request(OpenAPI, {
|
|
1158
1194
|
method: "DELETE",
|
|
1159
1195
|
url: "/file-library/buckets/{bucket_id}",
|
|
1160
1196
|
path: {
|
|
1161
1197
|
bucket_id: bucketId
|
|
1162
1198
|
},
|
|
1199
|
+
query: {
|
|
1200
|
+
workspace_id: workspaceId
|
|
1201
|
+
},
|
|
1163
1202
|
errors: {
|
|
1164
1203
|
422: `Validation Error`
|
|
1165
1204
|
}
|
|
@@ -1388,10 +1427,13 @@ var init_AdminWorkspacesService = __esm(() => {
|
|
|
1388
1427
|
|
|
1389
1428
|
// src/lib/clients/agents-generator/services/AgentService.ts
|
|
1390
1429
|
class AgentService {
|
|
1391
|
-
static createAgent(requestBody) {
|
|
1430
|
+
static createAgent(requestBody, workspaceId) {
|
|
1392
1431
|
return request(OpenAPI, {
|
|
1393
1432
|
method: "POST",
|
|
1394
1433
|
url: "/agents",
|
|
1434
|
+
query: {
|
|
1435
|
+
workspace_id: workspaceId
|
|
1436
|
+
},
|
|
1395
1437
|
body: requestBody,
|
|
1396
1438
|
mediaType: "application/json",
|
|
1397
1439
|
errors: {
|
|
@@ -1621,16 +1663,13 @@ var init_ConversationsService = __esm(() => {
|
|
|
1621
1663
|
|
|
1622
1664
|
// src/lib/clients/agents-generator/services/CredentialsService.ts
|
|
1623
1665
|
class CredentialsService {
|
|
1624
|
-
static
|
|
1625
|
-
return request(OpenAPI, {
|
|
1626
|
-
method: "GET",
|
|
1627
|
-
url: "/credentials"
|
|
1628
|
-
});
|
|
1629
|
-
}
|
|
1630
|
-
static createCredential(requestBody) {
|
|
1666
|
+
static createCredential(requestBody, workspaceId) {
|
|
1631
1667
|
return request(OpenAPI, {
|
|
1632
1668
|
method: "POST",
|
|
1633
1669
|
url: "/credentials",
|
|
1670
|
+
query: {
|
|
1671
|
+
workspace_id: workspaceId
|
|
1672
|
+
},
|
|
1634
1673
|
body: requestBody,
|
|
1635
1674
|
mediaType: "application/json",
|
|
1636
1675
|
errors: {
|
|
@@ -1638,25 +1677,43 @@ class CredentialsService {
|
|
|
1638
1677
|
}
|
|
1639
1678
|
});
|
|
1640
1679
|
}
|
|
1641
|
-
static
|
|
1680
|
+
static getCredentials(workspaceId) {
|
|
1681
|
+
return request(OpenAPI, {
|
|
1682
|
+
method: "GET",
|
|
1683
|
+
url: "/credentials",
|
|
1684
|
+
query: {
|
|
1685
|
+
workspace_id: workspaceId
|
|
1686
|
+
},
|
|
1687
|
+
errors: {
|
|
1688
|
+
422: `Validation Error`
|
|
1689
|
+
}
|
|
1690
|
+
});
|
|
1691
|
+
}
|
|
1692
|
+
static getCredential(credentialId, workspaceId) {
|
|
1642
1693
|
return request(OpenAPI, {
|
|
1643
1694
|
method: "GET",
|
|
1644
1695
|
url: "/credentials/{credential_id}",
|
|
1645
1696
|
path: {
|
|
1646
1697
|
credential_id: credentialId
|
|
1647
1698
|
},
|
|
1699
|
+
query: {
|
|
1700
|
+
workspace_id: workspaceId
|
|
1701
|
+
},
|
|
1648
1702
|
errors: {
|
|
1649
1703
|
422: `Validation Error`
|
|
1650
1704
|
}
|
|
1651
1705
|
});
|
|
1652
1706
|
}
|
|
1653
|
-
static updateCredential(credentialId, requestBody) {
|
|
1707
|
+
static updateCredential(credentialId, requestBody, workspaceId) {
|
|
1654
1708
|
return request(OpenAPI, {
|
|
1655
1709
|
method: "PUT",
|
|
1656
1710
|
url: "/credentials/{credential_id}",
|
|
1657
1711
|
path: {
|
|
1658
1712
|
credential_id: credentialId
|
|
1659
1713
|
},
|
|
1714
|
+
query: {
|
|
1715
|
+
workspace_id: workspaceId
|
|
1716
|
+
},
|
|
1660
1717
|
body: requestBody,
|
|
1661
1718
|
mediaType: "application/json",
|
|
1662
1719
|
errors: {
|
|
@@ -1664,25 +1721,31 @@ class CredentialsService {
|
|
|
1664
1721
|
}
|
|
1665
1722
|
});
|
|
1666
1723
|
}
|
|
1667
|
-
static deleteCredential(credentialId) {
|
|
1724
|
+
static deleteCredential(credentialId, workspaceId) {
|
|
1668
1725
|
return request(OpenAPI, {
|
|
1669
1726
|
method: "DELETE",
|
|
1670
1727
|
url: "/credentials/{credential_id}",
|
|
1671
1728
|
path: {
|
|
1672
1729
|
credential_id: credentialId
|
|
1673
1730
|
},
|
|
1731
|
+
query: {
|
|
1732
|
+
workspace_id: workspaceId
|
|
1733
|
+
},
|
|
1674
1734
|
errors: {
|
|
1675
1735
|
422: `Validation Error`
|
|
1676
1736
|
}
|
|
1677
1737
|
});
|
|
1678
1738
|
}
|
|
1679
|
-
static getCredentialDecrypted(credentialId) {
|
|
1739
|
+
static getCredentialDecrypted(credentialId, workspaceId) {
|
|
1680
1740
|
return request(OpenAPI, {
|
|
1681
1741
|
method: "GET",
|
|
1682
1742
|
url: "/credentials/{credential_id}/decrypt",
|
|
1683
1743
|
path: {
|
|
1684
1744
|
credential_id: credentialId
|
|
1685
1745
|
},
|
|
1746
|
+
query: {
|
|
1747
|
+
workspace_id: workspaceId
|
|
1748
|
+
},
|
|
1686
1749
|
errors: {
|
|
1687
1750
|
422: `Validation Error`
|
|
1688
1751
|
}
|
|
@@ -1696,16 +1759,13 @@ var init_CredentialsService = __esm(() => {
|
|
|
1696
1759
|
|
|
1697
1760
|
// src/lib/clients/agents-generator/services/FileLibraryService.ts
|
|
1698
1761
|
class FileLibraryService {
|
|
1699
|
-
static
|
|
1700
|
-
return request(OpenAPI, {
|
|
1701
|
-
method: "GET",
|
|
1702
|
-
url: "/file-library/buckets"
|
|
1703
|
-
});
|
|
1704
|
-
}
|
|
1705
|
-
static createBucket(requestBody) {
|
|
1762
|
+
static createBucket(requestBody, workspaceId) {
|
|
1706
1763
|
return request(OpenAPI, {
|
|
1707
1764
|
method: "POST",
|
|
1708
1765
|
url: "/file-library/buckets",
|
|
1766
|
+
query: {
|
|
1767
|
+
workspace_id: workspaceId
|
|
1768
|
+
},
|
|
1709
1769
|
body: requestBody,
|
|
1710
1770
|
mediaType: "application/json",
|
|
1711
1771
|
errors: {
|
|
@@ -1713,25 +1773,43 @@ class FileLibraryService {
|
|
|
1713
1773
|
}
|
|
1714
1774
|
});
|
|
1715
1775
|
}
|
|
1716
|
-
static
|
|
1776
|
+
static getBuckets(workspaceId) {
|
|
1777
|
+
return request(OpenAPI, {
|
|
1778
|
+
method: "GET",
|
|
1779
|
+
url: "/file-library/buckets",
|
|
1780
|
+
query: {
|
|
1781
|
+
workspace_id: workspaceId
|
|
1782
|
+
},
|
|
1783
|
+
errors: {
|
|
1784
|
+
422: `Validation Error`
|
|
1785
|
+
}
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1788
|
+
static getBucket(bucketId, workspaceId) {
|
|
1717
1789
|
return request(OpenAPI, {
|
|
1718
1790
|
method: "GET",
|
|
1719
1791
|
url: "/file-library/buckets/{bucket_id}",
|
|
1720
1792
|
path: {
|
|
1721
1793
|
bucket_id: bucketId
|
|
1722
1794
|
},
|
|
1795
|
+
query: {
|
|
1796
|
+
workspace_id: workspaceId
|
|
1797
|
+
},
|
|
1723
1798
|
errors: {
|
|
1724
1799
|
422: `Validation Error`
|
|
1725
1800
|
}
|
|
1726
1801
|
});
|
|
1727
1802
|
}
|
|
1728
|
-
static deleteBucket(bucketId) {
|
|
1803
|
+
static deleteBucket(bucketId, workspaceId) {
|
|
1729
1804
|
return request(OpenAPI, {
|
|
1730
1805
|
method: "DELETE",
|
|
1731
1806
|
url: "/file-library/buckets/{bucket_id}",
|
|
1732
1807
|
path: {
|
|
1733
1808
|
bucket_id: bucketId
|
|
1734
1809
|
},
|
|
1810
|
+
query: {
|
|
1811
|
+
workspace_id: workspaceId
|
|
1812
|
+
},
|
|
1735
1813
|
errors: {
|
|
1736
1814
|
422: `Validation Error`
|
|
1737
1815
|
}
|
package/dist/index.js
CHANGED
|
@@ -403,10 +403,13 @@ var init_request = __esm(() => {
|
|
|
403
403
|
|
|
404
404
|
// src/lib/clients/agents-generator/services/AdminAgentsService.ts
|
|
405
405
|
class AdminAgentsService {
|
|
406
|
-
static createAgent(requestBody) {
|
|
406
|
+
static createAgent(requestBody, workspaceId) {
|
|
407
407
|
return request(OpenAPI, {
|
|
408
408
|
method: "POST",
|
|
409
409
|
url: "/agents",
|
|
410
|
+
query: {
|
|
411
|
+
workspace_id: workspaceId
|
|
412
|
+
},
|
|
410
413
|
body: requestBody,
|
|
411
414
|
mediaType: "application/json",
|
|
412
415
|
errors: {
|
|
@@ -617,16 +620,13 @@ var init_AdminConversationsService = __esm(() => {
|
|
|
617
620
|
|
|
618
621
|
// src/lib/clients/agents-generator/services/AdminCredentialsService.ts
|
|
619
622
|
class AdminCredentialsService {
|
|
620
|
-
static
|
|
621
|
-
return request(OpenAPI, {
|
|
622
|
-
method: "GET",
|
|
623
|
-
url: "/credentials"
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
static createCredential(requestBody) {
|
|
623
|
+
static createCredential(requestBody, workspaceId) {
|
|
627
624
|
return request(OpenAPI, {
|
|
628
625
|
method: "POST",
|
|
629
626
|
url: "/credentials",
|
|
627
|
+
query: {
|
|
628
|
+
workspace_id: workspaceId
|
|
629
|
+
},
|
|
630
630
|
body: requestBody,
|
|
631
631
|
mediaType: "application/json",
|
|
632
632
|
errors: {
|
|
@@ -634,25 +634,43 @@ class AdminCredentialsService {
|
|
|
634
634
|
}
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
|
-
static
|
|
637
|
+
static getCredentials(workspaceId) {
|
|
638
|
+
return request(OpenAPI, {
|
|
639
|
+
method: "GET",
|
|
640
|
+
url: "/credentials",
|
|
641
|
+
query: {
|
|
642
|
+
workspace_id: workspaceId
|
|
643
|
+
},
|
|
644
|
+
errors: {
|
|
645
|
+
422: `Validation Error`
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
static getCredential(credentialId, workspaceId) {
|
|
638
650
|
return request(OpenAPI, {
|
|
639
651
|
method: "GET",
|
|
640
652
|
url: "/credentials/{credential_id}",
|
|
641
653
|
path: {
|
|
642
654
|
credential_id: credentialId
|
|
643
655
|
},
|
|
656
|
+
query: {
|
|
657
|
+
workspace_id: workspaceId
|
|
658
|
+
},
|
|
644
659
|
errors: {
|
|
645
660
|
422: `Validation Error`
|
|
646
661
|
}
|
|
647
662
|
});
|
|
648
663
|
}
|
|
649
|
-
static updateCredential(credentialId, requestBody) {
|
|
664
|
+
static updateCredential(credentialId, requestBody, workspaceId) {
|
|
650
665
|
return request(OpenAPI, {
|
|
651
666
|
method: "PUT",
|
|
652
667
|
url: "/credentials/{credential_id}",
|
|
653
668
|
path: {
|
|
654
669
|
credential_id: credentialId
|
|
655
670
|
},
|
|
671
|
+
query: {
|
|
672
|
+
workspace_id: workspaceId
|
|
673
|
+
},
|
|
656
674
|
body: requestBody,
|
|
657
675
|
mediaType: "application/json",
|
|
658
676
|
errors: {
|
|
@@ -660,25 +678,31 @@ class AdminCredentialsService {
|
|
|
660
678
|
}
|
|
661
679
|
});
|
|
662
680
|
}
|
|
663
|
-
static deleteCredential(credentialId) {
|
|
681
|
+
static deleteCredential(credentialId, workspaceId) {
|
|
664
682
|
return request(OpenAPI, {
|
|
665
683
|
method: "DELETE",
|
|
666
684
|
url: "/credentials/{credential_id}",
|
|
667
685
|
path: {
|
|
668
686
|
credential_id: credentialId
|
|
669
687
|
},
|
|
688
|
+
query: {
|
|
689
|
+
workspace_id: workspaceId
|
|
690
|
+
},
|
|
670
691
|
errors: {
|
|
671
692
|
422: `Validation Error`
|
|
672
693
|
}
|
|
673
694
|
});
|
|
674
695
|
}
|
|
675
|
-
static getCredentialDecrypted(credentialId) {
|
|
696
|
+
static getCredentialDecrypted(credentialId, workspaceId) {
|
|
676
697
|
return request(OpenAPI, {
|
|
677
698
|
method: "GET",
|
|
678
699
|
url: "/credentials/{credential_id}/decrypt",
|
|
679
700
|
path: {
|
|
680
701
|
credential_id: credentialId
|
|
681
702
|
},
|
|
703
|
+
query: {
|
|
704
|
+
workspace_id: workspaceId
|
|
705
|
+
},
|
|
682
706
|
errors: {
|
|
683
707
|
422: `Validation Error`
|
|
684
708
|
}
|
|
@@ -692,16 +716,13 @@ var init_AdminCredentialsService = __esm(() => {
|
|
|
692
716
|
|
|
693
717
|
// src/lib/clients/agents-generator/services/AdminFileLibraryService.ts
|
|
694
718
|
class AdminFileLibraryService {
|
|
695
|
-
static
|
|
696
|
-
return request(OpenAPI, {
|
|
697
|
-
method: "GET",
|
|
698
|
-
url: "/file-library/buckets"
|
|
699
|
-
});
|
|
700
|
-
}
|
|
701
|
-
static createBucket(requestBody) {
|
|
719
|
+
static createBucket(requestBody, workspaceId) {
|
|
702
720
|
return request(OpenAPI, {
|
|
703
721
|
method: "POST",
|
|
704
722
|
url: "/file-library/buckets",
|
|
723
|
+
query: {
|
|
724
|
+
workspace_id: workspaceId
|
|
725
|
+
},
|
|
705
726
|
body: requestBody,
|
|
706
727
|
mediaType: "application/json",
|
|
707
728
|
errors: {
|
|
@@ -709,25 +730,43 @@ class AdminFileLibraryService {
|
|
|
709
730
|
}
|
|
710
731
|
});
|
|
711
732
|
}
|
|
712
|
-
static
|
|
733
|
+
static getBuckets(workspaceId) {
|
|
734
|
+
return request(OpenAPI, {
|
|
735
|
+
method: "GET",
|
|
736
|
+
url: "/file-library/buckets",
|
|
737
|
+
query: {
|
|
738
|
+
workspace_id: workspaceId
|
|
739
|
+
},
|
|
740
|
+
errors: {
|
|
741
|
+
422: `Validation Error`
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
static getBucket(bucketId, workspaceId) {
|
|
713
746
|
return request(OpenAPI, {
|
|
714
747
|
method: "GET",
|
|
715
748
|
url: "/file-library/buckets/{bucket_id}",
|
|
716
749
|
path: {
|
|
717
750
|
bucket_id: bucketId
|
|
718
751
|
},
|
|
752
|
+
query: {
|
|
753
|
+
workspace_id: workspaceId
|
|
754
|
+
},
|
|
719
755
|
errors: {
|
|
720
756
|
422: `Validation Error`
|
|
721
757
|
}
|
|
722
758
|
});
|
|
723
759
|
}
|
|
724
|
-
static deleteBucket(bucketId) {
|
|
760
|
+
static deleteBucket(bucketId, workspaceId) {
|
|
725
761
|
return request(OpenAPI, {
|
|
726
762
|
method: "DELETE",
|
|
727
763
|
url: "/file-library/buckets/{bucket_id}",
|
|
728
764
|
path: {
|
|
729
765
|
bucket_id: bucketId
|
|
730
766
|
},
|
|
767
|
+
query: {
|
|
768
|
+
workspace_id: workspaceId
|
|
769
|
+
},
|
|
731
770
|
errors: {
|
|
732
771
|
422: `Validation Error`
|
|
733
772
|
}
|
|
@@ -956,10 +995,13 @@ var init_AdminWorkspacesService = __esm(() => {
|
|
|
956
995
|
|
|
957
996
|
// src/lib/clients/agents-generator/services/AgentService.ts
|
|
958
997
|
class AgentService {
|
|
959
|
-
static createAgent(requestBody) {
|
|
998
|
+
static createAgent(requestBody, workspaceId) {
|
|
960
999
|
return request(OpenAPI, {
|
|
961
1000
|
method: "POST",
|
|
962
1001
|
url: "/agents",
|
|
1002
|
+
query: {
|
|
1003
|
+
workspace_id: workspaceId
|
|
1004
|
+
},
|
|
963
1005
|
body: requestBody,
|
|
964
1006
|
mediaType: "application/json",
|
|
965
1007
|
errors: {
|
|
@@ -1189,16 +1231,13 @@ var init_ConversationsService = __esm(() => {
|
|
|
1189
1231
|
|
|
1190
1232
|
// src/lib/clients/agents-generator/services/CredentialsService.ts
|
|
1191
1233
|
class CredentialsService {
|
|
1192
|
-
static
|
|
1193
|
-
return request(OpenAPI, {
|
|
1194
|
-
method: "GET",
|
|
1195
|
-
url: "/credentials"
|
|
1196
|
-
});
|
|
1197
|
-
}
|
|
1198
|
-
static createCredential(requestBody) {
|
|
1234
|
+
static createCredential(requestBody, workspaceId) {
|
|
1199
1235
|
return request(OpenAPI, {
|
|
1200
1236
|
method: "POST",
|
|
1201
1237
|
url: "/credentials",
|
|
1238
|
+
query: {
|
|
1239
|
+
workspace_id: workspaceId
|
|
1240
|
+
},
|
|
1202
1241
|
body: requestBody,
|
|
1203
1242
|
mediaType: "application/json",
|
|
1204
1243
|
errors: {
|
|
@@ -1206,25 +1245,43 @@ class CredentialsService {
|
|
|
1206
1245
|
}
|
|
1207
1246
|
});
|
|
1208
1247
|
}
|
|
1209
|
-
static
|
|
1248
|
+
static getCredentials(workspaceId) {
|
|
1249
|
+
return request(OpenAPI, {
|
|
1250
|
+
method: "GET",
|
|
1251
|
+
url: "/credentials",
|
|
1252
|
+
query: {
|
|
1253
|
+
workspace_id: workspaceId
|
|
1254
|
+
},
|
|
1255
|
+
errors: {
|
|
1256
|
+
422: `Validation Error`
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
static getCredential(credentialId, workspaceId) {
|
|
1210
1261
|
return request(OpenAPI, {
|
|
1211
1262
|
method: "GET",
|
|
1212
1263
|
url: "/credentials/{credential_id}",
|
|
1213
1264
|
path: {
|
|
1214
1265
|
credential_id: credentialId
|
|
1215
1266
|
},
|
|
1267
|
+
query: {
|
|
1268
|
+
workspace_id: workspaceId
|
|
1269
|
+
},
|
|
1216
1270
|
errors: {
|
|
1217
1271
|
422: `Validation Error`
|
|
1218
1272
|
}
|
|
1219
1273
|
});
|
|
1220
1274
|
}
|
|
1221
|
-
static updateCredential(credentialId, requestBody) {
|
|
1275
|
+
static updateCredential(credentialId, requestBody, workspaceId) {
|
|
1222
1276
|
return request(OpenAPI, {
|
|
1223
1277
|
method: "PUT",
|
|
1224
1278
|
url: "/credentials/{credential_id}",
|
|
1225
1279
|
path: {
|
|
1226
1280
|
credential_id: credentialId
|
|
1227
1281
|
},
|
|
1282
|
+
query: {
|
|
1283
|
+
workspace_id: workspaceId
|
|
1284
|
+
},
|
|
1228
1285
|
body: requestBody,
|
|
1229
1286
|
mediaType: "application/json",
|
|
1230
1287
|
errors: {
|
|
@@ -1232,25 +1289,31 @@ class CredentialsService {
|
|
|
1232
1289
|
}
|
|
1233
1290
|
});
|
|
1234
1291
|
}
|
|
1235
|
-
static deleteCredential(credentialId) {
|
|
1292
|
+
static deleteCredential(credentialId, workspaceId) {
|
|
1236
1293
|
return request(OpenAPI, {
|
|
1237
1294
|
method: "DELETE",
|
|
1238
1295
|
url: "/credentials/{credential_id}",
|
|
1239
1296
|
path: {
|
|
1240
1297
|
credential_id: credentialId
|
|
1241
1298
|
},
|
|
1299
|
+
query: {
|
|
1300
|
+
workspace_id: workspaceId
|
|
1301
|
+
},
|
|
1242
1302
|
errors: {
|
|
1243
1303
|
422: `Validation Error`
|
|
1244
1304
|
}
|
|
1245
1305
|
});
|
|
1246
1306
|
}
|
|
1247
|
-
static getCredentialDecrypted(credentialId) {
|
|
1307
|
+
static getCredentialDecrypted(credentialId, workspaceId) {
|
|
1248
1308
|
return request(OpenAPI, {
|
|
1249
1309
|
method: "GET",
|
|
1250
1310
|
url: "/credentials/{credential_id}/decrypt",
|
|
1251
1311
|
path: {
|
|
1252
1312
|
credential_id: credentialId
|
|
1253
1313
|
},
|
|
1314
|
+
query: {
|
|
1315
|
+
workspace_id: workspaceId
|
|
1316
|
+
},
|
|
1254
1317
|
errors: {
|
|
1255
1318
|
422: `Validation Error`
|
|
1256
1319
|
}
|
|
@@ -1264,16 +1327,13 @@ var init_CredentialsService = __esm(() => {
|
|
|
1264
1327
|
|
|
1265
1328
|
// src/lib/clients/agents-generator/services/FileLibraryService.ts
|
|
1266
1329
|
class FileLibraryService {
|
|
1267
|
-
static
|
|
1268
|
-
return request(OpenAPI, {
|
|
1269
|
-
method: "GET",
|
|
1270
|
-
url: "/file-library/buckets"
|
|
1271
|
-
});
|
|
1272
|
-
}
|
|
1273
|
-
static createBucket(requestBody) {
|
|
1330
|
+
static createBucket(requestBody, workspaceId) {
|
|
1274
1331
|
return request(OpenAPI, {
|
|
1275
1332
|
method: "POST",
|
|
1276
1333
|
url: "/file-library/buckets",
|
|
1334
|
+
query: {
|
|
1335
|
+
workspace_id: workspaceId
|
|
1336
|
+
},
|
|
1277
1337
|
body: requestBody,
|
|
1278
1338
|
mediaType: "application/json",
|
|
1279
1339
|
errors: {
|
|
@@ -1281,25 +1341,43 @@ class FileLibraryService {
|
|
|
1281
1341
|
}
|
|
1282
1342
|
});
|
|
1283
1343
|
}
|
|
1284
|
-
static
|
|
1344
|
+
static getBuckets(workspaceId) {
|
|
1345
|
+
return request(OpenAPI, {
|
|
1346
|
+
method: "GET",
|
|
1347
|
+
url: "/file-library/buckets",
|
|
1348
|
+
query: {
|
|
1349
|
+
workspace_id: workspaceId
|
|
1350
|
+
},
|
|
1351
|
+
errors: {
|
|
1352
|
+
422: `Validation Error`
|
|
1353
|
+
}
|
|
1354
|
+
});
|
|
1355
|
+
}
|
|
1356
|
+
static getBucket(bucketId, workspaceId) {
|
|
1285
1357
|
return request(OpenAPI, {
|
|
1286
1358
|
method: "GET",
|
|
1287
1359
|
url: "/file-library/buckets/{bucket_id}",
|
|
1288
1360
|
path: {
|
|
1289
1361
|
bucket_id: bucketId
|
|
1290
1362
|
},
|
|
1363
|
+
query: {
|
|
1364
|
+
workspace_id: workspaceId
|
|
1365
|
+
},
|
|
1291
1366
|
errors: {
|
|
1292
1367
|
422: `Validation Error`
|
|
1293
1368
|
}
|
|
1294
1369
|
});
|
|
1295
1370
|
}
|
|
1296
|
-
static deleteBucket(bucketId) {
|
|
1371
|
+
static deleteBucket(bucketId, workspaceId) {
|
|
1297
1372
|
return request(OpenAPI, {
|
|
1298
1373
|
method: "DELETE",
|
|
1299
1374
|
url: "/file-library/buckets/{bucket_id}",
|
|
1300
1375
|
path: {
|
|
1301
1376
|
bucket_id: bucketId
|
|
1302
1377
|
},
|
|
1378
|
+
query: {
|
|
1379
|
+
workspace_id: workspaceId
|
|
1380
|
+
},
|
|
1303
1381
|
errors: {
|
|
1304
1382
|
422: `Validation Error`
|
|
1305
1383
|
}
|
|
@@ -9,10 +9,11 @@ export declare class AdminAgentsService {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create Agent
|
|
11
11
|
* @param requestBody
|
|
12
|
+
* @param workspaceId
|
|
12
13
|
* @returns CreateAgentResponse Successful Response
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
static createAgent(requestBody: AgentRequest): CancelablePromise<CreateAgentResponse>;
|
|
16
|
+
static createAgent(requestBody: AgentRequest, workspaceId?: (string | null)): CancelablePromise<CreateAgentResponse>;
|
|
16
17
|
/**
|
|
17
18
|
* Get Agents
|
|
18
19
|
* @param skip
|
|
@@ -3,51 +3,57 @@ import type { CredentialUpdate } from '../models/CredentialUpdate';
|
|
|
3
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
4
|
export declare class AdminCredentialsService {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Create Credential
|
|
7
|
+
* Create a new credential
|
|
8
|
+
* @param requestBody
|
|
9
|
+
* @param workspaceId
|
|
8
10
|
* @returns any Successful Response
|
|
9
11
|
* @throws ApiError
|
|
10
12
|
*/
|
|
11
|
-
static
|
|
13
|
+
static createCredential(requestBody: CredentialCreate, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @param
|
|
15
|
+
* Get Credentials
|
|
16
|
+
* Get all credentials for a user
|
|
17
|
+
* @param workspaceId
|
|
16
18
|
* @returns any Successful Response
|
|
17
19
|
* @throws ApiError
|
|
18
20
|
*/
|
|
19
|
-
static
|
|
21
|
+
static getCredentials(workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
20
22
|
/**
|
|
21
23
|
* Get Credential
|
|
22
24
|
* Get a specific credential by ID
|
|
23
25
|
* @param credentialId
|
|
26
|
+
* @param workspaceId
|
|
24
27
|
* @returns any Successful Response
|
|
25
28
|
* @throws ApiError
|
|
26
29
|
*/
|
|
27
|
-
static getCredential(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
30
|
+
static getCredential(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
28
31
|
/**
|
|
29
32
|
* Update Credential
|
|
30
33
|
* Update a credential
|
|
31
34
|
* @param credentialId
|
|
32
35
|
* @param requestBody
|
|
36
|
+
* @param workspaceId
|
|
33
37
|
* @returns any Successful Response
|
|
34
38
|
* @throws ApiError
|
|
35
39
|
*/
|
|
36
|
-
static updateCredential(credentialId: string, requestBody: CredentialUpdate): CancelablePromise<Record<string, any>>;
|
|
40
|
+
static updateCredential(credentialId: string, requestBody: CredentialUpdate, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
37
41
|
/**
|
|
38
42
|
* Delete Credential
|
|
39
43
|
* Delete a credential
|
|
40
44
|
* @param credentialId
|
|
45
|
+
* @param workspaceId
|
|
41
46
|
* @returns any Successful Response
|
|
42
47
|
* @throws ApiError
|
|
43
48
|
*/
|
|
44
|
-
static deleteCredential(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
49
|
+
static deleteCredential(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
45
50
|
/**
|
|
46
51
|
* Get Credential Decrypted
|
|
47
52
|
* Get a credential with decrypted value
|
|
48
53
|
* @param credentialId
|
|
54
|
+
* @param workspaceId
|
|
49
55
|
* @returns any Successful Response
|
|
50
56
|
* @throws ApiError
|
|
51
57
|
*/
|
|
52
|
-
static getCredentialDecrypted(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
58
|
+
static getCredentialDecrypted(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
53
59
|
}
|
|
@@ -9,36 +9,40 @@ import type { FolderUploadResponse } from '../models/FolderUploadResponse';
|
|
|
9
9
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
10
|
export declare class AdminFileLibraryService {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Create Bucket
|
|
13
|
+
* Create a new S3 bucket
|
|
14
|
+
* @param requestBody
|
|
15
|
+
* @param workspaceId
|
|
14
16
|
* @returns BucketResponse Successful Response
|
|
15
17
|
* @throws ApiError
|
|
16
18
|
*/
|
|
17
|
-
static
|
|
19
|
+
static createBucket(requestBody: BucketCreate, workspaceId?: (string | null)): CancelablePromise<BucketResponse>;
|
|
18
20
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @param
|
|
21
|
+
* Get Buckets
|
|
22
|
+
* Get all buckets for the user
|
|
23
|
+
* @param workspaceId
|
|
22
24
|
* @returns BucketResponse Successful Response
|
|
23
25
|
* @throws ApiError
|
|
24
26
|
*/
|
|
25
|
-
static
|
|
27
|
+
static getBuckets(workspaceId?: (string | null)): CancelablePromise<Array<BucketResponse>>;
|
|
26
28
|
/**
|
|
27
29
|
* Get Bucket
|
|
28
30
|
* Get a specific bucket
|
|
29
31
|
* @param bucketId
|
|
32
|
+
* @param workspaceId
|
|
30
33
|
* @returns BucketResponse Successful Response
|
|
31
34
|
* @throws ApiError
|
|
32
35
|
*/
|
|
33
|
-
static getBucket(bucketId: string): CancelablePromise<BucketResponse>;
|
|
36
|
+
static getBucket(bucketId: string, workspaceId?: (string | null)): CancelablePromise<BucketResponse>;
|
|
34
37
|
/**
|
|
35
38
|
* Delete Bucket
|
|
36
39
|
* Delete a bucket
|
|
37
40
|
* @param bucketId
|
|
41
|
+
* @param workspaceId
|
|
38
42
|
* @returns any Successful Response
|
|
39
43
|
* @throws ApiError
|
|
40
44
|
*/
|
|
41
|
-
static deleteBucket(bucketId: string): CancelablePromise<any>;
|
|
45
|
+
static deleteBucket(bucketId: string, workspaceId?: (string | null)): CancelablePromise<any>;
|
|
42
46
|
/**
|
|
43
47
|
* Create Folder
|
|
44
48
|
* Create a new folder
|
|
@@ -9,10 +9,11 @@ export declare class AgentService {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create Agent
|
|
11
11
|
* @param requestBody
|
|
12
|
+
* @param workspaceId
|
|
12
13
|
* @returns CreateAgentResponse Successful Response
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
static createAgent(requestBody: AgentRequest): CancelablePromise<CreateAgentResponse>;
|
|
16
|
+
static createAgent(requestBody: AgentRequest, workspaceId?: (string | null)): CancelablePromise<CreateAgentResponse>;
|
|
16
17
|
/**
|
|
17
18
|
* Get Agents
|
|
18
19
|
* @param skip
|
|
@@ -3,51 +3,57 @@ import type { CredentialUpdate } from '../models/CredentialUpdate';
|
|
|
3
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
4
|
export declare class CredentialsService {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Create Credential
|
|
7
|
+
* Create a new credential
|
|
8
|
+
* @param requestBody
|
|
9
|
+
* @param workspaceId
|
|
8
10
|
* @returns any Successful Response
|
|
9
11
|
* @throws ApiError
|
|
10
12
|
*/
|
|
11
|
-
static
|
|
13
|
+
static createCredential(requestBody: CredentialCreate, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @param
|
|
15
|
+
* Get Credentials
|
|
16
|
+
* Get all credentials for a user
|
|
17
|
+
* @param workspaceId
|
|
16
18
|
* @returns any Successful Response
|
|
17
19
|
* @throws ApiError
|
|
18
20
|
*/
|
|
19
|
-
static
|
|
21
|
+
static getCredentials(workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
20
22
|
/**
|
|
21
23
|
* Get Credential
|
|
22
24
|
* Get a specific credential by ID
|
|
23
25
|
* @param credentialId
|
|
26
|
+
* @param workspaceId
|
|
24
27
|
* @returns any Successful Response
|
|
25
28
|
* @throws ApiError
|
|
26
29
|
*/
|
|
27
|
-
static getCredential(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
30
|
+
static getCredential(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
28
31
|
/**
|
|
29
32
|
* Update Credential
|
|
30
33
|
* Update a credential
|
|
31
34
|
* @param credentialId
|
|
32
35
|
* @param requestBody
|
|
36
|
+
* @param workspaceId
|
|
33
37
|
* @returns any Successful Response
|
|
34
38
|
* @throws ApiError
|
|
35
39
|
*/
|
|
36
|
-
static updateCredential(credentialId: string, requestBody: CredentialUpdate): CancelablePromise<Record<string, any>>;
|
|
40
|
+
static updateCredential(credentialId: string, requestBody: CredentialUpdate, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
37
41
|
/**
|
|
38
42
|
* Delete Credential
|
|
39
43
|
* Delete a credential
|
|
40
44
|
* @param credentialId
|
|
45
|
+
* @param workspaceId
|
|
41
46
|
* @returns any Successful Response
|
|
42
47
|
* @throws ApiError
|
|
43
48
|
*/
|
|
44
|
-
static deleteCredential(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
49
|
+
static deleteCredential(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
45
50
|
/**
|
|
46
51
|
* Get Credential Decrypted
|
|
47
52
|
* Get a credential with decrypted value
|
|
48
53
|
* @param credentialId
|
|
54
|
+
* @param workspaceId
|
|
49
55
|
* @returns any Successful Response
|
|
50
56
|
* @throws ApiError
|
|
51
57
|
*/
|
|
52
|
-
static getCredentialDecrypted(credentialId: string): CancelablePromise<Record<string, any>>;
|
|
58
|
+
static getCredentialDecrypted(credentialId: string, workspaceId?: (string | null)): CancelablePromise<Record<string, any>>;
|
|
53
59
|
}
|
|
@@ -9,36 +9,40 @@ import type { FolderUploadResponse } from '../models/FolderUploadResponse';
|
|
|
9
9
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
10
|
export declare class FileLibraryService {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Create Bucket
|
|
13
|
+
* Create a new S3 bucket
|
|
14
|
+
* @param requestBody
|
|
15
|
+
* @param workspaceId
|
|
14
16
|
* @returns BucketResponse Successful Response
|
|
15
17
|
* @throws ApiError
|
|
16
18
|
*/
|
|
17
|
-
static
|
|
19
|
+
static createBucket(requestBody: BucketCreate, workspaceId?: (string | null)): CancelablePromise<BucketResponse>;
|
|
18
20
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @param
|
|
21
|
+
* Get Buckets
|
|
22
|
+
* Get all buckets for the user
|
|
23
|
+
* @param workspaceId
|
|
22
24
|
* @returns BucketResponse Successful Response
|
|
23
25
|
* @throws ApiError
|
|
24
26
|
*/
|
|
25
|
-
static
|
|
27
|
+
static getBuckets(workspaceId?: (string | null)): CancelablePromise<Array<BucketResponse>>;
|
|
26
28
|
/**
|
|
27
29
|
* Get Bucket
|
|
28
30
|
* Get a specific bucket
|
|
29
31
|
* @param bucketId
|
|
32
|
+
* @param workspaceId
|
|
30
33
|
* @returns BucketResponse Successful Response
|
|
31
34
|
* @throws ApiError
|
|
32
35
|
*/
|
|
33
|
-
static getBucket(bucketId: string): CancelablePromise<BucketResponse>;
|
|
36
|
+
static getBucket(bucketId: string, workspaceId?: (string | null)): CancelablePromise<BucketResponse>;
|
|
34
37
|
/**
|
|
35
38
|
* Delete Bucket
|
|
36
39
|
* Delete a bucket
|
|
37
40
|
* @param bucketId
|
|
41
|
+
* @param workspaceId
|
|
38
42
|
* @returns any Successful Response
|
|
39
43
|
* @throws ApiError
|
|
40
44
|
*/
|
|
41
|
-
static deleteBucket(bucketId: string): CancelablePromise<any>;
|
|
45
|
+
static deleteBucket(bucketId: string, workspaceId?: (string | null)): CancelablePromise<any>;
|
|
42
46
|
/**
|
|
43
47
|
* Create Folder
|
|
44
48
|
* Create a new folder
|