@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.
- package/.openapi-generator/FILES +87 -2
- package/api.ts +1952 -755
- package/dist/api.d.ts +2039 -713
- package/dist/api.js +471 -465
- package/dist/esm/api.d.ts +2039 -713
- package/dist/esm/api.js +468 -462
- package/docs/AppBarIframeSessionsApi.md +10 -4
- package/docs/AppBarsApi.md +11 -4
- package/docs/AppInstallationRuntimeApi.md +58 -0
- package/docs/ApplicationsApi.md +128 -58
- package/docs/AutomationsApi.md +6 -4
- package/docs/BillingApi.md +10 -4
- package/docs/CRUD.md +24 -0
- package/docs/CompanyApi.md +44 -18
- package/docs/CreateResponseFeedDTO.md +23 -0
- package/docs/CreateResponseMapStringString.md +23 -0
- package/docs/DeleteResponseFeedDTO.md +23 -0
- package/docs/DeveloperProjectsApi.md +31 -6
- package/docs/DeveloperSandboxDTO.md +43 -0
- package/docs/DeveloperSandboxesApi.md +12 -2
- package/docs/ErrorResponse.md +3 -3
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/FeedsApi.md +11 -6
- package/docs/FileManagementApi.md +19 -9
- package/docs/FilterApi.md +21 -8
- package/docs/FlowPaginationRequest.md +43 -0
- package/docs/FormsApi.md +95 -56
- package/docs/ModuleApi.md +61 -38
- package/docs/NotificationsApi.md +15 -2
- package/docs/ObjectsApi.md +80 -39
- package/docs/PaginationRequest.md +31 -0
- package/docs/PaginationResponseAppDTO.md +31 -0
- package/docs/PaginationResponseCaraerObjectDTO.md +31 -0
- package/docs/PaginationResponseCompanyDTO.md +31 -0
- package/docs/{PaginationResponse.md → PaginationResponseFeedDTO.md} +4 -4
- package/docs/PaginationResponseFormDTO.md +31 -0
- package/docs/PaginationResponseMapStringObject.md +31 -0
- package/docs/PaginationResponseObject.md +31 -0
- package/docs/PaginationResponsePageContentDTO.md +31 -0
- package/docs/PaginationResponsePropertyCalculationTypeDTO.md +31 -0
- package/docs/PaginationResponsePropertyDTO.md +31 -0
- package/docs/PaginationResponsePropertyFormat.md +31 -0
- package/docs/PaginationResponsePropertyOption.md +31 -0
- package/docs/PaginationResponsePublicEnvironmentDTO.md +31 -0
- package/docs/PaginationResponsePublicFormDTO.md +31 -0
- package/docs/PaginationResponseRelationDTO.md +31 -0
- package/docs/PaginationResponseSavedFilterDTO.md +31 -0
- package/docs/PaginationResponseServerlessFunctionDTO.md +31 -0
- package/docs/PaginationResponseSubscribeWebhookDTO.md +31 -0
- package/docs/PaginationResponseSyncDTO.md +31 -0
- package/docs/PaginationResponseTraitDTO.md +31 -0
- package/docs/PaginationResponseViewDTO.md +31 -0
- package/docs/PaginationResponseWebMenuDTO.md +31 -0
- package/docs/ProjectBuildDTO.md +55 -0
- package/docs/ProjectDeployDTO.md +53 -0
- package/docs/PropertyApi.md +84 -47
- package/docs/PublicFormDTO.md +55 -0
- package/docs/RecordPaginationRequest.md +37 -0
- package/docs/RecordsApi.md +141 -60
- package/docs/RelationsApi.md +82 -48
- package/docs/SearchRequest.md +29 -0
- package/docs/ServerlessFunctionsApi.md +42 -16
- package/docs/ShowResponse.md +3 -3
- package/docs/ShowResponseAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionContextDTO.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionTokenDTO.md +23 -0
- package/docs/ShowResponseAppDTO.md +23 -0
- package/docs/ShowResponseBillingStatusDTO.md +23 -0
- package/docs/ShowResponseCaraerObjectDTO.md +23 -0
- package/docs/ShowResponseCompanyDTO.md +23 -0
- package/docs/ShowResponseDeveloperProjectDTO.md +23 -0
- package/docs/ShowResponseDigitalIdentityDTO.md +23 -0
- package/docs/ShowResponseFeedDTO.md +23 -0
- package/docs/ShowResponseFormDTO.md +23 -0
- package/docs/ShowResponseListEnvironmentDTO.md +23 -0
- package/docs/ShowResponseListFormObjectSummaryDTO.md +23 -0
- package/docs/ShowResponseListInstalledAppBarDTO.md +23 -0
- package/docs/ShowResponseListPropertyDTO.md +23 -0
- package/docs/ShowResponseListWebpagePickerItemDTO.md +23 -0
- package/docs/ShowResponseLoadAppSettingOptionsResponse.md +23 -0
- package/docs/ShowResponseMapStringAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseMapStringBoolean.md +23 -0
- package/docs/ShowResponseMapStringString.md +23 -0
- package/docs/ShowResponsePageContentDTO.md +23 -0
- package/docs/ShowResponsePreviewDTO.md +23 -0
- package/docs/ShowResponsePropertyDTO.md +23 -0
- package/docs/ShowResponsePublicFormDTO.md +23 -0
- package/docs/ShowResponseRelationDTO.md +23 -0
- package/docs/ShowResponseSavedFilterDTO.md +23 -0
- package/docs/ShowResponseServerlessFunctionDTO.md +23 -0
- package/docs/ShowResponseString.md +23 -0
- package/docs/ShowResponseSubscribeWebhookDTO.md +23 -0
- package/docs/ShowResponseTemplateWebpageDTO.md +23 -0
- package/docs/ShowResponseTraitDTO.md +23 -0
- package/docs/ShowResponseViewDTO.md +23 -0
- package/docs/ShowResponseWebMenuDTO.md +23 -0
- package/docs/ShowResponseWebsiteSettingsDTO.md +23 -0
- package/docs/SuccessResponseAggregateResponse.md +23 -0
- package/docs/SuccessResponseCollectionRelation.md +23 -0
- package/docs/SuccessResponseCompanyDTO.md +23 -0
- package/docs/{SuccessResponse.md → SuccessResponseFeedDTO.md} +4 -4
- package/docs/SuccessResponseFlow.md +23 -0
- package/docs/SuccessResponseListAggregateResponse.md +23 -0
- package/docs/SuccessResponseListCaraerObjectDTO.md +23 -0
- package/docs/SuccessResponseListDeveloperSandboxDTO.md +23 -0
- package/docs/SuccessResponseListMapStringObject.md +23 -0
- package/docs/SuccessResponseListProjectBuildDTO.md +23 -0
- package/docs/SuccessResponseListProjectDeployDTO.md +23 -0
- package/docs/SuccessResponseListPropertyDTO.md +23 -0
- package/docs/SuccessResponseListString.md +23 -0
- package/docs/SuccessResponseMapStringInteger.md +23 -0
- package/docs/SuccessResponseMapStringObject.md +23 -0
- package/docs/SuccessResponseObject.md +23 -0
- package/docs/SuccessResponseSuggestAnalyticsWidgetsResponse.md +23 -0
- package/docs/SuccessResponseTable.md +23 -0
- package/docs/SyncApi.md +27 -9
- package/docs/TraitsApi.md +41 -23
- package/docs/UpdateResponseFeedDTO.md +23 -0
- package/docs/ViewsApi.md +44 -26
- package/docs/WebMenusApi.md +30 -12
- package/docs/WebpagesApi.md +128 -24
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = void 0;
|
|
25
|
+
exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CaraerErrorTypeTypeEnum = exports.CRUDSessionTypeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarDTOLocationEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
|
|
26
|
+
exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.PreviewParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -59,6 +59,10 @@ exports.AppDTOAuthMethodEnum = {
|
|
|
59
59
|
ApiKey: 'API_KEY',
|
|
60
60
|
Oauth2: 'OAUTH2',
|
|
61
61
|
};
|
|
62
|
+
exports.CRUDSessionTypeEnum = {
|
|
63
|
+
Main: 'MAIN',
|
|
64
|
+
User: 'USER',
|
|
65
|
+
};
|
|
62
66
|
exports.CaraerErrorTypeTypeEnum = {
|
|
63
67
|
Validation: 'VALIDATION',
|
|
64
68
|
NotFound: 'NOT_FOUND',
|
|
@@ -1910,15 +1914,15 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1910
1914
|
* Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
|
|
1911
1915
|
* @summary Retrieve a paginated list of webhooks for an app
|
|
1912
1916
|
* @param {string} appUuid UUID of the application for which to retrieve webhooks
|
|
1913
|
-
* @param {
|
|
1917
|
+
* @param {PaginationRequest} paginationRequest
|
|
1914
1918
|
* @param {*} [options] Override http request option.
|
|
1915
1919
|
* @throws {RequiredError}
|
|
1916
1920
|
*/
|
|
1917
|
-
getAppWebhooks: (appUuid_1,
|
|
1921
|
+
getAppWebhooks: (appUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [appUuid_1, paginationRequest_1, ...args_1], void 0, function* (appUuid, paginationRequest, options = {}) {
|
|
1918
1922
|
// verify required parameter 'appUuid' is not null or undefined
|
|
1919
1923
|
(0, common_1.assertParamExists)('getAppWebhooks', 'appUuid', appUuid);
|
|
1920
|
-
// verify required parameter '
|
|
1921
|
-
(0, common_1.assertParamExists)('getAppWebhooks', '
|
|
1924
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
1925
|
+
(0, common_1.assertParamExists)('getAppWebhooks', 'paginationRequest', paginationRequest);
|
|
1922
1926
|
const localVarPath = `/api/v2/apps/{appUuid}/webhooks/index`
|
|
1923
1927
|
.replace('{appUuid}', encodeURIComponent(String(appUuid)));
|
|
1924
1928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1938,7 +1942,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1938
1942
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1939
1943
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1940
1944
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1941
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1945
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
1942
1946
|
return {
|
|
1943
1947
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1944
1948
|
options: localVarRequestOptions,
|
|
@@ -1947,15 +1951,15 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1947
1951
|
/**
|
|
1948
1952
|
* 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.
|
|
1949
1953
|
* @summary Retrieve a paginated list of applications
|
|
1950
|
-
* @param {
|
|
1954
|
+
* @param {PaginationRequest} paginationRequest
|
|
1951
1955
|
* @param {string} [type]
|
|
1952
1956
|
* @param {boolean} [installedOnly]
|
|
1953
1957
|
* @param {*} [options] Override http request option.
|
|
1954
1958
|
* @throws {RequiredError}
|
|
1955
1959
|
*/
|
|
1956
|
-
getApps: (
|
|
1957
|
-
// verify required parameter '
|
|
1958
|
-
(0, common_1.assertParamExists)('getApps', '
|
|
1960
|
+
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 = {}) {
|
|
1961
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
1962
|
+
(0, common_1.assertParamExists)('getApps', 'paginationRequest', paginationRequest);
|
|
1959
1963
|
const localVarPath = `/api/v2/apps/index`;
|
|
1960
1964
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1961
1965
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1980,7 +1984,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1980
1984
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1981
1985
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1982
1986
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1983
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1987
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
1984
1988
|
return {
|
|
1985
1989
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1986
1990
|
options: localVarRequestOptions,
|
|
@@ -2022,13 +2026,13 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
2022
2026
|
/**
|
|
2023
2027
|
* Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
|
|
2024
2028
|
* @summary Retrieve apps created by the logged-in user\'s selected company
|
|
2025
|
-
* @param {
|
|
2029
|
+
* @param {PaginationRequest} paginationRequest
|
|
2026
2030
|
* @param {*} [options] Override http request option.
|
|
2027
2031
|
* @throws {RequiredError}
|
|
2028
2032
|
*/
|
|
2029
|
-
getMyCreatedApps: (
|
|
2030
|
-
// verify required parameter '
|
|
2031
|
-
(0, common_1.assertParamExists)('getMyCreatedApps', '
|
|
2033
|
+
getMyCreatedApps: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
2034
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
2035
|
+
(0, common_1.assertParamExists)('getMyCreatedApps', 'paginationRequest', paginationRequest);
|
|
2032
2036
|
const localVarPath = `/api/v2/apps/my/index`;
|
|
2033
2037
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2034
2038
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2047,7 +2051,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
2047
2051
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2048
2052
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2049
2053
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2050
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
2054
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
2051
2055
|
return {
|
|
2052
2056
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2053
2057
|
options: localVarRequestOptions,
|
|
@@ -2466,7 +2470,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
2466
2470
|
// authentication bearerAuth required
|
|
2467
2471
|
// http bearer authentication required
|
|
2468
2472
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2469
|
-
localVarHeaderParameter['Accept'] = 'text/event-stream';
|
|
2473
|
+
localVarHeaderParameter['Accept'] = 'text/event-stream,application/json';
|
|
2470
2474
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2471
2475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2472
2476
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2862,14 +2866,14 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
2862
2866
|
* Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
|
|
2863
2867
|
* @summary Retrieve a paginated list of webhooks for an app
|
|
2864
2868
|
* @param {string} appUuid UUID of the application for which to retrieve webhooks
|
|
2865
|
-
* @param {
|
|
2869
|
+
* @param {PaginationRequest} paginationRequest
|
|
2866
2870
|
* @param {*} [options] Override http request option.
|
|
2867
2871
|
* @throws {RequiredError}
|
|
2868
2872
|
*/
|
|
2869
|
-
getAppWebhooks(appUuid,
|
|
2873
|
+
getAppWebhooks(appUuid, paginationRequest, options) {
|
|
2870
2874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2871
2875
|
var _a, _b, _c;
|
|
2872
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAppWebhooks(appUuid,
|
|
2876
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAppWebhooks(appUuid, paginationRequest, 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 = base_1.operationServerMap['ApplicationsApi.getAppWebhooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2875
2879
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2878,16 +2882,16 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
2878
2882
|
/**
|
|
2879
2883
|
* 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.
|
|
2880
2884
|
* @summary Retrieve a paginated list of applications
|
|
2881
|
-
* @param {
|
|
2885
|
+
* @param {PaginationRequest} paginationRequest
|
|
2882
2886
|
* @param {string} [type]
|
|
2883
2887
|
* @param {boolean} [installedOnly]
|
|
2884
2888
|
* @param {*} [options] Override http request option.
|
|
2885
2889
|
* @throws {RequiredError}
|
|
2886
2890
|
*/
|
|
2887
|
-
getApps(
|
|
2891
|
+
getApps(paginationRequest, type, installedOnly, options) {
|
|
2888
2892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2889
2893
|
var _a, _b, _c;
|
|
2890
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApps(
|
|
2894
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApps(paginationRequest, type, installedOnly, options);
|
|
2891
2895
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2892
2896
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationsApi.getApps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2893
2897
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2912,14 +2916,14 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
2912
2916
|
/**
|
|
2913
2917
|
* Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
|
|
2914
2918
|
* @summary Retrieve apps created by the logged-in user\'s selected company
|
|
2915
|
-
* @param {
|
|
2919
|
+
* @param {PaginationRequest} paginationRequest
|
|
2916
2920
|
* @param {*} [options] Override http request option.
|
|
2917
2921
|
* @throws {RequiredError}
|
|
2918
2922
|
*/
|
|
2919
|
-
getMyCreatedApps(
|
|
2923
|
+
getMyCreatedApps(paginationRequest, options) {
|
|
2920
2924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2921
2925
|
var _a, _b, _c;
|
|
2922
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyCreatedApps(
|
|
2926
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyCreatedApps(paginationRequest, options);
|
|
2923
2927
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2924
2928
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationsApi.getMyCreatedApps']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2925
2929
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3321,24 +3325,24 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3321
3325
|
* Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
|
|
3322
3326
|
* @summary Retrieve a paginated list of webhooks for an app
|
|
3323
3327
|
* @param {string} appUuid UUID of the application for which to retrieve webhooks
|
|
3324
|
-
* @param {
|
|
3328
|
+
* @param {PaginationRequest} paginationRequest
|
|
3325
3329
|
* @param {*} [options] Override http request option.
|
|
3326
3330
|
* @throws {RequiredError}
|
|
3327
3331
|
*/
|
|
3328
|
-
getAppWebhooks(appUuid,
|
|
3329
|
-
return localVarFp.getAppWebhooks(appUuid,
|
|
3332
|
+
getAppWebhooks(appUuid, paginationRequest, options) {
|
|
3333
|
+
return localVarFp.getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
3330
3334
|
},
|
|
3331
3335
|
/**
|
|
3332
3336
|
* 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.
|
|
3333
3337
|
* @summary Retrieve a paginated list of applications
|
|
3334
|
-
* @param {
|
|
3338
|
+
* @param {PaginationRequest} paginationRequest
|
|
3335
3339
|
* @param {string} [type]
|
|
3336
3340
|
* @param {boolean} [installedOnly]
|
|
3337
3341
|
* @param {*} [options] Override http request option.
|
|
3338
3342
|
* @throws {RequiredError}
|
|
3339
3343
|
*/
|
|
3340
|
-
getApps(
|
|
3341
|
-
return localVarFp.getApps(
|
|
3344
|
+
getApps(paginationRequest, type, installedOnly, options) {
|
|
3345
|
+
return localVarFp.getApps(paginationRequest, type, installedOnly, options).then((request) => request(axios, basePath));
|
|
3342
3346
|
},
|
|
3343
3347
|
/**
|
|
3344
3348
|
* Retrieves the company information of the authenticated user. The response includes public details of the user\'s selected company.
|
|
@@ -3353,12 +3357,12 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3353
3357
|
/**
|
|
3354
3358
|
* Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
|
|
3355
3359
|
* @summary Retrieve apps created by the logged-in user\'s selected company
|
|
3356
|
-
* @param {
|
|
3360
|
+
* @param {PaginationRequest} paginationRequest
|
|
3357
3361
|
* @param {*} [options] Override http request option.
|
|
3358
3362
|
* @throws {RequiredError}
|
|
3359
3363
|
*/
|
|
3360
|
-
getMyCreatedApps(
|
|
3361
|
-
return localVarFp.getMyCreatedApps(
|
|
3364
|
+
getMyCreatedApps(paginationRequest, options) {
|
|
3365
|
+
return localVarFp.getMyCreatedApps(paginationRequest, options).then((request) => request(axios, basePath));
|
|
3362
3366
|
},
|
|
3363
3367
|
/**
|
|
3364
3368
|
* Gets the full app for the creator, including appPublish, appBars, details, and pricing. Returns AppCreatorDTO with everything under App.
|
|
@@ -3640,24 +3644,24 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
3640
3644
|
* Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
|
|
3641
3645
|
* @summary Retrieve a paginated list of webhooks for an app
|
|
3642
3646
|
* @param {string} appUuid UUID of the application for which to retrieve webhooks
|
|
3643
|
-
* @param {
|
|
3647
|
+
* @param {PaginationRequest} paginationRequest
|
|
3644
3648
|
* @param {*} [options] Override http request option.
|
|
3645
3649
|
* @throws {RequiredError}
|
|
3646
3650
|
*/
|
|
3647
|
-
getAppWebhooks(appUuid,
|
|
3648
|
-
return (0, exports.ApplicationsApiFp)(this.configuration).getAppWebhooks(appUuid,
|
|
3651
|
+
getAppWebhooks(appUuid, paginationRequest, options) {
|
|
3652
|
+
return (0, exports.ApplicationsApiFp)(this.configuration).getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3649
3653
|
}
|
|
3650
3654
|
/**
|
|
3651
3655
|
* 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.
|
|
3652
3656
|
* @summary Retrieve a paginated list of applications
|
|
3653
|
-
* @param {
|
|
3657
|
+
* @param {PaginationRequest} paginationRequest
|
|
3654
3658
|
* @param {string} [type]
|
|
3655
3659
|
* @param {boolean} [installedOnly]
|
|
3656
3660
|
* @param {*} [options] Override http request option.
|
|
3657
3661
|
* @throws {RequiredError}
|
|
3658
3662
|
*/
|
|
3659
|
-
getApps(
|
|
3660
|
-
return (0, exports.ApplicationsApiFp)(this.configuration).getApps(
|
|
3663
|
+
getApps(paginationRequest, type, installedOnly, options) {
|
|
3664
|
+
return (0, exports.ApplicationsApiFp)(this.configuration).getApps(paginationRequest, type, installedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
3661
3665
|
}
|
|
3662
3666
|
/**
|
|
3663
3667
|
* Retrieves the company information of the authenticated user. The response includes public details of the user\'s selected company.
|
|
@@ -3672,12 +3676,12 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
3672
3676
|
/**
|
|
3673
3677
|
* Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
|
|
3674
3678
|
* @summary Retrieve apps created by the logged-in user\'s selected company
|
|
3675
|
-
* @param {
|
|
3679
|
+
* @param {PaginationRequest} paginationRequest
|
|
3676
3680
|
* @param {*} [options] Override http request option.
|
|
3677
3681
|
* @throws {RequiredError}
|
|
3678
3682
|
*/
|
|
3679
|
-
getMyCreatedApps(
|
|
3680
|
-
return (0, exports.ApplicationsApiFp)(this.configuration).getMyCreatedApps(
|
|
3683
|
+
getMyCreatedApps(paginationRequest, options) {
|
|
3684
|
+
return (0, exports.ApplicationsApiFp)(this.configuration).getMyCreatedApps(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3681
3685
|
}
|
|
3682
3686
|
/**
|
|
3683
3687
|
* Gets the full app for the creator, including appPublish, appBars, details, and pricing. Returns AppCreatorDTO with everything under App.
|
|
@@ -5847,13 +5851,13 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
5847
5851
|
/**
|
|
5848
5852
|
*
|
|
5849
5853
|
* @summary List feeds
|
|
5850
|
-
* @param {
|
|
5854
|
+
* @param {PaginationRequest} paginationRequest
|
|
5851
5855
|
* @param {*} [options] Override http request option.
|
|
5852
5856
|
* @throws {RequiredError}
|
|
5853
5857
|
*/
|
|
5854
|
-
index1: (
|
|
5855
|
-
// verify required parameter '
|
|
5856
|
-
(0, common_1.assertParamExists)('index1', '
|
|
5858
|
+
index1: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
5859
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
5860
|
+
(0, common_1.assertParamExists)('index1', 'paginationRequest', paginationRequest);
|
|
5857
5861
|
const localVarPath = `/api/v2/feeds/index`;
|
|
5858
5862
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5859
5863
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5872,7 +5876,7 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
5872
5876
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5873
5877
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5874
5878
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5875
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
5879
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
5876
5880
|
return {
|
|
5877
5881
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5878
5882
|
options: localVarRequestOptions,
|
|
@@ -5890,14 +5894,14 @@ const FeedsApiFp = function (configuration) {
|
|
|
5890
5894
|
/**
|
|
5891
5895
|
*
|
|
5892
5896
|
* @summary List feeds
|
|
5893
|
-
* @param {
|
|
5897
|
+
* @param {PaginationRequest} paginationRequest
|
|
5894
5898
|
* @param {*} [options] Override http request option.
|
|
5895
5899
|
* @throws {RequiredError}
|
|
5896
5900
|
*/
|
|
5897
|
-
index1(
|
|
5901
|
+
index1(paginationRequest, options) {
|
|
5898
5902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5899
5903
|
var _a, _b, _c;
|
|
5900
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.index1(
|
|
5904
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.index1(paginationRequest, options);
|
|
5901
5905
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5902
5906
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeedsApi.index1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5903
5907
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5915,12 +5919,12 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
5915
5919
|
/**
|
|
5916
5920
|
*
|
|
5917
5921
|
* @summary List feeds
|
|
5918
|
-
* @param {
|
|
5922
|
+
* @param {PaginationRequest} paginationRequest
|
|
5919
5923
|
* @param {*} [options] Override http request option.
|
|
5920
5924
|
* @throws {RequiredError}
|
|
5921
5925
|
*/
|
|
5922
|
-
index1(
|
|
5923
|
-
return localVarFp.index1(
|
|
5926
|
+
index1(paginationRequest, options) {
|
|
5927
|
+
return localVarFp.index1(paginationRequest, options).then((request) => request(axios, basePath));
|
|
5924
5928
|
},
|
|
5925
5929
|
};
|
|
5926
5930
|
};
|
|
@@ -5932,12 +5936,12 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
5932
5936
|
/**
|
|
5933
5937
|
*
|
|
5934
5938
|
* @summary List feeds
|
|
5935
|
-
* @param {
|
|
5939
|
+
* @param {PaginationRequest} paginationRequest
|
|
5936
5940
|
* @param {*} [options] Override http request option.
|
|
5937
5941
|
* @throws {RequiredError}
|
|
5938
5942
|
*/
|
|
5939
|
-
index1(
|
|
5940
|
-
return (0, exports.FeedsApiFp)(this.configuration).index1(
|
|
5943
|
+
index1(paginationRequest, options) {
|
|
5944
|
+
return (0, exports.FeedsApiFp)(this.configuration).index1(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5941
5945
|
}
|
|
5942
5946
|
}
|
|
5943
5947
|
exports.FeedsApi = FeedsApi;
|
|
@@ -6376,15 +6380,15 @@ const FilterApiAxiosParamCreator = function (configuration) {
|
|
|
6376
6380
|
* Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
|
|
6377
6381
|
* @summary Fetch paginated saved filters
|
|
6378
6382
|
* @param {string} objectUuid
|
|
6379
|
-
* @param {
|
|
6383
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
6380
6384
|
* @param {*} [options] Override http request option.
|
|
6381
6385
|
* @throws {RequiredError}
|
|
6382
6386
|
*/
|
|
6383
|
-
getFilters: (objectUuid_1,
|
|
6387
|
+
getFilters: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
|
|
6384
6388
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
6385
6389
|
(0, common_1.assertParamExists)('getFilters', 'objectUuid', objectUuid);
|
|
6386
|
-
// verify required parameter '
|
|
6387
|
-
(0, common_1.assertParamExists)('getFilters', '
|
|
6390
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
6391
|
+
(0, common_1.assertParamExists)('getFilters', 'paginationRequest', paginationRequest);
|
|
6388
6392
|
const localVarPath = `/api/v2/filters/index/{objectUuid}`
|
|
6389
6393
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
6390
6394
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6404,7 +6408,7 @@ const FilterApiAxiosParamCreator = function (configuration) {
|
|
|
6404
6408
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6405
6409
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6406
6410
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6407
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
6411
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
6408
6412
|
return {
|
|
6409
6413
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6410
6414
|
options: localVarRequestOptions,
|
|
@@ -6509,14 +6513,14 @@ const FilterApiFp = function (configuration) {
|
|
|
6509
6513
|
* Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
|
|
6510
6514
|
* @summary Fetch paginated saved filters
|
|
6511
6515
|
* @param {string} objectUuid
|
|
6512
|
-
* @param {
|
|
6516
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
6513
6517
|
* @param {*} [options] Override http request option.
|
|
6514
6518
|
* @throws {RequiredError}
|
|
6515
6519
|
*/
|
|
6516
|
-
getFilters(objectUuid,
|
|
6520
|
+
getFilters(objectUuid, paginationRequest, options) {
|
|
6517
6521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6518
6522
|
var _a, _b, _c;
|
|
6519
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilters(objectUuid,
|
|
6523
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilters(objectUuid, paginationRequest, options);
|
|
6520
6524
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6521
6525
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilterApi.getFilters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6522
6526
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6582,12 +6586,12 @@ const FilterApiFactory = function (configuration, basePath, axios) {
|
|
|
6582
6586
|
* Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
|
|
6583
6587
|
* @summary Fetch paginated saved filters
|
|
6584
6588
|
* @param {string} objectUuid
|
|
6585
|
-
* @param {
|
|
6589
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
6586
6590
|
* @param {*} [options] Override http request option.
|
|
6587
6591
|
* @throws {RequiredError}
|
|
6588
6592
|
*/
|
|
6589
|
-
getFilters(objectUuid,
|
|
6590
|
-
return localVarFp.getFilters(objectUuid,
|
|
6593
|
+
getFilters(objectUuid, paginationRequest, options) {
|
|
6594
|
+
return localVarFp.getFilters(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
6591
6595
|
},
|
|
6592
6596
|
/**
|
|
6593
6597
|
* Updates an existing saved filter identified by its UUID.
|
|
@@ -6641,12 +6645,12 @@ class FilterApi extends base_1.BaseAPI {
|
|
|
6641
6645
|
* Fetches a paginated list of saved filters. The request body should contain pagination details such as limit, page, filters, and sort.
|
|
6642
6646
|
* @summary Fetch paginated saved filters
|
|
6643
6647
|
* @param {string} objectUuid
|
|
6644
|
-
* @param {
|
|
6648
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
6645
6649
|
* @param {*} [options] Override http request option.
|
|
6646
6650
|
* @throws {RequiredError}
|
|
6647
6651
|
*/
|
|
6648
|
-
getFilters(objectUuid,
|
|
6649
|
-
return (0, exports.FilterApiFp)(this.configuration).getFilters(objectUuid,
|
|
6652
|
+
getFilters(objectUuid, paginationRequest, options) {
|
|
6653
|
+
return (0, exports.FilterApiFp)(this.configuration).getFilters(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6650
6654
|
}
|
|
6651
6655
|
/**
|
|
6652
6656
|
* Updates an existing saved filter identified by its UUID.
|
|
@@ -6702,7 +6706,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6702
6706
|
// http bearer authentication required
|
|
6703
6707
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6704
6708
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6705
|
-
localVarHeaderParameter['Accept'] = '
|
|
6709
|
+
localVarHeaderParameter['Accept'] = '*/*,application/json';
|
|
6706
6710
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6707
6711
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6708
6712
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6748,7 +6752,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6748
6752
|
// http bearer authentication required
|
|
6749
6753
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6750
6754
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6751
|
-
localVarHeaderParameter['Accept'] = '
|
|
6755
|
+
localVarHeaderParameter['Accept'] = '*/*,application/json';
|
|
6752
6756
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6753
6757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6754
6758
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6816,7 +6820,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6816
6820
|
// authentication bearerAuth required
|
|
6817
6821
|
// http bearer authentication required
|
|
6818
6822
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6819
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
6823
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6820
6824
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6821
6825
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6822
6826
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6886,7 +6890,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6886
6890
|
// authentication bearerAuth required
|
|
6887
6891
|
// http bearer authentication required
|
|
6888
6892
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6889
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
6893
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6890
6894
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6891
6895
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6892
6896
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6898,13 +6902,13 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6898
6902
|
/**
|
|
6899
6903
|
* 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.
|
|
6900
6904
|
* @summary Get paginated list of forms
|
|
6901
|
-
* @param {
|
|
6905
|
+
* @param {PaginationRequest} paginationRequest
|
|
6902
6906
|
* @param {*} [options] Override http request option.
|
|
6903
6907
|
* @throws {RequiredError}
|
|
6904
6908
|
*/
|
|
6905
|
-
getForms: (
|
|
6906
|
-
// verify required parameter '
|
|
6907
|
-
(0, common_1.assertParamExists)('getForms', '
|
|
6909
|
+
getForms: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
6910
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
6911
|
+
(0, common_1.assertParamExists)('getForms', 'paginationRequest', paginationRequest);
|
|
6908
6912
|
const localVarPath = `/api/v2/forms/index`;
|
|
6909
6913
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6910
6914
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6923,7 +6927,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6923
6927
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6924
6928
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6925
6929
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6926
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
6930
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
6927
6931
|
return {
|
|
6928
6932
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6929
6933
|
options: localVarRequestOptions,
|
|
@@ -6933,15 +6937,15 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6933
6937
|
* 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.
|
|
6934
6938
|
* @summary Get forms by object UUID
|
|
6935
6939
|
* @param {string} objectUuid UUID of the object to get forms for
|
|
6936
|
-
* @param {
|
|
6940
|
+
* @param {PaginationRequest} paginationRequest
|
|
6937
6941
|
* @param {*} [options] Override http request option.
|
|
6938
6942
|
* @throws {RequiredError}
|
|
6939
6943
|
*/
|
|
6940
|
-
getFormsByObject: (objectUuid_1,
|
|
6944
|
+
getFormsByObject: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
|
|
6941
6945
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
6942
6946
|
(0, common_1.assertParamExists)('getFormsByObject', 'objectUuid', objectUuid);
|
|
6943
|
-
// verify required parameter '
|
|
6944
|
-
(0, common_1.assertParamExists)('getFormsByObject', '
|
|
6947
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
6948
|
+
(0, common_1.assertParamExists)('getFormsByObject', 'paginationRequest', paginationRequest);
|
|
6945
6949
|
const localVarPath = `/api/v2/forms/{objectUuid}/index`
|
|
6946
6950
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
6947
6951
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6961,7 +6965,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6961
6965
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6962
6966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6963
6967
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6964
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
6968
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
6965
6969
|
return {
|
|
6966
6970
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6967
6971
|
options: localVarRequestOptions,
|
|
@@ -6971,15 +6975,15 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6971
6975
|
* When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
6972
6976
|
* @summary Get all forms for a company
|
|
6973
6977
|
* @param {string} companyUuid
|
|
6974
|
-
* @param {
|
|
6978
|
+
* @param {PaginationRequest} paginationRequest
|
|
6975
6979
|
* @param {*} [options] Override http request option.
|
|
6976
6980
|
* @throws {RequiredError}
|
|
6977
6981
|
*/
|
|
6978
|
-
getFormsPublic: (companyUuid_1,
|
|
6982
|
+
getFormsPublic: (companyUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [companyUuid_1, paginationRequest_1, ...args_1], void 0, function* (companyUuid, paginationRequest, options = {}) {
|
|
6979
6983
|
// verify required parameter 'companyUuid' is not null or undefined
|
|
6980
6984
|
(0, common_1.assertParamExists)('getFormsPublic', 'companyUuid', companyUuid);
|
|
6981
|
-
// verify required parameter '
|
|
6982
|
-
(0, common_1.assertParamExists)('getFormsPublic', '
|
|
6985
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
6986
|
+
(0, common_1.assertParamExists)('getFormsPublic', 'paginationRequest', paginationRequest);
|
|
6983
6987
|
const localVarPath = `/api/v2/forms/public/{companyUuid}/index`
|
|
6984
6988
|
.replace('{companyUuid}', encodeURIComponent(String(companyUuid)));
|
|
6985
6989
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6995,11 +6999,11 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
6995
6999
|
// http bearer authentication required
|
|
6996
7000
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6997
7001
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6998
|
-
localVarHeaderParameter['Accept'] = '
|
|
7002
|
+
localVarHeaderParameter['Accept'] = '*/*,application/json';
|
|
6999
7003
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7000
7004
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7001
7005
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7002
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
7006
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
7003
7007
|
return {
|
|
7004
7008
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7005
7009
|
options: localVarRequestOptions,
|
|
@@ -7039,17 +7043,17 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
7039
7043
|
* @summary Property options (public)
|
|
7040
7044
|
* @param {string} propertyUuid
|
|
7041
7045
|
* @param {string} companyUuid
|
|
7042
|
-
* @param {
|
|
7046
|
+
* @param {PaginationRequest} paginationRequest
|
|
7043
7047
|
* @param {*} [options] Override http request option.
|
|
7044
7048
|
* @throws {RequiredError}
|
|
7045
7049
|
*/
|
|
7046
|
-
getOptions: (propertyUuid_1, companyUuid_1,
|
|
7050
|
+
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 = {}) {
|
|
7047
7051
|
// verify required parameter 'propertyUuid' is not null or undefined
|
|
7048
7052
|
(0, common_1.assertParamExists)('getOptions', 'propertyUuid', propertyUuid);
|
|
7049
7053
|
// verify required parameter 'companyUuid' is not null or undefined
|
|
7050
7054
|
(0, common_1.assertParamExists)('getOptions', 'companyUuid', companyUuid);
|
|
7051
|
-
// verify required parameter '
|
|
7052
|
-
(0, common_1.assertParamExists)('getOptions', '
|
|
7055
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
7056
|
+
(0, common_1.assertParamExists)('getOptions', 'paginationRequest', paginationRequest);
|
|
7053
7057
|
const localVarPath = `/api/v2/forms/public/{companyUuid}/{propertyUuid}/options`
|
|
7054
7058
|
.replace('{propertyUuid}', encodeURIComponent(String(propertyUuid)))
|
|
7055
7059
|
.replace('{companyUuid}', encodeURIComponent(String(companyUuid)));
|
|
@@ -7066,11 +7070,11 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
7066
7070
|
// http bearer authentication required
|
|
7067
7071
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7068
7072
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7069
|
-
localVarHeaderParameter['Accept'] = '
|
|
7073
|
+
localVarHeaderParameter['Accept'] = '*/*,application/json';
|
|
7070
7074
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7071
7075
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7072
7076
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7073
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
7077
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
7074
7078
|
return {
|
|
7075
7079
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7076
7080
|
options: localVarRequestOptions,
|
|
@@ -7100,7 +7104,7 @@ const FormsApiAxiosParamCreator = function (configuration) {
|
|
|
7100
7104
|
// authentication bearerAuth required
|
|
7101
7105
|
// http bearer authentication required
|
|
7102
7106
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7103
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
7107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7104
7108
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7105
7109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7106
7110
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7347,14 +7351,14 @@ const FormsApiFp = function (configuration) {
|
|
|
7347
7351
|
/**
|
|
7348
7352
|
* 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.
|
|
7349
7353
|
* @summary Get paginated list of forms
|
|
7350
|
-
* @param {
|
|
7354
|
+
* @param {PaginationRequest} paginationRequest
|
|
7351
7355
|
* @param {*} [options] Override http request option.
|
|
7352
7356
|
* @throws {RequiredError}
|
|
7353
7357
|
*/
|
|
7354
|
-
getForms(
|
|
7358
|
+
getForms(paginationRequest, options) {
|
|
7355
7359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7356
7360
|
var _a, _b, _c;
|
|
7357
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getForms(
|
|
7361
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getForms(paginationRequest, options);
|
|
7358
7362
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7359
7363
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FormsApi.getForms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7360
7364
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7364,14 +7368,14 @@ const FormsApiFp = function (configuration) {
|
|
|
7364
7368
|
* 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.
|
|
7365
7369
|
* @summary Get forms by object UUID
|
|
7366
7370
|
* @param {string} objectUuid UUID of the object to get forms for
|
|
7367
|
-
* @param {
|
|
7371
|
+
* @param {PaginationRequest} paginationRequest
|
|
7368
7372
|
* @param {*} [options] Override http request option.
|
|
7369
7373
|
* @throws {RequiredError}
|
|
7370
7374
|
*/
|
|
7371
|
-
getFormsByObject(objectUuid,
|
|
7375
|
+
getFormsByObject(objectUuid, paginationRequest, options) {
|
|
7372
7376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7373
7377
|
var _a, _b, _c;
|
|
7374
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsByObject(objectUuid,
|
|
7378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsByObject(objectUuid, paginationRequest, options);
|
|
7375
7379
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7376
7380
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FormsApi.getFormsByObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7377
7381
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7381,14 +7385,14 @@ const FormsApiFp = function (configuration) {
|
|
|
7381
7385
|
* When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
7382
7386
|
* @summary Get all forms for a company
|
|
7383
7387
|
* @param {string} companyUuid
|
|
7384
|
-
* @param {
|
|
7388
|
+
* @param {PaginationRequest} paginationRequest
|
|
7385
7389
|
* @param {*} [options] Override http request option.
|
|
7386
7390
|
* @throws {RequiredError}
|
|
7387
7391
|
*/
|
|
7388
|
-
getFormsPublic(companyUuid,
|
|
7392
|
+
getFormsPublic(companyUuid, paginationRequest, options) {
|
|
7389
7393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7390
7394
|
var _a, _b, _c;
|
|
7391
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsPublic(companyUuid,
|
|
7395
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormsPublic(companyUuid, paginationRequest, options);
|
|
7392
7396
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7393
7397
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FormsApi.getFormsPublic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7394
7398
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7414,14 +7418,14 @@ const FormsApiFp = function (configuration) {
|
|
|
7414
7418
|
* @summary Property options (public)
|
|
7415
7419
|
* @param {string} propertyUuid
|
|
7416
7420
|
* @param {string} companyUuid
|
|
7417
|
-
* @param {
|
|
7421
|
+
* @param {PaginationRequest} paginationRequest
|
|
7418
7422
|
* @param {*} [options] Override http request option.
|
|
7419
7423
|
* @throws {RequiredError}
|
|
7420
7424
|
*/
|
|
7421
|
-
getOptions(propertyUuid, companyUuid,
|
|
7425
|
+
getOptions(propertyUuid, companyUuid, paginationRequest, options) {
|
|
7422
7426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7423
7427
|
var _a, _b, _c;
|
|
7424
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(propertyUuid, companyUuid,
|
|
7428
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOptions(propertyUuid, companyUuid, paginationRequest, options);
|
|
7425
7429
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7426
7430
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FormsApi.getOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7427
7431
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7575,34 +7579,34 @@ const FormsApiFactory = function (configuration, basePath, axios) {
|
|
|
7575
7579
|
/**
|
|
7576
7580
|
* 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.
|
|
7577
7581
|
* @summary Get paginated list of forms
|
|
7578
|
-
* @param {
|
|
7582
|
+
* @param {PaginationRequest} paginationRequest
|
|
7579
7583
|
* @param {*} [options] Override http request option.
|
|
7580
7584
|
* @throws {RequiredError}
|
|
7581
7585
|
*/
|
|
7582
|
-
getForms(
|
|
7583
|
-
return localVarFp.getForms(
|
|
7586
|
+
getForms(paginationRequest, options) {
|
|
7587
|
+
return localVarFp.getForms(paginationRequest, options).then((request) => request(axios, basePath));
|
|
7584
7588
|
},
|
|
7585
7589
|
/**
|
|
7586
7590
|
* 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.
|
|
7587
7591
|
* @summary Get forms by object UUID
|
|
7588
7592
|
* @param {string} objectUuid UUID of the object to get forms for
|
|
7589
|
-
* @param {
|
|
7593
|
+
* @param {PaginationRequest} paginationRequest
|
|
7590
7594
|
* @param {*} [options] Override http request option.
|
|
7591
7595
|
* @throws {RequiredError}
|
|
7592
7596
|
*/
|
|
7593
|
-
getFormsByObject(objectUuid,
|
|
7594
|
-
return localVarFp.getFormsByObject(objectUuid,
|
|
7597
|
+
getFormsByObject(objectUuid, paginationRequest, options) {
|
|
7598
|
+
return localVarFp.getFormsByObject(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
7595
7599
|
},
|
|
7596
7600
|
/**
|
|
7597
7601
|
* When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
7598
7602
|
* @summary Get all forms for a company
|
|
7599
7603
|
* @param {string} companyUuid
|
|
7600
|
-
* @param {
|
|
7604
|
+
* @param {PaginationRequest} paginationRequest
|
|
7601
7605
|
* @param {*} [options] Override http request option.
|
|
7602
7606
|
* @throws {RequiredError}
|
|
7603
7607
|
*/
|
|
7604
|
-
getFormsPublic(companyUuid,
|
|
7605
|
-
return localVarFp.getFormsPublic(companyUuid,
|
|
7608
|
+
getFormsPublic(companyUuid, paginationRequest, options) {
|
|
7609
|
+
return localVarFp.getFormsPublic(companyUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
7606
7610
|
},
|
|
7607
7611
|
/**
|
|
7608
7612
|
* Returns distinct custom objects that have at least one non-deleted form, ordered by object index.
|
|
@@ -7618,12 +7622,12 @@ const FormsApiFactory = function (configuration, basePath, axios) {
|
|
|
7618
7622
|
* @summary Property options (public)
|
|
7619
7623
|
* @param {string} propertyUuid
|
|
7620
7624
|
* @param {string} companyUuid
|
|
7621
|
-
* @param {
|
|
7625
|
+
* @param {PaginationRequest} paginationRequest
|
|
7622
7626
|
* @param {*} [options] Override http request option.
|
|
7623
7627
|
* @throws {RequiredError}
|
|
7624
7628
|
*/
|
|
7625
|
-
getOptions(propertyUuid, companyUuid,
|
|
7626
|
-
return localVarFp.getOptions(propertyUuid, companyUuid,
|
|
7629
|
+
getOptions(propertyUuid, companyUuid, paginationRequest, options) {
|
|
7630
|
+
return localVarFp.getOptions(propertyUuid, companyUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
7627
7631
|
},
|
|
7628
7632
|
/**
|
|
7629
7633
|
* Restores a previously deleted form identified by its UUID. Returns the restored form wrapped in a RestoreResponse.
|
|
@@ -7747,34 +7751,34 @@ class FormsApi extends base_1.BaseAPI {
|
|
|
7747
7751
|
/**
|
|
7748
7752
|
* 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.
|
|
7749
7753
|
* @summary Get paginated list of forms
|
|
7750
|
-
* @param {
|
|
7754
|
+
* @param {PaginationRequest} paginationRequest
|
|
7751
7755
|
* @param {*} [options] Override http request option.
|
|
7752
7756
|
* @throws {RequiredError}
|
|
7753
7757
|
*/
|
|
7754
|
-
getForms(
|
|
7755
|
-
return (0, exports.FormsApiFp)(this.configuration).getForms(
|
|
7758
|
+
getForms(paginationRequest, options) {
|
|
7759
|
+
return (0, exports.FormsApiFp)(this.configuration).getForms(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7756
7760
|
}
|
|
7757
7761
|
/**
|
|
7758
7762
|
* 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.
|
|
7759
7763
|
* @summary Get forms by object UUID
|
|
7760
7764
|
* @param {string} objectUuid UUID of the object to get forms for
|
|
7761
|
-
* @param {
|
|
7765
|
+
* @param {PaginationRequest} paginationRequest
|
|
7762
7766
|
* @param {*} [options] Override http request option.
|
|
7763
7767
|
* @throws {RequiredError}
|
|
7764
7768
|
*/
|
|
7765
|
-
getFormsByObject(objectUuid,
|
|
7766
|
-
return (0, exports.FormsApiFp)(this.configuration).getFormsByObject(objectUuid,
|
|
7769
|
+
getFormsByObject(objectUuid, paginationRequest, options) {
|
|
7770
|
+
return (0, exports.FormsApiFp)(this.configuration).getFormsByObject(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7767
7771
|
}
|
|
7768
7772
|
/**
|
|
7769
7773
|
* When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
7770
7774
|
* @summary Get all forms for a company
|
|
7771
7775
|
* @param {string} companyUuid
|
|
7772
|
-
* @param {
|
|
7776
|
+
* @param {PaginationRequest} paginationRequest
|
|
7773
7777
|
* @param {*} [options] Override http request option.
|
|
7774
7778
|
* @throws {RequiredError}
|
|
7775
7779
|
*/
|
|
7776
|
-
getFormsPublic(companyUuid,
|
|
7777
|
-
return (0, exports.FormsApiFp)(this.configuration).getFormsPublic(companyUuid,
|
|
7780
|
+
getFormsPublic(companyUuid, paginationRequest, options) {
|
|
7781
|
+
return (0, exports.FormsApiFp)(this.configuration).getFormsPublic(companyUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7778
7782
|
}
|
|
7779
7783
|
/**
|
|
7780
7784
|
* Returns distinct custom objects that have at least one non-deleted form, ordered by object index.
|
|
@@ -7790,12 +7794,12 @@ class FormsApi extends base_1.BaseAPI {
|
|
|
7790
7794
|
* @summary Property options (public)
|
|
7791
7795
|
* @param {string} propertyUuid
|
|
7792
7796
|
* @param {string} companyUuid
|
|
7793
|
-
* @param {
|
|
7797
|
+
* @param {PaginationRequest} paginationRequest
|
|
7794
7798
|
* @param {*} [options] Override http request option.
|
|
7795
7799
|
* @throws {RequiredError}
|
|
7796
7800
|
*/
|
|
7797
|
-
getOptions(propertyUuid, companyUuid,
|
|
7798
|
-
return (0, exports.FormsApiFp)(this.configuration).getOptions(propertyUuid, companyUuid,
|
|
7801
|
+
getOptions(propertyUuid, companyUuid, paginationRequest, options) {
|
|
7802
|
+
return (0, exports.FormsApiFp)(this.configuration).getOptions(propertyUuid, companyUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7799
7803
|
}
|
|
7800
7804
|
/**
|
|
7801
7805
|
* Restores a previously deleted form identified by its UUID. Returns the restored form wrapped in a RestoreResponse.
|
|
@@ -7941,7 +7945,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
7941
7945
|
// authentication bearerAuth required
|
|
7942
7946
|
// http bearer authentication required
|
|
7943
7947
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7944
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
7948
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7945
7949
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7946
7950
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7947
7951
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7974,7 +7978,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
7974
7978
|
// authentication bearerAuth required
|
|
7975
7979
|
// http bearer authentication required
|
|
7976
7980
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7977
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
7981
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7978
7982
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7979
7983
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7980
7984
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8007,7 +8011,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8007
8011
|
// authentication bearerAuth required
|
|
8008
8012
|
// http bearer authentication required
|
|
8009
8013
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8010
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
8014
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8011
8015
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8012
8016
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8013
8017
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8019,13 +8023,13 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8019
8023
|
/**
|
|
8020
8024
|
* Retrieves a paginated list of modules.
|
|
8021
8025
|
* @summary Fetch paginated modules
|
|
8022
|
-
* @param {
|
|
8026
|
+
* @param {PaginationRequest} paginationRequest Pagination details
|
|
8023
8027
|
* @param {*} [options] Override http request option.
|
|
8024
8028
|
* @throws {RequiredError}
|
|
8025
8029
|
*/
|
|
8026
|
-
getModules: (
|
|
8027
|
-
// verify required parameter '
|
|
8028
|
-
(0, common_1.assertParamExists)('getModules', '
|
|
8030
|
+
getModules: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
8031
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
8032
|
+
(0, common_1.assertParamExists)('getModules', 'paginationRequest', paginationRequest);
|
|
8029
8033
|
const localVarPath = `/api/v2/modules/index`;
|
|
8030
8034
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8031
8035
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8044,7 +8048,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8044
8048
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8045
8049
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8046
8050
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8047
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
8051
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
8048
8052
|
return {
|
|
8049
8053
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8050
8054
|
options: localVarRequestOptions,
|
|
@@ -8074,7 +8078,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8074
8078
|
// authentication bearerAuth required
|
|
8075
8079
|
// http bearer authentication required
|
|
8076
8080
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8077
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
8081
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8078
8082
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8079
8083
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8080
8084
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8086,13 +8090,13 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8086
8090
|
/**
|
|
8087
8091
|
* Retrieves personal modules for the logged-in user.
|
|
8088
8092
|
* @summary Fetch paginated personal modules
|
|
8089
|
-
* @param {
|
|
8093
|
+
* @param {PaginationRequest} paginationRequest
|
|
8090
8094
|
* @param {*} [options] Override http request option.
|
|
8091
8095
|
* @throws {RequiredError}
|
|
8092
8096
|
*/
|
|
8093
|
-
getPersonalModules: (
|
|
8094
|
-
// verify required parameter '
|
|
8095
|
-
(0, common_1.assertParamExists)('getPersonalModules', '
|
|
8097
|
+
getPersonalModules: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
8098
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
8099
|
+
(0, common_1.assertParamExists)('getPersonalModules', 'paginationRequest', paginationRequest);
|
|
8096
8100
|
const localVarPath = `/api/v2/modules/personal/index`;
|
|
8097
8101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8098
8102
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8111,7 +8115,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8111
8115
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8112
8116
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8113
8117
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8114
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
8118
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
8115
8119
|
return {
|
|
8116
8120
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8117
8121
|
options: localVarRequestOptions,
|
|
@@ -8183,7 +8187,7 @@ const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
8183
8187
|
// http bearer authentication required
|
|
8184
8188
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8185
8189
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8186
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
8190
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8187
8191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8188
8192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8189
8193
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8285,14 +8289,14 @@ const ModuleApiFp = function (configuration) {
|
|
|
8285
8289
|
/**
|
|
8286
8290
|
* Retrieves a paginated list of modules.
|
|
8287
8291
|
* @summary Fetch paginated modules
|
|
8288
|
-
* @param {
|
|
8292
|
+
* @param {PaginationRequest} paginationRequest Pagination details
|
|
8289
8293
|
* @param {*} [options] Override http request option.
|
|
8290
8294
|
* @throws {RequiredError}
|
|
8291
8295
|
*/
|
|
8292
|
-
getModules(
|
|
8296
|
+
getModules(paginationRequest, options) {
|
|
8293
8297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8294
8298
|
var _a, _b, _c;
|
|
8295
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getModules(
|
|
8299
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getModules(paginationRequest, options);
|
|
8296
8300
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8297
8301
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ModuleApi.getModules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8298
8302
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8317,14 +8321,14 @@ const ModuleApiFp = function (configuration) {
|
|
|
8317
8321
|
/**
|
|
8318
8322
|
* Retrieves personal modules for the logged-in user.
|
|
8319
8323
|
* @summary Fetch paginated personal modules
|
|
8320
|
-
* @param {
|
|
8324
|
+
* @param {PaginationRequest} paginationRequest
|
|
8321
8325
|
* @param {*} [options] Override http request option.
|
|
8322
8326
|
* @throws {RequiredError}
|
|
8323
8327
|
*/
|
|
8324
|
-
getPersonalModules(
|
|
8328
|
+
getPersonalModules(paginationRequest, options) {
|
|
8325
8329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8326
8330
|
var _a, _b, _c;
|
|
8327
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonalModules(
|
|
8331
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonalModules(paginationRequest, options);
|
|
8328
8332
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8329
8333
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ModuleApi.getPersonalModules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8330
8334
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8426,12 +8430,12 @@ const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
8426
8430
|
/**
|
|
8427
8431
|
* Retrieves a paginated list of modules.
|
|
8428
8432
|
* @summary Fetch paginated modules
|
|
8429
|
-
* @param {
|
|
8433
|
+
* @param {PaginationRequest} paginationRequest Pagination details
|
|
8430
8434
|
* @param {*} [options] Override http request option.
|
|
8431
8435
|
* @throws {RequiredError}
|
|
8432
8436
|
*/
|
|
8433
|
-
getModules(
|
|
8434
|
-
return localVarFp.getModules(
|
|
8437
|
+
getModules(paginationRequest, options) {
|
|
8438
|
+
return localVarFp.getModules(paginationRequest, options).then((request) => request(axios, basePath));
|
|
8435
8439
|
},
|
|
8436
8440
|
/**
|
|
8437
8441
|
* Retrieves a personal module by UUID for the logged-in user.
|
|
@@ -8446,12 +8450,12 @@ const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
8446
8450
|
/**
|
|
8447
8451
|
* Retrieves personal modules for the logged-in user.
|
|
8448
8452
|
* @summary Fetch paginated personal modules
|
|
8449
|
-
* @param {
|
|
8453
|
+
* @param {PaginationRequest} paginationRequest
|
|
8450
8454
|
* @param {*} [options] Override http request option.
|
|
8451
8455
|
* @throws {RequiredError}
|
|
8452
8456
|
*/
|
|
8453
|
-
getPersonalModules(
|
|
8454
|
-
return localVarFp.getPersonalModules(
|
|
8457
|
+
getPersonalModules(paginationRequest, options) {
|
|
8458
|
+
return localVarFp.getPersonalModules(paginationRequest, options).then((request) => request(axios, basePath));
|
|
8455
8459
|
},
|
|
8456
8460
|
/**
|
|
8457
8461
|
* Updates the details of an existing module.
|
|
@@ -8535,12 +8539,12 @@ class ModuleApi extends base_1.BaseAPI {
|
|
|
8535
8539
|
/**
|
|
8536
8540
|
* Retrieves a paginated list of modules.
|
|
8537
8541
|
* @summary Fetch paginated modules
|
|
8538
|
-
* @param {
|
|
8542
|
+
* @param {PaginationRequest} paginationRequest Pagination details
|
|
8539
8543
|
* @param {*} [options] Override http request option.
|
|
8540
8544
|
* @throws {RequiredError}
|
|
8541
8545
|
*/
|
|
8542
|
-
getModules(
|
|
8543
|
-
return (0, exports.ModuleApiFp)(this.configuration).getModules(
|
|
8546
|
+
getModules(paginationRequest, options) {
|
|
8547
|
+
return (0, exports.ModuleApiFp)(this.configuration).getModules(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8544
8548
|
}
|
|
8545
8549
|
/**
|
|
8546
8550
|
* Retrieves a personal module by UUID for the logged-in user.
|
|
@@ -8555,12 +8559,12 @@ class ModuleApi extends base_1.BaseAPI {
|
|
|
8555
8559
|
/**
|
|
8556
8560
|
* Retrieves personal modules for the logged-in user.
|
|
8557
8561
|
* @summary Fetch paginated personal modules
|
|
8558
|
-
* @param {
|
|
8562
|
+
* @param {PaginationRequest} paginationRequest
|
|
8559
8563
|
* @param {*} [options] Override http request option.
|
|
8560
8564
|
* @throws {RequiredError}
|
|
8561
8565
|
*/
|
|
8562
|
-
getPersonalModules(
|
|
8563
|
-
return (0, exports.ModuleApiFp)(this.configuration).getPersonalModules(
|
|
8566
|
+
getPersonalModules(paginationRequest, options) {
|
|
8567
|
+
return (0, exports.ModuleApiFp)(this.configuration).getPersonalModules(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8564
8568
|
}
|
|
8565
8569
|
/**
|
|
8566
8570
|
* Updates the details of an existing module.
|
|
@@ -8963,7 +8967,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
8963
8967
|
// authentication bearerAuth required
|
|
8964
8968
|
// http bearer authentication required
|
|
8965
8969
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8966
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
8970
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
8967
8971
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8968
8972
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8969
8973
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9037,7 +9041,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9037
9041
|
if (relations !== undefined) {
|
|
9038
9042
|
localVarQueryParameter['relations'] = relations;
|
|
9039
9043
|
}
|
|
9040
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
9044
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9041
9045
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9042
9046
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9043
9047
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9049,16 +9053,16 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9049
9053
|
/**
|
|
9050
9054
|
* 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.
|
|
9051
9055
|
* @summary Fetch paginated objects
|
|
9052
|
-
* @param {
|
|
9056
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
9053
9057
|
* @param {string} [views]
|
|
9054
9058
|
* @param {string} [properties]
|
|
9055
9059
|
* @param {string} [relations]
|
|
9056
9060
|
* @param {*} [options] Override http request option.
|
|
9057
9061
|
* @throws {RequiredError}
|
|
9058
9062
|
*/
|
|
9059
|
-
getObjects: (
|
|
9060
|
-
// verify required parameter '
|
|
9061
|
-
(0, common_1.assertParamExists)('getObjects', '
|
|
9063
|
+
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 = {}) {
|
|
9064
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
9065
|
+
(0, common_1.assertParamExists)('getObjects', 'paginationRequest', paginationRequest);
|
|
9062
9066
|
const localVarPath = `/api/v2/objects/index`;
|
|
9063
9067
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9064
9068
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -9086,7 +9090,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9086
9090
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9087
9091
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9088
9092
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9089
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9093
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
9090
9094
|
return {
|
|
9091
9095
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9092
9096
|
options: localVarRequestOptions,
|
|
@@ -9132,13 +9136,13 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9132
9136
|
/**
|
|
9133
9137
|
* Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
|
|
9134
9138
|
* @summary Get all previews over all objects
|
|
9135
|
-
* @param {
|
|
9139
|
+
* @param {PaginationRequest} paginationRequest
|
|
9136
9140
|
* @param {*} [options] Override http request option.
|
|
9137
9141
|
* @throws {RequiredError}
|
|
9138
9142
|
*/
|
|
9139
|
-
getPreviews: (
|
|
9140
|
-
// verify required parameter '
|
|
9141
|
-
(0, common_1.assertParamExists)('getPreviews', '
|
|
9143
|
+
getPreviews: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
9144
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
9145
|
+
(0, common_1.assertParamExists)('getPreviews', 'paginationRequest', paginationRequest);
|
|
9142
9146
|
const localVarPath = `/api/v2/objects/previews`;
|
|
9143
9147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9144
9148
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -9157,7 +9161,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9157
9161
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9158
9162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9159
9163
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9160
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9164
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
9161
9165
|
return {
|
|
9162
9166
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9163
9167
|
options: localVarRequestOptions,
|
|
@@ -9337,7 +9341,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9337
9341
|
// authentication bearerAuth required
|
|
9338
9342
|
// http bearer authentication required
|
|
9339
9343
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9340
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
9344
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9341
9345
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9342
9346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9343
9347
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9349,16 +9353,16 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9349
9353
|
/**
|
|
9350
9354
|
* 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.
|
|
9351
9355
|
* @summary Update object indices
|
|
9352
|
-
* @param {string}
|
|
9356
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of object indices
|
|
9353
9357
|
* @param {string} [views]
|
|
9354
9358
|
* @param {string} [properties]
|
|
9355
9359
|
* @param {string} [relations]
|
|
9356
9360
|
* @param {*} [options] Override http request option.
|
|
9357
9361
|
* @throws {RequiredError}
|
|
9358
9362
|
*/
|
|
9359
|
-
updateIndices3: (
|
|
9360
|
-
// verify required parameter '
|
|
9361
|
-
(0, common_1.assertParamExists)('updateIndices3', '
|
|
9363
|
+
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 = {}) {
|
|
9364
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
9365
|
+
(0, common_1.assertParamExists)('updateIndices3', 'requestBody', requestBody);
|
|
9362
9366
|
const localVarPath = `/api/v2/objects/updateIndices`;
|
|
9363
9367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9364
9368
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -9386,7 +9390,7 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
9386
9390
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9387
9391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9388
9392
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9389
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9393
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
9390
9394
|
return {
|
|
9391
9395
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9392
9396
|
options: localVarRequestOptions,
|
|
@@ -9561,17 +9565,17 @@ const ObjectsApiFp = function (configuration) {
|
|
|
9561
9565
|
/**
|
|
9562
9566
|
* 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.
|
|
9563
9567
|
* @summary Fetch paginated objects
|
|
9564
|
-
* @param {
|
|
9568
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
9565
9569
|
* @param {string} [views]
|
|
9566
9570
|
* @param {string} [properties]
|
|
9567
9571
|
* @param {string} [relations]
|
|
9568
9572
|
* @param {*} [options] Override http request option.
|
|
9569
9573
|
* @throws {RequiredError}
|
|
9570
9574
|
*/
|
|
9571
|
-
getObjects(
|
|
9575
|
+
getObjects(paginationRequest, views, properties, relations, options) {
|
|
9572
9576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9573
9577
|
var _a, _b, _c;
|
|
9574
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjects(
|
|
9578
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getObjects(paginationRequest, views, properties, relations, options);
|
|
9575
9579
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9576
9580
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ObjectsApi.getObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9577
9581
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9597,14 +9601,14 @@ const ObjectsApiFp = function (configuration) {
|
|
|
9597
9601
|
/**
|
|
9598
9602
|
* Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
|
|
9599
9603
|
* @summary Get all previews over all objects
|
|
9600
|
-
* @param {
|
|
9604
|
+
* @param {PaginationRequest} paginationRequest
|
|
9601
9605
|
* @param {*} [options] Override http request option.
|
|
9602
9606
|
* @throws {RequiredError}
|
|
9603
9607
|
*/
|
|
9604
|
-
getPreviews(
|
|
9608
|
+
getPreviews(paginationRequest, options) {
|
|
9605
9609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9606
9610
|
var _a, _b, _c;
|
|
9607
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreviews(
|
|
9611
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreviews(paginationRequest, options);
|
|
9608
9612
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9609
9613
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ObjectsApi.getPreviews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9610
9614
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9697,17 +9701,17 @@ const ObjectsApiFp = function (configuration) {
|
|
|
9697
9701
|
/**
|
|
9698
9702
|
* 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.
|
|
9699
9703
|
* @summary Update object indices
|
|
9700
|
-
* @param {string}
|
|
9704
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of object indices
|
|
9701
9705
|
* @param {string} [views]
|
|
9702
9706
|
* @param {string} [properties]
|
|
9703
9707
|
* @param {string} [relations]
|
|
9704
9708
|
* @param {*} [options] Override http request option.
|
|
9705
9709
|
* @throws {RequiredError}
|
|
9706
9710
|
*/
|
|
9707
|
-
updateIndices3(
|
|
9711
|
+
updateIndices3(requestBody, views, properties, relations, options) {
|
|
9708
9712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9709
9713
|
var _a, _b, _c;
|
|
9710
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices3(
|
|
9714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices3(requestBody, views, properties, relations, options);
|
|
9711
9715
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9712
9716
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ObjectsApi.updateIndices3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9713
9717
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9807,15 +9811,15 @@ const ObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
9807
9811
|
/**
|
|
9808
9812
|
* 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.
|
|
9809
9813
|
* @summary Fetch paginated objects
|
|
9810
|
-
* @param {
|
|
9814
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
9811
9815
|
* @param {string} [views]
|
|
9812
9816
|
* @param {string} [properties]
|
|
9813
9817
|
* @param {string} [relations]
|
|
9814
9818
|
* @param {*} [options] Override http request option.
|
|
9815
9819
|
* @throws {RequiredError}
|
|
9816
9820
|
*/
|
|
9817
|
-
getObjects(
|
|
9818
|
-
return localVarFp.getObjects(
|
|
9821
|
+
getObjects(paginationRequest, views, properties, relations, options) {
|
|
9822
|
+
return localVarFp.getObjects(paginationRequest, views, properties, relations, options).then((request) => request(axios, basePath));
|
|
9819
9823
|
},
|
|
9820
9824
|
/**
|
|
9821
9825
|
* Fetches a preview for an object by the object\'s UUID and the preview name. Returns the preview data wrapped in a ShowResponse.
|
|
@@ -9831,12 +9835,12 @@ const ObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
9831
9835
|
/**
|
|
9832
9836
|
* Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
|
|
9833
9837
|
* @summary Get all previews over all objects
|
|
9834
|
-
* @param {
|
|
9838
|
+
* @param {PaginationRequest} paginationRequest
|
|
9835
9839
|
* @param {*} [options] Override http request option.
|
|
9836
9840
|
* @throws {RequiredError}
|
|
9837
9841
|
*/
|
|
9838
|
-
getPreviews(
|
|
9839
|
-
return localVarFp.getPreviews(
|
|
9842
|
+
getPreviews(paginationRequest, options) {
|
|
9843
|
+
return localVarFp.getPreviews(paginationRequest, options).then((request) => request(axios, basePath));
|
|
9840
9844
|
},
|
|
9841
9845
|
/**
|
|
9842
9846
|
* Fetches all previews associated with a specific object. Returns a PaginationResponse containing a list of preview DTOs.
|
|
@@ -9895,15 +9899,15 @@ const ObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
9895
9899
|
/**
|
|
9896
9900
|
* 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.
|
|
9897
9901
|
* @summary Update object indices
|
|
9898
|
-
* @param {string}
|
|
9902
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of object indices
|
|
9899
9903
|
* @param {string} [views]
|
|
9900
9904
|
* @param {string} [properties]
|
|
9901
9905
|
* @param {string} [relations]
|
|
9902
9906
|
* @param {*} [options] Override http request option.
|
|
9903
9907
|
* @throws {RequiredError}
|
|
9904
9908
|
*/
|
|
9905
|
-
updateIndices3(
|
|
9906
|
-
return localVarFp.updateIndices3(
|
|
9909
|
+
updateIndices3(requestBody, views, properties, relations, options) {
|
|
9910
|
+
return localVarFp.updateIndices3(requestBody, views, properties, relations, options).then((request) => request(axios, basePath));
|
|
9907
9911
|
},
|
|
9908
9912
|
/**
|
|
9909
9913
|
* Sets which properties on this object should generate lifecycle history records when their values change.
|
|
@@ -9985,15 +9989,15 @@ class ObjectsApi extends base_1.BaseAPI {
|
|
|
9985
9989
|
/**
|
|
9986
9990
|
* 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.
|
|
9987
9991
|
* @summary Fetch paginated objects
|
|
9988
|
-
* @param {
|
|
9992
|
+
* @param {PaginationRequest} paginationRequest Pagination request details
|
|
9989
9993
|
* @param {string} [views]
|
|
9990
9994
|
* @param {string} [properties]
|
|
9991
9995
|
* @param {string} [relations]
|
|
9992
9996
|
* @param {*} [options] Override http request option.
|
|
9993
9997
|
* @throws {RequiredError}
|
|
9994
9998
|
*/
|
|
9995
|
-
getObjects(
|
|
9996
|
-
return (0, exports.ObjectsApiFp)(this.configuration).getObjects(
|
|
9999
|
+
getObjects(paginationRequest, views, properties, relations, options) {
|
|
10000
|
+
return (0, exports.ObjectsApiFp)(this.configuration).getObjects(paginationRequest, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
|
|
9997
10001
|
}
|
|
9998
10002
|
/**
|
|
9999
10003
|
* Fetches a preview for an object by the object\'s UUID and the preview name. Returns the preview data wrapped in a ShowResponse.
|
|
@@ -10009,12 +10013,12 @@ class ObjectsApi extends base_1.BaseAPI {
|
|
|
10009
10013
|
/**
|
|
10010
10014
|
* Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
|
|
10011
10015
|
* @summary Get all previews over all objects
|
|
10012
|
-
* @param {
|
|
10016
|
+
* @param {PaginationRequest} paginationRequest
|
|
10013
10017
|
* @param {*} [options] Override http request option.
|
|
10014
10018
|
* @throws {RequiredError}
|
|
10015
10019
|
*/
|
|
10016
|
-
getPreviews(
|
|
10017
|
-
return (0, exports.ObjectsApiFp)(this.configuration).getPreviews(
|
|
10020
|
+
getPreviews(paginationRequest, options) {
|
|
10021
|
+
return (0, exports.ObjectsApiFp)(this.configuration).getPreviews(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10018
10022
|
}
|
|
10019
10023
|
/**
|
|
10020
10024
|
* Fetches all previews associated with a specific object. Returns a PaginationResponse containing a list of preview DTOs.
|
|
@@ -10073,15 +10077,15 @@ class ObjectsApi extends base_1.BaseAPI {
|
|
|
10073
10077
|
/**
|
|
10074
10078
|
* 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.
|
|
10075
10079
|
* @summary Update object indices
|
|
10076
|
-
* @param {string}
|
|
10080
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of object indices
|
|
10077
10081
|
* @param {string} [views]
|
|
10078
10082
|
* @param {string} [properties]
|
|
10079
10083
|
* @param {string} [relations]
|
|
10080
10084
|
* @param {*} [options] Override http request option.
|
|
10081
10085
|
* @throws {RequiredError}
|
|
10082
10086
|
*/
|
|
10083
|
-
updateIndices3(
|
|
10084
|
-
return (0, exports.ObjectsApiFp)(this.configuration).updateIndices3(
|
|
10087
|
+
updateIndices3(requestBody, views, properties, relations, options) {
|
|
10088
|
+
return (0, exports.ObjectsApiFp)(this.configuration).updateIndices3(requestBody, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
|
|
10085
10089
|
}
|
|
10086
10090
|
/**
|
|
10087
10091
|
* Sets which properties on this object should generate lifecycle history records when their values change.
|
|
@@ -10219,7 +10223,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10219
10223
|
// authentication bearerAuth required
|
|
10220
10224
|
// http bearer authentication required
|
|
10221
10225
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10222
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10226
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10223
10227
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10224
10228
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10225
10229
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10252,7 +10256,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10252
10256
|
// authentication bearerAuth required
|
|
10253
10257
|
// http bearer authentication required
|
|
10254
10258
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10255
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10259
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10256
10260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10257
10261
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10258
10262
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10285,7 +10289,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10285
10289
|
// authentication bearerAuth required
|
|
10286
10290
|
// http bearer authentication required
|
|
10287
10291
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10288
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10292
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10289
10293
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10290
10294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10291
10295
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10298,15 +10302,15 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10298
10302
|
* 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.
|
|
10299
10303
|
* @summary Fetch paginated properties
|
|
10300
10304
|
* @param {string} objectUuid
|
|
10301
|
-
* @param {
|
|
10305
|
+
* @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
|
|
10302
10306
|
* @param {*} [options] Override http request option.
|
|
10303
10307
|
* @throws {RequiredError}
|
|
10304
10308
|
*/
|
|
10305
|
-
getProperties: (objectUuid_1,
|
|
10309
|
+
getProperties: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
|
|
10306
10310
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
10307
10311
|
(0, common_1.assertParamExists)('getProperties', 'objectUuid', objectUuid);
|
|
10308
|
-
// verify required parameter '
|
|
10309
|
-
(0, common_1.assertParamExists)('getProperties', '
|
|
10312
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
10313
|
+
(0, common_1.assertParamExists)('getProperties', 'paginationRequest', paginationRequest);
|
|
10310
10314
|
const localVarPath = `/api/v2/objects/{objectUuid}/properties/index`
|
|
10311
10315
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
10312
10316
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -10326,7 +10330,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10326
10330
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10327
10331
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10328
10332
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10329
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
10333
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
10330
10334
|
return {
|
|
10331
10335
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10332
10336
|
options: localVarRequestOptions,
|
|
@@ -10360,7 +10364,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10360
10364
|
// authentication bearerAuth required
|
|
10361
10365
|
// http bearer authentication required
|
|
10362
10366
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10363
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10367
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10364
10368
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10365
10369
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10366
10370
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10397,7 +10401,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10397
10401
|
// authentication bearerAuth required
|
|
10398
10402
|
// http bearer authentication required
|
|
10399
10403
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10400
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10404
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10401
10405
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10402
10406
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10403
10407
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10471,7 +10475,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10471
10475
|
// authentication bearerAuth required
|
|
10472
10476
|
// http bearer authentication required
|
|
10473
10477
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10474
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10478
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10475
10479
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10476
10480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10477
10481
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10508,7 +10512,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10508
10512
|
// authentication bearerAuth required
|
|
10509
10513
|
// http bearer authentication required
|
|
10510
10514
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10511
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10515
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10512
10516
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10513
10517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10514
10518
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10545,7 +10549,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10545
10549
|
// authentication bearerAuth required
|
|
10546
10550
|
// http bearer authentication required
|
|
10547
10551
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10548
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
10552
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
10549
10553
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10550
10554
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10551
10555
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10558,15 +10562,15 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10558
10562
|
* 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.
|
|
10559
10563
|
* @summary Update property indices
|
|
10560
10564
|
* @param {string} objectUuid
|
|
10561
|
-
* @param {string}
|
|
10565
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
|
|
10562
10566
|
* @param {*} [options] Override http request option.
|
|
10563
10567
|
* @throws {RequiredError}
|
|
10564
10568
|
*/
|
|
10565
|
-
updateIndices2: (objectUuid_1,
|
|
10569
|
+
updateIndices2: (objectUuid_1, requestBody_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, ...args_1], void 0, function* (objectUuid, requestBody, options = {}) {
|
|
10566
10570
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
10567
10571
|
(0, common_1.assertParamExists)('updateIndices2', 'objectUuid', objectUuid);
|
|
10568
|
-
// verify required parameter '
|
|
10569
|
-
(0, common_1.assertParamExists)('updateIndices2', '
|
|
10572
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
10573
|
+
(0, common_1.assertParamExists)('updateIndices2', 'requestBody', requestBody);
|
|
10570
10574
|
const localVarPath = `/api/v2/objects/{objectUuid}/properties/updateIndices`
|
|
10571
10575
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
10572
10576
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -10586,7 +10590,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
|
|
|
10586
10590
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10587
10591
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10588
10592
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10589
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
10593
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
10590
10594
|
return {
|
|
10591
10595
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10592
10596
|
options: localVarRequestOptions,
|
|
@@ -10730,14 +10734,14 @@ const PropertyApiFp = function (configuration) {
|
|
|
10730
10734
|
* 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.
|
|
10731
10735
|
* @summary Fetch paginated properties
|
|
10732
10736
|
* @param {string} objectUuid
|
|
10733
|
-
* @param {
|
|
10737
|
+
* @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
|
|
10734
10738
|
* @param {*} [options] Override http request option.
|
|
10735
10739
|
* @throws {RequiredError}
|
|
10736
10740
|
*/
|
|
10737
|
-
getProperties(objectUuid,
|
|
10741
|
+
getProperties(objectUuid, paginationRequest, options) {
|
|
10738
10742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10739
10743
|
var _a, _b, _c;
|
|
10740
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProperties(objectUuid,
|
|
10744
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProperties(objectUuid, paginationRequest, options);
|
|
10741
10745
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10742
10746
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PropertyApi.getProperties']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10743
10747
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10849,14 +10853,14 @@ const PropertyApiFp = function (configuration) {
|
|
|
10849
10853
|
* 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.
|
|
10850
10854
|
* @summary Update property indices
|
|
10851
10855
|
* @param {string} objectUuid
|
|
10852
|
-
* @param {string}
|
|
10856
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
|
|
10853
10857
|
* @param {*} [options] Override http request option.
|
|
10854
10858
|
* @throws {RequiredError}
|
|
10855
10859
|
*/
|
|
10856
|
-
updateIndices2(objectUuid,
|
|
10860
|
+
updateIndices2(objectUuid, requestBody, options) {
|
|
10857
10861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10858
10862
|
var _a, _b, _c;
|
|
10859
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices2(objectUuid,
|
|
10863
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices2(objectUuid, requestBody, options);
|
|
10860
10864
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10861
10865
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PropertyApi.updateIndices2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10862
10866
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10946,12 +10950,12 @@ const PropertyApiFactory = function (configuration, basePath, axios) {
|
|
|
10946
10950
|
* 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.
|
|
10947
10951
|
* @summary Fetch paginated properties
|
|
10948
10952
|
* @param {string} objectUuid
|
|
10949
|
-
* @param {
|
|
10953
|
+
* @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
|
|
10950
10954
|
* @param {*} [options] Override http request option.
|
|
10951
10955
|
* @throws {RequiredError}
|
|
10952
10956
|
*/
|
|
10953
|
-
getProperties(objectUuid,
|
|
10954
|
-
return localVarFp.getProperties(objectUuid,
|
|
10957
|
+
getProperties(objectUuid, paginationRequest, options) {
|
|
10958
|
+
return localVarFp.getProperties(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
10955
10959
|
},
|
|
10956
10960
|
/**
|
|
10957
10961
|
* 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.
|
|
@@ -11023,12 +11027,12 @@ const PropertyApiFactory = function (configuration, basePath, axios) {
|
|
|
11023
11027
|
* 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.
|
|
11024
11028
|
* @summary Update property indices
|
|
11025
11029
|
* @param {string} objectUuid
|
|
11026
|
-
* @param {string}
|
|
11030
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
|
|
11027
11031
|
* @param {*} [options] Override http request option.
|
|
11028
11032
|
* @throws {RequiredError}
|
|
11029
11033
|
*/
|
|
11030
|
-
updateIndices2(objectUuid,
|
|
11031
|
-
return localVarFp.updateIndices2(objectUuid,
|
|
11034
|
+
updateIndices2(objectUuid, requestBody, options) {
|
|
11035
|
+
return localVarFp.updateIndices2(objectUuid, requestBody, options).then((request) => request(axios, basePath));
|
|
11032
11036
|
},
|
|
11033
11037
|
/**
|
|
11034
11038
|
* 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).
|
|
@@ -11106,12 +11110,12 @@ class PropertyApi extends base_1.BaseAPI {
|
|
|
11106
11110
|
* 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.
|
|
11107
11111
|
* @summary Fetch paginated properties
|
|
11108
11112
|
* @param {string} objectUuid
|
|
11109
|
-
* @param {
|
|
11113
|
+
* @param {PaginationRequest} paginationRequest Pagination details (limit, page, filters, sort, query)
|
|
11110
11114
|
* @param {*} [options] Override http request option.
|
|
11111
11115
|
* @throws {RequiredError}
|
|
11112
11116
|
*/
|
|
11113
|
-
getProperties(objectUuid,
|
|
11114
|
-
return (0, exports.PropertyApiFp)(this.configuration).getProperties(objectUuid,
|
|
11117
|
+
getProperties(objectUuid, paginationRequest, options) {
|
|
11118
|
+
return (0, exports.PropertyApiFp)(this.configuration).getProperties(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11115
11119
|
}
|
|
11116
11120
|
/**
|
|
11117
11121
|
* 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.
|
|
@@ -11183,12 +11187,12 @@ class PropertyApi extends base_1.BaseAPI {
|
|
|
11183
11187
|
* 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.
|
|
11184
11188
|
* @summary Update property indices
|
|
11185
11189
|
* @param {string} objectUuid
|
|
11186
|
-
* @param {string}
|
|
11190
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of property UUIDs to new index values
|
|
11187
11191
|
* @param {*} [options] Override http request option.
|
|
11188
11192
|
* @throws {RequiredError}
|
|
11189
11193
|
*/
|
|
11190
|
-
updateIndices2(objectUuid,
|
|
11191
|
-
return (0, exports.PropertyApiFp)(this.configuration).updateIndices2(objectUuid,
|
|
11194
|
+
updateIndices2(objectUuid, requestBody, options) {
|
|
11195
|
+
return (0, exports.PropertyApiFp)(this.configuration).updateIndices2(objectUuid, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
11192
11196
|
}
|
|
11193
11197
|
/**
|
|
11194
11198
|
* 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).
|
|
@@ -11634,7 +11638,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11634
11638
|
/**
|
|
11635
11639
|
* 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.
|
|
11636
11640
|
* @summary Fetch paginated records
|
|
11637
|
-
* @param {
|
|
11641
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
|
|
11638
11642
|
* @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).
|
|
11639
11643
|
* @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
|
|
11640
11644
|
* @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.
|
|
@@ -11642,9 +11646,9 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11642
11646
|
* @param {*} [options] Override http request option.
|
|
11643
11647
|
* @throws {RequiredError}
|
|
11644
11648
|
*/
|
|
11645
|
-
index: (
|
|
11646
|
-
// verify required parameter '
|
|
11647
|
-
(0, common_1.assertParamExists)('index', '
|
|
11649
|
+
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 = {}) {
|
|
11650
|
+
// verify required parameter 'recordPaginationRequest' is not null or undefined
|
|
11651
|
+
(0, common_1.assertParamExists)('index', 'recordPaginationRequest', recordPaginationRequest);
|
|
11648
11652
|
const localVarPath = `/api/v2/records/index`;
|
|
11649
11653
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11650
11654
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11675,7 +11679,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11675
11679
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11676
11680
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11677
11681
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11678
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11682
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(recordPaginationRequest, localVarRequestOptions, configuration);
|
|
11679
11683
|
return {
|
|
11680
11684
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11681
11685
|
options: localVarRequestOptions,
|
|
@@ -11684,15 +11688,15 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11684
11688
|
/**
|
|
11685
11689
|
* 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.
|
|
11686
11690
|
* @summary Fetch records for flow view
|
|
11687
|
-
* @param {
|
|
11691
|
+
* @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
|
|
11688
11692
|
* @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.
|
|
11689
11693
|
* @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).
|
|
11690
11694
|
* @param {*} [options] Override http request option.
|
|
11691
11695
|
* @throws {RequiredError}
|
|
11692
11696
|
*/
|
|
11693
|
-
indexFlow: (
|
|
11694
|
-
// verify required parameter '
|
|
11695
|
-
(0, common_1.assertParamExists)('indexFlow', '
|
|
11697
|
+
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 = {}) {
|
|
11698
|
+
// verify required parameter 'flowPaginationRequest' is not null or undefined
|
|
11699
|
+
(0, common_1.assertParamExists)('indexFlow', 'flowPaginationRequest', flowPaginationRequest);
|
|
11696
11700
|
const localVarPath = `/api/v2/records/index/flow`;
|
|
11697
11701
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11698
11702
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11717,7 +11721,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11717
11721
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11718
11722
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11719
11723
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11720
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11724
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(flowPaginationRequest, localVarRequestOptions, configuration);
|
|
11721
11725
|
return {
|
|
11722
11726
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11723
11727
|
options: localVarRequestOptions,
|
|
@@ -11726,7 +11730,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11726
11730
|
/**
|
|
11727
11731
|
* 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.
|
|
11728
11732
|
* @summary Fetch records for page view
|
|
11729
|
-
* @param {
|
|
11733
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
|
|
11730
11734
|
* @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
|
|
11731
11735
|
* @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.
|
|
11732
11736
|
* @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
|
|
@@ -11735,9 +11739,9 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11735
11739
|
* @param {*} [options] Override http request option.
|
|
11736
11740
|
* @throws {RequiredError}
|
|
11737
11741
|
*/
|
|
11738
|
-
indexPage: (
|
|
11739
|
-
// verify required parameter '
|
|
11740
|
-
(0, common_1.assertParamExists)('indexPage', '
|
|
11742
|
+
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 = {}) {
|
|
11743
|
+
// verify required parameter 'recordPaginationRequest' is not null or undefined
|
|
11744
|
+
(0, common_1.assertParamExists)('indexPage', 'recordPaginationRequest', recordPaginationRequest);
|
|
11741
11745
|
const localVarPath = `/api/v2/records/index/page`;
|
|
11742
11746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11743
11747
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11771,7 +11775,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11771
11775
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11772
11776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11773
11777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11774
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11778
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(recordPaginationRequest, localVarRequestOptions, configuration);
|
|
11775
11779
|
return {
|
|
11776
11780
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11777
11781
|
options: localVarRequestOptions,
|
|
@@ -11780,14 +11784,14 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11780
11784
|
/**
|
|
11781
11785
|
* Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
|
|
11782
11786
|
* @summary Fetch records for table view
|
|
11783
|
-
* @param {
|
|
11787
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
|
|
11784
11788
|
* @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.
|
|
11785
11789
|
* @param {*} [options] Override http request option.
|
|
11786
11790
|
* @throws {RequiredError}
|
|
11787
11791
|
*/
|
|
11788
|
-
indexTable: (
|
|
11789
|
-
// verify required parameter '
|
|
11790
|
-
(0, common_1.assertParamExists)('indexTable', '
|
|
11792
|
+
indexTable: (recordPaginationRequest_1, relatedRecordUuid_1, ...args_1) => __awaiter(this, [recordPaginationRequest_1, relatedRecordUuid_1, ...args_1], void 0, function* (recordPaginationRequest, relatedRecordUuid, options = {}) {
|
|
11793
|
+
// verify required parameter 'recordPaginationRequest' is not null or undefined
|
|
11794
|
+
(0, common_1.assertParamExists)('indexTable', 'recordPaginationRequest', recordPaginationRequest);
|
|
11791
11795
|
const localVarPath = `/api/v2/records/index/table`;
|
|
11792
11796
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11793
11797
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11809,7 +11813,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11809
11813
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11810
11814
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11811
11815
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11812
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11816
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(recordPaginationRequest, localVarRequestOptions, configuration);
|
|
11813
11817
|
return {
|
|
11814
11818
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11815
11819
|
options: localVarRequestOptions,
|
|
@@ -11930,16 +11934,16 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11930
11934
|
/**
|
|
11931
11935
|
* Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
|
|
11932
11936
|
* @summary Search records
|
|
11933
|
-
* @param {
|
|
11937
|
+
* @param {SearchRequest} searchRequest Search criteria
|
|
11934
11938
|
* @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
|
|
11935
11939
|
* @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).
|
|
11936
11940
|
* @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
11937
11941
|
* @param {*} [options] Override http request option.
|
|
11938
11942
|
* @throws {RequiredError}
|
|
11939
11943
|
*/
|
|
11940
|
-
search: (
|
|
11941
|
-
// verify required parameter '
|
|
11942
|
-
(0, common_1.assertParamExists)('search', '
|
|
11944
|
+
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 = {}) {
|
|
11945
|
+
// verify required parameter 'searchRequest' is not null or undefined
|
|
11946
|
+
(0, common_1.assertParamExists)('search', 'searchRequest', searchRequest);
|
|
11943
11947
|
const localVarPath = `/api/v2/records/search`;
|
|
11944
11948
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11945
11949
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -11967,7 +11971,7 @@ const RecordsApiAxiosParamCreator = function (configuration) {
|
|
|
11967
11971
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11968
11972
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11969
11973
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11970
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11974
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(searchRequest, localVarRequestOptions, configuration);
|
|
11971
11975
|
return {
|
|
11972
11976
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11973
11977
|
options: localVarRequestOptions,
|
|
@@ -12490,7 +12494,7 @@ const RecordsApiFp = function (configuration) {
|
|
|
12490
12494
|
/**
|
|
12491
12495
|
* 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.
|
|
12492
12496
|
* @summary Fetch paginated records
|
|
12493
|
-
* @param {
|
|
12497
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
|
|
12494
12498
|
* @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).
|
|
12495
12499
|
* @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
|
|
12496
12500
|
* @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.
|
|
@@ -12498,10 +12502,10 @@ const RecordsApiFp = function (configuration) {
|
|
|
12498
12502
|
* @param {*} [options] Override http request option.
|
|
12499
12503
|
* @throws {RequiredError}
|
|
12500
12504
|
*/
|
|
12501
|
-
index(
|
|
12505
|
+
index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
|
|
12502
12506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12503
12507
|
var _a, _b, _c;
|
|
12504
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.index(
|
|
12508
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options);
|
|
12505
12509
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12506
12510
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.index']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12507
12511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12510,16 +12514,16 @@ const RecordsApiFp = function (configuration) {
|
|
|
12510
12514
|
/**
|
|
12511
12515
|
* 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.
|
|
12512
12516
|
* @summary Fetch records for flow view
|
|
12513
|
-
* @param {
|
|
12517
|
+
* @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
|
|
12514
12518
|
* @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.
|
|
12515
12519
|
* @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).
|
|
12516
12520
|
* @param {*} [options] Override http request option.
|
|
12517
12521
|
* @throws {RequiredError}
|
|
12518
12522
|
*/
|
|
12519
|
-
indexFlow(
|
|
12523
|
+
indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
|
|
12520
12524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12521
12525
|
var _a, _b, _c;
|
|
12522
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexFlow(
|
|
12526
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options);
|
|
12523
12527
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12524
12528
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.indexFlow']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12525
12529
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12528,7 +12532,7 @@ const RecordsApiFp = function (configuration) {
|
|
|
12528
12532
|
/**
|
|
12529
12533
|
* 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.
|
|
12530
12534
|
* @summary Fetch records for page view
|
|
12531
|
-
* @param {
|
|
12535
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
|
|
12532
12536
|
* @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
|
|
12533
12537
|
* @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.
|
|
12534
12538
|
* @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
|
|
@@ -12537,10 +12541,10 @@ const RecordsApiFp = function (configuration) {
|
|
|
12537
12541
|
* @param {*} [options] Override http request option.
|
|
12538
12542
|
* @throws {RequiredError}
|
|
12539
12543
|
*/
|
|
12540
|
-
indexPage(
|
|
12544
|
+
indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
|
|
12541
12545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12542
12546
|
var _a, _b, _c;
|
|
12543
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexPage(
|
|
12547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options);
|
|
12544
12548
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12545
12549
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.indexPage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12546
12550
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12549,15 +12553,15 @@ const RecordsApiFp = function (configuration) {
|
|
|
12549
12553
|
/**
|
|
12550
12554
|
* Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
|
|
12551
12555
|
* @summary Fetch records for table view
|
|
12552
|
-
* @param {
|
|
12556
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
|
|
12553
12557
|
* @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.
|
|
12554
12558
|
* @param {*} [options] Override http request option.
|
|
12555
12559
|
* @throws {RequiredError}
|
|
12556
12560
|
*/
|
|
12557
|
-
indexTable(
|
|
12561
|
+
indexTable(recordPaginationRequest, relatedRecordUuid, options) {
|
|
12558
12562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12559
12563
|
var _a, _b, _c;
|
|
12560
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexTable(
|
|
12564
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexTable(recordPaginationRequest, relatedRecordUuid, options);
|
|
12561
12565
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12562
12566
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.indexTable']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12563
12567
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12617,17 +12621,17 @@ const RecordsApiFp = function (configuration) {
|
|
|
12617
12621
|
/**
|
|
12618
12622
|
* Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
|
|
12619
12623
|
* @summary Search records
|
|
12620
|
-
* @param {
|
|
12624
|
+
* @param {SearchRequest} searchRequest Search criteria
|
|
12621
12625
|
* @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
|
|
12622
12626
|
* @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).
|
|
12623
12627
|
* @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
12624
12628
|
* @param {*} [options] Override http request option.
|
|
12625
12629
|
* @throws {RequiredError}
|
|
12626
12630
|
*/
|
|
12627
|
-
search(
|
|
12631
|
+
search(searchRequest, archived, parse, recordReturnFormat, options) {
|
|
12628
12632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12629
12633
|
var _a, _b, _c;
|
|
12630
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.search(
|
|
12634
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.search(searchRequest, archived, parse, recordReturnFormat, options);
|
|
12631
12635
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12632
12636
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.search']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12633
12637
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12900,7 +12904,7 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12900
12904
|
/**
|
|
12901
12905
|
* 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.
|
|
12902
12906
|
* @summary Fetch paginated records
|
|
12903
|
-
* @param {
|
|
12907
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
|
|
12904
12908
|
* @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).
|
|
12905
12909
|
* @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
|
|
12906
12910
|
* @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.
|
|
@@ -12908,25 +12912,25 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12908
12912
|
* @param {*} [options] Override http request option.
|
|
12909
12913
|
* @throws {RequiredError}
|
|
12910
12914
|
*/
|
|
12911
|
-
index(
|
|
12912
|
-
return localVarFp.index(
|
|
12915
|
+
index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
|
|
12916
|
+
return localVarFp.index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(axios, basePath));
|
|
12913
12917
|
},
|
|
12914
12918
|
/**
|
|
12915
12919
|
* 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.
|
|
12916
12920
|
* @summary Fetch records for flow view
|
|
12917
|
-
* @param {
|
|
12921
|
+
* @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
|
|
12918
12922
|
* @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.
|
|
12919
12923
|
* @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).
|
|
12920
12924
|
* @param {*} [options] Override http request option.
|
|
12921
12925
|
* @throws {RequiredError}
|
|
12922
12926
|
*/
|
|
12923
|
-
indexFlow(
|
|
12924
|
-
return localVarFp.indexFlow(
|
|
12927
|
+
indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
|
|
12928
|
+
return localVarFp.indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options).then((request) => request(axios, basePath));
|
|
12925
12929
|
},
|
|
12926
12930
|
/**
|
|
12927
12931
|
* 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.
|
|
12928
12932
|
* @summary Fetch records for page view
|
|
12929
|
-
* @param {
|
|
12933
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
|
|
12930
12934
|
* @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
|
|
12931
12935
|
* @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.
|
|
12932
12936
|
* @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
|
|
@@ -12935,19 +12939,19 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12935
12939
|
* @param {*} [options] Override http request option.
|
|
12936
12940
|
* @throws {RequiredError}
|
|
12937
12941
|
*/
|
|
12938
|
-
indexPage(
|
|
12939
|
-
return localVarFp.indexPage(
|
|
12942
|
+
indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
|
|
12943
|
+
return localVarFp.indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(axios, basePath));
|
|
12940
12944
|
},
|
|
12941
12945
|
/**
|
|
12942
12946
|
* Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
|
|
12943
12947
|
* @summary Fetch records for table view
|
|
12944
|
-
* @param {
|
|
12948
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
|
|
12945
12949
|
* @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.
|
|
12946
12950
|
* @param {*} [options] Override http request option.
|
|
12947
12951
|
* @throws {RequiredError}
|
|
12948
12952
|
*/
|
|
12949
|
-
indexTable(
|
|
12950
|
-
return localVarFp.indexTable(
|
|
12953
|
+
indexTable(recordPaginationRequest, relatedRecordUuid, options) {
|
|
12954
|
+
return localVarFp.indexTable(recordPaginationRequest, relatedRecordUuid, options).then((request) => request(axios, basePath));
|
|
12951
12955
|
},
|
|
12952
12956
|
/**
|
|
12953
12957
|
* Retrieves a preview for a record specified by its UUID and preview name. Returns a ShowResponse containing the preview data.
|
|
@@ -12985,15 +12989,15 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
|
|
|
12985
12989
|
/**
|
|
12986
12990
|
* Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
|
|
12987
12991
|
* @summary Search records
|
|
12988
|
-
* @param {
|
|
12992
|
+
* @param {SearchRequest} searchRequest Search criteria
|
|
12989
12993
|
* @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
|
|
12990
12994
|
* @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).
|
|
12991
12995
|
* @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
12992
12996
|
* @param {*} [options] Override http request option.
|
|
12993
12997
|
* @throws {RequiredError}
|
|
12994
12998
|
*/
|
|
12995
|
-
search(
|
|
12996
|
-
return localVarFp.search(
|
|
12999
|
+
search(searchRequest, archived, parse, recordReturnFormat, options) {
|
|
13000
|
+
return localVarFp.search(searchRequest, archived, parse, recordReturnFormat, options).then((request) => request(axios, basePath));
|
|
12997
13001
|
},
|
|
12998
13002
|
/**
|
|
12999
13003
|
* 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.
|
|
@@ -13218,7 +13222,7 @@ class RecordsApi extends base_1.BaseAPI {
|
|
|
13218
13222
|
/**
|
|
13219
13223
|
* 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.
|
|
13220
13224
|
* @summary Fetch paginated records
|
|
13221
|
-
* @param {
|
|
13225
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for records
|
|
13222
13226
|
* @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).
|
|
13223
13227
|
* @param {boolean} [archived] When \'true\', archived records are returned instead of active records. Defaults to \'false\'.
|
|
13224
13228
|
* @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.
|
|
@@ -13226,25 +13230,25 @@ class RecordsApi extends base_1.BaseAPI {
|
|
|
13226
13230
|
* @param {*} [options] Override http request option.
|
|
13227
13231
|
* @throws {RequiredError}
|
|
13228
13232
|
*/
|
|
13229
|
-
index(
|
|
13230
|
-
return (0, exports.RecordsApiFp)(this.configuration).index(
|
|
13233
|
+
index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options) {
|
|
13234
|
+
return (0, exports.RecordsApiFp)(this.configuration).index(recordPaginationRequest, parse, archived, relatedRecordUuid, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
|
|
13231
13235
|
}
|
|
13232
13236
|
/**
|
|
13233
13237
|
* 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.
|
|
13234
13238
|
* @summary Fetch records for flow view
|
|
13235
|
-
* @param {
|
|
13239
|
+
* @param {FlowPaginationRequest} flowPaginationRequest Pagination request for flow view
|
|
13236
13240
|
* @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.
|
|
13237
13241
|
* @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).
|
|
13238
13242
|
* @param {*} [options] Override http request option.
|
|
13239
13243
|
* @throws {RequiredError}
|
|
13240
13244
|
*/
|
|
13241
|
-
indexFlow(
|
|
13242
|
-
return (0, exports.RecordsApiFp)(this.configuration).indexFlow(
|
|
13245
|
+
indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options) {
|
|
13246
|
+
return (0, exports.RecordsApiFp)(this.configuration).indexFlow(flowPaginationRequest, relatedRecordUuid, parse, options).then((request) => request(this.axios, this.basePath));
|
|
13243
13247
|
}
|
|
13244
13248
|
/**
|
|
13245
13249
|
* 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.
|
|
13246
13250
|
* @summary Fetch records for page view
|
|
13247
|
-
* @param {
|
|
13251
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for page view
|
|
13248
13252
|
* @param {string} [environment] Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'.
|
|
13249
13253
|
* @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.
|
|
13250
13254
|
* @param {string} [fields] Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned.
|
|
@@ -13253,19 +13257,19 @@ class RecordsApi extends base_1.BaseAPI {
|
|
|
13253
13257
|
* @param {*} [options] Override http request option.
|
|
13254
13258
|
* @throws {RequiredError}
|
|
13255
13259
|
*/
|
|
13256
|
-
indexPage(
|
|
13257
|
-
return (0, exports.RecordsApiFp)(this.configuration).indexPage(
|
|
13260
|
+
indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options) {
|
|
13261
|
+
return (0, exports.RecordsApiFp)(this.configuration).indexPage(recordPaginationRequest, environment, relatedRecordUuid, fields, publishedOnly, excludeTemplateRelated, options).then((request) => request(this.axios, this.basePath));
|
|
13258
13262
|
}
|
|
13259
13263
|
/**
|
|
13260
13264
|
* Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
|
|
13261
13265
|
* @summary Fetch records for table view
|
|
13262
|
-
* @param {
|
|
13266
|
+
* @param {RecordPaginationRequest} recordPaginationRequest Pagination request for table view
|
|
13263
13267
|
* @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.
|
|
13264
13268
|
* @param {*} [options] Override http request option.
|
|
13265
13269
|
* @throws {RequiredError}
|
|
13266
13270
|
*/
|
|
13267
|
-
indexTable(
|
|
13268
|
-
return (0, exports.RecordsApiFp)(this.configuration).indexTable(
|
|
13271
|
+
indexTable(recordPaginationRequest, relatedRecordUuid, options) {
|
|
13272
|
+
return (0, exports.RecordsApiFp)(this.configuration).indexTable(recordPaginationRequest, relatedRecordUuid, options).then((request) => request(this.axios, this.basePath));
|
|
13269
13273
|
}
|
|
13270
13274
|
/**
|
|
13271
13275
|
* Retrieves a preview for a record specified by its UUID and preview name. Returns a ShowResponse containing the preview data.
|
|
@@ -13303,15 +13307,15 @@ class RecordsApi extends base_1.BaseAPI {
|
|
|
13303
13307
|
/**
|
|
13304
13308
|
* Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
|
|
13305
13309
|
* @summary Search records
|
|
13306
|
-
* @param {
|
|
13310
|
+
* @param {SearchRequest} searchRequest Search criteria
|
|
13307
13311
|
* @param {boolean} [archived] When set to \'true\', includes soft-deleted records in the search results.
|
|
13308
13312
|
* @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).
|
|
13309
13313
|
* @param {SearchRecordReturnFormatEnum} [recordReturnFormat] Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED.
|
|
13310
13314
|
* @param {*} [options] Override http request option.
|
|
13311
13315
|
* @throws {RequiredError}
|
|
13312
13316
|
*/
|
|
13313
|
-
search(
|
|
13314
|
-
return (0, exports.RecordsApiFp)(this.configuration).search(
|
|
13317
|
+
search(searchRequest, archived, parse, recordReturnFormat, options) {
|
|
13318
|
+
return (0, exports.RecordsApiFp)(this.configuration).search(searchRequest, archived, parse, recordReturnFormat, options).then((request) => request(this.axios, this.basePath));
|
|
13315
13319
|
}
|
|
13316
13320
|
/**
|
|
13317
13321
|
* 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.
|
|
@@ -13549,7 +13553,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13549
13553
|
// authentication bearerAuth required
|
|
13550
13554
|
// http bearer authentication required
|
|
13551
13555
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13552
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
13556
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13553
13557
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13554
13558
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13555
13559
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13628,7 +13632,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13628
13632
|
// authentication bearerAuth required
|
|
13629
13633
|
// http bearer authentication required
|
|
13630
13634
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13631
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
13635
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13632
13636
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13633
13637
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13634
13638
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13661,7 +13665,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13661
13665
|
// authentication bearerAuth required
|
|
13662
13666
|
// http bearer authentication required
|
|
13663
13667
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13664
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
13668
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13665
13669
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13666
13670
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13667
13671
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13694,7 +13698,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13694
13698
|
// authentication bearerAuth required
|
|
13695
13699
|
// http bearer authentication required
|
|
13696
13700
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13697
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
13701
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13698
13702
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13699
13703
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13700
13704
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13743,13 +13747,13 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13743
13747
|
/**
|
|
13744
13748
|
* Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
|
|
13745
13749
|
* @summary Fetch paginated relations
|
|
13746
|
-
* @param {
|
|
13750
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
13747
13751
|
* @param {*} [options] Override http request option.
|
|
13748
13752
|
* @throws {RequiredError}
|
|
13749
13753
|
*/
|
|
13750
|
-
getRelations: (
|
|
13751
|
-
// verify required parameter '
|
|
13752
|
-
(0, common_1.assertParamExists)('getRelations', '
|
|
13754
|
+
getRelations: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
13755
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
13756
|
+
(0, common_1.assertParamExists)('getRelations', 'paginationRequest', paginationRequest);
|
|
13753
13757
|
const localVarPath = `/api/v2/relations/index`;
|
|
13754
13758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13755
13759
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -13768,7 +13772,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13768
13772
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13769
13773
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13770
13774
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13771
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13775
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
13772
13776
|
return {
|
|
13773
13777
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13774
13778
|
options: localVarRequestOptions,
|
|
@@ -13779,17 +13783,17 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13779
13783
|
* @summary Get all relations between two objects
|
|
13780
13784
|
* @param {string} fromObjectUuid
|
|
13781
13785
|
* @param {string} toObjectUuid
|
|
13782
|
-
* @param {
|
|
13786
|
+
* @param {PaginationRequest} paginationRequest
|
|
13783
13787
|
* @param {*} [options] Override http request option.
|
|
13784
13788
|
* @throws {RequiredError}
|
|
13785
13789
|
*/
|
|
13786
|
-
getRelationsBetweenObjects: (fromObjectUuid_1, toObjectUuid_1,
|
|
13790
|
+
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 = {}) {
|
|
13787
13791
|
// verify required parameter 'fromObjectUuid' is not null or undefined
|
|
13788
13792
|
(0, common_1.assertParamExists)('getRelationsBetweenObjects', 'fromObjectUuid', fromObjectUuid);
|
|
13789
13793
|
// verify required parameter 'toObjectUuid' is not null or undefined
|
|
13790
13794
|
(0, common_1.assertParamExists)('getRelationsBetweenObjects', 'toObjectUuid', toObjectUuid);
|
|
13791
|
-
// verify required parameter '
|
|
13792
|
-
(0, common_1.assertParamExists)('getRelationsBetweenObjects', '
|
|
13795
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
13796
|
+
(0, common_1.assertParamExists)('getRelationsBetweenObjects', 'paginationRequest', paginationRequest);
|
|
13793
13797
|
const localVarPath = `/api/v2/relations/index/{fromObjectUuid}/{toObjectUuid}`
|
|
13794
13798
|
.replace('{fromObjectUuid}', encodeURIComponent(String(fromObjectUuid)))
|
|
13795
13799
|
.replace('{toObjectUuid}', encodeURIComponent(String(toObjectUuid)));
|
|
@@ -13810,7 +13814,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13810
13814
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13811
13815
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13812
13816
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13813
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13817
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
13814
13818
|
return {
|
|
13815
13819
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13816
13820
|
options: localVarRequestOptions,
|
|
@@ -13820,15 +13824,15 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13820
13824
|
* 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.
|
|
13821
13825
|
* @summary Fetch relations for a specific object
|
|
13822
13826
|
* @param {string} objectUuid
|
|
13823
|
-
* @param {
|
|
13827
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
13824
13828
|
* @param {*} [options] Override http request option.
|
|
13825
13829
|
* @throws {RequiredError}
|
|
13826
13830
|
*/
|
|
13827
|
-
getRelationsByObject: (objectUuid_1,
|
|
13831
|
+
getRelationsByObject: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
|
|
13828
13832
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
13829
13833
|
(0, common_1.assertParamExists)('getRelationsByObject', 'objectUuid', objectUuid);
|
|
13830
|
-
// verify required parameter '
|
|
13831
|
-
(0, common_1.assertParamExists)('getRelationsByObject', '
|
|
13834
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
13835
|
+
(0, common_1.assertParamExists)('getRelationsByObject', 'paginationRequest', paginationRequest);
|
|
13832
13836
|
const localVarPath = `/api/v2/relations/index/{objectUuid}`
|
|
13833
13837
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
13834
13838
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -13848,7 +13852,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13848
13852
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13849
13853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13850
13854
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13851
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13855
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
13852
13856
|
return {
|
|
13853
13857
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13854
13858
|
options: localVarRequestOptions,
|
|
@@ -13911,7 +13915,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13911
13915
|
// authentication bearerAuth required
|
|
13912
13916
|
// http bearer authentication required
|
|
13913
13917
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13914
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
13918
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13915
13919
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13916
13920
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13917
13921
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13923,13 +13927,13 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13923
13927
|
/**
|
|
13924
13928
|
* 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.
|
|
13925
13929
|
* @summary Update relation indices
|
|
13926
|
-
* @param {string}
|
|
13930
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
|
|
13927
13931
|
* @param {*} [options] Override http request option.
|
|
13928
13932
|
* @throws {RequiredError}
|
|
13929
13933
|
*/
|
|
13930
|
-
updateIndices: (
|
|
13931
|
-
// verify required parameter '
|
|
13932
|
-
(0, common_1.assertParamExists)('updateIndices', '
|
|
13934
|
+
updateIndices: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
13935
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
13936
|
+
(0, common_1.assertParamExists)('updateIndices', 'requestBody', requestBody);
|
|
13933
13937
|
const localVarPath = `/api/v2/relations/updateIndices`;
|
|
13934
13938
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13935
13939
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -13948,7 +13952,7 @@ const RelationsApiAxiosParamCreator = function (configuration) {
|
|
|
13948
13952
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13949
13953
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13950
13954
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13951
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13955
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
13952
13956
|
return {
|
|
13953
13957
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13954
13958
|
options: localVarRequestOptions,
|
|
@@ -14068,14 +14072,14 @@ const RelationsApiFp = function (configuration) {
|
|
|
14068
14072
|
/**
|
|
14069
14073
|
* Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
|
|
14070
14074
|
* @summary Fetch paginated relations
|
|
14071
|
-
* @param {
|
|
14075
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14072
14076
|
* @param {*} [options] Override http request option.
|
|
14073
14077
|
* @throws {RequiredError}
|
|
14074
14078
|
*/
|
|
14075
|
-
getRelations(
|
|
14079
|
+
getRelations(paginationRequest, options) {
|
|
14076
14080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14077
14081
|
var _a, _b, _c;
|
|
14078
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelations(
|
|
14082
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelations(paginationRequest, options);
|
|
14079
14083
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14080
14084
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RelationsApi.getRelations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14081
14085
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14086,14 +14090,14 @@ const RelationsApiFp = function (configuration) {
|
|
|
14086
14090
|
* @summary Get all relations between two objects
|
|
14087
14091
|
* @param {string} fromObjectUuid
|
|
14088
14092
|
* @param {string} toObjectUuid
|
|
14089
|
-
* @param {
|
|
14093
|
+
* @param {PaginationRequest} paginationRequest
|
|
14090
14094
|
* @param {*} [options] Override http request option.
|
|
14091
14095
|
* @throws {RequiredError}
|
|
14092
14096
|
*/
|
|
14093
|
-
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14097
|
+
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
|
|
14094
14098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14095
14099
|
var _a, _b, _c;
|
|
14096
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14100
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options);
|
|
14097
14101
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14098
14102
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RelationsApi.getRelationsBetweenObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14099
14103
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14103,14 +14107,14 @@ const RelationsApiFp = function (configuration) {
|
|
|
14103
14107
|
* 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.
|
|
14104
14108
|
* @summary Fetch relations for a specific object
|
|
14105
14109
|
* @param {string} objectUuid
|
|
14106
|
-
* @param {
|
|
14110
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14107
14111
|
* @param {*} [options] Override http request option.
|
|
14108
14112
|
* @throws {RequiredError}
|
|
14109
14113
|
*/
|
|
14110
|
-
getRelationsByObject(objectUuid,
|
|
14114
|
+
getRelationsByObject(objectUuid, paginationRequest, options) {
|
|
14111
14115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14112
14116
|
var _a, _b, _c;
|
|
14113
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsByObject(objectUuid,
|
|
14117
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRelationsByObject(objectUuid, paginationRequest, options);
|
|
14114
14118
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14115
14119
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RelationsApi.getRelationsByObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14116
14120
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14151,14 +14155,14 @@ const RelationsApiFp = function (configuration) {
|
|
|
14151
14155
|
/**
|
|
14152
14156
|
* 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.
|
|
14153
14157
|
* @summary Update relation indices
|
|
14154
|
-
* @param {string}
|
|
14158
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
|
|
14155
14159
|
* @param {*} [options] Override http request option.
|
|
14156
14160
|
* @throws {RequiredError}
|
|
14157
14161
|
*/
|
|
14158
|
-
updateIndices(
|
|
14162
|
+
updateIndices(requestBody, options) {
|
|
14159
14163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14160
14164
|
var _a, _b, _c;
|
|
14161
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices(
|
|
14165
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices(requestBody, options);
|
|
14162
14166
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14163
14167
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RelationsApi.updateIndices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14164
14168
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14242,35 +14246,35 @@ const RelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
14242
14246
|
/**
|
|
14243
14247
|
* Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
|
|
14244
14248
|
* @summary Fetch paginated relations
|
|
14245
|
-
* @param {
|
|
14249
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14246
14250
|
* @param {*} [options] Override http request option.
|
|
14247
14251
|
* @throws {RequiredError}
|
|
14248
14252
|
*/
|
|
14249
|
-
getRelations(
|
|
14250
|
-
return localVarFp.getRelations(
|
|
14253
|
+
getRelations(paginationRequest, options) {
|
|
14254
|
+
return localVarFp.getRelations(paginationRequest, options).then((request) => request(axios, basePath));
|
|
14251
14255
|
},
|
|
14252
14256
|
/**
|
|
14253
14257
|
* Retrieves all relations between two objects based on the provided object UUIDs.
|
|
14254
14258
|
* @summary Get all relations between two objects
|
|
14255
14259
|
* @param {string} fromObjectUuid
|
|
14256
14260
|
* @param {string} toObjectUuid
|
|
14257
|
-
* @param {
|
|
14261
|
+
* @param {PaginationRequest} paginationRequest
|
|
14258
14262
|
* @param {*} [options] Override http request option.
|
|
14259
14263
|
* @throws {RequiredError}
|
|
14260
14264
|
*/
|
|
14261
|
-
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14262
|
-
return localVarFp.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14265
|
+
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
|
|
14266
|
+
return localVarFp.getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
14263
14267
|
},
|
|
14264
14268
|
/**
|
|
14265
14269
|
* 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.
|
|
14266
14270
|
* @summary Fetch relations for a specific object
|
|
14267
14271
|
* @param {string} objectUuid
|
|
14268
|
-
* @param {
|
|
14272
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14269
14273
|
* @param {*} [options] Override http request option.
|
|
14270
14274
|
* @throws {RequiredError}
|
|
14271
14275
|
*/
|
|
14272
|
-
getRelationsByObject(objectUuid,
|
|
14273
|
-
return localVarFp.getRelationsByObject(objectUuid,
|
|
14276
|
+
getRelationsByObject(objectUuid, paginationRequest, options) {
|
|
14277
|
+
return localVarFp.getRelationsByObject(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
14274
14278
|
},
|
|
14275
14279
|
/**
|
|
14276
14280
|
* Hard-deletes a soft-deleted relation. Only relations with deletedAt set can be removed.
|
|
@@ -14295,12 +14299,12 @@ const RelationsApiFactory = function (configuration, basePath, axios) {
|
|
|
14295
14299
|
/**
|
|
14296
14300
|
* 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.
|
|
14297
14301
|
* @summary Update relation indices
|
|
14298
|
-
* @param {string}
|
|
14302
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
|
|
14299
14303
|
* @param {*} [options] Override http request option.
|
|
14300
14304
|
* @throws {RequiredError}
|
|
14301
14305
|
*/
|
|
14302
|
-
updateIndices(
|
|
14303
|
-
return localVarFp.updateIndices(
|
|
14306
|
+
updateIndices(requestBody, options) {
|
|
14307
|
+
return localVarFp.updateIndices(requestBody, options).then((request) => request(axios, basePath));
|
|
14304
14308
|
},
|
|
14305
14309
|
};
|
|
14306
14310
|
};
|
|
@@ -14378,35 +14382,35 @@ class RelationsApi extends base_1.BaseAPI {
|
|
|
14378
14382
|
/**
|
|
14379
14383
|
* Retrieves a paginated list of relations. Returns a PaginationResponse containing RelationDTO objects based on the provided pagination criteria.
|
|
14380
14384
|
* @summary Fetch paginated relations
|
|
14381
|
-
* @param {
|
|
14385
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14382
14386
|
* @param {*} [options] Override http request option.
|
|
14383
14387
|
* @throws {RequiredError}
|
|
14384
14388
|
*/
|
|
14385
|
-
getRelations(
|
|
14386
|
-
return (0, exports.RelationsApiFp)(this.configuration).getRelations(
|
|
14389
|
+
getRelations(paginationRequest, options) {
|
|
14390
|
+
return (0, exports.RelationsApiFp)(this.configuration).getRelations(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14387
14391
|
}
|
|
14388
14392
|
/**
|
|
14389
14393
|
* Retrieves all relations between two objects based on the provided object UUIDs.
|
|
14390
14394
|
* @summary Get all relations between two objects
|
|
14391
14395
|
* @param {string} fromObjectUuid
|
|
14392
14396
|
* @param {string} toObjectUuid
|
|
14393
|
-
* @param {
|
|
14397
|
+
* @param {PaginationRequest} paginationRequest
|
|
14394
14398
|
* @param {*} [options] Override http request option.
|
|
14395
14399
|
* @throws {RequiredError}
|
|
14396
14400
|
*/
|
|
14397
|
-
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14398
|
-
return (0, exports.RelationsApiFp)(this.configuration).getRelationsBetweenObjects(fromObjectUuid, toObjectUuid,
|
|
14401
|
+
getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options) {
|
|
14402
|
+
return (0, exports.RelationsApiFp)(this.configuration).getRelationsBetweenObjects(fromObjectUuid, toObjectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14399
14403
|
}
|
|
14400
14404
|
/**
|
|
14401
14405
|
* 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.
|
|
14402
14406
|
* @summary Fetch relations for a specific object
|
|
14403
14407
|
* @param {string} objectUuid
|
|
14404
|
-
* @param {
|
|
14408
|
+
* @param {PaginationRequest} paginationRequest Pagination request for relations
|
|
14405
14409
|
* @param {*} [options] Override http request option.
|
|
14406
14410
|
* @throws {RequiredError}
|
|
14407
14411
|
*/
|
|
14408
|
-
getRelationsByObject(objectUuid,
|
|
14409
|
-
return (0, exports.RelationsApiFp)(this.configuration).getRelationsByObject(objectUuid,
|
|
14412
|
+
getRelationsByObject(objectUuid, paginationRequest, options) {
|
|
14413
|
+
return (0, exports.RelationsApiFp)(this.configuration).getRelationsByObject(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14410
14414
|
}
|
|
14411
14415
|
/**
|
|
14412
14416
|
* Hard-deletes a soft-deleted relation. Only relations with deletedAt set can be removed.
|
|
@@ -14431,12 +14435,12 @@ class RelationsApi extends base_1.BaseAPI {
|
|
|
14431
14435
|
/**
|
|
14432
14436
|
* 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.
|
|
14433
14437
|
* @summary Update relation indices
|
|
14434
|
-
* @param {string}
|
|
14438
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of relation UUIDs to new index values
|
|
14435
14439
|
* @param {*} [options] Override http request option.
|
|
14436
14440
|
* @throws {RequiredError}
|
|
14437
14441
|
*/
|
|
14438
|
-
updateIndices(
|
|
14439
|
-
return (0, exports.RelationsApiFp)(this.configuration).updateIndices(
|
|
14442
|
+
updateIndices(requestBody, options) {
|
|
14443
|
+
return (0, exports.RelationsApiFp)(this.configuration).updateIndices(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
14440
14444
|
}
|
|
14441
14445
|
}
|
|
14442
14446
|
exports.RelationsApi = RelationsApi;
|
|
@@ -14524,15 +14528,15 @@ const ServerlessFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
14524
14528
|
* Retrieves a paginated list of serverless functions that belong to the specified app.
|
|
14525
14529
|
* @summary List serverless functions for an app
|
|
14526
14530
|
* @param {string} appUuid UUID of the app whose serverless functions to list
|
|
14527
|
-
* @param {
|
|
14531
|
+
* @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
|
|
14528
14532
|
* @param {*} [options] Override http request option.
|
|
14529
14533
|
* @throws {RequiredError}
|
|
14530
14534
|
*/
|
|
14531
|
-
index2: (appUuid_1,
|
|
14535
|
+
index2: (appUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [appUuid_1, paginationRequest_1, ...args_1], void 0, function* (appUuid, paginationRequest, options = {}) {
|
|
14532
14536
|
// verify required parameter 'appUuid' is not null or undefined
|
|
14533
14537
|
(0, common_1.assertParamExists)('index2', 'appUuid', appUuid);
|
|
14534
|
-
// verify required parameter '
|
|
14535
|
-
(0, common_1.assertParamExists)('index2', '
|
|
14538
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
14539
|
+
(0, common_1.assertParamExists)('index2', 'paginationRequest', paginationRequest);
|
|
14536
14540
|
const localVarPath = `/api/v2/apps/{appUuid}/serverless-functions/index`
|
|
14537
14541
|
.replace('{appUuid}', encodeURIComponent(String(appUuid)));
|
|
14538
14542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14552,7 +14556,7 @@ const ServerlessFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
14552
14556
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14553
14557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14554
14558
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14555
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
14559
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
14556
14560
|
return {
|
|
14557
14561
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14558
14562
|
options: localVarRequestOptions,
|
|
@@ -14809,14 +14813,14 @@ const ServerlessFunctionsApiFp = function (configuration) {
|
|
|
14809
14813
|
* Retrieves a paginated list of serverless functions that belong to the specified app.
|
|
14810
14814
|
* @summary List serverless functions for an app
|
|
14811
14815
|
* @param {string} appUuid UUID of the app whose serverless functions to list
|
|
14812
|
-
* @param {
|
|
14816
|
+
* @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
|
|
14813
14817
|
* @param {*} [options] Override http request option.
|
|
14814
14818
|
* @throws {RequiredError}
|
|
14815
14819
|
*/
|
|
14816
|
-
index2(appUuid,
|
|
14820
|
+
index2(appUuid, paginationRequest, options) {
|
|
14817
14821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14818
14822
|
var _a, _b, _c;
|
|
14819
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.index2(appUuid,
|
|
14823
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.index2(appUuid, paginationRequest, options);
|
|
14820
14824
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14821
14825
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServerlessFunctionsApi.index2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14822
14826
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14946,12 +14950,12 @@ const ServerlessFunctionsApiFactory = function (configuration, basePath, axios)
|
|
|
14946
14950
|
* Retrieves a paginated list of serverless functions that belong to the specified app.
|
|
14947
14951
|
* @summary List serverless functions for an app
|
|
14948
14952
|
* @param {string} appUuid UUID of the app whose serverless functions to list
|
|
14949
|
-
* @param {
|
|
14953
|
+
* @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
|
|
14950
14954
|
* @param {*} [options] Override http request option.
|
|
14951
14955
|
* @throws {RequiredError}
|
|
14952
14956
|
*/
|
|
14953
|
-
index2(appUuid,
|
|
14954
|
-
return localVarFp.index2(appUuid,
|
|
14957
|
+
index2(appUuid, paginationRequest, options) {
|
|
14958
|
+
return localVarFp.index2(appUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
14955
14959
|
},
|
|
14956
14960
|
/**
|
|
14957
14961
|
* Queries Cloud Logging for recent log entries emitted by the Cloud Function backing this serverless function.
|
|
@@ -15045,12 +15049,12 @@ class ServerlessFunctionsApi extends base_1.BaseAPI {
|
|
|
15045
15049
|
* Retrieves a paginated list of serverless functions that belong to the specified app.
|
|
15046
15050
|
* @summary List serverless functions for an app
|
|
15047
15051
|
* @param {string} appUuid UUID of the app whose serverless functions to list
|
|
15048
|
-
* @param {
|
|
15052
|
+
* @param {PaginationRequest} paginationRequest Pagination and filtering options for the request
|
|
15049
15053
|
* @param {*} [options] Override http request option.
|
|
15050
15054
|
* @throws {RequiredError}
|
|
15051
15055
|
*/
|
|
15052
|
-
index2(appUuid,
|
|
15053
|
-
return (0, exports.ServerlessFunctionsApiFp)(this.configuration).index2(appUuid,
|
|
15056
|
+
index2(appUuid, paginationRequest, options) {
|
|
15057
|
+
return (0, exports.ServerlessFunctionsApiFp)(this.configuration).index2(appUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15054
15058
|
}
|
|
15055
15059
|
/**
|
|
15056
15060
|
* Queries Cloud Logging for recent log entries emitted by the Cloud Function backing this serverless function.
|
|
@@ -15231,13 +15235,13 @@ const SyncApiAxiosParamCreator = function (configuration) {
|
|
|
15231
15235
|
/**
|
|
15232
15236
|
* Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
|
|
15233
15237
|
* @summary Fetch paginated syncs
|
|
15234
|
-
* @param {
|
|
15238
|
+
* @param {PaginationRequest} paginationRequest Pagination request for syncs
|
|
15235
15239
|
* @param {*} [options] Override http request option.
|
|
15236
15240
|
* @throws {RequiredError}
|
|
15237
15241
|
*/
|
|
15238
|
-
getSyncs: (
|
|
15239
|
-
// verify required parameter '
|
|
15240
|
-
(0, common_1.assertParamExists)('getSyncs', '
|
|
15242
|
+
getSyncs: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
15243
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
15244
|
+
(0, common_1.assertParamExists)('getSyncs', 'paginationRequest', paginationRequest);
|
|
15241
15245
|
const localVarPath = `/api/v2/sync/index`;
|
|
15242
15246
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15243
15247
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -15256,7 +15260,7 @@ const SyncApiAxiosParamCreator = function (configuration) {
|
|
|
15256
15260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15257
15261
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15258
15262
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15259
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
15263
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
15260
15264
|
return {
|
|
15261
15265
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15262
15266
|
options: localVarRequestOptions,
|
|
@@ -15286,7 +15290,7 @@ const SyncApiAxiosParamCreator = function (configuration) {
|
|
|
15286
15290
|
// authentication bearerAuth required
|
|
15287
15291
|
// http bearer authentication required
|
|
15288
15292
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15289
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
15293
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15290
15294
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15291
15295
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15292
15296
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15395,14 +15399,14 @@ const SyncApiFp = function (configuration) {
|
|
|
15395
15399
|
/**
|
|
15396
15400
|
* Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
|
|
15397
15401
|
* @summary Fetch paginated syncs
|
|
15398
|
-
* @param {
|
|
15402
|
+
* @param {PaginationRequest} paginationRequest Pagination request for syncs
|
|
15399
15403
|
* @param {*} [options] Override http request option.
|
|
15400
15404
|
* @throws {RequiredError}
|
|
15401
15405
|
*/
|
|
15402
|
-
getSyncs(
|
|
15406
|
+
getSyncs(paginationRequest, options) {
|
|
15403
15407
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15404
15408
|
var _a, _b, _c;
|
|
15405
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSyncs(
|
|
15409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSyncs(paginationRequest, options);
|
|
15406
15410
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15407
15411
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SyncApi.getSyncs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15408
15412
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15485,12 +15489,12 @@ const SyncApiFactory = function (configuration, basePath, axios) {
|
|
|
15485
15489
|
/**
|
|
15486
15490
|
* Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
|
|
15487
15491
|
* @summary Fetch paginated syncs
|
|
15488
|
-
* @param {
|
|
15492
|
+
* @param {PaginationRequest} paginationRequest Pagination request for syncs
|
|
15489
15493
|
* @param {*} [options] Override http request option.
|
|
15490
15494
|
* @throws {RequiredError}
|
|
15491
15495
|
*/
|
|
15492
|
-
getSyncs(
|
|
15493
|
-
return localVarFp.getSyncs(
|
|
15496
|
+
getSyncs(paginationRequest, options) {
|
|
15497
|
+
return localVarFp.getSyncs(paginationRequest, options).then((request) => request(axios, basePath));
|
|
15494
15498
|
},
|
|
15495
15499
|
/**
|
|
15496
15500
|
* Restores a previously deleted sync by its UUID. Returns a RestoreResponse containing the restored sync details.
|
|
@@ -15555,12 +15559,12 @@ class SyncApi extends base_1.BaseAPI {
|
|
|
15555
15559
|
/**
|
|
15556
15560
|
* Retrieves a paginated list of syncs. Returns a PaginationResponse containing SyncDTO objects based on the provided pagination criteria.
|
|
15557
15561
|
* @summary Fetch paginated syncs
|
|
15558
|
-
* @param {
|
|
15562
|
+
* @param {PaginationRequest} paginationRequest Pagination request for syncs
|
|
15559
15563
|
* @param {*} [options] Override http request option.
|
|
15560
15564
|
* @throws {RequiredError}
|
|
15561
15565
|
*/
|
|
15562
|
-
getSyncs(
|
|
15563
|
-
return (0, exports.SyncApiFp)(this.configuration).getSyncs(
|
|
15566
|
+
getSyncs(paginationRequest, options) {
|
|
15567
|
+
return (0, exports.SyncApiFp)(this.configuration).getSyncs(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15564
15568
|
}
|
|
15565
15569
|
/**
|
|
15566
15570
|
* Restores a previously deleted sync by its UUID. Returns a RestoreResponse containing the restored sync details.
|
|
@@ -15595,7 +15599,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15595
15599
|
* @summary Create or update a trait for an object
|
|
15596
15600
|
* @param {string} objectUuid
|
|
15597
15601
|
* @param {string} traitName
|
|
15598
|
-
* @param {
|
|
15602
|
+
* @param {object} body Trait details as a JSON map
|
|
15599
15603
|
* @param {*} [options] Override http request option.
|
|
15600
15604
|
* @throws {RequiredError}
|
|
15601
15605
|
*/
|
|
@@ -15660,7 +15664,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15660
15664
|
// authentication bearerAuth required
|
|
15661
15665
|
// http bearer authentication required
|
|
15662
15666
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15663
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
15667
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15664
15668
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15665
15669
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15666
15670
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15697,7 +15701,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15697
15701
|
// authentication bearerAuth required
|
|
15698
15702
|
// http bearer authentication required
|
|
15699
15703
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15700
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
15704
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15701
15705
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15702
15706
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15703
15707
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15730,7 +15734,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15730
15734
|
// authentication bearerAuth required
|
|
15731
15735
|
// http bearer authentication required
|
|
15732
15736
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15733
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
15737
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15734
15738
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15735
15739
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15736
15740
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15783,7 +15787,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15783
15787
|
if (switchAccount !== undefined) {
|
|
15784
15788
|
localVarQueryParameter['switchAccount'] = switchAccount;
|
|
15785
15789
|
}
|
|
15786
|
-
localVarHeaderParameter['Accept'] = 'text/html';
|
|
15790
|
+
localVarHeaderParameter['Accept'] = 'text/html,application/json';
|
|
15787
15791
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15788
15792
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15789
15793
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15846,6 +15850,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15846
15850
|
localVarFormParams.set('scope', scope);
|
|
15847
15851
|
}
|
|
15848
15852
|
localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
15853
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15849
15854
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15850
15855
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15851
15856
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15899,6 +15904,7 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
15899
15904
|
if (scope !== undefined) {
|
|
15900
15905
|
localVarQueryParameter['scope'] = scope;
|
|
15901
15906
|
}
|
|
15907
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15902
15908
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15903
15909
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15904
15910
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15967,7 +15973,7 @@ const TraitsApiFp = function (configuration) {
|
|
|
15967
15973
|
* @summary Create or update a trait for an object
|
|
15968
15974
|
* @param {string} objectUuid
|
|
15969
15975
|
* @param {string} traitName
|
|
15970
|
-
* @param {
|
|
15976
|
+
* @param {object} body Trait details as a JSON map
|
|
15971
15977
|
* @param {*} [options] Override http request option.
|
|
15972
15978
|
* @throws {RequiredError}
|
|
15973
15979
|
*/
|
|
@@ -16127,7 +16133,7 @@ const TraitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16127
16133
|
* @summary Create or update a trait for an object
|
|
16128
16134
|
* @param {string} objectUuid
|
|
16129
16135
|
* @param {string} traitName
|
|
16130
|
-
* @param {
|
|
16136
|
+
* @param {object} body Trait details as a JSON map
|
|
16131
16137
|
* @param {*} [options] Override http request option.
|
|
16132
16138
|
* @throws {RequiredError}
|
|
16133
16139
|
*/
|
|
@@ -16237,7 +16243,7 @@ class TraitsApi extends base_1.BaseAPI {
|
|
|
16237
16243
|
* @summary Create or update a trait for an object
|
|
16238
16244
|
* @param {string} objectUuid
|
|
16239
16245
|
* @param {string} traitName
|
|
16240
|
-
* @param {
|
|
16246
|
+
* @param {object} body Trait details as a JSON map
|
|
16241
16247
|
* @param {*} [options] Override http request option.
|
|
16242
16248
|
* @throws {RequiredError}
|
|
16243
16249
|
*/
|
|
@@ -16408,7 +16414,7 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16408
16414
|
// authentication bearerAuth required
|
|
16409
16415
|
// http bearer authentication required
|
|
16410
16416
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16411
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
16417
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16412
16418
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16413
16419
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16414
16420
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16445,7 +16451,7 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16445
16451
|
// authentication bearerAuth required
|
|
16446
16452
|
// http bearer authentication required
|
|
16447
16453
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16448
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
16454
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16449
16455
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16450
16456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16451
16457
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16482,7 +16488,7 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16482
16488
|
// authentication bearerAuth required
|
|
16483
16489
|
// http bearer authentication required
|
|
16484
16490
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16485
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
16491
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16486
16492
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16487
16493
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16488
16494
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16495,15 +16501,15 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16495
16501
|
* 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.
|
|
16496
16502
|
* @summary Fetch paginated views for an object
|
|
16497
16503
|
* @param {string} objectUuid
|
|
16498
|
-
* @param {
|
|
16504
|
+
* @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
|
|
16499
16505
|
* @param {*} [options] Override http request option.
|
|
16500
16506
|
* @throws {RequiredError}
|
|
16501
16507
|
*/
|
|
16502
|
-
getViews: (objectUuid_1,
|
|
16508
|
+
getViews: (objectUuid_1, paginationRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, paginationRequest_1, ...args_1], void 0, function* (objectUuid, paginationRequest, options = {}) {
|
|
16503
16509
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
16504
16510
|
(0, common_1.assertParamExists)('getViews', 'objectUuid', objectUuid);
|
|
16505
|
-
// verify required parameter '
|
|
16506
|
-
(0, common_1.assertParamExists)('getViews', '
|
|
16511
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
16512
|
+
(0, common_1.assertParamExists)('getViews', 'paginationRequest', paginationRequest);
|
|
16507
16513
|
const localVarPath = `/api/v2/objects/{objectUuid}/views/index`
|
|
16508
16514
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
16509
16515
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -16523,7 +16529,7 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16523
16529
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16524
16530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16525
16531
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16526
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16532
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
16527
16533
|
return {
|
|
16528
16534
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16529
16535
|
options: localVarRequestOptions,
|
|
@@ -16533,15 +16539,15 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16533
16539
|
* 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.
|
|
16534
16540
|
* @summary Update view indices
|
|
16535
16541
|
* @param {string} objectUuid
|
|
16536
|
-
* @param {string}
|
|
16542
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
|
|
16537
16543
|
* @param {*} [options] Override http request option.
|
|
16538
16544
|
* @throws {RequiredError}
|
|
16539
16545
|
*/
|
|
16540
|
-
updateIndices1: (objectUuid_1,
|
|
16546
|
+
updateIndices1: (objectUuid_1, requestBody_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, ...args_1], void 0, function* (objectUuid, requestBody, options = {}) {
|
|
16541
16547
|
// verify required parameter 'objectUuid' is not null or undefined
|
|
16542
16548
|
(0, common_1.assertParamExists)('updateIndices1', 'objectUuid', objectUuid);
|
|
16543
|
-
// verify required parameter '
|
|
16544
|
-
(0, common_1.assertParamExists)('updateIndices1', '
|
|
16549
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
16550
|
+
(0, common_1.assertParamExists)('updateIndices1', 'requestBody', requestBody);
|
|
16545
16551
|
const localVarPath = `/api/v2/objects/{objectUuid}/views/updateIndices`
|
|
16546
16552
|
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
16547
16553
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -16561,7 +16567,7 @@ const ViewsApiAxiosParamCreator = function (configuration) {
|
|
|
16561
16567
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16562
16568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16563
16569
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16564
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16570
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
16565
16571
|
return {
|
|
16566
16572
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16567
16573
|
options: localVarRequestOptions,
|
|
@@ -16690,14 +16696,14 @@ const ViewsApiFp = function (configuration) {
|
|
|
16690
16696
|
* 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.
|
|
16691
16697
|
* @summary Fetch paginated views for an object
|
|
16692
16698
|
* @param {string} objectUuid
|
|
16693
|
-
* @param {
|
|
16699
|
+
* @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
|
|
16694
16700
|
* @param {*} [options] Override http request option.
|
|
16695
16701
|
* @throws {RequiredError}
|
|
16696
16702
|
*/
|
|
16697
|
-
getViews(objectUuid,
|
|
16703
|
+
getViews(objectUuid, paginationRequest, options) {
|
|
16698
16704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16699
16705
|
var _a, _b, _c;
|
|
16700
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getViews(objectUuid,
|
|
16706
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getViews(objectUuid, paginationRequest, options);
|
|
16701
16707
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16702
16708
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ViewsApi.getViews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16703
16709
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16707,14 +16713,14 @@ const ViewsApiFp = function (configuration) {
|
|
|
16707
16713
|
* 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.
|
|
16708
16714
|
* @summary Update view indices
|
|
16709
16715
|
* @param {string} objectUuid
|
|
16710
|
-
* @param {string}
|
|
16716
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
|
|
16711
16717
|
* @param {*} [options] Override http request option.
|
|
16712
16718
|
* @throws {RequiredError}
|
|
16713
16719
|
*/
|
|
16714
|
-
updateIndices1(objectUuid,
|
|
16720
|
+
updateIndices1(objectUuid, requestBody, options) {
|
|
16715
16721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16716
16722
|
var _a, _b, _c;
|
|
16717
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices1(objectUuid,
|
|
16723
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateIndices1(objectUuid, requestBody, options);
|
|
16718
16724
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16719
16725
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ViewsApi.updateIndices1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16720
16726
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16795,23 +16801,23 @@ const ViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16795
16801
|
* 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.
|
|
16796
16802
|
* @summary Fetch paginated views for an object
|
|
16797
16803
|
* @param {string} objectUuid
|
|
16798
|
-
* @param {
|
|
16804
|
+
* @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
|
|
16799
16805
|
* @param {*} [options] Override http request option.
|
|
16800
16806
|
* @throws {RequiredError}
|
|
16801
16807
|
*/
|
|
16802
|
-
getViews(objectUuid,
|
|
16803
|
-
return localVarFp.getViews(objectUuid,
|
|
16808
|
+
getViews(objectUuid, paginationRequest, options) {
|
|
16809
|
+
return localVarFp.getViews(objectUuid, paginationRequest, options).then((request) => request(axios, basePath));
|
|
16804
16810
|
},
|
|
16805
16811
|
/**
|
|
16806
16812
|
* 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.
|
|
16807
16813
|
* @summary Update view indices
|
|
16808
16814
|
* @param {string} objectUuid
|
|
16809
|
-
* @param {string}
|
|
16815
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
|
|
16810
16816
|
* @param {*} [options] Override http request option.
|
|
16811
16817
|
* @throws {RequiredError}
|
|
16812
16818
|
*/
|
|
16813
|
-
updateIndices1(objectUuid,
|
|
16814
|
-
return localVarFp.updateIndices1(objectUuid,
|
|
16819
|
+
updateIndices1(objectUuid, requestBody, options) {
|
|
16820
|
+
return localVarFp.updateIndices1(objectUuid, requestBody, options).then((request) => request(axios, basePath));
|
|
16815
16821
|
},
|
|
16816
16822
|
/**
|
|
16817
16823
|
* 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.
|
|
@@ -16880,23 +16886,23 @@ class ViewsApi extends base_1.BaseAPI {
|
|
|
16880
16886
|
* 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.
|
|
16881
16887
|
* @summary Fetch paginated views for an object
|
|
16882
16888
|
* @param {string} objectUuid
|
|
16883
|
-
* @param {
|
|
16889
|
+
* @param {PaginationRequest} paginationRequest Pagination request details (limit, page, filters, sort, query)
|
|
16884
16890
|
* @param {*} [options] Override http request option.
|
|
16885
16891
|
* @throws {RequiredError}
|
|
16886
16892
|
*/
|
|
16887
|
-
getViews(objectUuid,
|
|
16888
|
-
return (0, exports.ViewsApiFp)(this.configuration).getViews(objectUuid,
|
|
16893
|
+
getViews(objectUuid, paginationRequest, options) {
|
|
16894
|
+
return (0, exports.ViewsApiFp)(this.configuration).getViews(objectUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16889
16895
|
}
|
|
16890
16896
|
/**
|
|
16891
16897
|
* 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.
|
|
16892
16898
|
* @summary Update view indices
|
|
16893
16899
|
* @param {string} objectUuid
|
|
16894
|
-
* @param {string}
|
|
16900
|
+
* @param {{ [key: string]: number; }} requestBody Mapping of view UUIDs to new index values
|
|
16895
16901
|
* @param {*} [options] Override http request option.
|
|
16896
16902
|
* @throws {RequiredError}
|
|
16897
16903
|
*/
|
|
16898
|
-
updateIndices1(objectUuid,
|
|
16899
|
-
return (0, exports.ViewsApiFp)(this.configuration).updateIndices1(objectUuid,
|
|
16904
|
+
updateIndices1(objectUuid, requestBody, options) {
|
|
16905
|
+
return (0, exports.ViewsApiFp)(this.configuration).updateIndices1(objectUuid, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
16900
16906
|
}
|
|
16901
16907
|
/**
|
|
16902
16908
|
* 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.
|
|
@@ -17020,13 +17026,13 @@ const WebMenusApiAxiosParamCreator = function (configuration) {
|
|
|
17020
17026
|
/**
|
|
17021
17027
|
* Index web menus
|
|
17022
17028
|
* @summary Index web menus
|
|
17023
|
-
* @param {
|
|
17029
|
+
* @param {PaginationRequest} paginationRequest
|
|
17024
17030
|
* @param {*} [options] Override http request option.
|
|
17025
17031
|
* @throws {RequiredError}
|
|
17026
17032
|
*/
|
|
17027
|
-
indexWebMenus: (
|
|
17028
|
-
// verify required parameter '
|
|
17029
|
-
(0, common_1.assertParamExists)('indexWebMenus', '
|
|
17033
|
+
indexWebMenus: (paginationRequest_1, ...args_1) => __awaiter(this, [paginationRequest_1, ...args_1], void 0, function* (paginationRequest, options = {}) {
|
|
17034
|
+
// verify required parameter 'paginationRequest' is not null or undefined
|
|
17035
|
+
(0, common_1.assertParamExists)('indexWebMenus', 'paginationRequest', paginationRequest);
|
|
17030
17036
|
const localVarPath = `/api/v2/webmenus/index`;
|
|
17031
17037
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17032
17038
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -17045,7 +17051,7 @@ const WebMenusApiAxiosParamCreator = function (configuration) {
|
|
|
17045
17051
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17046
17052
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17047
17053
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17048
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
17054
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paginationRequest, localVarRequestOptions, configuration);
|
|
17049
17055
|
return {
|
|
17050
17056
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17051
17057
|
options: localVarRequestOptions,
|
|
@@ -17075,7 +17081,7 @@ const WebMenusApiAxiosParamCreator = function (configuration) {
|
|
|
17075
17081
|
// authentication bearerAuth required
|
|
17076
17082
|
// http bearer authentication required
|
|
17077
17083
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17078
|
-
localVarHeaderParameter['Accept'] = 'application/json
|
|
17084
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
17079
17085
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17080
17086
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17081
17087
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17182,14 +17188,14 @@ const WebMenusApiFp = function (configuration) {
|
|
|
17182
17188
|
/**
|
|
17183
17189
|
* Index web menus
|
|
17184
17190
|
* @summary Index web menus
|
|
17185
|
-
* @param {
|
|
17191
|
+
* @param {PaginationRequest} paginationRequest
|
|
17186
17192
|
* @param {*} [options] Override http request option.
|
|
17187
17193
|
* @throws {RequiredError}
|
|
17188
17194
|
*/
|
|
17189
|
-
indexWebMenus(
|
|
17195
|
+
indexWebMenus(paginationRequest, options) {
|
|
17190
17196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17191
17197
|
var _a, _b, _c;
|
|
17192
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexWebMenus(
|
|
17198
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.indexWebMenus(paginationRequest, options);
|
|
17193
17199
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17194
17200
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebMenusApi.indexWebMenus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17195
17201
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17270,12 +17276,12 @@ const WebMenusApiFactory = function (configuration, basePath, axios) {
|
|
|
17270
17276
|
/**
|
|
17271
17277
|
* Index web menus
|
|
17272
17278
|
* @summary Index web menus
|
|
17273
|
-
* @param {
|
|
17279
|
+
* @param {PaginationRequest} paginationRequest
|
|
17274
17280
|
* @param {*} [options] Override http request option.
|
|
17275
17281
|
* @throws {RequiredError}
|
|
17276
17282
|
*/
|
|
17277
|
-
indexWebMenus(
|
|
17278
|
-
return localVarFp.indexWebMenus(
|
|
17283
|
+
indexWebMenus(paginationRequest, options) {
|
|
17284
|
+
return localVarFp.indexWebMenus(paginationRequest, options).then((request) => request(axios, basePath));
|
|
17279
17285
|
},
|
|
17280
17286
|
/**
|
|
17281
17287
|
* Restore a deleted web menu by its UUID
|
|
@@ -17338,12 +17344,12 @@ class WebMenusApi extends base_1.BaseAPI {
|
|
|
17338
17344
|
/**
|
|
17339
17345
|
* Index web menus
|
|
17340
17346
|
* @summary Index web menus
|
|
17341
|
-
* @param {
|
|
17347
|
+
* @param {PaginationRequest} paginationRequest
|
|
17342
17348
|
* @param {*} [options] Override http request option.
|
|
17343
17349
|
* @throws {RequiredError}
|
|
17344
17350
|
*/
|
|
17345
|
-
indexWebMenus(
|
|
17346
|
-
return (0, exports.WebMenusApiFp)(this.configuration).indexWebMenus(
|
|
17351
|
+
indexWebMenus(paginationRequest, options) {
|
|
17352
|
+
return (0, exports.WebMenusApiFp)(this.configuration).indexWebMenus(paginationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17347
17353
|
}
|
|
17348
17354
|
/**
|
|
17349
17355
|
* Restore a deleted web menu by its UUID
|