@seekora-ai/admin-api 1.1.23 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @seekora-ai/admin-api@1.1.23
1
+ ## @seekora-ai/admin-api@1.1.24
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @seekora-ai/admin-api@1.1.23 --save
39
+ npm install @seekora-ai/admin-api@1.1.24 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -32751,16 +32751,18 @@ export class AutomatedRefundManagementApi extends BaseAPI {
32751
32751
  export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
32752
32752
  return {
32753
32753
  /**
32754
- * Returns paginated billing alerts configured for the organization
32754
+ * 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.
32755
32755
  * @summary Get billing alerts
32756
32756
  * @param {number} [page] Page number (default: 1)
32757
32757
  * @param {number} [pageSize] Page size (default: 50, max: 100)
32758
- * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
32759
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
32758
+ * @param {number} [limit] Alternative limit (default: 50, max: 100)
32759
+ * @param {number} [offset] Alternative offset
32760
+ * @param {number} [storeId] Filter alerts by store
32761
+ * @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
32760
32762
  * @param {*} [options] Override http request option.
32761
32763
  * @throws {RequiredError}
32762
32764
  */
32763
- adminBillingAlertsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32765
+ adminBillingAlertsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32764
32766
  const localVarPath = `/admin/billing/alerts`;
32765
32767
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32766
32768
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -32792,6 +32794,14 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
32792
32794
  localVarQueryParameter['offset'] = offset;
32793
32795
  }
32794
32796
 
32797
+ if (storeId !== undefined) {
32798
+ localVarQueryParameter['store_id'] = storeId;
32799
+ }
32800
+
32801
+ if (search !== undefined) {
32802
+ localVarQueryParameter['search'] = search;
32803
+ }
32804
+
32795
32805
 
32796
32806
 
32797
32807
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33643,20 +33653,20 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
33643
33653
  };
33644
33654
  },
33645
33655
  /**
33646
- * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
33656
+ * 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.
33647
33657
  * @summary Get orders
33648
33658
  * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
33649
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
33650
- * @param {string} [endDate] End date (YYYY-MM-DD format)
33659
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
33660
+ * @param {string} [endDate] End date (YYYY-MM-DD)
33651
33661
  * @param {number} [page] Page number (default: 1)
33652
33662
  * @param {number} [pageSize] Page size (default: 50, max: 100)
33653
- * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
33654
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
33663
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
33664
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
33655
33665
  * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
33656
- * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
33657
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
33658
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
33659
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
33666
+ * @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
33667
+ * @param {string} [status] Filter by order status
33668
+ * @param {string} [gateway] Filter by payment gateway
33669
+ * @param {string} [paymentType] Filter by payment type
33660
33670
  * @param {*} [options] Override http request option.
33661
33671
  * @throws {RequiredError}
33662
33672
  */
@@ -34346,17 +34356,19 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
34346
34356
  const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
34347
34357
  return {
34348
34358
  /**
34349
- * Returns paginated billing alerts configured for the organization
34359
+ * 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.
34350
34360
  * @summary Get billing alerts
34351
34361
  * @param {number} [page] Page number (default: 1)
34352
34362
  * @param {number} [pageSize] Page size (default: 50, max: 100)
34353
- * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
34354
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
34363
+ * @param {number} [limit] Alternative limit (default: 50, max: 100)
34364
+ * @param {number} [offset] Alternative offset
34365
+ * @param {number} [storeId] Filter alerts by store
34366
+ * @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
34355
34367
  * @param {*} [options] Override http request option.
34356
34368
  * @throws {RequiredError}
34357
34369
  */
34358
- async adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
34359
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
34370
+ async adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
34371
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options);
34360
34372
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
34361
34373
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']?.[localVarOperationServerIndex]?.url;
34362
34374
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -34623,20 +34635,20 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
34623
34635
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34624
34636
  },
34625
34637
  /**
34626
- * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
34638
+ * 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.
34627
34639
  * @summary Get orders
34628
34640
  * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
34629
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
34630
- * @param {string} [endDate] End date (YYYY-MM-DD format)
34641
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
34642
+ * @param {string} [endDate] End date (YYYY-MM-DD)
34631
34643
  * @param {number} [page] Page number (default: 1)
34632
34644
  * @param {number} [pageSize] Page size (default: 50, max: 100)
34633
- * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
34634
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
34645
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
34646
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
34635
34647
  * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
34636
- * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
34637
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
34638
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
34639
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
34648
+ * @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
34649
+ * @param {string} [status] Filter by order status
34650
+ * @param {string} [gateway] Filter by payment gateway
34651
+ * @param {string} [paymentType] Filter by payment type
34640
34652
  * @param {*} [options] Override http request option.
34641
34653
  * @throws {RequiredError}
34642
34654
  */
@@ -34848,17 +34860,19 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
34848
34860
  const localVarFp = BillingDashboardApiFp(configuration)
34849
34861
  return {
34850
34862
  /**
34851
- * Returns paginated billing alerts configured for the organization
34863
+ * 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.
34852
34864
  * @summary Get billing alerts
34853
34865
  * @param {number} [page] Page number (default: 1)
34854
34866
  * @param {number} [pageSize] Page size (default: 50, max: 100)
34855
- * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
34856
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
34867
+ * @param {number} [limit] Alternative limit (default: 50, max: 100)
34868
+ * @param {number} [offset] Alternative offset
34869
+ * @param {number} [storeId] Filter alerts by store
34870
+ * @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
34857
34871
  * @param {*} [options] Override http request option.
34858
34872
  * @throws {RequiredError}
34859
34873
  */
34860
- adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
34861
- return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
34874
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
34875
+ return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(axios, basePath));
34862
34876
  },
34863
34877
  /**
34864
34878
  * Deletes a billing alert configuration
@@ -35071,20 +35085,20 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
35071
35085
  return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
35072
35086
  },
35073
35087
  /**
35074
- * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
35088
+ * 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.
35075
35089
  * @summary Get orders
35076
35090
  * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
35077
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
35078
- * @param {string} [endDate] End date (YYYY-MM-DD format)
35091
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
35092
+ * @param {string} [endDate] End date (YYYY-MM-DD)
35079
35093
  * @param {number} [page] Page number (default: 1)
35080
35094
  * @param {number} [pageSize] Page size (default: 50, max: 100)
35081
- * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
35082
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
35095
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
35096
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
35083
35097
  * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
35084
- * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
35085
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
35086
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
35087
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
35098
+ * @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
35099
+ * @param {string} [status] Filter by order status
35100
+ * @param {string} [gateway] Filter by payment gateway
35101
+ * @param {string} [paymentType] Filter by payment type
35088
35102
  * @param {*} [options] Override http request option.
35089
35103
  * @throws {RequiredError}
35090
35104
  */
@@ -35254,18 +35268,20 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
35254
35268
  */
35255
35269
  export class BillingDashboardApi extends BaseAPI {
35256
35270
  /**
35257
- * Returns paginated billing alerts configured for the organization
35271
+ * 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.
35258
35272
  * @summary Get billing alerts
35259
35273
  * @param {number} [page] Page number (default: 1)
35260
35274
  * @param {number} [pageSize] Page size (default: 50, max: 100)
35261
- * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
35262
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
35275
+ * @param {number} [limit] Alternative limit (default: 50, max: 100)
35276
+ * @param {number} [offset] Alternative offset
35277
+ * @param {number} [storeId] Filter alerts by store
35278
+ * @param {string} [search] Search across alert fields, names, thresholds, org/store names, usernames, and JSON metadata
35263
35279
  * @param {*} [options] Override http request option.
35264
35280
  * @throws {RequiredError}
35265
35281
  * @memberof BillingDashboardApi
35266
35282
  */
35267
- public adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
35268
- return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
35283
+ public adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, storeId?: number, search?: string, options?: RawAxiosRequestConfig) {
35284
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, storeId, search, options).then((request) => request(this.axios, this.basePath));
35269
35285
  }
35270
35286
 
35271
35287
  /**
@@ -35513,20 +35529,20 @@ export class BillingDashboardApi extends BaseAPI {
35513
35529
  }
35514
35530
 
35515
35531
  /**
35516
- * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
35532
+ * 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.
35517
35533
  * @summary Get orders
35518
35534
  * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
35519
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
35520
- * @param {string} [endDate] End date (YYYY-MM-DD format)
35535
+ * @param {string} [startDate] Start date (YYYY-MM-DD)
35536
+ * @param {string} [endDate] End date (YYYY-MM-DD)
35521
35537
  * @param {number} [page] Page number (default: 1)
35522
35538
  * @param {number} [pageSize] Page size (default: 50, max: 100)
35523
- * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
35524
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
35539
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
35540
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Sort field
35525
35541
  * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
35526
- * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
35527
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
35528
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
35529
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
35542
+ * @param {string} [search] Search across all major fields (ID, amount, status, gateway, org name, user name, etc.)
35543
+ * @param {string} [status] Filter by order status
35544
+ * @param {string} [gateway] Filter by payment gateway
35545
+ * @param {string} [paymentType] Filter by payment type
35530
35546
  * @param {*} [options] Override http request option.
35531
35547
  * @throws {RequiredError}
35532
35548
  * @memberof BillingDashboardApi
@@ -35808,7 +35824,10 @@ export const AdminBillingOrdersGetSortByEnum = {
35808
35824
  Amount: 'amount',
35809
35825
  CreatedAt: 'created_at',
35810
35826
  UpdatedAt: 'updated_at',
35811
- Status: 'status'
35827
+ Status: 'status',
35828
+ OrgId: 'org_id',
35829
+ UserId: 'user_id',
35830
+ Gateway: 'gateway'
35812
35831
  } as const;
35813
35832
  export type AdminBillingOrdersGetSortByEnum = typeof AdminBillingOrdersGetSortByEnum[keyof typeof AdminBillingOrdersGetSortByEnum];
35814
35833
  /**
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
- * Returns paginated billing alerts configured for the organization
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: Number of results (default: 50, max: 100)
28268
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
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 list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
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\&#39;s org)
28453
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
28454
- * @param {string} [endDate] End date (YYYY-MM-DD format)
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 per page (default: 50, max: 100)
28458
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
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 in order ID, gateway order ID, gateway payment ID
28461
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
28462
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
28463
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
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
- * Returns paginated billing alerts configured for the organization
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: Number of results (default: 50, max: 100)
28606
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
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 list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
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\&#39;s org)
28791
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
28792
- * @param {string} [endDate] End date (YYYY-MM-DD format)
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 per page (default: 50, max: 100)
28796
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
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 in order ID, gateway order ID, gateway payment ID
28799
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
28800
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
28801
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
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
- * Returns paginated billing alerts configured for the organization
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: Number of results (default: 50, max: 100)
28944
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
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 list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
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\&#39;s org)
29129
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
29130
- * @param {string} [endDate] End date (YYYY-MM-DD format)
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 per page (default: 50, max: 100)
29134
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
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 in order ID, gateway order ID, gateway payment ID
29137
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
29138
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
29139
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
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
- * Returns paginated billing alerts configured for the organization
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: Number of results (default: 50, max: 100)
29284
- * @param {number} [offset] Alternative: Number of results to skip (default: 0)
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 list of orders with filtering options for the authenticated user\'s organization. Supports both page/page_size and page/limit pagination like analytics APIs.
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\&#39;s org)
29487
- * @param {string} [startDate] Start date (YYYY-MM-DD format)
29488
- * @param {string} [endDate] End date (YYYY-MM-DD format)
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 per page (default: 50, max: 100)
29492
- * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
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 in order ID, gateway order ID, gateway payment ID
29495
- * @param {string} [status] Filter by order status (created, paid, failed, refunded)
29496
- * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
29497
- * @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
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
  /**