@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/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/api.js
CHANGED
|
@@ -8657,16 +8657,18 @@ exports.AutomatedRefundManagementApi = AutomatedRefundManagementApi;
|
|
|
8657
8657
|
const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
8658
8658
|
return {
|
|
8659
8659
|
/**
|
|
8660
|
-
*
|
|
8660
|
+
* 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.
|
|
8661
8661
|
* @summary Get billing alerts
|
|
8662
8662
|
* @param {number} [page] Page number (default: 1)
|
|
8663
8663
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8664
|
-
* @param {number} [limit] Alternative
|
|
8665
|
-
* @param {number} [offset] Alternative
|
|
8664
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
8665
|
+
* @param {number} [offset] Alternative offset
|
|
8666
|
+
* @param {number} [storeId] Filter alerts by store
|
|
8667
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
8666
8668
|
* @param {*} [options] Override http request option.
|
|
8667
8669
|
* @throws {RequiredError}
|
|
8668
8670
|
*/
|
|
8669
|
-
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 = {}) {
|
|
8671
|
+
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 = {}) {
|
|
8670
8672
|
const localVarPath = `/admin/billing/alerts`;
|
|
8671
8673
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8672
8674
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8691,6 +8693,12 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
8691
8693
|
if (offset !== undefined) {
|
|
8692
8694
|
localVarQueryParameter['offset'] = offset;
|
|
8693
8695
|
}
|
|
8696
|
+
if (storeId !== undefined) {
|
|
8697
|
+
localVarQueryParameter['store_id'] = storeId;
|
|
8698
|
+
}
|
|
8699
|
+
if (search !== undefined) {
|
|
8700
|
+
localVarQueryParameter['search'] = search;
|
|
8701
|
+
}
|
|
8694
8702
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8695
8703
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8696
8704
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9389,20 +9397,20 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
9389
9397
|
};
|
|
9390
9398
|
}),
|
|
9391
9399
|
/**
|
|
9392
|
-
* Retrieves paginated
|
|
9400
|
+
* 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.
|
|
9393
9401
|
* @summary Get orders
|
|
9394
9402
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
9395
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
9396
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
9403
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
9404
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
9397
9405
|
* @param {number} [page] Page number (default: 1)
|
|
9398
9406
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9399
|
-
* @param {number} [limit] Alternative: Number of results
|
|
9400
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
9407
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
9408
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
9401
9409
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
9402
|
-
* @param {string} [search] Search
|
|
9403
|
-
* @param {string} [status] Filter by order status
|
|
9404
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
9405
|
-
* @param {string} [paymentType] Filter by payment type
|
|
9410
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
9411
|
+
* @param {string} [status] Filter by order status
|
|
9412
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
9413
|
+
* @param {string} [paymentType] Filter by payment type
|
|
9406
9414
|
* @param {*} [options] Override http request option.
|
|
9407
9415
|
* @throws {RequiredError}
|
|
9408
9416
|
*/
|
|
@@ -9965,19 +9973,21 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
9965
9973
|
const localVarAxiosParamCreator = (0, exports.BillingDashboardApiAxiosParamCreator)(configuration);
|
|
9966
9974
|
return {
|
|
9967
9975
|
/**
|
|
9968
|
-
*
|
|
9976
|
+
* 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.
|
|
9969
9977
|
* @summary Get billing alerts
|
|
9970
9978
|
* @param {number} [page] Page number (default: 1)
|
|
9971
9979
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9972
|
-
* @param {number} [limit] Alternative
|
|
9973
|
-
* @param {number} [offset] Alternative
|
|
9980
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
9981
|
+
* @param {number} [offset] Alternative offset
|
|
9982
|
+
* @param {number} [storeId] Filter alerts by store
|
|
9983
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
9974
9984
|
* @param {*} [options] Override http request option.
|
|
9975
9985
|
* @throws {RequiredError}
|
|
9976
9986
|
*/
|
|
9977
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
9987
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
9978
9988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9979
9989
|
var _a, _b, _c;
|
|
9980
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
|
|
9990
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options);
|
|
9981
9991
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9982
9992
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingAlertsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9983
9993
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10296,20 +10306,20 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
10296
10306
|
});
|
|
10297
10307
|
},
|
|
10298
10308
|
/**
|
|
10299
|
-
* Retrieves paginated
|
|
10309
|
+
* 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.
|
|
10300
10310
|
* @summary Get orders
|
|
10301
10311
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
10302
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
10303
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
10312
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
10313
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
10304
10314
|
* @param {number} [page] Page number (default: 1)
|
|
10305
10315
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10306
|
-
* @param {number} [limit] Alternative: Number of results
|
|
10307
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
10316
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
10317
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
10308
10318
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
10309
|
-
* @param {string} [search] Search
|
|
10310
|
-
* @param {string} [status] Filter by order status
|
|
10311
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
10312
|
-
* @param {string} [paymentType] Filter by payment type
|
|
10319
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
10320
|
+
* @param {string} [status] Filter by order status
|
|
10321
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
10322
|
+
* @param {string} [paymentType] Filter by payment type
|
|
10313
10323
|
* @param {*} [options] Override http request option.
|
|
10314
10324
|
* @throws {RequiredError}
|
|
10315
10325
|
*/
|
|
@@ -10563,17 +10573,19 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
10563
10573
|
const localVarFp = (0, exports.BillingDashboardApiFp)(configuration);
|
|
10564
10574
|
return {
|
|
10565
10575
|
/**
|
|
10566
|
-
*
|
|
10576
|
+
* 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.
|
|
10567
10577
|
* @summary Get billing alerts
|
|
10568
10578
|
* @param {number} [page] Page number (default: 1)
|
|
10569
10579
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10570
|
-
* @param {number} [limit] Alternative
|
|
10571
|
-
* @param {number} [offset] Alternative
|
|
10580
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
10581
|
+
* @param {number} [offset] Alternative offset
|
|
10582
|
+
* @param {number} [storeId] Filter alerts by store
|
|
10583
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
10572
10584
|
* @param {*} [options] Override http request option.
|
|
10573
10585
|
* @throws {RequiredError}
|
|
10574
10586
|
*/
|
|
10575
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
10576
|
-
return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
|
|
10587
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
10588
|
+
return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(axios, basePath));
|
|
10577
10589
|
},
|
|
10578
10590
|
/**
|
|
10579
10591
|
* Deletes a billing alert configuration
|
|
@@ -10786,20 +10798,20 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
10786
10798
|
return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
10787
10799
|
},
|
|
10788
10800
|
/**
|
|
10789
|
-
* Retrieves paginated
|
|
10801
|
+
* 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.
|
|
10790
10802
|
* @summary Get orders
|
|
10791
10803
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
10792
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
10793
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
10804
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
10805
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
10794
10806
|
* @param {number} [page] Page number (default: 1)
|
|
10795
10807
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10796
|
-
* @param {number} [limit] Alternative: Number of results
|
|
10797
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
10808
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
10809
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
10798
10810
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
10799
|
-
* @param {string} [search] Search
|
|
10800
|
-
* @param {string} [status] Filter by order status
|
|
10801
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
10802
|
-
* @param {string} [paymentType] Filter by payment type
|
|
10811
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
10812
|
+
* @param {string} [status] Filter by order status
|
|
10813
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
10814
|
+
* @param {string} [paymentType] Filter by payment type
|
|
10803
10815
|
* @param {*} [options] Override http request option.
|
|
10804
10816
|
* @throws {RequiredError}
|
|
10805
10817
|
*/
|
|
@@ -10969,18 +10981,20 @@ exports.BillingDashboardApiFactory = BillingDashboardApiFactory;
|
|
|
10969
10981
|
*/
|
|
10970
10982
|
class BillingDashboardApi extends base_1.BaseAPI {
|
|
10971
10983
|
/**
|
|
10972
|
-
*
|
|
10984
|
+
* 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.
|
|
10973
10985
|
* @summary Get billing alerts
|
|
10974
10986
|
* @param {number} [page] Page number (default: 1)
|
|
10975
10987
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10976
|
-
* @param {number} [limit] Alternative
|
|
10977
|
-
* @param {number} [offset] Alternative
|
|
10988
|
+
* @param {number} [limit] Alternative limit (default: 50, max: 100)
|
|
10989
|
+
* @param {number} [offset] Alternative offset
|
|
10990
|
+
* @param {number} [storeId] Filter alerts by store
|
|
10991
|
+
* @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
|
|
10978
10992
|
* @param {*} [options] Override http request option.
|
|
10979
10993
|
* @throws {RequiredError}
|
|
10980
10994
|
* @memberof BillingDashboardApi
|
|
10981
10995
|
*/
|
|
10982
|
-
adminBillingAlertsGet(page, pageSize, limit, offset, options) {
|
|
10983
|
-
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
10996
|
+
adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options) {
|
|
10997
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(this.axios, this.basePath));
|
|
10984
10998
|
}
|
|
10985
10999
|
/**
|
|
10986
11000
|
* Deletes a billing alert configuration
|
|
@@ -11210,20 +11224,20 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
11210
11224
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11211
11225
|
}
|
|
11212
11226
|
/**
|
|
11213
|
-
* Retrieves paginated
|
|
11227
|
+
* 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.
|
|
11214
11228
|
* @summary Get orders
|
|
11215
11229
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
11216
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD
|
|
11217
|
-
* @param {string} [endDate] End date (YYYY-MM-DD
|
|
11230
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
11231
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
11218
11232
|
* @param {number} [page] Page number (default: 1)
|
|
11219
11233
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
11220
|
-
* @param {number} [limit] Alternative: Number of results
|
|
11221
|
-
* @param {AdminBillingOrdersGetSortByEnum} [sortBy]
|
|
11234
|
+
* @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
|
|
11235
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
|
|
11222
11236
|
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
11223
|
-
* @param {string} [search] Search
|
|
11224
|
-
* @param {string} [status] Filter by order status
|
|
11225
|
-
* @param {string} [gateway] Filter by payment gateway
|
|
11226
|
-
* @param {string} [paymentType] Filter by payment type
|
|
11237
|
+
* @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
|
|
11238
|
+
* @param {string} [status] Filter by order status
|
|
11239
|
+
* @param {string} [gateway] Filter by payment gateway
|
|
11240
|
+
* @param {string} [paymentType] Filter by payment type
|
|
11227
11241
|
* @param {*} [options] Override http request option.
|
|
11228
11242
|
* @throws {RequiredError}
|
|
11229
11243
|
* @memberof BillingDashboardApi
|
|
@@ -11484,7 +11498,10 @@ exports.AdminBillingOrdersGetSortByEnum = {
|
|
|
11484
11498
|
Amount: 'amount',
|
|
11485
11499
|
CreatedAt: 'created_at',
|
|
11486
11500
|
UpdatedAt: 'updated_at',
|
|
11487
|
-
Status: 'status'
|
|
11501
|
+
Status: 'status',
|
|
11502
|
+
OrgId: 'org_id',
|
|
11503
|
+
UserId: 'user_id',
|
|
11504
|
+
Gateway: 'gateway'
|
|
11488
11505
|
};
|
|
11489
11506
|
/**
|
|
11490
11507
|
* @export
|
|
@@ -15056,6 +15073,33 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
15056
15073
|
options: localVarRequestOptions,
|
|
15057
15074
|
};
|
|
15058
15075
|
}),
|
|
15076
|
+
/**
|
|
15077
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15078
|
+
* @summary Sync all metrics (Admin)
|
|
15079
|
+
* @param {*} [options] Override http request option.
|
|
15080
|
+
* @throws {RequiredError}
|
|
15081
|
+
*/
|
|
15082
|
+
adminFeatureLimitsMetricsSyncPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15083
|
+
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
15084
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15085
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15086
|
+
let baseOptions;
|
|
15087
|
+
if (configuration) {
|
|
15088
|
+
baseOptions = configuration.baseOptions;
|
|
15089
|
+
}
|
|
15090
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
15091
|
+
const localVarHeaderParameter = {};
|
|
15092
|
+
const localVarQueryParameter = {};
|
|
15093
|
+
// authentication BearerAuth required
|
|
15094
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15095
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15096
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15097
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15098
|
+
return {
|
|
15099
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15100
|
+
options: localVarRequestOptions,
|
|
15101
|
+
};
|
|
15102
|
+
}),
|
|
15059
15103
|
/**
|
|
15060
15104
|
* Resets usage counter for a specific feature (admin only)
|
|
15061
15105
|
* @summary Reset feature usage (Admin)
|
|
@@ -15114,6 +15158,21 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
15114
15158
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15115
15159
|
});
|
|
15116
15160
|
},
|
|
15161
|
+
/**
|
|
15162
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15163
|
+
* @summary Sync all metrics (Admin)
|
|
15164
|
+
* @param {*} [options] Override http request option.
|
|
15165
|
+
* @throws {RequiredError}
|
|
15166
|
+
*/
|
|
15167
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15169
|
+
var _a, _b, _c;
|
|
15170
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(options);
|
|
15171
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15172
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15173
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15174
|
+
});
|
|
15175
|
+
},
|
|
15117
15176
|
/**
|
|
15118
15177
|
* Resets usage counter for a specific feature (admin only)
|
|
15119
15178
|
* @summary Reset feature usage (Admin)
|
|
@@ -15149,6 +15208,15 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
15149
15208
|
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
15150
15209
|
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
15151
15210
|
},
|
|
15211
|
+
/**
|
|
15212
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15213
|
+
* @summary Sync all metrics (Admin)
|
|
15214
|
+
* @param {*} [options] Override http request option.
|
|
15215
|
+
* @throws {RequiredError}
|
|
15216
|
+
*/
|
|
15217
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15218
|
+
return localVarFp.adminFeatureLimitsMetricsSyncPost(options).then((request) => request(axios, basePath));
|
|
15219
|
+
},
|
|
15152
15220
|
/**
|
|
15153
15221
|
* Resets usage counter for a specific feature (admin only)
|
|
15154
15222
|
* @summary Reset feature usage (Admin)
|
|
@@ -15179,6 +15247,16 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
15179
15247
|
adminFeatureLimitsCacheInvalidatePost(options) {
|
|
15180
15248
|
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
15181
15249
|
}
|
|
15250
|
+
/**
|
|
15251
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15252
|
+
* @summary Sync all metrics (Admin)
|
|
15253
|
+
* @param {*} [options] Override http request option.
|
|
15254
|
+
* @throws {RequiredError}
|
|
15255
|
+
* @memberof FeatureLimitsAdminApi
|
|
15256
|
+
*/
|
|
15257
|
+
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15258
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsMetricsSyncPost(options).then((request) => request(this.axios, this.basePath));
|
|
15259
|
+
}
|
|
15182
15260
|
/**
|
|
15183
15261
|
* Resets usage counter for a specific feature (admin only)
|
|
15184
15262
|
* @summary Reset feature usage (Admin)
|