@seekora-ai/admin-api 1.2.5 → 1.2.6
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 +11 -2
- package/api.ts +723 -0
- package/dist/api.d.ts +365 -0
- package/dist/api.js +616 -0
- package/dist/esm/api.d.ts +365 -0
- package/dist/esm/api.js +616 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.6.tgz +0 -0
- package/seekora-ai-admin-api-1.2.5.tgz +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -13059,6 +13059,12 @@ export interface DataTypesBillingAlertRequest {
|
|
|
13059
13059
|
* @memberof DataTypesBillingAlertRequest
|
|
13060
13060
|
*/
|
|
13061
13061
|
'alert_type'?: DataTypesBillingAlertRequestAlertTypeEnum;
|
|
13062
|
+
/**
|
|
13063
|
+
*
|
|
13064
|
+
* @type {boolean}
|
|
13065
|
+
* @memberof DataTypesBillingAlertRequest
|
|
13066
|
+
*/
|
|
13067
|
+
'applies_to_all_stores'?: boolean;
|
|
13062
13068
|
/**
|
|
13063
13069
|
* Minutes between alerts (default: 60)
|
|
13064
13070
|
* @type {number}
|
|
@@ -13087,6 +13093,12 @@ export interface DataTypesBillingAlertRequest {
|
|
|
13087
13093
|
'notification_channels'?: {
|
|
13088
13094
|
[key: string]: any;
|
|
13089
13095
|
};
|
|
13096
|
+
/**
|
|
13097
|
+
*
|
|
13098
|
+
* @type {number}
|
|
13099
|
+
* @memberof DataTypesBillingAlertRequest
|
|
13100
|
+
*/
|
|
13101
|
+
'rolling_days'?: number;
|
|
13090
13102
|
/**
|
|
13091
13103
|
* Percentage threshold 0-100 (exclusive with threshold_value)
|
|
13092
13104
|
* @type {number}
|
|
@@ -13105,6 +13117,12 @@ export interface DataTypesBillingAlertRequest {
|
|
|
13105
13117
|
* @memberof DataTypesBillingAlertRequest
|
|
13106
13118
|
*/
|
|
13107
13119
|
'threshold_value'?: number;
|
|
13120
|
+
/**
|
|
13121
|
+
*
|
|
13122
|
+
* @type {string}
|
|
13123
|
+
* @memberof DataTypesBillingAlertRequest
|
|
13124
|
+
*/
|
|
13125
|
+
'window_type'?: string;
|
|
13108
13126
|
/**
|
|
13109
13127
|
* Alternative to store_id - will be converted to store_id
|
|
13110
13128
|
* @type {string}
|
|
@@ -32231,6 +32249,49 @@ export interface DataTypesStoreLevelMenuRightWithMenu {
|
|
|
32231
32249
|
*/
|
|
32232
32250
|
'xStoreId'?: string;
|
|
32233
32251
|
}
|
|
32252
|
+
/**
|
|
32253
|
+
*
|
|
32254
|
+
* @export
|
|
32255
|
+
* @interface DataTypesStoreQuotaRequest
|
|
32256
|
+
*/
|
|
32257
|
+
export interface DataTypesStoreQuotaRequest {
|
|
32258
|
+
/**
|
|
32259
|
+
*
|
|
32260
|
+
* @type {string}
|
|
32261
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32262
|
+
*/
|
|
32263
|
+
'enforcement_mode'?: string;
|
|
32264
|
+
/**
|
|
32265
|
+
*
|
|
32266
|
+
* @type {boolean}
|
|
32267
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32268
|
+
*/
|
|
32269
|
+
'is_enabled'?: boolean;
|
|
32270
|
+
/**
|
|
32271
|
+
*
|
|
32272
|
+
* @type {number}
|
|
32273
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32274
|
+
*/
|
|
32275
|
+
'quota_amount'?: number;
|
|
32276
|
+
/**
|
|
32277
|
+
*
|
|
32278
|
+
* @type {number}
|
|
32279
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32280
|
+
*/
|
|
32281
|
+
'rolling_days'?: number;
|
|
32282
|
+
/**
|
|
32283
|
+
*
|
|
32284
|
+
* @type {string}
|
|
32285
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32286
|
+
*/
|
|
32287
|
+
'store_id'?: string;
|
|
32288
|
+
/**
|
|
32289
|
+
*
|
|
32290
|
+
* @type {string}
|
|
32291
|
+
* @memberof DataTypesStoreQuotaRequest
|
|
32292
|
+
*/
|
|
32293
|
+
'window_type'?: string;
|
|
32294
|
+
}
|
|
32234
32295
|
/**
|
|
32235
32296
|
*
|
|
32236
32297
|
* @export
|
|
@@ -48458,6 +48519,20 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
48458
48519
|
* @throws {RequiredError}
|
|
48459
48520
|
*/
|
|
48460
48521
|
adminBillingActivePlanGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48522
|
+
/**
|
|
48523
|
+
* Returns paginated alert trigger history with optional filters
|
|
48524
|
+
* @summary Get alert trigger history
|
|
48525
|
+
* @param {string} [storeId] Filter by store xStoreID
|
|
48526
|
+
* @param {string} [from] Start date (YYYY-MM-DD)
|
|
48527
|
+
* @param {string} [to] End date (YYYY-MM-DD)
|
|
48528
|
+
* @param {string} [alertType] Filter by alert type (store_usage_threshold, store_usage_approaching, quota_hard_block)
|
|
48529
|
+
* @param {string} [status] Filter by status (resolved, unresolved)
|
|
48530
|
+
* @param {number} [page] Page number
|
|
48531
|
+
* @param {number} [perPage] Items per page
|
|
48532
|
+
* @param {*} [options] Override http request option.
|
|
48533
|
+
* @throws {RequiredError}
|
|
48534
|
+
*/
|
|
48535
|
+
adminBillingAlertHistoryGet: (storeId?: string, from?: string, to?: string, alertType?: string, status?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48461
48536
|
/**
|
|
48462
48537
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
48463
48538
|
* @summary Get billing alerts
|
|
@@ -48810,6 +48885,66 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
48810
48885
|
* @throws {RequiredError}
|
|
48811
48886
|
*/
|
|
48812
48887
|
adminBillingSavedCardsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48888
|
+
/**
|
|
48889
|
+
* Returns paginated list of per-store credit quotas for the organization
|
|
48890
|
+
* @summary List store credit quotas
|
|
48891
|
+
* @param {number} [page] Page number
|
|
48892
|
+
* @param {number} [perPage] Items per page
|
|
48893
|
+
* @param {string} [search] Search by store name
|
|
48894
|
+
* @param {*} [options] Override http request option.
|
|
48895
|
+
* @throws {RequiredError}
|
|
48896
|
+
*/
|
|
48897
|
+
adminBillingStoreQuotasGet: (page?: number, perPage?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48898
|
+
/**
|
|
48899
|
+
* Creates a per-store credit quota with configurable window and enforcement
|
|
48900
|
+
* @summary Create store credit quota
|
|
48901
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Quota configuration
|
|
48902
|
+
* @param {*} [options] Override http request option.
|
|
48903
|
+
* @throws {RequiredError}
|
|
48904
|
+
*/
|
|
48905
|
+
adminBillingStoreQuotasPost: (dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48906
|
+
/**
|
|
48907
|
+
* Deletes a per-store credit quota by UUID
|
|
48908
|
+
* @summary Delete store credit quota
|
|
48909
|
+
* @param {string} quotaUuid Quota UUID
|
|
48910
|
+
* @param {*} [options] Override http request option.
|
|
48911
|
+
* @throws {RequiredError}
|
|
48912
|
+
*/
|
|
48913
|
+
adminBillingStoreQuotasQuotaUuidDelete: (quotaUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48914
|
+
/**
|
|
48915
|
+
* Returns a single store credit quota by UUID
|
|
48916
|
+
* @summary Get store credit quota
|
|
48917
|
+
* @param {string} quotaUuid Quota UUID
|
|
48918
|
+
* @param {*} [options] Override http request option.
|
|
48919
|
+
* @throws {RequiredError}
|
|
48920
|
+
*/
|
|
48921
|
+
adminBillingStoreQuotasQuotaUuidGet: (quotaUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48922
|
+
/**
|
|
48923
|
+
* Updates an existing per-store credit quota
|
|
48924
|
+
* @summary Update store credit quota
|
|
48925
|
+
* @param {string} quotaUuid Quota UUID
|
|
48926
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Updated quota configuration
|
|
48927
|
+
* @param {*} [options] Override http request option.
|
|
48928
|
+
* @throws {RequiredError}
|
|
48929
|
+
*/
|
|
48930
|
+
adminBillingStoreQuotasQuotaUuidPut: (quotaUuid: string, dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48931
|
+
/**
|
|
48932
|
+
* Returns paginated usage summary for all stores in the organization
|
|
48933
|
+
* @summary Get all stores usage summary
|
|
48934
|
+
* @param {number} [page] Page number
|
|
48935
|
+
* @param {number} [perPage] Items per page
|
|
48936
|
+
* @param {*} [options] Override http request option.
|
|
48937
|
+
* @throws {RequiredError}
|
|
48938
|
+
*/
|
|
48939
|
+
adminBillingStoreUsageGet: (page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48940
|
+
/**
|
|
48941
|
+
* Returns detailed usage breakdown for a single store
|
|
48942
|
+
* @summary Get single store usage detail
|
|
48943
|
+
* @param {string} xStoreId Store external ID
|
|
48944
|
+
* @param {*} [options] Override http request option.
|
|
48945
|
+
* @throws {RequiredError}
|
|
48946
|
+
*/
|
|
48947
|
+
adminBillingStoreUsageXStoreIdGet: (xStoreId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48813
48948
|
/**
|
|
48814
48949
|
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
48815
48950
|
* @summary Get usage details with granularity and pagination
|
|
@@ -48871,6 +49006,20 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
48871
49006
|
* @throws {RequiredError}
|
|
48872
49007
|
*/
|
|
48873
49008
|
adminBillingActivePlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo>>;
|
|
49009
|
+
/**
|
|
49010
|
+
* Returns paginated alert trigger history with optional filters
|
|
49011
|
+
* @summary Get alert trigger history
|
|
49012
|
+
* @param {string} [storeId] Filter by store xStoreID
|
|
49013
|
+
* @param {string} [from] Start date (YYYY-MM-DD)
|
|
49014
|
+
* @param {string} [to] End date (YYYY-MM-DD)
|
|
49015
|
+
* @param {string} [alertType] Filter by alert type (store_usage_threshold, store_usage_approaching, quota_hard_block)
|
|
49016
|
+
* @param {string} [status] Filter by status (resolved, unresolved)
|
|
49017
|
+
* @param {number} [page] Page number
|
|
49018
|
+
* @param {number} [perPage] Items per page
|
|
49019
|
+
* @param {*} [options] Override http request option.
|
|
49020
|
+
* @throws {RequiredError}
|
|
49021
|
+
*/
|
|
49022
|
+
adminBillingAlertHistoryGet(storeId?: string, from?: string, to?: string, alertType?: string, status?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
48874
49023
|
/**
|
|
48875
49024
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
48876
49025
|
* @summary Get billing alerts
|
|
@@ -49223,6 +49372,66 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
49223
49372
|
* @throws {RequiredError}
|
|
49224
49373
|
*/
|
|
49225
49374
|
adminBillingSavedCardsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49375
|
+
/**
|
|
49376
|
+
* Returns paginated list of per-store credit quotas for the organization
|
|
49377
|
+
* @summary List store credit quotas
|
|
49378
|
+
* @param {number} [page] Page number
|
|
49379
|
+
* @param {number} [perPage] Items per page
|
|
49380
|
+
* @param {string} [search] Search by store name
|
|
49381
|
+
* @param {*} [options] Override http request option.
|
|
49382
|
+
* @throws {RequiredError}
|
|
49383
|
+
*/
|
|
49384
|
+
adminBillingStoreQuotasGet(page?: number, perPage?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49385
|
+
/**
|
|
49386
|
+
* Creates a per-store credit quota with configurable window and enforcement
|
|
49387
|
+
* @summary Create store credit quota
|
|
49388
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Quota configuration
|
|
49389
|
+
* @param {*} [options] Override http request option.
|
|
49390
|
+
* @throws {RequiredError}
|
|
49391
|
+
*/
|
|
49392
|
+
adminBillingStoreQuotasPost(dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49393
|
+
/**
|
|
49394
|
+
* Deletes a per-store credit quota by UUID
|
|
49395
|
+
* @summary Delete store credit quota
|
|
49396
|
+
* @param {string} quotaUuid Quota UUID
|
|
49397
|
+
* @param {*} [options] Override http request option.
|
|
49398
|
+
* @throws {RequiredError}
|
|
49399
|
+
*/
|
|
49400
|
+
adminBillingStoreQuotasQuotaUuidDelete(quotaUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49401
|
+
/**
|
|
49402
|
+
* Returns a single store credit quota by UUID
|
|
49403
|
+
* @summary Get store credit quota
|
|
49404
|
+
* @param {string} quotaUuid Quota UUID
|
|
49405
|
+
* @param {*} [options] Override http request option.
|
|
49406
|
+
* @throws {RequiredError}
|
|
49407
|
+
*/
|
|
49408
|
+
adminBillingStoreQuotasQuotaUuidGet(quotaUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49409
|
+
/**
|
|
49410
|
+
* Updates an existing per-store credit quota
|
|
49411
|
+
* @summary Update store credit quota
|
|
49412
|
+
* @param {string} quotaUuid Quota UUID
|
|
49413
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Updated quota configuration
|
|
49414
|
+
* @param {*} [options] Override http request option.
|
|
49415
|
+
* @throws {RequiredError}
|
|
49416
|
+
*/
|
|
49417
|
+
adminBillingStoreQuotasQuotaUuidPut(quotaUuid: string, dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49418
|
+
/**
|
|
49419
|
+
* Returns paginated usage summary for all stores in the organization
|
|
49420
|
+
* @summary Get all stores usage summary
|
|
49421
|
+
* @param {number} [page] Page number
|
|
49422
|
+
* @param {number} [perPage] Items per page
|
|
49423
|
+
* @param {*} [options] Override http request option.
|
|
49424
|
+
* @throws {RequiredError}
|
|
49425
|
+
*/
|
|
49426
|
+
adminBillingStoreUsageGet(page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49427
|
+
/**
|
|
49428
|
+
* Returns detailed usage breakdown for a single store
|
|
49429
|
+
* @summary Get single store usage detail
|
|
49430
|
+
* @param {string} xStoreId Store external ID
|
|
49431
|
+
* @param {*} [options] Override http request option.
|
|
49432
|
+
* @throws {RequiredError}
|
|
49433
|
+
*/
|
|
49434
|
+
adminBillingStoreUsageXStoreIdGet(xStoreId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
49226
49435
|
/**
|
|
49227
49436
|
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
49228
49437
|
* @summary Get usage details with granularity and pagination
|
|
@@ -49284,6 +49493,20 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
49284
49493
|
* @throws {RequiredError}
|
|
49285
49494
|
*/
|
|
49286
49495
|
adminBillingActivePlanGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo>;
|
|
49496
|
+
/**
|
|
49497
|
+
* Returns paginated alert trigger history with optional filters
|
|
49498
|
+
* @summary Get alert trigger history
|
|
49499
|
+
* @param {string} [storeId] Filter by store xStoreID
|
|
49500
|
+
* @param {string} [from] Start date (YYYY-MM-DD)
|
|
49501
|
+
* @param {string} [to] End date (YYYY-MM-DD)
|
|
49502
|
+
* @param {string} [alertType] Filter by alert type (store_usage_threshold, store_usage_approaching, quota_hard_block)
|
|
49503
|
+
* @param {string} [status] Filter by status (resolved, unresolved)
|
|
49504
|
+
* @param {number} [page] Page number
|
|
49505
|
+
* @param {number} [perPage] Items per page
|
|
49506
|
+
* @param {*} [options] Override http request option.
|
|
49507
|
+
* @throws {RequiredError}
|
|
49508
|
+
*/
|
|
49509
|
+
adminBillingAlertHistoryGet(storeId?: string, from?: string, to?: string, alertType?: string, status?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49287
49510
|
/**
|
|
49288
49511
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
49289
49512
|
* @summary Get billing alerts
|
|
@@ -49636,6 +49859,66 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
49636
49859
|
* @throws {RequiredError}
|
|
49637
49860
|
*/
|
|
49638
49861
|
adminBillingSavedCardsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49862
|
+
/**
|
|
49863
|
+
* Returns paginated list of per-store credit quotas for the organization
|
|
49864
|
+
* @summary List store credit quotas
|
|
49865
|
+
* @param {number} [page] Page number
|
|
49866
|
+
* @param {number} [perPage] Items per page
|
|
49867
|
+
* @param {string} [search] Search by store name
|
|
49868
|
+
* @param {*} [options] Override http request option.
|
|
49869
|
+
* @throws {RequiredError}
|
|
49870
|
+
*/
|
|
49871
|
+
adminBillingStoreQuotasGet(page?: number, perPage?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49872
|
+
/**
|
|
49873
|
+
* Creates a per-store credit quota with configurable window and enforcement
|
|
49874
|
+
* @summary Create store credit quota
|
|
49875
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Quota configuration
|
|
49876
|
+
* @param {*} [options] Override http request option.
|
|
49877
|
+
* @throws {RequiredError}
|
|
49878
|
+
*/
|
|
49879
|
+
adminBillingStoreQuotasPost(dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49880
|
+
/**
|
|
49881
|
+
* Deletes a per-store credit quota by UUID
|
|
49882
|
+
* @summary Delete store credit quota
|
|
49883
|
+
* @param {string} quotaUuid Quota UUID
|
|
49884
|
+
* @param {*} [options] Override http request option.
|
|
49885
|
+
* @throws {RequiredError}
|
|
49886
|
+
*/
|
|
49887
|
+
adminBillingStoreQuotasQuotaUuidDelete(quotaUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49888
|
+
/**
|
|
49889
|
+
* Returns a single store credit quota by UUID
|
|
49890
|
+
* @summary Get store credit quota
|
|
49891
|
+
* @param {string} quotaUuid Quota UUID
|
|
49892
|
+
* @param {*} [options] Override http request option.
|
|
49893
|
+
* @throws {RequiredError}
|
|
49894
|
+
*/
|
|
49895
|
+
adminBillingStoreQuotasQuotaUuidGet(quotaUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49896
|
+
/**
|
|
49897
|
+
* Updates an existing per-store credit quota
|
|
49898
|
+
* @summary Update store credit quota
|
|
49899
|
+
* @param {string} quotaUuid Quota UUID
|
|
49900
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Updated quota configuration
|
|
49901
|
+
* @param {*} [options] Override http request option.
|
|
49902
|
+
* @throws {RequiredError}
|
|
49903
|
+
*/
|
|
49904
|
+
adminBillingStoreQuotasQuotaUuidPut(quotaUuid: string, dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49905
|
+
/**
|
|
49906
|
+
* Returns paginated usage summary for all stores in the organization
|
|
49907
|
+
* @summary Get all stores usage summary
|
|
49908
|
+
* @param {number} [page] Page number
|
|
49909
|
+
* @param {number} [perPage] Items per page
|
|
49910
|
+
* @param {*} [options] Override http request option.
|
|
49911
|
+
* @throws {RequiredError}
|
|
49912
|
+
*/
|
|
49913
|
+
adminBillingStoreUsageGet(page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49914
|
+
/**
|
|
49915
|
+
* Returns detailed usage breakdown for a single store
|
|
49916
|
+
* @summary Get single store usage detail
|
|
49917
|
+
* @param {string} xStoreId Store external ID
|
|
49918
|
+
* @param {*} [options] Override http request option.
|
|
49919
|
+
* @throws {RequiredError}
|
|
49920
|
+
*/
|
|
49921
|
+
adminBillingStoreUsageXStoreIdGet(xStoreId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
49639
49922
|
/**
|
|
49640
49923
|
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
49641
49924
|
* @summary Get usage details with granularity and pagination
|
|
@@ -49700,6 +49983,21 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
49700
49983
|
* @memberof BillingDashboardApi
|
|
49701
49984
|
*/
|
|
49702
49985
|
adminBillingActivePlanGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesCurrentPlanInfo, any, {}>>;
|
|
49986
|
+
/**
|
|
49987
|
+
* Returns paginated alert trigger history with optional filters
|
|
49988
|
+
* @summary Get alert trigger history
|
|
49989
|
+
* @param {string} [storeId] Filter by store xStoreID
|
|
49990
|
+
* @param {string} [from] Start date (YYYY-MM-DD)
|
|
49991
|
+
* @param {string} [to] End date (YYYY-MM-DD)
|
|
49992
|
+
* @param {string} [alertType] Filter by alert type (store_usage_threshold, store_usage_approaching, quota_hard_block)
|
|
49993
|
+
* @param {string} [status] Filter by status (resolved, unresolved)
|
|
49994
|
+
* @param {number} [page] Page number
|
|
49995
|
+
* @param {number} [perPage] Items per page
|
|
49996
|
+
* @param {*} [options] Override http request option.
|
|
49997
|
+
* @throws {RequiredError}
|
|
49998
|
+
* @memberof BillingDashboardApi
|
|
49999
|
+
*/
|
|
50000
|
+
adminBillingAlertHistoryGet(storeId?: string, from?: string, to?: string, alertType?: string, status?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
49703
50001
|
/**
|
|
49704
50002
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
49705
50003
|
* @summary Get billing alerts
|
|
@@ -50087,6 +50385,73 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
50087
50385
|
* @memberof BillingDashboardApi
|
|
50088
50386
|
*/
|
|
50089
50387
|
adminBillingSavedCardsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50388
|
+
/**
|
|
50389
|
+
* Returns paginated list of per-store credit quotas for the organization
|
|
50390
|
+
* @summary List store credit quotas
|
|
50391
|
+
* @param {number} [page] Page number
|
|
50392
|
+
* @param {number} [perPage] Items per page
|
|
50393
|
+
* @param {string} [search] Search by store name
|
|
50394
|
+
* @param {*} [options] Override http request option.
|
|
50395
|
+
* @throws {RequiredError}
|
|
50396
|
+
* @memberof BillingDashboardApi
|
|
50397
|
+
*/
|
|
50398
|
+
adminBillingStoreQuotasGet(page?: number, perPage?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50399
|
+
/**
|
|
50400
|
+
* Creates a per-store credit quota with configurable window and enforcement
|
|
50401
|
+
* @summary Create store credit quota
|
|
50402
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Quota configuration
|
|
50403
|
+
* @param {*} [options] Override http request option.
|
|
50404
|
+
* @throws {RequiredError}
|
|
50405
|
+
* @memberof BillingDashboardApi
|
|
50406
|
+
*/
|
|
50407
|
+
adminBillingStoreQuotasPost(dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50408
|
+
/**
|
|
50409
|
+
* Deletes a per-store credit quota by UUID
|
|
50410
|
+
* @summary Delete store credit quota
|
|
50411
|
+
* @param {string} quotaUuid Quota UUID
|
|
50412
|
+
* @param {*} [options] Override http request option.
|
|
50413
|
+
* @throws {RequiredError}
|
|
50414
|
+
* @memberof BillingDashboardApi
|
|
50415
|
+
*/
|
|
50416
|
+
adminBillingStoreQuotasQuotaUuidDelete(quotaUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50417
|
+
/**
|
|
50418
|
+
* Returns a single store credit quota by UUID
|
|
50419
|
+
* @summary Get store credit quota
|
|
50420
|
+
* @param {string} quotaUuid Quota UUID
|
|
50421
|
+
* @param {*} [options] Override http request option.
|
|
50422
|
+
* @throws {RequiredError}
|
|
50423
|
+
* @memberof BillingDashboardApi
|
|
50424
|
+
*/
|
|
50425
|
+
adminBillingStoreQuotasQuotaUuidGet(quotaUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50426
|
+
/**
|
|
50427
|
+
* Updates an existing per-store credit quota
|
|
50428
|
+
* @summary Update store credit quota
|
|
50429
|
+
* @param {string} quotaUuid Quota UUID
|
|
50430
|
+
* @param {DataTypesStoreQuotaRequest} dataTypesStoreQuotaRequest Updated quota configuration
|
|
50431
|
+
* @param {*} [options] Override http request option.
|
|
50432
|
+
* @throws {RequiredError}
|
|
50433
|
+
* @memberof BillingDashboardApi
|
|
50434
|
+
*/
|
|
50435
|
+
adminBillingStoreQuotasQuotaUuidPut(quotaUuid: string, dataTypesStoreQuotaRequest: DataTypesStoreQuotaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50436
|
+
/**
|
|
50437
|
+
* Returns paginated usage summary for all stores in the organization
|
|
50438
|
+
* @summary Get all stores usage summary
|
|
50439
|
+
* @param {number} [page] Page number
|
|
50440
|
+
* @param {number} [perPage] Items per page
|
|
50441
|
+
* @param {*} [options] Override http request option.
|
|
50442
|
+
* @throws {RequiredError}
|
|
50443
|
+
* @memberof BillingDashboardApi
|
|
50444
|
+
*/
|
|
50445
|
+
adminBillingStoreUsageGet(page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50446
|
+
/**
|
|
50447
|
+
* Returns detailed usage breakdown for a single store
|
|
50448
|
+
* @summary Get single store usage detail
|
|
50449
|
+
* @param {string} xStoreId Store external ID
|
|
50450
|
+
* @param {*} [options] Override http request option.
|
|
50451
|
+
* @throws {RequiredError}
|
|
50452
|
+
* @memberof BillingDashboardApi
|
|
50453
|
+
*/
|
|
50454
|
+
adminBillingStoreUsageXStoreIdGet(xStoreId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
50090
50455
|
/**
|
|
50091
50456
|
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
50092
50457
|
* @summary Get usage details with granularity and pagination
|