@seekora-ai/admin-api 1.1.22 → 1.1.24
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 +3 -2
- package/api.ts +140 -56
- package/dist/api.d.ts +92 -52
- package/dist/api.js +134 -56
- package/dist/esm/api.d.ts +92 -52
- package/dist/esm/api.js +134 -56
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.24.tgz +0 -0
- package/seekora-ai-admin-api-1.1.22.tgz +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -28260,16 +28260,18 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
28260
28260
|
*/
|
|
28261
28261
|
export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28262
28262
|
/**
|
|
28263
|
-
*
|
|
28263
|
+
* 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.
|
|
28264
28264
|
* @summary Get billing alerts
|
|
28265
28265
|
* @param {number} [page] Page number (default: 1)
|
|
28266
28266
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
28267
|
-
* @param {number} [limit] Alternative
|
|
28268
|
-
* @param {number} [offset] Alternative
|
|
28267
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
28268
|
+
* @param {number} [offset] Alternative offset
|
|
28269
|
+
* @param {number} [storeId] Filter alerts by store
|
|
28270
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
28269
28271
|
* @param {*} [options] Override http request option.
|
|
28270
28272
|
* @throws {RequiredError}
|
|
28271
28273
|
*/
|
|
28272
|
-
adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28274
|
+
adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28273
28275
|
/**
|
|
28274
28276
|
* Deletes a billing alert configuration
|
|
28275
28277
|
* @summary Delete billing alert
|
|
@@ -28447,20 +28449,20 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
28447
28449
|
*/
|
|
28448
28450
|
adminBillingInvoicesInvoiceIdPayPost: (invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28449
28451
|
/**
|
|
28450
|
-
* Retrieves paginated
|
|
28452
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
28451
28453
|
* @summary Get orders
|
|
28452
28454
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
28453
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
28454
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
28455
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28456
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28455
28457
|
* @param {number} [page] Page number (default: 1)
|
|
28456
28458
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
28457
|
-
* @param {number} [limit] Alternative: Number of results
|
|
28458
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
28459
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
28460
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
28459
28461
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
28460
|
-
* @param {string} [search] Search
|
|
28461
|
-
* @param {string} [status] Filter by order status
|
|
28462
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
28463
|
-
* @param {string} [paymentType] Filter by payment type
|
|
28462
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
28463
|
+
* @param {string} [status] Filter by order status
|
|
28464
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
28465
|
+
* @param {string} [paymentType] Filter by payment type
|
|
28464
28466
|
* @param {*} [options] Override http request option.
|
|
28465
28467
|
* @throws {RequiredError}
|
|
28466
28468
|
*/
|
|
@@ -28598,16 +28600,18 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
28598
28600
|
*/
|
|
28599
28601
|
export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
28600
28602
|
/**
|
|
28601
|
-
*
|
|
28603
|
+
* 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.
|
|
28602
28604
|
* @summary Get billing alerts
|
|
28603
28605
|
* @param {number} [page] Page number (default: 1)
|
|
28604
28606
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
28605
|
-
* @param {number} [limit] Alternative
|
|
28606
|
-
* @param {number} [offset] Alternative
|
|
28607
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
28608
|
+
* @param {number} [offset] Alternative offset
|
|
28609
|
+
* @param {number} [storeId] Filter alerts by store
|
|
28610
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
28607
28611
|
* @param {*} [options] Override http request option.
|
|
28608
28612
|
* @throws {RequiredError}
|
|
28609
28613
|
*/
|
|
28610
|
-
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
28614
|
+
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
28611
28615
|
/**
|
|
28612
28616
|
* Deletes a billing alert configuration
|
|
28613
28617
|
* @summary Delete billing alert
|
|
@@ -28785,20 +28789,20 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
28785
28789
|
*/
|
|
28786
28790
|
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>>;
|
|
28787
28791
|
/**
|
|
28788
|
-
* Retrieves paginated
|
|
28792
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
28789
28793
|
* @summary Get orders
|
|
28790
28794
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
28791
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
28792
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
28795
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
28796
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
28793
28797
|
* @param {number} [page] Page number (default: 1)
|
|
28794
28798
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
28795
|
-
* @param {number} [limit] Alternative: Number of results
|
|
28796
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
28799
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
28800
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
28797
28801
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
28798
|
-
* @param {string} [search] Search
|
|
28799
|
-
* @param {string} [status] Filter by order status
|
|
28800
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
28801
|
-
* @param {string} [paymentType] Filter by payment type
|
|
28802
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
28803
|
+
* @param {string} [status] Filter by order status
|
|
28804
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
28805
|
+
* @param {string} [paymentType] Filter by payment type
|
|
28802
28806
|
* @param {*} [options] Override http request option.
|
|
28803
28807
|
* @throws {RequiredError}
|
|
28804
28808
|
*/
|
|
@@ -28936,16 +28940,18 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
28936
28940
|
*/
|
|
28937
28941
|
export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
28938
28942
|
/**
|
|
28939
|
-
*
|
|
28943
|
+
* 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.
|
|
28940
28944
|
* @summary Get billing alerts
|
|
28941
28945
|
* @param {number} [page] Page number (default: 1)
|
|
28942
28946
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
28943
|
-
* @param {number} [limit] Alternative
|
|
28944
|
-
* @param {number} [offset] Alternative
|
|
28947
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
28948
|
+
* @param {number} [offset] Alternative offset
|
|
28949
|
+
* @param {number} [storeId] Filter alerts by store
|
|
28950
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
28945
28951
|
* @param {*} [options] Override http request option.
|
|
28946
28952
|
* @throws {RequiredError}
|
|
28947
28953
|
*/
|
|
28948
|
-
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
28954
|
+
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
28949
28955
|
/**
|
|
28950
28956
|
* Deletes a billing alert configuration
|
|
28951
28957
|
* @summary Delete billing alert
|
|
@@ -29123,20 +29129,20 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
29123
29129
|
*/
|
|
29124
29130
|
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>;
|
|
29125
29131
|
/**
|
|
29126
|
-
* Retrieves paginated
|
|
29132
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
29127
29133
|
* @summary Get orders
|
|
29128
29134
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
29129
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
29130
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
29135
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
29136
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
29131
29137
|
* @param {number} [page] Page number (default: 1)
|
|
29132
29138
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
29133
|
-
* @param {number} [limit] Alternative: Number of results
|
|
29134
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
29139
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
29140
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
29135
29141
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
29136
|
-
* @param {string} [search] Search
|
|
29137
|
-
* @param {string} [status] Filter by order status
|
|
29138
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
29139
|
-
* @param {string} [paymentType] Filter by payment type
|
|
29142
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
29143
|
+
* @param {string} [status] Filter by order status
|
|
29144
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
29145
|
+
* @param {string} [paymentType] Filter by payment type
|
|
29140
29146
|
* @param {*} [options] Override http request option.
|
|
29141
29147
|
* @throws {RequiredError}
|
|
29142
29148
|
*/
|
|
@@ -29276,17 +29282,19 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
29276
29282
|
*/
|
|
29277
29283
|
export declare class BillingDashboardApi extends BaseAPI {
|
|
29278
29284
|
/**
|
|
29279
|
-
*
|
|
29285
|
+
* 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.
|
|
29280
29286
|
* @summary Get billing alerts
|
|
29281
29287
|
* @param {number} [page] Page number (default: 1)
|
|
29282
29288
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
29283
|
-
* @param {number} [limit] Alternative
|
|
29284
|
-
* @param {number} [offset] Alternative
|
|
29289
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
29290
|
+
* @param {number} [offset] Alternative offset
|
|
29291
|
+
* @param {number} [storeId] Filter alerts by store
|
|
29292
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
29285
29293
|
* @param {*} [options] Override http request option.
|
|
29286
29294
|
* @throws {RequiredError}
|
|
29287
29295
|
* @memberof BillingDashboardApi
|
|
29288
29296
|
*/
|
|
29289
|
-
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
29297
|
+
adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
29290
29298
|
/**
|
|
29291
29299
|
* Deletes a billing alert configuration
|
|
29292
29300
|
* @summary Delete billing alert
|
|
@@ -29481,20 +29489,20 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
29481
29489
|
*/
|
|
29482
29490
|
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesPayInvoiceResponse, any, {}>>;
|
|
29483
29491
|
/**
|
|
29484
|
-
* Retrieves paginated
|
|
29492
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
29485
29493
|
* @summary Get orders
|
|
29486
29494
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
29487
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
29488
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
29495
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
29496
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
29489
29497
|
* @param {number} [page] Page number (default: 1)
|
|
29490
29498
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
29491
|
-
* @param {number} [limit] Alternative: Number of results
|
|
29492
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
29499
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
29500
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
29493
29501
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
29494
|
-
* @param {string} [search] Search
|
|
29495
|
-
* @param {string} [status] Filter by order status
|
|
29496
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
29497
|
-
* @param {string} [paymentType] Filter by payment type
|
|
29502
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
29503
|
+
* @param {string} [status] Filter by order status
|
|
29504
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
29505
|
+
* @param {string} [paymentType] Filter by payment type
|
|
29498
29506
|
* @param {*} [options] Override http request option.
|
|
29499
29507
|
* @throws {RequiredError}
|
|
29500
29508
|
* @memberof BillingDashboardApi
|
|
@@ -29735,6 +29743,9 @@ export declare const AdminBillingOrdersGetSortByEnum: {
|
|
|
29735
29743
|
readonly CreatedAt: "created_at";
|
|
29736
29744
|
readonly UpdatedAt: "updated_at";
|
|
29737
29745
|
readonly Status: "status";
|
|
29746
|
+
readonly OrgId: "org_id";
|
|
29747
|
+
readonly UserId: "user_id";
|
|
29748
|
+
readonly Gateway: "gateway";
|
|
29738
29749
|
};
|
|
29739
29750
|
export type AdminBillingOrdersGetSortByEnum = typeof AdminBillingOrdersGetSortByEnum[keyof typeof AdminBillingOrdersGetSortByEnum];
|
|
29740
29751
|
/**
|
|
@@ -31633,6 +31644,13 @@ export declare const FeatureLimitsAdminApiAxiosParamCreator: (configuration?: Co
|
|
|
31633
31644
|
* @throws {RequiredError}
|
|
31634
31645
|
*/
|
|
31635
31646
|
adminFeatureLimitsCacheInvalidatePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31647
|
+
/**
|
|
31648
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31649
|
+
* @summary Sync all metrics (Admin)
|
|
31650
|
+
* @param {*} [options] Override http request option.
|
|
31651
|
+
* @throws {RequiredError}
|
|
31652
|
+
*/
|
|
31653
|
+
adminFeatureLimitsMetricsSyncPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31636
31654
|
/**
|
|
31637
31655
|
* Resets usage counter for a specific feature (admin only)
|
|
31638
31656
|
* @summary Reset feature usage (Admin)
|
|
@@ -31654,6 +31672,13 @@ export declare const FeatureLimitsAdminApiFp: (configuration?: Configuration) =>
|
|
|
31654
31672
|
* @throws {RequiredError}
|
|
31655
31673
|
*/
|
|
31656
31674
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31675
|
+
/**
|
|
31676
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31677
|
+
* @summary Sync all metrics (Admin)
|
|
31678
|
+
* @param {*} [options] Override http request option.
|
|
31679
|
+
* @throws {RequiredError}
|
|
31680
|
+
*/
|
|
31681
|
+
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31657
31682
|
/**
|
|
31658
31683
|
* Resets usage counter for a specific feature (admin only)
|
|
31659
31684
|
* @summary Reset feature usage (Admin)
|
|
@@ -31675,6 +31700,13 @@ export declare const FeatureLimitsAdminApiFactory: (configuration?: Configuratio
|
|
|
31675
31700
|
* @throws {RequiredError}
|
|
31676
31701
|
*/
|
|
31677
31702
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31703
|
+
/**
|
|
31704
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31705
|
+
* @summary Sync all metrics (Admin)
|
|
31706
|
+
* @param {*} [options] Override http request option.
|
|
31707
|
+
* @throws {RequiredError}
|
|
31708
|
+
*/
|
|
31709
|
+
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31678
31710
|
/**
|
|
31679
31711
|
* Resets usage counter for a specific feature (admin only)
|
|
31680
31712
|
* @summary Reset feature usage (Admin)
|
|
@@ -31699,6 +31731,14 @@ export declare class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
31699
31731
|
* @memberof FeatureLimitsAdminApi
|
|
31700
31732
|
*/
|
|
31701
31733
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31734
|
+
/**
|
|
31735
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31736
|
+
* @summary Sync all metrics (Admin)
|
|
31737
|
+
* @param {*} [options] Override http request option.
|
|
31738
|
+
* @throws {RequiredError}
|
|
31739
|
+
* @memberof FeatureLimitsAdminApi
|
|
31740
|
+
*/
|
|
31741
|
+
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31702
31742
|
/**
|
|
31703
31743
|
* Resets usage counter for a specific feature (admin only)
|
|
31704
31744
|
* @summary Reset feature usage (Admin)
|
package/dist/esm/api.js
CHANGED
|
@@ -8608,16 +8608,18 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
8608
8608
|
export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
8609
8609
|
return {
|
|
8610
8610
|
/**
|
|
8611
|
-
*
|
|
8611
|
+
* 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.
|
|
8612
8612
|
* @summary Get billing alerts
|
|
8613
8613
|
* @param {number} [page] Page number (default: 1)
|
|
8614
8614
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8615
|
-
* @param {number} [limit] Alternative
|
|
8616
|
-
* @param {number} [offset] Alternative
|
|
8615
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
8616
|
+
* @param {number} [offset] Alternative offset
|
|
8617
|
+
* @param {number} [storeId] Filter alerts by store
|
|
8618
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
8617
8619
|
* @param {*} [options] Override http request option.
|
|
8618
8620
|
* @throws {RequiredError}
|
|
8619
8621
|
*/
|
|
8620
|
-
adminBillingAlertsGet: (page_1, pageSize_1, limit_1, offset_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, limit_1, offset_1, ...args_1], void 0, function* (page, pageSize, limit, offset, options = {}) {
|
|
8622
|
+
adminBillingAlertsGet: (page_1, pageSize_1, limit_1, offset_1, storeId_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, limit_1, offset_1, storeId_1, search_1, ...args_1], void 0, function* (page, pageSize, limit, offset, storeId, search, options = {}) {
|
|
8621
8623
|
const localVarPath = `/admin/billing/alerts`;
|
|
8622
8624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8623
8625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8642,6 +8644,12 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
8642
8644
|
if (offset !== undefined) {
|
|
8643
8645
|
localVarQueryParameter['offset'] = offset;
|
|
8644
8646
|
}
|
|
8647
|
+
if (storeId !== undefined) {
|
|
8648
|
+
localVarQueryParameter['store_id'] = storeId;
|
|
8649
|
+
}
|
|
8650
|
+
if (search !== undefined) {
|
|
8651
|
+
localVarQueryParameter['search'] = search;
|
|
8652
|
+
}
|
|
8645
8653
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8646
8654
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8647
8655
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9340,20 +9348,20 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
9340
9348
|
};
|
|
9341
9349
|
}),
|
|
9342
9350
|
/**
|
|
9343
|
-
* Retrieves paginated
|
|
9351
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
9344
9352
|
* @summary Get orders
|
|
9345
9353
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
9346
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
9347
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
9354
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
9355
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
9348
9356
|
* @param {number} [page] Page number (default: 1)
|
|
9349
9357
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9350
|
-
* @param {number} [limit] Alternative: Number of results
|
|
9351
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
9358
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
9359
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
9352
9360
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
9353
|
-
* @param {string} [search] Search
|
|
9354
|
-
* @param {string} [status] Filter by order status
|
|
9355
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
9356
|
-
* @param {string} [paymentType] Filter by payment type
|
|
9361
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
9362
|
+
* @param {string} [status] Filter by order status
|
|
9363
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
9364
|
+
* @param {string} [paymentType] Filter by payment type
|
|
9357
9365
|
* @param {*} [options] Override http request option.
|
|
9358
9366
|
* @throws {RequiredError}
|
|
9359
9367
|
*/
|
|
@@ -9915,19 +9923,21 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
9915
9923
|
const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration);
|
|
9916
9924
|
return {
|
|
9917
9925
|
/**
|
|
9918
|
-
*
|
|
9926
|
+
* 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.
|
|
9919
9927
|
* @summary Get billing alerts
|
|
9920
9928
|
* @param {number} [page] Page number (default: 1)
|
|
9921
9929
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9922
|
-
* @param {number} [limit] Alternative
|
|
9923
|
-
* @param {number} [offset] Alternative
|
|
9930
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
9931
|
+
* @param {number} [offset] Alternative offset
|
|
9932
|
+
* @param {number} [storeId] Filter alerts by store
|
|
9933
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
9924
9934
|
* @param {*} [options] Override http request option.
|
|
9925
9935
|
* @throws {RequiredError}
|
|
9926
9936
|
*/
|
|
9927
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
9937
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
9928
9938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9929
9939
|
var _a, _b, _c;
|
|
9930
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
|
|
9940
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options);
|
|
9931
9941
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9932
9942
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9933
9943
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10246,20 +10256,20 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
10246
10256
|
});
|
|
10247
10257
|
},
|
|
10248
10258
|
/**
|
|
10249
|
-
* Retrieves paginated
|
|
10259
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
10250
10260
|
* @summary Get orders
|
|
10251
10261
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
10252
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
10253
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
10262
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
10263
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
10254
10264
|
* @param {number} [page] Page number (default: 1)
|
|
10255
10265
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10256
|
-
* @param {number} [limit] Alternative: Number of results
|
|
10257
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
10266
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
10267
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
10258
10268
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
10259
|
-
* @param {string} [search] Search
|
|
10260
|
-
* @param {string} [status] Filter by order status
|
|
10261
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
10262
|
-
* @param {string} [paymentType] Filter by payment type
|
|
10269
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
10270
|
+
* @param {string} [status] Filter by order status
|
|
10271
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
10272
|
+
* @param {string} [paymentType] Filter by payment type
|
|
10263
10273
|
* @param {*} [options] Override http request option.
|
|
10264
10274
|
* @throws {RequiredError}
|
|
10265
10275
|
*/
|
|
@@ -10512,17 +10522,19 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
10512
10522
|
const localVarFp = BillingDashboardApiFp(configuration);
|
|
10513
10523
|
return {
|
|
10514
10524
|
/**
|
|
10515
|
-
*
|
|
10525
|
+
* 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.
|
|
10516
10526
|
* @summary Get billing alerts
|
|
10517
10527
|
* @param {number} [page] Page number (default: 1)
|
|
10518
10528
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10519
|
-
* @param {number} [limit] Alternative
|
|
10520
|
-
* @param {number} [offset] Alternative
|
|
10529
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
10530
|
+
* @param {number} [offset] Alternative offset
|
|
10531
|
+
* @param {number} [storeId] Filter alerts by store
|
|
10532
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
10521
10533
|
* @param {*} [options] Override http request option.
|
|
10522
10534
|
* @throws {RequiredError}
|
|
10523
10535
|
*/
|
|
10524
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
10525
|
-
return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
|
|
10536
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
10537
|
+
return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(axios, basePath));
|
|
10526
10538
|
},
|
|
10527
10539
|
/**
|
|
10528
10540
|
* Deletes a billing alert configuration
|
|
@@ -10735,20 +10747,20 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
10735
10747
|
return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
10736
10748
|
},
|
|
10737
10749
|
/**
|
|
10738
|
-
* Retrieves paginated
|
|
10750
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
10739
10751
|
* @summary Get orders
|
|
10740
10752
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
10741
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
10742
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
10753
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
10754
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
10743
10755
|
* @param {number} [page] Page number (default: 1)
|
|
10744
10756
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10745
|
-
* @param {number} [limit] Alternative: Number of results
|
|
10746
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
10757
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
10758
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
10747
10759
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
10748
|
-
* @param {string} [search] Search
|
|
10749
|
-
* @param {string} [status] Filter by order status
|
|
10750
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
10751
|
-
* @param {string} [paymentType] Filter by payment type
|
|
10760
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
10761
|
+
* @param {string} [status] Filter by order status
|
|
10762
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
10763
|
+
* @param {string} [paymentType] Filter by payment type
|
|
10752
10764
|
* @param {*} [options] Override http request option.
|
|
10753
10765
|
* @throws {RequiredError}
|
|
10754
10766
|
*/
|
|
@@ -10917,18 +10929,20 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
10917
10929
|
*/
|
|
10918
10930
|
export class BillingDashboardApi extends BaseAPI {
|
|
10919
10931
|
/**
|
|
10920
|
-
*
|
|
10932
|
+
* 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.
|
|
10921
10933
|
* @summary Get billing alerts
|
|
10922
10934
|
* @param {number} [page] Page number (default: 1)
|
|
10923
10935
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10924
|
-
* @param {number} [limit] Alternative
|
|
10925
|
-
* @param {number} [offset] Alternative
|
|
10936
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
10937
|
+
* @param {number} [offset] Alternative offset
|
|
10938
|
+
* @param {number} [storeId] Filter alerts by store
|
|
10939
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
10926
10940
|
* @param {*} [options] Override http request option.
|
|
10927
10941
|
* @throws {RequiredError}
|
|
10928
10942
|
* @memberof BillingDashboardApi
|
|
10929
10943
|
*/
|
|
10930
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
10931
|
-
return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
10944
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
10945
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(this.axios, this.basePath));
|
|
10932
10946
|
}
|
|
10933
10947
|
/**
|
|
10934
10948
|
* Deletes a billing alert configuration
|
|
@@ -11158,20 +11172,20 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
11158
11172
|
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11159
11173
|
}
|
|
11160
11174
|
/**
|
|
11161
|
-
* Retrieves paginated
|
|
11175
|
+
* Retrieves paginated orders with full filtering, sorting, and search. The `search` field performs case-insensitive matching across: order ID, amount, status, payment type, gateway, currency, gateway order/payment IDs, organization name, and user name.
|
|
11162
11176
|
* @summary Get orders
|
|
11163
11177
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
11164
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
11165
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
11178
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
11179
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
11166
11180
|
* @param {number} [page] Page number (default: 1)
|
|
11167
11181
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
11168
|
-
* @param {number} [limit] Alternative: Number of results
|
|
11169
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
11182
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
11183
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
11170
11184
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
11171
|
-
* @param {string} [search] Search
|
|
11172
|
-
* @param {string} [status] Filter by order status
|
|
11173
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
11174
|
-
* @param {string} [paymentType] Filter by payment type
|
|
11185
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
11186
|
+
* @param {string} [status] Filter by order status
|
|
11187
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
11188
|
+
* @param {string} [paymentType] Filter by payment type
|
|
11175
11189
|
* @param {*} [options] Override http request option.
|
|
11176
11190
|
* @throws {RequiredError}
|
|
11177
11191
|
* @memberof BillingDashboardApi
|
|
@@ -11431,7 +11445,10 @@ export const AdminBillingOrdersGetSortByEnum = {
|
|
|
11431
11445
|
Amount: 'amount',
|
|
11432
11446
|
CreatedAt: 'created_at',
|
|
11433
11447
|
UpdatedAt: 'updated_at',
|
|
11434
|
-
Status: 'status'
|
|
11448
|
+
Status: 'status',
|
|
11449
|
+
OrgId: 'org_id',
|
|
11450
|
+
UserId: 'user_id',
|
|
11451
|
+
Gateway: 'gateway'
|
|
11435
11452
|
};
|
|
11436
11453
|
/**
|
|
11437
11454
|
* @export
|
|
@@ -14967,6 +14984,33 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
14967
14984
|
options: localVarRequestOptions,
|
|
14968
14985
|
};
|
|
14969
14986
|
}),
|
|
14987
|
+
/**
|
|
14988
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
14989
|
+
* @summary Sync all metrics (Admin)
|
|
14990
|
+
* @param {*} [options] Override http request option.
|
|
14991
|
+
* @throws {RequiredError}
|
|
14992
|
+
*/
|
|
14993
|
+
adminFeatureLimitsMetricsSyncPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14994
|
+
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
14995
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14996
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14997
|
+
let baseOptions;
|
|
14998
|
+
if (configuration) {
|
|
14999
|
+
baseOptions = configuration.baseOptions;
|
|
15000
|
+
}
|
|
15001
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
15002
|
+
const localVarHeaderParameter = {};
|
|
15003
|
+
const localVarQueryParameter = {};
|
|
15004
|
+
// authentication BearerAuth required
|
|
15005
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
15006
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15008
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15009
|
+
return {
|
|
15010
|
+
url: toPathString(localVarUrlObj),
|
|
15011
|
+
options: localVarRequestOptions,
|
|
15012
|
+
};
|
|
15013
|
+
}),
|
|
14970
15014
|
/**
|
|
14971
15015
|
* Resets usage counter for a specific feature (admin only)
|
|
14972
15016
|
* @summary Reset feature usage (Admin)
|
|
@@ -15024,6 +15068,21 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
15024
15068
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15025
15069
|
});
|
|
15026
15070
|
},
|
|
15071
|
+
/**
|
|
15072
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15073
|
+
* @summary Sync all metrics (Admin)
|
|
15074
|
+
* @param {*} [options] Override http request option.
|
|
15075
|
+
* @throws {RequiredError}
|
|
15076
|
+
*/
|
|
15077
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15078
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15079
|
+
var _a, _b, _c;
|
|
15080
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(options);
|
|
15081
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15082
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15083
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15084
|
+
});
|
|
15085
|
+
},
|
|
15027
15086
|
/**
|
|
15028
15087
|
* Resets usage counter for a specific feature (admin only)
|
|
15029
15088
|
* @summary Reset feature usage (Admin)
|
|
@@ -15058,6 +15117,15 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
15058
15117
|
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
15059
15118
|
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
15060
15119
|
},
|
|
15120
|
+
/**
|
|
15121
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15122
|
+
* @summary Sync all metrics (Admin)
|
|
15123
|
+
* @param {*} [options] Override http request option.
|
|
15124
|
+
* @throws {RequiredError}
|
|
15125
|
+
*/
|
|
15126
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15127
|
+
return localVarFp.adminFeatureLimitsMetricsSyncPost(options).then((request) => request(axios, basePath));
|
|
15128
|
+
},
|
|
15061
15129
|
/**
|
|
15062
15130
|
* Resets usage counter for a specific feature (admin only)
|
|
15063
15131
|
* @summary Reset feature usage (Admin)
|
|
@@ -15087,6 +15155,16 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
15087
15155
|
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
15088
15156
|
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
15089
15157
|
}
|
|
15158
|
+
/**
|
|
15159
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15160
|
+
* @summary Sync all metrics (Admin)
|
|
15161
|
+
* @param {*} [options] Override http request option.
|
|
15162
|
+
* @throws {RequiredError}
|
|
15163
|
+
* @memberof FeatureLimitsAdminApi
|
|
15164
|
+
*/
|
|
15165
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15166
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsMetricsSyncPost(options).then((request) => request(this.axios, this.basePath));
|
|
15167
|
+
}
|
|
15090
15168
|
/**
|
|
15091
15169
|
* Resets usage counter for a specific feature (admin only)
|
|
15092
15170
|
* @summary Reset feature usage (Admin)
|