@adminforth/bulk-ai-flow 2.0.2 → 2.0.3
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/index.js +9 -0
- package/index.ts +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1006,6 +1006,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1006
1006
|
server.endpoint({
|
|
1007
1007
|
method: 'POST',
|
|
1008
1008
|
path: `/plugin/${this.pluginInstanceId}/get_old_data`,
|
|
1009
|
+
agent: { hiddenFromAgents: true },
|
|
1009
1010
|
request_schema: getOldDataBodySchema,
|
|
1010
1011
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl }) {
|
|
1011
1012
|
const data = body;
|
|
@@ -1027,6 +1028,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1027
1028
|
server.endpoint({
|
|
1028
1029
|
method: 'POST',
|
|
1029
1030
|
path: `/plugin/${this.pluginInstanceId}/get_images`,
|
|
1031
|
+
agent: { hiddenFromAgents: true },
|
|
1030
1032
|
request_schema: getImagesBodySchema,
|
|
1031
1033
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl }) {
|
|
1032
1034
|
const data = body;
|
|
@@ -1047,6 +1049,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1047
1049
|
server.endpoint({
|
|
1048
1050
|
method: 'POST',
|
|
1049
1051
|
path: `/plugin/${this.pluginInstanceId}/update_fields`,
|
|
1052
|
+
agent: { hiddenFromAgents: true },
|
|
1050
1053
|
request_schema: updateFieldsBodySchema,
|
|
1051
1054
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, response }) {
|
|
1052
1055
|
const data = body;
|
|
@@ -1160,6 +1163,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1160
1163
|
server.endpoint({
|
|
1161
1164
|
method: 'POST',
|
|
1162
1165
|
path: `/plugin/${this.pluginInstanceId}/get_image_generation_prompts`,
|
|
1166
|
+
agent: { hiddenFromAgents: true },
|
|
1163
1167
|
request_schema: getImageGenerationPromptsBodySchema,
|
|
1164
1168
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl }) {
|
|
1165
1169
|
const data = body;
|
|
@@ -1190,6 +1194,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1190
1194
|
server.endpoint({
|
|
1191
1195
|
method: 'POST',
|
|
1192
1196
|
path: `/plugin/${this.pluginInstanceId}/create-job`,
|
|
1197
|
+
agent: { hiddenFromAgents: true },
|
|
1193
1198
|
request_schema: createJobBodySchema,
|
|
1194
1199
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl, response }) {
|
|
1195
1200
|
const data = body;
|
|
@@ -1257,6 +1262,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1257
1262
|
server.endpoint({
|
|
1258
1263
|
method: 'POST',
|
|
1259
1264
|
path: `/plugin/${this.pluginInstanceId}/get-job-status`,
|
|
1265
|
+
agent: { hiddenFromAgents: true },
|
|
1260
1266
|
request_schema: jobStatusBodySchema,
|
|
1261
1267
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, response }) {
|
|
1262
1268
|
const data = body;
|
|
@@ -1292,6 +1298,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1292
1298
|
server.endpoint({
|
|
1293
1299
|
method: 'POST',
|
|
1294
1300
|
path: `/plugin/${this.pluginInstanceId}/update-rate-limits`,
|
|
1301
|
+
agent: { hiddenFromAgents: true },
|
|
1295
1302
|
request_schema: updateRateLimitsBodySchema,
|
|
1296
1303
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, response }) {
|
|
1297
1304
|
var _b, _c, _d;
|
|
@@ -1321,6 +1328,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1321
1328
|
server.endpoint({
|
|
1322
1329
|
method: 'POST',
|
|
1323
1330
|
path: `/plugin/${this.pluginInstanceId}/compile_old_image_link`,
|
|
1331
|
+
agent: { hiddenFromAgents: true },
|
|
1324
1332
|
request_schema: compileOldImageLinkBodySchema,
|
|
1325
1333
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, response }) {
|
|
1326
1334
|
var _b, _c;
|
|
@@ -1352,6 +1360,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1352
1360
|
server.endpoint({
|
|
1353
1361
|
method: 'POST',
|
|
1354
1362
|
path: `/plugin/${this.pluginInstanceId}/get_filtered_ids`,
|
|
1363
|
+
agent: { hiddenFromAgents: true },
|
|
1355
1364
|
request_schema: getFilteredIdsBodySchema,
|
|
1356
1365
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, headers, query, cookies, requestUrl, response }) {
|
|
1357
1366
|
var _b, _c;
|
package/index.ts
CHANGED
|
@@ -1056,6 +1056,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1056
1056
|
server.endpoint({
|
|
1057
1057
|
method: 'POST',
|
|
1058
1058
|
path: `/plugin/${this.pluginInstanceId}/get_old_data`,
|
|
1059
|
+
agent: { hiddenFromAgents: true },
|
|
1059
1060
|
request_schema: getOldDataBodySchema,
|
|
1060
1061
|
handler: async ({ body, adminUser, headers, query, cookies, requestUrl }) => {
|
|
1061
1062
|
const data = body as z.infer<typeof getOldDataBodySchema>;
|
|
@@ -1079,6 +1080,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1079
1080
|
server.endpoint({
|
|
1080
1081
|
method: 'POST',
|
|
1081
1082
|
path: `/plugin/${this.pluginInstanceId}/get_images`,
|
|
1083
|
+
agent: { hiddenFromAgents: true },
|
|
1082
1084
|
request_schema: getImagesBodySchema,
|
|
1083
1085
|
handler: async ({ body, adminUser, headers, query, cookies, requestUrl }) => {
|
|
1084
1086
|
const data = body as z.infer<typeof getImagesBodySchema>;
|
|
@@ -1101,6 +1103,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1101
1103
|
server.endpoint({
|
|
1102
1104
|
method: 'POST',
|
|
1103
1105
|
path: `/plugin/${this.pluginInstanceId}/update_fields`,
|
|
1106
|
+
agent: { hiddenFromAgents: true },
|
|
1104
1107
|
request_schema: updateFieldsBodySchema,
|
|
1105
1108
|
handler: async ({ body, adminUser, headers, response }) => {
|
|
1106
1109
|
const data = body as z.infer<typeof updateFieldsBodySchema>;
|
|
@@ -1226,6 +1229,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1226
1229
|
server.endpoint({
|
|
1227
1230
|
method: 'POST',
|
|
1228
1231
|
path: `/plugin/${this.pluginInstanceId}/get_image_generation_prompts`,
|
|
1232
|
+
agent: { hiddenFromAgents: true },
|
|
1229
1233
|
request_schema: getImageGenerationPromptsBodySchema,
|
|
1230
1234
|
handler: async ({ body, adminUser, headers, query, cookies, requestUrl }) => {
|
|
1231
1235
|
const data = body as z.infer<typeof getImageGenerationPromptsBodySchema>;
|
|
@@ -1260,6 +1264,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1260
1264
|
server.endpoint({
|
|
1261
1265
|
method: 'POST',
|
|
1262
1266
|
path: `/plugin/${this.pluginInstanceId}/create-job`,
|
|
1267
|
+
agent: { hiddenFromAgents: true },
|
|
1263
1268
|
request_schema: createJobBodySchema,
|
|
1264
1269
|
handler: async ({ body, adminUser, headers, query, cookies, requestUrl, response }) => {
|
|
1265
1270
|
const data = body as z.infer<typeof createJobBodySchema>;
|
|
@@ -1328,6 +1333,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1328
1333
|
server.endpoint({
|
|
1329
1334
|
method: 'POST',
|
|
1330
1335
|
path: `/plugin/${this.pluginInstanceId}/get-job-status`,
|
|
1336
|
+
agent: { hiddenFromAgents: true },
|
|
1331
1337
|
request_schema: jobStatusBodySchema,
|
|
1332
1338
|
handler: async ({ body, adminUser, headers, response }) => {
|
|
1333
1339
|
const data = body as z.infer<typeof jobStatusBodySchema>;
|
|
@@ -1368,6 +1374,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1368
1374
|
server.endpoint({
|
|
1369
1375
|
method: 'POST',
|
|
1370
1376
|
path: `/plugin/${this.pluginInstanceId}/update-rate-limits`,
|
|
1377
|
+
agent: { hiddenFromAgents: true },
|
|
1371
1378
|
request_schema: updateRateLimitsBodySchema,
|
|
1372
1379
|
handler: async ({ body, adminUser, headers, response }) => {
|
|
1373
1380
|
const data = body as z.infer<typeof updateRateLimitsBodySchema>;
|
|
@@ -1398,6 +1405,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1398
1405
|
server.endpoint({
|
|
1399
1406
|
method: 'POST',
|
|
1400
1407
|
path: `/plugin/${this.pluginInstanceId}/compile_old_image_link`,
|
|
1408
|
+
agent: { hiddenFromAgents: true },
|
|
1401
1409
|
request_schema: compileOldImageLinkBodySchema,
|
|
1402
1410
|
handler: async ({ body, adminUser, headers, response }) => {
|
|
1403
1411
|
const data = body as z.infer<typeof compileOldImageLinkBodySchema>;
|
|
@@ -1430,6 +1438,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
1430
1438
|
server.endpoint({
|
|
1431
1439
|
method: 'POST',
|
|
1432
1440
|
path: `/plugin/${this.pluginInstanceId}/get_filtered_ids`,
|
|
1441
|
+
agent: { hiddenFromAgents: true },
|
|
1433
1442
|
request_schema: getFilteredIdsBodySchema,
|
|
1434
1443
|
handler: async ({ body, adminUser, headers, query, cookies, requestUrl, response }) => {
|
|
1435
1444
|
const resource = this.resourceConfig;
|