@seekora-ai/admin-api 1.1.0 → 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/api.ts CHANGED
@@ -754,6 +754,19 @@ export interface AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGet200Response {
754
754
  */
755
755
  'total'?: number;
756
756
  }
757
+ /**
758
+ *
759
+ * @export
760
+ * @interface AdminPaymentGatewayVerifyInvoicePostRequest
761
+ */
762
+ export interface AdminPaymentGatewayVerifyInvoicePostRequest {
763
+ /**
764
+ *
765
+ * @type {string}
766
+ * @memberof AdminPaymentGatewayVerifyInvoicePostRequest
767
+ */
768
+ 'gateway_order_id'?: string;
769
+ }
757
770
  /**
758
771
  *
759
772
  * @export
@@ -10866,6 +10879,31 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
10866
10879
  */
10867
10880
  'status'?: number;
10868
10881
  }
10882
+ /**
10883
+ *
10884
+ * @export
10885
+ * @interface DataTypesGenericResponseFeatureLimitServiceLimitStatus
10886
+ */
10887
+ export interface DataTypesGenericResponseFeatureLimitServiceLimitStatus {
10888
+ /**
10889
+ *
10890
+ * @type {FeatureLimitServiceLimitStatus}
10891
+ * @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
10892
+ */
10893
+ 'data'?: FeatureLimitServiceLimitStatus;
10894
+ /**
10895
+ *
10896
+ * @type {string}
10897
+ * @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
10898
+ */
10899
+ 'message'?: string;
10900
+ /**
10901
+ *
10902
+ * @type {number}
10903
+ * @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
10904
+ */
10905
+ 'status'?: number;
10906
+ }
10869
10907
  /**
10870
10908
  *
10871
10909
  * @export
@@ -18162,6 +18200,226 @@ export interface DataTypesWordWithStatusEnhanced {
18162
18200
  */
18163
18201
  'wordid'?: number;
18164
18202
  }
18203
+ /**
18204
+ *
18205
+ * @export
18206
+ * @interface FeatureLimitServiceAPICallStatus
18207
+ */
18208
+ export interface FeatureLimitServiceAPICallStatus {
18209
+ /**
18210
+ *
18211
+ * @type {number}
18212
+ * @memberof FeatureLimitServiceAPICallStatus
18213
+ */
18214
+ 'calls_made'?: number;
18215
+ /**
18216
+ *
18217
+ * @type {string}
18218
+ * @memberof FeatureLimitServiceAPICallStatus
18219
+ */
18220
+ 'current_period'?: string;
18221
+ /**
18222
+ *
18223
+ * @type {boolean}
18224
+ * @memberof FeatureLimitServiceAPICallStatus
18225
+ */
18226
+ 'is_exhausted'?: boolean;
18227
+ /**
18228
+ *
18229
+ * @type {number}
18230
+ * @memberof FeatureLimitServiceAPICallStatus
18231
+ */
18232
+ 'limit'?: number;
18233
+ /**
18234
+ *
18235
+ * @type {string}
18236
+ * @memberof FeatureLimitServiceAPICallStatus
18237
+ */
18238
+ 'period_ends_at'?: string;
18239
+ /**
18240
+ *
18241
+ * @type {string}
18242
+ * @memberof FeatureLimitServiceAPICallStatus
18243
+ */
18244
+ 'period_starts_at'?: string;
18245
+ /**
18246
+ *
18247
+ * @type {number}
18248
+ * @memberof FeatureLimitServiceAPICallStatus
18249
+ */
18250
+ 'remaining'?: number;
18251
+ /**
18252
+ *
18253
+ * @type {number}
18254
+ * @memberof FeatureLimitServiceAPICallStatus
18255
+ */
18256
+ 'usage_percent'?: number;
18257
+ }
18258
+ /**
18259
+ *
18260
+ * @export
18261
+ * @interface FeatureLimitServiceCreditStatus
18262
+ */
18263
+ export interface FeatureLimitServiceCreditStatus {
18264
+ /**
18265
+ *
18266
+ * @type {number}
18267
+ * @memberof FeatureLimitServiceCreditStatus
18268
+ */
18269
+ 'available'?: number;
18270
+ /**
18271
+ *
18272
+ * @type {number}
18273
+ * @memberof FeatureLimitServiceCreditStatus
18274
+ */
18275
+ 'consumed'?: number;
18276
+ /**
18277
+ *
18278
+ * @type {number}
18279
+ * @memberof FeatureLimitServiceCreditStatus
18280
+ */
18281
+ 'expiring_credits'?: number;
18282
+ /**
18283
+ *
18284
+ * @type {string}
18285
+ * @memberof FeatureLimitServiceCreditStatus
18286
+ */
18287
+ 'expiry_date'?: string;
18288
+ /**
18289
+ *
18290
+ * @type {boolean}
18291
+ * @memberof FeatureLimitServiceCreditStatus
18292
+ */
18293
+ 'is_exhausted'?: boolean;
18294
+ /**
18295
+ *
18296
+ * @type {number}
18297
+ * @memberof FeatureLimitServiceCreditStatus
18298
+ */
18299
+ 'total'?: number;
18300
+ /**
18301
+ *
18302
+ * @type {number}
18303
+ * @memberof FeatureLimitServiceCreditStatus
18304
+ */
18305
+ 'usage_percent'?: number;
18306
+ }
18307
+ /**
18308
+ *
18309
+ * @export
18310
+ * @interface FeatureLimitServiceFeatureStatus
18311
+ */
18312
+ export interface FeatureLimitServiceFeatureStatus {
18313
+ /**
18314
+ *
18315
+ * @type {number}
18316
+ * @memberof FeatureLimitServiceFeatureStatus
18317
+ */
18318
+ 'current_usage'?: number;
18319
+ /**
18320
+ *
18321
+ * @type {string}
18322
+ * @memberof FeatureLimitServiceFeatureStatus
18323
+ */
18324
+ 'feature_name'?: string;
18325
+ /**
18326
+ *
18327
+ * @type {boolean}
18328
+ * @memberof FeatureLimitServiceFeatureStatus
18329
+ */
18330
+ 'is_exhausted'?: boolean;
18331
+ /**
18332
+ *
18333
+ * @type {any}
18334
+ * @memberof FeatureLimitServiceFeatureStatus
18335
+ */
18336
+ 'limit'?: any;
18337
+ /**
18338
+ *
18339
+ * @type {any}
18340
+ * @memberof FeatureLimitServiceFeatureStatus
18341
+ */
18342
+ 'remaining'?: any;
18343
+ /**
18344
+ *
18345
+ * @type {number}
18346
+ * @memberof FeatureLimitServiceFeatureStatus
18347
+ */
18348
+ 'usage_percent'?: number;
18349
+ /**
18350
+ *
18351
+ * @type {string}
18352
+ * @memberof FeatureLimitServiceFeatureStatus
18353
+ */
18354
+ 'will_reset_at'?: string;
18355
+ }
18356
+ /**
18357
+ *
18358
+ * @export
18359
+ * @interface FeatureLimitServiceLimitStatus
18360
+ */
18361
+ export interface FeatureLimitServiceLimitStatus {
18362
+ /**
18363
+ *
18364
+ * @type {FeatureLimitServiceAPICallStatus}
18365
+ * @memberof FeatureLimitServiceLimitStatus
18366
+ */
18367
+ 'api_calls'?: FeatureLimitServiceAPICallStatus;
18368
+ /**
18369
+ *
18370
+ * @type {string}
18371
+ * @memberof FeatureLimitServiceLimitStatus
18372
+ */
18373
+ 'block_reason'?: string;
18374
+ /**
18375
+ *
18376
+ * @type {FeatureLimitServiceCreditStatus}
18377
+ * @memberof FeatureLimitServiceLimitStatus
18378
+ */
18379
+ 'credits'?: FeatureLimitServiceCreditStatus;
18380
+ /**
18381
+ *
18382
+ * @type {{ [key: string]: FeatureLimitServiceFeatureStatus; }}
18383
+ * @memberof FeatureLimitServiceLimitStatus
18384
+ */
18385
+ 'features'?: { [key: string]: FeatureLimitServiceFeatureStatus; };
18386
+ /**
18387
+ *
18388
+ * @type {boolean}
18389
+ * @memberof FeatureLimitServiceLimitStatus
18390
+ */
18391
+ 'is_blocked'?: boolean;
18392
+ /**
18393
+ *
18394
+ * @type {string}
18395
+ * @memberof FeatureLimitServiceLimitStatus
18396
+ */
18397
+ 'last_updated'?: string;
18398
+ /**
18399
+ *
18400
+ * @type {string}
18401
+ * @memberof FeatureLimitServiceLimitStatus
18402
+ */
18403
+ 'next_reset'?: string;
18404
+ /**
18405
+ *
18406
+ * @type {number}
18407
+ * @memberof FeatureLimitServiceLimitStatus
18408
+ */
18409
+ 'org_id'?: number;
18410
+ /**
18411
+ *
18412
+ * @type {number}
18413
+ * @memberof FeatureLimitServiceLimitStatus
18414
+ */
18415
+ 'plan_id'?: number;
18416
+ /**
18417
+ *
18418
+ * @type {string}
18419
+ * @memberof FeatureLimitServiceLimitStatus
18420
+ */
18421
+ 'plan_name'?: string;
18422
+ }
18165
18423
  /**
18166
18424
  *
18167
18425
  * @export
@@ -18527,6 +18785,154 @@ export interface StoreRouteAPIUsageLogEntry {
18527
18785
  */
18528
18786
  'url'?: string;
18529
18787
  }
18788
+ /**
18789
+ *
18790
+ * @export
18791
+ * @interface StoreRouteDailyStats
18792
+ */
18793
+ export interface StoreRouteDailyStats {
18794
+ /**
18795
+ *
18796
+ * @type {string}
18797
+ * @memberof StoreRouteDailyStats
18798
+ */
18799
+ 'date'?: string;
18800
+ /**
18801
+ *
18802
+ * @type {StoreRouteOperationsStats}
18803
+ * @memberof StoreRouteDailyStats
18804
+ */
18805
+ 'operations'?: StoreRouteOperationsStats;
18806
+ /**
18807
+ *
18808
+ * @type {StoreRouteRecordsStats}
18809
+ * @memberof StoreRouteDailyStats
18810
+ */
18811
+ 'records'?: StoreRouteRecordsStats;
18812
+ /**
18813
+ *
18814
+ * @type {number}
18815
+ * @memberof StoreRouteDailyStats
18816
+ */
18817
+ 'search_requests'?: number;
18818
+ /**
18819
+ *
18820
+ * @type {StoreRouteResponseTimeStats}
18821
+ * @memberof StoreRouteDailyStats
18822
+ */
18823
+ 'search_response_time'?: StoreRouteResponseTimeStats;
18824
+ }
18825
+ /**
18826
+ *
18827
+ * @export
18828
+ * @interface StoreRouteDailyStatsResponse
18829
+ */
18830
+ export interface StoreRouteDailyStatsResponse {
18831
+ /**
18832
+ *
18833
+ * @type {Array<StoreRouteDailyStats>}
18834
+ * @memberof StoreRouteDailyStatsResponse
18835
+ */
18836
+ 'data'?: Array<StoreRouteDailyStats>;
18837
+ /**
18838
+ *
18839
+ * @type {string}
18840
+ * @memberof StoreRouteDailyStatsResponse
18841
+ */
18842
+ 'message'?: string;
18843
+ /**
18844
+ *
18845
+ * @type {StoreRouteDailyStatsResponseMeta}
18846
+ * @memberof StoreRouteDailyStatsResponse
18847
+ */
18848
+ 'meta'?: StoreRouteDailyStatsResponseMeta;
18849
+ /**
18850
+ *
18851
+ * @type {number}
18852
+ * @memberof StoreRouteDailyStatsResponse
18853
+ */
18854
+ 'status'?: number;
18855
+ }
18856
+ /**
18857
+ *
18858
+ * @export
18859
+ * @interface StoreRouteDailyStatsResponseMeta
18860
+ */
18861
+ export interface StoreRouteDailyStatsResponseMeta {
18862
+ /**
18863
+ *
18864
+ * @type {string}
18865
+ * @memberof StoreRouteDailyStatsResponseMeta
18866
+ */
18867
+ 'end_date'?: string;
18868
+ /**
18869
+ *
18870
+ * @type {string}
18871
+ * @memberof StoreRouteDailyStatsResponseMeta
18872
+ */
18873
+ 'start_date'?: string;
18874
+ /**
18875
+ *
18876
+ * @type {number}
18877
+ * @memberof StoreRouteDailyStatsResponseMeta
18878
+ */
18879
+ 'total_days'?: number;
18880
+ }
18881
+ /**
18882
+ *
18883
+ * @export
18884
+ * @interface StoreRouteOperationsStats
18885
+ */
18886
+ export interface StoreRouteOperationsStats {
18887
+ /**
18888
+ *
18889
+ * @type {number}
18890
+ * @memberof StoreRouteOperationsStats
18891
+ */
18892
+ 'acl_operations'?: number;
18893
+ /**
18894
+ *
18895
+ * @type {number}
18896
+ * @memberof StoreRouteOperationsStats
18897
+ */
18898
+ 'index_operations'?: number;
18899
+ /**
18900
+ *
18901
+ * @type {number}
18902
+ * @memberof StoreRouteOperationsStats
18903
+ */
18904
+ 'recommend_requests'?: number;
18905
+ /**
18906
+ *
18907
+ * @type {number}
18908
+ * @memberof StoreRouteOperationsStats
18909
+ */
18910
+ 'record_operations'?: number;
18911
+ /**
18912
+ *
18913
+ * @type {number}
18914
+ * @memberof StoreRouteOperationsStats
18915
+ */
18916
+ 'rules_operations'?: number;
18917
+ /**
18918
+ *
18919
+ * @type {StoreRouteSearchOperationsBreakdown}
18920
+ * @memberof StoreRouteOperationsStats
18921
+ */
18922
+ 'search_operations'?: StoreRouteSearchOperationsBreakdown;
18923
+ /**
18924
+ *
18925
+ * @type {number}
18926
+ * @memberof StoreRouteOperationsStats
18927
+ */
18928
+ 'synonym_operations'?: number;
18929
+ /**
18930
+ *
18931
+ * @type {number}
18932
+ * @memberof StoreRouteOperationsStats
18933
+ */
18934
+ 'total_operations'?: number;
18935
+ }
18530
18936
  /**
18531
18937
  *
18532
18938
  * @export
@@ -18558,6 +18964,161 @@ export interface StoreRoutePaginationMeta {
18558
18964
  */
18559
18965
  'total_pages'?: number;
18560
18966
  }
18967
+ /**
18968
+ *
18969
+ * @export
18970
+ * @interface StoreRouteRecordsStats
18971
+ */
18972
+ export interface StoreRouteRecordsStats {
18973
+ /**
18974
+ *
18975
+ * @type {number}
18976
+ * @memberof StoreRouteRecordsStats
18977
+ */
18978
+ 'included_in_plan'?: number;
18979
+ /**
18980
+ *
18981
+ * @type {number}
18982
+ * @memberof StoreRouteRecordsStats
18983
+ */
18984
+ 'percentage_used'?: number;
18985
+ /**
18986
+ *
18987
+ * @type {number}
18988
+ * @memberof StoreRouteRecordsStats
18989
+ */
18990
+ 'used'?: number;
18991
+ }
18992
+ /**
18993
+ *
18994
+ * @export
18995
+ * @interface StoreRouteResponseTimeStats
18996
+ */
18997
+ export interface StoreRouteResponseTimeStats {
18998
+ /**
18999
+ *
19000
+ * @type {number}
19001
+ * @memberof StoreRouteResponseTimeStats
19002
+ */
19003
+ 'average_ms'?: number;
19004
+ /**
19005
+ *
19006
+ * @type {number}
19007
+ * @memberof StoreRouteResponseTimeStats
19008
+ */
19009
+ 'max_ms'?: number;
19010
+ /**
19011
+ *
19012
+ * @type {number}
19013
+ * @memberof StoreRouteResponseTimeStats
19014
+ */
19015
+ 'min_ms'?: number;
19016
+ /**
19017
+ *
19018
+ * @type {number}
19019
+ * @memberof StoreRouteResponseTimeStats
19020
+ */
19021
+ 'percentile_90_ms'?: number;
19022
+ /**
19023
+ *
19024
+ * @type {number}
19025
+ * @memberof StoreRouteResponseTimeStats
19026
+ */
19027
+ 'percentile_99_ms'?: number;
19028
+ }
19029
+ /**
19030
+ *
19031
+ * @export
19032
+ * @interface StoreRouteSearchOperationsBreakdown
19033
+ */
19034
+ export interface StoreRouteSearchOperationsBreakdown {
19035
+ /**
19036
+ *
19037
+ * @type {number}
19038
+ * @memberof StoreRouteSearchOperationsBreakdown
19039
+ */
19040
+ 'multi_queries'?: number;
19041
+ /**
19042
+ *
19043
+ * @type {number}
19044
+ * @memberof StoreRouteSearchOperationsBreakdown
19045
+ */
19046
+ 'single_queries'?: number;
19047
+ /**
19048
+ *
19049
+ * @type {number}
19050
+ * @memberof StoreRouteSearchOperationsBreakdown
19051
+ */
19052
+ 'total'?: number;
19053
+ }
19054
+ /**
19055
+ *
19056
+ * @export
19057
+ * @interface StoreRouteTimeSeriesMeta
19058
+ */
19059
+ export interface StoreRouteTimeSeriesMeta {
19060
+ /**
19061
+ *
19062
+ * @type {number}
19063
+ * @memberof StoreRouteTimeSeriesMeta
19064
+ */
19065
+ 'data_points'?: number;
19066
+ /**
19067
+ *
19068
+ * @type {string}
19069
+ * @memberof StoreRouteTimeSeriesMeta
19070
+ */
19071
+ 'end_date'?: string;
19072
+ /**
19073
+ *
19074
+ * @type {string}
19075
+ * @memberof StoreRouteTimeSeriesMeta
19076
+ */
19077
+ 'start_date'?: string;
19078
+ /**
19079
+ *
19080
+ * @type {number}
19081
+ * @memberof StoreRouteTimeSeriesMeta
19082
+ */
19083
+ 'total_days'?: number;
19084
+ }
19085
+ /**
19086
+ *
19087
+ * @export
19088
+ * @interface StoreRouteTimeSeriesResponse
19089
+ */
19090
+ export interface StoreRouteTimeSeriesResponse {
19091
+ /**
19092
+ * Can be []TimeSeriesDataPoint or AllMetricsData
19093
+ * @type {any}
19094
+ * @memberof StoreRouteTimeSeriesResponse
19095
+ */
19096
+ 'data'?: any;
19097
+ /**
19098
+ *
19099
+ * @type {string}
19100
+ * @memberof StoreRouteTimeSeriesResponse
19101
+ */
19102
+ 'message'?: string;
19103
+ /**
19104
+ *
19105
+ * @type {StoreRouteTimeSeriesMeta}
19106
+ * @memberof StoreRouteTimeSeriesResponse
19107
+ */
19108
+ 'meta'?: StoreRouteTimeSeriesMeta;
19109
+ /**
19110
+ *
19111
+ * @type {string}
19112
+ * @memberof StoreRouteTimeSeriesResponse
19113
+ */
19114
+ 'metric'?: string;
19115
+ /**
19116
+ *
19117
+ * @type {number}
19118
+ * @memberof StoreRouteTimeSeriesResponse
19119
+ */
19120
+ 'status'?: number;
19121
+ }
18561
19122
  /**
18562
19123
  *
18563
19124
  * @export
@@ -26614,6 +27175,39 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
26614
27175
  options: localVarRequestOptions,
26615
27176
  };
26616
27177
  },
27178
+ /**
27179
+ * Returns available alert types and their configurations for the frontend
27180
+ * @summary Get billing alert types
27181
+ * @param {*} [options] Override http request option.
27182
+ * @throws {RequiredError}
27183
+ */
27184
+ adminBillingAlertsTypesGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27185
+ const localVarPath = `/admin/billing/alerts/types`;
27186
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27187
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27188
+ let baseOptions;
27189
+ if (configuration) {
27190
+ baseOptions = configuration.baseOptions;
27191
+ }
27192
+
27193
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27194
+ const localVarHeaderParameter = {} as any;
27195
+ const localVarQueryParameter = {} as any;
27196
+
27197
+ // authentication BearerAuth required
27198
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27199
+
27200
+
27201
+
27202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27204
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27205
+
27206
+ return {
27207
+ url: toPathString(localVarUrlObj),
27208
+ options: localVarRequestOptions,
27209
+ };
27210
+ },
26617
27211
  /**
26618
27212
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
26619
27213
  * @summary Get credit consumption
@@ -27064,7 +27658,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27064
27658
  };
27065
27659
  },
27066
27660
  /**
27067
- * Downloads an invoice as an HTML file (PDF can be added later)
27661
+ * Downloads an invoice as a PDF file
27068
27662
  * @summary Download invoice
27069
27663
  * @param {string} id Invoice ID
27070
27664
  * @param {*} [options] Override http request option.
@@ -27724,6 +28318,18 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
27724
28318
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsPost']?.[localVarOperationServerIndex]?.url;
27725
28319
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27726
28320
  },
28321
+ /**
28322
+ * Returns available alert types and their configurations for the frontend
28323
+ * @summary Get billing alert types
28324
+ * @param {*} [options] Override http request option.
28325
+ * @throws {RequiredError}
28326
+ */
28327
+ async adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
28328
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsTypesGet(options);
28329
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28330
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsTypesGet']?.[localVarOperationServerIndex]?.url;
28331
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28332
+ },
27727
28333
  /**
27728
28334
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
27729
28335
  * @summary Get credit consumption
@@ -27864,7 +28470,7 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
27864
28470
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27865
28471
  },
27866
28472
  /**
27867
- * Downloads an invoice as an HTML file (PDF can be added later)
28473
+ * Downloads an invoice as a PDF file
27868
28474
  * @summary Download invoice
27869
28475
  * @param {string} id Invoice ID
27870
28476
  * @param {*} [options] Override http request option.
@@ -28104,6 +28710,15 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
28104
28710
  adminBillingAlertsPost(dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
28105
28711
  return localVarFp.adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
28106
28712
  },
28713
+ /**
28714
+ * Returns available alert types and their configurations for the frontend
28715
+ * @summary Get billing alert types
28716
+ * @param {*} [options] Override http request option.
28717
+ * @throws {RequiredError}
28718
+ */
28719
+ adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
28720
+ return localVarFp.adminBillingAlertsTypesGet(options).then((request) => request(axios, basePath));
28721
+ },
28107
28722
  /**
28108
28723
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
28109
28724
  * @summary Get credit consumption
@@ -28217,7 +28832,7 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
28217
28832
  return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
28218
28833
  },
28219
28834
  /**
28220
- * Downloads an invoice as an HTML file (PDF can be added later)
28835
+ * Downloads an invoice as a PDF file
28221
28836
  * @summary Download invoice
28222
28837
  * @param {string} id Invoice ID
28223
28838
  * @param {*} [options] Override http request option.
@@ -28426,6 +29041,17 @@ export class BillingDashboardApi extends BaseAPI {
28426
29041
  return BillingDashboardApiFp(this.configuration).adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
28427
29042
  }
28428
29043
 
29044
+ /**
29045
+ * Returns available alert types and their configurations for the frontend
29046
+ * @summary Get billing alert types
29047
+ * @param {*} [options] Override http request option.
29048
+ * @throws {RequiredError}
29049
+ * @memberof BillingDashboardApi
29050
+ */
29051
+ public adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig) {
29052
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsTypesGet(options).then((request) => request(this.axios, this.basePath));
29053
+ }
29054
+
28429
29055
  /**
28430
29056
  * Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
28431
29057
  * @summary Get credit consumption
@@ -28557,7 +29183,7 @@ export class BillingDashboardApi extends BaseAPI {
28557
29183
  }
28558
29184
 
28559
29185
  /**
28560
- * Downloads an invoice as an HTML file (PDF can be added later)
29186
+ * Downloads an invoice as a PDF file
28561
29187
  * @summary Download invoice
28562
29188
  * @param {string} id Invoice ID
28563
29189
  * @param {*} [options] Override http request option.
@@ -31230,6 +31856,72 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31230
31856
 
31231
31857
 
31232
31858
 
31859
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31860
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31861
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31862
+
31863
+ return {
31864
+ url: toPathString(localVarUrlObj),
31865
+ options: localVarRequestOptions,
31866
+ };
31867
+ },
31868
+ /**
31869
+ * Returns plan details and feature availability map for UI rendering
31870
+ * @summary Get plan information for frontend
31871
+ * @param {*} [options] Override http request option.
31872
+ * @throws {RequiredError}
31873
+ */
31874
+ apiFeatureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31875
+ const localVarPath = `/api/feature-limits/plan/info`;
31876
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31877
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31878
+ let baseOptions;
31879
+ if (configuration) {
31880
+ baseOptions = configuration.baseOptions;
31881
+ }
31882
+
31883
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31884
+ const localVarHeaderParameter = {} as any;
31885
+ const localVarQueryParameter = {} as any;
31886
+
31887
+ // authentication BearerAuth required
31888
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31889
+
31890
+
31891
+
31892
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31893
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31894
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31895
+
31896
+ return {
31897
+ url: toPathString(localVarUrlObj),
31898
+ options: localVarRequestOptions,
31899
+ };
31900
+ },
31901
+ /**
31902
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
31903
+ * @summary Get real-time limit status
31904
+ * @param {*} [options] Override http request option.
31905
+ * @throws {RequiredError}
31906
+ */
31907
+ apiFeatureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31908
+ const localVarPath = `/api/feature-limits/status`;
31909
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31910
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31911
+ let baseOptions;
31912
+ if (configuration) {
31913
+ baseOptions = configuration.baseOptions;
31914
+ }
31915
+
31916
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31917
+ const localVarHeaderParameter = {} as any;
31918
+ const localVarQueryParameter = {} as any;
31919
+
31920
+ // authentication BearerAuth required
31921
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31922
+
31923
+
31924
+
31233
31925
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31234
31926
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31235
31927
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -31336,6 +32028,30 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
31336
32028
  const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
31337
32029
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31338
32030
  },
32031
+ /**
32032
+ * Returns plan details and feature availability map for UI rendering
32033
+ * @summary Get plan information for frontend
32034
+ * @param {*} [options] Override http request option.
32035
+ * @throws {RequiredError}
32036
+ */
32037
+ async apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
32038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanInfoGet(options);
32039
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32040
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
32041
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32042
+ },
32043
+ /**
32044
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
32045
+ * @summary Get real-time limit status
32046
+ * @param {*} [options] Override http request option.
32047
+ * @throws {RequiredError}
32048
+ */
32049
+ async apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
32050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsStatusGet(options);
32051
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32052
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
32053
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32054
+ },
31339
32055
  /**
31340
32056
  * Retrieves current feature usage statistics for the organization
31341
32057
  * @summary Get feature usage statistics
@@ -31400,6 +32116,24 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
31400
32116
  apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsPlanGet200Response> {
31401
32117
  return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
31402
32118
  },
32119
+ /**
32120
+ * Returns plan details and feature availability map for UI rendering
32121
+ * @summary Get plan information for frontend
32122
+ * @param {*} [options] Override http request option.
32123
+ * @throws {RequiredError}
32124
+ */
32125
+ apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
32126
+ return localVarFp.apiFeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
32127
+ },
32128
+ /**
32129
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
32130
+ * @summary Get real-time limit status
32131
+ * @param {*} [options] Override http request option.
32132
+ * @throws {RequiredError}
32133
+ */
32134
+ apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
32135
+ return localVarFp.apiFeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
32136
+ },
31403
32137
  /**
31404
32138
  * Retrieves current feature usage statistics for the organization
31405
32139
  * @summary Get feature usage statistics
@@ -31469,6 +32203,28 @@ export class FeatureLimitsApi extends BaseAPI {
31469
32203
  return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
31470
32204
  }
31471
32205
 
32206
+ /**
32207
+ * Returns plan details and feature availability map for UI rendering
32208
+ * @summary Get plan information for frontend
32209
+ * @param {*} [options] Override http request option.
32210
+ * @throws {RequiredError}
32211
+ * @memberof FeatureLimitsApi
32212
+ */
32213
+ public apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
32214
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
32215
+ }
32216
+
32217
+ /**
32218
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
32219
+ * @summary Get real-time limit status
32220
+ * @param {*} [options] Override http request option.
32221
+ * @throws {RequiredError}
32222
+ * @memberof FeatureLimitsApi
32223
+ */
32224
+ public apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
32225
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
32226
+ }
32227
+
31472
32228
  /**
31473
32229
  * Retrieves current feature usage statistics for the organization
31474
32230
  * @summary Get feature usage statistics
@@ -37723,6 +38479,45 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
37723
38479
  options: localVarRequestOptions,
37724
38480
  };
37725
38481
  },
38482
+ /**
38483
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
38484
+ * @summary Verify invoice payment (simplified)
38485
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
38486
+ * @param {*} [options] Override http request option.
38487
+ * @throws {RequiredError}
38488
+ */
38489
+ adminPaymentGatewayVerifyInvoicePost: async (adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38490
+ // verify required parameter 'adminPaymentGatewayVerifyInvoicePostRequest' is not null or undefined
38491
+ assertParamExists('adminPaymentGatewayVerifyInvoicePost', 'adminPaymentGatewayVerifyInvoicePostRequest', adminPaymentGatewayVerifyInvoicePostRequest)
38492
+ const localVarPath = `/admin/payment-gateway/verify-invoice`;
38493
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38494
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38495
+ let baseOptions;
38496
+ if (configuration) {
38497
+ baseOptions = configuration.baseOptions;
38498
+ }
38499
+
38500
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38501
+ const localVarHeaderParameter = {} as any;
38502
+ const localVarQueryParameter = {} as any;
38503
+
38504
+ // authentication BearerAuth required
38505
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38506
+
38507
+
38508
+
38509
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38510
+
38511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38513
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38514
+ localVarRequestOptions.data = serializeDataIfNeeded(adminPaymentGatewayVerifyInvoicePostRequest, localVarRequestOptions, configuration)
38515
+
38516
+ return {
38517
+ url: toPathString(localVarUrlObj),
38518
+ options: localVarRequestOptions,
38519
+ };
38520
+ },
37726
38521
  /**
37727
38522
  * 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.
37728
38523
  * @summary Verify payment status by order ID
@@ -38003,6 +38798,19 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
38003
38798
  const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayRefundPost']?.[localVarOperationServerIndex]?.url;
38004
38799
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38005
38800
  },
38801
+ /**
38802
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
38803
+ * @summary Verify invoice payment (simplified)
38804
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
38805
+ * @param {*} [options] Override http request option.
38806
+ * @throws {RequiredError}
38807
+ */
38808
+ async adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusPollResponse>> {
38809
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options);
38810
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38811
+ const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyInvoicePost']?.[localVarOperationServerIndex]?.url;
38812
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38813
+ },
38006
38814
  /**
38007
38815
  * 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.
38008
38816
  * @summary Verify payment status by order ID
@@ -38147,6 +38955,16 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
38147
38955
  adminPaymentGatewayRefundPost(dataTypesRefundRequestDto: DataTypesRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesRefundResponseDto> {
38148
38956
  return localVarFp.adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(axios, basePath));
38149
38957
  },
38958
+ /**
38959
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
38960
+ * @summary Verify invoice payment (simplified)
38961
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
38962
+ * @param {*} [options] Override http request option.
38963
+ * @throws {RequiredError}
38964
+ */
38965
+ adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusPollResponse> {
38966
+ return localVarFp.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(axios, basePath));
38967
+ },
38150
38968
  /**
38151
38969
  * 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.
38152
38970
  * @summary Verify payment status by order ID
@@ -38290,6 +39108,18 @@ export class PaymentGatewayApi extends BaseAPI {
38290
39108
  return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
38291
39109
  }
38292
39110
 
39111
+ /**
39112
+ * Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
39113
+ * @summary Verify invoice payment (simplified)
39114
+ * @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
39115
+ * @param {*} [options] Override http request option.
39116
+ * @throws {RequiredError}
39117
+ * @memberof PaymentGatewayApi
39118
+ */
39119
+ public adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig) {
39120
+ return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(this.axios, this.basePath));
39121
+ }
39122
+
38293
39123
  /**
38294
39124
  * 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.
38295
39125
  * @summary Verify payment status by order ID
@@ -48104,6 +48934,107 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
48104
48934
 
48105
48935
 
48106
48936
 
48937
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48938
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48939
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48940
+
48941
+ return {
48942
+ url: toPathString(localVarUrlObj),
48943
+ options: localVarRequestOptions,
48944
+ };
48945
+ },
48946
+ /**
48947
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
48948
+ * @summary Get Daily Statistics for a Store
48949
+ * @param {string} xStoreID Store ID
48950
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
48951
+ * @param {string} [endDate] End date (YYYY-MM-DD)
48952
+ * @param {*} [options] Override http request option.
48953
+ * @throws {RequiredError}
48954
+ */
48955
+ adminStoresXStoreIDAnalyticsDailyStatsGet: async (xStoreID: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48956
+ // verify required parameter 'xStoreID' is not null or undefined
48957
+ assertParamExists('adminStoresXStoreIDAnalyticsDailyStatsGet', 'xStoreID', xStoreID)
48958
+ const localVarPath = `/admin/Stores/{xStoreID}/analytics/daily-stats`
48959
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
48960
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48961
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48962
+ let baseOptions;
48963
+ if (configuration) {
48964
+ baseOptions = configuration.baseOptions;
48965
+ }
48966
+
48967
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
48968
+ const localVarHeaderParameter = {} as any;
48969
+ const localVarQueryParameter = {} as any;
48970
+
48971
+ // authentication BearerAuth required
48972
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
48973
+
48974
+ if (startDate !== undefined) {
48975
+ localVarQueryParameter['start_date'] = startDate;
48976
+ }
48977
+
48978
+ if (endDate !== undefined) {
48979
+ localVarQueryParameter['end_date'] = endDate;
48980
+ }
48981
+
48982
+
48983
+
48984
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48985
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48986
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48987
+
48988
+ return {
48989
+ url: toPathString(localVarUrlObj),
48990
+ options: localVarRequestOptions,
48991
+ };
48992
+ },
48993
+ /**
48994
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
48995
+ * @summary Get Time Series Data for Store Metrics
48996
+ * @param {string} xStoreID Store ID
48997
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
48998
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
48999
+ * @param {string} [endDate] End date (YYYY-MM-DD)
49000
+ * @param {*} [options] Override http request option.
49001
+ * @throws {RequiredError}
49002
+ */
49003
+ adminStoresXStoreIDAnalyticsTimeseriesGet: async (xStoreID: string, metric: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49004
+ // verify required parameter 'xStoreID' is not null or undefined
49005
+ assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'xStoreID', xStoreID)
49006
+ // verify required parameter 'metric' is not null or undefined
49007
+ assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'metric', metric)
49008
+ const localVarPath = `/admin/Stores/{xStoreID}/analytics/timeseries`
49009
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
49010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49011
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49012
+ let baseOptions;
49013
+ if (configuration) {
49014
+ baseOptions = configuration.baseOptions;
49015
+ }
49016
+
49017
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
49018
+ const localVarHeaderParameter = {} as any;
49019
+ const localVarQueryParameter = {} as any;
49020
+
49021
+ // authentication BearerAuth required
49022
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
49023
+
49024
+ if (metric !== undefined) {
49025
+ localVarQueryParameter['metric'] = metric;
49026
+ }
49027
+
49028
+ if (startDate !== undefined) {
49029
+ localVarQueryParameter['start_date'] = startDate;
49030
+ }
49031
+
49032
+ if (endDate !== undefined) {
49033
+ localVarQueryParameter['end_date'] = endDate;
49034
+ }
49035
+
49036
+
49037
+
48107
49038
  setSearchParams(localVarUrlObj, localVarQueryParameter);
48108
49039
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48109
49040
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -48661,6 +49592,37 @@ export const StoresApiFp = function(configuration?: Configuration) {
48661
49592
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresUpdateStatusIdStatusPut']?.[localVarOperationServerIndex]?.url;
48662
49593
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
48663
49594
  },
49595
+ /**
49596
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
49597
+ * @summary Get Daily Statistics for a Store
49598
+ * @param {string} xStoreID Store ID
49599
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
49600
+ * @param {string} [endDate] End date (YYYY-MM-DD)
49601
+ * @param {*} [options] Override http request option.
49602
+ * @throws {RequiredError}
49603
+ */
49604
+ async adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteDailyStatsResponse>> {
49605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options);
49606
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
49607
+ const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsDailyStatsGet']?.[localVarOperationServerIndex]?.url;
49608
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
49609
+ },
49610
+ /**
49611
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
49612
+ * @summary Get Time Series Data for Store Metrics
49613
+ * @param {string} xStoreID Store ID
49614
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
49615
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
49616
+ * @param {string} [endDate] End date (YYYY-MM-DD)
49617
+ * @param {*} [options] Override http request option.
49618
+ * @throws {RequiredError}
49619
+ */
49620
+ async adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteTimeSeriesResponse>> {
49621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options);
49622
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
49623
+ const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsTimeseriesGet']?.[localVarOperationServerIndex]?.url;
49624
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
49625
+ },
48664
49626
  /**
48665
49627
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
48666
49628
  * @summary Get Specific API Usage Event
@@ -48878,6 +49840,31 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
48878
49840
  adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
48879
49841
  return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
48880
49842
  },
49843
+ /**
49844
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
49845
+ * @summary Get Daily Statistics for a Store
49846
+ * @param {string} xStoreID Store ID
49847
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
49848
+ * @param {string} [endDate] End date (YYYY-MM-DD)
49849
+ * @param {*} [options] Override http request option.
49850
+ * @throws {RequiredError}
49851
+ */
49852
+ adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteDailyStatsResponse> {
49853
+ return localVarFp.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(axios, basePath));
49854
+ },
49855
+ /**
49856
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
49857
+ * @summary Get Time Series Data for Store Metrics
49858
+ * @param {string} xStoreID Store ID
49859
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
49860
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
49861
+ * @param {string} [endDate] End date (YYYY-MM-DD)
49862
+ * @param {*} [options] Override http request option.
49863
+ * @throws {RequiredError}
49864
+ */
49865
+ adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteTimeSeriesResponse> {
49866
+ return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
49867
+ },
48881
49868
  /**
48882
49869
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
48883
49870
  * @summary Get Specific API Usage Event
@@ -49072,6 +50059,35 @@ export class StoresApi extends BaseAPI {
49072
50059
  return StoresApiFp(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
49073
50060
  }
49074
50061
 
50062
+ /**
50063
+ * Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
50064
+ * @summary Get Daily Statistics for a Store
50065
+ * @param {string} xStoreID Store ID
50066
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
50067
+ * @param {string} [endDate] End date (YYYY-MM-DD)
50068
+ * @param {*} [options] Override http request option.
50069
+ * @throws {RequiredError}
50070
+ * @memberof StoresApi
50071
+ */
50072
+ public adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
50073
+ return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
50074
+ }
50075
+
50076
+ /**
50077
+ * Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
50078
+ * @summary Get Time Series Data for Store Metrics
50079
+ * @param {string} xStoreID Store ID
50080
+ * @param {string} metric Metric type: records, search_response_time, operations, search_requests
50081
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
50082
+ * @param {string} [endDate] End date (YYYY-MM-DD)
50083
+ * @param {*} [options] Override http request option.
50084
+ * @throws {RequiredError}
50085
+ * @memberof StoresApi
50086
+ */
50087
+ public adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
50088
+ return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
50089
+ }
50090
+
49075
50091
  /**
49076
50092
  * Retrieve detailed information for a specific API usage event including headers, request body, and response body
49077
50093
  * @summary Get Specific API Usage Event