@gpt-core/client 0.5.93 → 0.5.94
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.d.mts +894 -88
- package/dist/index.d.ts +894 -88
- package/dist/index.js +86 -0
- package/dist/index.mjs +78 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __export(index_exports, {
|
|
|
58
58
|
deleteBucketsById: () => deleteBucketsById,
|
|
59
59
|
deleteExtractionDocumentsById: () => deleteExtractionDocumentsById,
|
|
60
60
|
deleteExtractionSchemaFieldsById: () => deleteExtractionSchemaFieldsById,
|
|
61
|
+
deleteFieldTemplatesById: () => deleteFieldTemplatesById,
|
|
61
62
|
deleteMessagesById: () => deleteMessagesById,
|
|
62
63
|
deleteNotificationPreferencesById: () => deleteNotificationPreferencesById,
|
|
63
64
|
deleteObjectsById: () => deleteObjectsById,
|
|
@@ -70,6 +71,8 @@ __export(index_exports, {
|
|
|
70
71
|
deleteWebhookConfigsById: () => deleteWebhookConfigsById,
|
|
71
72
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId: () => deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
72
73
|
deleteWorkspacesById: () => deleteWorkspacesById,
|
|
74
|
+
getAgentVersions: () => getAgentVersions,
|
|
75
|
+
getAgentVersionsById: () => getAgentVersionsById,
|
|
73
76
|
getAgents: () => getAgents,
|
|
74
77
|
getAgentsById: () => getAgentsById,
|
|
75
78
|
getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
|
|
@@ -108,6 +111,8 @@ __export(index_exports, {
|
|
|
108
111
|
getExtractionSchemaFieldsById: () => getExtractionSchemaFieldsById,
|
|
109
112
|
getExtractionSchemasById: () => getExtractionSchemasById,
|
|
110
113
|
getExtractionSchemasWorkspaceByWorkspaceId: () => getExtractionSchemasWorkspaceByWorkspaceId,
|
|
114
|
+
getFieldTemplates: () => getFieldTemplates,
|
|
115
|
+
getFieldTemplatesById: () => getFieldTemplatesById,
|
|
111
116
|
getInvitations: () => getInvitations,
|
|
112
117
|
getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
|
|
113
118
|
getLlmAnalytics: () => getLlmAnalytics,
|
|
@@ -209,9 +214,11 @@ __export(index_exports, {
|
|
|
209
214
|
patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
210
215
|
patchWorkspacesById: () => patchWorkspacesById,
|
|
211
216
|
patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
|
|
217
|
+
postAgentVersions: () => postAgentVersions,
|
|
212
218
|
postAgents: () => postAgents,
|
|
213
219
|
postAgentsByIdClone: () => postAgentsByIdClone,
|
|
214
220
|
postAgentsByIdLearnFromDocument: () => postAgentsByIdLearnFromDocument,
|
|
221
|
+
postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
|
|
215
222
|
postAgentsByIdTest: () => postAgentsByIdTest,
|
|
216
223
|
postAgentsByIdValidate: () => postAgentsByIdValidate,
|
|
217
224
|
postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
|
|
@@ -236,6 +243,7 @@ __export(index_exports, {
|
|
|
236
243
|
postExtractionResults: () => postExtractionResults,
|
|
237
244
|
postExtractionSchemaFields: () => postExtractionSchemaFields,
|
|
238
245
|
postExtractionSchemas: () => postExtractionSchemas,
|
|
246
|
+
postFieldTemplates: () => postFieldTemplates,
|
|
239
247
|
postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
|
|
240
248
|
postInvitationsInvite: () => postInvitationsInvite,
|
|
241
249
|
postLlmAnalytics: () => postLlmAnalytics,
|
|
@@ -1468,6 +1476,18 @@ var postSearchSaved = (options) => (options.client ?? client).post({
|
|
|
1468
1476
|
...options.headers
|
|
1469
1477
|
}
|
|
1470
1478
|
});
|
|
1479
|
+
var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
|
|
1480
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1481
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1482
|
+
url: "/field_templates/{id}",
|
|
1483
|
+
...options
|
|
1484
|
+
});
|
|
1485
|
+
var getFieldTemplatesById = (options) => (options.client ?? client).get({
|
|
1486
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1487
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1488
|
+
url: "/field_templates/{id}",
|
|
1489
|
+
...options
|
|
1490
|
+
});
|
|
1471
1491
|
var getUserProfilesMe = (options) => (options.client ?? client).get({
|
|
1472
1492
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1473
1493
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1484,6 +1504,27 @@ var postInvitationsInvite = (options) => (options.client ?? client).post({
|
|
|
1484
1504
|
...options.headers
|
|
1485
1505
|
}
|
|
1486
1506
|
});
|
|
1507
|
+
var getAgentVersions = (options) => (options.client ?? client).get({
|
|
1508
|
+
querySerializer: {
|
|
1509
|
+
parameters: {
|
|
1510
|
+
filter: { object: { style: "form" } },
|
|
1511
|
+
fields: { object: { style: "form" } }
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1515
|
+
url: "/agent_versions",
|
|
1516
|
+
...options
|
|
1517
|
+
});
|
|
1518
|
+
var postAgentVersions = (options) => (options.client ?? client).post({
|
|
1519
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1520
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1521
|
+
url: "/agent_versions",
|
|
1522
|
+
...options,
|
|
1523
|
+
headers: {
|
|
1524
|
+
"Content-Type": "application/vnd.api+json",
|
|
1525
|
+
...options.headers
|
|
1526
|
+
}
|
|
1527
|
+
});
|
|
1487
1528
|
var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
1488
1529
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1489
1530
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1532,6 +1573,12 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
|
1532
1573
|
...options.headers
|
|
1533
1574
|
}
|
|
1534
1575
|
});
|
|
1576
|
+
var getAgentVersionsById = (options) => (options.client ?? client).get({
|
|
1577
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1578
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1579
|
+
url: "/agent_versions/{id}",
|
|
1580
|
+
...options
|
|
1581
|
+
});
|
|
1535
1582
|
var postAiChunksSearch = (options) => (options.client ?? client).post({
|
|
1536
1583
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1537
1584
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2726,6 +2773,27 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
|
|
|
2726
2773
|
...options.headers
|
|
2727
2774
|
}
|
|
2728
2775
|
});
|
|
2776
|
+
var getFieldTemplates = (options) => (options.client ?? client).get({
|
|
2777
|
+
querySerializer: {
|
|
2778
|
+
parameters: {
|
|
2779
|
+
filter: { object: { style: "form" } },
|
|
2780
|
+
fields: { object: { style: "form" } }
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2784
|
+
url: "/field_templates",
|
|
2785
|
+
...options
|
|
2786
|
+
});
|
|
2787
|
+
var postFieldTemplates = (options) => (options.client ?? client).post({
|
|
2788
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2789
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2790
|
+
url: "/field_templates",
|
|
2791
|
+
...options,
|
|
2792
|
+
headers: {
|
|
2793
|
+
"Content-Type": "application/vnd.api+json",
|
|
2794
|
+
...options.headers
|
|
2795
|
+
}
|
|
2796
|
+
});
|
|
2729
2797
|
var getAiMessages = (options) => (options.client ?? client).get({
|
|
2730
2798
|
querySerializer: {
|
|
2731
2799
|
parameters: {
|
|
@@ -2886,6 +2954,16 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
|
|
|
2886
2954
|
...options.headers
|
|
2887
2955
|
}
|
|
2888
2956
|
});
|
|
2957
|
+
var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
|
|
2958
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2959
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2960
|
+
url: "/agents/{id}/publish_version",
|
|
2961
|
+
...options,
|
|
2962
|
+
headers: {
|
|
2963
|
+
"Content-Type": "application/vnd.api+json",
|
|
2964
|
+
...options.headers
|
|
2965
|
+
}
|
|
2966
|
+
});
|
|
2889
2967
|
var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
|
|
2890
2968
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2891
2969
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3490,6 +3568,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3490
3568
|
deleteBucketsById,
|
|
3491
3569
|
deleteExtractionDocumentsById,
|
|
3492
3570
|
deleteExtractionSchemaFieldsById,
|
|
3571
|
+
deleteFieldTemplatesById,
|
|
3493
3572
|
deleteMessagesById,
|
|
3494
3573
|
deleteNotificationPreferencesById,
|
|
3495
3574
|
deleteObjectsById,
|
|
@@ -3502,6 +3581,8 @@ async function collectStreamedMessage(stream) {
|
|
|
3502
3581
|
deleteWebhookConfigsById,
|
|
3503
3582
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
3504
3583
|
deleteWorkspacesById,
|
|
3584
|
+
getAgentVersions,
|
|
3585
|
+
getAgentVersionsById,
|
|
3505
3586
|
getAgents,
|
|
3506
3587
|
getAgentsById,
|
|
3507
3588
|
getAgentsByIdTrainingStats,
|
|
@@ -3540,6 +3621,8 @@ async function collectStreamedMessage(stream) {
|
|
|
3540
3621
|
getExtractionSchemaFieldsById,
|
|
3541
3622
|
getExtractionSchemasById,
|
|
3542
3623
|
getExtractionSchemasWorkspaceByWorkspaceId,
|
|
3624
|
+
getFieldTemplates,
|
|
3625
|
+
getFieldTemplatesById,
|
|
3543
3626
|
getInvitations,
|
|
3544
3627
|
getInvitationsConsumeByToken,
|
|
3545
3628
|
getLlmAnalytics,
|
|
@@ -3641,9 +3724,11 @@ async function collectStreamedMessage(stream) {
|
|
|
3641
3724
|
patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
3642
3725
|
patchWorkspacesById,
|
|
3643
3726
|
patchWorkspacesByIdAllocate,
|
|
3727
|
+
postAgentVersions,
|
|
3644
3728
|
postAgents,
|
|
3645
3729
|
postAgentsByIdClone,
|
|
3646
3730
|
postAgentsByIdLearnFromDocument,
|
|
3731
|
+
postAgentsByIdPublishVersion,
|
|
3647
3732
|
postAgentsByIdTest,
|
|
3648
3733
|
postAgentsByIdValidate,
|
|
3649
3734
|
postAgentsCloneForWorkspace,
|
|
@@ -3668,6 +3753,7 @@ async function collectStreamedMessage(stream) {
|
|
|
3668
3753
|
postExtractionResults,
|
|
3669
3754
|
postExtractionSchemaFields,
|
|
3670
3755
|
postExtractionSchemas,
|
|
3756
|
+
postFieldTemplates,
|
|
3671
3757
|
postInvitationsAcceptByToken,
|
|
3672
3758
|
postInvitationsInvite,
|
|
3673
3759
|
postLlmAnalytics,
|
package/dist/index.mjs
CHANGED
|
@@ -1182,6 +1182,18 @@ var postSearchSaved = (options) => (options.client ?? client).post({
|
|
|
1182
1182
|
...options.headers
|
|
1183
1183
|
}
|
|
1184
1184
|
});
|
|
1185
|
+
var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
|
|
1186
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1187
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1188
|
+
url: "/field_templates/{id}",
|
|
1189
|
+
...options
|
|
1190
|
+
});
|
|
1191
|
+
var getFieldTemplatesById = (options) => (options.client ?? client).get({
|
|
1192
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1193
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1194
|
+
url: "/field_templates/{id}",
|
|
1195
|
+
...options
|
|
1196
|
+
});
|
|
1185
1197
|
var getUserProfilesMe = (options) => (options.client ?? client).get({
|
|
1186
1198
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1187
1199
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1198,6 +1210,27 @@ var postInvitationsInvite = (options) => (options.client ?? client).post({
|
|
|
1198
1210
|
...options.headers
|
|
1199
1211
|
}
|
|
1200
1212
|
});
|
|
1213
|
+
var getAgentVersions = (options) => (options.client ?? client).get({
|
|
1214
|
+
querySerializer: {
|
|
1215
|
+
parameters: {
|
|
1216
|
+
filter: { object: { style: "form" } },
|
|
1217
|
+
fields: { object: { style: "form" } }
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1221
|
+
url: "/agent_versions",
|
|
1222
|
+
...options
|
|
1223
|
+
});
|
|
1224
|
+
var postAgentVersions = (options) => (options.client ?? client).post({
|
|
1225
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1226
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1227
|
+
url: "/agent_versions",
|
|
1228
|
+
...options,
|
|
1229
|
+
headers: {
|
|
1230
|
+
"Content-Type": "application/vnd.api+json",
|
|
1231
|
+
...options.headers
|
|
1232
|
+
}
|
|
1233
|
+
});
|
|
1201
1234
|
var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
|
|
1202
1235
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1203
1236
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -1246,6 +1279,12 @@ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
|
|
|
1246
1279
|
...options.headers
|
|
1247
1280
|
}
|
|
1248
1281
|
});
|
|
1282
|
+
var getAgentVersionsById = (options) => (options.client ?? client).get({
|
|
1283
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1284
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1285
|
+
url: "/agent_versions/{id}",
|
|
1286
|
+
...options
|
|
1287
|
+
});
|
|
1249
1288
|
var postAiChunksSearch = (options) => (options.client ?? client).post({
|
|
1250
1289
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
1251
1290
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -2440,6 +2479,27 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
|
|
|
2440
2479
|
...options.headers
|
|
2441
2480
|
}
|
|
2442
2481
|
});
|
|
2482
|
+
var getFieldTemplates = (options) => (options.client ?? client).get({
|
|
2483
|
+
querySerializer: {
|
|
2484
|
+
parameters: {
|
|
2485
|
+
filter: { object: { style: "form" } },
|
|
2486
|
+
fields: { object: { style: "form" } }
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2490
|
+
url: "/field_templates",
|
|
2491
|
+
...options
|
|
2492
|
+
});
|
|
2493
|
+
var postFieldTemplates = (options) => (options.client ?? client).post({
|
|
2494
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2495
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2496
|
+
url: "/field_templates",
|
|
2497
|
+
...options,
|
|
2498
|
+
headers: {
|
|
2499
|
+
"Content-Type": "application/vnd.api+json",
|
|
2500
|
+
...options.headers
|
|
2501
|
+
}
|
|
2502
|
+
});
|
|
2443
2503
|
var getAiMessages = (options) => (options.client ?? client).get({
|
|
2444
2504
|
querySerializer: {
|
|
2445
2505
|
parameters: {
|
|
@@ -2600,6 +2660,16 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
|
|
|
2600
2660
|
...options.headers
|
|
2601
2661
|
}
|
|
2602
2662
|
});
|
|
2663
|
+
var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
|
|
2664
|
+
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2665
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2666
|
+
url: "/agents/{id}/publish_version",
|
|
2667
|
+
...options,
|
|
2668
|
+
headers: {
|
|
2669
|
+
"Content-Type": "application/vnd.api+json",
|
|
2670
|
+
...options.headers
|
|
2671
|
+
}
|
|
2672
|
+
});
|
|
2603
2673
|
var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
|
|
2604
2674
|
querySerializer: { parameters: { fields: { object: { style: "form" } } } },
|
|
2605
2675
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -3203,6 +3273,7 @@ export {
|
|
|
3203
3273
|
deleteBucketsById,
|
|
3204
3274
|
deleteExtractionDocumentsById,
|
|
3205
3275
|
deleteExtractionSchemaFieldsById,
|
|
3276
|
+
deleteFieldTemplatesById,
|
|
3206
3277
|
deleteMessagesById,
|
|
3207
3278
|
deleteNotificationPreferencesById,
|
|
3208
3279
|
deleteObjectsById,
|
|
@@ -3215,6 +3286,8 @@ export {
|
|
|
3215
3286
|
deleteWebhookConfigsById,
|
|
3216
3287
|
deleteWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
3217
3288
|
deleteWorkspacesById,
|
|
3289
|
+
getAgentVersions,
|
|
3290
|
+
getAgentVersionsById,
|
|
3218
3291
|
getAgents,
|
|
3219
3292
|
getAgentsById,
|
|
3220
3293
|
getAgentsByIdTrainingStats,
|
|
@@ -3253,6 +3326,8 @@ export {
|
|
|
3253
3326
|
getExtractionSchemaFieldsById,
|
|
3254
3327
|
getExtractionSchemasById,
|
|
3255
3328
|
getExtractionSchemasWorkspaceByWorkspaceId,
|
|
3329
|
+
getFieldTemplates,
|
|
3330
|
+
getFieldTemplatesById,
|
|
3256
3331
|
getInvitations,
|
|
3257
3332
|
getInvitationsConsumeByToken,
|
|
3258
3333
|
getLlmAnalytics,
|
|
@@ -3354,9 +3429,11 @@ export {
|
|
|
3354
3429
|
patchWorkspaceMembershipsByWorkspaceIdByUserId,
|
|
3355
3430
|
patchWorkspacesById,
|
|
3356
3431
|
patchWorkspacesByIdAllocate,
|
|
3432
|
+
postAgentVersions,
|
|
3357
3433
|
postAgents,
|
|
3358
3434
|
postAgentsByIdClone,
|
|
3359
3435
|
postAgentsByIdLearnFromDocument,
|
|
3436
|
+
postAgentsByIdPublishVersion,
|
|
3360
3437
|
postAgentsByIdTest,
|
|
3361
3438
|
postAgentsByIdValidate,
|
|
3362
3439
|
postAgentsCloneForWorkspace,
|
|
@@ -3381,6 +3458,7 @@ export {
|
|
|
3381
3458
|
postExtractionResults,
|
|
3382
3459
|
postExtractionSchemaFields,
|
|
3383
3460
|
postExtractionSchemas,
|
|
3461
|
+
postFieldTemplates,
|
|
3384
3462
|
postInvitationsAcceptByToken,
|
|
3385
3463
|
postInvitationsInvite,
|
|
3386
3464
|
postLlmAnalytics,
|
package/package.json
CHANGED