@gpt-core/client 0.5.3 → 0.5.5

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 CHANGED
@@ -71,6 +71,7 @@ __export(index_exports, {
71
71
  deleteWorkspacesById: () => deleteWorkspacesById,
72
72
  getAgents: () => getAgents,
73
73
  getAgentsById: () => getAgentsById,
74
+ getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
74
75
  getAiChunksDocumentByDocumentId: () => getAiChunksDocumentByDocumentId,
75
76
  getAiConversations: () => getAiConversations,
76
77
  getAiConversationsById: () => getAiConversationsById,
@@ -137,6 +138,9 @@ __export(index_exports, {
137
138
  getTenantMemberships: () => getTenantMemberships,
138
139
  getTenants: () => getTenants,
139
140
  getTenantsById: () => getTenantsById,
141
+ getTenantsByTenantIdDocumentStats: () => getTenantsByTenantIdDocumentStats,
142
+ getTenantsByTenantIdStats: () => getTenantsByTenantIdStats,
143
+ getTenantsByTenantIdWorkspaceStats: () => getTenantsByTenantIdWorkspaceStats,
140
144
  getThreads: () => getThreads,
141
145
  getThreadsById: () => getThreadsById,
142
146
  getThreadsSearch: () => getThreadsSearch,
@@ -2019,7 +2023,6 @@ var getTrainingExamples = (options) => (options.client ?? client).get({
2019
2023
  querySerializer: {
2020
2024
  parameters: {
2021
2025
  filter: { object: { style: "form" } },
2022
- page: { object: { style: "form" } },
2023
2026
  fields: { object: { style: "form" } }
2024
2027
  }
2025
2028
  },
@@ -2043,6 +2046,11 @@ var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.clie
2043
2046
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
2044
2047
  ...options
2045
2048
  });
2049
+ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
2050
+ security: [{ scheme: "bearer", type: "http" }],
2051
+ url: "/agents/{id}/training_stats",
2052
+ ...options
2053
+ });
2046
2054
  var getBuckets = (options) => (options.client ?? client).get({
2047
2055
  querySerializer: {
2048
2056
  parameters: {
@@ -2071,6 +2079,12 @@ var getPlansById = (options) => (options.client ?? client).get({
2071
2079
  url: "/plans/{id}",
2072
2080
  ...options
2073
2081
  });
2082
+ var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
2083
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2084
+ security: [{ scheme: "bearer", type: "http" }],
2085
+ url: "/tenants/{tenant_id}/stats",
2086
+ ...options
2087
+ });
2074
2088
  var patchWalletAddons = (options) => (options.client ?? client).patch({
2075
2089
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2076
2090
  security: [{ scheme: "bearer", type: "http" }],
@@ -2326,6 +2340,17 @@ var getSearchStatus = (options) => (options.client ?? client).get({
2326
2340
  url: "/search/status",
2327
2341
  ...options
2328
2342
  });
2343
+ var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
2344
+ querySerializer: {
2345
+ parameters: {
2346
+ filter: { object: { style: "form" } },
2347
+ fields: { object: { style: "form" } }
2348
+ }
2349
+ },
2350
+ security: [{ scheme: "bearer", type: "http" }],
2351
+ url: "/tenants/{tenant_id}/workspace_stats",
2352
+ ...options
2353
+ });
2329
2354
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2330
2355
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2331
2356
  security: [{ scheme: "bearer", type: "http" }],
@@ -2450,6 +2475,12 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2450
2475
  ...options.headers
2451
2476
  }
2452
2477
  });
2478
+ var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
2479
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2480
+ security: [{ scheme: "bearer", type: "http" }],
2481
+ url: "/tenants/{tenant_id}/document_stats",
2482
+ ...options
2483
+ });
2453
2484
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
2454
2485
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2455
2486
  security: [{ scheme: "bearer", type: "http" }],
@@ -3391,6 +3422,7 @@ async function collectStreamedMessage(stream) {
3391
3422
  deleteWorkspacesById,
3392
3423
  getAgents,
3393
3424
  getAgentsById,
3425
+ getAgentsByIdTrainingStats,
3394
3426
  getAiChunksDocumentByDocumentId,
3395
3427
  getAiConversations,
3396
3428
  getAiConversationsById,
@@ -3457,6 +3489,9 @@ async function collectStreamedMessage(stream) {
3457
3489
  getTenantMemberships,
3458
3490
  getTenants,
3459
3491
  getTenantsById,
3492
+ getTenantsByTenantIdDocumentStats,
3493
+ getTenantsByTenantIdStats,
3494
+ getTenantsByTenantIdWorkspaceStats,
3460
3495
  getThreads,
3461
3496
  getThreadsById,
3462
3497
  getThreadsSearch,
package/dist/index.mjs CHANGED
@@ -1745,7 +1745,6 @@ var getTrainingExamples = (options) => (options.client ?? client).get({
1745
1745
  querySerializer: {
1746
1746
  parameters: {
1747
1747
  filter: { object: { style: "form" } },
1748
- page: { object: { style: "form" } },
1749
1748
  fields: { object: { style: "form" } }
1750
1749
  }
1751
1750
  },
@@ -1769,6 +1768,11 @@ var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.clie
1769
1768
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
1770
1769
  ...options
1771
1770
  });
1771
+ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
1772
+ security: [{ scheme: "bearer", type: "http" }],
1773
+ url: "/agents/{id}/training_stats",
1774
+ ...options
1775
+ });
1772
1776
  var getBuckets = (options) => (options.client ?? client).get({
1773
1777
  querySerializer: {
1774
1778
  parameters: {
@@ -1797,6 +1801,12 @@ var getPlansById = (options) => (options.client ?? client).get({
1797
1801
  url: "/plans/{id}",
1798
1802
  ...options
1799
1803
  });
1804
+ var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
1805
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1806
+ security: [{ scheme: "bearer", type: "http" }],
1807
+ url: "/tenants/{tenant_id}/stats",
1808
+ ...options
1809
+ });
1800
1810
  var patchWalletAddons = (options) => (options.client ?? client).patch({
1801
1811
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1802
1812
  security: [{ scheme: "bearer", type: "http" }],
@@ -2052,6 +2062,17 @@ var getSearchStatus = (options) => (options.client ?? client).get({
2052
2062
  url: "/search/status",
2053
2063
  ...options
2054
2064
  });
2065
+ var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
2066
+ querySerializer: {
2067
+ parameters: {
2068
+ filter: { object: { style: "form" } },
2069
+ fields: { object: { style: "form" } }
2070
+ }
2071
+ },
2072
+ security: [{ scheme: "bearer", type: "http" }],
2073
+ url: "/tenants/{tenant_id}/workspace_stats",
2074
+ ...options
2075
+ });
2055
2076
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
2056
2077
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2057
2078
  security: [{ scheme: "bearer", type: "http" }],
@@ -2176,6 +2197,12 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
2176
2197
  ...options.headers
2177
2198
  }
2178
2199
  });
2200
+ var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
2201
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2202
+ security: [{ scheme: "bearer", type: "http" }],
2203
+ url: "/tenants/{tenant_id}/document_stats",
2204
+ ...options
2205
+ });
2179
2206
  var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
2180
2207
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2181
2208
  security: [{ scheme: "bearer", type: "http" }],
@@ -3116,6 +3143,7 @@ export {
3116
3143
  deleteWorkspacesById,
3117
3144
  getAgents,
3118
3145
  getAgentsById,
3146
+ getAgentsByIdTrainingStats,
3119
3147
  getAiChunksDocumentByDocumentId,
3120
3148
  getAiConversations,
3121
3149
  getAiConversationsById,
@@ -3182,6 +3210,9 @@ export {
3182
3210
  getTenantMemberships,
3183
3211
  getTenants,
3184
3212
  getTenantsById,
3213
+ getTenantsByTenantIdDocumentStats,
3214
+ getTenantsByTenantIdStats,
3215
+ getTenantsByTenantIdWorkspaceStats,
3185
3216
  getThreads,
3186
3217
  getThreadsById,
3187
3218
  getThreadsSearch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",