@gpt-core/client 0.9.30 → 0.9.31

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
@@ -55,6 +55,7 @@ __export(index_exports, {
55
55
  default: () => index_default,
56
56
  deleteAgentVersionsById: () => deleteAgentVersionsById,
57
57
  deleteAgentsById: () => deleteAgentsById,
58
+ deleteAgentsByIdTrainingExamplesByExampleId: () => deleteAgentsByIdTrainingExamplesByExampleId,
58
59
  deleteAiConversationsById: () => deleteAiConversationsById,
59
60
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
60
61
  deleteAiGraphNodesById: () => deleteAiGraphNodesById,
@@ -93,6 +94,7 @@ __export(index_exports, {
93
94
  getAgentsById: () => getAgentsById,
94
95
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
95
96
  getAgentsByIdStats: () => getAgentsByIdStats,
97
+ getAgentsByIdTrainingExamples: () => getAgentsByIdTrainingExamples,
96
98
  getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
97
99
  getAgentsByIdUsage: () => getAgentsByIdUsage,
98
100
  getAgentsUsage: () => getAgentsUsage,
@@ -335,16 +337,19 @@ __export(index_exports, {
335
337
  postAgentVersionsByIdRemoveSystemField: () => postAgentVersionsByIdRemoveSystemField,
336
338
  postAgentVersionsByIdSetSystemFields: () => postAgentVersionsByIdSetSystemFields,
337
339
  postAgents: () => postAgents,
340
+ postAgentsByIdAnalyzeTraining: () => postAgentsByIdAnalyzeTraining,
338
341
  postAgentsByIdClone: () => postAgentsByIdClone,
339
342
  postAgentsByIdDiscoverSchema: () => postAgentsByIdDiscoverSchema,
340
343
  postAgentsByIdExport: () => postAgentsByIdExport,
341
344
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
345
+ postAgentsByIdRestoreVersion: () => postAgentsByIdRestoreVersion,
342
346
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
343
347
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
344
348
  postAgentsByIdTeach: () => postAgentsByIdTeach,
345
349
  postAgentsByIdTest: () => postAgentsByIdTest,
346
350
  postAgentsByIdValidate: () => postAgentsByIdValidate,
347
351
  postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
352
+ postAgentsDiscoverSchema: () => postAgentsDiscoverSchema,
348
353
  postAgentsImport: () => postAgentsImport,
349
354
  postAgentsPredict: () => postAgentsPredict,
350
355
  postAiChunksSearch: () => postAiChunksSearch,
@@ -446,6 +451,7 @@ var sdk_gen_exports = {};
446
451
  __export(sdk_gen_exports, {
447
452
  deleteAgentVersionsById: () => deleteAgentVersionsById,
448
453
  deleteAgentsById: () => deleteAgentsById,
454
+ deleteAgentsByIdTrainingExamplesByExampleId: () => deleteAgentsByIdTrainingExamplesByExampleId,
449
455
  deleteAiConversationsById: () => deleteAiConversationsById,
450
456
  deleteAiGraphEdgesById: () => deleteAiGraphEdgesById,
451
457
  deleteAiGraphNodesById: () => deleteAiGraphNodesById,
@@ -484,6 +490,7 @@ __export(sdk_gen_exports, {
484
490
  getAgentsById: () => getAgentsById,
485
491
  getAgentsByIdSchemaVersions: () => getAgentsByIdSchemaVersions,
486
492
  getAgentsByIdStats: () => getAgentsByIdStats,
493
+ getAgentsByIdTrainingExamples: () => getAgentsByIdTrainingExamples,
487
494
  getAgentsByIdTrainingStats: () => getAgentsByIdTrainingStats,
488
495
  getAgentsByIdUsage: () => getAgentsByIdUsage,
489
496
  getAgentsUsage: () => getAgentsUsage,
@@ -722,16 +729,19 @@ __export(sdk_gen_exports, {
722
729
  postAgentVersionsByIdRemoveSystemField: () => postAgentVersionsByIdRemoveSystemField,
723
730
  postAgentVersionsByIdSetSystemFields: () => postAgentVersionsByIdSetSystemFields,
724
731
  postAgents: () => postAgents,
732
+ postAgentsByIdAnalyzeTraining: () => postAgentsByIdAnalyzeTraining,
725
733
  postAgentsByIdClone: () => postAgentsByIdClone,
726
734
  postAgentsByIdDiscoverSchema: () => postAgentsByIdDiscoverSchema,
727
735
  postAgentsByIdExport: () => postAgentsByIdExport,
728
736
  postAgentsByIdPublishVersion: () => postAgentsByIdPublishVersion,
737
+ postAgentsByIdRestoreVersion: () => postAgentsByIdRestoreVersion,
729
738
  postAgentsByIdSchemaVersions: () => postAgentsByIdSchemaVersions,
730
739
  postAgentsByIdSchemaVersionsByVersionIdActivate: () => postAgentsByIdSchemaVersionsByVersionIdActivate,
731
740
  postAgentsByIdTeach: () => postAgentsByIdTeach,
732
741
  postAgentsByIdTest: () => postAgentsByIdTest,
733
742
  postAgentsByIdValidate: () => postAgentsByIdValidate,
734
743
  postAgentsCloneForWorkspace: () => postAgentsCloneForWorkspace,
744
+ postAgentsDiscoverSchema: () => postAgentsDiscoverSchema,
735
745
  postAgentsImport: () => postAgentsImport,
736
746
  postAgentsPredict: () => postAgentsPredict,
737
747
  postAiChunksSearch: () => postAiChunksSearch,
@@ -1643,6 +1653,7 @@ var client = createClient(
1643
1653
 
1644
1654
  // src/_internal/sdk.gen.ts
1645
1655
  var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1656
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1646
1657
  security: [{ scheme: "bearer", type: "http" }],
1647
1658
  url: "/ai/search/advanced",
1648
1659
  ...options,
@@ -1652,21 +1663,31 @@ var postAiSearchAdvanced = (options) => (options.client ?? client).post({
1652
1663
  }
1653
1664
  });
1654
1665
  var deleteExtractionDocumentsById = (options) => (options.client ?? client).delete({
1666
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1655
1667
  security: [{ scheme: "bearer", type: "http" }],
1656
1668
  url: "/extraction/documents/{id}",
1657
1669
  ...options
1658
1670
  });
1659
1671
  var getExtractionDocumentsById = (options) => (options.client ?? client).get({
1672
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1660
1673
  security: [{ scheme: "bearer", type: "http" }],
1661
1674
  url: "/extraction/documents/{id}",
1662
1675
  ...options
1663
1676
  });
1664
1677
  var getThreads = (options) => (options.client ?? client).get({
1678
+ querySerializer: {
1679
+ parameters: {
1680
+ filter: { object: { style: "form" } },
1681
+ page: { object: { style: "form" } },
1682
+ fields: { object: { style: "form" } }
1683
+ }
1684
+ },
1665
1685
  security: [{ scheme: "bearer", type: "http" }],
1666
1686
  url: "/threads",
1667
1687
  ...options
1668
1688
  });
1669
1689
  var postThreads = (options) => (options.client ?? client).post({
1690
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1670
1691
  security: [{ scheme: "bearer", type: "http" }],
1671
1692
  url: "/threads",
1672
1693
  ...options,
@@ -1676,6 +1697,7 @@ var postThreads = (options) => (options.client ?? client).post({
1676
1697
  }
1677
1698
  });
1678
1699
  var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client).patch({
1700
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1679
1701
  security: [{ scheme: "bearer", type: "http" }],
1680
1702
  url: "/extraction/documents/{id}/cancel",
1681
1703
  ...options,
@@ -1685,16 +1707,19 @@ var patchExtractionDocumentsByIdCancel = (options) => (options.client ?? client)
1685
1707
  }
1686
1708
  });
1687
1709
  var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1710
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1688
1711
  security: [{ scheme: "bearer", type: "http" }],
1689
1712
  url: "/llm_analytics/costs",
1690
1713
  ...options
1691
1714
  });
1692
1715
  var getExtractionConfigEnumsById = (options) => (options.client ?? client).get({
1716
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1693
1717
  security: [{ scheme: "bearer", type: "http" }],
1694
1718
  url: "/extraction/config-enums/{id}",
1695
1719
  ...options
1696
1720
  });
1697
1721
  var patchExtractionConfigEnumsById = (options) => (options.client ?? client).patch({
1722
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1698
1723
  security: [{ scheme: "bearer", type: "http" }],
1699
1724
  url: "/extraction/config-enums/{id}",
1700
1725
  ...options,
@@ -1704,21 +1729,30 @@ var patchExtractionConfigEnumsById = (options) => (options.client ?? client).pat
1704
1729
  }
1705
1730
  });
1706
1731
  var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ?? client).get({
1732
+ querySerializer: {
1733
+ parameters: {
1734
+ filter: { object: { style: "form" } },
1735
+ fields: { object: { style: "form" } }
1736
+ }
1737
+ },
1707
1738
  security: [{ scheme: "bearer", type: "http" }],
1708
1739
  url: "/training_sessions/agents/{agent_id}/sessions",
1709
1740
  ...options
1710
1741
  });
1711
1742
  var getWatcherEventsById = (options) => (options.client ?? client).get({
1743
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1712
1744
  security: [{ scheme: "bearer", type: "http" }],
1713
1745
  url: "/watcher/events/{id}",
1714
1746
  ...options
1715
1747
  });
1716
1748
  var getAiChunksDocumentByDocumentId = (options) => (options.client ?? client).get({
1749
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1717
1750
  security: [{ scheme: "bearer", type: "http" }],
1718
1751
  url: "/ai/chunks/document/{document_id}",
1719
1752
  ...options
1720
1753
  });
1721
1754
  var patchWalletCredits = (options) => (options.client ?? client).patch({
1755
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1722
1756
  security: [{ scheme: "bearer", type: "http" }],
1723
1757
  url: "/wallet/credits",
1724
1758
  ...options,
@@ -1737,12 +1771,29 @@ var getApplicationsCurrent = (options) => (options.client ?? client).get({
1737
1771
  url: "/applications/current",
1738
1772
  ...options
1739
1773
  });
1774
+ var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
1775
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1776
+ security: [{ scheme: "bearer", type: "http" }],
1777
+ url: "/invitations/accept-by-token",
1778
+ ...options,
1779
+ headers: {
1780
+ "Content-Type": "application/vnd.api+json",
1781
+ ...options.headers
1782
+ }
1783
+ });
1740
1784
  var getWorkspaces = (options) => (options.client ?? client).get({
1785
+ querySerializer: {
1786
+ parameters: {
1787
+ filter: { object: { style: "form" } },
1788
+ fields: { object: { style: "form" } }
1789
+ }
1790
+ },
1741
1791
  security: [{ scheme: "bearer", type: "http" }],
1742
1792
  url: "/workspaces",
1743
1793
  ...options
1744
1794
  });
1745
1795
  var postWorkspaces = (options) => (options.client ?? client).post({
1796
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1746
1797
  security: [{ scheme: "bearer", type: "http" }],
1747
1798
  url: "/workspaces",
1748
1799
  ...options,
@@ -1752,11 +1803,19 @@ var postWorkspaces = (options) => (options.client ?? client).post({
1752
1803
  }
1753
1804
  });
1754
1805
  var getPaymentMethods = (options) => (options.client ?? client).get({
1806
+ querySerializer: {
1807
+ parameters: {
1808
+ filter: { object: { style: "form" } },
1809
+ page: { object: { style: "form" } },
1810
+ fields: { object: { style: "form" } }
1811
+ }
1812
+ },
1755
1813
  security: [{ scheme: "bearer", type: "http" }],
1756
1814
  url: "/payment-methods",
1757
1815
  ...options
1758
1816
  });
1759
1817
  var postPaymentMethods = (options) => (options.client ?? client).post({
1818
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1760
1819
  security: [{ scheme: "bearer", type: "http" }],
1761
1820
  url: "/payment-methods",
1762
1821
  ...options,
@@ -1766,16 +1825,19 @@ var postPaymentMethods = (options) => (options.client ?? client).post({
1766
1825
  }
1767
1826
  });
1768
1827
  var getAgentsByIdStats = (options) => (options.client ?? client).get({
1828
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1769
1829
  security: [{ scheme: "bearer", type: "http" }],
1770
1830
  url: "/agents/{id}/stats",
1771
1831
  ...options
1772
1832
  });
1773
1833
  var getDocumentsStats = (options) => (options.client ?? client).get({
1834
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1774
1835
  security: [{ scheme: "bearer", type: "http" }],
1775
1836
  url: "/documents/stats",
1776
1837
  ...options
1777
1838
  });
1778
1839
  var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client).patch({
1840
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1779
1841
  security: [{ scheme: "bearer", type: "http" }],
1780
1842
  url: "/extraction/documents/{id}/dismiss",
1781
1843
  ...options,
@@ -1785,6 +1847,7 @@ var patchExtractionDocumentsByIdDismiss = (options) => (options.client ?? client
1785
1847
  }
1786
1848
  });
1787
1849
  var postObjectsRegister = (options) => (options.client ?? client).post({
1850
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1788
1851
  security: [{ scheme: "bearer", type: "http" }],
1789
1852
  url: "/objects/register",
1790
1853
  ...options,
@@ -1794,11 +1857,13 @@ var postObjectsRegister = (options) => (options.client ?? client).post({
1794
1857
  }
1795
1858
  });
1796
1859
  var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1860
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1797
1861
  security: [{ scheme: "bearer", type: "http" }],
1798
1862
  url: "/llm_analytics/workspace",
1799
1863
  ...options
1800
1864
  });
1801
1865
  var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?? client).patch({
1866
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1802
1867
  security: [{ scheme: "bearer", type: "http" }],
1803
1868
  url: "/extraction/documents/{id}/dismiss-training",
1804
1869
  ...options,
@@ -1808,6 +1873,7 @@ var patchExtractionDocumentsByIdDismissTraining = (options) => (options.client ?
1808
1873
  }
1809
1874
  });
1810
1875
  var postAgentVersionComparisons = (options) => (options.client ?? client).post({
1876
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1811
1877
  security: [{ scheme: "bearer", type: "http" }],
1812
1878
  url: "/agent_version_comparisons",
1813
1879
  ...options,
@@ -1817,6 +1883,12 @@ var postAgentVersionComparisons = (options) => (options.client ?? client).post({
1817
1883
  }
1818
1884
  });
1819
1885
  var getSearchIndexes = (options) => (options.client ?? client).get({
1886
+ querySerializer: {
1887
+ parameters: {
1888
+ filter: { object: { style: "form" } },
1889
+ fields: { object: { style: "form" } }
1890
+ }
1891
+ },
1820
1892
  security: [{ scheme: "bearer", type: "http" }],
1821
1893
  url: "/search/indexes",
1822
1894
  ...options
@@ -1830,12 +1902,40 @@ var postApplicationsByApplicationIdEmailTemplatesBySlugPreview = (options) => (o
1830
1902
  ...options.headers
1831
1903
  }
1832
1904
  });
1905
+ var postAgentsByIdAnalyzeTraining = (options) => (options.client ?? client).post({
1906
+ security: [{ scheme: "bearer", type: "http" }],
1907
+ url: "/agents/{id}/analyze-training",
1908
+ ...options
1909
+ });
1910
+ var getAiGraphNodesBySourceNodeIdRelated = (options) => (options.client ?? client).get({
1911
+ querySerializer: {
1912
+ parameters: {
1913
+ filter: { object: { style: "form" } },
1914
+ fields: { object: { style: "form" } }
1915
+ }
1916
+ },
1917
+ security: [{ scheme: "bearer", type: "http" }],
1918
+ url: "/ai/graph/nodes/{source-node-id}/related",
1919
+ ...options
1920
+ });
1921
+ var postStorageSignDownload = (options) => (options.client ?? client).post({
1922
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1923
+ security: [{ scheme: "bearer", type: "http" }],
1924
+ url: "/storage/sign-download",
1925
+ ...options,
1926
+ headers: {
1927
+ "Content-Type": "application/vnd.api+json",
1928
+ ...options.headers
1929
+ }
1930
+ });
1833
1931
  var getCreditPackagesSlugBySlug = (options) => (options.client ?? client).get({
1932
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1834
1933
  security: [{ scheme: "bearer", type: "http" }],
1835
1934
  url: "/credit-packages/slug/{slug}",
1836
1935
  ...options
1837
1936
  });
1838
1937
  var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch({
1938
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1839
1939
  security: [{ scheme: "bearer", type: "http" }],
1840
1940
  url: "/users/auth/password/change",
1841
1941
  ...options,
@@ -1845,6 +1945,7 @@ var patchUsersAuthPasswordChange = (options) => (options.client ?? client).patch
1845
1945
  }
1846
1946
  });
1847
1947
  var postExtractionBatches = (options) => (options.client ?? client).post({
1948
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1848
1949
  security: [{ scheme: "bearer", type: "http" }],
1849
1950
  url: "/extraction/batches",
1850
1951
  ...options,
@@ -1854,11 +1955,13 @@ var postExtractionBatches = (options) => (options.client ?? client).post({
1854
1955
  }
1855
1956
  });
1856
1957
  var getLlmAnalyticsPlatform = (options) => (options.client ?? client).get({
1958
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1857
1959
  security: [{ scheme: "bearer", type: "http" }],
1858
1960
  url: "/llm_analytics/platform",
1859
1961
  ...options
1860
1962
  });
1861
1963
  var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client).patch({
1964
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1862
1965
  security: [{ scheme: "bearer", type: "http" }],
1863
1966
  url: "/extraction/documents/{id}/exclude",
1864
1967
  ...options,
@@ -1868,6 +1971,7 @@ var patchExtractionDocumentsByIdExclude = (options) => (options.client ?? client
1868
1971
  }
1869
1972
  });
1870
1973
  var postPayments = (options) => (options.client ?? client).post({
1974
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1871
1975
  security: [{ scheme: "bearer", type: "http" }],
1872
1976
  url: "/payments",
1873
1977
  ...options,
@@ -1877,6 +1981,7 @@ var postPayments = (options) => (options.client ?? client).post({
1877
1981
  }
1878
1982
  });
1879
1983
  var postAgentsImport = (options) => (options.client ?? client).post({
1984
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1880
1985
  security: [{ scheme: "bearer", type: "http" }],
1881
1986
  url: "/agents/import",
1882
1987
  ...options,
@@ -1885,7 +1990,23 @@ var postAgentsImport = (options) => (options.client ?? client).post({
1885
1990
  ...options.headers
1886
1991
  }
1887
1992
  });
1993
+ var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
1994
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1995
+ security: [{ scheme: "bearer", type: "http" }],
1996
+ url: "/api_keys/{id}/set-budget",
1997
+ ...options,
1998
+ headers: {
1999
+ "Content-Type": "application/vnd.api+json",
2000
+ ...options.headers
2001
+ }
2002
+ });
1888
2003
  var getExtractionBatchesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2004
+ querySerializer: {
2005
+ parameters: {
2006
+ filter: { object: { style: "form" } },
2007
+ fields: { object: { style: "form" } }
2008
+ }
2009
+ },
1889
2010
  security: [{ scheme: "bearer", type: "http" }],
1890
2011
  url: "/extraction/batches/workspace/{workspace_id}",
1891
2012
  ...options
@@ -1900,6 +2021,7 @@ var postAgentVersionsByIdRemoveSystemField = (options) => (options.client ?? cli
1900
2021
  }
1901
2022
  });
1902
2023
  var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
2024
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1903
2025
  security: [{ scheme: "bearer", type: "http" }],
1904
2026
  url: "/api_keys/{id}/revoke",
1905
2027
  ...options,
@@ -1908,17 +2030,25 @@ var patchApiKeysByIdRevoke = (options) => (options.client ?? client).patch({
1908
2030
  ...options.headers
1909
2031
  }
1910
2032
  });
2033
+ var getAgentsByIdTrainingExamples = (options) => (options.client ?? client).get({
2034
+ security: [{ scheme: "bearer", type: "http" }],
2035
+ url: "/agents/{id}/training-examples",
2036
+ ...options
2037
+ });
1911
2038
  var getInvitationsConsumeByToken = (options) => (options.client ?? client).get({
2039
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1912
2040
  security: [{ scheme: "bearer", type: "http" }],
1913
2041
  url: "/invitations/consume/{token}",
1914
2042
  ...options
1915
2043
  });
1916
2044
  var getExtractionDocumentsByIdStatus = (options) => (options.client ?? client).get({
2045
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1917
2046
  security: [{ scheme: "bearer", type: "http" }],
1918
2047
  url: "/extraction/documents/{id}/status",
1919
2048
  ...options
1920
2049
  });
1921
2050
  var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client).patch({
2051
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1922
2052
  security: [{ scheme: "bearer", type: "http" }],
1923
2053
  url: "/extraction/documents/{id}/status",
1924
2054
  ...options,
@@ -1927,21 +2057,13 @@ var patchExtractionDocumentsByIdStatus = (options) => (options.client ?? client)
1927
2057
  ...options.headers
1928
2058
  }
1929
2059
  });
1930
- var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
1931
- security: [{ scheme: "bearer", type: "http" }],
1932
- url: "/extraction/documents/{id}/finish_upload",
1933
- ...options,
1934
- headers: {
1935
- "Content-Type": "application/vnd.api+json",
1936
- ...options.headers
1937
- }
1938
- });
1939
2060
  var getUsersMeDashboard = (options) => (options.client ?? client).get({
1940
2061
  security: [{ scheme: "bearer", type: "http" }],
1941
2062
  url: "/users/me/dashboard",
1942
2063
  ...options
1943
2064
  });
1944
2065
  var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch({
2066
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1945
2067
  security: [{ scheme: "bearer", type: "http" }],
1946
2068
  url: "/workspaces/{id}/allocate",
1947
2069
  ...options,
@@ -1951,6 +2073,7 @@ var patchWorkspacesByIdAllocate = (options) => (options.client ?? client).patch(
1951
2073
  }
1952
2074
  });
1953
2075
  var postThreadsActive = (options) => (options.client ?? client).post({
2076
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1954
2077
  security: [{ scheme: "bearer", type: "http" }],
1955
2078
  url: "/threads/active",
1956
2079
  ...options,
@@ -1960,6 +2083,7 @@ var postThreadsActive = (options) => (options.client ?? client).post({
1960
2083
  }
1961
2084
  });
1962
2085
  var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
2086
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1963
2087
  security: [{ scheme: "bearer", type: "http" }],
1964
2088
  url: "/invitations/{id}/revoke",
1965
2089
  ...options,
@@ -1969,11 +2093,27 @@ var patchInvitationsByIdRevoke = (options) => (options.client ?? client).patch({
1969
2093
  }
1970
2094
  });
1971
2095
  var getAiGraphNodesLabelByLabel = (options) => (options.client ?? client).get({
2096
+ querySerializer: {
2097
+ parameters: {
2098
+ filter: { object: { style: "form" } },
2099
+ fields: { object: { style: "form" } }
2100
+ }
2101
+ },
1972
2102
  security: [{ scheme: "bearer", type: "http" }],
1973
2103
  url: "/ai/graph/nodes/label/{label}",
1974
2104
  ...options
1975
2105
  });
2106
+ var postTrainingExamplesBulk = (options) => (options.client ?? client).post({
2107
+ security: [{ scheme: "bearer", type: "http" }],
2108
+ url: "/training-examples/bulk",
2109
+ ...options,
2110
+ headers: {
2111
+ "Content-Type": "application/vnd.api+json",
2112
+ ...options.headers
2113
+ }
2114
+ });
1976
2115
  var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options) => (options.client ?? client).post({
2116
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1977
2117
  security: [{ scheme: "bearer", type: "http" }],
1978
2118
  url: "/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained",
1979
2119
  ...options,
@@ -1982,12 +2122,30 @@ var postWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained = (options)
1982
2122
  ...options.headers
1983
2123
  }
1984
2124
  });
2125
+ var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? client).post({
2126
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2127
+ security: [{ scheme: "bearer", type: "http" }],
2128
+ url: "/extraction/documents/find-or-begin-upload",
2129
+ ...options,
2130
+ headers: {
2131
+ "Content-Type": "application/vnd.api+json",
2132
+ ...options.headers
2133
+ }
2134
+ });
1985
2135
  var getConfigs = (options) => (options.client ?? client).get({
2136
+ querySerializer: {
2137
+ parameters: {
2138
+ filter: { object: { style: "form" } },
2139
+ page: { object: { style: "form" } },
2140
+ fields: { object: { style: "form" } }
2141
+ }
2142
+ },
1986
2143
  security: [{ scheme: "bearer", type: "http" }],
1987
2144
  url: "/configs",
1988
2145
  ...options
1989
2146
  });
1990
2147
  var postConfigs = (options) => (options.client ?? client).post({
2148
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1991
2149
  security: [{ scheme: "bearer", type: "http" }],
1992
2150
  url: "/configs",
1993
2151
  ...options,
@@ -1996,46 +2154,39 @@ var postConfigs = (options) => (options.client ?? client).post({
1996
2154
  ...options.headers
1997
2155
  }
1998
2156
  });
1999
- var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2157
+ var postAgentsByIdRestoreVersion = (options) => (options.client ?? client).post({
2000
2158
  security: [{ scheme: "bearer", type: "http" }],
2001
- url: "/wallet/auto-top-up",
2159
+ url: "/agents/{id}/restore-version",
2002
2160
  ...options,
2003
2161
  headers: {
2004
2162
  "Content-Type": "application/vnd.api+json",
2005
2163
  ...options.headers
2006
2164
  }
2007
2165
  });
2008
- var postTokens = (options) => (options.client ?? client).post({
2166
+ var patchWalletAutoTopUp = (options) => (options.client ?? client).patch({
2167
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2009
2168
  security: [{ scheme: "bearer", type: "http" }],
2010
- url: "/tokens",
2169
+ url: "/wallet/auto-top-up",
2011
2170
  ...options,
2012
2171
  headers: {
2013
2172
  "Content-Type": "application/vnd.api+json",
2014
2173
  ...options.headers
2015
2174
  }
2016
2175
  });
2017
- var patchApiKeysByIdSetBudget = (options) => (options.client ?? client).patch({
2176
+ var postTokens = (options) => (options.client ?? client).post({
2177
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2018
2178
  security: [{ scheme: "bearer", type: "http" }],
2019
- url: "/api_keys/{id}/set_budget",
2179
+ url: "/tokens",
2020
2180
  ...options,
2021
2181
  headers: {
2022
2182
  "Content-Type": "application/vnd.api+json",
2023
2183
  ...options.headers
2024
2184
  }
2025
2185
  });
2026
- var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
2027
- security: [{ scheme: "bearer", type: "http" }],
2028
- url: "/training_examples/{id}",
2029
- ...options
2030
- });
2031
- var getTrainingExamplesById = (options) => (options.client ?? client).get({
2032
- security: [{ scheme: "bearer", type: "http" }],
2033
- url: "/training_examples/{id}",
2034
- ...options
2035
- });
2036
- var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
2186
+ var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
2187
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2037
2188
  security: [{ scheme: "bearer", type: "http" }],
2038
- url: "/training_examples/{id}",
2189
+ url: "/agents/{id}/publish-version",
2039
2190
  ...options,
2040
2191
  headers: {
2041
2192
  "Content-Type": "application/vnd.api+json",
@@ -2043,11 +2194,13 @@ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
2043
2194
  }
2044
2195
  });
2045
2196
  var deleteSearchSavedById = (options) => (options.client ?? client).delete({
2197
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2046
2198
  security: [{ scheme: "bearer", type: "http" }],
2047
2199
  url: "/search/saved/{id}",
2048
2200
  ...options
2049
2201
  });
2050
2202
  var patchSearchSavedById = (options) => (options.client ?? client).patch({
2203
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2051
2204
  security: [{ scheme: "bearer", type: "http" }],
2052
2205
  url: "/search/saved/{id}",
2053
2206
  ...options,
@@ -2057,6 +2210,7 @@ var patchSearchSavedById = (options) => (options.client ?? client).patch({
2057
2210
  }
2058
2211
  });
2059
2212
  var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
2213
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2060
2214
  security: [{ scheme: "bearer", type: "http" }],
2061
2215
  url: "/users/{id}/admin/email",
2062
2216
  ...options,
@@ -2065,7 +2219,24 @@ var patchUsersByIdAdminEmail = (options) => (options.client ?? client).patch({
2065
2219
  ...options.headers
2066
2220
  }
2067
2221
  });
2222
+ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
2223
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2224
+ security: [{ scheme: "bearer", type: "http" }],
2225
+ url: "/users/auth/magic-link/login",
2226
+ ...options,
2227
+ headers: {
2228
+ "Content-Type": "application/vnd.api+json",
2229
+ ...options.headers
2230
+ }
2231
+ });
2068
2232
  var getExtractionDocumentsWorkspaceByWorkspaceIdTrained = (options) => (options.client ?? client).get({
2233
+ querySerializer: {
2234
+ parameters: {
2235
+ filter: { object: { style: "form" } },
2236
+ page: { object: { style: "form" } },
2237
+ fields: { object: { style: "form" } }
2238
+ }
2239
+ },
2069
2240
  security: [{ scheme: "bearer", type: "http" }],
2070
2241
  url: "/extraction/documents/workspace/{workspace_id}/trained",
2071
2242
  ...options
@@ -2085,6 +2256,7 @@ var getWatcherClaimsStatus = (options) => (options.client ?? client).get({
2085
2256
  ...options
2086
2257
  });
2087
2258
  var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch({
2259
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2088
2260
  security: [{ scheme: "bearer", type: "http" }],
2089
2261
  url: "/users/auth/reset-password",
2090
2262
  ...options,
@@ -2094,16 +2266,25 @@ var patchUsersAuthResetPassword = (options) => (options.client ?? client).patch(
2094
2266
  }
2095
2267
  });
2096
2268
  var getBucketsByIdStats = (options) => (options.client ?? client).get({
2269
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2097
2270
  security: [{ scheme: "bearer", type: "http" }],
2098
2271
  url: "/buckets/{id}/stats",
2099
2272
  ...options
2100
2273
  });
2101
2274
  var getApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).get({
2275
+ querySerializer: {
2276
+ parameters: {
2277
+ filter: { object: { style: "form" } },
2278
+ page: { object: { style: "form" } },
2279
+ fields: { object: { style: "form" } }
2280
+ }
2281
+ },
2102
2282
  security: [{ scheme: "bearer", type: "http" }],
2103
2283
  url: "/applications/{application_id}/email-templates",
2104
2284
  ...options
2105
2285
  });
2106
2286
  var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client ?? client).post({
2287
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2107
2288
  security: [{ scheme: "bearer", type: "http" }],
2108
2289
  url: "/applications/{application_id}/email-templates",
2109
2290
  ...options,
@@ -2113,11 +2294,18 @@ var postApplicationsByApplicationIdEmailTemplates = (options) => (options.client
2113
2294
  }
2114
2295
  });
2115
2296
  var getAgentsUsage = (options) => (options.client ?? client).get({
2297
+ querySerializer: {
2298
+ parameters: {
2299
+ filter: { object: { style: "form" } },
2300
+ fields: { object: { style: "form" } }
2301
+ }
2302
+ },
2116
2303
  security: [{ scheme: "bearer", type: "http" }],
2117
2304
  url: "/agents/usage",
2118
2305
  ...options
2119
2306
  });
2120
2307
  var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).patch({
2308
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2121
2309
  security: [{ scheme: "bearer", type: "http" }],
2122
2310
  url: "/workspaces/{id}/populate-hashes",
2123
2311
  ...options,
@@ -2126,21 +2314,24 @@ var patchWorkspacesByIdPopulateHashes = (options) => (options.client ?? client).
2126
2314
  ...options.headers
2127
2315
  }
2128
2316
  });
2129
- var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
2317
+ var getBucketsByIdObjects = (options) => (options.client ?? client).get({
2318
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2319
+ security: [{ scheme: "bearer", type: "http" }],
2320
+ url: "/buckets/{id}/objects",
2321
+ ...options
2322
+ });
2323
+ var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
2324
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2130
2325
  security: [{ scheme: "bearer", type: "http" }],
2131
- url: "/notification_methods/{id}/set_primary",
2326
+ url: "/extraction/documents/begin-upload",
2132
2327
  ...options,
2133
2328
  headers: {
2134
2329
  "Content-Type": "application/vnd.api+json",
2135
2330
  ...options.headers
2136
2331
  }
2137
2332
  });
2138
- var getBucketsByIdObjects = (options) => (options.client ?? client).get({
2139
- security: [{ scheme: "bearer", type: "http" }],
2140
- url: "/buckets/{id}/objects",
2141
- ...options
2142
- });
2143
2333
  var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
2334
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2144
2335
  security: [{ scheme: "bearer", type: "http" }],
2145
2336
  url: "/invitations/{id}/resend",
2146
2337
  ...options,
@@ -2150,6 +2341,7 @@ var patchInvitationsByIdResend = (options) => (options.client ?? client).patch({
2150
2341
  }
2151
2342
  });
2152
2343
  var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).post({
2344
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2153
2345
  security: [{ scheme: "bearer", type: "http" }],
2154
2346
  url: "/extraction/schema_discoveries",
2155
2347
  ...options,
@@ -2159,11 +2351,18 @@ var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).po
2159
2351
  }
2160
2352
  });
2161
2353
  var getSearchSaved = (options) => (options.client ?? client).get({
2354
+ querySerializer: {
2355
+ parameters: {
2356
+ filter: { object: { style: "form" } },
2357
+ fields: { object: { style: "form" } }
2358
+ }
2359
+ },
2162
2360
  security: [{ scheme: "bearer", type: "http" }],
2163
2361
  url: "/search/saved",
2164
2362
  ...options
2165
2363
  });
2166
2364
  var postSearchSaved = (options) => (options.client ?? client).post({
2365
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2167
2366
  security: [{ scheme: "bearer", type: "http" }],
2168
2367
  url: "/search/saved",
2169
2368
  ...options,
@@ -2172,51 +2371,82 @@ var postSearchSaved = (options) => (options.client ?? client).post({
2172
2371
  ...options.headers
2173
2372
  }
2174
2373
  });
2175
- var patchNotificationMethodsByIdSendVerification = (options) => (options.client ?? client).patch({
2176
- security: [{ scheme: "bearer", type: "http" }],
2177
- url: "/notification_methods/{id}/send_verification",
2178
- ...options,
2179
- headers: {
2180
- "Content-Type": "application/vnd.api+json",
2181
- ...options.headers
2182
- }
2183
- });
2184
2374
  var deleteFieldTemplatesById = (options) => (options.client ?? client).delete({
2375
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2185
2376
  security: [{ scheme: "bearer", type: "http" }],
2186
2377
  url: "/field_templates/{id}",
2187
2378
  ...options
2188
2379
  });
2189
2380
  var getFieldTemplatesById = (options) => (options.client ?? client).get({
2381
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2190
2382
  security: [{ scheme: "bearer", type: "http" }],
2191
2383
  url: "/field_templates/{id}",
2192
2384
  ...options
2193
2385
  });
2194
2386
  var getWorkspacesByWorkspaceIdTrainingAnalytics = (options) => (options.client ?? client).get({
2387
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2195
2388
  security: [{ scheme: "bearer", type: "http" }],
2196
2389
  url: "/workspaces/{workspace_id}/training/analytics",
2197
2390
  ...options
2198
2391
  });
2199
2392
  var getUserProfilesMe = (options) => (options.client ?? client).get({
2393
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2200
2394
  security: [{ scheme: "bearer", type: "http" }],
2201
2395
  url: "/user_profiles/me",
2202
2396
  ...options
2203
2397
  });
2204
2398
  var getExtractionSchemaDiscoveriesById = (options) => (options.client ?? client).get({
2399
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2205
2400
  security: [{ scheme: "bearer", type: "http" }],
2206
2401
  url: "/extraction/schema_discoveries/{id}",
2207
2402
  ...options
2208
2403
  });
2404
+ var deleteTrainingExamplesById = (options) => (options.client ?? client).delete({
2405
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2406
+ security: [{ scheme: "bearer", type: "http" }],
2407
+ url: "/training-examples/{id}",
2408
+ ...options
2409
+ });
2410
+ var getTrainingExamplesById = (options) => (options.client ?? client).get({
2411
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2412
+ security: [{ scheme: "bearer", type: "http" }],
2413
+ url: "/training-examples/{id}",
2414
+ ...options
2415
+ });
2416
+ var patchTrainingExamplesById = (options) => (options.client ?? client).patch({
2417
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2418
+ security: [{ scheme: "bearer", type: "http" }],
2419
+ url: "/training-examples/{id}",
2420
+ ...options,
2421
+ headers: {
2422
+ "Content-Type": "application/vnd.api+json",
2423
+ ...options.headers
2424
+ }
2425
+ });
2209
2426
  var getApiKeysActive = (options) => (options.client ?? client).get({
2427
+ querySerializer: {
2428
+ parameters: {
2429
+ filter: { object: { style: "form" } },
2430
+ fields: { object: { style: "form" } }
2431
+ }
2432
+ },
2210
2433
  security: [{ scheme: "bearer", type: "http" }],
2211
2434
  url: "/api_keys/active",
2212
2435
  ...options
2213
2436
  });
2214
2437
  var getAgentVersions = (options) => (options.client ?? client).get({
2438
+ querySerializer: {
2439
+ parameters: {
2440
+ filter: { object: { style: "form" } },
2441
+ fields: { object: { style: "form" } }
2442
+ }
2443
+ },
2215
2444
  security: [{ scheme: "bearer", type: "http" }],
2216
2445
  url: "/agent_versions",
2217
2446
  ...options
2218
2447
  });
2219
2448
  var postAgentVersions = (options) => (options.client ?? client).post({
2449
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2220
2450
  security: [{ scheme: "bearer", type: "http" }],
2221
2451
  url: "/agent_versions",
2222
2452
  ...options,
@@ -2226,6 +2456,7 @@ var postAgentVersions = (options) => (options.client ?? client).post({
2226
2456
  }
2227
2457
  });
2228
2458
  var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
2459
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2229
2460
  security: [{ scheme: "bearer", type: "http" }],
2230
2461
  url: "/invitations/{id}/accept-by-user",
2231
2462
  ...options,
@@ -2235,6 +2466,7 @@ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).p
2235
2466
  }
2236
2467
  });
2237
2468
  var getPermissionsMeta = (options) => (options.client ?? client).get({
2469
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2238
2470
  security: [{ scheme: "bearer", type: "http" }],
2239
2471
  url: "/permissions/meta",
2240
2472
  ...options
@@ -2249,21 +2481,30 @@ var postApplicationsByApplicationIdEmailTemplatesBySlugTest = (options) => (opti
2249
2481
  }
2250
2482
  });
2251
2483
  var getSearchSuggest = (options) => (options.client ?? client).get({
2484
+ querySerializer: {
2485
+ parameters: {
2486
+ filter: { object: { style: "form" } },
2487
+ fields: { object: { style: "form" } }
2488
+ }
2489
+ },
2252
2490
  security: [{ scheme: "bearer", type: "http" }],
2253
2491
  url: "/search/suggest",
2254
2492
  ...options
2255
2493
  });
2256
2494
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
2495
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2257
2496
  security: [{ scheme: "bearer", type: "http" }],
2258
2497
  url: "/webhook_configs/{id}",
2259
2498
  ...options
2260
2499
  });
2261
2500
  var getWebhookConfigsById = (options) => (options.client ?? client).get({
2501
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2262
2502
  security: [{ scheme: "bearer", type: "http" }],
2263
2503
  url: "/webhook_configs/{id}",
2264
2504
  ...options
2265
2505
  });
2266
2506
  var patchWebhookConfigsById = (options) => (options.client ?? client).patch({
2507
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2267
2508
  security: [{ scheme: "bearer", type: "http" }],
2268
2509
  url: "/webhook_configs/{id}",
2269
2510
  ...options,
@@ -2281,45 +2522,32 @@ var postWebhookConfigsBulkEnable = (options) => (options.client ?? client).post(
2281
2522
  ...options.headers
2282
2523
  }
2283
2524
  });
2284
- var postInvitationsAcceptByToken = (options) => (options.client ?? client).post({
2285
- security: [{ scheme: "bearer", type: "http" }],
2286
- url: "/invitations/accept_by_token",
2287
- ...options,
2288
- headers: {
2289
- "Content-Type": "application/vnd.api+json",
2290
- ...options.headers
2291
- }
2292
- });
2293
2525
  var deleteAiMessagesById = (options) => (options.client ?? client).delete({
2526
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2294
2527
  security: [{ scheme: "bearer", type: "http" }],
2295
2528
  url: "/ai/messages/{id}",
2296
2529
  ...options
2297
2530
  });
2298
2531
  var getExtractionBatchesByIdUploadUrls = (options) => (options.client ?? client).get({
2532
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2299
2533
  security: [{ scheme: "bearer", type: "http" }],
2300
2534
  url: "/extraction/batches/{id}/upload-urls",
2301
2535
  ...options
2302
2536
  });
2303
- var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2304
- security: [{ scheme: "bearer", type: "http" }],
2305
- url: "/documents/bulk_delete",
2306
- ...options,
2307
- headers: {
2308
- "Content-Type": "application/vnd.api+json",
2309
- ...options.headers
2310
- }
2311
- });
2312
2537
  var deleteAgentVersionsById = (options) => (options.client ?? client).delete({
2538
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2313
2539
  security: [{ scheme: "bearer", type: "http" }],
2314
2540
  url: "/agent_versions/{id}",
2315
2541
  ...options
2316
2542
  });
2317
2543
  var getAgentVersionsById = (options) => (options.client ?? client).get({
2544
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2318
2545
  security: [{ scheme: "bearer", type: "http" }],
2319
2546
  url: "/agent_versions/{id}",
2320
2547
  ...options
2321
2548
  });
2322
2549
  var postAiChunksSearch = (options) => (options.client ?? client).post({
2550
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2323
2551
  security: [{ scheme: "bearer", type: "http" }],
2324
2552
  url: "/ai/chunks/search",
2325
2553
  ...options,
@@ -2329,11 +2557,13 @@ var postAiChunksSearch = (options) => (options.client ?? client).post({
2329
2557
  }
2330
2558
  });
2331
2559
  var getThreadsByIdMessages = (options) => (options.client ?? client).get({
2560
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2332
2561
  security: [{ scheme: "bearer", type: "http" }],
2333
2562
  url: "/threads/{id}/messages",
2334
2563
  ...options
2335
2564
  });
2336
2565
  var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2566
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2337
2567
  security: [{ scheme: "bearer", type: "http" }],
2338
2568
  url: "/threads/{id}/messages",
2339
2569
  ...options,
@@ -2342,16 +2572,8 @@ var postThreadsByIdMessages = (options) => (options.client ?? client).post({
2342
2572
  ...options.headers
2343
2573
  }
2344
2574
  });
2345
- var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
2346
- security: [{ scheme: "bearer", type: "http" }],
2347
- url: "/agents/clone_for_workspace",
2348
- ...options,
2349
- headers: {
2350
- "Content-Type": "application/vnd.api+json",
2351
- ...options.headers
2352
- }
2353
- });
2354
2575
  var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2576
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2355
2577
  security: [{ scheme: "bearer", type: "http" }],
2356
2578
  url: "/invitations/{id}/accept",
2357
2579
  ...options,
@@ -2361,31 +2583,37 @@ var patchInvitationsByIdAccept = (options) => (options.client ?? client).patch({
2361
2583
  }
2362
2584
  });
2363
2585
  var getCreditPackagesById = (options) => (options.client ?? client).get({
2586
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2364
2587
  security: [{ scheme: "bearer", type: "http" }],
2365
2588
  url: "/credit-packages/{id}",
2366
2589
  ...options
2367
2590
  });
2368
2591
  var deleteUsersById = (options) => (options.client ?? client).delete({
2592
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2369
2593
  security: [{ scheme: "bearer", type: "http" }],
2370
2594
  url: "/users/{id}",
2371
2595
  ...options
2372
2596
  });
2373
2597
  var getUsersById = (options) => (options.client ?? client).get({
2598
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2374
2599
  security: [{ scheme: "bearer", type: "http" }],
2375
2600
  url: "/users/{id}",
2376
2601
  ...options
2377
2602
  });
2378
2603
  var deleteExtractionResultsById = (options) => (options.client ?? client).delete({
2604
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2379
2605
  security: [{ scheme: "bearer", type: "http" }],
2380
2606
  url: "/extraction/results/{id}",
2381
2607
  ...options
2382
2608
  });
2383
2609
  var getExtractionResultsById = (options) => (options.client ?? client).get({
2610
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2384
2611
  security: [{ scheme: "bearer", type: "http" }],
2385
2612
  url: "/extraction/results/{id}",
2386
2613
  ...options
2387
2614
  });
2388
2615
  var patchExtractionResultsById = (options) => (options.client ?? client).patch({
2616
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2389
2617
  security: [{ scheme: "bearer", type: "http" }],
2390
2618
  url: "/extraction/results/{id}",
2391
2619
  ...options,
@@ -2400,6 +2628,7 @@ var getWebhookDeliveriesStats = (options) => (options.client ?? client).get({
2400
2628
  ...options
2401
2629
  });
2402
2630
  var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2631
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2403
2632
  security: [{ scheme: "bearer", type: "http" }],
2404
2633
  url: "/agents/{id}/validate",
2405
2634
  ...options,
@@ -2409,6 +2638,7 @@ var postAgentsByIdValidate = (options) => (options.client ?? client).post({
2409
2638
  }
2410
2639
  });
2411
2640
  var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2641
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2412
2642
  security: [{ scheme: "bearer", type: "http" }],
2413
2643
  url: "/webhook_configs/{id}/test",
2414
2644
  ...options,
@@ -2418,19 +2648,11 @@ var postWebhookConfigsByIdTest = (options) => (options.client ?? client).post({
2418
2648
  }
2419
2649
  });
2420
2650
  var getUsersMe = (options) => (options.client ?? client).get({
2651
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2421
2652
  security: [{ scheme: "bearer", type: "http" }],
2422
2653
  url: "/users/me",
2423
2654
  ...options
2424
2655
  });
2425
- var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
2426
- security: [{ scheme: "bearer", type: "http" }],
2427
- url: "/users/auth/register_with_oidc",
2428
- ...options,
2429
- headers: {
2430
- "Content-Type": "application/vnd.api+json",
2431
- ...options.headers
2432
- }
2433
- });
2434
2656
  var getAgentsByIdSchemaVersions = (options) => (options.client ?? client).get({
2435
2657
  security: [{ scheme: "bearer", type: "http" }],
2436
2658
  url: "/agents/{id}/schema_versions",
@@ -2446,6 +2668,7 @@ var postAgentsByIdSchemaVersions = (options) => (options.client ?? client).post(
2446
2668
  }
2447
2669
  });
2448
2670
  var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2671
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2449
2672
  security: [{ scheme: "bearer", type: "http" }],
2450
2673
  url: "/tenants/{id}/credit",
2451
2674
  ...options,
@@ -2455,6 +2678,7 @@ var postTenantsByIdCredit = (options) => (options.client ?? client).post({
2455
2678
  }
2456
2679
  });
2457
2680
  var getTransactionsById = (options) => (options.client ?? client).get({
2681
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2458
2682
  security: [{ scheme: "bearer", type: "http" }],
2459
2683
  url: "/transactions/{id}",
2460
2684
  ...options
@@ -2465,11 +2689,19 @@ var getUsersMeTenants = (options) => (options.client ?? client).get({
2465
2689
  ...options
2466
2690
  });
2467
2691
  var getTenantMemberships = (options) => (options.client ?? client).get({
2692
+ querySerializer: {
2693
+ parameters: {
2694
+ filter: { object: { style: "form" } },
2695
+ page: { object: { style: "form" } },
2696
+ fields: { object: { style: "form" } }
2697
+ }
2698
+ },
2468
2699
  security: [{ scheme: "bearer", type: "http" }],
2469
2700
  url: "/tenant-memberships",
2470
2701
  ...options
2471
2702
  });
2472
2703
  var postTenantMemberships = (options) => (options.client ?? client).post({
2704
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2473
2705
  security: [{ scheme: "bearer", type: "http" }],
2474
2706
  url: "/tenant-memberships",
2475
2707
  ...options,
@@ -2478,16 +2710,8 @@ var postTenantMemberships = (options) => (options.client ?? client).post({
2478
2710
  ...options.headers
2479
2711
  }
2480
2712
  });
2481
- var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).post({
2482
- security: [{ scheme: "bearer", type: "http" }],
2483
- url: "/training_examples/bulk_delete",
2484
- ...options,
2485
- headers: {
2486
- "Content-Type": "application/vnd.api+json",
2487
- ...options.headers
2488
- }
2489
- });
2490
2713
  var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client).patch({
2714
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2491
2715
  security: [{ scheme: "bearer", type: "http" }],
2492
2716
  url: "/extraction/documents/{id}/include",
2493
2717
  ...options,
@@ -2497,6 +2721,7 @@ var patchExtractionDocumentsByIdInclude = (options) => (options.client ?? client
2497
2721
  }
2498
2722
  });
2499
2723
  var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
2724
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2500
2725
  security: [{ scheme: "bearer", type: "http" }],
2501
2726
  url: "/llm_analytics/summary",
2502
2727
  ...options
@@ -2511,46 +2736,59 @@ var getUsersMeStats = (options) => (options.client ?? client).get({
2511
2736
  url: "/users/me/stats",
2512
2737
  ...options
2513
2738
  });
2514
- var postStorageSignDownload = (options) => (options.client ?? client).post({
2515
- security: [{ scheme: "bearer", type: "http" }],
2516
- url: "/storage/sign_download",
2517
- ...options,
2518
- headers: {
2519
- "Content-Type": "application/vnd.api+json",
2520
- ...options.headers
2521
- }
2522
- });
2523
2739
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
2740
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2524
2741
  security: [{ scheme: "bearer", type: "http" }],
2525
2742
  url: "/training_sessions/{id}",
2526
2743
  ...options
2527
2744
  });
2528
2745
  var getTrainingSessionsById = (options) => (options.client ?? client).get({
2746
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2529
2747
  security: [{ scheme: "bearer", type: "http" }],
2530
2748
  url: "/training_sessions/{id}",
2531
2749
  ...options
2532
2750
  });
2533
2751
  var getWatcherClaimsHistory = (options) => (options.client ?? client).get({
2752
+ querySerializer: {
2753
+ parameters: {
2754
+ filter: { object: { style: "form" } },
2755
+ fields: { object: { style: "form" } }
2756
+ }
2757
+ },
2534
2758
  security: [{ scheme: "bearer", type: "http" }],
2535
2759
  url: "/watcher/claims/history",
2536
2760
  ...options
2537
2761
  });
2538
2762
  var getUsersByEmail = (options) => (options.client ?? client).get({
2763
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2539
2764
  security: [{ scheme: "bearer", type: "http" }],
2540
2765
  url: "/users/by-email",
2541
2766
  ...options
2542
2767
  });
2768
+ var patchExtractionDocumentsByIdFinishUpload = (options) => (options.client ?? client).patch({
2769
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2770
+ security: [{ scheme: "bearer", type: "http" }],
2771
+ url: "/extraction/documents/{id}/finish-upload",
2772
+ ...options,
2773
+ headers: {
2774
+ "Content-Type": "application/vnd.api+json",
2775
+ ...options.headers
2776
+ }
2777
+ });
2543
2778
  var deleteNotificationMethodsById = (options) => (options.client ?? client).delete({
2779
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2544
2780
  security: [{ scheme: "bearer", type: "http" }],
2545
2781
  url: "/notification_methods/{id}",
2546
2782
  ...options
2547
2783
  });
2548
2784
  var getNotificationMethodsById = (options) => (options.client ?? client).get({
2785
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2549
2786
  security: [{ scheme: "bearer", type: "http" }],
2550
2787
  url: "/notification_methods/{id}",
2551
2788
  ...options
2552
2789
  });
2553
2790
  var patchNotificationMethodsById = (options) => (options.client ?? client).patch({
2791
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2554
2792
  security: [{ scheme: "bearer", type: "http" }],
2555
2793
  url: "/notification_methods/{id}",
2556
2794
  ...options,
@@ -2560,6 +2798,13 @@ var patchNotificationMethodsById = (options) => (options.client ?? client).patch
2560
2798
  }
2561
2799
  });
2562
2800
  var getWebhookDeliveries = (options) => (options.client ?? client).get({
2801
+ querySerializer: {
2802
+ parameters: {
2803
+ filter: { object: { style: "form" } },
2804
+ page: { object: { style: "form" } },
2805
+ fields: { object: { style: "form" } }
2806
+ }
2807
+ },
2563
2808
  security: [{ scheme: "bearer", type: "http" }],
2564
2809
  url: "/webhook_deliveries",
2565
2810
  ...options
@@ -2574,16 +2819,38 @@ var postWebhookConfigsBulkDisable = (options) => (options.client ?? client).post
2574
2819
  }
2575
2820
  });
2576
2821
  var getSearch = (options) => (options.client ?? client).get({
2822
+ querySerializer: {
2823
+ parameters: {
2824
+ filter: { object: { style: "form" } },
2825
+ fields: { object: { style: "form" } }
2826
+ }
2827
+ },
2577
2828
  security: [{ scheme: "bearer", type: "http" }],
2578
2829
  url: "/search",
2579
2830
  ...options
2580
2831
  });
2832
+ var postAgentsDiscoverSchema = (options) => (options.client ?? client).post({
2833
+ security: [{ scheme: "bearer", type: "http" }],
2834
+ url: "/agents/discover-schema",
2835
+ ...options,
2836
+ headers: {
2837
+ "Content-Type": "application/vnd.api+json",
2838
+ ...options.headers
2839
+ }
2840
+ });
2581
2841
  var getInvitations = (options) => (options.client ?? client).get({
2842
+ querySerializer: {
2843
+ parameters: {
2844
+ filter: { object: { style: "form" } },
2845
+ fields: { object: { style: "form" } }
2846
+ }
2847
+ },
2582
2848
  security: [{ scheme: "bearer", type: "http" }],
2583
2849
  url: "/invitations",
2584
2850
  ...options
2585
2851
  });
2586
2852
  var postInvitations = (options) => (options.client ?? client).post({
2853
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2587
2854
  security: [{ scheme: "bearer", type: "http" }],
2588
2855
  url: "/invitations",
2589
2856
  ...options,
@@ -2593,6 +2860,7 @@ var postInvitations = (options) => (options.client ?? client).post({
2593
2860
  }
2594
2861
  });
2595
2862
  var patchThreadsByIdArchive = (options) => (options.client ?? client).patch({
2863
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2596
2864
  security: [{ scheme: "bearer", type: "http" }],
2597
2865
  url: "/threads/{id}/archive",
2598
2866
  ...options,
@@ -2602,26 +2870,47 @@ var patchThreadsByIdArchive = (options) => (options.client ?? client).patch({
2602
2870
  }
2603
2871
  });
2604
2872
  var getApiKeysStats = (options) => (options.client ?? client).get({
2873
+ querySerializer: {
2874
+ parameters: {
2875
+ filter: { object: { style: "form" } },
2876
+ fields: { object: { style: "form" } }
2877
+ }
2878
+ },
2605
2879
  security: [{ scheme: "bearer", type: "http" }],
2606
2880
  url: "/api_keys/stats",
2607
2881
  ...options
2608
2882
  });
2609
2883
  var getSearchSemantic = (options) => (options.client ?? client).get({
2884
+ querySerializer: {
2885
+ parameters: {
2886
+ filter: { object: { style: "form" } },
2887
+ fields: { object: { style: "form" } }
2888
+ }
2889
+ },
2610
2890
  security: [{ scheme: "bearer", type: "http" }],
2611
2891
  url: "/search/semantic",
2612
2892
  ...options
2613
2893
  });
2614
2894
  var getThreadsStats = (options) => (options.client ?? client).get({
2895
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2615
2896
  security: [{ scheme: "bearer", type: "http" }],
2616
2897
  url: "/threads/stats",
2617
2898
  ...options
2618
2899
  });
2619
2900
  var getMessages = (options) => (options.client ?? client).get({
2901
+ querySerializer: {
2902
+ parameters: {
2903
+ filter: { object: { style: "form" } },
2904
+ page: { object: { style: "form" } },
2905
+ fields: { object: { style: "form" } }
2906
+ }
2907
+ },
2620
2908
  security: [{ scheme: "bearer", type: "http" }],
2621
2909
  url: "/messages",
2622
2910
  ...options
2623
2911
  });
2624
2912
  var postMessages = (options) => (options.client ?? client).post({
2913
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2625
2914
  security: [{ scheme: "bearer", type: "http" }],
2626
2915
  url: "/messages",
2627
2916
  ...options,
@@ -2631,11 +2920,19 @@ var postMessages = (options) => (options.client ?? client).post({
2631
2920
  }
2632
2921
  });
2633
2922
  var getNotificationPreferences = (options) => (options.client ?? client).get({
2923
+ querySerializer: {
2924
+ parameters: {
2925
+ filter: { object: { style: "form" } },
2926
+ page: { object: { style: "form" } },
2927
+ fields: { object: { style: "form" } }
2928
+ }
2929
+ },
2634
2930
  security: [{ scheme: "bearer", type: "http" }],
2635
2931
  url: "/notification_preferences",
2636
2932
  ...options
2637
2933
  });
2638
2934
  var postNotificationPreferences = (options) => (options.client ?? client).post({
2935
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2639
2936
  security: [{ scheme: "bearer", type: "http" }],
2640
2937
  url: "/notification_preferences",
2641
2938
  ...options,
@@ -2645,11 +2942,19 @@ var postNotificationPreferences = (options) => (options.client ?? client).post({
2645
2942
  }
2646
2943
  });
2647
2944
  var getApplications = (options) => (options.client ?? client).get({
2945
+ querySerializer: {
2946
+ parameters: {
2947
+ filter: { object: { style: "form" } },
2948
+ page: { object: { style: "form" } },
2949
+ fields: { object: { style: "form" } }
2950
+ }
2951
+ },
2648
2952
  security: [{ scheme: "bearer", type: "http" }],
2649
2953
  url: "/applications",
2650
2954
  ...options
2651
2955
  });
2652
2956
  var postApplications = (options) => (options.client ?? client).post({
2957
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2653
2958
  security: [{ scheme: "bearer", type: "http" }],
2654
2959
  url: "/applications",
2655
2960
  ...options,
@@ -2659,6 +2964,7 @@ var postApplications = (options) => (options.client ?? client).post({
2659
2964
  }
2660
2965
  });
2661
2966
  var patchWatcherClaimsByIdRetry = (options) => (options.client ?? client).patch({
2967
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2662
2968
  security: [{ scheme: "bearer", type: "http" }],
2663
2969
  url: "/watcher/claims/{id}/retry",
2664
2970
  ...options,
@@ -2677,6 +2983,7 @@ var postAgentsPredict = (options) => (options.client ?? client).post({
2677
2983
  }
2678
2984
  });
2679
2985
  var patchUserProfilesByIdDismissWelcome = (options) => (options.client ?? client).patch({
2986
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2680
2987
  security: [{ scheme: "bearer", type: "http" }],
2681
2988
  url: "/user_profiles/{id}/dismiss-welcome",
2682
2989
  ...options,
@@ -2686,6 +2993,7 @@ var patchUserProfilesByIdDismissWelcome = (options) => (options.client ?? client
2686
2993
  }
2687
2994
  });
2688
2995
  var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? client).patch({
2996
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2689
2997
  security: [{ scheme: "bearer", type: "http" }],
2690
2998
  url: "/extraction/documents/{id}/reprocess",
2691
2999
  ...options,
@@ -2695,16 +3003,19 @@ var patchExtractionDocumentsByIdReprocess = (options) => (options.client ?? clie
2695
3003
  }
2696
3004
  });
2697
3005
  var deleteThreadsById = (options) => (options.client ?? client).delete({
3006
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2698
3007
  security: [{ scheme: "bearer", type: "http" }],
2699
3008
  url: "/threads/{id}",
2700
3009
  ...options
2701
3010
  });
2702
3011
  var getThreadsById = (options) => (options.client ?? client).get({
3012
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2703
3013
  security: [{ scheme: "bearer", type: "http" }],
2704
3014
  url: "/threads/{id}",
2705
3015
  ...options
2706
3016
  });
2707
3017
  var patchThreadsById = (options) => (options.client ?? client).patch({
3018
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2708
3019
  security: [{ scheme: "bearer", type: "http" }],
2709
3020
  url: "/threads/{id}",
2710
3021
  ...options,
@@ -2714,16 +3025,46 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2714
3025
  }
2715
3026
  });
2716
3027
  var getWorkspacesByIdMembers = (options) => (options.client ?? client).get({
3028
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2717
3029
  security: [{ scheme: "bearer", type: "http" }],
2718
3030
  url: "/workspaces/{id}/members",
2719
3031
  ...options
2720
3032
  });
2721
3033
  var getBucketsAll = (options) => (options.client ?? client).get({
3034
+ querySerializer: {
3035
+ parameters: {
3036
+ filter: { object: { style: "form" } },
3037
+ fields: { object: { style: "form" } }
3038
+ }
3039
+ },
2722
3040
  security: [{ scheme: "bearer", type: "http" }],
2723
3041
  url: "/buckets/all",
2724
3042
  ...options
2725
3043
  });
3044
+ var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
3045
+ querySerializer: {
3046
+ parameters: {
3047
+ filter: { object: { style: "form" } },
3048
+ page: { object: { style: "form" } },
3049
+ fields: { object: { style: "form" } }
3050
+ }
3051
+ },
3052
+ security: [{ scheme: "bearer", type: "http" }],
3053
+ url: "/extraction/documents/workspace/{workspace_id}/review-queue",
3054
+ ...options
3055
+ });
3056
+ var deleteAgentsByIdTrainingExamplesByExampleId = (options) => (options.client ?? client).delete({
3057
+ security: [{ scheme: "bearer", type: "http" }],
3058
+ url: "/agents/{id}/training-examples/{example_id}",
3059
+ ...options
3060
+ });
2726
3061
  var getWatcherClaims = (options) => (options.client ?? client).get({
3062
+ querySerializer: {
3063
+ parameters: {
3064
+ filter: { object: { style: "form" } },
3065
+ fields: { object: { style: "form" } }
3066
+ }
3067
+ },
2727
3068
  security: [{ scheme: "bearer", type: "http" }],
2728
3069
  url: "/watcher/claims",
2729
3070
  ...options
@@ -2738,11 +3079,19 @@ var postWatcherClaims = (options) => (options.client ?? client).post({
2738
3079
  }
2739
3080
  });
2740
3081
  var getLlmAnalytics = (options) => (options.client ?? client).get({
3082
+ querySerializer: {
3083
+ parameters: {
3084
+ filter: { object: { style: "form" } },
3085
+ page: { object: { style: "form" } },
3086
+ fields: { object: { style: "form" } }
3087
+ }
3088
+ },
2741
3089
  security: [{ scheme: "bearer", type: "http" }],
2742
3090
  url: "/llm_analytics",
2743
3091
  ...options
2744
3092
  });
2745
3093
  var postLlmAnalytics = (options) => (options.client ?? client).post({
3094
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2746
3095
  security: [{ scheme: "bearer", type: "http" }],
2747
3096
  url: "/llm_analytics",
2748
3097
  ...options,
@@ -2757,6 +3106,7 @@ var getStorageStatsTenantByTenantId = (options) => (options.client ?? client).ge
2757
3106
  ...options
2758
3107
  });
2759
3108
  var postAgentTestResults = (options) => (options.client ?? client).post({
3109
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2760
3110
  security: [{ scheme: "bearer", type: "http" }],
2761
3111
  url: "/agent_test_results",
2762
3112
  ...options,
@@ -2766,6 +3116,7 @@ var postAgentTestResults = (options) => (options.client ?? client).post({
2766
3116
  }
2767
3117
  });
2768
3118
  var patchUsersByIdResetPassword = (options) => (options.client ?? client).patch({
3119
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2769
3120
  security: [{ scheme: "bearer", type: "http" }],
2770
3121
  url: "/users/{id}/reset-password",
2771
3122
  ...options,
@@ -2783,26 +3134,19 @@ var postThreadsByIdExport = (options) => (options.client ?? client).post({
2783
3134
  ...options.headers
2784
3135
  }
2785
3136
  });
2786
- var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
2787
- security: [{ scheme: "bearer", type: "http" }],
2788
- url: "/documents/presigned_upload",
2789
- ...options,
2790
- headers: {
2791
- "Content-Type": "application/vnd.api+json",
2792
- ...options.headers
2793
- }
2794
- });
2795
3137
  var getWebhookConfigsByIdEvents = (options) => (options.client ?? client).get({
2796
3138
  security: [{ scheme: "bearer", type: "http" }],
2797
3139
  url: "/webhook_configs/{id}/events",
2798
3140
  ...options
2799
3141
  });
2800
3142
  var getMessagesSearch = (options) => (options.client ?? client).get({
3143
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2801
3144
  security: [{ scheme: "bearer", type: "http" }],
2802
3145
  url: "/messages/search",
2803
3146
  ...options
2804
3147
  });
2805
3148
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
3149
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2806
3150
  security: [{ scheme: "bearer", type: "http" }],
2807
3151
  url: "/agents/{id}/teach",
2808
3152
  ...options,
@@ -2811,12 +3155,8 @@ var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2811
3155
  ...options.headers
2812
3156
  }
2813
3157
  });
2814
- var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (options.client ?? client).get({
2815
- security: [{ scheme: "bearer", type: "http" }],
2816
- url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2817
- ...options
2818
- });
2819
3158
  var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
3159
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2820
3160
  security: [{ scheme: "bearer", type: "http" }],
2821
3161
  url: "/invitations/{id}/decline",
2822
3162
  ...options,
@@ -2826,6 +3166,7 @@ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch(
2826
3166
  }
2827
3167
  });
2828
3168
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
3169
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2829
3170
  security: [{ scheme: "bearer", type: "http" }],
2830
3171
  url: "/extraction/documents/upload",
2831
3172
  ...options,
@@ -2835,6 +3176,7 @@ var postExtractionDocumentsUpload = (options) => (options.client ?? client).post
2835
3176
  }
2836
3177
  });
2837
3178
  var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client).patch({
3179
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2838
3180
  security: [{ scheme: "bearer", type: "http" }],
2839
3181
  url: "/notification_methods/{id}/verify",
2840
3182
  ...options,
@@ -2843,12 +3185,24 @@ var patchNotificationMethodsByIdVerify = (options) => (options.client ?? client)
2843
3185
  ...options.headers
2844
3186
  }
2845
3187
  });
3188
+ var postUsersRegisterIsv = (options) => (options.client ?? client).post({
3189
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3190
+ security: [{ scheme: "bearer", type: "http" }],
3191
+ url: "/users/register-isv",
3192
+ ...options,
3193
+ headers: {
3194
+ "Content-Type": "application/vnd.api+json",
3195
+ ...options.headers
3196
+ }
3197
+ });
2846
3198
  var getExtractionResultsDocumentByDocumentId = (options) => (options.client ?? client).get({
3199
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2847
3200
  security: [{ scheme: "bearer", type: "http" }],
2848
3201
  url: "/extraction/results/document/{document_id}",
2849
3202
  ...options
2850
3203
  });
2851
3204
  var patchUserProfilesByIdDismissAnnouncement = (options) => (options.client ?? client).patch({
3205
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2852
3206
  security: [{ scheme: "bearer", type: "http" }],
2853
3207
  url: "/user_profiles/{id}/dismiss-announcement",
2854
3208
  ...options,
@@ -2858,16 +3212,19 @@ var patchUserProfilesByIdDismissAnnouncement = (options) => (options.client ?? c
2858
3212
  }
2859
3213
  });
2860
3214
  var deleteWorkspacesById = (options) => (options.client ?? client).delete({
3215
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2861
3216
  security: [{ scheme: "bearer", type: "http" }],
2862
3217
  url: "/workspaces/{id}",
2863
3218
  ...options
2864
3219
  });
2865
3220
  var getWorkspacesById = (options) => (options.client ?? client).get({
3221
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2866
3222
  security: [{ scheme: "bearer", type: "http" }],
2867
3223
  url: "/workspaces/{id}",
2868
3224
  ...options
2869
3225
  });
2870
3226
  var patchWorkspacesById = (options) => (options.client ?? client).patch({
3227
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2871
3228
  security: [{ scheme: "bearer", type: "http" }],
2872
3229
  url: "/workspaces/{id}",
2873
3230
  ...options,
@@ -2877,11 +3234,19 @@ var patchWorkspacesById = (options) => (options.client ?? client).patch({
2877
3234
  }
2878
3235
  });
2879
3236
  var getTenants = (options) => (options.client ?? client).get({
3237
+ querySerializer: {
3238
+ parameters: {
3239
+ filter: { object: { style: "form" } },
3240
+ page: { object: { style: "form" } },
3241
+ fields: { object: { style: "form" } }
3242
+ }
3243
+ },
2880
3244
  security: [{ scheme: "bearer", type: "http" }],
2881
3245
  url: "/tenants",
2882
3246
  ...options
2883
3247
  });
2884
3248
  var postTenants = (options) => (options.client ?? client).post({
3249
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2885
3250
  security: [{ scheme: "bearer", type: "http" }],
2886
3251
  url: "/tenants",
2887
3252
  ...options,
@@ -2891,6 +3256,7 @@ var postTenants = (options) => (options.client ?? client).post({
2891
3256
  }
2892
3257
  });
2893
3258
  var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post({
3259
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2894
3260
  security: [{ scheme: "bearer", type: "http" }],
2895
3261
  url: "/tenants/{id}/remove-storage",
2896
3262
  ...options,
@@ -2900,54 +3266,90 @@ var postTenantsByIdRemoveStorage = (options) => (options.client ?? client).post(
2900
3266
  }
2901
3267
  });
2902
3268
  var getWalletInvoices = (options) => (options.client ?? client).get({
3269
+ querySerializer: {
3270
+ parameters: {
3271
+ filter: { object: { style: "form" } },
3272
+ fields: { object: { style: "form" } }
3273
+ }
3274
+ },
2903
3275
  security: [{ scheme: "bearer", type: "http" }],
2904
3276
  url: "/wallet/invoices",
2905
3277
  ...options
2906
3278
  });
2907
- var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ?? client).patch({
3279
+ var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client).patch({
3280
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2908
3281
  security: [{ scheme: "bearer", type: "http" }],
2909
- url: "/extraction/results/{id}/save_corrections",
3282
+ url: "/workspaces/{id}/storage-settings",
2910
3283
  ...options,
2911
3284
  headers: {
2912
3285
  "Content-Type": "application/vnd.api+json",
2913
3286
  ...options.headers
2914
3287
  }
2915
3288
  });
2916
- var patchWorkspacesByIdStorageSettings = (options) => (options.client ?? client).patch({
3289
+ var getNotificationLogsById = (options) => (options.client ?? client).get({
3290
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2917
3291
  security: [{ scheme: "bearer", type: "http" }],
2918
- url: "/workspaces/{id}/storage-settings",
3292
+ url: "/notification_logs/{id}",
3293
+ ...options
3294
+ });
3295
+ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
3296
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3297
+ security: [{ scheme: "bearer", type: "http" }],
3298
+ url: "/extraction/documents/{id}/mark-trained",
2919
3299
  ...options,
2920
3300
  headers: {
2921
3301
  "Content-Type": "application/vnd.api+json",
2922
3302
  ...options.headers
2923
3303
  }
2924
3304
  });
2925
- var getNotificationLogsById = (options) => (options.client ?? client).get({
3305
+ var patchNotificationMethodsByIdSetPrimary = (options) => (options.client ?? client).patch({
3306
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2926
3307
  security: [{ scheme: "bearer", type: "http" }],
2927
- url: "/notification_logs/{id}",
2928
- ...options
3308
+ url: "/notification_methods/{id}/set-primary",
3309
+ ...options,
3310
+ headers: {
3311
+ "Content-Type": "application/vnd.api+json",
3312
+ ...options.headers
3313
+ }
2929
3314
  });
2930
3315
  var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get({
3316
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2931
3317
  security: [{ scheme: "bearer", type: "http" }],
2932
3318
  url: "/extraction/documents/{id}/view",
2933
3319
  ...options
2934
3320
  });
2935
3321
  var getWebhookDeliveriesById = (options) => (options.client ?? client).get({
3322
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2936
3323
  security: [{ scheme: "bearer", type: "http" }],
2937
3324
  url: "/webhook_deliveries/{id}",
2938
3325
  ...options
2939
3326
  });
2940
3327
  var getAuditLogs = (options) => (options.client ?? client).get({
3328
+ querySerializer: {
3329
+ parameters: {
3330
+ filter: { object: { style: "form" } },
3331
+ page: { object: { style: "form" } },
3332
+ fields: { object: { style: "form" } }
3333
+ }
3334
+ },
2941
3335
  security: [{ scheme: "bearer", type: "http" }],
2942
3336
  url: "/audit-logs",
2943
3337
  ...options
2944
3338
  });
2945
3339
  var getAiGraphEdges = (options) => (options.client ?? client).get({
3340
+ querySerializer: {
3341
+ parameters: {
3342
+ filter: { object: { style: "form" } },
3343
+ page: { object: { style: "form" } },
3344
+ fields: { object: { style: "form" } }
3345
+ }
3346
+ },
2946
3347
  security: [{ scheme: "bearer", type: "http" }],
2947
3348
  url: "/ai/graph/edges",
2948
3349
  ...options
2949
3350
  });
2950
3351
  var postAiGraphEdges = (options) => (options.client ?? client).post({
3352
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2951
3353
  security: [{ scheme: "bearer", type: "http" }],
2952
3354
  url: "/ai/graph/edges",
2953
3355
  ...options,
@@ -2957,35 +3359,19 @@ var postAiGraphEdges = (options) => (options.client ?? client).post({
2957
3359
  }
2958
3360
  });
2959
3361
  var getAgentVersionRevisionsById = (options) => (options.client ?? client).get({
3362
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2960
3363
  security: [{ scheme: "bearer", type: "http" }],
2961
3364
  url: "/agent_version_revisions/{id}",
2962
3365
  ...options
2963
3366
  });
2964
- var getTrainingExamples = (options) => (options.client ?? client).get({
2965
- security: [{ scheme: "bearer", type: "http" }],
2966
- url: "/training_examples",
2967
- ...options
2968
- });
2969
- var postTrainingExamples = (options) => (options.client ?? client).post({
2970
- security: [{ scheme: "bearer", type: "http" }],
2971
- url: "/training_examples",
2972
- ...options,
2973
- headers: {
2974
- "Content-Type": "application/vnd.api+json",
2975
- ...options.headers
2976
- }
2977
- });
2978
3367
  var getWorkspacesByWorkspaceIdExtractionExportsById = (options) => (options.client ?? client).get({
3368
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2979
3369
  security: [{ scheme: "bearer", type: "http" }],
2980
3370
  url: "/workspaces/{workspace_id}/extraction/exports/{id}",
2981
3371
  ...options
2982
3372
  });
2983
- var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
2984
- security: [{ scheme: "bearer", type: "http" }],
2985
- url: "/agents/{id}/training_stats",
2986
- ...options
2987
- });
2988
3373
  var postObjectsCopy = (options) => (options.client ?? client).post({
3374
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2989
3375
  security: [{ scheme: "bearer", type: "http" }],
2990
3376
  url: "/objects/copy",
2991
3377
  ...options,
@@ -2995,11 +3381,18 @@ var postObjectsCopy = (options) => (options.client ?? client).post({
2995
3381
  }
2996
3382
  });
2997
3383
  var getBuckets = (options) => (options.client ?? client).get({
3384
+ querySerializer: {
3385
+ parameters: {
3386
+ filter: { object: { style: "form" } },
3387
+ fields: { object: { style: "form" } }
3388
+ }
3389
+ },
2998
3390
  security: [{ scheme: "bearer", type: "http" }],
2999
3391
  url: "/buckets",
3000
3392
  ...options
3001
3393
  });
3002
3394
  var postBuckets = (options) => (options.client ?? client).post({
3395
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3003
3396
  security: [{ scheme: "bearer", type: "http" }],
3004
3397
  url: "/buckets",
3005
3398
  ...options,
@@ -3009,11 +3402,29 @@ var postBuckets = (options) => (options.client ?? client).post({
3009
3402
  }
3010
3403
  });
3011
3404
  var getAgentVersionRevisions = (options) => (options.client ?? client).get({
3405
+ querySerializer: {
3406
+ parameters: {
3407
+ filter: { object: { style: "form" } },
3408
+ page: { object: { style: "form" } },
3409
+ fields: { object: { style: "form" } }
3410
+ }
3411
+ },
3012
3412
  security: [{ scheme: "bearer", type: "http" }],
3013
3413
  url: "/agent_version_revisions",
3014
3414
  ...options
3015
3415
  });
3416
+ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post({
3417
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3418
+ security: [{ scheme: "bearer", type: "http" }],
3419
+ url: "/documents/presigned-upload",
3420
+ ...options,
3421
+ headers: {
3422
+ "Content-Type": "application/vnd.api+json",
3423
+ ...options.headers
3424
+ }
3425
+ });
3016
3426
  var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
3427
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3017
3428
  security: [{ scheme: "bearer", type: "http" }],
3018
3429
  url: "/payment-methods/tokenize",
3019
3430
  ...options,
@@ -3022,12 +3433,24 @@ var postPaymentMethodsTokenize = (options) => (options.client ?? client).post({
3022
3433
  ...options.headers
3023
3434
  }
3024
3435
  });
3436
+ var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
3437
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3438
+ security: [{ scheme: "bearer", type: "http" }],
3439
+ url: "/documents/bulk-delete",
3440
+ ...options,
3441
+ headers: {
3442
+ "Content-Type": "application/vnd.api+json",
3443
+ ...options.headers
3444
+ }
3445
+ });
3025
3446
  var getWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).get({
3447
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3026
3448
  security: [{ scheme: "bearer", type: "http" }],
3027
3449
  url: "/workspaces/{workspace_id}/extraction/{document_id}/mapping",
3028
3450
  ...options
3029
3451
  });
3030
3452
  var postWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = (options) => (options.client ?? client).post({
3453
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3031
3454
  security: [{ scheme: "bearer", type: "http" }],
3032
3455
  url: "/workspaces/{workspace_id}/extraction/{document_id}/mapping",
3033
3456
  ...options,
@@ -3047,16 +3470,19 @@ var getNotificationLogsStats = (options) => (options.client ?? client).get({
3047
3470
  ...options
3048
3471
  });
3049
3472
  var getPlansById = (options) => (options.client ?? client).get({
3473
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3050
3474
  security: [{ scheme: "bearer", type: "http" }],
3051
3475
  url: "/plans/{id}",
3052
3476
  ...options
3053
3477
  });
3054
3478
  var getTenantsByTenantIdStats = (options) => (options.client ?? client).get({
3479
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3055
3480
  security: [{ scheme: "bearer", type: "http" }],
3056
3481
  url: "/tenants/{tenant_id}/stats",
3057
3482
  ...options
3058
3483
  });
3059
3484
  var patchWalletAddons = (options) => (options.client ?? client).patch({
3485
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3060
3486
  security: [{ scheme: "bearer", type: "http" }],
3061
3487
  url: "/wallet/addons",
3062
3488
  ...options,
@@ -3066,6 +3492,7 @@ var patchWalletAddons = (options) => (options.client ?? client).patch({
3066
3492
  }
3067
3493
  });
3068
3494
  var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post({
3495
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3069
3496
  security: [{ scheme: "bearer", type: "http" }],
3070
3497
  url: "/tenants/{id}/schedule-purge",
3071
3498
  ...options,
@@ -3075,13 +3502,14 @@ var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post(
3075
3502
  }
3076
3503
  });
3077
3504
  var getMessagesSemanticSearch = (options) => (options.client ?? client).get({
3505
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3078
3506
  security: [{ scheme: "bearer", type: "http" }],
3079
3507
  url: "/messages/semantic-search",
3080
3508
  ...options
3081
3509
  });
3082
- var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
3510
+ var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
3083
3511
  security: [{ scheme: "bearer", type: "http" }],
3084
- url: "/users/auth/magic_link/login",
3512
+ url: "/training-examples/search",
3085
3513
  ...options,
3086
3514
  headers: {
3087
3515
  "Content-Type": "application/vnd.api+json",
@@ -3089,11 +3517,19 @@ var postUsersAuthMagicLinkLogin = (options) => (options.client ?? client).post({
3089
3517
  }
3090
3518
  });
3091
3519
  var getApiKeys = (options) => (options.client ?? client).get({
3520
+ querySerializer: {
3521
+ parameters: {
3522
+ filter: { object: { style: "form" } },
3523
+ page: { object: { style: "form" } },
3524
+ fields: { object: { style: "form" } }
3525
+ }
3526
+ },
3092
3527
  security: [{ scheme: "bearer", type: "http" }],
3093
3528
  url: "/api_keys",
3094
3529
  ...options
3095
3530
  });
3096
3531
  var postApiKeys = (options) => (options.client ?? client).post({
3532
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3097
3533
  security: [{ scheme: "bearer", type: "http" }],
3098
3534
  url: "/api_keys",
3099
3535
  ...options,
@@ -3103,6 +3539,7 @@ var postApiKeys = (options) => (options.client ?? client).post({
3103
3539
  }
3104
3540
  });
3105
3541
  var patchUsersByIdAdmin = (options) => (options.client ?? client).patch({
3542
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3106
3543
  security: [{ scheme: "bearer", type: "http" }],
3107
3544
  url: "/users/{id}/admin",
3108
3545
  ...options,
@@ -3121,16 +3558,19 @@ var postObjectsMove = (options) => (options.client ?? client).post({
3121
3558
  }
3122
3559
  });
3123
3560
  var deleteAgentsById = (options) => (options.client ?? client).delete({
3561
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3124
3562
  security: [{ scheme: "bearer", type: "http" }],
3125
3563
  url: "/agents/{id}",
3126
3564
  ...options
3127
3565
  });
3128
3566
  var getAgentsById = (options) => (options.client ?? client).get({
3567
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3129
3568
  security: [{ scheme: "bearer", type: "http" }],
3130
3569
  url: "/agents/{id}",
3131
3570
  ...options
3132
3571
  });
3133
3572
  var patchAgentsById = (options) => (options.client ?? client).patch({
3573
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3134
3574
  security: [{ scheme: "bearer", type: "http" }],
3135
3575
  url: "/agents/{id}",
3136
3576
  ...options,
@@ -3140,6 +3580,7 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
3140
3580
  }
3141
3581
  });
3142
3582
  var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
3583
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3143
3584
  security: [{ scheme: "bearer", type: "http" }],
3144
3585
  url: "/threads/{id}/unarchive",
3145
3586
  ...options,
@@ -3148,22 +3589,36 @@ var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
3148
3589
  ...options.headers
3149
3590
  }
3150
3591
  });
3592
+ var postStorageSignUpload = (options) => (options.client ?? client).post({
3593
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3594
+ security: [{ scheme: "bearer", type: "http" }],
3595
+ url: "/storage/sign-upload",
3596
+ ...options,
3597
+ headers: {
3598
+ "Content-Type": "application/vnd.api+json",
3599
+ ...options.headers
3600
+ }
3601
+ });
3151
3602
  var getAgentsByIdUsage = (options) => (options.client ?? client).get({
3603
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3152
3604
  security: [{ scheme: "bearer", type: "http" }],
3153
3605
  url: "/agents/{id}/usage",
3154
3606
  ...options
3155
3607
  });
3156
3608
  var deleteApiKeysById = (options) => (options.client ?? client).delete({
3609
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3157
3610
  security: [{ scheme: "bearer", type: "http" }],
3158
3611
  url: "/api_keys/{id}",
3159
3612
  ...options
3160
3613
  });
3161
3614
  var getApiKeysById = (options) => (options.client ?? client).get({
3615
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3162
3616
  security: [{ scheme: "bearer", type: "http" }],
3163
3617
  url: "/api_keys/{id}",
3164
3618
  ...options
3165
3619
  });
3166
3620
  var patchApiKeysById = (options) => (options.client ?? client).patch({
3621
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3167
3622
  security: [{ scheme: "bearer", type: "http" }],
3168
3623
  url: "/api_keys/{id}",
3169
3624
  ...options,
@@ -3172,16 +3627,8 @@ var patchApiKeysById = (options) => (options.client ?? client).patch({
3172
3627
  ...options.headers
3173
3628
  }
3174
3629
  });
3175
- var postTrainingExamplesSearch = (options) => (options.client ?? client).post({
3176
- security: [{ scheme: "bearer", type: "http" }],
3177
- url: "/training_examples/search",
3178
- ...options,
3179
- headers: {
3180
- "Content-Type": "application/vnd.api+json",
3181
- ...options.headers
3182
- }
3183
- });
3184
3630
  var patchWatcherClaimsByIdRelease = (options) => (options.client ?? client).patch({
3631
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3185
3632
  security: [{ scheme: "bearer", type: "http" }],
3186
3633
  url: "/watcher/claims/{id}/release",
3187
3634
  ...options,
@@ -3191,11 +3638,19 @@ var patchWatcherClaimsByIdRelease = (options) => (options.client ?? client).patc
3191
3638
  }
3192
3639
  });
3193
3640
  var getAiConversations = (options) => (options.client ?? client).get({
3641
+ querySerializer: {
3642
+ parameters: {
3643
+ filter: { object: { style: "form" } },
3644
+ page: { object: { style: "form" } },
3645
+ fields: { object: { style: "form" } }
3646
+ }
3647
+ },
3194
3648
  security: [{ scheme: "bearer", type: "http" }],
3195
3649
  url: "/ai/conversations",
3196
3650
  ...options
3197
3651
  });
3198
3652
  var postAiConversations = (options) => (options.client ?? client).post({
3653
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3199
3654
  security: [{ scheme: "bearer", type: "http" }],
3200
3655
  url: "/ai/conversations",
3201
3656
  ...options,
@@ -3205,6 +3660,7 @@ var postAiConversations = (options) => (options.client ?? client).post({
3205
3660
  }
3206
3661
  });
3207
3662
  var postAiSearch = (options) => (options.client ?? client).post({
3663
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3208
3664
  security: [{ scheme: "bearer", type: "http" }],
3209
3665
  url: "/ai/search",
3210
3666
  ...options,
@@ -3214,16 +3670,24 @@ var postAiSearch = (options) => (options.client ?? client).post({
3214
3670
  }
3215
3671
  });
3216
3672
  var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3673
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3217
3674
  security: [{ scheme: "bearer", type: "http" }],
3218
3675
  url: "/ai/graph/nodes/{id}",
3219
3676
  ...options
3220
3677
  });
3221
3678
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3679
+ querySerializer: {
3680
+ parameters: {
3681
+ filter: { object: { style: "form" } },
3682
+ fields: { object: { style: "form" } }
3683
+ }
3684
+ },
3222
3685
  security: [{ scheme: "bearer", type: "http" }],
3223
3686
  url: "/workspaces/shared",
3224
3687
  ...options
3225
3688
  });
3226
3689
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
3690
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3227
3691
  security: [{ scheme: "bearer", type: "http" }],
3228
3692
  url: "/wallet/addons/{addon_slug}/cancel",
3229
3693
  ...options,
@@ -3233,16 +3697,19 @@ var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client)
3233
3697
  }
3234
3698
  });
3235
3699
  var deleteApplicationsById = (options) => (options.client ?? client).delete({
3700
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3236
3701
  security: [{ scheme: "bearer", type: "http" }],
3237
3702
  url: "/applications/{id}",
3238
3703
  ...options
3239
3704
  });
3240
3705
  var getApplicationsById = (options) => (options.client ?? client).get({
3706
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3241
3707
  security: [{ scheme: "bearer", type: "http" }],
3242
3708
  url: "/applications/{id}",
3243
3709
  ...options
3244
3710
  });
3245
3711
  var patchApplicationsById = (options) => (options.client ?? client).patch({
3712
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3246
3713
  security: [{ scheme: "bearer", type: "http" }],
3247
3714
  url: "/applications/{id}",
3248
3715
  ...options,
@@ -3252,11 +3719,18 @@ var patchApplicationsById = (options) => (options.client ?? client).patch({
3252
3719
  }
3253
3720
  });
3254
3721
  var getSearchHealth = (options) => (options.client ?? client).get({
3722
+ querySerializer: {
3723
+ parameters: {
3724
+ filter: { object: { style: "form" } },
3725
+ fields: { object: { style: "form" } }
3726
+ }
3727
+ },
3255
3728
  security: [{ scheme: "bearer", type: "http" }],
3256
3729
  url: "/search/health",
3257
3730
  ...options
3258
3731
  });
3259
3732
  var patchExtractionDocumentsByIdVerification = (options) => (options.client ?? client).patch({
3733
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3260
3734
  security: [{ scheme: "bearer", type: "http" }],
3261
3735
  url: "/extraction/documents/{id}/verification",
3262
3736
  ...options,
@@ -3266,6 +3740,7 @@ var patchExtractionDocumentsByIdVerification = (options) => (options.client ?? c
3266
3740
  }
3267
3741
  });
3268
3742
  var postThreadsByIdFork = (options) => (options.client ?? client).post({
3743
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3269
3744
  security: [{ scheme: "bearer", type: "http" }],
3270
3745
  url: "/threads/{id}/fork",
3271
3746
  ...options,
@@ -3274,26 +3749,31 @@ var postThreadsByIdFork = (options) => (options.client ?? client).post({
3274
3749
  ...options.headers
3275
3750
  }
3276
3751
  });
3277
- var postExtractionDocumentsFindOrBeginUpload = (options) => (options.client ?? client).post({
3278
- security: [{ scheme: "bearer", type: "http" }],
3279
- url: "/extraction/documents/find_or_begin_upload",
3280
- ...options,
3281
- headers: {
3282
- "Content-Type": "application/vnd.api+json",
3283
- ...options.headers
3284
- }
3285
- });
3286
3752
  var getTransactions = (options) => (options.client ?? client).get({
3753
+ querySerializer: {
3754
+ parameters: {
3755
+ filter: { object: { style: "form" } },
3756
+ fields: { object: { style: "form" } }
3757
+ }
3758
+ },
3287
3759
  security: [{ scheme: "bearer", type: "http" }],
3288
3760
  url: "/transactions",
3289
3761
  ...options
3290
3762
  });
3291
3763
  var getUserProfiles = (options) => (options.client ?? client).get({
3764
+ querySerializer: {
3765
+ parameters: {
3766
+ filter: { object: { style: "form" } },
3767
+ page: { object: { style: "form" } },
3768
+ fields: { object: { style: "form" } }
3769
+ }
3770
+ },
3292
3771
  security: [{ scheme: "bearer", type: "http" }],
3293
3772
  url: "/user_profiles",
3294
3773
  ...options
3295
3774
  });
3296
3775
  var postUserProfiles = (options) => (options.client ?? client).post({
3776
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3297
3777
  security: [{ scheme: "bearer", type: "http" }],
3298
3778
  url: "/user_profiles",
3299
3779
  ...options,
@@ -3303,6 +3783,7 @@ var postUserProfiles = (options) => (options.client ?? client).post({
3303
3783
  }
3304
3784
  });
3305
3785
  var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
3786
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3306
3787
  security: [{ scheme: "bearer", type: "http" }],
3307
3788
  url: "/users/{id}/confirm-email",
3308
3789
  ...options,
@@ -3312,11 +3793,13 @@ var patchUsersByIdConfirmEmail = (options) => (options.client ?? client).patch({
3312
3793
  }
3313
3794
  });
3314
3795
  var getThreadsSearch = (options) => (options.client ?? client).get({
3796
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3315
3797
  security: [{ scheme: "bearer", type: "http" }],
3316
3798
  url: "/threads/search",
3317
3799
  ...options
3318
3800
  });
3319
3801
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3802
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3320
3803
  security: [{ scheme: "bearer", type: "http" }],
3321
3804
  url: "/search/saved/{id}/run",
3322
3805
  ...options,
@@ -3326,6 +3809,7 @@ var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3326
3809
  }
3327
3810
  });
3328
3811
  var patchWalletPlan = (options) => (options.client ?? client).patch({
3812
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3329
3813
  security: [{ scheme: "bearer", type: "http" }],
3330
3814
  url: "/wallet/plan",
3331
3815
  ...options,
@@ -3335,11 +3819,13 @@ var patchWalletPlan = (options) => (options.client ?? client).patch({
3335
3819
  }
3336
3820
  });
3337
3821
  var getPlansSlugBySlug = (options) => (options.client ?? client).get({
3822
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3338
3823
  security: [{ scheme: "bearer", type: "http" }],
3339
3824
  url: "/plans/slug/{slug}",
3340
3825
  ...options
3341
3826
  });
3342
3827
  var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client).patch({
3828
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3343
3829
  security: [{ scheme: "bearer", type: "http" }],
3344
3830
  url: "/extraction/documents/{id}/restore",
3345
3831
  ...options,
@@ -3349,27 +3835,36 @@ var patchExtractionDocumentsByIdRestore = (options) => (options.client ?? client
3349
3835
  }
3350
3836
  });
3351
3837
  var getLlmAnalyticsById = (options) => (options.client ?? client).get({
3838
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3352
3839
  security: [{ scheme: "bearer", type: "http" }],
3353
3840
  url: "/llm_analytics/{id}",
3354
3841
  ...options
3355
3842
  });
3356
- var getPermissions = (options) => (options.client ?? client).get({
3357
- security: [{ scheme: "bearer", type: "http" }],
3358
- url: "/permissions",
3359
- ...options
3360
- });
3361
- var patchUserProfilesByIdAcceptTos = (options) => (options.client ?? client).patch({
3843
+ var patchNotificationMethodsByIdSendVerification = (options) => (options.client ?? client).patch({
3844
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3362
3845
  security: [{ scheme: "bearer", type: "http" }],
3363
- url: "/user_profiles/{id}/accept-tos",
3846
+ url: "/notification_methods/{id}/send-verification",
3364
3847
  ...options,
3365
3848
  headers: {
3366
3849
  "Content-Type": "application/vnd.api+json",
3367
3850
  ...options.headers
3368
3851
  }
3369
3852
  });
3370
- var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? client).patch({
3853
+ var getPermissions = (options) => (options.client ?? client).get({
3854
+ querySerializer: {
3855
+ parameters: {
3856
+ filter: { object: { style: "form" } },
3857
+ fields: { object: { style: "form" } }
3858
+ }
3859
+ },
3860
+ security: [{ scheme: "bearer", type: "http" }],
3861
+ url: "/permissions",
3862
+ ...options
3863
+ });
3864
+ var patchUserProfilesByIdAcceptTos = (options) => (options.client ?? client).patch({
3865
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3371
3866
  security: [{ scheme: "bearer", type: "http" }],
3372
- url: "/extraction/documents/{id}/mark_trained",
3867
+ url: "/user_profiles/{id}/accept-tos",
3373
3868
  ...options,
3374
3869
  headers: {
3375
3870
  "Content-Type": "application/vnd.api+json",
@@ -3377,6 +3872,7 @@ var patchExtractionDocumentsByIdMarkTrained = (options) => (options.client ?? cl
3377
3872
  }
3378
3873
  });
3379
3874
  var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).patch({
3875
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3380
3876
  security: [{ scheme: "bearer", type: "http" }],
3381
3877
  url: "/applications/{id}/grant-credits",
3382
3878
  ...options,
@@ -3386,16 +3882,35 @@ var patchApplicationsByIdGrantCredits = (options) => (options.client ?? client).
3386
3882
  }
3387
3883
  });
3388
3884
  var getSearchStatus = (options) => (options.client ?? client).get({
3885
+ querySerializer: {
3886
+ parameters: {
3887
+ filter: { object: { style: "form" } },
3888
+ fields: { object: { style: "form" } }
3889
+ }
3890
+ },
3389
3891
  security: [{ scheme: "bearer", type: "http" }],
3390
3892
  url: "/search/status",
3391
3893
  ...options
3392
3894
  });
3393
3895
  var getTenantsByTenantIdWorkspaceStats = (options) => (options.client ?? client).get({
3896
+ querySerializer: {
3897
+ parameters: {
3898
+ filter: { object: { style: "form" } },
3899
+ fields: { object: { style: "form" } }
3900
+ }
3901
+ },
3394
3902
  security: [{ scheme: "bearer", type: "http" }],
3395
3903
  url: "/tenants/{tenant_id}/workspace_stats",
3396
3904
  ...options
3397
3905
  });
3906
+ var getAgentsByIdTrainingStats = (options) => (options.client ?? client).get({
3907
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3908
+ security: [{ scheme: "bearer", type: "http" }],
3909
+ url: "/agents/{id}/training-stats",
3910
+ ...options
3911
+ });
3398
3912
  var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3913
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3399
3914
  security: [{ scheme: "bearer", type: "http" }],
3400
3915
  url: "/api_keys/{id}/allocate",
3401
3916
  ...options,
@@ -3405,11 +3920,13 @@ var patchApiKeysByIdAllocate = (options) => (options.client ?? client).patch({
3405
3920
  }
3406
3921
  });
3407
3922
  var getWatcherClaimsById = (options) => (options.client ?? client).get({
3923
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3408
3924
  security: [{ scheme: "bearer", type: "http" }],
3409
3925
  url: "/watcher/claims/{id}",
3410
3926
  ...options
3411
3927
  });
3412
3928
  var patchWatcherClaimsById = (options) => (options.client ?? client).patch({
3929
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3413
3930
  security: [{ scheme: "bearer", type: "http" }],
3414
3931
  url: "/watcher/claims/{id}",
3415
3932
  ...options,
@@ -3419,6 +3936,7 @@ var patchWatcherClaimsById = (options) => (options.client ?? client).patch({
3419
3936
  }
3420
3937
  });
3421
3938
  var postUsersAuthLogin = (options) => (options.client ?? client).post({
3939
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3422
3940
  security: [{ scheme: "bearer", type: "http" }],
3423
3941
  url: "/users/auth/login",
3424
3942
  ...options,
@@ -3427,12 +3945,8 @@ var postUsersAuthLogin = (options) => (options.client ?? client).post({
3427
3945
  ...options.headers
3428
3946
  }
3429
3947
  });
3430
- var getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus = (options) => (options.client ?? client).get({
3431
- security: [{ scheme: "bearer", type: "http" }],
3432
- url: "/extraction/documents/workspace/{workspace_id}/by_status/{status}",
3433
- ...options
3434
- });
3435
3948
  var postAiEmbed = (options) => (options.client ?? client).post({
3949
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3436
3950
  security: [{ scheme: "bearer", type: "http" }],
3437
3951
  url: "/ai/embed",
3438
3952
  ...options,
@@ -3450,12 +3964,31 @@ var postWebhookConfigsByIdReplay = (options) => (options.client ?? client).post(
3450
3964
  ...options.headers
3451
3965
  }
3452
3966
  });
3967
+ var getExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus = (options) => (options.client ?? client).get({
3968
+ querySerializer: {
3969
+ parameters: {
3970
+ filter: { object: { style: "form" } },
3971
+ page: { object: { style: "form" } },
3972
+ fields: { object: { style: "form" } }
3973
+ }
3974
+ },
3975
+ security: [{ scheme: "bearer", type: "http" }],
3976
+ url: "/extraction/documents/workspace/{workspace_id}/by-status/{status}",
3977
+ ...options
3978
+ });
3453
3979
  var getWorkspacesMine = (options) => (options.client ?? client).get({
3980
+ querySerializer: {
3981
+ parameters: {
3982
+ filter: { object: { style: "form" } },
3983
+ fields: { object: { style: "form" } }
3984
+ }
3985
+ },
3454
3986
  security: [{ scheme: "bearer", type: "http" }],
3455
3987
  url: "/workspaces/mine",
3456
3988
  ...options
3457
3989
  });
3458
3990
  var postTenantsIsv = (options) => (options.client ?? client).post({
3991
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3459
3992
  security: [{ scheme: "bearer", type: "http" }],
3460
3993
  url: "/tenants/isv",
3461
3994
  ...options,
@@ -3464,7 +3997,18 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3464
3997
  ...options.headers
3465
3998
  }
3466
3999
  });
4000
+ var postUsersAuthRegisterWithOidc = (options) => (options.client ?? client).post({
4001
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4002
+ security: [{ scheme: "bearer", type: "http" }],
4003
+ url: "/users/auth/register-with-oidc",
4004
+ ...options,
4005
+ headers: {
4006
+ "Content-Type": "application/vnd.api+json",
4007
+ ...options.headers
4008
+ }
4009
+ });
3467
4010
  var postSearchReindex = (options) => (options.client ?? client).post({
4011
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3468
4012
  security: [{ scheme: "bearer", type: "http" }],
3469
4013
  url: "/search/reindex",
3470
4014
  ...options,
@@ -3474,6 +4018,7 @@ var postSearchReindex = (options) => (options.client ?? client).post({
3474
4018
  }
3475
4019
  });
3476
4020
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
4021
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3477
4022
  security: [{ scheme: "bearer", type: "http" }],
3478
4023
  url: "/extraction/results/{id}/regenerate",
3479
4024
  ...options,
@@ -3483,6 +4028,7 @@ var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? clien
3483
4028
  }
3484
4029
  });
3485
4030
  var postUsersAuthConfirm = (options) => (options.client ?? client).post({
4031
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3486
4032
  security: [{ scheme: "bearer", type: "http" }],
3487
4033
  url: "/users/auth/confirm",
3488
4034
  ...options,
@@ -3491,12 +4037,29 @@ var postUsersAuthConfirm = (options) => (options.client ?? client).post({
3491
4037
  ...options.headers
3492
4038
  }
3493
4039
  });
4040
+ var postAgentsCloneForWorkspace = (options) => (options.client ?? client).post({
4041
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4042
+ security: [{ scheme: "bearer", type: "http" }],
4043
+ url: "/agents/clone-for-workspace",
4044
+ ...options,
4045
+ headers: {
4046
+ "Content-Type": "application/vnd.api+json",
4047
+ ...options.headers
4048
+ }
4049
+ });
3494
4050
  var getStorageStats = (options) => (options.client ?? client).get({
4051
+ querySerializer: {
4052
+ parameters: {
4053
+ filter: { object: { style: "form" } },
4054
+ fields: { object: { style: "form" } }
4055
+ }
4056
+ },
3495
4057
  security: [{ scheme: "bearer", type: "http" }],
3496
4058
  url: "/storage/stats",
3497
4059
  ...options
3498
4060
  });
3499
4061
  var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
4062
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3500
4063
  security: [{ scheme: "bearer", type: "http" }],
3501
4064
  url: "/tenants/{id}/buy-storage",
3502
4065
  ...options,
@@ -3506,11 +4069,19 @@ var postTenantsByIdBuyStorage = (options) => (options.client ?? client).post({
3506
4069
  }
3507
4070
  });
3508
4071
  var getWorkspaceMemberships = (options) => (options.client ?? client).get({
4072
+ querySerializer: {
4073
+ parameters: {
4074
+ filter: { object: { style: "form" } },
4075
+ page: { object: { style: "form" } },
4076
+ fields: { object: { style: "form" } }
4077
+ }
4078
+ },
3509
4079
  security: [{ scheme: "bearer", type: "http" }],
3510
4080
  url: "/workspace-memberships",
3511
4081
  ...options
3512
4082
  });
3513
4083
  var postWorkspaceMemberships = (options) => (options.client ?? client).post({
4084
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3514
4085
  security: [{ scheme: "bearer", type: "http" }],
3515
4086
  url: "/workspace-memberships",
3516
4087
  ...options,
@@ -3520,6 +4091,7 @@ var postWorkspaceMemberships = (options) => (options.client ?? client).post({
3520
4091
  }
3521
4092
  });
3522
4093
  var patchApiKeysByIdResetPeriod = (options) => (options.client ?? client).patch({
4094
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3523
4095
  security: [{ scheme: "bearer", type: "http" }],
3524
4096
  url: "/api_keys/{id}/reset-period",
3525
4097
  ...options,
@@ -3529,30 +4101,36 @@ var patchApiKeysByIdResetPeriod = (options) => (options.client ?? client).patch(
3529
4101
  }
3530
4102
  });
3531
4103
  var getTenantsByTenantIdDocumentStats = (options) => (options.client ?? client).get({
4104
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3532
4105
  security: [{ scheme: "bearer", type: "http" }],
3533
4106
  url: "/tenants/{tenant_id}/document_stats",
3534
4107
  ...options
3535
4108
  });
3536
4109
  var getSearchAnalytics = (options) => (options.client ?? client).get({
4110
+ querySerializer: {
4111
+ parameters: {
4112
+ filter: { object: { style: "form" } },
4113
+ page: { object: { style: "form" } },
4114
+ fields: { object: { style: "form" } }
4115
+ }
4116
+ },
3537
4117
  security: [{ scheme: "bearer", type: "http" }],
3538
4118
  url: "/search/analytics",
3539
4119
  ...options
3540
4120
  });
3541
- var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
3542
- security: [{ scheme: "bearer", type: "http" }],
3543
- url: "/users/auth/magic_link/request",
3544
- ...options,
3545
- headers: {
3546
- "Content-Type": "application/vnd.api+json",
3547
- ...options.headers
3548
- }
3549
- });
3550
4121
  var getPermissionsPresetsById = (options) => (options.client ?? client).get({
4122
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3551
4123
  security: [{ scheme: "bearer", type: "http" }],
3552
4124
  url: "/permissions/presets/{id}",
3553
4125
  ...options
3554
4126
  });
3555
4127
  var getPermissionsPresets = (options) => (options.client ?? client).get({
4128
+ querySerializer: {
4129
+ parameters: {
4130
+ filter: { object: { style: "form" } },
4131
+ fields: { object: { style: "form" } }
4132
+ }
4133
+ },
3556
4134
  security: [{ scheme: "bearer", type: "http" }],
3557
4135
  url: "/permissions/presets",
3558
4136
  ...options
@@ -3567,6 +4145,7 @@ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).pos
3567
4145
  }
3568
4146
  });
3569
4147
  var postUsersAuthRegister = (options) => (options.client ?? client).post({
4148
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3570
4149
  security: [{ scheme: "bearer", type: "http" }],
3571
4150
  url: "/users/auth/register",
3572
4151
  ...options,
@@ -3575,31 +4154,47 @@ var postUsersAuthRegister = (options) => (options.client ?? client).post({
3575
4154
  ...options.headers
3576
4155
  }
3577
4156
  });
3578
- var postTrainingExamplesBulk = (options) => (options.client ?? client).post({
4157
+ var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.client ?? client).post({
3579
4158
  security: [{ scheme: "bearer", type: "http" }],
3580
- url: "/training_examples/bulk",
4159
+ url: "/agents/{id}/schema_versions/{version_id}/activate",
4160
+ ...options
4161
+ });
4162
+ var getTrainingExamples = (options) => (options.client ?? client).get({
4163
+ querySerializer: {
4164
+ parameters: {
4165
+ filter: { object: { style: "form" } },
4166
+ page: { object: { style: "form" } },
4167
+ fields: { object: { style: "form" } }
4168
+ }
4169
+ },
4170
+ security: [{ scheme: "bearer", type: "http" }],
4171
+ url: "/training-examples",
4172
+ ...options
4173
+ });
4174
+ var postTrainingExamples = (options) => (options.client ?? client).post({
4175
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4176
+ security: [{ scheme: "bearer", type: "http" }],
4177
+ url: "/training-examples",
3581
4178
  ...options,
3582
4179
  headers: {
3583
4180
  "Content-Type": "application/vnd.api+json",
3584
4181
  ...options.headers
3585
4182
  }
3586
4183
  });
3587
- var postAgentsByIdSchemaVersionsByVersionIdActivate = (options) => (options.client ?? client).post({
3588
- security: [{ scheme: "bearer", type: "http" }],
3589
- url: "/agents/{id}/schema_versions/{version_id}/activate",
3590
- ...options
3591
- });
3592
4184
  var deletePaymentMethodsById = (options) => (options.client ?? client).delete({
4185
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3593
4186
  security: [{ scheme: "bearer", type: "http" }],
3594
4187
  url: "/payment-methods/{id}",
3595
4188
  ...options
3596
4189
  });
3597
4190
  var getPaymentMethodsById = (options) => (options.client ?? client).get({
4191
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3598
4192
  security: [{ scheme: "bearer", type: "http" }],
3599
4193
  url: "/payment-methods/{id}",
3600
4194
  ...options
3601
4195
  });
3602
4196
  var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
4197
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3603
4198
  security: [{ scheme: "bearer", type: "http" }],
3604
4199
  url: "/payment-methods/{id}",
3605
4200
  ...options,
@@ -3609,16 +4204,19 @@ var patchPaymentMethodsById = (options) => (options.client ?? client).patch({
3609
4204
  }
3610
4205
  });
3611
4206
  var deleteBucketsById = (options) => (options.client ?? client).delete({
4207
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3612
4208
  security: [{ scheme: "bearer", type: "http" }],
3613
4209
  url: "/buckets/{id}",
3614
4210
  ...options
3615
4211
  });
3616
4212
  var getBucketsById = (options) => (options.client ?? client).get({
4213
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3617
4214
  security: [{ scheme: "bearer", type: "http" }],
3618
4215
  url: "/buckets/{id}",
3619
4216
  ...options
3620
4217
  });
3621
4218
  var patchBucketsById = (options) => (options.client ?? client).patch({
4219
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3622
4220
  security: [{ scheme: "bearer", type: "http" }],
3623
4221
  url: "/buckets/{id}",
3624
4222
  ...options,
@@ -3628,21 +4226,24 @@ var patchBucketsById = (options) => (options.client ?? client).patch({
3628
4226
  }
3629
4227
  });
3630
4228
  var getPermissionsById = (options) => (options.client ?? client).get({
4229
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3631
4230
  security: [{ scheme: "bearer", type: "http" }],
3632
4231
  url: "/permissions/{id}",
3633
4232
  ...options
3634
4233
  });
3635
- var getAiGraphNodesBySourceNodeIdRelated = (options) => (options.client ?? client).get({
3636
- security: [{ scheme: "bearer", type: "http" }],
3637
- url: "/ai/graph/nodes/{source_node_id}/related",
3638
- ...options
3639
- });
3640
4234
  var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
4235
+ querySerializer: {
4236
+ parameters: {
4237
+ filter: { object: { style: "form" } },
4238
+ fields: { object: { style: "form" } }
4239
+ }
4240
+ },
3641
4241
  security: [{ scheme: "bearer", type: "http" }],
3642
4242
  url: "/extraction/documents/workspace/{workspace_id}",
3643
4243
  ...options
3644
4244
  });
3645
4245
  var patchApplicationsByIdAllocateCredits = (options) => (options.client ?? client).patch({
4246
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3646
4247
  security: [{ scheme: "bearer", type: "http" }],
3647
4248
  url: "/applications/{id}/allocate-credits",
3648
4249
  ...options,
@@ -3651,41 +4252,59 @@ var patchApplicationsByIdAllocateCredits = (options) => (options.client ?? clien
3651
4252
  ...options.headers
3652
4253
  }
3653
4254
  });
4255
+ var postUsersAuthMagicLinkRequest = (options) => (options.client ?? client).post({
4256
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4257
+ security: [{ scheme: "bearer", type: "http" }],
4258
+ url: "/users/auth/magic-link/request",
4259
+ ...options,
4260
+ headers: {
4261
+ "Content-Type": "application/vnd.api+json",
4262
+ ...options.headers
4263
+ }
4264
+ });
3654
4265
  var getExtractionResultsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
4266
+ querySerializer: {
4267
+ parameters: {
4268
+ filter: { object: { style: "form" } },
4269
+ page: { object: { style: "form" } },
4270
+ fields: { object: { style: "form" } }
4271
+ }
4272
+ },
3655
4273
  security: [{ scheme: "bearer", type: "http" }],
3656
4274
  url: "/extraction/results/workspace/{workspace_id}",
3657
4275
  ...options
3658
4276
  });
3659
4277
  var getSearchAnalyticsSummary = (options) => (options.client ?? client).get({
4278
+ querySerializer: {
4279
+ parameters: {
4280
+ filter: { object: { style: "form" } },
4281
+ fields: { object: { style: "form" } }
4282
+ }
4283
+ },
3660
4284
  security: [{ scheme: "bearer", type: "http" }],
3661
4285
  url: "/search/analytics/summary",
3662
4286
  ...options
3663
4287
  });
3664
- var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
3665
- security: [{ scheme: "bearer", type: "http" }],
3666
- url: "/extraction/documents/begin_upload",
3667
- ...options,
3668
- headers: {
3669
- "Content-Type": "application/vnd.api+json",
3670
- ...options.headers
3671
- }
3672
- });
3673
4288
  var deleteAiGraphEdgesById = (options) => (options.client ?? client).delete({
4289
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3674
4290
  security: [{ scheme: "bearer", type: "http" }],
3675
4291
  url: "/ai/graph/edges/{id}",
3676
4292
  ...options
3677
4293
  });
3678
4294
  var deleteTenantsById = (options) => (options.client ?? client).delete({
4295
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3679
4296
  security: [{ scheme: "bearer", type: "http" }],
3680
4297
  url: "/tenants/{id}",
3681
4298
  ...options
3682
4299
  });
3683
4300
  var getTenantsById = (options) => (options.client ?? client).get({
4301
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3684
4302
  security: [{ scheme: "bearer", type: "http" }],
3685
4303
  url: "/tenants/{id}",
3686
4304
  ...options
3687
4305
  });
3688
4306
  var patchTenantsById = (options) => (options.client ?? client).patch({
4307
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3689
4308
  security: [{ scheme: "bearer", type: "http" }],
3690
4309
  url: "/tenants/{id}",
3691
4310
  ...options,
@@ -3695,11 +4314,18 @@ var patchTenantsById = (options) => (options.client ?? client).patch({
3695
4314
  }
3696
4315
  });
3697
4316
  var getPlans = (options) => (options.client ?? client).get({
4317
+ querySerializer: {
4318
+ parameters: {
4319
+ filter: { object: { style: "form" } },
4320
+ fields: { object: { style: "form" } }
4321
+ }
4322
+ },
3698
4323
  security: [{ scheme: "bearer", type: "http" }],
3699
4324
  url: "/plans",
3700
4325
  ...options
3701
4326
  });
3702
4327
  var postAgentsByIdTest = (options) => (options.client ?? client).post({
4328
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3703
4329
  security: [{ scheme: "bearer", type: "http" }],
3704
4330
  url: "/agents/{id}/test",
3705
4331
  ...options,
@@ -3717,17 +4343,35 @@ var postAgentVersionsByIdAddSystemField = (options) => (options.client ?? client
3717
4343
  ...options.headers
3718
4344
  }
3719
4345
  });
4346
+ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
4347
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4348
+ security: [{ scheme: "bearer", type: "http" }],
4349
+ url: "/webhook_configs/{id}/rotate-secret",
4350
+ ...options,
4351
+ headers: {
4352
+ "Content-Type": "application/vnd.api+json",
4353
+ ...options.headers
4354
+ }
4355
+ });
3720
4356
  var getExtractionDocuments = (options) => (options.client ?? client).get({
4357
+ querySerializer: {
4358
+ parameters: {
4359
+ filter: { object: { style: "form" } },
4360
+ fields: { object: { style: "form" } }
4361
+ }
4362
+ },
3721
4363
  security: [{ scheme: "bearer", type: "http" }],
3722
4364
  url: "/extraction/documents",
3723
4365
  ...options
3724
4366
  });
3725
4367
  var deleteTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).delete({
4368
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3726
4369
  security: [{ scheme: "bearer", type: "http" }],
3727
4370
  url: "/tenant-memberships/{tenant_id}/{user_id}",
3728
4371
  ...options
3729
4372
  });
3730
4373
  var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? client).patch({
4374
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3731
4375
  security: [{ scheme: "bearer", type: "http" }],
3732
4376
  url: "/tenant-memberships/{tenant_id}/{user_id}",
3733
4377
  ...options,
@@ -3736,9 +4380,10 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
3736
4380
  ...options.headers
3737
4381
  }
3738
4382
  });
3739
- var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
4383
+ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ?? client).patch({
4384
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3740
4385
  security: [{ scheme: "bearer", type: "http" }],
3741
- url: "/webhook_configs/{id}/rotate_secret",
4386
+ url: "/extraction/results/{id}/save-corrections",
3742
4387
  ...options,
3743
4388
  headers: {
3744
4389
  "Content-Type": "application/vnd.api+json",
@@ -3751,11 +4396,18 @@ var getAgentVersionsByIdRevisions = (options) => (options.client ?? client).get(
3751
4396
  ...options
3752
4397
  });
3753
4398
  var getAuditLogsActivity = (options) => (options.client ?? client).get({
4399
+ querySerializer: {
4400
+ parameters: {
4401
+ filter: { object: { style: "form" } },
4402
+ fields: { object: { style: "form" } }
4403
+ }
4404
+ },
3754
4405
  security: [{ scheme: "bearer", type: "http" }],
3755
4406
  url: "/audit-logs/activity",
3756
4407
  ...options
3757
4408
  });
3758
4409
  var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
4410
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3759
4411
  security: [{ scheme: "bearer", type: "http" }],
3760
4412
  url: "/users/auth/resend-confirmation",
3761
4413
  ...options,
@@ -3765,16 +4417,29 @@ var postUsersAuthResendConfirmation = (options) => (options.client ?? client).po
3765
4417
  }
3766
4418
  });
3767
4419
  var getWorkspacesAnalyticsBatch = (options) => (options.client ?? client).get({
4420
+ querySerializer: {
4421
+ parameters: {
4422
+ filter: { object: { style: "form" } },
4423
+ fields: { object: { style: "form" } }
4424
+ }
4425
+ },
3768
4426
  security: [{ scheme: "bearer", type: "http" }],
3769
4427
  url: "/workspaces/analytics-batch",
3770
4428
  ...options
3771
4429
  });
3772
4430
  var getFieldTemplates = (options) => (options.client ?? client).get({
4431
+ querySerializer: {
4432
+ parameters: {
4433
+ filter: { object: { style: "form" } },
4434
+ fields: { object: { style: "form" } }
4435
+ }
4436
+ },
3773
4437
  security: [{ scheme: "bearer", type: "http" }],
3774
4438
  url: "/field_templates",
3775
4439
  ...options
3776
4440
  });
3777
4441
  var postFieldTemplates = (options) => (options.client ?? client).post({
4442
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3778
4443
  security: [{ scheme: "bearer", type: "http" }],
3779
4444
  url: "/field_templates",
3780
4445
  ...options,
@@ -3784,11 +4449,19 @@ var postFieldTemplates = (options) => (options.client ?? client).post({
3784
4449
  }
3785
4450
  });
3786
4451
  var getAiMessages = (options) => (options.client ?? client).get({
4452
+ querySerializer: {
4453
+ parameters: {
4454
+ filter: { object: { style: "form" } },
4455
+ page: { object: { style: "form" } },
4456
+ fields: { object: { style: "form" } }
4457
+ }
4458
+ },
3787
4459
  security: [{ scheme: "bearer", type: "http" }],
3788
4460
  url: "/ai/messages",
3789
4461
  ...options
3790
4462
  });
3791
4463
  var postAiMessages = (options) => (options.client ?? client).post({
4464
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3792
4465
  security: [{ scheme: "bearer", type: "http" }],
3793
4466
  url: "/ai/messages",
3794
4467
  ...options,
@@ -3798,6 +4471,13 @@ var postAiMessages = (options) => (options.client ?? client).post({
3798
4471
  }
3799
4472
  });
3800
4473
  var getWatcherEvents = (options) => (options.client ?? client).get({
4474
+ querySerializer: {
4475
+ parameters: {
4476
+ filter: { object: { style: "form" } },
4477
+ page: { object: { style: "form" } },
4478
+ fields: { object: { style: "form" } }
4479
+ }
4480
+ },
3801
4481
  security: [{ scheme: "bearer", type: "http" }],
3802
4482
  url: "/watcher/events",
3803
4483
  ...options
@@ -3811,16 +4491,8 @@ var postWatcherEvents = (options) => (options.client ?? client).post({
3811
4491
  ...options.headers
3812
4492
  }
3813
4493
  });
3814
- var postStorageSignUpload = (options) => (options.client ?? client).post({
3815
- security: [{ scheme: "bearer", type: "http" }],
3816
- url: "/storage/sign_upload",
3817
- ...options,
3818
- headers: {
3819
- "Content-Type": "application/vnd.api+json",
3820
- ...options.headers
3821
- }
3822
- });
3823
4494
  var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).post({
4495
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3824
4496
  security: [{ scheme: "bearer", type: "http" }],
3825
4497
  url: "/webhook_deliveries/{id}/retry",
3826
4498
  ...options,
@@ -3830,11 +4502,19 @@ var postWebhookDeliveriesByIdRetry = (options) => (options.client ?? client).pos
3830
4502
  }
3831
4503
  });
3832
4504
  var getNotificationMethods = (options) => (options.client ?? client).get({
4505
+ querySerializer: {
4506
+ parameters: {
4507
+ filter: { object: { style: "form" } },
4508
+ page: { object: { style: "form" } },
4509
+ fields: { object: { style: "form" } }
4510
+ }
4511
+ },
3833
4512
  security: [{ scheme: "bearer", type: "http" }],
3834
4513
  url: "/notification_methods",
3835
4514
  ...options
3836
4515
  });
3837
4516
  var postNotificationMethods = (options) => (options.client ?? client).post({
4517
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3838
4518
  security: [{ scheme: "bearer", type: "http" }],
3839
4519
  url: "/notification_methods",
3840
4520
  ...options,
@@ -3844,11 +4524,13 @@ var postNotificationMethods = (options) => (options.client ?? client).post({
3844
4524
  }
3845
4525
  });
3846
4526
  var getWalletPlanPreview = (options) => (options.client ?? client).get({
4527
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3847
4528
  security: [{ scheme: "bearer", type: "http" }],
3848
4529
  url: "/wallet/plan/preview",
3849
4530
  ...options
3850
4531
  });
3851
4532
  var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
4533
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3852
4534
  security: [{ scheme: "bearer", type: "http" }],
3853
4535
  url: "/threads/{id}/summarize",
3854
4536
  ...options,
@@ -3858,6 +4540,7 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3858
4540
  }
3859
4541
  });
3860
4542
  var patchConfigsByKey = (options) => (options.client ?? client).patch({
4543
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3861
4544
  security: [{ scheme: "bearer", type: "http" }],
3862
4545
  url: "/configs/{key}",
3863
4546
  ...options,
@@ -3867,6 +4550,7 @@ var patchConfigsByKey = (options) => (options.client ?? client).patch({
3867
4550
  }
3868
4551
  });
3869
4552
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
4553
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3870
4554
  security: [{ scheme: "bearer", type: "http" }],
3871
4555
  url: "/api_keys/{id}/rotate",
3872
4556
  ...options,
@@ -3876,11 +4560,18 @@ var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
3876
4560
  }
3877
4561
  });
3878
4562
  var getExtractionResults = (options) => (options.client ?? client).get({
4563
+ querySerializer: {
4564
+ parameters: {
4565
+ filter: { object: { style: "form" } },
4566
+ fields: { object: { style: "form" } }
4567
+ }
4568
+ },
3879
4569
  security: [{ scheme: "bearer", type: "http" }],
3880
4570
  url: "/extraction/results",
3881
4571
  ...options
3882
4572
  });
3883
4573
  var postAgentsByIdClone = (options) => (options.client ?? client).post({
4574
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3884
4575
  security: [{ scheme: "bearer", type: "http" }],
3885
4576
  url: "/agents/{id}/clone",
3886
4577
  ...options,
@@ -3890,16 +4581,19 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
3890
4581
  }
3891
4582
  });
3892
4583
  var deleteAiConversationsById = (options) => (options.client ?? client).delete({
4584
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3893
4585
  security: [{ scheme: "bearer", type: "http" }],
3894
4586
  url: "/ai/conversations/{id}",
3895
4587
  ...options
3896
4588
  });
3897
4589
  var getAiConversationsById = (options) => (options.client ?? client).get({
4590
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3898
4591
  security: [{ scheme: "bearer", type: "http" }],
3899
4592
  url: "/ai/conversations/{id}",
3900
4593
  ...options
3901
4594
  });
3902
4595
  var patchAiConversationsById = (options) => (options.client ?? client).patch({
4596
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3903
4597
  security: [{ scheme: "bearer", type: "http" }],
3904
4598
  url: "/ai/conversations/{id}",
3905
4599
  ...options,
@@ -3909,16 +4603,19 @@ var patchAiConversationsById = (options) => (options.client ?? client).patch({
3909
4603
  }
3910
4604
  });
3911
4605
  var deleteUserProfilesById = (options) => (options.client ?? client).delete({
4606
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3912
4607
  security: [{ scheme: "bearer", type: "http" }],
3913
4608
  url: "/user_profiles/{id}",
3914
4609
  ...options
3915
4610
  });
3916
4611
  var getUserProfilesById = (options) => (options.client ?? client).get({
4612
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3917
4613
  security: [{ scheme: "bearer", type: "http" }],
3918
4614
  url: "/user_profiles/{id}",
3919
4615
  ...options
3920
4616
  });
3921
4617
  var patchUserProfilesById = (options) => (options.client ?? client).patch({
4618
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3922
4619
  security: [{ scheme: "bearer", type: "http" }],
3923
4620
  url: "/user_profiles/{id}",
3924
4621
  ...options,
@@ -3928,6 +4625,12 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3928
4625
  }
3929
4626
  });
3930
4627
  var getInvitationsMe = (options) => (options.client ?? client).get({
4628
+ querySerializer: {
4629
+ parameters: {
4630
+ filter: { object: { style: "form" } },
4631
+ fields: { object: { style: "form" } }
4632
+ }
4633
+ },
3931
4634
  security: [{ scheme: "bearer", type: "http" }],
3932
4635
  url: "/invitations/me",
3933
4636
  ...options
@@ -3942,6 +4645,7 @@ var patchAgentsByIdSchemaVersionsByVersionId = (options) => (options.client ?? c
3942
4645
  }
3943
4646
  });
3944
4647
  var postSearchBatch = (options) => (options.client ?? client).post({
4648
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3945
4649
  security: [{ scheme: "bearer", type: "http" }],
3946
4650
  url: "/search/batch",
3947
4651
  ...options,
@@ -3951,31 +4655,49 @@ var postSearchBatch = (options) => (options.client ?? client).post({
3951
4655
  }
3952
4656
  });
3953
4657
  var getThreadsWorkspaceStats = (options) => (options.client ?? client).get({
4658
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3954
4659
  security: [{ scheme: "bearer", type: "http" }],
3955
4660
  url: "/threads/workspace-stats",
3956
4661
  ...options
3957
4662
  });
3958
4663
  var deleteObjectsById = (options) => (options.client ?? client).delete({
4664
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3959
4665
  security: [{ scheme: "bearer", type: "http" }],
3960
4666
  url: "/objects/{id}",
3961
4667
  ...options
3962
4668
  });
3963
4669
  var getObjectsById = (options) => (options.client ?? client).get({
4670
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3964
4671
  security: [{ scheme: "bearer", type: "http" }],
3965
4672
  url: "/objects/{id}",
3966
4673
  ...options
3967
4674
  });
3968
4675
  var getExtractionDocumentsWorkspaceByWorkspaceIdExcluded = (options) => (options.client ?? client).get({
4676
+ querySerializer: {
4677
+ parameters: {
4678
+ filter: { object: { style: "form" } },
4679
+ page: { object: { style: "form" } },
4680
+ fields: { object: { style: "form" } }
4681
+ }
4682
+ },
3969
4683
  security: [{ scheme: "bearer", type: "http" }],
3970
4684
  url: "/extraction/documents/workspace/{workspace_id}/excluded",
3971
4685
  ...options
3972
4686
  });
3973
4687
  var getWebhookConfigs = (options) => (options.client ?? client).get({
4688
+ querySerializer: {
4689
+ parameters: {
4690
+ filter: { object: { style: "form" } },
4691
+ page: { object: { style: "form" } },
4692
+ fields: { object: { style: "form" } }
4693
+ }
4694
+ },
3974
4695
  security: [{ scheme: "bearer", type: "http" }],
3975
4696
  url: "/webhook_configs",
3976
4697
  ...options
3977
4698
  });
3978
4699
  var postWebhookConfigs = (options) => (options.client ?? client).post({
4700
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3979
4701
  security: [{ scheme: "bearer", type: "http" }],
3980
4702
  url: "/webhook_configs",
3981
4703
  ...options,
@@ -3984,16 +4706,8 @@ var postWebhookConfigs = (options) => (options.client ?? client).post({
3984
4706
  ...options.headers
3985
4707
  }
3986
4708
  });
3987
- var postAgentsByIdPublishVersion = (options) => (options.client ?? client).post({
3988
- security: [{ scheme: "bearer", type: "http" }],
3989
- url: "/agents/{id}/publish_version",
3990
- ...options,
3991
- headers: {
3992
- "Content-Type": "application/vnd.api+json",
3993
- ...options.headers
3994
- }
3995
- });
3996
4709
  var postExtractionDocumentsBulkReprocess = (options) => (options.client ?? client).post({
4710
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3997
4711
  security: [{ scheme: "bearer", type: "http" }],
3998
4712
  url: "/extraction/documents/bulk-reprocess",
3999
4713
  ...options,
@@ -4003,6 +4717,7 @@ var postExtractionDocumentsBulkReprocess = (options) => (options.client ?? clien
4003
4717
  }
4004
4718
  });
4005
4719
  var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
4720
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4006
4721
  security: [{ scheme: "bearer", type: "http" }],
4007
4722
  url: "/objects/bulk-destroy",
4008
4723
  ...options,
@@ -4012,31 +4727,42 @@ var postObjectsBulkDestroy = (options) => (options.client ?? client).post({
4012
4727
  }
4013
4728
  });
4014
4729
  var getApplicationsBySlugBySlug = (options) => (options.client ?? client).get({
4730
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4015
4731
  security: [{ scheme: "bearer", type: "http" }],
4016
4732
  url: "/applications/by-slug/{slug}",
4017
4733
  ...options
4018
4734
  });
4019
4735
  var getNotificationLogs = (options) => (options.client ?? client).get({
4736
+ querySerializer: {
4737
+ parameters: {
4738
+ filter: { object: { style: "form" } },
4739
+ fields: { object: { style: "form" } }
4740
+ }
4741
+ },
4020
4742
  security: [{ scheme: "bearer", type: "http" }],
4021
4743
  url: "/notification_logs",
4022
4744
  ...options
4023
4745
  });
4024
4746
  var getWallet = (options) => (options.client ?? client).get({
4747
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4025
4748
  security: [{ scheme: "bearer", type: "http" }],
4026
4749
  url: "/wallet",
4027
4750
  ...options
4028
4751
  });
4029
4752
  var deleteMessagesById = (options) => (options.client ?? client).delete({
4753
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4030
4754
  security: [{ scheme: "bearer", type: "http" }],
4031
4755
  url: "/messages/{id}",
4032
4756
  ...options
4033
4757
  });
4034
4758
  var getMessagesById = (options) => (options.client ?? client).get({
4759
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4035
4760
  security: [{ scheme: "bearer", type: "http" }],
4036
4761
  url: "/messages/{id}",
4037
4762
  ...options
4038
4763
  });
4039
4764
  var patchMessagesById = (options) => (options.client ?? client).patch({
4765
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4040
4766
  security: [{ scheme: "bearer", type: "http" }],
4041
4767
  url: "/messages/{id}",
4042
4768
  ...options,
@@ -4055,26 +4781,36 @@ var postAgentsByIdDiscoverSchema = (options) => (options.client ?? client).post(
4055
4781
  }
4056
4782
  });
4057
4783
  var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
4784
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4058
4785
  security: [{ scheme: "bearer", type: "http" }],
4059
4786
  url: "/llm_analytics/usage",
4060
4787
  ...options
4061
4788
  });
4062
4789
  var getSearchStats = (options) => (options.client ?? client).get({
4790
+ querySerializer: {
4791
+ parameters: {
4792
+ filter: { object: { style: "form" } },
4793
+ fields: { object: { style: "form" } }
4794
+ }
4795
+ },
4063
4796
  security: [{ scheme: "bearer", type: "http" }],
4064
4797
  url: "/search/stats",
4065
4798
  ...options
4066
4799
  });
4067
4800
  var deleteNotificationPreferencesById = (options) => (options.client ?? client).delete({
4801
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4068
4802
  security: [{ scheme: "bearer", type: "http" }],
4069
4803
  url: "/notification_preferences/{id}",
4070
4804
  ...options
4071
4805
  });
4072
4806
  var getNotificationPreferencesById = (options) => (options.client ?? client).get({
4807
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4073
4808
  security: [{ scheme: "bearer", type: "http" }],
4074
4809
  url: "/notification_preferences/{id}",
4075
4810
  ...options
4076
4811
  });
4077
4812
  var patchNotificationPreferencesById = (options) => (options.client ?? client).patch({
4813
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4078
4814
  security: [{ scheme: "bearer", type: "http" }],
4079
4815
  url: "/notification_preferences/{id}",
4080
4816
  ...options,
@@ -4084,11 +4820,19 @@ var patchNotificationPreferencesById = (options) => (options.client ?? client).p
4084
4820
  }
4085
4821
  });
4086
4822
  var getAiGraphNodes = (options) => (options.client ?? client).get({
4823
+ querySerializer: {
4824
+ parameters: {
4825
+ filter: { object: { style: "form" } },
4826
+ page: { object: { style: "form" } },
4827
+ fields: { object: { style: "form" } }
4828
+ }
4829
+ },
4087
4830
  security: [{ scheme: "bearer", type: "http" }],
4088
4831
  url: "/ai/graph/nodes",
4089
4832
  ...options
4090
4833
  });
4091
4834
  var postAiGraphNodes = (options) => (options.client ?? client).post({
4835
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4092
4836
  security: [{ scheme: "bearer", type: "http" }],
4093
4837
  url: "/ai/graph/nodes",
4094
4838
  ...options,
@@ -4098,11 +4842,19 @@ var postAiGraphNodes = (options) => (options.client ?? client).post({
4098
4842
  }
4099
4843
  });
4100
4844
  var getAgents = (options) => (options.client ?? client).get({
4845
+ querySerializer: {
4846
+ parameters: {
4847
+ filter: { object: { style: "form" } },
4848
+ page: { object: { style: "form" } },
4849
+ fields: { object: { style: "form" } }
4850
+ }
4851
+ },
4101
4852
  security: [{ scheme: "bearer", type: "http" }],
4102
4853
  url: "/agents",
4103
4854
  ...options
4104
4855
  });
4105
4856
  var postAgents = (options) => (options.client ?? client).post({
4857
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4106
4858
  security: [{ scheme: "bearer", type: "http" }],
4107
4859
  url: "/agents",
4108
4860
  ...options,
@@ -4112,16 +4864,19 @@ var postAgents = (options) => (options.client ?? client).post({
4112
4864
  }
4113
4865
  });
4114
4866
  var deleteApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).delete({
4867
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4115
4868
  security: [{ scheme: "bearer", type: "http" }],
4116
4869
  url: "/applications/{application_id}/email-templates/{slug}",
4117
4870
  ...options
4118
4871
  });
4119
4872
  var getApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).get({
4873
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4120
4874
  security: [{ scheme: "bearer", type: "http" }],
4121
4875
  url: "/applications/{application_id}/email-templates/{slug}",
4122
4876
  ...options
4123
4877
  });
4124
4878
  var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options.client ?? client).patch({
4879
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4125
4880
  security: [{ scheme: "bearer", type: "http" }],
4126
4881
  url: "/applications/{application_id}/email-templates/{slug}",
4127
4882
  ...options,
@@ -4131,6 +4886,7 @@ var patchApplicationsByApplicationIdEmailTemplatesBySlug = (options) => (options
4131
4886
  }
4132
4887
  });
4133
4888
  var patchPaymentMethodsByIdDefault = (options) => (options.client ?? client).patch({
4889
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4134
4890
  security: [{ scheme: "bearer", type: "http" }],
4135
4891
  url: "/payment-methods/{id}/default",
4136
4892
  ...options,
@@ -4144,31 +4900,32 @@ var postAgentsByIdExport = (options) => (options.client ?? client).post({
4144
4900
  url: "/agents/{id}/export",
4145
4901
  ...options
4146
4902
  });
4147
- var postUsersRegisterIsv = (options) => (options.client ?? client).post({
4148
- security: [{ scheme: "bearer", type: "http" }],
4149
- url: "/users/register_isv",
4150
- ...options,
4151
- headers: {
4152
- "Content-Type": "application/vnd.api+json",
4153
- ...options.headers
4154
- }
4155
- });
4156
4903
  var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4904
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4157
4905
  security: [{ scheme: "bearer", type: "http" }],
4158
4906
  url: "/extraction/batches/{id}",
4159
4907
  ...options
4160
4908
  });
4161
4909
  var getExtractionBatchesById = (options) => (options.client ?? client).get({
4910
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4162
4911
  security: [{ scheme: "bearer", type: "http" }],
4163
4912
  url: "/extraction/batches/{id}",
4164
4913
  ...options
4165
4914
  });
4166
4915
  var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
4916
+ querySerializer: {
4917
+ parameters: {
4918
+ filter: { object: { style: "form" } },
4919
+ page: { object: { style: "form" } },
4920
+ fields: { object: { style: "form" } }
4921
+ }
4922
+ },
4167
4923
  security: [{ scheme: "bearer", type: "http" }],
4168
4924
  url: "/workspaces/{workspace_id}/extraction/exports",
4169
4925
  ...options
4170
4926
  });
4171
4927
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
4928
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4172
4929
  security: [{ scheme: "bearer", type: "http" }],
4173
4930
  url: "/workspaces/{workspace_id}/extraction/exports",
4174
4931
  ...options,
@@ -4178,11 +4935,13 @@ var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client
4178
4935
  }
4179
4936
  });
4180
4937
  var deleteWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).delete({
4938
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4181
4939
  security: [{ scheme: "bearer", type: "http" }],
4182
4940
  url: "/workspace-memberships/{workspace_id}/{user_id}",
4183
4941
  ...options
4184
4942
  });
4185
4943
  var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.client ?? client).patch({
4944
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4186
4945
  security: [{ scheme: "bearer", type: "http" }],
4187
4946
  url: "/workspace-memberships/{workspace_id}/{user_id}",
4188
4947
  ...options,
@@ -4191,12 +4950,28 @@ var patchWorkspaceMembershipsByWorkspaceIdByUserId = (options) => (options.clien
4191
4950
  ...options.headers
4192
4951
  }
4193
4952
  });
4953
+ var postTrainingExamplesBulkDelete = (options) => (options.client ?? client).post({
4954
+ security: [{ scheme: "bearer", type: "http" }],
4955
+ url: "/training-examples/bulk-delete",
4956
+ ...options,
4957
+ headers: {
4958
+ "Content-Type": "application/vnd.api+json",
4959
+ ...options.headers
4960
+ }
4961
+ });
4194
4962
  var getExtractionConfigEnums = (options) => (options.client ?? client).get({
4963
+ querySerializer: {
4964
+ parameters: {
4965
+ filter: { object: { style: "form" } },
4966
+ fields: { object: { style: "form" } }
4967
+ }
4968
+ },
4195
4969
  security: [{ scheme: "bearer", type: "http" }],
4196
4970
  url: "/extraction/config-enums",
4197
4971
  ...options
4198
4972
  });
4199
4973
  var postExtractionConfigEnums = (options) => (options.client ?? client).post({
4974
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
4200
4975
  security: [{ scheme: "bearer", type: "http" }],
4201
4976
  url: "/extraction/config-enums",
4202
4977
  ...options,
@@ -4206,21 +4981,48 @@ var postExtractionConfigEnums = (options) => (options.client ?? client).post({
4206
4981
  }
4207
4982
  });
4208
4983
  var getExtractionDocumentsWorkspaceByWorkspaceIdTrashed = (options) => (options.client ?? client).get({
4984
+ querySerializer: {
4985
+ parameters: {
4986
+ filter: { object: { style: "form" } },
4987
+ page: { object: { style: "form" } },
4988
+ fields: { object: { style: "form" } }
4989
+ }
4990
+ },
4209
4991
  security: [{ scheme: "bearer", type: "http" }],
4210
4992
  url: "/extraction/documents/workspace/{workspace_id}/trashed",
4211
4993
  ...options
4212
4994
  });
4213
4995
  var getCreditPackages = (options) => (options.client ?? client).get({
4996
+ querySerializer: {
4997
+ parameters: {
4998
+ filter: { object: { style: "form" } },
4999
+ fields: { object: { style: "form" } }
5000
+ }
5001
+ },
4214
5002
  security: [{ scheme: "bearer", type: "http" }],
4215
5003
  url: "/credit-packages",
4216
5004
  ...options
4217
5005
  });
4218
5006
  var getUsers = (options) => (options.client ?? client).get({
5007
+ querySerializer: {
5008
+ parameters: {
5009
+ filter: { object: { style: "form" } },
5010
+ page: { object: { style: "form" } },
5011
+ fields: { object: { style: "form" } }
5012
+ }
5013
+ },
4219
5014
  security: [{ scheme: "bearer", type: "http" }],
4220
5015
  url: "/users",
4221
5016
  ...options
4222
5017
  });
4223
5018
  var getObjects = (options) => (options.client ?? client).get({
5019
+ querySerializer: {
5020
+ parameters: {
5021
+ filter: { object: { style: "form" } },
5022
+ page: { object: { style: "form" } },
5023
+ fields: { object: { style: "form" } }
5024
+ }
5025
+ },
4224
5026
  security: [{ scheme: "bearer", type: "http" }],
4225
5027
  url: "/objects",
4226
5028
  ...options
@@ -4822,6 +5624,7 @@ var index_default = gptCore;
4822
5624
  collectStreamedMessage,
4823
5625
  deleteAgentVersionsById,
4824
5626
  deleteAgentsById,
5627
+ deleteAgentsByIdTrainingExamplesByExampleId,
4825
5628
  deleteAiConversationsById,
4826
5629
  deleteAiGraphEdgesById,
4827
5630
  deleteAiGraphNodesById,
@@ -4860,6 +5663,7 @@ var index_default = gptCore;
4860
5663
  getAgentsById,
4861
5664
  getAgentsByIdSchemaVersions,
4862
5665
  getAgentsByIdStats,
5666
+ getAgentsByIdTrainingExamples,
4863
5667
  getAgentsByIdTrainingStats,
4864
5668
  getAgentsByIdUsage,
4865
5669
  getAgentsUsage,
@@ -5102,16 +5906,19 @@ var index_default = gptCore;
5102
5906
  postAgentVersionsByIdRemoveSystemField,
5103
5907
  postAgentVersionsByIdSetSystemFields,
5104
5908
  postAgents,
5909
+ postAgentsByIdAnalyzeTraining,
5105
5910
  postAgentsByIdClone,
5106
5911
  postAgentsByIdDiscoverSchema,
5107
5912
  postAgentsByIdExport,
5108
5913
  postAgentsByIdPublishVersion,
5914
+ postAgentsByIdRestoreVersion,
5109
5915
  postAgentsByIdSchemaVersions,
5110
5916
  postAgentsByIdSchemaVersionsByVersionIdActivate,
5111
5917
  postAgentsByIdTeach,
5112
5918
  postAgentsByIdTest,
5113
5919
  postAgentsByIdValidate,
5114
5920
  postAgentsCloneForWorkspace,
5921
+ postAgentsDiscoverSchema,
5115
5922
  postAgentsImport,
5116
5923
  postAgentsPredict,
5117
5924
  postAiChunksSearch,