@seekora-ai/admin-api 1.1.6 → 1.1.8
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/README.md +6 -2
- package/api.ts +936 -11
- package/dist/api.d.ts +797 -9
- package/dist/api.js +273 -16
- package/dist/esm/api.d.ts +797 -9
- package/dist/esm/api.js +263 -10
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.8.tgz +0 -0
- package/seekora-ai-admin-api-1.1.6.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,12 +22,12 @@ 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.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = void 0;
|
|
25
|
+
exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
|
+
exports.AdminBillingUsageDetailsGetGranularityEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = void 0;
|
|
27
|
+
exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = void 0;
|
|
29
|
+
exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = void 0;
|
|
30
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -92,6 +92,11 @@ exports.DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
|
92
92
|
ExpiringCredits: 'expiring_credits',
|
|
93
93
|
DaysRemaining: 'days_remaining'
|
|
94
94
|
};
|
|
95
|
+
exports.DataTypesBillingAlertRequestThresholdUnitEnum = {
|
|
96
|
+
Credits: 'credits',
|
|
97
|
+
Days: 'days',
|
|
98
|
+
Percentage: 'percentage'
|
|
99
|
+
};
|
|
95
100
|
exports.DataTypesCreateCustomWordListRequestTypeEnum = {
|
|
96
101
|
Stopwords: 'stopwords',
|
|
97
102
|
Synonyms: 'synonyms'
|
|
@@ -10044,6 +10049,174 @@ class CommonApi extends base_1.BaseAPI {
|
|
|
10044
10049
|
}
|
|
10045
10050
|
}
|
|
10046
10051
|
exports.CommonApi = CommonApi;
|
|
10052
|
+
/**
|
|
10053
|
+
* CompanyConfigApi - axios parameter creator
|
|
10054
|
+
* @export
|
|
10055
|
+
*/
|
|
10056
|
+
const CompanyConfigApiAxiosParamCreator = function (configuration) {
|
|
10057
|
+
return {
|
|
10058
|
+
/**
|
|
10059
|
+
* Retrieves company information used on invoices and receipts
|
|
10060
|
+
* @summary Get company configuration
|
|
10061
|
+
* @param {*} [options] Override http request option.
|
|
10062
|
+
* @throws {RequiredError}
|
|
10063
|
+
*/
|
|
10064
|
+
adminV1ConfigCompanyGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
10065
|
+
const localVarPath = `/admin/v1/config/company`;
|
|
10066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10067
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10068
|
+
let baseOptions;
|
|
10069
|
+
if (configuration) {
|
|
10070
|
+
baseOptions = configuration.baseOptions;
|
|
10071
|
+
}
|
|
10072
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10073
|
+
const localVarHeaderParameter = {};
|
|
10074
|
+
const localVarQueryParameter = {};
|
|
10075
|
+
// authentication BearerAuth required
|
|
10076
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10077
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10079
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10080
|
+
return {
|
|
10081
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10082
|
+
options: localVarRequestOptions,
|
|
10083
|
+
};
|
|
10084
|
+
}),
|
|
10085
|
+
/**
|
|
10086
|
+
* Updates company information used on invoices and receipts
|
|
10087
|
+
* @summary Update company configuration
|
|
10088
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10089
|
+
* @param {*} [options] Override http request option.
|
|
10090
|
+
* @throws {RequiredError}
|
|
10091
|
+
*/
|
|
10092
|
+
adminV1ConfigCompanyPut: (dataTypesCompanyConfigRequest_1, ...args_1) => __awaiter(this, [dataTypesCompanyConfigRequest_1, ...args_1], void 0, function* (dataTypesCompanyConfigRequest, options = {}) {
|
|
10093
|
+
// verify required parameter 'dataTypesCompanyConfigRequest' is not null or undefined
|
|
10094
|
+
(0, common_1.assertParamExists)('adminV1ConfigCompanyPut', 'dataTypesCompanyConfigRequest', dataTypesCompanyConfigRequest);
|
|
10095
|
+
const localVarPath = `/admin/v1/config/company`;
|
|
10096
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10097
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10098
|
+
let baseOptions;
|
|
10099
|
+
if (configuration) {
|
|
10100
|
+
baseOptions = configuration.baseOptions;
|
|
10101
|
+
}
|
|
10102
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
10103
|
+
const localVarHeaderParameter = {};
|
|
10104
|
+
const localVarQueryParameter = {};
|
|
10105
|
+
// authentication BearerAuth required
|
|
10106
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10107
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10108
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10110
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10111
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCompanyConfigRequest, localVarRequestOptions, configuration);
|
|
10112
|
+
return {
|
|
10113
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10114
|
+
options: localVarRequestOptions,
|
|
10115
|
+
};
|
|
10116
|
+
}),
|
|
10117
|
+
};
|
|
10118
|
+
};
|
|
10119
|
+
exports.CompanyConfigApiAxiosParamCreator = CompanyConfigApiAxiosParamCreator;
|
|
10120
|
+
/**
|
|
10121
|
+
* CompanyConfigApi - functional programming interface
|
|
10122
|
+
* @export
|
|
10123
|
+
*/
|
|
10124
|
+
const CompanyConfigApiFp = function (configuration) {
|
|
10125
|
+
const localVarAxiosParamCreator = (0, exports.CompanyConfigApiAxiosParamCreator)(configuration);
|
|
10126
|
+
return {
|
|
10127
|
+
/**
|
|
10128
|
+
* Retrieves company information used on invoices and receipts
|
|
10129
|
+
* @summary Get company configuration
|
|
10130
|
+
* @param {*} [options] Override http request option.
|
|
10131
|
+
* @throws {RequiredError}
|
|
10132
|
+
*/
|
|
10133
|
+
adminV1ConfigCompanyGet(options) {
|
|
10134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10135
|
+
var _a, _b, _c;
|
|
10136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyGet(options);
|
|
10137
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10138
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyConfigApi.adminV1ConfigCompanyGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10139
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10140
|
+
});
|
|
10141
|
+
},
|
|
10142
|
+
/**
|
|
10143
|
+
* Updates company information used on invoices and receipts
|
|
10144
|
+
* @summary Update company configuration
|
|
10145
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10146
|
+
* @param {*} [options] Override http request option.
|
|
10147
|
+
* @throws {RequiredError}
|
|
10148
|
+
*/
|
|
10149
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10151
|
+
var _a, _b, _c;
|
|
10152
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options);
|
|
10153
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10154
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyConfigApi.adminV1ConfigCompanyPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10155
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10156
|
+
});
|
|
10157
|
+
},
|
|
10158
|
+
};
|
|
10159
|
+
};
|
|
10160
|
+
exports.CompanyConfigApiFp = CompanyConfigApiFp;
|
|
10161
|
+
/**
|
|
10162
|
+
* CompanyConfigApi - factory interface
|
|
10163
|
+
* @export
|
|
10164
|
+
*/
|
|
10165
|
+
const CompanyConfigApiFactory = function (configuration, basePath, axios) {
|
|
10166
|
+
const localVarFp = (0, exports.CompanyConfigApiFp)(configuration);
|
|
10167
|
+
return {
|
|
10168
|
+
/**
|
|
10169
|
+
* Retrieves company information used on invoices and receipts
|
|
10170
|
+
* @summary Get company configuration
|
|
10171
|
+
* @param {*} [options] Override http request option.
|
|
10172
|
+
* @throws {RequiredError}
|
|
10173
|
+
*/
|
|
10174
|
+
adminV1ConfigCompanyGet(options) {
|
|
10175
|
+
return localVarFp.adminV1ConfigCompanyGet(options).then((request) => request(axios, basePath));
|
|
10176
|
+
},
|
|
10177
|
+
/**
|
|
10178
|
+
* Updates company information used on invoices and receipts
|
|
10179
|
+
* @summary Update company configuration
|
|
10180
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10181
|
+
* @param {*} [options] Override http request option.
|
|
10182
|
+
* @throws {RequiredError}
|
|
10183
|
+
*/
|
|
10184
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10185
|
+
return localVarFp.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(axios, basePath));
|
|
10186
|
+
},
|
|
10187
|
+
};
|
|
10188
|
+
};
|
|
10189
|
+
exports.CompanyConfigApiFactory = CompanyConfigApiFactory;
|
|
10190
|
+
/**
|
|
10191
|
+
* CompanyConfigApi - object-oriented interface
|
|
10192
|
+
* @export
|
|
10193
|
+
* @class CompanyConfigApi
|
|
10194
|
+
* @extends {BaseAPI}
|
|
10195
|
+
*/
|
|
10196
|
+
class CompanyConfigApi extends base_1.BaseAPI {
|
|
10197
|
+
/**
|
|
10198
|
+
* Retrieves company information used on invoices and receipts
|
|
10199
|
+
* @summary Get company configuration
|
|
10200
|
+
* @param {*} [options] Override http request option.
|
|
10201
|
+
* @throws {RequiredError}
|
|
10202
|
+
* @memberof CompanyConfigApi
|
|
10203
|
+
*/
|
|
10204
|
+
adminV1ConfigCompanyGet(options) {
|
|
10205
|
+
return (0, exports.CompanyConfigApiFp)(this.configuration).adminV1ConfigCompanyGet(options).then((request) => request(this.axios, this.basePath));
|
|
10206
|
+
}
|
|
10207
|
+
/**
|
|
10208
|
+
* Updates company information used on invoices and receipts
|
|
10209
|
+
* @summary Update company configuration
|
|
10210
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10211
|
+
* @param {*} [options] Override http request option.
|
|
10212
|
+
* @throws {RequiredError}
|
|
10213
|
+
* @memberof CompanyConfigApi
|
|
10214
|
+
*/
|
|
10215
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10216
|
+
return (0, exports.CompanyConfigApiFp)(this.configuration).adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10217
|
+
}
|
|
10218
|
+
}
|
|
10219
|
+
exports.CompanyConfigApi = CompanyConfigApi;
|
|
10047
10220
|
/**
|
|
10048
10221
|
* ConnectorsApi - axios parameter creator
|
|
10049
10222
|
* @export
|
|
@@ -18321,10 +18494,22 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
18321
18494
|
* @summary List orders (paginated)
|
|
18322
18495
|
* @param {number} [page] Page number (default 1)
|
|
18323
18496
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
18324
|
-
* @param {
|
|
18325
|
-
* @
|
|
18326
|
-
|
|
18327
|
-
|
|
18497
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
18498
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
18499
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
18500
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
18501
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
18502
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
18503
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
18504
|
+
* @param {number} [amountMin] Minimum order amount
|
|
18505
|
+
* @param {number} [amountMax] Maximum order amount
|
|
18506
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
18507
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
18508
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18509
|
+
* @param {*} [options] Override http request option.
|
|
18510
|
+
* @throws {RequiredError}
|
|
18511
|
+
*/
|
|
18512
|
+
adminPaymentGatewayOrdersGet: (page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1], void 0, function* (page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options = {}) {
|
|
18328
18513
|
const localVarPath = `/admin/payment-gateway/orders`;
|
|
18329
18514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18330
18515
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -18343,6 +18528,42 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
18343
18528
|
if (pageSize !== undefined) {
|
|
18344
18529
|
localVarQueryParameter['page_size'] = pageSize;
|
|
18345
18530
|
}
|
|
18531
|
+
if (search !== undefined) {
|
|
18532
|
+
localVarQueryParameter['search'] = search;
|
|
18533
|
+
}
|
|
18534
|
+
if (statuses !== undefined) {
|
|
18535
|
+
localVarQueryParameter['statuses'] = statuses;
|
|
18536
|
+
}
|
|
18537
|
+
if (paymentTypes !== undefined) {
|
|
18538
|
+
localVarQueryParameter['payment_types'] = paymentTypes;
|
|
18539
|
+
}
|
|
18540
|
+
if (gateways !== undefined) {
|
|
18541
|
+
localVarQueryParameter['gateways'] = gateways;
|
|
18542
|
+
}
|
|
18543
|
+
if (currencies !== undefined) {
|
|
18544
|
+
localVarQueryParameter['currencies'] = currencies;
|
|
18545
|
+
}
|
|
18546
|
+
if (createdFrom !== undefined) {
|
|
18547
|
+
localVarQueryParameter['created_from'] = createdFrom;
|
|
18548
|
+
}
|
|
18549
|
+
if (createdTo !== undefined) {
|
|
18550
|
+
localVarQueryParameter['created_to'] = createdTo;
|
|
18551
|
+
}
|
|
18552
|
+
if (amountMin !== undefined) {
|
|
18553
|
+
localVarQueryParameter['amount_min'] = amountMin;
|
|
18554
|
+
}
|
|
18555
|
+
if (amountMax !== undefined) {
|
|
18556
|
+
localVarQueryParameter['amount_max'] = amountMax;
|
|
18557
|
+
}
|
|
18558
|
+
if (sort !== undefined) {
|
|
18559
|
+
localVarQueryParameter['sort'] = sort;
|
|
18560
|
+
}
|
|
18561
|
+
if (sortBy !== undefined) {
|
|
18562
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
18563
|
+
}
|
|
18564
|
+
if (sortOrder !== undefined) {
|
|
18565
|
+
localVarQueryParameter['sort_order'] = sortOrder;
|
|
18566
|
+
}
|
|
18346
18567
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18347
18568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18348
18569
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18688,13 +18909,25 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
18688
18909
|
* @summary List orders (paginated)
|
|
18689
18910
|
* @param {number} [page] Page number (default 1)
|
|
18690
18911
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
18912
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
18913
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
18914
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
18915
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
18916
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
18917
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
18918
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
18919
|
+
* @param {number} [amountMin] Minimum order amount
|
|
18920
|
+
* @param {number} [amountMax] Maximum order amount
|
|
18921
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
18922
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
18923
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18691
18924
|
* @param {*} [options] Override http request option.
|
|
18692
18925
|
* @throws {RequiredError}
|
|
18693
18926
|
*/
|
|
18694
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18927
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
18695
18928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18696
18929
|
var _a, _b, _c;
|
|
18697
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, options);
|
|
18930
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options);
|
|
18698
18931
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18699
18932
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18700
18933
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18887,11 +19120,23 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
18887
19120
|
* @summary List orders (paginated)
|
|
18888
19121
|
* @param {number} [page] Page number (default 1)
|
|
18889
19122
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
19123
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
19124
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
19125
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
19126
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
19127
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
19128
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
19129
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
19130
|
+
* @param {number} [amountMin] Minimum order amount
|
|
19131
|
+
* @param {number} [amountMax] Maximum order amount
|
|
19132
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
19133
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
19134
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18890
19135
|
* @param {*} [options] Override http request option.
|
|
18891
19136
|
* @throws {RequiredError}
|
|
18892
19137
|
*/
|
|
18893
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18894
|
-
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(axios, basePath));
|
|
19138
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
19139
|
+
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
18895
19140
|
},
|
|
18896
19141
|
/**
|
|
18897
19142
|
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
@@ -19029,12 +19274,24 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
19029
19274
|
* @summary List orders (paginated)
|
|
19030
19275
|
* @param {number} [page] Page number (default 1)
|
|
19031
19276
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
19277
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
19278
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
19279
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
19280
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
19281
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
19282
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
19283
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
19284
|
+
* @param {number} [amountMin] Minimum order amount
|
|
19285
|
+
* @param {number} [amountMax] Maximum order amount
|
|
19286
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
19287
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
19288
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
19032
19289
|
* @param {*} [options] Override http request option.
|
|
19033
19290
|
* @throws {RequiredError}
|
|
19034
19291
|
* @memberof PaymentGatewayApi
|
|
19035
19292
|
*/
|
|
19036
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
19037
|
-
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
19293
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
19294
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
19038
19295
|
}
|
|
19039
19296
|
/**
|
|
19040
19297
|
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|