@seekora-ai/admin-api 1.1.0 → 1.1.2
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 +54 -14
- package/api.ts +2392 -207
- package/dist/api.d.ts +1938 -160
- package/dist/api.js +802 -71
- package/dist/esm/api.d.ts +1938 -160
- package/dist/esm/api.js +796 -69
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.2.tgz +0 -0
- package/seekora-ai-admin-api-1.1.0.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -26,8 +26,8 @@ exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyt
|
|
|
26
26
|
exports.CommonApiAxiosParamCreator = 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 = void 0;
|
|
27
27
|
exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = 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.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = void 0;
|
|
28
28
|
exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = 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 = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.UserApi = exports.UserApiFactory = void 0;
|
|
29
|
+
exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = 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 = void 0;
|
|
30
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -7448,6 +7448,33 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7448
7448
|
options: localVarRequestOptions,
|
|
7449
7449
|
};
|
|
7450
7450
|
}),
|
|
7451
|
+
/**
|
|
7452
|
+
* Returns available alert types and their configurations for the frontend
|
|
7453
|
+
* @summary Get billing alert types
|
|
7454
|
+
* @param {*} [options] Override http request option.
|
|
7455
|
+
* @throws {RequiredError}
|
|
7456
|
+
*/
|
|
7457
|
+
adminBillingAlertsTypesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7458
|
+
const localVarPath = `/admin/billing/alerts/types`;
|
|
7459
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7460
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7461
|
+
let baseOptions;
|
|
7462
|
+
if (configuration) {
|
|
7463
|
+
baseOptions = configuration.baseOptions;
|
|
7464
|
+
}
|
|
7465
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7466
|
+
const localVarHeaderParameter = {};
|
|
7467
|
+
const localVarQueryParameter = {};
|
|
7468
|
+
// authentication BearerAuth required
|
|
7469
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7470
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7472
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7473
|
+
return {
|
|
7474
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7475
|
+
options: localVarRequestOptions,
|
|
7476
|
+
};
|
|
7477
|
+
}),
|
|
7451
7478
|
/**
|
|
7452
7479
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
7453
7480
|
* @summary Get credit consumption
|
|
@@ -7816,7 +7843,7 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7816
7843
|
};
|
|
7817
7844
|
}),
|
|
7818
7845
|
/**
|
|
7819
|
-
*
|
|
7846
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
7820
7847
|
* @summary Download invoice
|
|
7821
7848
|
* @param {string} id Invoice ID
|
|
7822
7849
|
* @param {*} [options] Override http request option.
|
|
@@ -8380,6 +8407,21 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8380
8407
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8381
8408
|
});
|
|
8382
8409
|
},
|
|
8410
|
+
/**
|
|
8411
|
+
* Returns available alert types and their configurations for the frontend
|
|
8412
|
+
* @summary Get billing alert types
|
|
8413
|
+
* @param {*} [options] Override http request option.
|
|
8414
|
+
* @throws {RequiredError}
|
|
8415
|
+
*/
|
|
8416
|
+
adminBillingAlertsTypesGet(options) {
|
|
8417
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8418
|
+
var _a, _b, _c;
|
|
8419
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsTypesGet(options);
|
|
8420
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8421
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingAlertsTypesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8422
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8423
|
+
});
|
|
8424
|
+
},
|
|
8383
8425
|
/**
|
|
8384
8426
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
8385
8427
|
* @summary Get credit consumption
|
|
@@ -8547,7 +8589,7 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8547
8589
|
});
|
|
8548
8590
|
},
|
|
8549
8591
|
/**
|
|
8550
|
-
*
|
|
8592
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
8551
8593
|
* @summary Download invoice
|
|
8552
8594
|
* @param {string} id Invoice ID
|
|
8553
8595
|
* @param {*} [options] Override http request option.
|
|
@@ -8826,6 +8868,15 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8826
8868
|
adminBillingAlertsPost(dataTypesBillingAlertRequest, options) {
|
|
8827
8869
|
return localVarFp.adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
|
|
8828
8870
|
},
|
|
8871
|
+
/**
|
|
8872
|
+
* Returns available alert types and their configurations for the frontend
|
|
8873
|
+
* @summary Get billing alert types
|
|
8874
|
+
* @param {*} [options] Override http request option.
|
|
8875
|
+
* @throws {RequiredError}
|
|
8876
|
+
*/
|
|
8877
|
+
adminBillingAlertsTypesGet(options) {
|
|
8878
|
+
return localVarFp.adminBillingAlertsTypesGet(options).then((request) => request(axios, basePath));
|
|
8879
|
+
},
|
|
8829
8880
|
/**
|
|
8830
8881
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
8831
8882
|
* @summary Get credit consumption
|
|
@@ -8939,7 +8990,7 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8939
8990
|
return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
8940
8991
|
},
|
|
8941
8992
|
/**
|
|
8942
|
-
*
|
|
8993
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
8943
8994
|
* @summary Download invoice
|
|
8944
8995
|
* @param {string} id Invoice ID
|
|
8945
8996
|
* @param {*} [options] Override http request option.
|
|
@@ -9144,6 +9195,16 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
9144
9195
|
adminBillingAlertsPost(dataTypesBillingAlertRequest, options) {
|
|
9145
9196
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9146
9197
|
}
|
|
9198
|
+
/**
|
|
9199
|
+
* Returns available alert types and their configurations for the frontend
|
|
9200
|
+
* @summary Get billing alert types
|
|
9201
|
+
* @param {*} [options] Override http request option.
|
|
9202
|
+
* @throws {RequiredError}
|
|
9203
|
+
* @memberof BillingDashboardApi
|
|
9204
|
+
*/
|
|
9205
|
+
adminBillingAlertsTypesGet(options) {
|
|
9206
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsTypesGet(options).then((request) => request(this.axios, this.basePath));
|
|
9207
|
+
}
|
|
9147
9208
|
/**
|
|
9148
9209
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
9149
9210
|
* @summary Get credit consumption
|
|
@@ -9266,7 +9327,7 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
9266
9327
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
9267
9328
|
}
|
|
9268
9329
|
/**
|
|
9269
|
-
*
|
|
9330
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
9270
9331
|
* @summary Download invoice
|
|
9271
9332
|
* @param {string} id Invoice ID
|
|
9272
9333
|
* @param {*} [options] Override http request option.
|
|
@@ -11642,8 +11703,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
11642
11703
|
* @param {*} [options] Override http request option.
|
|
11643
11704
|
* @throws {RequiredError}
|
|
11644
11705
|
*/
|
|
11645
|
-
|
|
11646
|
-
const localVarPath = `/
|
|
11706
|
+
adminFeatureLimitsViolationsGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
11707
|
+
const localVarPath = `/admin/feature-limits/violations`;
|
|
11647
11708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11648
11709
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11649
11710
|
let baseOptions;
|
|
@@ -11677,10 +11738,10 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
11677
11738
|
* @param {*} [options] Override http request option.
|
|
11678
11739
|
* @throws {RequiredError}
|
|
11679
11740
|
*/
|
|
11680
|
-
|
|
11741
|
+
featureLimitsCheckGet: (featureName_1, amount_1, ...args_1) => __awaiter(this, [featureName_1, amount_1, ...args_1], void 0, function* (featureName, amount, options = {}) {
|
|
11681
11742
|
// verify required parameter 'featureName' is not null or undefined
|
|
11682
|
-
(0, common_1.assertParamExists)('
|
|
11683
|
-
const localVarPath = `/
|
|
11743
|
+
(0, common_1.assertParamExists)('featureLimitsCheckGet', 'featureName', featureName);
|
|
11744
|
+
const localVarPath = `/feature-limits/check`;
|
|
11684
11745
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11685
11746
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11686
11747
|
let baseOptions;
|
|
@@ -11714,8 +11775,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
11714
11775
|
* @param {*} [options] Override http request option.
|
|
11715
11776
|
* @throws {RequiredError}
|
|
11716
11777
|
*/
|
|
11717
|
-
|
|
11718
|
-
const localVarPath = `/
|
|
11778
|
+
featureLimitsHistoryGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
11779
|
+
const localVarPath = `/feature-limits/history`;
|
|
11719
11780
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11720
11781
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11721
11782
|
let baseOptions;
|
|
@@ -11747,8 +11808,62 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
11747
11808
|
* @param {*} [options] Override http request option.
|
|
11748
11809
|
* @throws {RequiredError}
|
|
11749
11810
|
*/
|
|
11750
|
-
|
|
11751
|
-
const localVarPath = `/
|
|
11811
|
+
featureLimitsPlanGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11812
|
+
const localVarPath = `/feature-limits/plan`;
|
|
11813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11814
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11815
|
+
let baseOptions;
|
|
11816
|
+
if (configuration) {
|
|
11817
|
+
baseOptions = configuration.baseOptions;
|
|
11818
|
+
}
|
|
11819
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11820
|
+
const localVarHeaderParameter = {};
|
|
11821
|
+
const localVarQueryParameter = {};
|
|
11822
|
+
// authentication BearerAuth required
|
|
11823
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11824
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11826
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11827
|
+
return {
|
|
11828
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11829
|
+
options: localVarRequestOptions,
|
|
11830
|
+
};
|
|
11831
|
+
}),
|
|
11832
|
+
/**
|
|
11833
|
+
* Returns plan details and feature availability map for UI rendering
|
|
11834
|
+
* @summary Get plan information for frontend
|
|
11835
|
+
* @param {*} [options] Override http request option.
|
|
11836
|
+
* @throws {RequiredError}
|
|
11837
|
+
*/
|
|
11838
|
+
featureLimitsPlanInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11839
|
+
const localVarPath = `/feature-limits/plan/info`;
|
|
11840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11841
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11842
|
+
let baseOptions;
|
|
11843
|
+
if (configuration) {
|
|
11844
|
+
baseOptions = configuration.baseOptions;
|
|
11845
|
+
}
|
|
11846
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11847
|
+
const localVarHeaderParameter = {};
|
|
11848
|
+
const localVarQueryParameter = {};
|
|
11849
|
+
// authentication BearerAuth required
|
|
11850
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11851
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11853
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11854
|
+
return {
|
|
11855
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11856
|
+
options: localVarRequestOptions,
|
|
11857
|
+
};
|
|
11858
|
+
}),
|
|
11859
|
+
/**
|
|
11860
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
11861
|
+
* @summary Get real-time limit status
|
|
11862
|
+
* @param {*} [options] Override http request option.
|
|
11863
|
+
* @throws {RequiredError}
|
|
11864
|
+
*/
|
|
11865
|
+
featureLimitsStatusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11866
|
+
const localVarPath = `/feature-limits/status`;
|
|
11752
11867
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11753
11868
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11754
11869
|
let baseOptions;
|
|
@@ -11774,8 +11889,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
11774
11889
|
* @param {*} [options] Override http request option.
|
|
11775
11890
|
* @throws {RequiredError}
|
|
11776
11891
|
*/
|
|
11777
|
-
|
|
11778
|
-
const localVarPath = `/
|
|
11892
|
+
featureLimitsUsageGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11893
|
+
const localVarPath = `/feature-limits/usage`;
|
|
11779
11894
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11780
11895
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11781
11896
|
let baseOptions;
|
|
@@ -11813,12 +11928,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
11813
11928
|
* @param {*} [options] Override http request option.
|
|
11814
11929
|
* @throws {RequiredError}
|
|
11815
11930
|
*/
|
|
11816
|
-
|
|
11931
|
+
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
11817
11932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11818
11933
|
var _a, _b, _c;
|
|
11819
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
11934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
|
|
11820
11935
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11821
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
11936
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11822
11937
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11823
11938
|
});
|
|
11824
11939
|
},
|
|
@@ -11830,12 +11945,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
11830
11945
|
* @param {*} [options] Override http request option.
|
|
11831
11946
|
* @throws {RequiredError}
|
|
11832
11947
|
*/
|
|
11833
|
-
|
|
11948
|
+
featureLimitsCheckGet(featureName, amount, options) {
|
|
11834
11949
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11835
11950
|
var _a, _b, _c;
|
|
11836
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
11951
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsCheckGet(featureName, amount, options);
|
|
11837
11952
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11838
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
11953
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsCheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11839
11954
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11840
11955
|
});
|
|
11841
11956
|
},
|
|
@@ -11847,12 +11962,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
11847
11962
|
* @param {*} [options] Override http request option.
|
|
11848
11963
|
* @throws {RequiredError}
|
|
11849
11964
|
*/
|
|
11850
|
-
|
|
11965
|
+
featureLimitsHistoryGet(featureName, limit, options) {
|
|
11851
11966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11852
11967
|
var _a, _b, _c;
|
|
11853
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
11968
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsHistoryGet(featureName, limit, options);
|
|
11854
11969
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11855
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
11970
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11856
11971
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11857
11972
|
});
|
|
11858
11973
|
},
|
|
@@ -11862,12 +11977,42 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
11862
11977
|
* @param {*} [options] Override http request option.
|
|
11863
11978
|
* @throws {RequiredError}
|
|
11864
11979
|
*/
|
|
11865
|
-
|
|
11980
|
+
featureLimitsPlanGet(options) {
|
|
11866
11981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11867
11982
|
var _a, _b, _c;
|
|
11868
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
11983
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsPlanGet(options);
|
|
11869
11984
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11870
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
11985
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsPlanGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11986
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11987
|
+
});
|
|
11988
|
+
},
|
|
11989
|
+
/**
|
|
11990
|
+
* Returns plan details and feature availability map for UI rendering
|
|
11991
|
+
* @summary Get plan information for frontend
|
|
11992
|
+
* @param {*} [options] Override http request option.
|
|
11993
|
+
* @throws {RequiredError}
|
|
11994
|
+
*/
|
|
11995
|
+
featureLimitsPlanInfoGet(options) {
|
|
11996
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11997
|
+
var _a, _b, _c;
|
|
11998
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsPlanInfoGet(options);
|
|
11999
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12000
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsPlanInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12001
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12002
|
+
});
|
|
12003
|
+
},
|
|
12004
|
+
/**
|
|
12005
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
12006
|
+
* @summary Get real-time limit status
|
|
12007
|
+
* @param {*} [options] Override http request option.
|
|
12008
|
+
* @throws {RequiredError}
|
|
12009
|
+
*/
|
|
12010
|
+
featureLimitsStatusGet(options) {
|
|
12011
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12012
|
+
var _a, _b, _c;
|
|
12013
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsStatusGet(options);
|
|
12014
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12015
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11871
12016
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11872
12017
|
});
|
|
11873
12018
|
},
|
|
@@ -11877,12 +12022,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
11877
12022
|
* @param {*} [options] Override http request option.
|
|
11878
12023
|
* @throws {RequiredError}
|
|
11879
12024
|
*/
|
|
11880
|
-
|
|
12025
|
+
featureLimitsUsageGet(options) {
|
|
11881
12026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11882
12027
|
var _a, _b, _c;
|
|
11883
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
12028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.featureLimitsUsageGet(options);
|
|
11884
12029
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11885
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
12030
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.featureLimitsUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11886
12031
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11887
12032
|
});
|
|
11888
12033
|
},
|
|
@@ -11904,8 +12049,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
11904
12049
|
* @param {*} [options] Override http request option.
|
|
11905
12050
|
* @throws {RequiredError}
|
|
11906
12051
|
*/
|
|
11907
|
-
|
|
11908
|
-
return localVarFp.
|
|
12052
|
+
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
12053
|
+
return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
11909
12054
|
},
|
|
11910
12055
|
/**
|
|
11911
12056
|
* Checks if a specific feature is within limits without incrementing usage
|
|
@@ -11915,8 +12060,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
11915
12060
|
* @param {*} [options] Override http request option.
|
|
11916
12061
|
* @throws {RequiredError}
|
|
11917
12062
|
*/
|
|
11918
|
-
|
|
11919
|
-
return localVarFp.
|
|
12063
|
+
featureLimitsCheckGet(featureName, amount, options) {
|
|
12064
|
+
return localVarFp.featureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
|
|
11920
12065
|
},
|
|
11921
12066
|
/**
|
|
11922
12067
|
* Retrieves historical feature usage events for the organization
|
|
@@ -11926,8 +12071,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
11926
12071
|
* @param {*} [options] Override http request option.
|
|
11927
12072
|
* @throws {RequiredError}
|
|
11928
12073
|
*/
|
|
11929
|
-
|
|
11930
|
-
return localVarFp.
|
|
12074
|
+
featureLimitsHistoryGet(featureName, limit, options) {
|
|
12075
|
+
return localVarFp.featureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
11931
12076
|
},
|
|
11932
12077
|
/**
|
|
11933
12078
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -11935,8 +12080,26 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
11935
12080
|
* @param {*} [options] Override http request option.
|
|
11936
12081
|
* @throws {RequiredError}
|
|
11937
12082
|
*/
|
|
11938
|
-
|
|
11939
|
-
return localVarFp.
|
|
12083
|
+
featureLimitsPlanGet(options) {
|
|
12084
|
+
return localVarFp.featureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
12085
|
+
},
|
|
12086
|
+
/**
|
|
12087
|
+
* Returns plan details and feature availability map for UI rendering
|
|
12088
|
+
* @summary Get plan information for frontend
|
|
12089
|
+
* @param {*} [options] Override http request option.
|
|
12090
|
+
* @throws {RequiredError}
|
|
12091
|
+
*/
|
|
12092
|
+
featureLimitsPlanInfoGet(options) {
|
|
12093
|
+
return localVarFp.featureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
|
|
12094
|
+
},
|
|
12095
|
+
/**
|
|
12096
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
12097
|
+
* @summary Get real-time limit status
|
|
12098
|
+
* @param {*} [options] Override http request option.
|
|
12099
|
+
* @throws {RequiredError}
|
|
12100
|
+
*/
|
|
12101
|
+
featureLimitsStatusGet(options) {
|
|
12102
|
+
return localVarFp.featureLimitsStatusGet(options).then((request) => request(axios, basePath));
|
|
11940
12103
|
},
|
|
11941
12104
|
/**
|
|
11942
12105
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -11944,8 +12107,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
11944
12107
|
* @param {*} [options] Override http request option.
|
|
11945
12108
|
* @throws {RequiredError}
|
|
11946
12109
|
*/
|
|
11947
|
-
|
|
11948
|
-
return localVarFp.
|
|
12110
|
+
featureLimitsUsageGet(options) {
|
|
12111
|
+
return localVarFp.featureLimitsUsageGet(options).then((request) => request(axios, basePath));
|
|
11949
12112
|
},
|
|
11950
12113
|
};
|
|
11951
12114
|
};
|
|
@@ -11966,8 +12129,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
11966
12129
|
* @throws {RequiredError}
|
|
11967
12130
|
* @memberof FeatureLimitsApi
|
|
11968
12131
|
*/
|
|
11969
|
-
|
|
11970
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
12132
|
+
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
12133
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
11971
12134
|
}
|
|
11972
12135
|
/**
|
|
11973
12136
|
* Checks if a specific feature is within limits without incrementing usage
|
|
@@ -11978,8 +12141,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
11978
12141
|
* @throws {RequiredError}
|
|
11979
12142
|
* @memberof FeatureLimitsApi
|
|
11980
12143
|
*/
|
|
11981
|
-
|
|
11982
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
12144
|
+
featureLimitsCheckGet(featureName, amount, options) {
|
|
12145
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
|
|
11983
12146
|
}
|
|
11984
12147
|
/**
|
|
11985
12148
|
* Retrieves historical feature usage events for the organization
|
|
@@ -11990,8 +12153,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
11990
12153
|
* @throws {RequiredError}
|
|
11991
12154
|
* @memberof FeatureLimitsApi
|
|
11992
12155
|
*/
|
|
11993
|
-
|
|
11994
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
12156
|
+
featureLimitsHistoryGet(featureName, limit, options) {
|
|
12157
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
11995
12158
|
}
|
|
11996
12159
|
/**
|
|
11997
12160
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -12000,8 +12163,28 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
12000
12163
|
* @throws {RequiredError}
|
|
12001
12164
|
* @memberof FeatureLimitsApi
|
|
12002
12165
|
*/
|
|
12003
|
-
|
|
12004
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
12166
|
+
featureLimitsPlanGet(options) {
|
|
12167
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
12168
|
+
}
|
|
12169
|
+
/**
|
|
12170
|
+
* Returns plan details and feature availability map for UI rendering
|
|
12171
|
+
* @summary Get plan information for frontend
|
|
12172
|
+
* @param {*} [options] Override http request option.
|
|
12173
|
+
* @throws {RequiredError}
|
|
12174
|
+
* @memberof FeatureLimitsApi
|
|
12175
|
+
*/
|
|
12176
|
+
featureLimitsPlanInfoGet(options) {
|
|
12177
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
12178
|
+
}
|
|
12179
|
+
/**
|
|
12180
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
12181
|
+
* @summary Get real-time limit status
|
|
12182
|
+
* @param {*} [options] Override http request option.
|
|
12183
|
+
* @throws {RequiredError}
|
|
12184
|
+
* @memberof FeatureLimitsApi
|
|
12185
|
+
*/
|
|
12186
|
+
featureLimitsStatusGet(options) {
|
|
12187
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
12005
12188
|
}
|
|
12006
12189
|
/**
|
|
12007
12190
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -12010,8 +12193,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
12010
12193
|
* @throws {RequiredError}
|
|
12011
12194
|
* @memberof FeatureLimitsApi
|
|
12012
12195
|
*/
|
|
12013
|
-
|
|
12014
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
12196
|
+
featureLimitsUsageGet(options) {
|
|
12197
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).featureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
12015
12198
|
}
|
|
12016
12199
|
}
|
|
12017
12200
|
exports.FeatureLimitsApi = FeatureLimitsApi;
|
|
@@ -12027,8 +12210,8 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
12027
12210
|
* @param {*} [options] Override http request option.
|
|
12028
12211
|
* @throws {RequiredError}
|
|
12029
12212
|
*/
|
|
12030
|
-
|
|
12031
|
-
const localVarPath = `/
|
|
12213
|
+
adminFeatureLimitsCacheInvalidatePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
12214
|
+
const localVarPath = `/admin/feature-limits/cache/invalidate`;
|
|
12032
12215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12033
12216
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12034
12217
|
let baseOptions;
|
|
@@ -12055,10 +12238,10 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
12055
12238
|
* @param {*} [options] Override http request option.
|
|
12056
12239
|
* @throws {RequiredError}
|
|
12057
12240
|
*/
|
|
12058
|
-
|
|
12241
|
+
adminFeatureLimitsResetPost: (featureName_1, ...args_1) => __awaiter(this, [featureName_1, ...args_1], void 0, function* (featureName, options = {}) {
|
|
12059
12242
|
// verify required parameter 'featureName' is not null or undefined
|
|
12060
|
-
(0, common_1.assertParamExists)('
|
|
12061
|
-
const localVarPath = `/
|
|
12243
|
+
(0, common_1.assertParamExists)('adminFeatureLimitsResetPost', 'featureName', featureName);
|
|
12244
|
+
const localVarPath = `/admin/feature-limits/reset`;
|
|
12062
12245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12063
12246
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12064
12247
|
let baseOptions;
|
|
@@ -12097,12 +12280,12 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
12097
12280
|
* @param {*} [options] Override http request option.
|
|
12098
12281
|
* @throws {RequiredError}
|
|
12099
12282
|
*/
|
|
12100
|
-
|
|
12283
|
+
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
12101
12284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12102
12285
|
var _a, _b, _c;
|
|
12103
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
12286
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsCacheInvalidatePost(options);
|
|
12104
12287
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12105
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.
|
|
12288
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsCacheInvalidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12106
12289
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12107
12290
|
});
|
|
12108
12291
|
},
|
|
@@ -12113,12 +12296,12 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
12113
12296
|
* @param {*} [options] Override http request option.
|
|
12114
12297
|
* @throws {RequiredError}
|
|
12115
12298
|
*/
|
|
12116
|
-
|
|
12299
|
+
adminFeatureLimitsResetPost(featureName, options) {
|
|
12117
12300
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12118
12301
|
var _a, _b, _c;
|
|
12119
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
12302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsResetPost(featureName, options);
|
|
12120
12303
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12121
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.
|
|
12304
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsResetPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12122
12305
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12123
12306
|
});
|
|
12124
12307
|
},
|
|
@@ -12138,8 +12321,8 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
12138
12321
|
* @param {*} [options] Override http request option.
|
|
12139
12322
|
* @throws {RequiredError}
|
|
12140
12323
|
*/
|
|
12141
|
-
|
|
12142
|
-
return localVarFp.
|
|
12324
|
+
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
12325
|
+
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
12143
12326
|
},
|
|
12144
12327
|
/**
|
|
12145
12328
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -12148,8 +12331,8 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
12148
12331
|
* @param {*} [options] Override http request option.
|
|
12149
12332
|
* @throws {RequiredError}
|
|
12150
12333
|
*/
|
|
12151
|
-
|
|
12152
|
-
return localVarFp.
|
|
12334
|
+
adminFeatureLimitsResetPost(featureName, options) {
|
|
12335
|
+
return localVarFp.adminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
12153
12336
|
},
|
|
12154
12337
|
};
|
|
12155
12338
|
};
|
|
@@ -12168,8 +12351,8 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
12168
12351
|
* @throws {RequiredError}
|
|
12169
12352
|
* @memberof FeatureLimitsAdminApi
|
|
12170
12353
|
*/
|
|
12171
|
-
|
|
12172
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).
|
|
12354
|
+
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
12355
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
12173
12356
|
}
|
|
12174
12357
|
/**
|
|
12175
12358
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -12179,8 +12362,8 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
12179
12362
|
* @throws {RequiredError}
|
|
12180
12363
|
* @memberof FeatureLimitsAdminApi
|
|
12181
12364
|
*/
|
|
12182
|
-
|
|
12183
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).
|
|
12365
|
+
adminFeatureLimitsResetPost(featureName, options) {
|
|
12366
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
12184
12367
|
}
|
|
12185
12368
|
}
|
|
12186
12369
|
exports.FeatureLimitsAdminApi = FeatureLimitsAdminApi;
|
|
@@ -17818,6 +18001,38 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
17818
18001
|
options: localVarRequestOptions,
|
|
17819
18002
|
};
|
|
17820
18003
|
}),
|
|
18004
|
+
/**
|
|
18005
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
18006
|
+
* @summary Verify invoice payment (simplified)
|
|
18007
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
18008
|
+
* @param {*} [options] Override http request option.
|
|
18009
|
+
* @throws {RequiredError}
|
|
18010
|
+
*/
|
|
18011
|
+
adminPaymentGatewayVerifyInvoicePost: (adminPaymentGatewayVerifyInvoicePostRequest_1, ...args_1) => __awaiter(this, [adminPaymentGatewayVerifyInvoicePostRequest_1, ...args_1], void 0, function* (adminPaymentGatewayVerifyInvoicePostRequest, options = {}) {
|
|
18012
|
+
// verify required parameter 'adminPaymentGatewayVerifyInvoicePostRequest' is not null or undefined
|
|
18013
|
+
(0, common_1.assertParamExists)('adminPaymentGatewayVerifyInvoicePost', 'adminPaymentGatewayVerifyInvoicePostRequest', adminPaymentGatewayVerifyInvoicePostRequest);
|
|
18014
|
+
const localVarPath = `/admin/payment-gateway/verify-invoice`;
|
|
18015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18016
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18017
|
+
let baseOptions;
|
|
18018
|
+
if (configuration) {
|
|
18019
|
+
baseOptions = configuration.baseOptions;
|
|
18020
|
+
}
|
|
18021
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
18022
|
+
const localVarHeaderParameter = {};
|
|
18023
|
+
const localVarQueryParameter = {};
|
|
18024
|
+
// authentication BearerAuth required
|
|
18025
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
18026
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18027
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18028
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18029
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18030
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminPaymentGatewayVerifyInvoicePostRequest, localVarRequestOptions, configuration);
|
|
18031
|
+
return {
|
|
18032
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18033
|
+
options: localVarRequestOptions,
|
|
18034
|
+
};
|
|
18035
|
+
}),
|
|
17821
18036
|
/**
|
|
17822
18037
|
* Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
|
|
17823
18038
|
* @summary Verify payment status by order ID
|
|
@@ -18089,6 +18304,22 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
18089
18304
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18090
18305
|
});
|
|
18091
18306
|
},
|
|
18307
|
+
/**
|
|
18308
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
18309
|
+
* @summary Verify invoice payment (simplified)
|
|
18310
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
18311
|
+
* @param {*} [options] Override http request option.
|
|
18312
|
+
* @throws {RequiredError}
|
|
18313
|
+
*/
|
|
18314
|
+
adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
|
|
18315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18316
|
+
var _a, _b, _c;
|
|
18317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options);
|
|
18318
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18319
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyInvoicePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18320
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18321
|
+
});
|
|
18322
|
+
},
|
|
18092
18323
|
/**
|
|
18093
18324
|
* Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
|
|
18094
18325
|
* @summary Verify payment status by order ID
|
|
@@ -18248,6 +18479,16 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
18248
18479
|
adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options) {
|
|
18249
18480
|
return localVarFp.adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(axios, basePath));
|
|
18250
18481
|
},
|
|
18482
|
+
/**
|
|
18483
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
18484
|
+
* @summary Verify invoice payment (simplified)
|
|
18485
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
18486
|
+
* @param {*} [options] Override http request option.
|
|
18487
|
+
* @throws {RequiredError}
|
|
18488
|
+
*/
|
|
18489
|
+
adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
|
|
18490
|
+
return localVarFp.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(axios, basePath));
|
|
18491
|
+
},
|
|
18251
18492
|
/**
|
|
18252
18493
|
* Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
|
|
18253
18494
|
* @summary Verify payment status by order ID
|
|
@@ -18384,6 +18625,17 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
18384
18625
|
adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options) {
|
|
18385
18626
|
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
18386
18627
|
}
|
|
18628
|
+
/**
|
|
18629
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
18630
|
+
* @summary Verify invoice payment (simplified)
|
|
18631
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
18632
|
+
* @param {*} [options] Override http request option.
|
|
18633
|
+
* @throws {RequiredError}
|
|
18634
|
+
* @memberof PaymentGatewayApi
|
|
18635
|
+
*/
|
|
18636
|
+
adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
|
|
18637
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18638
|
+
}
|
|
18387
18639
|
/**
|
|
18388
18640
|
* Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
|
|
18389
18641
|
* @summary Verify payment status by order ID
|
|
@@ -27589,6 +27841,90 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27589
27841
|
options: localVarRequestOptions,
|
|
27590
27842
|
};
|
|
27591
27843
|
}),
|
|
27844
|
+
/**
|
|
27845
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
27846
|
+
* @summary Get Daily Statistics for a Store
|
|
27847
|
+
* @param {string} xStoreID Store ID
|
|
27848
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
27849
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
27850
|
+
* @param {*} [options] Override http request option.
|
|
27851
|
+
* @throws {RequiredError}
|
|
27852
|
+
*/
|
|
27853
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet: (xStoreID_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [xStoreID_1, startDate_1, endDate_1, ...args_1], void 0, function* (xStoreID, startDate, endDate, options = {}) {
|
|
27854
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27855
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDAnalyticsDailyStatsGet', 'xStoreID', xStoreID);
|
|
27856
|
+
const localVarPath = `/admin/Stores/{xStoreID}/analytics/daily-stats`
|
|
27857
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27859
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27860
|
+
let baseOptions;
|
|
27861
|
+
if (configuration) {
|
|
27862
|
+
baseOptions = configuration.baseOptions;
|
|
27863
|
+
}
|
|
27864
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27865
|
+
const localVarHeaderParameter = {};
|
|
27866
|
+
const localVarQueryParameter = {};
|
|
27867
|
+
// authentication BearerAuth required
|
|
27868
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27869
|
+
if (startDate !== undefined) {
|
|
27870
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
27871
|
+
}
|
|
27872
|
+
if (endDate !== undefined) {
|
|
27873
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
27874
|
+
}
|
|
27875
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27876
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27877
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27878
|
+
return {
|
|
27879
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27880
|
+
options: localVarRequestOptions,
|
|
27881
|
+
};
|
|
27882
|
+
}),
|
|
27883
|
+
/**
|
|
27884
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
27885
|
+
* @summary Get Time Series Data for Store Metrics
|
|
27886
|
+
* @param {string} xStoreID Store ID
|
|
27887
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
27888
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
27889
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
27890
|
+
* @param {*} [options] Override http request option.
|
|
27891
|
+
* @throws {RequiredError}
|
|
27892
|
+
*/
|
|
27893
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet: (xStoreID_1, metric_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [xStoreID_1, metric_1, startDate_1, endDate_1, ...args_1], void 0, function* (xStoreID, metric, startDate, endDate, options = {}) {
|
|
27894
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27895
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDAnalyticsTimeseriesGet', 'xStoreID', xStoreID);
|
|
27896
|
+
// verify required parameter 'metric' is not null or undefined
|
|
27897
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDAnalyticsTimeseriesGet', 'metric', metric);
|
|
27898
|
+
const localVarPath = `/admin/Stores/{xStoreID}/analytics/timeseries`
|
|
27899
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27901
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27902
|
+
let baseOptions;
|
|
27903
|
+
if (configuration) {
|
|
27904
|
+
baseOptions = configuration.baseOptions;
|
|
27905
|
+
}
|
|
27906
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27907
|
+
const localVarHeaderParameter = {};
|
|
27908
|
+
const localVarQueryParameter = {};
|
|
27909
|
+
// authentication BearerAuth required
|
|
27910
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27911
|
+
if (metric !== undefined) {
|
|
27912
|
+
localVarQueryParameter['metric'] = metric;
|
|
27913
|
+
}
|
|
27914
|
+
if (startDate !== undefined) {
|
|
27915
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
27916
|
+
}
|
|
27917
|
+
if (endDate !== undefined) {
|
|
27918
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
27919
|
+
}
|
|
27920
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27922
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27923
|
+
return {
|
|
27924
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27925
|
+
options: localVarRequestOptions,
|
|
27926
|
+
};
|
|
27927
|
+
}),
|
|
27592
27928
|
/**
|
|
27593
27929
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
27594
27930
|
* @summary Get Specific API Usage Event
|
|
@@ -28075,6 +28411,43 @@ const StoresApiFp = function (configuration) {
|
|
|
28075
28411
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28076
28412
|
});
|
|
28077
28413
|
},
|
|
28414
|
+
/**
|
|
28415
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
28416
|
+
* @summary Get Daily Statistics for a Store
|
|
28417
|
+
* @param {string} xStoreID Store ID
|
|
28418
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28419
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28420
|
+
* @param {*} [options] Override http request option.
|
|
28421
|
+
* @throws {RequiredError}
|
|
28422
|
+
*/
|
|
28423
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
|
|
28424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28425
|
+
var _a, _b, _c;
|
|
28426
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options);
|
|
28427
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
28428
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsDailyStatsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
28429
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28430
|
+
});
|
|
28431
|
+
},
|
|
28432
|
+
/**
|
|
28433
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
28434
|
+
* @summary Get Time Series Data for Store Metrics
|
|
28435
|
+
* @param {string} xStoreID Store ID
|
|
28436
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
28437
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28438
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28439
|
+
* @param {*} [options] Override http request option.
|
|
28440
|
+
* @throws {RequiredError}
|
|
28441
|
+
*/
|
|
28442
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
|
|
28443
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28444
|
+
var _a, _b, _c;
|
|
28445
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options);
|
|
28446
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
28447
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsTimeseriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
28448
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28449
|
+
});
|
|
28450
|
+
},
|
|
28078
28451
|
/**
|
|
28079
28452
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28080
28453
|
* @summary Get Specific API Usage Event
|
|
@@ -28325,6 +28698,31 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
28325
28698
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
28326
28699
|
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
28327
28700
|
},
|
|
28701
|
+
/**
|
|
28702
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
28703
|
+
* @summary Get Daily Statistics for a Store
|
|
28704
|
+
* @param {string} xStoreID Store ID
|
|
28705
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28706
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28707
|
+
* @param {*} [options] Override http request option.
|
|
28708
|
+
* @throws {RequiredError}
|
|
28709
|
+
*/
|
|
28710
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
|
|
28711
|
+
return localVarFp.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
28712
|
+
},
|
|
28713
|
+
/**
|
|
28714
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
28715
|
+
* @summary Get Time Series Data for Store Metrics
|
|
28716
|
+
* @param {string} xStoreID Store ID
|
|
28717
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
28718
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28719
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28720
|
+
* @param {*} [options] Override http request option.
|
|
28721
|
+
* @throws {RequiredError}
|
|
28722
|
+
*/
|
|
28723
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
|
|
28724
|
+
return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
28725
|
+
},
|
|
28328
28726
|
/**
|
|
28329
28727
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28330
28728
|
* @summary Get Specific API Usage Event
|
|
@@ -28514,6 +28912,33 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
28514
28912
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
28515
28913
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
28516
28914
|
}
|
|
28915
|
+
/**
|
|
28916
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
28917
|
+
* @summary Get Daily Statistics for a Store
|
|
28918
|
+
* @param {string} xStoreID Store ID
|
|
28919
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28920
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28921
|
+
* @param {*} [options] Override http request option.
|
|
28922
|
+
* @throws {RequiredError}
|
|
28923
|
+
* @memberof StoresApi
|
|
28924
|
+
*/
|
|
28925
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
|
|
28926
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
28927
|
+
}
|
|
28928
|
+
/**
|
|
28929
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
28930
|
+
* @summary Get Time Series Data for Store Metrics
|
|
28931
|
+
* @param {string} xStoreID Store ID
|
|
28932
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
28933
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28934
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28935
|
+
* @param {*} [options] Override http request option.
|
|
28936
|
+
* @throws {RequiredError}
|
|
28937
|
+
* @memberof StoresApi
|
|
28938
|
+
*/
|
|
28939
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
|
|
28940
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
28941
|
+
}
|
|
28517
28942
|
/**
|
|
28518
28943
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28519
28944
|
* @summary Get Specific API Usage Event
|
|
@@ -29175,6 +29600,312 @@ class SubscriptionsApi extends base_1.BaseAPI {
|
|
|
29175
29600
|
}
|
|
29176
29601
|
}
|
|
29177
29602
|
exports.SubscriptionsApi = SubscriptionsApi;
|
|
29603
|
+
/**
|
|
29604
|
+
* TaxManagementApi - axios parameter creator
|
|
29605
|
+
* @export
|
|
29606
|
+
*/
|
|
29607
|
+
const TaxManagementApiAxiosParamCreator = function (configuration) {
|
|
29608
|
+
return {
|
|
29609
|
+
/**
|
|
29610
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
29611
|
+
* @summary Calculate tax for a transaction
|
|
29612
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
29613
|
+
* @param {*} [options] Override http request option.
|
|
29614
|
+
* @throws {RequiredError}
|
|
29615
|
+
*/
|
|
29616
|
+
adminTaxCalculatePost: (dataTypesTaxCalculationRequest_1, ...args_1) => __awaiter(this, [dataTypesTaxCalculationRequest_1, ...args_1], void 0, function* (dataTypesTaxCalculationRequest, options = {}) {
|
|
29617
|
+
// verify required parameter 'dataTypesTaxCalculationRequest' is not null or undefined
|
|
29618
|
+
(0, common_1.assertParamExists)('adminTaxCalculatePost', 'dataTypesTaxCalculationRequest', dataTypesTaxCalculationRequest);
|
|
29619
|
+
const localVarPath = `/admin/tax/calculate`;
|
|
29620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29621
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29622
|
+
let baseOptions;
|
|
29623
|
+
if (configuration) {
|
|
29624
|
+
baseOptions = configuration.baseOptions;
|
|
29625
|
+
}
|
|
29626
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
29627
|
+
const localVarHeaderParameter = {};
|
|
29628
|
+
const localVarQueryParameter = {};
|
|
29629
|
+
// authentication BearerAuth required
|
|
29630
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
29631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29632
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29633
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29634
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29635
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesTaxCalculationRequest, localVarRequestOptions, configuration);
|
|
29636
|
+
return {
|
|
29637
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29638
|
+
options: localVarRequestOptions,
|
|
29639
|
+
};
|
|
29640
|
+
}),
|
|
29641
|
+
/**
|
|
29642
|
+
* Retrieves GST and taxation details for an organization
|
|
29643
|
+
* @summary Get organization tax details
|
|
29644
|
+
* @param {*} [options] Override http request option.
|
|
29645
|
+
* @throws {RequiredError}
|
|
29646
|
+
*/
|
|
29647
|
+
adminTaxOrganizationGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
29648
|
+
const localVarPath = `/admin/tax/organization`;
|
|
29649
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29650
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29651
|
+
let baseOptions;
|
|
29652
|
+
if (configuration) {
|
|
29653
|
+
baseOptions = configuration.baseOptions;
|
|
29654
|
+
}
|
|
29655
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
29656
|
+
const localVarHeaderParameter = {};
|
|
29657
|
+
const localVarQueryParameter = {};
|
|
29658
|
+
// authentication BearerAuth required
|
|
29659
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
29660
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29661
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29662
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29663
|
+
return {
|
|
29664
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29665
|
+
options: localVarRequestOptions,
|
|
29666
|
+
};
|
|
29667
|
+
}),
|
|
29668
|
+
/**
|
|
29669
|
+
* Updates GST and taxation details for an organization
|
|
29670
|
+
* @summary Update organization tax details
|
|
29671
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
29672
|
+
* @param {*} [options] Override http request option.
|
|
29673
|
+
* @throws {RequiredError}
|
|
29674
|
+
*/
|
|
29675
|
+
adminTaxOrganizationPut: (dataTypesUpdateOrganizationTaxDetailsRequest_1, ...args_1) => __awaiter(this, [dataTypesUpdateOrganizationTaxDetailsRequest_1, ...args_1], void 0, function* (dataTypesUpdateOrganizationTaxDetailsRequest, options = {}) {
|
|
29676
|
+
// verify required parameter 'dataTypesUpdateOrganizationTaxDetailsRequest' is not null or undefined
|
|
29677
|
+
(0, common_1.assertParamExists)('adminTaxOrganizationPut', 'dataTypesUpdateOrganizationTaxDetailsRequest', dataTypesUpdateOrganizationTaxDetailsRequest);
|
|
29678
|
+
const localVarPath = `/admin/tax/organization`;
|
|
29679
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29680
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29681
|
+
let baseOptions;
|
|
29682
|
+
if (configuration) {
|
|
29683
|
+
baseOptions = configuration.baseOptions;
|
|
29684
|
+
}
|
|
29685
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
29686
|
+
const localVarHeaderParameter = {};
|
|
29687
|
+
const localVarQueryParameter = {};
|
|
29688
|
+
// authentication BearerAuth required
|
|
29689
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
29690
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29691
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29693
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29694
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateOrganizationTaxDetailsRequest, localVarRequestOptions, configuration);
|
|
29695
|
+
return {
|
|
29696
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29697
|
+
options: localVarRequestOptions,
|
|
29698
|
+
};
|
|
29699
|
+
}),
|
|
29700
|
+
/**
|
|
29701
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
29702
|
+
* @summary Validate GSTIN
|
|
29703
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
29704
|
+
* @param {*} [options] Override http request option.
|
|
29705
|
+
* @throws {RequiredError}
|
|
29706
|
+
*/
|
|
29707
|
+
adminTaxValidateGstinPost: (dataTypesGSTVerificationRequest_1, ...args_1) => __awaiter(this, [dataTypesGSTVerificationRequest_1, ...args_1], void 0, function* (dataTypesGSTVerificationRequest, options = {}) {
|
|
29708
|
+
// verify required parameter 'dataTypesGSTVerificationRequest' is not null or undefined
|
|
29709
|
+
(0, common_1.assertParamExists)('adminTaxValidateGstinPost', 'dataTypesGSTVerificationRequest', dataTypesGSTVerificationRequest);
|
|
29710
|
+
const localVarPath = `/admin/tax/validate-gstin`;
|
|
29711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29712
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
29713
|
+
let baseOptions;
|
|
29714
|
+
if (configuration) {
|
|
29715
|
+
baseOptions = configuration.baseOptions;
|
|
29716
|
+
}
|
|
29717
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
29718
|
+
const localVarHeaderParameter = {};
|
|
29719
|
+
const localVarQueryParameter = {};
|
|
29720
|
+
// authentication BearerAuth required
|
|
29721
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
29722
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29723
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
29724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29725
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29726
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesGSTVerificationRequest, localVarRequestOptions, configuration);
|
|
29727
|
+
return {
|
|
29728
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
29729
|
+
options: localVarRequestOptions,
|
|
29730
|
+
};
|
|
29731
|
+
}),
|
|
29732
|
+
};
|
|
29733
|
+
};
|
|
29734
|
+
exports.TaxManagementApiAxiosParamCreator = TaxManagementApiAxiosParamCreator;
|
|
29735
|
+
/**
|
|
29736
|
+
* TaxManagementApi - functional programming interface
|
|
29737
|
+
* @export
|
|
29738
|
+
*/
|
|
29739
|
+
const TaxManagementApiFp = function (configuration) {
|
|
29740
|
+
const localVarAxiosParamCreator = (0, exports.TaxManagementApiAxiosParamCreator)(configuration);
|
|
29741
|
+
return {
|
|
29742
|
+
/**
|
|
29743
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
29744
|
+
* @summary Calculate tax for a transaction
|
|
29745
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
29746
|
+
* @param {*} [options] Override http request option.
|
|
29747
|
+
* @throws {RequiredError}
|
|
29748
|
+
*/
|
|
29749
|
+
adminTaxCalculatePost(dataTypesTaxCalculationRequest, options) {
|
|
29750
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29751
|
+
var _a, _b, _c;
|
|
29752
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options);
|
|
29753
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
29754
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxManagementApi.adminTaxCalculatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
29755
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29756
|
+
});
|
|
29757
|
+
},
|
|
29758
|
+
/**
|
|
29759
|
+
* Retrieves GST and taxation details for an organization
|
|
29760
|
+
* @summary Get organization tax details
|
|
29761
|
+
* @param {*} [options] Override http request option.
|
|
29762
|
+
* @throws {RequiredError}
|
|
29763
|
+
*/
|
|
29764
|
+
adminTaxOrganizationGet(options) {
|
|
29765
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29766
|
+
var _a, _b, _c;
|
|
29767
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminTaxOrganizationGet(options);
|
|
29768
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
29769
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxManagementApi.adminTaxOrganizationGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
29770
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29771
|
+
});
|
|
29772
|
+
},
|
|
29773
|
+
/**
|
|
29774
|
+
* Updates GST and taxation details for an organization
|
|
29775
|
+
* @summary Update organization tax details
|
|
29776
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
29777
|
+
* @param {*} [options] Override http request option.
|
|
29778
|
+
* @throws {RequiredError}
|
|
29779
|
+
*/
|
|
29780
|
+
adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options) {
|
|
29781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29782
|
+
var _a, _b, _c;
|
|
29783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options);
|
|
29784
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
29785
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxManagementApi.adminTaxOrganizationPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
29786
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29787
|
+
});
|
|
29788
|
+
},
|
|
29789
|
+
/**
|
|
29790
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
29791
|
+
* @summary Validate GSTIN
|
|
29792
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
29793
|
+
* @param {*} [options] Override http request option.
|
|
29794
|
+
* @throws {RequiredError}
|
|
29795
|
+
*/
|
|
29796
|
+
adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options) {
|
|
29797
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29798
|
+
var _a, _b, _c;
|
|
29799
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options);
|
|
29800
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
29801
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxManagementApi.adminTaxValidateGstinPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
29802
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29803
|
+
});
|
|
29804
|
+
},
|
|
29805
|
+
};
|
|
29806
|
+
};
|
|
29807
|
+
exports.TaxManagementApiFp = TaxManagementApiFp;
|
|
29808
|
+
/**
|
|
29809
|
+
* TaxManagementApi - factory interface
|
|
29810
|
+
* @export
|
|
29811
|
+
*/
|
|
29812
|
+
const TaxManagementApiFactory = function (configuration, basePath, axios) {
|
|
29813
|
+
const localVarFp = (0, exports.TaxManagementApiFp)(configuration);
|
|
29814
|
+
return {
|
|
29815
|
+
/**
|
|
29816
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
29817
|
+
* @summary Calculate tax for a transaction
|
|
29818
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
29819
|
+
* @param {*} [options] Override http request option.
|
|
29820
|
+
* @throws {RequiredError}
|
|
29821
|
+
*/
|
|
29822
|
+
adminTaxCalculatePost(dataTypesTaxCalculationRequest, options) {
|
|
29823
|
+
return localVarFp.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(axios, basePath));
|
|
29824
|
+
},
|
|
29825
|
+
/**
|
|
29826
|
+
* Retrieves GST and taxation details for an organization
|
|
29827
|
+
* @summary Get organization tax details
|
|
29828
|
+
* @param {*} [options] Override http request option.
|
|
29829
|
+
* @throws {RequiredError}
|
|
29830
|
+
*/
|
|
29831
|
+
adminTaxOrganizationGet(options) {
|
|
29832
|
+
return localVarFp.adminTaxOrganizationGet(options).then((request) => request(axios, basePath));
|
|
29833
|
+
},
|
|
29834
|
+
/**
|
|
29835
|
+
* Updates GST and taxation details for an organization
|
|
29836
|
+
* @summary Update organization tax details
|
|
29837
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
29838
|
+
* @param {*} [options] Override http request option.
|
|
29839
|
+
* @throws {RequiredError}
|
|
29840
|
+
*/
|
|
29841
|
+
adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options) {
|
|
29842
|
+
return localVarFp.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(axios, basePath));
|
|
29843
|
+
},
|
|
29844
|
+
/**
|
|
29845
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
29846
|
+
* @summary Validate GSTIN
|
|
29847
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
29848
|
+
* @param {*} [options] Override http request option.
|
|
29849
|
+
* @throws {RequiredError}
|
|
29850
|
+
*/
|
|
29851
|
+
adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options) {
|
|
29852
|
+
return localVarFp.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(axios, basePath));
|
|
29853
|
+
},
|
|
29854
|
+
};
|
|
29855
|
+
};
|
|
29856
|
+
exports.TaxManagementApiFactory = TaxManagementApiFactory;
|
|
29857
|
+
/**
|
|
29858
|
+
* TaxManagementApi - object-oriented interface
|
|
29859
|
+
* @export
|
|
29860
|
+
* @class TaxManagementApi
|
|
29861
|
+
* @extends {BaseAPI}
|
|
29862
|
+
*/
|
|
29863
|
+
class TaxManagementApi extends base_1.BaseAPI {
|
|
29864
|
+
/**
|
|
29865
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
29866
|
+
* @summary Calculate tax for a transaction
|
|
29867
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
29868
|
+
* @param {*} [options] Override http request option.
|
|
29869
|
+
* @throws {RequiredError}
|
|
29870
|
+
* @memberof TaxManagementApi
|
|
29871
|
+
*/
|
|
29872
|
+
adminTaxCalculatePost(dataTypesTaxCalculationRequest, options) {
|
|
29873
|
+
return (0, exports.TaxManagementApiFp)(this.configuration).adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29874
|
+
}
|
|
29875
|
+
/**
|
|
29876
|
+
* Retrieves GST and taxation details for an organization
|
|
29877
|
+
* @summary Get organization tax details
|
|
29878
|
+
* @param {*} [options] Override http request option.
|
|
29879
|
+
* @throws {RequiredError}
|
|
29880
|
+
* @memberof TaxManagementApi
|
|
29881
|
+
*/
|
|
29882
|
+
adminTaxOrganizationGet(options) {
|
|
29883
|
+
return (0, exports.TaxManagementApiFp)(this.configuration).adminTaxOrganizationGet(options).then((request) => request(this.axios, this.basePath));
|
|
29884
|
+
}
|
|
29885
|
+
/**
|
|
29886
|
+
* Updates GST and taxation details for an organization
|
|
29887
|
+
* @summary Update organization tax details
|
|
29888
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
29889
|
+
* @param {*} [options] Override http request option.
|
|
29890
|
+
* @throws {RequiredError}
|
|
29891
|
+
* @memberof TaxManagementApi
|
|
29892
|
+
*/
|
|
29893
|
+
adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options) {
|
|
29894
|
+
return (0, exports.TaxManagementApiFp)(this.configuration).adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29895
|
+
}
|
|
29896
|
+
/**
|
|
29897
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
29898
|
+
* @summary Validate GSTIN
|
|
29899
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
29900
|
+
* @param {*} [options] Override http request option.
|
|
29901
|
+
* @throws {RequiredError}
|
|
29902
|
+
* @memberof TaxManagementApi
|
|
29903
|
+
*/
|
|
29904
|
+
adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options) {
|
|
29905
|
+
return (0, exports.TaxManagementApiFp)(this.configuration).adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29906
|
+
}
|
|
29907
|
+
}
|
|
29908
|
+
exports.TaxManagementApi = TaxManagementApi;
|
|
29178
29909
|
/**
|
|
29179
29910
|
* UserApi - axios parameter creator
|
|
29180
29911
|
* @export
|