@seekora-ai/admin-api 1.0.100 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -7408,6 +7408,33 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
7408
7408
  options: localVarRequestOptions,
7409
7409
  };
7410
7410
  }),
7411
+ /**
7412
+ * Returns available alert types and their configurations for the frontend
7413
+ * @summary Get billing alert types
7414
+ * @param {*} [options] Override http request option.
7415
+ * @throws {RequiredError}
7416
+ */
7417
+ adminBillingAlertsTypesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
7418
+ const localVarPath = `/admin/billing/alerts/types`;
7419
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7420
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7421
+ let baseOptions;
7422
+ if (configuration) {
7423
+ baseOptions = configuration.baseOptions;
7424
+ }
7425
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7426
+ const localVarHeaderParameter = {};
7427
+ const localVarQueryParameter = {};
7428
+ // authentication BearerAuth required
7429
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
7430
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7431
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7432
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7433
+ return {
7434
+ url: toPathString(localVarUrlObj),
7435
+ options: localVarRequestOptions,
7436
+ };
7437
+ }),
7411
7438
  /**
7412
7439
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
7413
7440
  * @summary Get credit consumption
@@ -7776,7 +7803,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
7776
7803
  };
7777
7804
  }),
7778
7805
  /**
7779
- * Downloads an invoice as an HTML file (PDF can be added later)
7806
+ * Downloads an invoice as a PDF file
7780
7807
  * @summary Download invoice
7781
7808
  * @param {string} id Invoice ID
7782
7809
  * @param {*} [options] Override http request option.
@@ -8339,6 +8366,21 @@ export const BillingDashboardApiFp = function (configuration) {
8339
8366
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8340
8367
  });
8341
8368
  },
8369
+ /**
8370
+ * Returns available alert types and their configurations for the frontend
8371
+ * @summary Get billing alert types
8372
+ * @param {*} [options] Override http request option.
8373
+ * @throws {RequiredError}
8374
+ */
8375
+ adminBillingAlertsTypesGet(options) {
8376
+ return __awaiter(this, void 0, void 0, function* () {
8377
+ var _a, _b, _c;
8378
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsTypesGet(options);
8379
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8380
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingAlertsTypesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8381
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8382
+ });
8383
+ },
8342
8384
  /**
8343
8385
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
8344
8386
  * @summary Get credit consumption
@@ -8506,7 +8548,7 @@ export const BillingDashboardApiFp = function (configuration) {
8506
8548
  });
8507
8549
  },
8508
8550
  /**
8509
- * Downloads an invoice as an HTML file (PDF can be added later)
8551
+ * Downloads an invoice as a PDF file
8510
8552
  * @summary Download invoice
8511
8553
  * @param {string} id Invoice ID
8512
8554
  * @param {*} [options] Override http request option.
@@ -8784,6 +8826,15 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
8784
8826
  adminBillingAlertsPost(dataTypesBillingAlertRequest, options) {
8785
8827
  return localVarFp.adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
8786
8828
  },
8829
+ /**
8830
+ * Returns available alert types and their configurations for the frontend
8831
+ * @summary Get billing alert types
8832
+ * @param {*} [options] Override http request option.
8833
+ * @throws {RequiredError}
8834
+ */
8835
+ adminBillingAlertsTypesGet(options) {
8836
+ return localVarFp.adminBillingAlertsTypesGet(options).then((request) => request(axios, basePath));
8837
+ },
8787
8838
  /**
8788
8839
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
8789
8840
  * @summary Get credit consumption
@@ -8897,7 +8948,7 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
8897
8948
  return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
8898
8949
  },
8899
8950
  /**
8900
- * Downloads an invoice as an HTML file (PDF can be added later)
8951
+ * Downloads an invoice as a PDF file
8901
8952
  * @summary Download invoice
8902
8953
  * @param {string} id Invoice ID
8903
8954
  * @param {*} [options] Override http request option.
@@ -9101,6 +9152,16 @@ export class BillingDashboardApi extends BaseAPI {
9101
9152
  adminBillingAlertsPost(dataTypesBillingAlertRequest, options) {
9102
9153
  return BillingDashboardApiFp(this.configuration).adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
9103
9154
  }
9155
+ /**
9156
+ * Returns available alert types and their configurations for the frontend
9157
+ * @summary Get billing alert types
9158
+ * @param {*} [options] Override http request option.
9159
+ * @throws {RequiredError}
9160
+ * @memberof BillingDashboardApi
9161
+ */
9162
+ adminBillingAlertsTypesGet(options) {
9163
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsTypesGet(options).then((request) => request(this.axios, this.basePath));
9164
+ }
9104
9165
  /**
9105
9166
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
9106
9167
  * @summary Get credit consumption
@@ -9223,7 +9284,7 @@ export class BillingDashboardApi extends BaseAPI {
9223
9284
  return BillingDashboardApiFp(this.configuration).adminBillingInvoicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
9224
9285
  }
9225
9286
  /**
9226
- * Downloads an invoice as an HTML file (PDF can be added later)
9287
+ * Downloads an invoice as a PDF file
9227
9288
  * @summary Download invoice
9228
9289
  * @param {string} id Invoice ID
9229
9290
  * @param {*} [options] Override http request option.
@@ -11704,6 +11765,60 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
11704
11765
  options: localVarRequestOptions,
11705
11766
  };
11706
11767
  }),
11768
+ /**
11769
+ * Returns plan details and feature availability map for UI rendering
11770
+ * @summary Get plan information for frontend
11771
+ * @param {*} [options] Override http request option.
11772
+ * @throws {RequiredError}
11773
+ */
11774
+ apiFeatureLimitsPlanInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
11775
+ const localVarPath = `/api/feature-limits/plan/info`;
11776
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11778
+ let baseOptions;
11779
+ if (configuration) {
11780
+ baseOptions = configuration.baseOptions;
11781
+ }
11782
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11783
+ const localVarHeaderParameter = {};
11784
+ const localVarQueryParameter = {};
11785
+ // authentication BearerAuth required
11786
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
11787
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11788
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11789
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11790
+ return {
11791
+ url: toPathString(localVarUrlObj),
11792
+ options: localVarRequestOptions,
11793
+ };
11794
+ }),
11795
+ /**
11796
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
11797
+ * @summary Get real-time limit status
11798
+ * @param {*} [options] Override http request option.
11799
+ * @throws {RequiredError}
11800
+ */
11801
+ apiFeatureLimitsStatusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
11802
+ const localVarPath = `/api/feature-limits/status`;
11803
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11804
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11805
+ let baseOptions;
11806
+ if (configuration) {
11807
+ baseOptions = configuration.baseOptions;
11808
+ }
11809
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11810
+ const localVarHeaderParameter = {};
11811
+ const localVarQueryParameter = {};
11812
+ // authentication BearerAuth required
11813
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
11814
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11815
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11816
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11817
+ return {
11818
+ url: toPathString(localVarUrlObj),
11819
+ options: localVarRequestOptions,
11820
+ };
11821
+ }),
11707
11822
  /**
11708
11823
  * Retrieves current feature usage statistics for the organization
11709
11824
  * @summary Get feature usage statistics
@@ -11806,6 +11921,36 @@ export const FeatureLimitsApiFp = function (configuration) {
11806
11921
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11807
11922
  });
11808
11923
  },
11924
+ /**
11925
+ * Returns plan details and feature availability map for UI rendering
11926
+ * @summary Get plan information for frontend
11927
+ * @param {*} [options] Override http request option.
11928
+ * @throws {RequiredError}
11929
+ */
11930
+ apiFeatureLimitsPlanInfoGet(options) {
11931
+ return __awaiter(this, void 0, void 0, function* () {
11932
+ var _a, _b, _c;
11933
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiFeatureLimitsPlanInfoGet(options);
11934
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11935
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11936
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11937
+ });
11938
+ },
11939
+ /**
11940
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
11941
+ * @summary Get real-time limit status
11942
+ * @param {*} [options] Override http request option.
11943
+ * @throws {RequiredError}
11944
+ */
11945
+ apiFeatureLimitsStatusGet(options) {
11946
+ return __awaiter(this, void 0, void 0, function* () {
11947
+ var _a, _b, _c;
11948
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiFeatureLimitsStatusGet(options);
11949
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11950
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.apiFeatureLimitsStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11951
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11952
+ });
11953
+ },
11809
11954
  /**
11810
11955
  * Retrieves current feature usage statistics for the organization
11811
11956
  * @summary Get feature usage statistics
@@ -11872,6 +12017,24 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
11872
12017
  apiFeatureLimitsPlanGet(options) {
11873
12018
  return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
11874
12019
  },
12020
+ /**
12021
+ * Returns plan details and feature availability map for UI rendering
12022
+ * @summary Get plan information for frontend
12023
+ * @param {*} [options] Override http request option.
12024
+ * @throws {RequiredError}
12025
+ */
12026
+ apiFeatureLimitsPlanInfoGet(options) {
12027
+ return localVarFp.apiFeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
12028
+ },
12029
+ /**
12030
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
12031
+ * @summary Get real-time limit status
12032
+ * @param {*} [options] Override http request option.
12033
+ * @throws {RequiredError}
12034
+ */
12035
+ apiFeatureLimitsStatusGet(options) {
12036
+ return localVarFp.apiFeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
12037
+ },
11875
12038
  /**
11876
12039
  * Retrieves current feature usage statistics for the organization
11877
12040
  * @summary Get feature usage statistics
@@ -11936,6 +12099,26 @@ export class FeatureLimitsApi extends BaseAPI {
11936
12099
  apiFeatureLimitsPlanGet(options) {
11937
12100
  return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
11938
12101
  }
12102
+ /**
12103
+ * Returns plan details and feature availability map for UI rendering
12104
+ * @summary Get plan information for frontend
12105
+ * @param {*} [options] Override http request option.
12106
+ * @throws {RequiredError}
12107
+ * @memberof FeatureLimitsApi
12108
+ */
12109
+ apiFeatureLimitsPlanInfoGet(options) {
12110
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
12111
+ }
12112
+ /**
12113
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
12114
+ * @summary Get real-time limit status
12115
+ * @param {*} [options] Override http request option.
12116
+ * @throws {RequiredError}
12117
+ * @memberof FeatureLimitsApi
12118
+ */
12119
+ apiFeatureLimitsStatusGet(options) {
12120
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
12121
+ }
11939
12122
  /**
11940
12123
  * Retrieves current feature usage statistics for the organization
11941
12124
  * @summary Get feature usage statistics
@@ -17710,6 +17893,38 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
17710
17893
  options: localVarRequestOptions,
17711
17894
  };
17712
17895
  }),
17896
+ /**
17897
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
17898
+ * @summary Verify invoice payment (simplified)
17899
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
17900
+ * @param {*} [options] Override http request option.
17901
+ * @throws {RequiredError}
17902
+ */
17903
+ adminPaymentGatewayVerifyInvoicePost: (adminPaymentGatewayVerifyInvoicePostRequest_1, ...args_1) => __awaiter(this, [adminPaymentGatewayVerifyInvoicePostRequest_1, ...args_1], void 0, function* (adminPaymentGatewayVerifyInvoicePostRequest, options = {}) {
17904
+ // verify required parameter 'adminPaymentGatewayVerifyInvoicePostRequest' is not null or undefined
17905
+ assertParamExists('adminPaymentGatewayVerifyInvoicePost', 'adminPaymentGatewayVerifyInvoicePostRequest', adminPaymentGatewayVerifyInvoicePostRequest);
17906
+ const localVarPath = `/admin/payment-gateway/verify-invoice`;
17907
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17908
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17909
+ let baseOptions;
17910
+ if (configuration) {
17911
+ baseOptions = configuration.baseOptions;
17912
+ }
17913
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
17914
+ const localVarHeaderParameter = {};
17915
+ const localVarQueryParameter = {};
17916
+ // authentication BearerAuth required
17917
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
17918
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17919
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17920
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17921
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17922
+ localVarRequestOptions.data = serializeDataIfNeeded(adminPaymentGatewayVerifyInvoicePostRequest, localVarRequestOptions, configuration);
17923
+ return {
17924
+ url: toPathString(localVarUrlObj),
17925
+ options: localVarRequestOptions,
17926
+ };
17927
+ }),
17713
17928
  /**
17714
17929
  * 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.
17715
17930
  * @summary Verify payment status by order ID
@@ -17980,6 +18195,22 @@ export const PaymentGatewayApiFp = function (configuration) {
17980
18195
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17981
18196
  });
17982
18197
  },
18198
+ /**
18199
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
18200
+ * @summary Verify invoice payment (simplified)
18201
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
18202
+ * @param {*} [options] Override http request option.
18203
+ * @throws {RequiredError}
18204
+ */
18205
+ adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
18206
+ return __awaiter(this, void 0, void 0, function* () {
18207
+ var _a, _b, _c;
18208
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options);
18209
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18210
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyInvoicePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18211
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18212
+ });
18213
+ },
17983
18214
  /**
17984
18215
  * 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.
17985
18216
  * @summary Verify payment status by order ID
@@ -18138,6 +18369,16 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
18138
18369
  adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options) {
18139
18370
  return localVarFp.adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(axios, basePath));
18140
18371
  },
18372
+ /**
18373
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
18374
+ * @summary Verify invoice payment (simplified)
18375
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
18376
+ * @param {*} [options] Override http request option.
18377
+ * @throws {RequiredError}
18378
+ */
18379
+ adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
18380
+ return localVarFp.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(axios, basePath));
18381
+ },
18141
18382
  /**
18142
18383
  * 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.
18143
18384
  * @summary Verify payment status by order ID
@@ -18273,6 +18514,17 @@ export class PaymentGatewayApi extends BaseAPI {
18273
18514
  adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options) {
18274
18515
  return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
18275
18516
  }
18517
+ /**
18518
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
18519
+ * @summary Verify invoice payment (simplified)
18520
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
18521
+ * @param {*} [options] Override http request option.
18522
+ * @throws {RequiredError}
18523
+ * @memberof PaymentGatewayApi
18524
+ */
18525
+ adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options) {
18526
+ return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(this.axios, this.basePath));
18527
+ }
18276
18528
  /**
18277
18529
  * 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.
18278
18530
  * @summary Verify payment status by order ID
@@ -27421,6 +27673,90 @@ export const StoresApiAxiosParamCreator = function (configuration) {
27421
27673
  options: localVarRequestOptions,
27422
27674
  };
27423
27675
  }),
27676
+ /**
27677
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
27678
+ * @summary Get Daily Statistics for a Store
27679
+ * @param {string} xStoreID Store ID
27680
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
27681
+ * @param {string} [endDate] End date (YYYY-MM-DD)
27682
+ * @param {*} [options] Override http request option.
27683
+ * @throws {RequiredError}
27684
+ */
27685
+ 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 = {}) {
27686
+ // verify required parameter 'xStoreID' is not null or undefined
27687
+ assertParamExists('adminStoresXStoreIDAnalyticsDailyStatsGet', 'xStoreID', xStoreID);
27688
+ const localVarPath = `/admin/Stores/{xStoreID}/analytics/daily-stats`
27689
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
27690
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27691
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27692
+ let baseOptions;
27693
+ if (configuration) {
27694
+ baseOptions = configuration.baseOptions;
27695
+ }
27696
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
27697
+ const localVarHeaderParameter = {};
27698
+ const localVarQueryParameter = {};
27699
+ // authentication BearerAuth required
27700
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
27701
+ if (startDate !== undefined) {
27702
+ localVarQueryParameter['start_date'] = startDate;
27703
+ }
27704
+ if (endDate !== undefined) {
27705
+ localVarQueryParameter['end_date'] = endDate;
27706
+ }
27707
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27708
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27709
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27710
+ return {
27711
+ url: toPathString(localVarUrlObj),
27712
+ options: localVarRequestOptions,
27713
+ };
27714
+ }),
27715
+ /**
27716
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
27717
+ * @summary Get Time Series Data for Store Metrics
27718
+ * @param {string} xStoreID Store ID
27719
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
27720
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
27721
+ * @param {string} [endDate] End date (YYYY-MM-DD)
27722
+ * @param {*} [options] Override http request option.
27723
+ * @throws {RequiredError}
27724
+ */
27725
+ 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 = {}) {
27726
+ // verify required parameter 'xStoreID' is not null or undefined
27727
+ assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'xStoreID', xStoreID);
27728
+ // verify required parameter 'metric' is not null or undefined
27729
+ assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'metric', metric);
27730
+ const localVarPath = `/admin/Stores/{xStoreID}/analytics/timeseries`
27731
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
27732
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27734
+ let baseOptions;
27735
+ if (configuration) {
27736
+ baseOptions = configuration.baseOptions;
27737
+ }
27738
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
27739
+ const localVarHeaderParameter = {};
27740
+ const localVarQueryParameter = {};
27741
+ // authentication BearerAuth required
27742
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
27743
+ if (metric !== undefined) {
27744
+ localVarQueryParameter['metric'] = metric;
27745
+ }
27746
+ if (startDate !== undefined) {
27747
+ localVarQueryParameter['start_date'] = startDate;
27748
+ }
27749
+ if (endDate !== undefined) {
27750
+ localVarQueryParameter['end_date'] = endDate;
27751
+ }
27752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27754
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27755
+ return {
27756
+ url: toPathString(localVarUrlObj),
27757
+ options: localVarRequestOptions,
27758
+ };
27759
+ }),
27424
27760
  /**
27425
27761
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
27426
27762
  * @summary Get Specific API Usage Event
@@ -27906,6 +28242,43 @@ export const StoresApiFp = function (configuration) {
27906
28242
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27907
28243
  });
27908
28244
  },
28245
+ /**
28246
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
28247
+ * @summary Get Daily Statistics for a Store
28248
+ * @param {string} xStoreID Store ID
28249
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28250
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28251
+ * @param {*} [options] Override http request option.
28252
+ * @throws {RequiredError}
28253
+ */
28254
+ adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
28255
+ return __awaiter(this, void 0, void 0, function* () {
28256
+ var _a, _b, _c;
28257
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options);
28258
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
28259
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsDailyStatsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
28260
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28261
+ });
28262
+ },
28263
+ /**
28264
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
28265
+ * @summary Get Time Series Data for Store Metrics
28266
+ * @param {string} xStoreID Store ID
28267
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
28268
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28269
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28270
+ * @param {*} [options] Override http request option.
28271
+ * @throws {RequiredError}
28272
+ */
28273
+ adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
28274
+ return __awaiter(this, void 0, void 0, function* () {
28275
+ var _a, _b, _c;
28276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options);
28277
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
28278
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsTimeseriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
28279
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28280
+ });
28281
+ },
27909
28282
  /**
27910
28283
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
27911
28284
  * @summary Get Specific API Usage Event
@@ -28155,6 +28528,31 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
28155
28528
  adminStoresUpdateStatusIdStatusPut(id, status, options) {
28156
28529
  return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
28157
28530
  },
28531
+ /**
28532
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
28533
+ * @summary Get Daily Statistics for a Store
28534
+ * @param {string} xStoreID Store ID
28535
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28536
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28537
+ * @param {*} [options] Override http request option.
28538
+ * @throws {RequiredError}
28539
+ */
28540
+ adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
28541
+ return localVarFp.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(axios, basePath));
28542
+ },
28543
+ /**
28544
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
28545
+ * @summary Get Time Series Data for Store Metrics
28546
+ * @param {string} xStoreID Store ID
28547
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
28548
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28549
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28550
+ * @param {*} [options] Override http request option.
28551
+ * @throws {RequiredError}
28552
+ */
28553
+ adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
28554
+ return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
28555
+ },
28158
28556
  /**
28159
28557
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
28160
28558
  * @summary Get Specific API Usage Event
@@ -28343,6 +28741,33 @@ export class StoresApi extends BaseAPI {
28343
28741
  adminStoresUpdateStatusIdStatusPut(id, status, options) {
28344
28742
  return StoresApiFp(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
28345
28743
  }
28744
+ /**
28745
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
28746
+ * @summary Get Daily Statistics for a Store
28747
+ * @param {string} xStoreID Store ID
28748
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28749
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28750
+ * @param {*} [options] Override http request option.
28751
+ * @throws {RequiredError}
28752
+ * @memberof StoresApi
28753
+ */
28754
+ adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options) {
28755
+ return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
28756
+ }
28757
+ /**
28758
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
28759
+ * @summary Get Time Series Data for Store Metrics
28760
+ * @param {string} xStoreID Store ID
28761
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
28762
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
28763
+ * @param {string} [endDate] End date (YYYY-MM-DD)
28764
+ * @param {*} [options] Override http request option.
28765
+ * @throws {RequiredError}
28766
+ * @memberof StoresApi
28767
+ */
28768
+ adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options) {
28769
+ return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
28770
+ }
28346
28771
  /**
28347
28772
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
28348
28773
  * @summary Get Specific API Usage Event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.100",
3
+ "version": "1.1.1",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file