@caraer/client 2.0.437 → 2.0.441

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.
Files changed (122) hide show
  1. package/.openapi-generator/FILES +87 -2
  2. package/api.ts +1952 -755
  3. package/dist/api.d.ts +2039 -713
  4. package/dist/api.js +471 -465
  5. package/dist/esm/api.d.ts +2039 -713
  6. package/dist/esm/api.js +468 -462
  7. package/docs/AppBarIframeSessionsApi.md +10 -4
  8. package/docs/AppBarsApi.md +11 -4
  9. package/docs/AppInstallationRuntimeApi.md +58 -0
  10. package/docs/ApplicationsApi.md +128 -58
  11. package/docs/AutomationsApi.md +6 -4
  12. package/docs/BillingApi.md +10 -4
  13. package/docs/CRUD.md +24 -0
  14. package/docs/CompanyApi.md +44 -18
  15. package/docs/CreateResponseFeedDTO.md +23 -0
  16. package/docs/CreateResponseMapStringString.md +23 -0
  17. package/docs/DeleteResponseFeedDTO.md +23 -0
  18. package/docs/DeveloperProjectsApi.md +31 -6
  19. package/docs/DeveloperSandboxDTO.md +43 -0
  20. package/docs/DeveloperSandboxesApi.md +12 -2
  21. package/docs/ErrorResponse.md +3 -3
  22. package/docs/ExistingWidgetSummary.md +4 -4
  23. package/docs/FeedsApi.md +11 -6
  24. package/docs/FileManagementApi.md +19 -9
  25. package/docs/FilterApi.md +21 -8
  26. package/docs/FlowPaginationRequest.md +43 -0
  27. package/docs/FormsApi.md +95 -56
  28. package/docs/ModuleApi.md +61 -38
  29. package/docs/NotificationsApi.md +15 -2
  30. package/docs/ObjectsApi.md +80 -39
  31. package/docs/PaginationRequest.md +31 -0
  32. package/docs/PaginationResponseAppDTO.md +31 -0
  33. package/docs/PaginationResponseCaraerObjectDTO.md +31 -0
  34. package/docs/PaginationResponseCompanyDTO.md +31 -0
  35. package/docs/{PaginationResponse.md → PaginationResponseFeedDTO.md} +4 -4
  36. package/docs/PaginationResponseFormDTO.md +31 -0
  37. package/docs/PaginationResponseMapStringObject.md +31 -0
  38. package/docs/PaginationResponseObject.md +31 -0
  39. package/docs/PaginationResponsePageContentDTO.md +31 -0
  40. package/docs/PaginationResponsePropertyCalculationTypeDTO.md +31 -0
  41. package/docs/PaginationResponsePropertyDTO.md +31 -0
  42. package/docs/PaginationResponsePropertyFormat.md +31 -0
  43. package/docs/PaginationResponsePropertyOption.md +31 -0
  44. package/docs/PaginationResponsePublicEnvironmentDTO.md +31 -0
  45. package/docs/PaginationResponsePublicFormDTO.md +31 -0
  46. package/docs/PaginationResponseRelationDTO.md +31 -0
  47. package/docs/PaginationResponseSavedFilterDTO.md +31 -0
  48. package/docs/PaginationResponseServerlessFunctionDTO.md +31 -0
  49. package/docs/PaginationResponseSubscribeWebhookDTO.md +31 -0
  50. package/docs/PaginationResponseSyncDTO.md +31 -0
  51. package/docs/PaginationResponseTraitDTO.md +31 -0
  52. package/docs/PaginationResponseViewDTO.md +31 -0
  53. package/docs/PaginationResponseWebMenuDTO.md +31 -0
  54. package/docs/ProjectBuildDTO.md +55 -0
  55. package/docs/ProjectDeployDTO.md +53 -0
  56. package/docs/PropertyApi.md +84 -47
  57. package/docs/PublicFormDTO.md +55 -0
  58. package/docs/RecordPaginationRequest.md +37 -0
  59. package/docs/RecordsApi.md +141 -60
  60. package/docs/RelationsApi.md +82 -48
  61. package/docs/SearchRequest.md +29 -0
  62. package/docs/ServerlessFunctionsApi.md +42 -16
  63. package/docs/ShowResponse.md +3 -3
  64. package/docs/ShowResponseAnalyticsDashboardConfig.md +23 -0
  65. package/docs/ShowResponseAppBarIframeSessionContextDTO.md +23 -0
  66. package/docs/ShowResponseAppBarIframeSessionTokenDTO.md +23 -0
  67. package/docs/ShowResponseAppDTO.md +23 -0
  68. package/docs/ShowResponseBillingStatusDTO.md +23 -0
  69. package/docs/ShowResponseCaraerObjectDTO.md +23 -0
  70. package/docs/ShowResponseCompanyDTO.md +23 -0
  71. package/docs/ShowResponseDeveloperProjectDTO.md +23 -0
  72. package/docs/ShowResponseDigitalIdentityDTO.md +23 -0
  73. package/docs/ShowResponseFeedDTO.md +23 -0
  74. package/docs/ShowResponseFormDTO.md +23 -0
  75. package/docs/ShowResponseListEnvironmentDTO.md +23 -0
  76. package/docs/ShowResponseListFormObjectSummaryDTO.md +23 -0
  77. package/docs/ShowResponseListInstalledAppBarDTO.md +23 -0
  78. package/docs/ShowResponseListPropertyDTO.md +23 -0
  79. package/docs/ShowResponseListWebpagePickerItemDTO.md +23 -0
  80. package/docs/ShowResponseLoadAppSettingOptionsResponse.md +23 -0
  81. package/docs/ShowResponseMapStringAnalyticsDashboardConfig.md +23 -0
  82. package/docs/ShowResponseMapStringBoolean.md +23 -0
  83. package/docs/ShowResponseMapStringString.md +23 -0
  84. package/docs/ShowResponsePageContentDTO.md +23 -0
  85. package/docs/ShowResponsePreviewDTO.md +23 -0
  86. package/docs/ShowResponsePropertyDTO.md +23 -0
  87. package/docs/ShowResponsePublicFormDTO.md +23 -0
  88. package/docs/ShowResponseRelationDTO.md +23 -0
  89. package/docs/ShowResponseSavedFilterDTO.md +23 -0
  90. package/docs/ShowResponseServerlessFunctionDTO.md +23 -0
  91. package/docs/ShowResponseString.md +23 -0
  92. package/docs/ShowResponseSubscribeWebhookDTO.md +23 -0
  93. package/docs/ShowResponseTemplateWebpageDTO.md +23 -0
  94. package/docs/ShowResponseTraitDTO.md +23 -0
  95. package/docs/ShowResponseViewDTO.md +23 -0
  96. package/docs/ShowResponseWebMenuDTO.md +23 -0
  97. package/docs/ShowResponseWebsiteSettingsDTO.md +23 -0
  98. package/docs/SuccessResponseAggregateResponse.md +23 -0
  99. package/docs/SuccessResponseCollectionRelation.md +23 -0
  100. package/docs/SuccessResponseCompanyDTO.md +23 -0
  101. package/docs/{SuccessResponse.md → SuccessResponseFeedDTO.md} +4 -4
  102. package/docs/SuccessResponseFlow.md +23 -0
  103. package/docs/SuccessResponseListAggregateResponse.md +23 -0
  104. package/docs/SuccessResponseListCaraerObjectDTO.md +23 -0
  105. package/docs/SuccessResponseListDeveloperSandboxDTO.md +23 -0
  106. package/docs/SuccessResponseListMapStringObject.md +23 -0
  107. package/docs/SuccessResponseListProjectBuildDTO.md +23 -0
  108. package/docs/SuccessResponseListProjectDeployDTO.md +23 -0
  109. package/docs/SuccessResponseListPropertyDTO.md +23 -0
  110. package/docs/SuccessResponseListString.md +23 -0
  111. package/docs/SuccessResponseMapStringInteger.md +23 -0
  112. package/docs/SuccessResponseMapStringObject.md +23 -0
  113. package/docs/SuccessResponseObject.md +23 -0
  114. package/docs/SuccessResponseSuggestAnalyticsWidgetsResponse.md +23 -0
  115. package/docs/SuccessResponseTable.md +23 -0
  116. package/docs/SyncApi.md +27 -9
  117. package/docs/TraitsApi.md +41 -23
  118. package/docs/UpdateResponseFeedDTO.md +23 -0
  119. package/docs/ViewsApi.md +44 -26
  120. package/docs/WebMenusApi.md +30 -12
  121. package/docs/WebpagesApi.md +128 -24
  122. package/package.json +1 -1
package/dist/esm/api.js CHANGED
@@ -54,6 +54,10 @@ export const AppDTOAuthMethodEnum = {
54
54
  ApiKey: 'API_KEY',
55
55
  Oauth2: 'OAUTH2',
56
56
  };
57
+ export const CRUDSessionTypeEnum = {
58
+ Main: 'MAIN',
59
+ User: 'USER',
60
+ };
57
61
  export const CaraerErrorTypeTypeEnum = {
58
62
  Validation: 'VALIDATION',
59
63
  NotFound: 'NOT_FOUND',
@@ -1893,15 +1897,15 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
1893
1897
  * Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
1894
1898
  * @summary Retrieve a paginated list of webhooks for an app
1895
1899
  * @param {string} appUuid UUID of the application for which to retrieve webhooks
1896
- * @param {any} body
1900
+ * @param {PaginationRequest} paginationRequest
1897
1901
  * @param {*} [options] Override http request option.
1898
1902
  * @throws {RequiredError}
1899
1903
  */
1900
- getAppWebhooks: (appUuid_1, body_1, ...args_1) => __awaiter(this, [appUuid_1, body_1, ...args_1], void 0, function* (appUuid, body, options = {}) {
1904
+ getAppWebhooks: (appUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [appUuid_1, paginationRequest_1, ...args_1], void 0, function* (appUuid, paginationRequest, options = {}) {
1901
1905
  // verify required parameter 'appUuid' is not null or undefined
1902
1906
  assertParamExists('getAppWebhooks', 'appUuid', appUuid);
1903
- // verify required parameter 'body' is not null or undefined
1904
- assertParamExists('getAppWebhooks', 'body', body);
1907
+ // verify required parameter 'paginationRequest' is not null or undefined
1908
+ assertParamExists('getAppWebhooks', 'paginationRequest', paginationRequest);
1905
1909
  const localVarPath = `/api/v2/apps/{appUuid}/webhooks/index`
1906
1910
  .replace('{appUuid}', encodeURIComponent(String(appUuid)));
1907
1911
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1921,7 +1925,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
1921
1925
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1922
1926
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1923
1927
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1924
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1928
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
1925
1929
  return {
1926
1930
  url: toPathString(localVarUrlObj),
1927
1931
  options: localVarRequestOptions,
@@ -1930,15 +1934,15 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
1930
1934
  /**
1931
1935
  * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
1932
1936
  * @summary Retrieve a paginated list of applications
1933
- * @param {any} body
1937
+ * @param {PaginationRequest} paginationRequest
1934
1938
  * @param {string} [type]
1935
1939
  * @param {boolean} [installedOnly]
1936
1940
  * @param {*} [options] Override http request option.
1937
1941
  * @throws {RequiredError}
1938
1942
  */
1939
- getApps: (body_1, type_1, installedOnly_1, ...args_1) => __awaiter(this, [body_1, type_1, installedOnly_1, ...args_1], void 0, function* (body, type, installedOnly, options = {}) {
1940
- // verify required parameter 'body' is not null or undefined
1941
- assertParamExists('getApps', 'body', body);
1943
+ getApps: (paginationRequest_1, type_1, installedOnly_1, ...args_1) => __awaiter(this, [paginationRequest_1, type_1, installedOnly_1, ...args_1], void 0, function* (paginationRequest, type, installedOnly, options = {}) {
1944
+ // verify required parameter 'paginationRequest' is not null or undefined
1945
+ assertParamExists('getApps', 'paginationRequest', paginationRequest);
1942
1946
  const localVarPath = `/api/v2/apps/index`;
1943
1947
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1944
1948
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1963,7 +1967,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
1963
1967
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1964
1968
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1965
1969
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1966
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1970
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
1967
1971
  return {
1968
1972
  url: toPathString(localVarUrlObj),
1969
1973
  options: localVarRequestOptions,
@@ -2005,13 +2009,13 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
2005
2009
  /**
2006
2010
  * Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
2007
2011
  * @summary Retrieve apps created by the logged-in user\'s selected company
2008
- * @param {any} body
2012
+ * @param {PaginationRequest} paginationRequest
2009
2013
  * @param {*} [options] Override http request option.
2010
2014
  * @throws {RequiredError}
2011
2015
  */
2012
- getMyCreatedApps: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
2013
- // verify required parameter 'body' is not null or undefined
2014
- assertParamExists('getMyCreatedApps', 'body', body);
2016
+ getMyCreatedApps: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
2017
+ // verify required parameter 'paginationRequest' is not null or undefined
2018
+ assertParamExists('getMyCreatedApps', 'paginationRequest', paginationRequest);
2015
2019
  const localVarPath = `/api/v2/apps/my/index`;
2016
2020
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2017
2021
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2030,7 +2034,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
2030
2034
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2031
2035
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2032
2036
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2033
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2037
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
2034
2038
  return {
2035
2039
  url: toPathString(localVarUrlObj),
2036
2040
  options: localVarRequestOptions,
@@ -2449,7 +2453,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
2449
2453
  // authentication bearerAuth required
2450
2454
  // http bearer authentication required
2451
2455
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2452
- localVarHeaderParameter['Accept'] = 'text/event-stream';
2456
+ localVarHeaderParameter['Accept'] = 'text/event-stream,application/json';
2453
2457
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2454
2458
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2455
2459
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2844,14 +2848,14 @@ export const ApplicationsApiFp = function (configuration) {
2844
2848
  * Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
2845
2849
  * @summary Retrieve a paginated list of webhooks for an app
2846
2850
  * @param {string} appUuid UUID of the application for which to retrieve webhooks
2847
- * @param {any} body
2851
+ * @param {PaginationRequest} paginationRequest
2848
2852
  * @param {*} [options] Override http request option.
2849
2853
  * @throws {RequiredError}
2850
2854
  */
2851
- getAppWebhooks(appUuid, body, options) {
2855
+ getAppWebhooks(appUuid, paginationRequest, options) {
2852
2856
  return __awaiter(this, void 0, void 0, function* () {
2853
2857
  var _a, _b, _c;
2854
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAppWebhooks(appUuid, body, options);
2858
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAppWebhooks(appUuid, paginationRequest, options);
2855
2859
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2856
2860
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.getAppWebhooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2857
2861
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2860,16 +2864,16 @@ export const ApplicationsApiFp = function (configuration) {
2860
2864
  /**
2861
2865
  * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
2862
2866
  * @summary Retrieve a paginated list of applications
2863
- * @param {any} body
2867
+ * @param {PaginationRequest} paginationRequest
2864
2868
  * @param {string} [type]
2865
2869
  * @param {boolean} [installedOnly]
2866
2870
  * @param {*} [options] Override http request option.
2867
2871
  * @throws {RequiredError}
2868
2872
  */
2869
- getApps(body, type, installedOnly, options) {
2873
+ getApps(paginationRequest, type, installedOnly, options) {
2870
2874
  return __awaiter(this, void 0, void 0, function* () {
2871
2875
  var _a, _b, _c;
2872
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getApps(body, type, installedOnly, options);
2876
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getApps(paginationRequest, type, installedOnly, options);
2873
2877
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2874
2878
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.getApps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2875
2879
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2894,14 +2898,14 @@ export const ApplicationsApiFp = function (configuration) {
2894
2898
  /**
2895
2899
  * Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
2896
2900
  * @summary Retrieve apps created by the logged-in user\'s selected company
2897
- * @param {any} body
2901
+ * @param {PaginationRequest} paginationRequest
2898
2902
  * @param {*} [options] Override http request option.
2899
2903
  * @throws {RequiredError}
2900
2904
  */
2901
- getMyCreatedApps(body, options) {
2905
+ getMyCreatedApps(paginationRequest, options) {
2902
2906
  return __awaiter(this, void 0, void 0, function* () {
2903
2907
  var _a, _b, _c;
2904
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyCreatedApps(body, options);
2908
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyCreatedApps(paginationRequest, options);
2905
2909
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2906
2910
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.getMyCreatedApps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2907
2911
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3302,24 +3306,24 @@ export const ApplicationsApiFactory = function (configuration, basePath, axios)
3302
3306
  * Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
3303
3307
  * @summary Retrieve a paginated list of webhooks for an app
3304
3308
  * @param {string} appUuid UUID of the application for which to retrieve webhooks
3305
- * @param {any} body
3309
+ * @param {PaginationRequest} paginationRequest
3306
3310
  * @param {*} [options] Override http request option.
3307
3311
  * @throws {RequiredError}
3308
3312
  */
3309
- getAppWebhooks(appUuid, body, options) {
3310
- return localVarFp.getAppWebhooks(appUuid, body, options).then((request) => request(axios, basePath));
3313
+ getAppWebhooks(appUuid, paginationRequest, options) {
3314
+ return localVarFp.getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(axios, basePath));
3311
3315
  },
3312
3316
  /**
3313
3317
  * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3314
3318
  * @summary Retrieve a paginated list of applications
3315
- * @param {any} body
3319
+ * @param {PaginationRequest} paginationRequest
3316
3320
  * @param {string} [type]
3317
3321
  * @param {boolean} [installedOnly]
3318
3322
  * @param {*} [options] Override http request option.
3319
3323
  * @throws {RequiredError}
3320
3324
  */
3321
- getApps(body, type, installedOnly, options) {
3322
- return localVarFp.getApps(body, type, installedOnly, options).then((request) => request(axios, basePath));
3325
+ getApps(paginationRequest, type, installedOnly, options) {
3326
+ return localVarFp.getApps(paginationRequest, type, installedOnly, options).then((request) => request(axios, basePath));
3323
3327
  },
3324
3328
  /**
3325
3329
  * Retrieves the company information of the authenticated user. The response includes public details of the user\'s selected company.
@@ -3334,12 +3338,12 @@ export const ApplicationsApiFactory = function (configuration, basePath, axios)
3334
3338
  /**
3335
3339
  * Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
3336
3340
  * @summary Retrieve apps created by the logged-in user\'s selected company
3337
- * @param {any} body
3341
+ * @param {PaginationRequest} paginationRequest
3338
3342
  * @param {*} [options] Override http request option.
3339
3343
  * @throws {RequiredError}
3340
3344
  */
3341
- getMyCreatedApps(body, options) {
3342
- return localVarFp.getMyCreatedApps(body, options).then((request) => request(axios, basePath));
3345
+ getMyCreatedApps(paginationRequest, options) {
3346
+ return localVarFp.getMyCreatedApps(paginationRequest, options).then((request) => request(axios, basePath));
3343
3347
  },
3344
3348
  /**
3345
3349
  * Gets the full app for the creator, including appPublish, appBars, details, and pricing. Returns AppCreatorDTO with everything under App.
@@ -3620,24 +3624,24 @@ export class ApplicationsApi extends BaseAPI {
3620
3624
  * Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
3621
3625
  * @summary Retrieve a paginated list of webhooks for an app
3622
3626
  * @param {string} appUuid UUID of the application for which to retrieve webhooks
3623
- * @param {any} body
3627
+ * @param {PaginationRequest} paginationRequest
3624
3628
  * @param {*} [options] Override http request option.
3625
3629
  * @throws {RequiredError}
3626
3630
  */
3627
- getAppWebhooks(appUuid, body, options) {
3628
- return ApplicationsApiFp(this.configuration).getAppWebhooks(appUuid, body, options).then((request) => request(this.axios, this.basePath));
3631
+ getAppWebhooks(appUuid, paginationRequest, options) {
3632
+ return ApplicationsApiFp(this.configuration).getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
3629
3633
  }
3630
3634
  /**
3631
3635
  * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3632
3636
  * @summary Retrieve a paginated list of applications
3633
- * @param {any} body
3637
+ * @param {PaginationRequest} paginationRequest
3634
3638
  * @param {string} [type]
3635
3639
  * @param {boolean} [installedOnly]
3636
3640
  * @param {*} [options] Override http request option.
3637
3641
  * @throws {RequiredError}
3638
3642
  */
3639
- getApps(body, type, installedOnly, options) {
3640
- return ApplicationsApiFp(this.configuration).getApps(body, type, installedOnly, options).then((request) => request(this.axios, this.basePath));
3643
+ getApps(paginationRequest, type, installedOnly, options) {
3644
+ return ApplicationsApiFp(this.configuration).getApps(paginationRequest, type, installedOnly, options).then((request) => request(this.axios, this.basePath));
3641
3645
  }
3642
3646
  /**
3643
3647
  * Retrieves the company information of the authenticated user. The response includes public details of the user\'s selected company.
@@ -3652,12 +3656,12 @@ export class ApplicationsApi extends BaseAPI {
3652
3656
  /**
3653
3657
  * Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
3654
3658
  * @summary Retrieve apps created by the logged-in user\'s selected company
3655
- * @param {any} body
3659
+ * @param {PaginationRequest} paginationRequest
3656
3660
  * @param {*} [options] Override http request option.
3657
3661
  * @throws {RequiredError}
3658
3662
  */
3659
- getMyCreatedApps(body, options) {
3660
- return ApplicationsApiFp(this.configuration).getMyCreatedApps(body, options).then((request) => request(this.axios, this.basePath));
3663
+ getMyCreatedApps(paginationRequest, options) {
3664
+ return ApplicationsApiFp(this.configuration).getMyCreatedApps(paginationRequest, options).then((request) => request(this.axios, this.basePath));
3661
3665
  }
3662
3666
  /**
3663
3667
  * Gets the full app for the creator, including appPublish, appBars, details, and pricing. Returns AppCreatorDTO with everything under App.
@@ -5806,13 +5810,13 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
5806
5810
  /**
5807
5811
  *
5808
5812
  * @summary List feeds
5809
- * @param {any} body
5813
+ * @param {PaginationRequest} paginationRequest
5810
5814
  * @param {*} [options] Override http request option.
5811
5815
  * @throws {RequiredError}
5812
5816
  */
5813
- index1: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
5814
- // verify required parameter 'body' is not null or undefined
5815
- assertParamExists('index1', 'body', body);
5817
+ index1: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
5818
+ // verify required parameter 'paginationRequest' is not null or undefined
5819
+ assertParamExists('index1', 'paginationRequest', paginationRequest);
5816
5820
  const localVarPath = `/api/v2/feeds/index`;
5817
5821
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5818
5822
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5831,7 +5835,7 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
5831
5835
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5832
5836
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5833
5837
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5834
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
5838
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
5835
5839
  return {
5836
5840
  url: toPathString(localVarUrlObj),
5837
5841
  options: localVarRequestOptions,
@@ -5848,14 +5852,14 @@ export const FeedsApiFp = function (configuration) {
5848
5852
  /**
5849
5853
  *
5850
5854
  * @summary List feeds
5851
- * @param {any} body
5855
+ * @param {PaginationRequest} paginationRequest
5852
5856
  * @param {*} [options] Override http request option.
5853
5857
  * @throws {RequiredError}
5854
5858
  */
5855
- index1(body, options) {
5859
+ index1(paginationRequest, options) {
5856
5860
  return __awaiter(this, void 0, void 0, function* () {
5857
5861
  var _a, _b, _c;
5858
- const localVarAxiosArgs = yield localVarAxiosParamCreator.index1(body, options);
5862
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.index1(paginationRequest, options);
5859
5863
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5860
5864
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeedsApi.index1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5861
5865
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5872,12 +5876,12 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
5872
5876
  /**
5873
5877
  *
5874
5878
  * @summary List feeds
5875
- * @param {any} body
5879
+ * @param {PaginationRequest} paginationRequest
5876
5880
  * @param {*} [options] Override http request option.
5877
5881
  * @throws {RequiredError}
5878
5882
  */
5879
- index1(body, options) {
5880
- return localVarFp.index1(body, options).then((request) => request(axios, basePath));
5883
+ index1(paginationRequest, options) {
5884
+ return localVarFp.index1(paginationRequest, options).then((request) => request(axios, basePath));
5881
5885
  },
5882
5886
  };
5883
5887
  };
@@ -5888,12 +5892,12 @@ export class FeedsApi extends BaseAPI {
5888
5892
  /**
5889
5893
  *
5890
5894
  * @summary List feeds
5891
- * @param {any} body
5895
+ * @param {PaginationRequest} paginationRequest
5892
5896
  * @param {*} [options] Override http request option.
5893
5897
  * @throws {RequiredError}
5894
5898
  */
5895
- index1(body, options) {
5896
- return FeedsApiFp(this.configuration).index1(body, options).then((request) => request(this.axios, this.basePath));
5899
+ index1(paginationRequest, options) {
5900
+ return FeedsApiFp(this.configuration).index1(paginationRequest, options).then((request) => request(this.axios, this.basePath));
5897
5901
  }
5898
5902
  }
5899
5903
  /**
@@ -6327,15 +6331,15 @@ export const FilterApiAxiosParamCreator = function (configuration) {
6327
6331
  * Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
6328
6332
  * @summary Fetch paginated saved filters
6329
6333
  * @param {string} objectUuid
6330
- * @param {any} body Pagination request details
6334
+ * @param {PaginationRequest} paginationRequest Pagination request details
6331
6335
  * @param {*} [options] Override http request option.
6332
6336
  * @throws {RequiredError}
6333
6337
  */
6334
- getFilters: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
6338
+ getFilters: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
6335
6339
  // verify required parameter 'objectUuid' is not null or undefined
6336
6340
  assertParamExists('getFilters', 'objectUuid', objectUuid);
6337
- // verify required parameter 'body' is not null or undefined
6338
- assertParamExists('getFilters', 'body', body);
6341
+ // verify required parameter 'paginationRequest' is not null or undefined
6342
+ assertParamExists('getFilters', 'paginationRequest', paginationRequest);
6339
6343
  const localVarPath = `/api/v2/filters/index/{objectUuid}`
6340
6344
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
6341
6345
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -6355,7 +6359,7 @@ export const FilterApiAxiosParamCreator = function (configuration) {
6355
6359
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6356
6360
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6357
6361
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6358
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
6362
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
6359
6363
  return {
6360
6364
  url: toPathString(localVarUrlObj),
6361
6365
  options: localVarRequestOptions,
@@ -6459,14 +6463,14 @@ export const FilterApiFp = function (configuration) {
6459
6463
  * Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
6460
6464
  * @summary Fetch paginated saved filters
6461
6465
  * @param {string} objectUuid
6462
- * @param {any} body Pagination request details
6466
+ * @param {PaginationRequest} paginationRequest Pagination request details
6463
6467
  * @param {*} [options] Override http request option.
6464
6468
  * @throws {RequiredError}
6465
6469
  */
6466
- getFilters(objectUuid, body, options) {
6470
+ getFilters(objectUuid, paginationRequest, options) {
6467
6471
  return __awaiter(this, void 0, void 0, function* () {
6468
6472
  var _a, _b, _c;
6469
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilters(objectUuid, body, options);
6473
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilters(objectUuid, paginationRequest, options);
6470
6474
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6471
6475
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilterApi.getFilters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6472
6476
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6531,12 +6535,12 @@ export const FilterApiFactory = function (configuration, basePath, axios) {
6531
6535
  * Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
6532
6536
  * @summary Fetch paginated saved filters
6533
6537
  * @param {string} objectUuid
6534
- * @param {any} body Pagination request details
6538
+ * @param {PaginationRequest} paginationRequest Pagination request details
6535
6539
  * @param {*} [options] Override http request option.
6536
6540
  * @throws {RequiredError}
6537
6541
  */
6538
- getFilters(objectUuid, body, options) {
6539
- return localVarFp.getFilters(objectUuid, body, options).then((request) => request(axios, basePath));
6542
+ getFilters(objectUuid, paginationRequest, options) {
6543
+ return localVarFp.getFilters(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
6540
6544
  },
6541
6545
  /**
6542
6546
  * Updates an existing saved filter identified by its UUID.
@@ -6589,12 +6593,12 @@ export class FilterApi extends BaseAPI {
6589
6593
  * Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
6590
6594
  * @summary Fetch paginated saved filters
6591
6595
  * @param {string} objectUuid
6592
- * @param {any} body Pagination request details
6596
+ * @param {PaginationRequest} paginationRequest Pagination request details
6593
6597
  * @param {*} [options] Override http request option.
6594
6598
  * @throws {RequiredError}
6595
6599
  */
6596
- getFilters(objectUuid, body, options) {
6597
- return FilterApiFp(this.configuration).getFilters(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
6600
+ getFilters(objectUuid, paginationRequest, options) {
6601
+ return FilterApiFp(this.configuration).getFilters(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
6598
6602
  }
6599
6603
  /**
6600
6604
  * Updates an existing saved filter identified by its UUID.
@@ -6649,7 +6653,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6649
6653
  // http bearer authentication required
6650
6654
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6651
6655
  localVarHeaderParameter['Content-Type'] = 'application/json';
6652
- localVarHeaderParameter['Accept'] = '*/*';
6656
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
6653
6657
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6654
6658
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6655
6659
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6695,7 +6699,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6695
6699
  // http bearer authentication required
6696
6700
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6697
6701
  localVarHeaderParameter['Content-Type'] = 'application/json';
6698
- localVarHeaderParameter['Accept'] = '*/*';
6702
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
6699
6703
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6700
6704
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6701
6705
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6763,7 +6767,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6763
6767
  // authentication bearerAuth required
6764
6768
  // http bearer authentication required
6765
6769
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6766
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
6770
+ localVarHeaderParameter['Accept'] = 'application/json';
6767
6771
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6768
6772
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6769
6773
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6833,7 +6837,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6833
6837
  // authentication bearerAuth required
6834
6838
  // http bearer authentication required
6835
6839
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6836
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
6840
+ localVarHeaderParameter['Accept'] = 'application/json';
6837
6841
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6838
6842
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6839
6843
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6845,13 +6849,13 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6845
6849
  /**
6846
6850
  * Retrieves a paginated list of forms based on the provided filters, sorting, and search query. This endpoint returns a list of FormDTO objects wrapped in a PaginationResponse containing the current page, limit, total count, and the forms data.
6847
6851
  * @summary Get paginated list of forms
6848
- * @param {any} body
6852
+ * @param {PaginationRequest} paginationRequest
6849
6853
  * @param {*} [options] Override http request option.
6850
6854
  * @throws {RequiredError}
6851
6855
  */
6852
- getForms: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
6853
- // verify required parameter 'body' is not null or undefined
6854
- assertParamExists('getForms', 'body', body);
6856
+ getForms: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
6857
+ // verify required parameter 'paginationRequest' is not null or undefined
6858
+ assertParamExists('getForms', 'paginationRequest', paginationRequest);
6855
6859
  const localVarPath = `/api/v2/forms/index`;
6856
6860
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6857
6861
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6870,7 +6874,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6870
6874
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6871
6875
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6872
6876
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6873
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
6877
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
6874
6878
  return {
6875
6879
  url: toPathString(localVarUrlObj),
6876
6880
  options: localVarRequestOptions,
@@ -6880,15 +6884,15 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6880
6884
  * Retrieves a paginated list of forms associated with a specific object UUID. The endpoint uses a custom Cypher query to match forms linked to the object.
6881
6885
  * @summary Get forms by object UUID
6882
6886
  * @param {string} objectUuid UUID of the object to get forms for
6883
- * @param {any} body
6887
+ * @param {PaginationRequest} paginationRequest
6884
6888
  * @param {*} [options] Override http request option.
6885
6889
  * @throws {RequiredError}
6886
6890
  */
6887
- getFormsByObject: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
6891
+ getFormsByObject: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
6888
6892
  // verify required parameter 'objectUuid' is not null or undefined
6889
6893
  assertParamExists('getFormsByObject', 'objectUuid', objectUuid);
6890
- // verify required parameter 'body' is not null or undefined
6891
- assertParamExists('getFormsByObject', 'body', body);
6894
+ // verify required parameter 'paginationRequest' is not null or undefined
6895
+ assertParamExists('getFormsByObject', 'paginationRequest', paginationRequest);
6892
6896
  const localVarPath = `/api/v2/forms/{objectUuid}/index`
6893
6897
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
6894
6898
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -6908,7 +6912,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6908
6912
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6909
6913
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6910
6914
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6911
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
6915
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
6912
6916
  return {
6913
6917
  url: toPathString(localVarUrlObj),
6914
6918
  options: localVarRequestOptions,
@@ -6918,15 +6922,15 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6918
6922
  * When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
6919
6923
  * @summary Get all forms for a company
6920
6924
  * @param {string} companyUuid
6921
- * @param {any} body
6925
+ * @param {PaginationRequest} paginationRequest
6922
6926
  * @param {*} [options] Override http request option.
6923
6927
  * @throws {RequiredError}
6924
6928
  */
6925
- getFormsPublic: (companyUuid_1, body_1, ...args_1) => __awaiter(this, [companyUuid_1, body_1, ...args_1], void 0, function* (companyUuid, body, options = {}) {
6929
+ getFormsPublic: (companyUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [companyUuid_1, paginationRequest_1, ...args_1], void 0, function* (companyUuid, paginationRequest, options = {}) {
6926
6930
  // verify required parameter 'companyUuid' is not null or undefined
6927
6931
  assertParamExists('getFormsPublic', 'companyUuid', companyUuid);
6928
- // verify required parameter 'body' is not null or undefined
6929
- assertParamExists('getFormsPublic', 'body', body);
6932
+ // verify required parameter 'paginationRequest' is not null or undefined
6933
+ assertParamExists('getFormsPublic', 'paginationRequest', paginationRequest);
6930
6934
  const localVarPath = `/api/v2/forms/public/{companyUuid}/index`
6931
6935
  .replace('{companyUuid}', encodeURIComponent(String(companyUuid)));
6932
6936
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -6942,11 +6946,11 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6942
6946
  // http bearer authentication required
6943
6947
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6944
6948
  localVarHeaderParameter['Content-Type'] = 'application/json';
6945
- localVarHeaderParameter['Accept'] = '*/*';
6949
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
6946
6950
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6947
6951
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6948
6952
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6949
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
6953
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
6950
6954
  return {
6951
6955
  url: toPathString(localVarUrlObj),
6952
6956
  options: localVarRequestOptions,
@@ -6986,17 +6990,17 @@ export const FormsApiAxiosParamCreator = function (configuration) {
6986
6990
  * @summary Property options (public)
6987
6991
  * @param {string} propertyUuid
6988
6992
  * @param {string} companyUuid
6989
- * @param {any} body
6993
+ * @param {PaginationRequest} paginationRequest
6990
6994
  * @param {*} [options] Override http request option.
6991
6995
  * @throws {RequiredError}
6992
6996
  */
6993
- getOptions: (propertyUuid_1, companyUuid_1, body_1, ...args_1) => __awaiter(this, [propertyUuid_1, companyUuid_1, body_1, ...args_1], void 0, function* (propertyUuid, companyUuid, body, options = {}) {
6997
+ getOptions: (propertyUuid_1, companyUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [propertyUuid_1, companyUuid_1, paginationRequest_1, ...args_1], void 0, function* (propertyUuid, companyUuid, paginationRequest, options = {}) {
6994
6998
  // verify required parameter 'propertyUuid' is not null or undefined
6995
6999
  assertParamExists('getOptions', 'propertyUuid', propertyUuid);
6996
7000
  // verify required parameter 'companyUuid' is not null or undefined
6997
7001
  assertParamExists('getOptions', 'companyUuid', companyUuid);
6998
- // verify required parameter 'body' is not null or undefined
6999
- assertParamExists('getOptions', 'body', body);
7002
+ // verify required parameter 'paginationRequest' is not null or undefined
7003
+ assertParamExists('getOptions', 'paginationRequest', paginationRequest);
7000
7004
  const localVarPath = `/api/v2/forms/public/{companyUuid}/{propertyUuid}/options`
7001
7005
  .replace('{propertyUuid}', encodeURIComponent(String(propertyUuid)))
7002
7006
  .replace('{companyUuid}', encodeURIComponent(String(companyUuid)));
@@ -7013,11 +7017,11 @@ export const FormsApiAxiosParamCreator = function (configuration) {
7013
7017
  // http bearer authentication required
7014
7018
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7015
7019
  localVarHeaderParameter['Content-Type'] = 'application/json';
7016
- localVarHeaderParameter['Accept'] = '*/*';
7020
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
7017
7021
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7018
7022
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7019
7023
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7020
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
7024
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
7021
7025
  return {
7022
7026
  url: toPathString(localVarUrlObj),
7023
7027
  options: localVarRequestOptions,
@@ -7047,7 +7051,7 @@ export const FormsApiAxiosParamCreator = function (configuration) {
7047
7051
  // authentication bearerAuth required
7048
7052
  // http bearer authentication required
7049
7053
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7050
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
7054
+ localVarHeaderParameter['Accept'] = 'application/json';
7051
7055
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7052
7056
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7053
7057
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7293,14 +7297,14 @@ export const FormsApiFp = function (configuration) {
7293
7297
  /**
7294
7298
  * Retrieves a paginated list of forms based on the provided filters, sorting, and search query. This endpoint returns a list of FormDTO objects wrapped in a PaginationResponse containing the current page, limit, total count, and the forms data.
7295
7299
  * @summary Get paginated list of forms
7296
- * @param {any} body
7300
+ * @param {PaginationRequest} paginationRequest
7297
7301
  * @param {*} [options] Override http request option.
7298
7302
  * @throws {RequiredError}
7299
7303
  */
7300
- getForms(body, options) {
7304
+ getForms(paginationRequest, options) {
7301
7305
  return __awaiter(this, void 0, void 0, function* () {
7302
7306
  var _a, _b, _c;
7303
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getForms(body, options);
7307
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getForms(paginationRequest, options);
7304
7308
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7305
7309
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FormsApi.getForms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7306
7310
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7310,14 +7314,14 @@ export const FormsApiFp = function (configuration) {
7310
7314
  * Retrieves a paginated list of forms associated with a specific object UUID. The endpoint uses a custom Cypher query to match forms linked to the object.
7311
7315
  * @summary Get forms by object UUID
7312
7316
  * @param {string} objectUuid UUID of the object to get forms for
7313
- * @param {any} body
7317
+ * @param {PaginationRequest} paginationRequest
7314
7318
  * @param {*} [options] Override http request option.
7315
7319
  * @throws {RequiredError}
7316
7320
  */
7317
- getFormsByObject(objectUuid, body, options) {
7321
+ getFormsByObject(objectUuid, paginationRequest, options) {
7318
7322
  return __awaiter(this, void 0, void 0, function* () {
7319
7323
  var _a, _b, _c;
7320
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsByObject(objectUuid, body, options);
7324
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsByObject(objectUuid, paginationRequest, options);
7321
7325
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7322
7326
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FormsApi.getFormsByObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7323
7327
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7327,14 +7331,14 @@ export const FormsApiFp = function (configuration) {
7327
7331
  * When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
7328
7332
  * @summary Get all forms for a company
7329
7333
  * @param {string} companyUuid
7330
- * @param {any} body
7334
+ * @param {PaginationRequest} paginationRequest
7331
7335
  * @param {*} [options] Override http request option.
7332
7336
  * @throws {RequiredError}
7333
7337
  */
7334
- getFormsPublic(companyUuid, body, options) {
7338
+ getFormsPublic(companyUuid, paginationRequest, options) {
7335
7339
  return __awaiter(this, void 0, void 0, function* () {
7336
7340
  var _a, _b, _c;
7337
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsPublic(companyUuid, body, options);
7341
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsPublic(companyUuid, paginationRequest, options);
7338
7342
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7339
7343
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FormsApi.getFormsPublic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7340
7344
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7360,14 +7364,14 @@ export const FormsApiFp = function (configuration) {
7360
7364
  * @summary Property options (public)
7361
7365
  * @param {string} propertyUuid
7362
7366
  * @param {string} companyUuid
7363
- * @param {any} body
7367
+ * @param {PaginationRequest} paginationRequest
7364
7368
  * @param {*} [options] Override http request option.
7365
7369
  * @throws {RequiredError}
7366
7370
  */
7367
- getOptions(propertyUuid, companyUuid, body, options) {
7371
+ getOptions(propertyUuid, companyUuid, paginationRequest, options) {
7368
7372
  return __awaiter(this, void 0, void 0, function* () {
7369
7373
  var _a, _b, _c;
7370
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(propertyUuid, companyUuid, body, options);
7374
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(propertyUuid, companyUuid, paginationRequest, options);
7371
7375
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7372
7376
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FormsApi.getOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7373
7377
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7520,34 +7524,34 @@ export const FormsApiFactory = function (configuration, basePath, axios) {
7520
7524
  /**
7521
7525
  * Retrieves a paginated list of forms based on the provided filters, sorting, and search query. This endpoint returns a list of FormDTO objects wrapped in a PaginationResponse containing the current page, limit, total count, and the forms data.
7522
7526
  * @summary Get paginated list of forms
7523
- * @param {any} body
7527
+ * @param {PaginationRequest} paginationRequest
7524
7528
  * @param {*} [options] Override http request option.
7525
7529
  * @throws {RequiredError}
7526
7530
  */
7527
- getForms(body, options) {
7528
- return localVarFp.getForms(body, options).then((request) => request(axios, basePath));
7531
+ getForms(paginationRequest, options) {
7532
+ return localVarFp.getForms(paginationRequest, options).then((request) => request(axios, basePath));
7529
7533
  },
7530
7534
  /**
7531
7535
  * Retrieves a paginated list of forms associated with a specific object UUID. The endpoint uses a custom Cypher query to match forms linked to the object.
7532
7536
  * @summary Get forms by object UUID
7533
7537
  * @param {string} objectUuid UUID of the object to get forms for
7534
- * @param {any} body
7538
+ * @param {PaginationRequest} paginationRequest
7535
7539
  * @param {*} [options] Override http request option.
7536
7540
  * @throws {RequiredError}
7537
7541
  */
7538
- getFormsByObject(objectUuid, body, options) {
7539
- return localVarFp.getFormsByObject(objectUuid, body, options).then((request) => request(axios, basePath));
7542
+ getFormsByObject(objectUuid, paginationRequest, options) {
7543
+ return localVarFp.getFormsByObject(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
7540
7544
  },
7541
7545
  /**
7542
7546
  * When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
7543
7547
  * @summary Get all forms for a company
7544
7548
  * @param {string} companyUuid
7545
- * @param {any} body
7549
+ * @param {PaginationRequest} paginationRequest
7546
7550
  * @param {*} [options] Override http request option.
7547
7551
  * @throws {RequiredError}
7548
7552
  */
7549
- getFormsPublic(companyUuid, body, options) {
7550
- return localVarFp.getFormsPublic(companyUuid, body, options).then((request) => request(axios, basePath));
7553
+ getFormsPublic(companyUuid, paginationRequest, options) {
7554
+ return localVarFp.getFormsPublic(companyUuid, paginationRequest, options).then((request) => request(axios, basePath));
7551
7555
  },
7552
7556
  /**
7553
7557
  * Returns distinct custom objects that have at least one non-deleted form, ordered by object index.
@@ -7563,12 +7567,12 @@ export const FormsApiFactory = function (configuration, basePath, axios) {
7563
7567
  * @summary Property options (public)
7564
7568
  * @param {string} propertyUuid
7565
7569
  * @param {string} companyUuid
7566
- * @param {any} body
7570
+ * @param {PaginationRequest} paginationRequest
7567
7571
  * @param {*} [options] Override http request option.
7568
7572
  * @throws {RequiredError}
7569
7573
  */
7570
- getOptions(propertyUuid, companyUuid, body, options) {
7571
- return localVarFp.getOptions(propertyUuid, companyUuid, body, options).then((request) => request(axios, basePath));
7574
+ getOptions(propertyUuid, companyUuid, paginationRequest, options) {
7575
+ return localVarFp.getOptions(propertyUuid, companyUuid, paginationRequest, options).then((request) => request(axios, basePath));
7572
7576
  },
7573
7577
  /**
7574
7578
  * Restores a previously deleted form identified by its UUID. Returns the restored form wrapped in a RestoreResponse.
@@ -7691,34 +7695,34 @@ export class FormsApi extends BaseAPI {
7691
7695
  /**
7692
7696
  * Retrieves a paginated list of forms based on the provided filters, sorting, and search query. This endpoint returns a list of FormDTO objects wrapped in a PaginationResponse containing the current page, limit, total count, and the forms data.
7693
7697
  * @summary Get paginated list of forms
7694
- * @param {any} body
7698
+ * @param {PaginationRequest} paginationRequest
7695
7699
  * @param {*} [options] Override http request option.
7696
7700
  * @throws {RequiredError}
7697
7701
  */
7698
- getForms(body, options) {
7699
- return FormsApiFp(this.configuration).getForms(body, options).then((request) => request(this.axios, this.basePath));
7702
+ getForms(paginationRequest, options) {
7703
+ return FormsApiFp(this.configuration).getForms(paginationRequest, options).then((request) => request(this.axios, this.basePath));
7700
7704
  }
7701
7705
  /**
7702
7706
  * Retrieves a paginated list of forms associated with a specific object UUID. The endpoint uses a custom Cypher query to match forms linked to the object.
7703
7707
  * @summary Get forms by object UUID
7704
7708
  * @param {string} objectUuid UUID of the object to get forms for
7705
- * @param {any} body
7709
+ * @param {PaginationRequest} paginationRequest
7706
7710
  * @param {*} [options] Override http request option.
7707
7711
  * @throws {RequiredError}
7708
7712
  */
7709
- getFormsByObject(objectUuid, body, options) {
7710
- return FormsApiFp(this.configuration).getFormsByObject(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
7713
+ getFormsByObject(objectUuid, paginationRequest, options) {
7714
+ return FormsApiFp(this.configuration).getFormsByObject(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
7711
7715
  }
7712
7716
  /**
7713
7717
  * When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
7714
7718
  * @summary Get all forms for a company
7715
7719
  * @param {string} companyUuid
7716
- * @param {any} body
7720
+ * @param {PaginationRequest} paginationRequest
7717
7721
  * @param {*} [options] Override http request option.
7718
7722
  * @throws {RequiredError}
7719
7723
  */
7720
- getFormsPublic(companyUuid, body, options) {
7721
- return FormsApiFp(this.configuration).getFormsPublic(companyUuid, body, options).then((request) => request(this.axios, this.basePath));
7724
+ getFormsPublic(companyUuid, paginationRequest, options) {
7725
+ return FormsApiFp(this.configuration).getFormsPublic(companyUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
7722
7726
  }
7723
7727
  /**
7724
7728
  * Returns distinct custom objects that have at least one non-deleted form, ordered by object index.
@@ -7734,12 +7738,12 @@ export class FormsApi extends BaseAPI {
7734
7738
  * @summary Property options (public)
7735
7739
  * @param {string} propertyUuid
7736
7740
  * @param {string} companyUuid
7737
- * @param {any} body
7741
+ * @param {PaginationRequest} paginationRequest
7738
7742
  * @param {*} [options] Override http request option.
7739
7743
  * @throws {RequiredError}
7740
7744
  */
7741
- getOptions(propertyUuid, companyUuid, body, options) {
7742
- return FormsApiFp(this.configuration).getOptions(propertyUuid, companyUuid, body, options).then((request) => request(this.axios, this.basePath));
7745
+ getOptions(propertyUuid, companyUuid, paginationRequest, options) {
7746
+ return FormsApiFp(this.configuration).getOptions(propertyUuid, companyUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
7743
7747
  }
7744
7748
  /**
7745
7749
  * Restores a previously deleted form identified by its UUID. Returns the restored form wrapped in a RestoreResponse.
@@ -7884,7 +7888,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
7884
7888
  // authentication bearerAuth required
7885
7889
  // http bearer authentication required
7886
7890
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7887
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
7891
+ localVarHeaderParameter['Accept'] = 'application/json';
7888
7892
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7889
7893
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7890
7894
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7917,7 +7921,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
7917
7921
  // authentication bearerAuth required
7918
7922
  // http bearer authentication required
7919
7923
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7920
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
7924
+ localVarHeaderParameter['Accept'] = 'application/json';
7921
7925
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7922
7926
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7923
7927
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7950,7 +7954,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
7950
7954
  // authentication bearerAuth required
7951
7955
  // http bearer authentication required
7952
7956
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7953
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
7957
+ localVarHeaderParameter['Accept'] = 'application/json';
7954
7958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7955
7959
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7956
7960
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7962,13 +7966,13 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
7962
7966
  /**
7963
7967
  * Retrieves a paginated list of modules.
7964
7968
  * @summary Fetch paginated modules
7965
- * @param {any} body Pagination details
7969
+ * @param {PaginationRequest} paginationRequest Pagination details
7966
7970
  * @param {*} [options] Override http request option.
7967
7971
  * @throws {RequiredError}
7968
7972
  */
7969
- getModules: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
7970
- // verify required parameter 'body' is not null or undefined
7971
- assertParamExists('getModules', 'body', body);
7973
+ getModules: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
7974
+ // verify required parameter 'paginationRequest' is not null or undefined
7975
+ assertParamExists('getModules', 'paginationRequest', paginationRequest);
7972
7976
  const localVarPath = `/api/v2/modules/index`;
7973
7977
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7974
7978
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7987,7 +7991,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
7987
7991
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7988
7992
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7989
7993
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7990
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
7994
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
7991
7995
  return {
7992
7996
  url: toPathString(localVarUrlObj),
7993
7997
  options: localVarRequestOptions,
@@ -8017,7 +8021,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
8017
8021
  // authentication bearerAuth required
8018
8022
  // http bearer authentication required
8019
8023
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8020
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
8024
+ localVarHeaderParameter['Accept'] = 'application/json';
8021
8025
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8022
8026
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8023
8027
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8029,13 +8033,13 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
8029
8033
  /**
8030
8034
  * Retrieves personal modules for the logged-in user.
8031
8035
  * @summary Fetch paginated personal modules
8032
- * @param {any} body
8036
+ * @param {PaginationRequest} paginationRequest
8033
8037
  * @param {*} [options] Override http request option.
8034
8038
  * @throws {RequiredError}
8035
8039
  */
8036
- getPersonalModules: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
8037
- // verify required parameter 'body' is not null or undefined
8038
- assertParamExists('getPersonalModules', 'body', body);
8040
+ getPersonalModules: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
8041
+ // verify required parameter 'paginationRequest' is not null or undefined
8042
+ assertParamExists('getPersonalModules', 'paginationRequest', paginationRequest);
8039
8043
  const localVarPath = `/api/v2/modules/personal/index`;
8040
8044
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8041
8045
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8054,7 +8058,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
8054
8058
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8055
8059
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8056
8060
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8057
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
8061
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
8058
8062
  return {
8059
8063
  url: toPathString(localVarUrlObj),
8060
8064
  options: localVarRequestOptions,
@@ -8126,7 +8130,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
8126
8130
  // http bearer authentication required
8127
8131
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8128
8132
  localVarHeaderParameter['Content-Type'] = 'application/json';
8129
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
8133
+ localVarHeaderParameter['Accept'] = 'application/json';
8130
8134
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8131
8135
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8132
8136
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8227,14 +8231,14 @@ export const ModuleApiFp = function (configuration) {
8227
8231
  /**
8228
8232
  * Retrieves a paginated list of modules.
8229
8233
  * @summary Fetch paginated modules
8230
- * @param {any} body Pagination details
8234
+ * @param {PaginationRequest} paginationRequest Pagination details
8231
8235
  * @param {*} [options] Override http request option.
8232
8236
  * @throws {RequiredError}
8233
8237
  */
8234
- getModules(body, options) {
8238
+ getModules(paginationRequest, options) {
8235
8239
  return __awaiter(this, void 0, void 0, function* () {
8236
8240
  var _a, _b, _c;
8237
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getModules(body, options);
8241
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getModules(paginationRequest, options);
8238
8242
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8239
8243
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ModuleApi.getModules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8240
8244
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8259,14 +8263,14 @@ export const ModuleApiFp = function (configuration) {
8259
8263
  /**
8260
8264
  * Retrieves personal modules for the logged-in user.
8261
8265
  * @summary Fetch paginated personal modules
8262
- * @param {any} body
8266
+ * @param {PaginationRequest} paginationRequest
8263
8267
  * @param {*} [options] Override http request option.
8264
8268
  * @throws {RequiredError}
8265
8269
  */
8266
- getPersonalModules(body, options) {
8270
+ getPersonalModules(paginationRequest, options) {
8267
8271
  return __awaiter(this, void 0, void 0, function* () {
8268
8272
  var _a, _b, _c;
8269
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonalModules(body, options);
8273
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonalModules(paginationRequest, options);
8270
8274
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8271
8275
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ModuleApi.getPersonalModules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8272
8276
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8367,12 +8371,12 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
8367
8371
  /**
8368
8372
  * Retrieves a paginated list of modules.
8369
8373
  * @summary Fetch paginated modules
8370
- * @param {any} body Pagination details
8374
+ * @param {PaginationRequest} paginationRequest Pagination details
8371
8375
  * @param {*} [options] Override http request option.
8372
8376
  * @throws {RequiredError}
8373
8377
  */
8374
- getModules(body, options) {
8375
- return localVarFp.getModules(body, options).then((request) => request(axios, basePath));
8378
+ getModules(paginationRequest, options) {
8379
+ return localVarFp.getModules(paginationRequest, options).then((request) => request(axios, basePath));
8376
8380
  },
8377
8381
  /**
8378
8382
  * Retrieves a personal module by UUID for the logged-in user.
@@ -8387,12 +8391,12 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
8387
8391
  /**
8388
8392
  * Retrieves personal modules for the logged-in user.
8389
8393
  * @summary Fetch paginated personal modules
8390
- * @param {any} body
8394
+ * @param {PaginationRequest} paginationRequest
8391
8395
  * @param {*} [options] Override http request option.
8392
8396
  * @throws {RequiredError}
8393
8397
  */
8394
- getPersonalModules(body, options) {
8395
- return localVarFp.getPersonalModules(body, options).then((request) => request(axios, basePath));
8398
+ getPersonalModules(paginationRequest, options) {
8399
+ return localVarFp.getPersonalModules(paginationRequest, options).then((request) => request(axios, basePath));
8396
8400
  },
8397
8401
  /**
8398
8402
  * Updates the details of an existing module.
@@ -8475,12 +8479,12 @@ export class ModuleApi extends BaseAPI {
8475
8479
  /**
8476
8480
  * Retrieves a paginated list of modules.
8477
8481
  * @summary Fetch paginated modules
8478
- * @param {any} body Pagination details
8482
+ * @param {PaginationRequest} paginationRequest Pagination details
8479
8483
  * @param {*} [options] Override http request option.
8480
8484
  * @throws {RequiredError}
8481
8485
  */
8482
- getModules(body, options) {
8483
- return ModuleApiFp(this.configuration).getModules(body, options).then((request) => request(this.axios, this.basePath));
8486
+ getModules(paginationRequest, options) {
8487
+ return ModuleApiFp(this.configuration).getModules(paginationRequest, options).then((request) => request(this.axios, this.basePath));
8484
8488
  }
8485
8489
  /**
8486
8490
  * Retrieves a personal module by UUID for the logged-in user.
@@ -8495,12 +8499,12 @@ export class ModuleApi extends BaseAPI {
8495
8499
  /**
8496
8500
  * Retrieves personal modules for the logged-in user.
8497
8501
  * @summary Fetch paginated personal modules
8498
- * @param {any} body
8502
+ * @param {PaginationRequest} paginationRequest
8499
8503
  * @param {*} [options] Override http request option.
8500
8504
  * @throws {RequiredError}
8501
8505
  */
8502
- getPersonalModules(body, options) {
8503
- return ModuleApiFp(this.configuration).getPersonalModules(body, options).then((request) => request(this.axios, this.basePath));
8506
+ getPersonalModules(paginationRequest, options) {
8507
+ return ModuleApiFp(this.configuration).getPersonalModules(paginationRequest, options).then((request) => request(this.axios, this.basePath));
8504
8508
  }
8505
8509
  /**
8506
8510
  * Updates the details of an existing module.
@@ -8898,7 +8902,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
8898
8902
  // authentication bearerAuth required
8899
8903
  // http bearer authentication required
8900
8904
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8901
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
8905
+ localVarHeaderParameter['Accept'] = 'application/json';
8902
8906
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8903
8907
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8904
8908
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8972,7 +8976,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
8972
8976
  if (relations !== undefined) {
8973
8977
  localVarQueryParameter['relations'] = relations;
8974
8978
  }
8975
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
8979
+ localVarHeaderParameter['Accept'] = 'application/json';
8976
8980
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8977
8981
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8978
8982
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8984,16 +8988,16 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
8984
8988
  /**
8985
8989
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
8986
8990
  * @summary Fetch paginated objects
8987
- * @param {any} body Pagination request details
8991
+ * @param {PaginationRequest} paginationRequest Pagination request details
8988
8992
  * @param {string} [views]
8989
8993
  * @param {string} [properties]
8990
8994
  * @param {string} [relations]
8991
8995
  * @param {*} [options] Override http request option.
8992
8996
  * @throws {RequiredError}
8993
8997
  */
8994
- getObjects: (body_1, views_1, properties_1, relations_1, ...args_1) => __awaiter(this, [body_1, views_1, properties_1, relations_1, ...args_1], void 0, function* (body, views, properties, relations, options = {}) {
8995
- // verify required parameter 'body' is not null or undefined
8996
- assertParamExists('getObjects', 'body', body);
8998
+ getObjects: (paginationRequest_1, views_1, properties_1, relations_1, ...args_1) => __awaiter(this, [paginationRequest_1, views_1, properties_1, relations_1, ...args_1], void 0, function* (paginationRequest, views, properties, relations, options = {}) {
8999
+ // verify required parameter 'paginationRequest' is not null or undefined
9000
+ assertParamExists('getObjects', 'paginationRequest', paginationRequest);
8997
9001
  const localVarPath = `/api/v2/objects/index`;
8998
9002
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8999
9003
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9021,7 +9025,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9021
9025
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9022
9026
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9023
9027
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9024
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
9028
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
9025
9029
  return {
9026
9030
  url: toPathString(localVarUrlObj),
9027
9031
  options: localVarRequestOptions,
@@ -9067,13 +9071,13 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9067
9071
  /**
9068
9072
  * Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
9069
9073
  * @summary Get all previews over all objects
9070
- * @param {any} body
9074
+ * @param {PaginationRequest} paginationRequest
9071
9075
  * @param {*} [options] Override http request option.
9072
9076
  * @throws {RequiredError}
9073
9077
  */
9074
- getPreviews: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
9075
- // verify required parameter 'body' is not null or undefined
9076
- assertParamExists('getPreviews', 'body', body);
9078
+ getPreviews: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
9079
+ // verify required parameter 'paginationRequest' is not null or undefined
9080
+ assertParamExists('getPreviews', 'paginationRequest', paginationRequest);
9077
9081
  const localVarPath = `/api/v2/objects/previews`;
9078
9082
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9079
9083
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9092,7 +9096,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9092
9096
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9093
9097
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9094
9098
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9095
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
9099
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
9096
9100
  return {
9097
9101
  url: toPathString(localVarUrlObj),
9098
9102
  options: localVarRequestOptions,
@@ -9272,7 +9276,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9272
9276
  // authentication bearerAuth required
9273
9277
  // http bearer authentication required
9274
9278
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9275
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
9279
+ localVarHeaderParameter['Accept'] = 'application/json';
9276
9280
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9277
9281
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9278
9282
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9284,16 +9288,16 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9284
9288
  /**
9285
9289
  * Updates indices of objects based on the provided mapping. The request body should contain a mapping of object UUIDs to index values. Optional request parameters determine if views, properties, and relations should be included in the response.
9286
9290
  * @summary Update object indices
9287
- * @param {string} body Mapping of object indices
9291
+ * @param {{ [key: string]: number; }} requestBody Mapping of object indices
9288
9292
  * @param {string} [views]
9289
9293
  * @param {string} [properties]
9290
9294
  * @param {string} [relations]
9291
9295
  * @param {*} [options] Override http request option.
9292
9296
  * @throws {RequiredError}
9293
9297
  */
9294
- updateIndices3: (body_1, views_1, properties_1, relations_1, ...args_1) => __awaiter(this, [body_1, views_1, properties_1, relations_1, ...args_1], void 0, function* (body, views, properties, relations, options = {}) {
9295
- // verify required parameter 'body' is not null or undefined
9296
- assertParamExists('updateIndices3', 'body', body);
9298
+ updateIndices3: (requestBody_1, views_1, properties_1, relations_1, ...args_1) => __awaiter(this, [requestBody_1, views_1, properties_1, relations_1, ...args_1], void 0, function* (requestBody, views, properties, relations, options = {}) {
9299
+ // verify required parameter 'requestBody' is not null or undefined
9300
+ assertParamExists('updateIndices3', 'requestBody', requestBody);
9297
9301
  const localVarPath = `/api/v2/objects/updateIndices`;
9298
9302
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9299
9303
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9321,7 +9325,7 @@ export const ObjectsApiAxiosParamCreator = function (configuration) {
9321
9325
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9322
9326
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9323
9327
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9324
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
9328
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
9325
9329
  return {
9326
9330
  url: toPathString(localVarUrlObj),
9327
9331
  options: localVarRequestOptions,
@@ -9495,17 +9499,17 @@ export const ObjectsApiFp = function (configuration) {
9495
9499
  /**
9496
9500
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
9497
9501
  * @summary Fetch paginated objects
9498
- * @param {any} body Pagination request details
9502
+ * @param {PaginationRequest} paginationRequest Pagination request details
9499
9503
  * @param {string} [views]
9500
9504
  * @param {string} [properties]
9501
9505
  * @param {string} [relations]
9502
9506
  * @param {*} [options] Override http request option.
9503
9507
  * @throws {RequiredError}
9504
9508
  */
9505
- getObjects(body, views, properties, relations, options) {
9509
+ getObjects(paginationRequest, views, properties, relations, options) {
9506
9510
  return __awaiter(this, void 0, void 0, function* () {
9507
9511
  var _a, _b, _c;
9508
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjects(body, views, properties, relations, options);
9512
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjects(paginationRequest, views, properties, relations, options);
9509
9513
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9510
9514
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ObjectsApi.getObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9511
9515
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9531,14 +9535,14 @@ export const ObjectsApiFp = function (configuration) {
9531
9535
  /**
9532
9536
  * Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
9533
9537
  * @summary Get all previews over all objects
9534
- * @param {any} body
9538
+ * @param {PaginationRequest} paginationRequest
9535
9539
  * @param {*} [options] Override http request option.
9536
9540
  * @throws {RequiredError}
9537
9541
  */
9538
- getPreviews(body, options) {
9542
+ getPreviews(paginationRequest, options) {
9539
9543
  return __awaiter(this, void 0, void 0, function* () {
9540
9544
  var _a, _b, _c;
9541
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreviews(body, options);
9545
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreviews(paginationRequest, options);
9542
9546
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9543
9547
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ObjectsApi.getPreviews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9544
9548
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9631,17 +9635,17 @@ export const ObjectsApiFp = function (configuration) {
9631
9635
  /**
9632
9636
  * Updates indices of objects based on the provided mapping. The request body should contain a mapping of object UUIDs to index values. Optional request parameters determine if views, properties, and relations should be included in the response.
9633
9637
  * @summary Update object indices
9634
- * @param {string} body Mapping of object indices
9638
+ * @param {{ [key: string]: number; }} requestBody Mapping of object indices
9635
9639
  * @param {string} [views]
9636
9640
  * @param {string} [properties]
9637
9641
  * @param {string} [relations]
9638
9642
  * @param {*} [options] Override http request option.
9639
9643
  * @throws {RequiredError}
9640
9644
  */
9641
- updateIndices3(body, views, properties, relations, options) {
9645
+ updateIndices3(requestBody, views, properties, relations, options) {
9642
9646
  return __awaiter(this, void 0, void 0, function* () {
9643
9647
  var _a, _b, _c;
9644
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices3(body, views, properties, relations, options);
9648
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices3(requestBody, views, properties, relations, options);
9645
9649
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9646
9650
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ObjectsApi.updateIndices3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9647
9651
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9740,15 +9744,15 @@ export const ObjectsApiFactory = function (configuration, basePath, axios) {
9740
9744
  /**
9741
9745
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
9742
9746
  * @summary Fetch paginated objects
9743
- * @param {any} body Pagination request details
9747
+ * @param {PaginationRequest} paginationRequest Pagination request details
9744
9748
  * @param {string} [views]
9745
9749
  * @param {string} [properties]
9746
9750
  * @param {string} [relations]
9747
9751
  * @param {*} [options] Override http request option.
9748
9752
  * @throws {RequiredError}
9749
9753
  */
9750
- getObjects(body, views, properties, relations, options) {
9751
- return localVarFp.getObjects(body, views, properties, relations, options).then((request) => request(axios, basePath));
9754
+ getObjects(paginationRequest, views, properties, relations, options) {
9755
+ return localVarFp.getObjects(paginationRequest, views, properties, relations, options).then((request) => request(axios, basePath));
9752
9756
  },
9753
9757
  /**
9754
9758
  * Fetches a preview for an object by the object\'s UUID and the preview name. Returns the preview data wrapped in a ShowResponse.
@@ -9764,12 +9768,12 @@ export const ObjectsApiFactory = function (configuration, basePath, axios) {
9764
9768
  /**
9765
9769
  * Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
9766
9770
  * @summary Get all previews over all objects
9767
- * @param {any} body
9771
+ * @param {PaginationRequest} paginationRequest
9768
9772
  * @param {*} [options] Override http request option.
9769
9773
  * @throws {RequiredError}
9770
9774
  */
9771
- getPreviews(body, options) {
9772
- return localVarFp.getPreviews(body, options).then((request) => request(axios, basePath));
9775
+ getPreviews(paginationRequest, options) {
9776
+ return localVarFp.getPreviews(paginationRequest, options).then((request) => request(axios, basePath));
9773
9777
  },
9774
9778
  /**
9775
9779
  * Fetches all previews associated with a specific object. Returns a PaginationResponse containing a list of preview DTOs.
@@ -9828,15 +9832,15 @@ export const ObjectsApiFactory = function (configuration, basePath, axios) {
9828
9832
  /**
9829
9833
  * Updates indices of objects based on the provided mapping. The request body should contain a mapping of object UUIDs to index values. Optional request parameters determine if views, properties, and relations should be included in the response.
9830
9834
  * @summary Update object indices
9831
- * @param {string} body Mapping of object indices
9835
+ * @param {{ [key: string]: number; }} requestBody Mapping of object indices
9832
9836
  * @param {string} [views]
9833
9837
  * @param {string} [properties]
9834
9838
  * @param {string} [relations]
9835
9839
  * @param {*} [options] Override http request option.
9836
9840
  * @throws {RequiredError}
9837
9841
  */
9838
- updateIndices3(body, views, properties, relations, options) {
9839
- return localVarFp.updateIndices3(body, views, properties, relations, options).then((request) => request(axios, basePath));
9842
+ updateIndices3(requestBody, views, properties, relations, options) {
9843
+ return localVarFp.updateIndices3(requestBody, views, properties, relations, options).then((request) => request(axios, basePath));
9840
9844
  },
9841
9845
  /**
9842
9846
  * Sets which properties on this object should generate lifecycle history records when their values change.
@@ -9917,15 +9921,15 @@ export class ObjectsApi extends BaseAPI {
9917
9921
  /**
9918
9922
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
9919
9923
  * @summary Fetch paginated objects
9920
- * @param {any} body Pagination request details
9924
+ * @param {PaginationRequest} paginationRequest Pagination request details
9921
9925
  * @param {string} [views]
9922
9926
  * @param {string} [properties]
9923
9927
  * @param {string} [relations]
9924
9928
  * @param {*} [options] Override http request option.
9925
9929
  * @throws {RequiredError}
9926
9930
  */
9927
- getObjects(body, views, properties, relations, options) {
9928
- return ObjectsApiFp(this.configuration).getObjects(body, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
9931
+ getObjects(paginationRequest, views, properties, relations, options) {
9932
+ return ObjectsApiFp(this.configuration).getObjects(paginationRequest, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
9929
9933
  }
9930
9934
  /**
9931
9935
  * Fetches a preview for an object by the object\'s UUID and the preview name. Returns the preview data wrapped in a ShowResponse.
@@ -9941,12 +9945,12 @@ export class ObjectsApi extends BaseAPI {
9941
9945
  /**
9942
9946
  * Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
9943
9947
  * @summary Get all previews over all objects
9944
- * @param {any} body
9948
+ * @param {PaginationRequest} paginationRequest
9945
9949
  * @param {*} [options] Override http request option.
9946
9950
  * @throws {RequiredError}
9947
9951
  */
9948
- getPreviews(body, options) {
9949
- return ObjectsApiFp(this.configuration).getPreviews(body, options).then((request) => request(this.axios, this.basePath));
9952
+ getPreviews(paginationRequest, options) {
9953
+ return ObjectsApiFp(this.configuration).getPreviews(paginationRequest, options).then((request) => request(this.axios, this.basePath));
9950
9954
  }
9951
9955
  /**
9952
9956
  * Fetches all previews associated with a specific object. Returns a PaginationResponse containing a list of preview DTOs.
@@ -10005,15 +10009,15 @@ export class ObjectsApi extends BaseAPI {
10005
10009
  /**
10006
10010
  * Updates indices of objects based on the provided mapping. The request body should contain a mapping of object UUIDs to index values. Optional request parameters determine if views, properties, and relations should be included in the response.
10007
10011
  * @summary Update object indices
10008
- * @param {string} body Mapping of object indices
10012
+ * @param {{ [key: string]: number; }} requestBody Mapping of object indices
10009
10013
  * @param {string} [views]
10010
10014
  * @param {string} [properties]
10011
10015
  * @param {string} [relations]
10012
10016
  * @param {*} [options] Override http request option.
10013
10017
  * @throws {RequiredError}
10014
10018
  */
10015
- updateIndices3(body, views, properties, relations, options) {
10016
- return ObjectsApiFp(this.configuration).updateIndices3(body, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
10019
+ updateIndices3(requestBody, views, properties, relations, options) {
10020
+ return ObjectsApiFp(this.configuration).updateIndices3(requestBody, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
10017
10021
  }
10018
10022
  /**
10019
10023
  * Sets which properties on this object should generate lifecycle history records when their values change.
@@ -10150,7 +10154,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10150
10154
  // authentication bearerAuth required
10151
10155
  // http bearer authentication required
10152
10156
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10153
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10157
+ localVarHeaderParameter['Accept'] = 'application/json';
10154
10158
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10155
10159
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10156
10160
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10183,7 +10187,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10183
10187
  // authentication bearerAuth required
10184
10188
  // http bearer authentication required
10185
10189
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10186
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10190
+ localVarHeaderParameter['Accept'] = 'application/json';
10187
10191
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10188
10192
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10189
10193
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10216,7 +10220,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10216
10220
  // authentication bearerAuth required
10217
10221
  // http bearer authentication required
10218
10222
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10219
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10223
+ localVarHeaderParameter['Accept'] = 'application/json';
10220
10224
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10221
10225
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10222
10226
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10229,15 +10233,15 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10229
10233
  * Retrieves a paginated list of properties for a given object. Depending on the object UUID format, a Cypher query is constructed to filter properties belonging to that object. Returns a PaginationResponse containing PropertyDTO objects.
10230
10234
  * @summary Fetch paginated properties
10231
10235
  * @param {string} objectUuid
10232
- * @param {any} body Pagination details (limit, page, filters, sort, query)
10236
+ * @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
10233
10237
  * @param {*} [options] Override http request option.
10234
10238
  * @throws {RequiredError}
10235
10239
  */
10236
- getProperties: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
10240
+ getProperties: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
10237
10241
  // verify required parameter 'objectUuid' is not null or undefined
10238
10242
  assertParamExists('getProperties', 'objectUuid', objectUuid);
10239
- // verify required parameter 'body' is not null or undefined
10240
- assertParamExists('getProperties', 'body', body);
10243
+ // verify required parameter 'paginationRequest' is not null or undefined
10244
+ assertParamExists('getProperties', 'paginationRequest', paginationRequest);
10241
10245
  const localVarPath = `/api/v2/objects/{objectUuid}/properties/index`
10242
10246
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
10243
10247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10257,7 +10261,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10257
10261
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10258
10262
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10259
10263
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10260
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
10264
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
10261
10265
  return {
10262
10266
  url: toPathString(localVarUrlObj),
10263
10267
  options: localVarRequestOptions,
@@ -10291,7 +10295,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10291
10295
  // authentication bearerAuth required
10292
10296
  // http bearer authentication required
10293
10297
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10294
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10298
+ localVarHeaderParameter['Accept'] = 'application/json';
10295
10299
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10296
10300
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10297
10301
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10328,7 +10332,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10328
10332
  // authentication bearerAuth required
10329
10333
  // http bearer authentication required
10330
10334
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10331
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10335
+ localVarHeaderParameter['Accept'] = 'application/json';
10332
10336
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10333
10337
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10334
10338
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10402,7 +10406,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10402
10406
  // authentication bearerAuth required
10403
10407
  // http bearer authentication required
10404
10408
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10405
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10409
+ localVarHeaderParameter['Accept'] = 'application/json';
10406
10410
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10407
10411
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10408
10412
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10439,7 +10443,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10439
10443
  // authentication bearerAuth required
10440
10444
  // http bearer authentication required
10441
10445
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10442
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10446
+ localVarHeaderParameter['Accept'] = 'application/json';
10443
10447
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10444
10448
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10445
10449
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10476,7 +10480,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10476
10480
  // authentication bearerAuth required
10477
10481
  // http bearer authentication required
10478
10482
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10479
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
10483
+ localVarHeaderParameter['Accept'] = 'application/json';
10480
10484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10481
10485
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10482
10486
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -10489,15 +10493,15 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10489
10493
  * Updates the indices for properties of a specific object. The request body should contain a mapping between property UUIDs and their new index values. Returns a SuccessResponse containing a list of updated PropertyDTO objects.
10490
10494
  * @summary Update property indices
10491
10495
  * @param {string} objectUuid
10492
- * @param {string} body Mapping of property UUIDs to new index values
10496
+ * @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
10493
10497
  * @param {*} [options] Override http request option.
10494
10498
  * @throws {RequiredError}
10495
10499
  */
10496
- updateIndices2: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
10500
+ updateIndices2: (objectUuid_1, requestBody_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, ...args_1], void 0, function* (objectUuid, requestBody, options = {}) {
10497
10501
  // verify required parameter 'objectUuid' is not null or undefined
10498
10502
  assertParamExists('updateIndices2', 'objectUuid', objectUuid);
10499
- // verify required parameter 'body' is not null or undefined
10500
- assertParamExists('updateIndices2', 'body', body);
10503
+ // verify required parameter 'requestBody' is not null or undefined
10504
+ assertParamExists('updateIndices2', 'requestBody', requestBody);
10501
10505
  const localVarPath = `/api/v2/objects/{objectUuid}/properties/updateIndices`
10502
10506
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
10503
10507
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10517,7 +10521,7 @@ export const PropertyApiAxiosParamCreator = function (configuration) {
10517
10521
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10518
10522
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10519
10523
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10520
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
10524
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
10521
10525
  return {
10522
10526
  url: toPathString(localVarUrlObj),
10523
10527
  options: localVarRequestOptions,
@@ -10660,14 +10664,14 @@ export const PropertyApiFp = function (configuration) {
10660
10664
  * Retrieves a paginated list of properties for a given object. Depending on the object UUID format, a Cypher query is constructed to filter properties belonging to that object. Returns a PaginationResponse containing PropertyDTO objects.
10661
10665
  * @summary Fetch paginated properties
10662
10666
  * @param {string} objectUuid
10663
- * @param {any} body Pagination details (limit, page, filters, sort, query)
10667
+ * @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
10664
10668
  * @param {*} [options] Override http request option.
10665
10669
  * @throws {RequiredError}
10666
10670
  */
10667
- getProperties(objectUuid, body, options) {
10671
+ getProperties(objectUuid, paginationRequest, options) {
10668
10672
  return __awaiter(this, void 0, void 0, function* () {
10669
10673
  var _a, _b, _c;
10670
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getProperties(objectUuid, body, options);
10674
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProperties(objectUuid, paginationRequest, options);
10671
10675
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10672
10676
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PropertyApi.getProperties']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10673
10677
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10779,14 +10783,14 @@ export const PropertyApiFp = function (configuration) {
10779
10783
  * Updates the indices for properties of a specific object. The request body should contain a mapping between property UUIDs and their new index values. Returns a SuccessResponse containing a list of updated PropertyDTO objects.
10780
10784
  * @summary Update property indices
10781
10785
  * @param {string} objectUuid
10782
- * @param {string} body Mapping of property UUIDs to new index values
10786
+ * @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
10783
10787
  * @param {*} [options] Override http request option.
10784
10788
  * @throws {RequiredError}
10785
10789
  */
10786
- updateIndices2(objectUuid, body, options) {
10790
+ updateIndices2(objectUuid, requestBody, options) {
10787
10791
  return __awaiter(this, void 0, void 0, function* () {
10788
10792
  var _a, _b, _c;
10789
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices2(objectUuid, body, options);
10793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices2(objectUuid, requestBody, options);
10790
10794
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10791
10795
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PropertyApi.updateIndices2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10792
10796
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10875,12 +10879,12 @@ export const PropertyApiFactory = function (configuration, basePath, axios) {
10875
10879
  * Retrieves a paginated list of properties for a given object. Depending on the object UUID format, a Cypher query is constructed to filter properties belonging to that object. Returns a PaginationResponse containing PropertyDTO objects.
10876
10880
  * @summary Fetch paginated properties
10877
10881
  * @param {string} objectUuid
10878
- * @param {any} body Pagination details (limit, page, filters, sort, query)
10882
+ * @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
10879
10883
  * @param {*} [options] Override http request option.
10880
10884
  * @throws {RequiredError}
10881
10885
  */
10882
- getProperties(objectUuid, body, options) {
10883
- return localVarFp.getProperties(objectUuid, body, options).then((request) => request(axios, basePath));
10886
+ getProperties(objectUuid, paginationRequest, options) {
10887
+ return localVarFp.getProperties(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
10884
10888
  },
10885
10889
  /**
10886
10890
  * Retrieves details of a property by its UUID and associates it with its parent object. Returns a ShowResponse containing a PropertyDTO object with complete property details.
@@ -10952,12 +10956,12 @@ export const PropertyApiFactory = function (configuration, basePath, axios) {
10952
10956
  * Updates the indices for properties of a specific object. The request body should contain a mapping between property UUIDs and their new index values. Returns a SuccessResponse containing a list of updated PropertyDTO objects.
10953
10957
  * @summary Update property indices
10954
10958
  * @param {string} objectUuid
10955
- * @param {string} body Mapping of property UUIDs to new index values
10959
+ * @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
10956
10960
  * @param {*} [options] Override http request option.
10957
10961
  * @throws {RequiredError}
10958
10962
  */
10959
- updateIndices2(objectUuid, body, options) {
10960
- return localVarFp.updateIndices2(objectUuid, body, options).then((request) => request(axios, basePath));
10963
+ updateIndices2(objectUuid, requestBody, options) {
10964
+ return localVarFp.updateIndices2(objectUuid, requestBody, options).then((request) => request(axios, basePath));
10961
10965
  },
10962
10966
  /**
10963
10967
  * Updates the details of an existing property for a specific object. The property details are provided via SavePropertyDTO, and the property is identified by its UUID. Returns an UpdateResponse containing the updated property as a PropertyDTO. Validation rules: name (required, must be unique, must be lowercase, must match name pattern (lowercase letters, numbers, underscores), cannot be changed after creation), label (required), description (maximum 255 characters), type (required, must be one of valid PropertyTypes, cannot be changed after creation), format (required, must be one of valid PropertyFormats, cannot be changed after creation), rules (required, must be an array of string).
@@ -11034,12 +11038,12 @@ export class PropertyApi extends BaseAPI {
11034
11038
  * Retrieves a paginated list of properties for a given object. Depending on the object UUID format, a Cypher query is constructed to filter properties belonging to that object. Returns a PaginationResponse containing PropertyDTO objects.
11035
11039
  * @summary Fetch paginated properties
11036
11040
  * @param {string} objectUuid
11037
- * @param {any} body Pagination details (limit, page, filters, sort, query)
11041
+ * @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
11038
11042
  * @param {*} [options] Override http request option.
11039
11043
  * @throws {RequiredError}
11040
11044
  */
11041
- getProperties(objectUuid, body, options) {
11042
- return PropertyApiFp(this.configuration).getProperties(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
11045
+ getProperties(objectUuid, paginationRequest, options) {
11046
+ return PropertyApiFp(this.configuration).getProperties(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
11043
11047
  }
11044
11048
  /**
11045
11049
  * Retrieves details of a property by its UUID and associates it with its parent object. Returns a ShowResponse containing a PropertyDTO object with complete property details.
@@ -11111,12 +11115,12 @@ export class PropertyApi extends BaseAPI {
11111
11115
  * Updates the indices for properties of a specific object. The request body should contain a mapping between property UUIDs and their new index values. Returns a SuccessResponse containing a list of updated PropertyDTO objects.
11112
11116
  * @summary Update property indices
11113
11117
  * @param {string} objectUuid
11114
- * @param {string} body Mapping of property UUIDs to new index values
11118
+ * @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
11115
11119
  * @param {*} [options] Override http request option.
11116
11120
  * @throws {RequiredError}
11117
11121
  */
11118
- updateIndices2(objectUuid, body, options) {
11119
- return PropertyApiFp(this.configuration).updateIndices2(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
11122
+ updateIndices2(objectUuid, requestBody, options) {
11123
+ return PropertyApiFp(this.configuration).updateIndices2(objectUuid, requestBody, options).then((request) => request(this.axios, this.basePath));
11120
11124
  }
11121
11125
  /**
11122
11126
  * Updates the details of an existing property for a specific object. The property details are provided via SavePropertyDTO, and the property is identified by its UUID. Returns an UpdateResponse containing the updated property as a PropertyDTO. Validation rules: name (required, must be unique, must be lowercase, must match name pattern (lowercase letters, numbers, underscores), cannot be changed after creation), label (required), description (maximum 255 characters), type (required, must be one of valid PropertyTypes, cannot be changed after creation), format (required, must be one of valid PropertyFormats, cannot be changed after creation), rules (required, must be an array of string).
@@ -11561,7 +11565,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11561
11565
  /**
11562
11566
  * Retrieves a paginated list of records. If a preview type is specified in the request, returns records formatted for preview; otherwise, returns full record details.
11563
11567
  * @summary Fetch paginated records
11564
- * @param {string} body Pagination request for records
11568
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
11565
11569
  * @param {IndexParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
11566
11570
  * @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
11567
11571
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
@@ -11569,9 +11573,9 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11569
11573
  * @param {*} [options] Override http request option.
11570
11574
  * @throws {RequiredError}
11571
11575
  */
11572
- index: (body_1, parse_1, archived_1, relatedRecordUuid_1, recordReturnFormat_1, ...args_1) => __awaiter(this, [body_1, parse_1, archived_1, relatedRecordUuid_1, recordReturnFormat_1, ...args_1], void 0, function* (body, parse, archived, relatedRecordUuid, recordReturnFormat, options = {}) {
11573
- // verify required parameter 'body' is not null or undefined
11574
- assertParamExists('index', 'body', body);
11576
+ index: (recordPaginationRequest_1, parse_1, archived_1, relatedRecordUuid_1, recordReturnFormat_1, ...args_1) => __awaiter(this, [recordPaginationRequest_1, parse_1, archived_1, relatedRecordUuid_1, recordReturnFormat_1, ...args_1], void 0, function* (recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options = {}) {
11577
+ // verify required parameter 'recordPaginationRequest' is not null or undefined
11578
+ assertParamExists('index', 'recordPaginationRequest', recordPaginationRequest);
11575
11579
  const localVarPath = `/api/v2/records/index`;
11576
11580
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11577
11581
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11602,7 +11606,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11602
11606
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11603
11607
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11604
11608
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11605
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
11609
+ localVarRequestOptions.data = serializeDataIfNeeded(recordPaginationRequest, localVarRequestOptions, configuration);
11606
11610
  return {
11607
11611
  url: toPathString(localVarUrlObj),
11608
11612
  options: localVarRequestOptions,
@@ -11611,15 +11615,15 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11611
11615
  /**
11612
11616
  * Retrieves a list of records formatted for flow view based on a specific property. If the property is not provided in the request, defaults to the \'status\' property of the main object. Returns a SuccessResponse containing the flow records.
11613
11617
  * @summary Fetch records for flow view
11614
- * @param {string} body Pagination request for flow view
11618
+ * @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
11615
11619
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
11616
11620
  * @param {IndexFlowParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
11617
11621
  * @param {*} [options] Override http request option.
11618
11622
  * @throws {RequiredError}
11619
11623
  */
11620
- indexFlow: (body_1, relatedRecordUuid_1, parse_1, ...args_1) => __awaiter(this, [body_1, relatedRecordUuid_1, parse_1, ...args_1], void 0, function* (body, relatedRecordUuid, parse, options = {}) {
11621
- // verify required parameter 'body' is not null or undefined
11622
- assertParamExists('indexFlow', 'body', body);
11624
+ indexFlow: (flowPaginationRequest_1, relatedRecordUuid_1, parse_1, ...args_1) => __awaiter(this, [flowPaginationRequest_1, relatedRecordUuid_1, parse_1, ...args_1], void 0, function* (flowPaginationRequest, relatedRecordUuid, parse, options = {}) {
11625
+ // verify required parameter 'flowPaginationRequest' is not null or undefined
11626
+ assertParamExists('indexFlow', 'flowPaginationRequest', flowPaginationRequest);
11623
11627
  const localVarPath = `/api/v2/records/index/flow`;
11624
11628
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11625
11629
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11644,7 +11648,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11644
11648
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11645
11649
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11646
11650
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11647
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
11651
+ localVarRequestOptions.data = serializeDataIfNeeded(flowPaginationRequest, localVarRequestOptions, configuration);
11648
11652
  return {
11649
11653
  url: toPathString(localVarUrlObj),
11650
11654
  options: localVarRequestOptions,
@@ -11653,7 +11657,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11653
11657
  /**
11654
11658
  * Retrieves a paginated list of webpages for page view. The search query is temporarily removed from the pagination request and passed separately. Returns a PaginationResponse containing WebpageDTO objects.
11655
11659
  * @summary Fetch records for page view
11656
- * @param {string} body Pagination request for page view
11660
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
11657
11661
  * @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
11658
11662
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
11659
11663
  * @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
@@ -11662,9 +11666,9 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11662
11666
  * @param {*} [options] Override http request option.
11663
11667
  * @throws {RequiredError}
11664
11668
  */
11665
- indexPage: (body_1, environment_1, relatedRecordUuid_1, fields_1, publishedOnly_1, excludeTemplateRelated_1, ...args_1) => __awaiter(this, [body_1, environment_1, relatedRecordUuid_1, fields_1, publishedOnly_1, excludeTemplateRelated_1, ...args_1], void 0, function* (body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options = {}) {
11666
- // verify required parameter 'body' is not null or undefined
11667
- assertParamExists('indexPage', 'body', body);
11669
+ indexPage: (recordPaginationRequest_1, environment_1, relatedRecordUuid_1, fields_1, publishedOnly_1, excludeTemplateRelated_1, ...args_1) => __awaiter(this, [recordPaginationRequest_1, environment_1, relatedRecordUuid_1, fields_1, publishedOnly_1, excludeTemplateRelated_1, ...args_1], void 0, function* (recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options = {}) {
11670
+ // verify required parameter 'recordPaginationRequest' is not null or undefined
11671
+ assertParamExists('indexPage', 'recordPaginationRequest', recordPaginationRequest);
11668
11672
  const localVarPath = `/api/v2/records/index/page`;
11669
11673
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11670
11674
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11698,7 +11702,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11698
11702
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11699
11703
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11700
11704
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11701
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
11705
+ localVarRequestOptions.data = serializeDataIfNeeded(recordPaginationRequest, localVarRequestOptions, configuration);
11702
11706
  return {
11703
11707
  url: toPathString(localVarUrlObj),
11704
11708
  options: localVarRequestOptions,
@@ -11707,14 +11711,14 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11707
11711
  /**
11708
11712
  * Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
11709
11713
  * @summary Fetch records for table view
11710
- * @param {string} body Pagination request for table view
11714
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
11711
11715
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
11712
11716
  * @param {*} [options] Override http request option.
11713
11717
  * @throws {RequiredError}
11714
11718
  */
11715
- indexTable: (body_1, relatedRecordUuid_1, ...args_1) => __awaiter(this, [body_1, relatedRecordUuid_1, ...args_1], void 0, function* (body, relatedRecordUuid, options = {}) {
11716
- // verify required parameter 'body' is not null or undefined
11717
- assertParamExists('indexTable', 'body', body);
11719
+ indexTable: (recordPaginationRequest_1, relatedRecordUuid_1, ...args_1) => __awaiter(this, [recordPaginationRequest_1, relatedRecordUuid_1, ...args_1], void 0, function* (recordPaginationRequest, relatedRecordUuid, options = {}) {
11720
+ // verify required parameter 'recordPaginationRequest' is not null or undefined
11721
+ assertParamExists('indexTable', 'recordPaginationRequest', recordPaginationRequest);
11718
11722
  const localVarPath = `/api/v2/records/index/table`;
11719
11723
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11720
11724
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11736,7 +11740,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11736
11740
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11737
11741
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11738
11742
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11739
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
11743
+ localVarRequestOptions.data = serializeDataIfNeeded(recordPaginationRequest, localVarRequestOptions, configuration);
11740
11744
  return {
11741
11745
  url: toPathString(localVarUrlObj),
11742
11746
  options: localVarRequestOptions,
@@ -11857,16 +11861,16 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11857
11861
  /**
11858
11862
  * Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
11859
11863
  * @summary Search records
11860
- * @param {string} body Search criteria
11864
+ * @param {SearchRequest} searchRequest Search criteria
11861
11865
  * @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
11862
11866
  * @param {SearchParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
11863
11867
  * @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
11864
11868
  * @param {*} [options] Override http request option.
11865
11869
  * @throws {RequiredError}
11866
11870
  */
11867
- search: (body_1, archived_1, parse_1, recordReturnFormat_1, ...args_1) => __awaiter(this, [body_1, archived_1, parse_1, recordReturnFormat_1, ...args_1], void 0, function* (body, archived, parse, recordReturnFormat, options = {}) {
11868
- // verify required parameter 'body' is not null or undefined
11869
- assertParamExists('search', 'body', body);
11871
+ search: (searchRequest_1, archived_1, parse_1, recordReturnFormat_1, ...args_1) => __awaiter(this, [searchRequest_1, archived_1, parse_1, recordReturnFormat_1, ...args_1], void 0, function* (searchRequest, archived, parse, recordReturnFormat, options = {}) {
11872
+ // verify required parameter 'searchRequest' is not null or undefined
11873
+ assertParamExists('search', 'searchRequest', searchRequest);
11870
11874
  const localVarPath = `/api/v2/records/search`;
11871
11875
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11872
11876
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11894,7 +11898,7 @@ export const RecordsApiAxiosParamCreator = function (configuration) {
11894
11898
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11895
11899
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11896
11900
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11897
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
11901
+ localVarRequestOptions.data = serializeDataIfNeeded(searchRequest, localVarRequestOptions, configuration);
11898
11902
  return {
11899
11903
  url: toPathString(localVarUrlObj),
11900
11904
  options: localVarRequestOptions,
@@ -12416,7 +12420,7 @@ export const RecordsApiFp = function (configuration) {
12416
12420
  /**
12417
12421
  * Retrieves a paginated list of records. If a preview type is specified in the request, returns records formatted for preview; otherwise, returns full record details.
12418
12422
  * @summary Fetch paginated records
12419
- * @param {string} body Pagination request for records
12423
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
12420
12424
  * @param {IndexParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12421
12425
  * @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
12422
12426
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
@@ -12424,10 +12428,10 @@ export const RecordsApiFp = function (configuration) {
12424
12428
  * @param {*} [options] Override http request option.
12425
12429
  * @throws {RequiredError}
12426
12430
  */
12427
- index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
12431
+ index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
12428
12432
  return __awaiter(this, void 0, void 0, function* () {
12429
12433
  var _a, _b, _c;
12430
- const localVarAxiosArgs = yield localVarAxiosParamCreator.index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options);
12434
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options);
12431
12435
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12432
12436
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.index']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12433
12437
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12436,16 +12440,16 @@ export const RecordsApiFp = function (configuration) {
12436
12440
  /**
12437
12441
  * Retrieves a list of records formatted for flow view based on a specific property. If the property is not provided in the request, defaults to the \'status\' property of the main object. Returns a SuccessResponse containing the flow records.
12438
12442
  * @summary Fetch records for flow view
12439
- * @param {string} body Pagination request for flow view
12443
+ * @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
12440
12444
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12441
12445
  * @param {IndexFlowParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12442
12446
  * @param {*} [options] Override http request option.
12443
12447
  * @throws {RequiredError}
12444
12448
  */
12445
- indexFlow(body, relatedRecordUuid, parse, options) {
12449
+ indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
12446
12450
  return __awaiter(this, void 0, void 0, function* () {
12447
12451
  var _a, _b, _c;
12448
- const localVarAxiosArgs = yield localVarAxiosParamCreator.indexFlow(body, relatedRecordUuid, parse, options);
12452
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options);
12449
12453
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12450
12454
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.indexFlow']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12451
12455
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12454,7 +12458,7 @@ export const RecordsApiFp = function (configuration) {
12454
12458
  /**
12455
12459
  * Retrieves a paginated list of webpages for page view. The search query is temporarily removed from the pagination request and passed separately. Returns a PaginationResponse containing WebpageDTO objects.
12456
12460
  * @summary Fetch records for page view
12457
- * @param {string} body Pagination request for page view
12461
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
12458
12462
  * @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
12459
12463
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12460
12464
  * @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
@@ -12463,10 +12467,10 @@ export const RecordsApiFp = function (configuration) {
12463
12467
  * @param {*} [options] Override http request option.
12464
12468
  * @throws {RequiredError}
12465
12469
  */
12466
- indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
12470
+ indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
12467
12471
  return __awaiter(this, void 0, void 0, function* () {
12468
12472
  var _a, _b, _c;
12469
- const localVarAxiosArgs = yield localVarAxiosParamCreator.indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options);
12473
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options);
12470
12474
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12471
12475
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.indexPage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12472
12476
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12475,15 +12479,15 @@ export const RecordsApiFp = function (configuration) {
12475
12479
  /**
12476
12480
  * Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
12477
12481
  * @summary Fetch records for table view
12478
- * @param {string} body Pagination request for table view
12482
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
12479
12483
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12480
12484
  * @param {*} [options] Override http request option.
12481
12485
  * @throws {RequiredError}
12482
12486
  */
12483
- indexTable(body, relatedRecordUuid, options) {
12487
+ indexTable(recordPaginationRequest, relatedRecordUuid, options) {
12484
12488
  return __awaiter(this, void 0, void 0, function* () {
12485
12489
  var _a, _b, _c;
12486
- const localVarAxiosArgs = yield localVarAxiosParamCreator.indexTable(body, relatedRecordUuid, options);
12490
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.indexTable(recordPaginationRequest, relatedRecordUuid, options);
12487
12491
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12488
12492
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.indexTable']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12489
12493
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12543,17 +12547,17 @@ export const RecordsApiFp = function (configuration) {
12543
12547
  /**
12544
12548
  * Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
12545
12549
  * @summary Search records
12546
- * @param {string} body Search criteria
12550
+ * @param {SearchRequest} searchRequest Search criteria
12547
12551
  * @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
12548
12552
  * @param {SearchParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12549
12553
  * @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
12550
12554
  * @param {*} [options] Override http request option.
12551
12555
  * @throws {RequiredError}
12552
12556
  */
12553
- search(body, archived, parse, recordReturnFormat, options) {
12557
+ search(searchRequest, archived, parse, recordReturnFormat, options) {
12554
12558
  return __awaiter(this, void 0, void 0, function* () {
12555
12559
  var _a, _b, _c;
12556
- const localVarAxiosArgs = yield localVarAxiosParamCreator.search(body, archived, parse, recordReturnFormat, options);
12560
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.search(searchRequest, archived, parse, recordReturnFormat, options);
12557
12561
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12558
12562
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RecordsApi.search']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12559
12563
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -12825,7 +12829,7 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
12825
12829
  /**
12826
12830
  * Retrieves a paginated list of records. If a preview type is specified in the request, returns records formatted for preview; otherwise, returns full record details.
12827
12831
  * @summary Fetch paginated records
12828
- * @param {string} body Pagination request for records
12832
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
12829
12833
  * @param {IndexParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12830
12834
  * @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
12831
12835
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
@@ -12833,25 +12837,25 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
12833
12837
  * @param {*} [options] Override http request option.
12834
12838
  * @throws {RequiredError}
12835
12839
  */
12836
- index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
12837
- return localVarFp.index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(axios, basePath));
12840
+ index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
12841
+ return localVarFp.index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(axios, basePath));
12838
12842
  },
12839
12843
  /**
12840
12844
  * Retrieves a list of records formatted for flow view based on a specific property. If the property is not provided in the request, defaults to the \'status\' property of the main object. Returns a SuccessResponse containing the flow records.
12841
12845
  * @summary Fetch records for flow view
12842
- * @param {string} body Pagination request for flow view
12846
+ * @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
12843
12847
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12844
12848
  * @param {IndexFlowParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12845
12849
  * @param {*} [options] Override http request option.
12846
12850
  * @throws {RequiredError}
12847
12851
  */
12848
- indexFlow(body, relatedRecordUuid, parse, options) {
12849
- return localVarFp.indexFlow(body, relatedRecordUuid, parse, options).then((request) => request(axios, basePath));
12852
+ indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
12853
+ return localVarFp.indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options).then((request) => request(axios, basePath));
12850
12854
  },
12851
12855
  /**
12852
12856
  * Retrieves a paginated list of webpages for page view. The search query is temporarily removed from the pagination request and passed separately. Returns a PaginationResponse containing WebpageDTO objects.
12853
12857
  * @summary Fetch records for page view
12854
- * @param {string} body Pagination request for page view
12858
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
12855
12859
  * @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
12856
12860
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12857
12861
  * @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
@@ -12860,19 +12864,19 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
12860
12864
  * @param {*} [options] Override http request option.
12861
12865
  * @throws {RequiredError}
12862
12866
  */
12863
- indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
12864
- return localVarFp.indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(axios, basePath));
12867
+ indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
12868
+ return localVarFp.indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(axios, basePath));
12865
12869
  },
12866
12870
  /**
12867
12871
  * Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
12868
12872
  * @summary Fetch records for table view
12869
- * @param {string} body Pagination request for table view
12873
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
12870
12874
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
12871
12875
  * @param {*} [options] Override http request option.
12872
12876
  * @throws {RequiredError}
12873
12877
  */
12874
- indexTable(body, relatedRecordUuid, options) {
12875
- return localVarFp.indexTable(body, relatedRecordUuid, options).then((request) => request(axios, basePath));
12878
+ indexTable(recordPaginationRequest, relatedRecordUuid, options) {
12879
+ return localVarFp.indexTable(recordPaginationRequest, relatedRecordUuid, options).then((request) => request(axios, basePath));
12876
12880
  },
12877
12881
  /**
12878
12882
  * Retrieves a preview for a record specified by its UUID and preview name. Returns a ShowResponse containing the preview data.
@@ -12910,15 +12914,15 @@ export const RecordsApiFactory = function (configuration, basePath, axios) {
12910
12914
  /**
12911
12915
  * Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
12912
12916
  * @summary Search records
12913
- * @param {string} body Search criteria
12917
+ * @param {SearchRequest} searchRequest Search criteria
12914
12918
  * @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
12915
12919
  * @param {SearchParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
12916
12920
  * @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
12917
12921
  * @param {*} [options] Override http request option.
12918
12922
  * @throws {RequiredError}
12919
12923
  */
12920
- search(body, archived, parse, recordReturnFormat, options) {
12921
- return localVarFp.search(body, archived, parse, recordReturnFormat, options).then((request) => request(axios, basePath));
12924
+ search(searchRequest, archived, parse, recordReturnFormat, options) {
12925
+ return localVarFp.search(searchRequest, archived, parse, recordReturnFormat, options).then((request) => request(axios, basePath));
12922
12926
  },
12923
12927
  /**
12924
12928
  * Searches records across multiple object types in one request. Use fromObjectUuid + relationName to limit to relation target objects (e.g. event attendees), or objectUuids for an explicit list, or omit both to search all company objects (capped). Returns preview-shaped results suitable for relation pickers.
@@ -13142,7 +13146,7 @@ export class RecordsApi extends BaseAPI {
13142
13146
  /**
13143
13147
  * Retrieves a paginated list of records. If a preview type is specified in the request, returns records formatted for preview; otherwise, returns full record details.
13144
13148
  * @summary Fetch paginated records
13145
- * @param {string} body Pagination request for records
13149
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
13146
13150
  * @param {IndexParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
13147
13151
  * @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
13148
13152
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
@@ -13150,25 +13154,25 @@ export class RecordsApi extends BaseAPI {
13150
13154
  * @param {*} [options] Override http request option.
13151
13155
  * @throws {RequiredError}
13152
13156
  */
13153
- index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
13154
- return RecordsApiFp(this.configuration).index(body, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
13157
+ index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
13158
+ return RecordsApiFp(this.configuration).index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
13155
13159
  }
13156
13160
  /**
13157
13161
  * Retrieves a list of records formatted for flow view based on a specific property. If the property is not provided in the request, defaults to the \'status\' property of the main object. Returns a SuccessResponse containing the flow records.
13158
13162
  * @summary Fetch records for flow view
13159
- * @param {string} body Pagination request for flow view
13163
+ * @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
13160
13164
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
13161
13165
  * @param {IndexFlowParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
13162
13166
  * @param {*} [options] Override http request option.
13163
13167
  * @throws {RequiredError}
13164
13168
  */
13165
- indexFlow(body, relatedRecordUuid, parse, options) {
13166
- return RecordsApiFp(this.configuration).indexFlow(body, relatedRecordUuid, parse, options).then((request) => request(this.axios, this.basePath));
13169
+ indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
13170
+ return RecordsApiFp(this.configuration).indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options).then((request) => request(this.axios, this.basePath));
13167
13171
  }
13168
13172
  /**
13169
13173
  * Retrieves a paginated list of webpages for page view. The search query is temporarily removed from the pagination request and passed separately. Returns a PaginationResponse containing WebpageDTO objects.
13170
13174
  * @summary Fetch records for page view
13171
- * @param {string} body Pagination request for page view
13175
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
13172
13176
  * @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
13173
13177
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
13174
13178
  * @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
@@ -13177,19 +13181,19 @@ export class RecordsApi extends BaseAPI {
13177
13181
  * @param {*} [options] Override http request option.
13178
13182
  * @throws {RequiredError}
13179
13183
  */
13180
- indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
13181
- return RecordsApiFp(this.configuration).indexPage(body, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(this.axios, this.basePath));
13184
+ indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
13185
+ return RecordsApiFp(this.configuration).indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(this.axios, this.basePath));
13182
13186
  }
13183
13187
  /**
13184
13188
  * Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
13185
13189
  * @summary Fetch records for table view
13186
- * @param {string} body Pagination request for table view
13190
+ * @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
13187
13191
  * @param {string} [relatedRecordUuid] UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record.
13188
13192
  * @param {*} [options] Override http request option.
13189
13193
  * @throws {RequiredError}
13190
13194
  */
13191
- indexTable(body, relatedRecordUuid, options) {
13192
- return RecordsApiFp(this.configuration).indexTable(body, relatedRecordUuid, options).then((request) => request(this.axios, this.basePath));
13195
+ indexTable(recordPaginationRequest, relatedRecordUuid, options) {
13196
+ return RecordsApiFp(this.configuration).indexTable(recordPaginationRequest, relatedRecordUuid, options).then((request) => request(this.axios, this.basePath));
13193
13197
  }
13194
13198
  /**
13195
13199
  * Retrieves a preview for a record specified by its UUID and preview name. Returns a ShowResponse containing the preview data.
@@ -13227,15 +13231,15 @@ export class RecordsApi extends BaseAPI {
13227
13231
  /**
13228
13232
  * Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
13229
13233
  * @summary Search records
13230
- * @param {string} body Search criteria
13234
+ * @param {SearchRequest} searchRequest Search criteria
13231
13235
  * @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
13232
13236
  * @param {SearchParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
13233
13237
  * @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
13234
13238
  * @param {*} [options] Override http request option.
13235
13239
  * @throws {RequiredError}
13236
13240
  */
13237
- search(body, archived, parse, recordReturnFormat, options) {
13238
- return RecordsApiFp(this.configuration).search(body, archived, parse, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
13241
+ search(searchRequest, archived, parse, recordReturnFormat, options) {
13242
+ return RecordsApiFp(this.configuration).search(searchRequest, archived, parse, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
13239
13243
  }
13240
13244
  /**
13241
13245
  * Searches records across multiple object types in one request. Use fromObjectUuid + relationName to limit to relation target objects (e.g. event attendees), or objectUuids for an explicit list, or omit both to search all company objects (capped). Returns preview-shaped results suitable for relation pickers.
@@ -13472,7 +13476,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13472
13476
  // authentication bearerAuth required
13473
13477
  // http bearer authentication required
13474
13478
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13475
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
13479
+ localVarHeaderParameter['Accept'] = 'application/json';
13476
13480
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13477
13481
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13478
13482
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -13551,7 +13555,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13551
13555
  // authentication bearerAuth required
13552
13556
  // http bearer authentication required
13553
13557
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13554
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
13558
+ localVarHeaderParameter['Accept'] = 'application/json';
13555
13559
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13556
13560
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13557
13561
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -13584,7 +13588,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13584
13588
  // authentication bearerAuth required
13585
13589
  // http bearer authentication required
13586
13590
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13587
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
13591
+ localVarHeaderParameter['Accept'] = 'application/json';
13588
13592
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13589
13593
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13590
13594
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -13617,7 +13621,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13617
13621
  // authentication bearerAuth required
13618
13622
  // http bearer authentication required
13619
13623
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13620
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
13624
+ localVarHeaderParameter['Accept'] = 'application/json';
13621
13625
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13622
13626
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13623
13627
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -13666,13 +13670,13 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13666
13670
  /**
13667
13671
  * Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
13668
13672
  * @summary Fetch paginated relations
13669
- * @param {any} body Pagination request for relations
13673
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
13670
13674
  * @param {*} [options] Override http request option.
13671
13675
  * @throws {RequiredError}
13672
13676
  */
13673
- getRelations: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
13674
- // verify required parameter 'body' is not null or undefined
13675
- assertParamExists('getRelations', 'body', body);
13677
+ getRelations: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
13678
+ // verify required parameter 'paginationRequest' is not null or undefined
13679
+ assertParamExists('getRelations', 'paginationRequest', paginationRequest);
13676
13680
  const localVarPath = `/api/v2/relations/index`;
13677
13681
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13678
13682
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13691,7 +13695,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13691
13695
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13692
13696
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13693
13697
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13694
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
13698
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
13695
13699
  return {
13696
13700
  url: toPathString(localVarUrlObj),
13697
13701
  options: localVarRequestOptions,
@@ -13702,17 +13706,17 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13702
13706
  * @summary Get all relations between two objects
13703
13707
  * @param {string} fromObjectUuid
13704
13708
  * @param {string} toObjectUuid
13705
- * @param {any} body
13709
+ * @param {PaginationRequest} paginationRequest
13706
13710
  * @param {*} [options] Override http request option.
13707
13711
  * @throws {RequiredError}
13708
13712
  */
13709
- getRelationsBetweenObjects: (fromObjectUuid_1, toObjectUuid_1, body_1, ...args_1) => __awaiter(this, [fromObjectUuid_1, toObjectUuid_1, body_1, ...args_1], void 0, function* (fromObjectUuid, toObjectUuid, body, options = {}) {
13713
+ getRelationsBetweenObjects: (fromObjectUuid_1, toObjectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [fromObjectUuid_1, toObjectUuid_1, paginationRequest_1, ...args_1], void 0, function* (fromObjectUuid, toObjectUuid, paginationRequest, options = {}) {
13710
13714
  // verify required parameter 'fromObjectUuid' is not null or undefined
13711
13715
  assertParamExists('getRelationsBetweenObjects', 'fromObjectUuid', fromObjectUuid);
13712
13716
  // verify required parameter 'toObjectUuid' is not null or undefined
13713
13717
  assertParamExists('getRelationsBetweenObjects', 'toObjectUuid', toObjectUuid);
13714
- // verify required parameter 'body' is not null or undefined
13715
- assertParamExists('getRelationsBetweenObjects', 'body', body);
13718
+ // verify required parameter 'paginationRequest' is not null or undefined
13719
+ assertParamExists('getRelationsBetweenObjects', 'paginationRequest', paginationRequest);
13716
13720
  const localVarPath = `/api/v2/relations/index/{fromObjectUuid}/{toObjectUuid}`
13717
13721
  .replace('{fromObjectUuid}', encodeURIComponent(String(fromObjectUuid)))
13718
13722
  .replace('{toObjectUuid}', encodeURIComponent(String(toObjectUuid)));
@@ -13733,7 +13737,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13733
13737
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13734
13738
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13735
13739
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13736
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
13740
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
13737
13741
  return {
13738
13742
  url: toPathString(localVarUrlObj),
13739
13743
  options: localVarRequestOptions,
@@ -13743,15 +13747,15 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13743
13747
  * Returns relation definitions where this object participates in the **schema** graph for that relation name: either as origin `(thisObject)-[:relationName]->(:Object)` or as target `(:Object)-[:relationName]->(thisObject)`. Unrelated relations (same name elsewhere, or no typed edge touching this object) are excluded. Uses the object’s `name` to filter; request path uses object UUID.
13744
13748
  * @summary Fetch relations for a specific object
13745
13749
  * @param {string} objectUuid
13746
- * @param {any} body Pagination request for relations
13750
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
13747
13751
  * @param {*} [options] Override http request option.
13748
13752
  * @throws {RequiredError}
13749
13753
  */
13750
- getRelationsByObject: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
13754
+ getRelationsByObject: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
13751
13755
  // verify required parameter 'objectUuid' is not null or undefined
13752
13756
  assertParamExists('getRelationsByObject', 'objectUuid', objectUuid);
13753
- // verify required parameter 'body' is not null or undefined
13754
- assertParamExists('getRelationsByObject', 'body', body);
13757
+ // verify required parameter 'paginationRequest' is not null or undefined
13758
+ assertParamExists('getRelationsByObject', 'paginationRequest', paginationRequest);
13755
13759
  const localVarPath = `/api/v2/relations/index/{objectUuid}`
13756
13760
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
13757
13761
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13771,7 +13775,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13771
13775
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13772
13776
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13773
13777
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13774
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
13778
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
13775
13779
  return {
13776
13780
  url: toPathString(localVarUrlObj),
13777
13781
  options: localVarRequestOptions,
@@ -13834,7 +13838,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13834
13838
  // authentication bearerAuth required
13835
13839
  // http bearer authentication required
13836
13840
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13837
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
13841
+ localVarHeaderParameter['Accept'] = 'application/json';
13838
13842
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13839
13843
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13840
13844
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -13846,13 +13850,13 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13846
13850
  /**
13847
13851
  * Updates the indices for relations. The request body should contain a mapping of relation UUIDs to their new index values. Returns a SuccessResponse containing the updated relation objects.
13848
13852
  * @summary Update relation indices
13849
- * @param {string} body Mapping of relation UUIDs to new index values
13853
+ * @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
13850
13854
  * @param {*} [options] Override http request option.
13851
13855
  * @throws {RequiredError}
13852
13856
  */
13853
- updateIndices: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
13854
- // verify required parameter 'body' is not null or undefined
13855
- assertParamExists('updateIndices', 'body', body);
13857
+ updateIndices: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
13858
+ // verify required parameter 'requestBody' is not null or undefined
13859
+ assertParamExists('updateIndices', 'requestBody', requestBody);
13856
13860
  const localVarPath = `/api/v2/relations/updateIndices`;
13857
13861
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13858
13862
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13871,7 +13875,7 @@ export const RelationsApiAxiosParamCreator = function (configuration) {
13871
13875
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13872
13876
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13873
13877
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13874
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
13878
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
13875
13879
  return {
13876
13880
  url: toPathString(localVarUrlObj),
13877
13881
  options: localVarRequestOptions,
@@ -13990,14 +13994,14 @@ export const RelationsApiFp = function (configuration) {
13990
13994
  /**
13991
13995
  * Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
13992
13996
  * @summary Fetch paginated relations
13993
- * @param {any} body Pagination request for relations
13997
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
13994
13998
  * @param {*} [options] Override http request option.
13995
13999
  * @throws {RequiredError}
13996
14000
  */
13997
- getRelations(body, options) {
14001
+ getRelations(paginationRequest, options) {
13998
14002
  return __awaiter(this, void 0, void 0, function* () {
13999
14003
  var _a, _b, _c;
14000
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelations(body, options);
14004
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelations(paginationRequest, options);
14001
14005
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14002
14006
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RelationsApi.getRelations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14003
14007
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14008,14 +14012,14 @@ export const RelationsApiFp = function (configuration) {
14008
14012
  * @summary Get all relations between two objects
14009
14013
  * @param {string} fromObjectUuid
14010
14014
  * @param {string} toObjectUuid
14011
- * @param {any} body
14015
+ * @param {PaginationRequest} paginationRequest
14012
14016
  * @param {*} [options] Override http request option.
14013
14017
  * @throws {RequiredError}
14014
14018
  */
14015
- getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options) {
14019
+ getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
14016
14020
  return __awaiter(this, void 0, void 0, function* () {
14017
14021
  var _a, _b, _c;
14018
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options);
14022
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options);
14019
14023
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14020
14024
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RelationsApi.getRelationsBetweenObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14021
14025
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14025,14 +14029,14 @@ export const RelationsApiFp = function (configuration) {
14025
14029
  * Returns relation definitions where this object participates in the **schema** graph for that relation name: either as origin `(thisObject)-[:relationName]->(:Object)` or as target `(:Object)-[:relationName]->(thisObject)`. Unrelated relations (same name elsewhere, or no typed edge touching this object) are excluded. Uses the object’s `name` to filter; request path uses object UUID.
14026
14030
  * @summary Fetch relations for a specific object
14027
14031
  * @param {string} objectUuid
14028
- * @param {any} body Pagination request for relations
14032
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
14029
14033
  * @param {*} [options] Override http request option.
14030
14034
  * @throws {RequiredError}
14031
14035
  */
14032
- getRelationsByObject(objectUuid, body, options) {
14036
+ getRelationsByObject(objectUuid, paginationRequest, options) {
14033
14037
  return __awaiter(this, void 0, void 0, function* () {
14034
14038
  var _a, _b, _c;
14035
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsByObject(objectUuid, body, options);
14039
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsByObject(objectUuid, paginationRequest, options);
14036
14040
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14037
14041
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RelationsApi.getRelationsByObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14038
14042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14073,14 +14077,14 @@ export const RelationsApiFp = function (configuration) {
14073
14077
  /**
14074
14078
  * Updates the indices for relations. The request body should contain a mapping of relation UUIDs to their new index values. Returns a SuccessResponse containing the updated relation objects.
14075
14079
  * @summary Update relation indices
14076
- * @param {string} body Mapping of relation UUIDs to new index values
14080
+ * @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
14077
14081
  * @param {*} [options] Override http request option.
14078
14082
  * @throws {RequiredError}
14079
14083
  */
14080
- updateIndices(body, options) {
14084
+ updateIndices(requestBody, options) {
14081
14085
  return __awaiter(this, void 0, void 0, function* () {
14082
14086
  var _a, _b, _c;
14083
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices(body, options);
14087
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices(requestBody, options);
14084
14088
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14085
14089
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RelationsApi.updateIndices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14086
14090
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14163,35 +14167,35 @@ export const RelationsApiFactory = function (configuration, basePath, axios) {
14163
14167
  /**
14164
14168
  * Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
14165
14169
  * @summary Fetch paginated relations
14166
- * @param {any} body Pagination request for relations
14170
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
14167
14171
  * @param {*} [options] Override http request option.
14168
14172
  * @throws {RequiredError}
14169
14173
  */
14170
- getRelations(body, options) {
14171
- return localVarFp.getRelations(body, options).then((request) => request(axios, basePath));
14174
+ getRelations(paginationRequest, options) {
14175
+ return localVarFp.getRelations(paginationRequest, options).then((request) => request(axios, basePath));
14172
14176
  },
14173
14177
  /**
14174
14178
  * Retrieves all relations between two objects based on the provided object UUIDs.
14175
14179
  * @summary Get all relations between two objects
14176
14180
  * @param {string} fromObjectUuid
14177
14181
  * @param {string} toObjectUuid
14178
- * @param {any} body
14182
+ * @param {PaginationRequest} paginationRequest
14179
14183
  * @param {*} [options] Override http request option.
14180
14184
  * @throws {RequiredError}
14181
14185
  */
14182
- getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options) {
14183
- return localVarFp.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options).then((request) => request(axios, basePath));
14186
+ getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
14187
+ return localVarFp.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options).then((request) => request(axios, basePath));
14184
14188
  },
14185
14189
  /**
14186
14190
  * Returns relation definitions where this object participates in the **schema** graph for that relation name: either as origin `(thisObject)-[:relationName]->(:Object)` or as target `(:Object)-[:relationName]->(thisObject)`. Unrelated relations (same name elsewhere, or no typed edge touching this object) are excluded. Uses the object’s `name` to filter; request path uses object UUID.
14187
14191
  * @summary Fetch relations for a specific object
14188
14192
  * @param {string} objectUuid
14189
- * @param {any} body Pagination request for relations
14193
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
14190
14194
  * @param {*} [options] Override http request option.
14191
14195
  * @throws {RequiredError}
14192
14196
  */
14193
- getRelationsByObject(objectUuid, body, options) {
14194
- return localVarFp.getRelationsByObject(objectUuid, body, options).then((request) => request(axios, basePath));
14197
+ getRelationsByObject(objectUuid, paginationRequest, options) {
14198
+ return localVarFp.getRelationsByObject(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
14195
14199
  },
14196
14200
  /**
14197
14201
  * Hard-deletes a soft-deleted relation. Only relations with deletedAt set can be removed.
@@ -14216,12 +14220,12 @@ export const RelationsApiFactory = function (configuration, basePath, axios) {
14216
14220
  /**
14217
14221
  * Updates the indices for relations. The request body should contain a mapping of relation UUIDs to their new index values. Returns a SuccessResponse containing the updated relation objects.
14218
14222
  * @summary Update relation indices
14219
- * @param {string} body Mapping of relation UUIDs to new index values
14223
+ * @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
14220
14224
  * @param {*} [options] Override http request option.
14221
14225
  * @throws {RequiredError}
14222
14226
  */
14223
- updateIndices(body, options) {
14224
- return localVarFp.updateIndices(body, options).then((request) => request(axios, basePath));
14227
+ updateIndices(requestBody, options) {
14228
+ return localVarFp.updateIndices(requestBody, options).then((request) => request(axios, basePath));
14225
14229
  },
14226
14230
  };
14227
14231
  };
@@ -14298,35 +14302,35 @@ export class RelationsApi extends BaseAPI {
14298
14302
  /**
14299
14303
  * Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
14300
14304
  * @summary Fetch paginated relations
14301
- * @param {any} body Pagination request for relations
14305
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
14302
14306
  * @param {*} [options] Override http request option.
14303
14307
  * @throws {RequiredError}
14304
14308
  */
14305
- getRelations(body, options) {
14306
- return RelationsApiFp(this.configuration).getRelations(body, options).then((request) => request(this.axios, this.basePath));
14309
+ getRelations(paginationRequest, options) {
14310
+ return RelationsApiFp(this.configuration).getRelations(paginationRequest, options).then((request) => request(this.axios, this.basePath));
14307
14311
  }
14308
14312
  /**
14309
14313
  * Retrieves all relations between two objects based on the provided object UUIDs.
14310
14314
  * @summary Get all relations between two objects
14311
14315
  * @param {string} fromObjectUuid
14312
14316
  * @param {string} toObjectUuid
14313
- * @param {any} body
14317
+ * @param {PaginationRequest} paginationRequest
14314
14318
  * @param {*} [options] Override http request option.
14315
14319
  * @throws {RequiredError}
14316
14320
  */
14317
- getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options) {
14318
- return RelationsApiFp(this.configuration).getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, body, options).then((request) => request(this.axios, this.basePath));
14321
+ getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
14322
+ return RelationsApiFp(this.configuration).getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
14319
14323
  }
14320
14324
  /**
14321
14325
  * Returns relation definitions where this object participates in the **schema** graph for that relation name: either as origin `(thisObject)-[:relationName]->(:Object)` or as target `(:Object)-[:relationName]->(thisObject)`. Unrelated relations (same name elsewhere, or no typed edge touching this object) are excluded. Uses the object’s `name` to filter; request path uses object UUID.
14322
14326
  * @summary Fetch relations for a specific object
14323
14327
  * @param {string} objectUuid
14324
- * @param {any} body Pagination request for relations
14328
+ * @param {PaginationRequest} paginationRequest Pagination request for relations
14325
14329
  * @param {*} [options] Override http request option.
14326
14330
  * @throws {RequiredError}
14327
14331
  */
14328
- getRelationsByObject(objectUuid, body, options) {
14329
- return RelationsApiFp(this.configuration).getRelationsByObject(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
14332
+ getRelationsByObject(objectUuid, paginationRequest, options) {
14333
+ return RelationsApiFp(this.configuration).getRelationsByObject(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
14330
14334
  }
14331
14335
  /**
14332
14336
  * Hard-deletes a soft-deleted relation. Only relations with deletedAt set can be removed.
@@ -14351,12 +14355,12 @@ export class RelationsApi extends BaseAPI {
14351
14355
  /**
14352
14356
  * Updates the indices for relations. The request body should contain a mapping of relation UUIDs to their new index values. Returns a SuccessResponse containing the updated relation objects.
14353
14357
  * @summary Update relation indices
14354
- * @param {string} body Mapping of relation UUIDs to new index values
14358
+ * @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
14355
14359
  * @param {*} [options] Override http request option.
14356
14360
  * @throws {RequiredError}
14357
14361
  */
14358
- updateIndices(body, options) {
14359
- return RelationsApiFp(this.configuration).updateIndices(body, options).then((request) => request(this.axios, this.basePath));
14362
+ updateIndices(requestBody, options) {
14363
+ return RelationsApiFp(this.configuration).updateIndices(requestBody, options).then((request) => request(this.axios, this.basePath));
14360
14364
  }
14361
14365
  }
14362
14366
  /**
@@ -14443,15 +14447,15 @@ export const ServerlessFunctionsApiAxiosParamCreator = function (configuration)
14443
14447
  * Retrieves a paginated list of serverless functions that belong to the specified app.
14444
14448
  * @summary List serverless functions for an app
14445
14449
  * @param {string} appUuid UUID of the app whose serverless functions to list
14446
- * @param {any} body Pagination and filtering options for the request
14450
+ * @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
14447
14451
  * @param {*} [options] Override http request option.
14448
14452
  * @throws {RequiredError}
14449
14453
  */
14450
- index2: (appUuid_1, body_1, ...args_1) => __awaiter(this, [appUuid_1, body_1, ...args_1], void 0, function* (appUuid, body, options = {}) {
14454
+ index2: (appUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [appUuid_1, paginationRequest_1, ...args_1], void 0, function* (appUuid, paginationRequest, options = {}) {
14451
14455
  // verify required parameter 'appUuid' is not null or undefined
14452
14456
  assertParamExists('index2', 'appUuid', appUuid);
14453
- // verify required parameter 'body' is not null or undefined
14454
- assertParamExists('index2', 'body', body);
14457
+ // verify required parameter 'paginationRequest' is not null or undefined
14458
+ assertParamExists('index2', 'paginationRequest', paginationRequest);
14455
14459
  const localVarPath = `/api/v2/apps/{appUuid}/serverless-functions/index`
14456
14460
  .replace('{appUuid}', encodeURIComponent(String(appUuid)));
14457
14461
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14471,7 +14475,7 @@ export const ServerlessFunctionsApiAxiosParamCreator = function (configuration)
14471
14475
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14472
14476
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14473
14477
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14474
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
14478
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
14475
14479
  return {
14476
14480
  url: toPathString(localVarUrlObj),
14477
14481
  options: localVarRequestOptions,
@@ -14727,14 +14731,14 @@ export const ServerlessFunctionsApiFp = function (configuration) {
14727
14731
  * Retrieves a paginated list of serverless functions that belong to the specified app.
14728
14732
  * @summary List serverless functions for an app
14729
14733
  * @param {string} appUuid UUID of the app whose serverless functions to list
14730
- * @param {any} body Pagination and filtering options for the request
14734
+ * @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
14731
14735
  * @param {*} [options] Override http request option.
14732
14736
  * @throws {RequiredError}
14733
14737
  */
14734
- index2(appUuid, body, options) {
14738
+ index2(appUuid, paginationRequest, options) {
14735
14739
  return __awaiter(this, void 0, void 0, function* () {
14736
14740
  var _a, _b, _c;
14737
- const localVarAxiosArgs = yield localVarAxiosParamCreator.index2(appUuid, body, options);
14741
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.index2(appUuid, paginationRequest, options);
14738
14742
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14739
14743
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ServerlessFunctionsApi.index2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14740
14744
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14863,12 +14867,12 @@ export const ServerlessFunctionsApiFactory = function (configuration, basePath,
14863
14867
  * Retrieves a paginated list of serverless functions that belong to the specified app.
14864
14868
  * @summary List serverless functions for an app
14865
14869
  * @param {string} appUuid UUID of the app whose serverless functions to list
14866
- * @param {any} body Pagination and filtering options for the request
14870
+ * @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
14867
14871
  * @param {*} [options] Override http request option.
14868
14872
  * @throws {RequiredError}
14869
14873
  */
14870
- index2(appUuid, body, options) {
14871
- return localVarFp.index2(appUuid, body, options).then((request) => request(axios, basePath));
14874
+ index2(appUuid, paginationRequest, options) {
14875
+ return localVarFp.index2(appUuid, paginationRequest, options).then((request) => request(axios, basePath));
14872
14876
  },
14873
14877
  /**
14874
14878
  * Queries Cloud Logging for recent log entries emitted by the Cloud Function backing this serverless function.
@@ -14961,12 +14965,12 @@ export class ServerlessFunctionsApi extends BaseAPI {
14961
14965
  * Retrieves a paginated list of serverless functions that belong to the specified app.
14962
14966
  * @summary List serverless functions for an app
14963
14967
  * @param {string} appUuid UUID of the app whose serverless functions to list
14964
- * @param {any} body Pagination and filtering options for the request
14968
+ * @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
14965
14969
  * @param {*} [options] Override http request option.
14966
14970
  * @throws {RequiredError}
14967
14971
  */
14968
- index2(appUuid, body, options) {
14969
- return ServerlessFunctionsApiFp(this.configuration).index2(appUuid, body, options).then((request) => request(this.axios, this.basePath));
14972
+ index2(appUuid, paginationRequest, options) {
14973
+ return ServerlessFunctionsApiFp(this.configuration).index2(appUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
14970
14974
  }
14971
14975
  /**
14972
14976
  * Queries Cloud Logging for recent log entries emitted by the Cloud Function backing this serverless function.
@@ -15146,13 +15150,13 @@ export const SyncApiAxiosParamCreator = function (configuration) {
15146
15150
  /**
15147
15151
  * Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
15148
15152
  * @summary Fetch paginated syncs
15149
- * @param {any} body Pagination request for syncs
15153
+ * @param {PaginationRequest} paginationRequest Pagination request for syncs
15150
15154
  * @param {*} [options] Override http request option.
15151
15155
  * @throws {RequiredError}
15152
15156
  */
15153
- getSyncs: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
15154
- // verify required parameter 'body' is not null or undefined
15155
- assertParamExists('getSyncs', 'body', body);
15157
+ getSyncs: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
15158
+ // verify required parameter 'paginationRequest' is not null or undefined
15159
+ assertParamExists('getSyncs', 'paginationRequest', paginationRequest);
15156
15160
  const localVarPath = `/api/v2/sync/index`;
15157
15161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
15158
15162
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -15171,7 +15175,7 @@ export const SyncApiAxiosParamCreator = function (configuration) {
15171
15175
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15172
15176
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15173
15177
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15174
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
15178
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
15175
15179
  return {
15176
15180
  url: toPathString(localVarUrlObj),
15177
15181
  options: localVarRequestOptions,
@@ -15201,7 +15205,7 @@ export const SyncApiAxiosParamCreator = function (configuration) {
15201
15205
  // authentication bearerAuth required
15202
15206
  // http bearer authentication required
15203
15207
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15204
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
15208
+ localVarHeaderParameter['Accept'] = 'application/json';
15205
15209
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15206
15210
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15207
15211
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15309,14 +15313,14 @@ export const SyncApiFp = function (configuration) {
15309
15313
  /**
15310
15314
  * Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
15311
15315
  * @summary Fetch paginated syncs
15312
- * @param {any} body Pagination request for syncs
15316
+ * @param {PaginationRequest} paginationRequest Pagination request for syncs
15313
15317
  * @param {*} [options] Override http request option.
15314
15318
  * @throws {RequiredError}
15315
15319
  */
15316
- getSyncs(body, options) {
15320
+ getSyncs(paginationRequest, options) {
15317
15321
  return __awaiter(this, void 0, void 0, function* () {
15318
15322
  var _a, _b, _c;
15319
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSyncs(body, options);
15323
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSyncs(paginationRequest, options);
15320
15324
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15321
15325
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncApi.getSyncs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15322
15326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -15398,12 +15402,12 @@ export const SyncApiFactory = function (configuration, basePath, axios) {
15398
15402
  /**
15399
15403
  * Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
15400
15404
  * @summary Fetch paginated syncs
15401
- * @param {any} body Pagination request for syncs
15405
+ * @param {PaginationRequest} paginationRequest Pagination request for syncs
15402
15406
  * @param {*} [options] Override http request option.
15403
15407
  * @throws {RequiredError}
15404
15408
  */
15405
- getSyncs(body, options) {
15406
- return localVarFp.getSyncs(body, options).then((request) => request(axios, basePath));
15409
+ getSyncs(paginationRequest, options) {
15410
+ return localVarFp.getSyncs(paginationRequest, options).then((request) => request(axios, basePath));
15407
15411
  },
15408
15412
  /**
15409
15413
  * Restores a previously deleted sync by its UUID. Returns a RestoreResponse containing the restored sync details.
@@ -15467,12 +15471,12 @@ export class SyncApi extends BaseAPI {
15467
15471
  /**
15468
15472
  * Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
15469
15473
  * @summary Fetch paginated syncs
15470
- * @param {any} body Pagination request for syncs
15474
+ * @param {PaginationRequest} paginationRequest Pagination request for syncs
15471
15475
  * @param {*} [options] Override http request option.
15472
15476
  * @throws {RequiredError}
15473
15477
  */
15474
- getSyncs(body, options) {
15475
- return SyncApiFp(this.configuration).getSyncs(body, options).then((request) => request(this.axios, this.basePath));
15478
+ getSyncs(paginationRequest, options) {
15479
+ return SyncApiFp(this.configuration).getSyncs(paginationRequest, options).then((request) => request(this.axios, this.basePath));
15476
15480
  }
15477
15481
  /**
15478
15482
  * Restores a previously deleted sync by its UUID. Returns a RestoreResponse containing the restored sync details.
@@ -15506,7 +15510,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15506
15510
  * @summary Create or update a trait for an object
15507
15511
  * @param {string} objectUuid
15508
15512
  * @param {string} traitName
15509
- * @param {string} body Trait details as a JSON map
15513
+ * @param {object} body Trait details as a JSON map
15510
15514
  * @param {*} [options] Override http request option.
15511
15515
  * @throws {RequiredError}
15512
15516
  */
@@ -15571,7 +15575,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15571
15575
  // authentication bearerAuth required
15572
15576
  // http bearer authentication required
15573
15577
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15574
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
15578
+ localVarHeaderParameter['Accept'] = 'application/json';
15575
15579
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15576
15580
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15577
15581
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15608,7 +15612,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15608
15612
  // authentication bearerAuth required
15609
15613
  // http bearer authentication required
15610
15614
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15611
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
15615
+ localVarHeaderParameter['Accept'] = 'application/json';
15612
15616
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15613
15617
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15614
15618
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15641,7 +15645,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15641
15645
  // authentication bearerAuth required
15642
15646
  // http bearer authentication required
15643
15647
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15644
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
15648
+ localVarHeaderParameter['Accept'] = 'application/json';
15645
15649
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15646
15650
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15647
15651
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15694,7 +15698,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15694
15698
  if (switchAccount !== undefined) {
15695
15699
  localVarQueryParameter['switchAccount'] = switchAccount;
15696
15700
  }
15697
- localVarHeaderParameter['Accept'] = 'text/html';
15701
+ localVarHeaderParameter['Accept'] = 'text/html,application/json';
15698
15702
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15699
15703
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15700
15704
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15757,6 +15761,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15757
15761
  localVarFormParams.set('scope', scope);
15758
15762
  }
15759
15763
  localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
15764
+ localVarHeaderParameter['Accept'] = 'application/json';
15760
15765
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15761
15766
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15762
15767
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15810,6 +15815,7 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
15810
15815
  if (scope !== undefined) {
15811
15816
  localVarQueryParameter['scope'] = scope;
15812
15817
  }
15818
+ localVarHeaderParameter['Accept'] = 'application/json';
15813
15819
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15814
15820
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15815
15821
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15877,7 +15883,7 @@ export const TraitsApiFp = function (configuration) {
15877
15883
  * @summary Create or update a trait for an object
15878
15884
  * @param {string} objectUuid
15879
15885
  * @param {string} traitName
15880
- * @param {string} body Trait details as a JSON map
15886
+ * @param {object} body Trait details as a JSON map
15881
15887
  * @param {*} [options] Override http request option.
15882
15888
  * @throws {RequiredError}
15883
15889
  */
@@ -16036,7 +16042,7 @@ export const TraitsApiFactory = function (configuration, basePath, axios) {
16036
16042
  * @summary Create or update a trait for an object
16037
16043
  * @param {string} objectUuid
16038
16044
  * @param {string} traitName
16039
- * @param {string} body Trait details as a JSON map
16045
+ * @param {object} body Trait details as a JSON map
16040
16046
  * @param {*} [options] Override http request option.
16041
16047
  * @throws {RequiredError}
16042
16048
  */
@@ -16145,7 +16151,7 @@ export class TraitsApi extends BaseAPI {
16145
16151
  * @summary Create or update a trait for an object
16146
16152
  * @param {string} objectUuid
16147
16153
  * @param {string} traitName
16148
- * @param {string} body Trait details as a JSON map
16154
+ * @param {object} body Trait details as a JSON map
16149
16155
  * @param {*} [options] Override http request option.
16150
16156
  * @throws {RequiredError}
16151
16157
  */
@@ -16315,7 +16321,7 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16315
16321
  // authentication bearerAuth required
16316
16322
  // http bearer authentication required
16317
16323
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16318
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
16324
+ localVarHeaderParameter['Accept'] = 'application/json';
16319
16325
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16320
16326
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16321
16327
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -16352,7 +16358,7 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16352
16358
  // authentication bearerAuth required
16353
16359
  // http bearer authentication required
16354
16360
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16355
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
16361
+ localVarHeaderParameter['Accept'] = 'application/json';
16356
16362
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16357
16363
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16358
16364
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -16389,7 +16395,7 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16389
16395
  // authentication bearerAuth required
16390
16396
  // http bearer authentication required
16391
16397
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16392
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
16398
+ localVarHeaderParameter['Accept'] = 'application/json';
16393
16399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16394
16400
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16395
16401
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -16402,15 +16408,15 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16402
16408
  * Retrieves a paginated list of views for the specified object. A custom Cypher query is used to filter views based on the object\'s UUID. Returns a PaginationResponse containing ViewDTO objects.
16403
16409
  * @summary Fetch paginated views for an object
16404
16410
  * @param {string} objectUuid
16405
- * @param {any} body Pagination request details (limit, page, filters, sort, query)
16411
+ * @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
16406
16412
  * @param {*} [options] Override http request option.
16407
16413
  * @throws {RequiredError}
16408
16414
  */
16409
- getViews: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
16415
+ getViews: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
16410
16416
  // verify required parameter 'objectUuid' is not null or undefined
16411
16417
  assertParamExists('getViews', 'objectUuid', objectUuid);
16412
- // verify required parameter 'body' is not null or undefined
16413
- assertParamExists('getViews', 'body', body);
16418
+ // verify required parameter 'paginationRequest' is not null or undefined
16419
+ assertParamExists('getViews', 'paginationRequest', paginationRequest);
16414
16420
  const localVarPath = `/api/v2/objects/{objectUuid}/views/index`
16415
16421
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
16416
16422
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16430,7 +16436,7 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16430
16436
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16431
16437
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16432
16438
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16433
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
16439
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
16434
16440
  return {
16435
16441
  url: toPathString(localVarUrlObj),
16436
16442
  options: localVarRequestOptions,
@@ -16440,15 +16446,15 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16440
16446
  * Updates the indices for views associated with the specified object. The request body must include a mapping of view UUIDs to their new index values. Returns a SuccessResponse with the updated view DTOs.
16441
16447
  * @summary Update view indices
16442
16448
  * @param {string} objectUuid
16443
- * @param {string} body Mapping of view UUIDs to new index values
16449
+ * @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
16444
16450
  * @param {*} [options] Override http request option.
16445
16451
  * @throws {RequiredError}
16446
16452
  */
16447
- updateIndices1: (objectUuid_1, body_1, ...args_1) => __awaiter(this, [objectUuid_1, body_1, ...args_1], void 0, function* (objectUuid, body, options = {}) {
16453
+ updateIndices1: (objectUuid_1, requestBody_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, ...args_1], void 0, function* (objectUuid, requestBody, options = {}) {
16448
16454
  // verify required parameter 'objectUuid' is not null or undefined
16449
16455
  assertParamExists('updateIndices1', 'objectUuid', objectUuid);
16450
- // verify required parameter 'body' is not null or undefined
16451
- assertParamExists('updateIndices1', 'body', body);
16456
+ // verify required parameter 'requestBody' is not null or undefined
16457
+ assertParamExists('updateIndices1', 'requestBody', requestBody);
16452
16458
  const localVarPath = `/api/v2/objects/{objectUuid}/views/updateIndices`
16453
16459
  .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
16454
16460
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16468,7 +16474,7 @@ export const ViewsApiAxiosParamCreator = function (configuration) {
16468
16474
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16469
16475
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16470
16476
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16471
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
16477
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
16472
16478
  return {
16473
16479
  url: toPathString(localVarUrlObj),
16474
16480
  options: localVarRequestOptions,
@@ -16596,14 +16602,14 @@ export const ViewsApiFp = function (configuration) {
16596
16602
  * Retrieves a paginated list of views for the specified object. A custom Cypher query is used to filter views based on the object\'s UUID. Returns a PaginationResponse containing ViewDTO objects.
16597
16603
  * @summary Fetch paginated views for an object
16598
16604
  * @param {string} objectUuid
16599
- * @param {any} body Pagination request details (limit, page, filters, sort, query)
16605
+ * @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
16600
16606
  * @param {*} [options] Override http request option.
16601
16607
  * @throws {RequiredError}
16602
16608
  */
16603
- getViews(objectUuid, body, options) {
16609
+ getViews(objectUuid, paginationRequest, options) {
16604
16610
  return __awaiter(this, void 0, void 0, function* () {
16605
16611
  var _a, _b, _c;
16606
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getViews(objectUuid, body, options);
16612
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getViews(objectUuid, paginationRequest, options);
16607
16613
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16608
16614
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ViewsApi.getViews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16609
16615
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16613,14 +16619,14 @@ export const ViewsApiFp = function (configuration) {
16613
16619
  * Updates the indices for views associated with the specified object. The request body must include a mapping of view UUIDs to their new index values. Returns a SuccessResponse with the updated view DTOs.
16614
16620
  * @summary Update view indices
16615
16621
  * @param {string} objectUuid
16616
- * @param {string} body Mapping of view UUIDs to new index values
16622
+ * @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
16617
16623
  * @param {*} [options] Override http request option.
16618
16624
  * @throws {RequiredError}
16619
16625
  */
16620
- updateIndices1(objectUuid, body, options) {
16626
+ updateIndices1(objectUuid, requestBody, options) {
16621
16627
  return __awaiter(this, void 0, void 0, function* () {
16622
16628
  var _a, _b, _c;
16623
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices1(objectUuid, body, options);
16629
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices1(objectUuid, requestBody, options);
16624
16630
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16625
16631
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ViewsApi.updateIndices1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16626
16632
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -16700,23 +16706,23 @@ export const ViewsApiFactory = function (configuration, basePath, axios) {
16700
16706
  * Retrieves a paginated list of views for the specified object. A custom Cypher query is used to filter views based on the object\'s UUID. Returns a PaginationResponse containing ViewDTO objects.
16701
16707
  * @summary Fetch paginated views for an object
16702
16708
  * @param {string} objectUuid
16703
- * @param {any} body Pagination request details (limit, page, filters, sort, query)
16709
+ * @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
16704
16710
  * @param {*} [options] Override http request option.
16705
16711
  * @throws {RequiredError}
16706
16712
  */
16707
- getViews(objectUuid, body, options) {
16708
- return localVarFp.getViews(objectUuid, body, options).then((request) => request(axios, basePath));
16713
+ getViews(objectUuid, paginationRequest, options) {
16714
+ return localVarFp.getViews(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
16709
16715
  },
16710
16716
  /**
16711
16717
  * Updates the indices for views associated with the specified object. The request body must include a mapping of view UUIDs to their new index values. Returns a SuccessResponse with the updated view DTOs.
16712
16718
  * @summary Update view indices
16713
16719
  * @param {string} objectUuid
16714
- * @param {string} body Mapping of view UUIDs to new index values
16720
+ * @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
16715
16721
  * @param {*} [options] Override http request option.
16716
16722
  * @throws {RequiredError}
16717
16723
  */
16718
- updateIndices1(objectUuid, body, options) {
16719
- return localVarFp.updateIndices1(objectUuid, body, options).then((request) => request(axios, basePath));
16724
+ updateIndices1(objectUuid, requestBody, options) {
16725
+ return localVarFp.updateIndices1(objectUuid, requestBody, options).then((request) => request(axios, basePath));
16720
16726
  },
16721
16727
  /**
16722
16728
  * Updates the details of an existing view identified by its UUID for the specified object. The request body must contain the updated view details as a ViewDTO. Returns an UpdateResponse with the updated view data.
@@ -16784,23 +16790,23 @@ export class ViewsApi extends BaseAPI {
16784
16790
  * Retrieves a paginated list of views for the specified object. A custom Cypher query is used to filter views based on the object\'s UUID. Returns a PaginationResponse containing ViewDTO objects.
16785
16791
  * @summary Fetch paginated views for an object
16786
16792
  * @param {string} objectUuid
16787
- * @param {any} body Pagination request details (limit, page, filters, sort, query)
16793
+ * @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
16788
16794
  * @param {*} [options] Override http request option.
16789
16795
  * @throws {RequiredError}
16790
16796
  */
16791
- getViews(objectUuid, body, options) {
16792
- return ViewsApiFp(this.configuration).getViews(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
16797
+ getViews(objectUuid, paginationRequest, options) {
16798
+ return ViewsApiFp(this.configuration).getViews(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
16793
16799
  }
16794
16800
  /**
16795
16801
  * Updates the indices for views associated with the specified object. The request body must include a mapping of view UUIDs to their new index values. Returns a SuccessResponse with the updated view DTOs.
16796
16802
  * @summary Update view indices
16797
16803
  * @param {string} objectUuid
16798
- * @param {string} body Mapping of view UUIDs to new index values
16804
+ * @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
16799
16805
  * @param {*} [options] Override http request option.
16800
16806
  * @throws {RequiredError}
16801
16807
  */
16802
- updateIndices1(objectUuid, body, options) {
16803
- return ViewsApiFp(this.configuration).updateIndices1(objectUuid, body, options).then((request) => request(this.axios, this.basePath));
16808
+ updateIndices1(objectUuid, requestBody, options) {
16809
+ return ViewsApiFp(this.configuration).updateIndices1(objectUuid, requestBody, options).then((request) => request(this.axios, this.basePath));
16804
16810
  }
16805
16811
  /**
16806
16812
  * Updates the details of an existing view identified by its UUID for the specified object. The request body must contain the updated view details as a ViewDTO. Returns an UpdateResponse with the updated view data.
@@ -16923,13 +16929,13 @@ export const WebMenusApiAxiosParamCreator = function (configuration) {
16923
16929
  /**
16924
16930
  * Index web menus
16925
16931
  * @summary Index web menus
16926
- * @param {any} body
16932
+ * @param {PaginationRequest} paginationRequest
16927
16933
  * @param {*} [options] Override http request option.
16928
16934
  * @throws {RequiredError}
16929
16935
  */
16930
- indexWebMenus: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
16931
- // verify required parameter 'body' is not null or undefined
16932
- assertParamExists('indexWebMenus', 'body', body);
16936
+ indexWebMenus: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
16937
+ // verify required parameter 'paginationRequest' is not null or undefined
16938
+ assertParamExists('indexWebMenus', 'paginationRequest', paginationRequest);
16933
16939
  const localVarPath = `/api/v2/webmenus/index`;
16934
16940
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16935
16941
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16948,7 +16954,7 @@ export const WebMenusApiAxiosParamCreator = function (configuration) {
16948
16954
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16949
16955
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16950
16956
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16951
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
16957
+ localVarRequestOptions.data = serializeDataIfNeeded(paginationRequest, localVarRequestOptions, configuration);
16952
16958
  return {
16953
16959
  url: toPathString(localVarUrlObj),
16954
16960
  options: localVarRequestOptions,
@@ -16978,7 +16984,7 @@ export const WebMenusApiAxiosParamCreator = function (configuration) {
16978
16984
  // authentication bearerAuth required
16979
16985
  // http bearer authentication required
16980
16986
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16981
- localVarHeaderParameter['Accept'] = 'application/json,*/*';
16987
+ localVarHeaderParameter['Accept'] = 'application/json';
16982
16988
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16983
16989
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16984
16990
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -17084,14 +17090,14 @@ export const WebMenusApiFp = function (configuration) {
17084
17090
  /**
17085
17091
  * Index web menus
17086
17092
  * @summary Index web menus
17087
- * @param {any} body
17093
+ * @param {PaginationRequest} paginationRequest
17088
17094
  * @param {*} [options] Override http request option.
17089
17095
  * @throws {RequiredError}
17090
17096
  */
17091
- indexWebMenus(body, options) {
17097
+ indexWebMenus(paginationRequest, options) {
17092
17098
  return __awaiter(this, void 0, void 0, function* () {
17093
17099
  var _a, _b, _c;
17094
- const localVarAxiosArgs = yield localVarAxiosParamCreator.indexWebMenus(body, options);
17100
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.indexWebMenus(paginationRequest, options);
17095
17101
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17096
17102
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebMenusApi.indexWebMenus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17097
17103
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17171,12 +17177,12 @@ export const WebMenusApiFactory = function (configuration, basePath, axios) {
17171
17177
  /**
17172
17178
  * Index web menus
17173
17179
  * @summary Index web menus
17174
- * @param {any} body
17180
+ * @param {PaginationRequest} paginationRequest
17175
17181
  * @param {*} [options] Override http request option.
17176
17182
  * @throws {RequiredError}
17177
17183
  */
17178
- indexWebMenus(body, options) {
17179
- return localVarFp.indexWebMenus(body, options).then((request) => request(axios, basePath));
17184
+ indexWebMenus(paginationRequest, options) {
17185
+ return localVarFp.indexWebMenus(paginationRequest, options).then((request) => request(axios, basePath));
17180
17186
  },
17181
17187
  /**
17182
17188
  * Restore a deleted web menu by its UUID
@@ -17238,12 +17244,12 @@ export class WebMenusApi extends BaseAPI {
17238
17244
  /**
17239
17245
  * Index web menus
17240
17246
  * @summary Index web menus
17241
- * @param {any} body
17247
+ * @param {PaginationRequest} paginationRequest
17242
17248
  * @param {*} [options] Override http request option.
17243
17249
  * @throws {RequiredError}
17244
17250
  */
17245
- indexWebMenus(body, options) {
17246
- return WebMenusApiFp(this.configuration).indexWebMenus(body, options).then((request) => request(this.axios, this.basePath));
17251
+ indexWebMenus(paginationRequest, options) {
17252
+ return WebMenusApiFp(this.configuration).indexWebMenus(paginationRequest, options).then((request) => request(this.axios, this.basePath));
17247
17253
  }
17248
17254
  /**
17249
17255
  * Restore a deleted web menu by its UUID