@seekora-ai/admin-api 1.1.2 → 1.1.4

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.2
1
+ ## @seekora-ai/admin-api@1.1.4
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.2 --save
39
+ npm install @seekora-ai/admin-api@1.1.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -14039,17 +14039,29 @@ export interface DataTypesPayInvoiceRequest {
14039
14039
  */
14040
14040
  export interface DataTypesPayInvoiceResponse {
14041
14041
  /**
14042
- *
14042
+ * Amount in currency units
14043
14043
  * @type {number}
14044
14044
  * @memberof DataTypesPayInvoiceResponse
14045
14045
  */
14046
14046
  'amount'?: number;
14047
+ /**
14048
+ *
14049
+ * @type {string}
14050
+ * @memberof DataTypesPayInvoiceResponse
14051
+ */
14052
+ 'created_at'?: string;
14047
14053
  /**
14048
14054
  *
14049
14055
  * @type {string}
14050
14056
  * @memberof DataTypesPayInvoiceResponse
14051
14057
  */
14052
14058
  'currency'?: string;
14059
+ /**
14060
+ * Razorpay customer ID for tokenization
14061
+ * @type {string}
14062
+ * @memberof DataTypesPayInvoiceResponse
14063
+ */
14064
+ 'customer_id'?: string;
14053
14065
  /**
14054
14066
  * Customer details for prefill
14055
14067
  * @type {{ [key: string]: any; }}
@@ -14061,13 +14073,13 @@ export interface DataTypesPayInvoiceResponse {
14061
14073
  * @type {string}
14062
14074
  * @memberof DataTypesPayInvoiceResponse
14063
14075
  */
14064
- 'gateway'?: string;
14076
+ 'expires_at'?: string;
14065
14077
  /**
14066
14078
  *
14067
14079
  * @type {string}
14068
14080
  * @memberof DataTypesPayInvoiceResponse
14069
14081
  */
14070
- 'gateway_order_id'?: string;
14082
+ 'gateway'?: string;
14071
14083
  /**
14072
14084
  *
14073
14085
  * @type {{ [key: string]: any; }}
@@ -14075,11 +14087,17 @@ export interface DataTypesPayInvoiceResponse {
14075
14087
  */
14076
14088
  'gateway_response'?: { [key: string]: any; };
14077
14089
  /**
14078
- *
14090
+ * Internal order ID
14091
+ * @type {string}
14092
+ * @memberof DataTypesPayInvoiceResponse
14093
+ */
14094
+ 'order_id'?: string;
14095
+ /**
14096
+ * Gateway payment/order ID (razorpay_order_id)
14079
14097
  * @type {string}
14080
14098
  * @memberof DataTypesPayInvoiceResponse
14081
14099
  */
14082
- 'payment_order_id'?: string;
14100
+ 'payment_id'?: string;
14083
14101
  /**
14084
14102
  *
14085
14103
  * @type {string}
@@ -14087,11 +14105,11 @@ export interface DataTypesPayInvoiceResponse {
14087
14105
  */
14088
14106
  'payment_url'?: string;
14089
14107
  /**
14090
- * Razorpay public key for frontend
14108
+ * Gateway public key for frontend
14091
14109
  * @type {string}
14092
14110
  * @memberof DataTypesPayInvoiceResponse
14093
14111
  */
14094
- 'razorpay_key'?: string;
14112
+ 'public_key'?: string;
14095
14113
  /**
14096
14114
  *
14097
14115
  * @type {string}
@@ -27867,12 +27885,16 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27867
27885
  export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
27868
27886
  return {
27869
27887
  /**
27870
- * Returns all billing alerts configured for the organization
27888
+ * Returns paginated billing alerts configured for the organization
27871
27889
  * @summary Get billing alerts
27890
+ * @param {number} [page] Page number (default: 1)
27891
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
27892
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
27893
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
27872
27894
  * @param {*} [options] Override http request option.
27873
27895
  * @throws {RequiredError}
27874
27896
  */
27875
- adminBillingAlertsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27897
+ adminBillingAlertsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27876
27898
  const localVarPath = `/admin/billing/alerts`;
27877
27899
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27878
27900
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27888,6 +27910,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27888
27910
  // authentication BearerAuth required
27889
27911
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27890
27912
 
27913
+ if (page !== undefined) {
27914
+ localVarQueryParameter['page'] = page;
27915
+ }
27916
+
27917
+ if (pageSize !== undefined) {
27918
+ localVarQueryParameter['page_size'] = pageSize;
27919
+ }
27920
+
27921
+ if (limit !== undefined) {
27922
+ localVarQueryParameter['limit'] = limit;
27923
+ }
27924
+
27925
+ if (offset !== undefined) {
27926
+ localVarQueryParameter['offset'] = offset;
27927
+ }
27928
+
27891
27929
 
27892
27930
 
27893
27931
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29110,13 +29148,17 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
29110
29148
  const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
29111
29149
  return {
29112
29150
  /**
29113
- * Returns all billing alerts configured for the organization
29151
+ * Returns paginated billing alerts configured for the organization
29114
29152
  * @summary Get billing alerts
29153
+ * @param {number} [page] Page number (default: 1)
29154
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29155
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29156
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29115
29157
  * @param {*} [options] Override http request option.
29116
29158
  * @throws {RequiredError}
29117
29159
  */
29118
- async adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
29119
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(options);
29160
+ async adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
29161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
29120
29162
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29121
29163
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']?.[localVarOperationServerIndex]?.url;
29122
29164
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29514,13 +29556,17 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29514
29556
  const localVarFp = BillingDashboardApiFp(configuration)
29515
29557
  return {
29516
29558
  /**
29517
- * Returns all billing alerts configured for the organization
29559
+ * Returns paginated billing alerts configured for the organization
29518
29560
  * @summary Get billing alerts
29561
+ * @param {number} [page] Page number (default: 1)
29562
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29563
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29564
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29519
29565
  * @param {*} [options] Override http request option.
29520
29566
  * @throws {RequiredError}
29521
29567
  */
29522
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
29523
- return localVarFp.adminBillingAlertsGet(options).then((request) => request(axios, basePath));
29568
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
29569
+ return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
29524
29570
  },
29525
29571
  /**
29526
29572
  * Deletes a billing alert configuration
@@ -29837,14 +29883,18 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29837
29883
  */
29838
29884
  export class BillingDashboardApi extends BaseAPI {
29839
29885
  /**
29840
- * Returns all billing alerts configured for the organization
29886
+ * Returns paginated billing alerts configured for the organization
29841
29887
  * @summary Get billing alerts
29888
+ * @param {number} [page] Page number (default: 1)
29889
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29890
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29891
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29842
29892
  * @param {*} [options] Override http request option.
29843
29893
  * @throws {RequiredError}
29844
29894
  * @memberof BillingDashboardApi
29845
29895
  */
29846
- public adminBillingAlertsGet(options?: RawAxiosRequestConfig) {
29847
- return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(options).then((request) => request(this.axios, this.basePath));
29896
+ public adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
29897
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
29848
29898
  }
29849
29899
 
29850
29900
  /**
package/dist/api.d.ts CHANGED
@@ -14071,17 +14071,29 @@ export interface DataTypesPayInvoiceRequest {
14071
14071
  */
14072
14072
  export interface DataTypesPayInvoiceResponse {
14073
14073
  /**
14074
- *
14074
+ * Amount in currency units
14075
14075
  * @type {number}
14076
14076
  * @memberof DataTypesPayInvoiceResponse
14077
14077
  */
14078
14078
  'amount'?: number;
14079
+ /**
14080
+ *
14081
+ * @type {string}
14082
+ * @memberof DataTypesPayInvoiceResponse
14083
+ */
14084
+ 'created_at'?: string;
14079
14085
  /**
14080
14086
  *
14081
14087
  * @type {string}
14082
14088
  * @memberof DataTypesPayInvoiceResponse
14083
14089
  */
14084
14090
  'currency'?: string;
14091
+ /**
14092
+ * Razorpay customer ID for tokenization
14093
+ * @type {string}
14094
+ * @memberof DataTypesPayInvoiceResponse
14095
+ */
14096
+ 'customer_id'?: string;
14085
14097
  /**
14086
14098
  * Customer details for prefill
14087
14099
  * @type {{ [key: string]: any; }}
@@ -14095,13 +14107,13 @@ export interface DataTypesPayInvoiceResponse {
14095
14107
  * @type {string}
14096
14108
  * @memberof DataTypesPayInvoiceResponse
14097
14109
  */
14098
- 'gateway'?: string;
14110
+ 'expires_at'?: string;
14099
14111
  /**
14100
14112
  *
14101
14113
  * @type {string}
14102
14114
  * @memberof DataTypesPayInvoiceResponse
14103
14115
  */
14104
- 'gateway_order_id'?: string;
14116
+ 'gateway'?: string;
14105
14117
  /**
14106
14118
  *
14107
14119
  * @type {{ [key: string]: any; }}
@@ -14111,11 +14123,17 @@ export interface DataTypesPayInvoiceResponse {
14111
14123
  [key: string]: any;
14112
14124
  };
14113
14125
  /**
14114
- *
14126
+ * Internal order ID
14115
14127
  * @type {string}
14116
14128
  * @memberof DataTypesPayInvoiceResponse
14117
14129
  */
14118
- 'payment_order_id'?: string;
14130
+ 'order_id'?: string;
14131
+ /**
14132
+ * Gateway payment/order ID (razorpay_order_id)
14133
+ * @type {string}
14134
+ * @memberof DataTypesPayInvoiceResponse
14135
+ */
14136
+ 'payment_id'?: string;
14119
14137
  /**
14120
14138
  *
14121
14139
  * @type {string}
@@ -14123,11 +14141,11 @@ export interface DataTypesPayInvoiceResponse {
14123
14141
  */
14124
14142
  'payment_url'?: string;
14125
14143
  /**
14126
- * Razorpay public key for frontend
14144
+ * Gateway public key for frontend
14127
14145
  * @type {string}
14128
14146
  * @memberof DataTypesPayInvoiceResponse
14129
14147
  */
14130
- 'razorpay_key'?: string;
14148
+ 'public_key'?: string;
14131
14149
  /**
14132
14150
  *
14133
14151
  * @type {string}
@@ -24079,12 +24097,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24079
24097
  */
24080
24098
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24081
24099
  /**
24082
- * Returns all billing alerts configured for the organization
24100
+ * Returns paginated billing alerts configured for the organization
24083
24101
  * @summary Get billing alerts
24102
+ * @param {number} [page] Page number (default: 1)
24103
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24104
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24105
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24084
24106
  * @param {*} [options] Override http request option.
24085
24107
  * @throws {RequiredError}
24086
24108
  */
24087
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24109
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24088
24110
  /**
24089
24111
  * Deletes a billing alert configuration
24090
24112
  * @summary Delete billing alert
@@ -24344,12 +24366,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24344
24366
  */
24345
24367
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24346
24368
  /**
24347
- * Returns all billing alerts configured for the organization
24369
+ * Returns paginated billing alerts configured for the organization
24348
24370
  * @summary Get billing alerts
24371
+ * @param {number} [page] Page number (default: 1)
24372
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24373
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24374
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24349
24375
  * @param {*} [options] Override http request option.
24350
24376
  * @throws {RequiredError}
24351
24377
  */
24352
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24378
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24353
24379
  /**
24354
24380
  * Deletes a billing alert configuration
24355
24381
  * @summary Delete billing alert
@@ -24609,12 +24635,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24609
24635
  */
24610
24636
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24611
24637
  /**
24612
- * Returns all billing alerts configured for the organization
24638
+ * Returns paginated billing alerts configured for the organization
24613
24639
  * @summary Get billing alerts
24640
+ * @param {number} [page] Page number (default: 1)
24641
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24642
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24643
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24614
24644
  * @param {*} [options] Override http request option.
24615
24645
  * @throws {RequiredError}
24616
24646
  */
24617
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24647
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24618
24648
  /**
24619
24649
  * Deletes a billing alert configuration
24620
24650
  * @summary Delete billing alert
@@ -24876,13 +24906,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24876
24906
  */
24877
24907
  export declare class BillingDashboardApi extends BaseAPI {
24878
24908
  /**
24879
- * Returns all billing alerts configured for the organization
24909
+ * Returns paginated billing alerts configured for the organization
24880
24910
  * @summary Get billing alerts
24911
+ * @param {number} [page] Page number (default: 1)
24912
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24913
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24914
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24881
24915
  * @param {*} [options] Override http request option.
24882
24916
  * @throws {RequiredError}
24883
24917
  * @memberof BillingDashboardApi
24884
24918
  */
24885
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24919
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24886
24920
  /**
24887
24921
  * Deletes a billing alert configuration
24888
24922
  * @summary Delete billing alert
package/dist/api.js CHANGED
@@ -7323,12 +7323,16 @@ exports.AutomatedRefundManagementApi = AutomatedRefundManagementApi;
7323
7323
  const BillingDashboardApiAxiosParamCreator = function (configuration) {
7324
7324
  return {
7325
7325
  /**
7326
- * Returns all billing alerts configured for the organization
7326
+ * Returns paginated billing alerts configured for the organization
7327
7327
  * @summary Get billing alerts
7328
+ * @param {number} [page] Page number (default: 1)
7329
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
7330
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
7331
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
7328
7332
  * @param {*} [options] Override http request option.
7329
7333
  * @throws {RequiredError}
7330
7334
  */
7331
- adminBillingAlertsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
7335
+ 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 = {}) {
7332
7336
  const localVarPath = `/admin/billing/alerts`;
7333
7337
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7334
7338
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7341,6 +7345,18 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
7341
7345
  const localVarQueryParameter = {};
7342
7346
  // authentication BearerAuth required
7343
7347
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7348
+ if (page !== undefined) {
7349
+ localVarQueryParameter['page'] = page;
7350
+ }
7351
+ if (pageSize !== undefined) {
7352
+ localVarQueryParameter['page_size'] = pageSize;
7353
+ }
7354
+ if (limit !== undefined) {
7355
+ localVarQueryParameter['limit'] = limit;
7356
+ }
7357
+ if (offset !== undefined) {
7358
+ localVarQueryParameter['offset'] = offset;
7359
+ }
7344
7360
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7345
7361
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7346
7362
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8344,15 +8360,19 @@ const BillingDashboardApiFp = function (configuration) {
8344
8360
  const localVarAxiosParamCreator = (0, exports.BillingDashboardApiAxiosParamCreator)(configuration);
8345
8361
  return {
8346
8362
  /**
8347
- * Returns all billing alerts configured for the organization
8363
+ * Returns paginated billing alerts configured for the organization
8348
8364
  * @summary Get billing alerts
8365
+ * @param {number} [page] Page number (default: 1)
8366
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
8367
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
8368
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8349
8369
  * @param {*} [options] Override http request option.
8350
8370
  * @throws {RequiredError}
8351
8371
  */
8352
- adminBillingAlertsGet(options) {
8372
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
8353
8373
  return __awaiter(this, void 0, void 0, function* () {
8354
8374
  var _a, _b, _c;
8355
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(options);
8375
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
8356
8376
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8357
8377
  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;
8358
8378
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8829,13 +8849,17 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
8829
8849
  const localVarFp = (0, exports.BillingDashboardApiFp)(configuration);
8830
8850
  return {
8831
8851
  /**
8832
- * Returns all billing alerts configured for the organization
8852
+ * Returns paginated billing alerts configured for the organization
8833
8853
  * @summary Get billing alerts
8854
+ * @param {number} [page] Page number (default: 1)
8855
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
8856
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
8857
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8834
8858
  * @param {*} [options] Override http request option.
8835
8859
  * @throws {RequiredError}
8836
8860
  */
8837
- adminBillingAlertsGet(options) {
8838
- return localVarFp.adminBillingAlertsGet(options).then((request) => request(axios, basePath));
8861
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
8862
+ return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
8839
8863
  },
8840
8864
  /**
8841
8865
  * Deletes a billing alert configuration
@@ -9152,14 +9176,18 @@ exports.BillingDashboardApiFactory = BillingDashboardApiFactory;
9152
9176
  */
9153
9177
  class BillingDashboardApi extends base_1.BaseAPI {
9154
9178
  /**
9155
- * Returns all billing alerts configured for the organization
9179
+ * Returns paginated billing alerts configured for the organization
9156
9180
  * @summary Get billing alerts
9181
+ * @param {number} [page] Page number (default: 1)
9182
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
9183
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
9184
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9157
9185
  * @param {*} [options] Override http request option.
9158
9186
  * @throws {RequiredError}
9159
9187
  * @memberof BillingDashboardApi
9160
9188
  */
9161
- adminBillingAlertsGet(options) {
9162
- return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsGet(options).then((request) => request(this.axios, this.basePath));
9189
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
9190
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
9163
9191
  }
9164
9192
  /**
9165
9193
  * Deletes a billing alert configuration
package/dist/esm/api.d.ts CHANGED
@@ -14071,17 +14071,29 @@ export interface DataTypesPayInvoiceRequest {
14071
14071
  */
14072
14072
  export interface DataTypesPayInvoiceResponse {
14073
14073
  /**
14074
- *
14074
+ * Amount in currency units
14075
14075
  * @type {number}
14076
14076
  * @memberof DataTypesPayInvoiceResponse
14077
14077
  */
14078
14078
  'amount'?: number;
14079
+ /**
14080
+ *
14081
+ * @type {string}
14082
+ * @memberof DataTypesPayInvoiceResponse
14083
+ */
14084
+ 'created_at'?: string;
14079
14085
  /**
14080
14086
  *
14081
14087
  * @type {string}
14082
14088
  * @memberof DataTypesPayInvoiceResponse
14083
14089
  */
14084
14090
  'currency'?: string;
14091
+ /**
14092
+ * Razorpay customer ID for tokenization
14093
+ * @type {string}
14094
+ * @memberof DataTypesPayInvoiceResponse
14095
+ */
14096
+ 'customer_id'?: string;
14085
14097
  /**
14086
14098
  * Customer details for prefill
14087
14099
  * @type {{ [key: string]: any; }}
@@ -14095,13 +14107,13 @@ export interface DataTypesPayInvoiceResponse {
14095
14107
  * @type {string}
14096
14108
  * @memberof DataTypesPayInvoiceResponse
14097
14109
  */
14098
- 'gateway'?: string;
14110
+ 'expires_at'?: string;
14099
14111
  /**
14100
14112
  *
14101
14113
  * @type {string}
14102
14114
  * @memberof DataTypesPayInvoiceResponse
14103
14115
  */
14104
- 'gateway_order_id'?: string;
14116
+ 'gateway'?: string;
14105
14117
  /**
14106
14118
  *
14107
14119
  * @type {{ [key: string]: any; }}
@@ -14111,11 +14123,17 @@ export interface DataTypesPayInvoiceResponse {
14111
14123
  [key: string]: any;
14112
14124
  };
14113
14125
  /**
14114
- *
14126
+ * Internal order ID
14115
14127
  * @type {string}
14116
14128
  * @memberof DataTypesPayInvoiceResponse
14117
14129
  */
14118
- 'payment_order_id'?: string;
14130
+ 'order_id'?: string;
14131
+ /**
14132
+ * Gateway payment/order ID (razorpay_order_id)
14133
+ * @type {string}
14134
+ * @memberof DataTypesPayInvoiceResponse
14135
+ */
14136
+ 'payment_id'?: string;
14119
14137
  /**
14120
14138
  *
14121
14139
  * @type {string}
@@ -14123,11 +14141,11 @@ export interface DataTypesPayInvoiceResponse {
14123
14141
  */
14124
14142
  'payment_url'?: string;
14125
14143
  /**
14126
- * Razorpay public key for frontend
14144
+ * Gateway public key for frontend
14127
14145
  * @type {string}
14128
14146
  * @memberof DataTypesPayInvoiceResponse
14129
14147
  */
14130
- 'razorpay_key'?: string;
14148
+ 'public_key'?: string;
14131
14149
  /**
14132
14150
  *
14133
14151
  * @type {string}
@@ -24079,12 +24097,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24079
24097
  */
24080
24098
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24081
24099
  /**
24082
- * Returns all billing alerts configured for the organization
24100
+ * Returns paginated billing alerts configured for the organization
24083
24101
  * @summary Get billing alerts
24102
+ * @param {number} [page] Page number (default: 1)
24103
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24104
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24105
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24084
24106
  * @param {*} [options] Override http request option.
24085
24107
  * @throws {RequiredError}
24086
24108
  */
24087
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24109
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24088
24110
  /**
24089
24111
  * Deletes a billing alert configuration
24090
24112
  * @summary Delete billing alert
@@ -24344,12 +24366,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24344
24366
  */
24345
24367
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24346
24368
  /**
24347
- * Returns all billing alerts configured for the organization
24369
+ * Returns paginated billing alerts configured for the organization
24348
24370
  * @summary Get billing alerts
24371
+ * @param {number} [page] Page number (default: 1)
24372
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24373
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24374
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24349
24375
  * @param {*} [options] Override http request option.
24350
24376
  * @throws {RequiredError}
24351
24377
  */
24352
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24378
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24353
24379
  /**
24354
24380
  * Deletes a billing alert configuration
24355
24381
  * @summary Delete billing alert
@@ -24609,12 +24635,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24609
24635
  */
24610
24636
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24611
24637
  /**
24612
- * Returns all billing alerts configured for the organization
24638
+ * Returns paginated billing alerts configured for the organization
24613
24639
  * @summary Get billing alerts
24640
+ * @param {number} [page] Page number (default: 1)
24641
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24642
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24643
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24614
24644
  * @param {*} [options] Override http request option.
24615
24645
  * @throws {RequiredError}
24616
24646
  */
24617
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24647
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24618
24648
  /**
24619
24649
  * Deletes a billing alert configuration
24620
24650
  * @summary Delete billing alert
@@ -24876,13 +24906,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24876
24906
  */
24877
24907
  export declare class BillingDashboardApi extends BaseAPI {
24878
24908
  /**
24879
- * Returns all billing alerts configured for the organization
24909
+ * Returns paginated billing alerts configured for the organization
24880
24910
  * @summary Get billing alerts
24911
+ * @param {number} [page] Page number (default: 1)
24912
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24913
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24914
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24881
24915
  * @param {*} [options] Override http request option.
24882
24916
  * @throws {RequiredError}
24883
24917
  * @memberof BillingDashboardApi
24884
24918
  */
24885
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24919
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24886
24920
  /**
24887
24921
  * Deletes a billing alert configuration
24888
24922
  * @summary Delete billing alert
package/dist/esm/api.js CHANGED
@@ -7283,12 +7283,16 @@ export class AutomatedRefundManagementApi extends BaseAPI {
7283
7283
  export const BillingDashboardApiAxiosParamCreator = function (configuration) {
7284
7284
  return {
7285
7285
  /**
7286
- * Returns all billing alerts configured for the organization
7286
+ * Returns paginated billing alerts configured for the organization
7287
7287
  * @summary Get billing alerts
7288
+ * @param {number} [page] Page number (default: 1)
7289
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
7290
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
7291
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
7288
7292
  * @param {*} [options] Override http request option.
7289
7293
  * @throws {RequiredError}
7290
7294
  */
7291
- adminBillingAlertsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
7295
+ 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 = {}) {
7292
7296
  const localVarPath = `/admin/billing/alerts`;
7293
7297
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7294
7298
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7301,6 +7305,18 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
7301
7305
  const localVarQueryParameter = {};
7302
7306
  // authentication BearerAuth required
7303
7307
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
7308
+ if (page !== undefined) {
7309
+ localVarQueryParameter['page'] = page;
7310
+ }
7311
+ if (pageSize !== undefined) {
7312
+ localVarQueryParameter['page_size'] = pageSize;
7313
+ }
7314
+ if (limit !== undefined) {
7315
+ localVarQueryParameter['limit'] = limit;
7316
+ }
7317
+ if (offset !== undefined) {
7318
+ localVarQueryParameter['offset'] = offset;
7319
+ }
7304
7320
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7305
7321
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7306
7322
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8303,15 +8319,19 @@ export const BillingDashboardApiFp = function (configuration) {
8303
8319
  const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration);
8304
8320
  return {
8305
8321
  /**
8306
- * Returns all billing alerts configured for the organization
8322
+ * Returns paginated billing alerts configured for the organization
8307
8323
  * @summary Get billing alerts
8324
+ * @param {number} [page] Page number (default: 1)
8325
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
8326
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
8327
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8308
8328
  * @param {*} [options] Override http request option.
8309
8329
  * @throws {RequiredError}
8310
8330
  */
8311
- adminBillingAlertsGet(options) {
8331
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
8312
8332
  return __awaiter(this, void 0, void 0, function* () {
8313
8333
  var _a, _b, _c;
8314
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(options);
8334
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
8315
8335
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8316
8336
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8317
8337
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8787,13 +8807,17 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
8787
8807
  const localVarFp = BillingDashboardApiFp(configuration);
8788
8808
  return {
8789
8809
  /**
8790
- * Returns all billing alerts configured for the organization
8810
+ * Returns paginated billing alerts configured for the organization
8791
8811
  * @summary Get billing alerts
8812
+ * @param {number} [page] Page number (default: 1)
8813
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
8814
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
8815
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8792
8816
  * @param {*} [options] Override http request option.
8793
8817
  * @throws {RequiredError}
8794
8818
  */
8795
- adminBillingAlertsGet(options) {
8796
- return localVarFp.adminBillingAlertsGet(options).then((request) => request(axios, basePath));
8819
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
8820
+ return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
8797
8821
  },
8798
8822
  /**
8799
8823
  * Deletes a billing alert configuration
@@ -9109,14 +9133,18 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
9109
9133
  */
9110
9134
  export class BillingDashboardApi extends BaseAPI {
9111
9135
  /**
9112
- * Returns all billing alerts configured for the organization
9136
+ * Returns paginated billing alerts configured for the organization
9113
9137
  * @summary Get billing alerts
9138
+ * @param {number} [page] Page number (default: 1)
9139
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
9140
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
9141
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9114
9142
  * @param {*} [options] Override http request option.
9115
9143
  * @throws {RequiredError}
9116
9144
  * @memberof BillingDashboardApi
9117
9145
  */
9118
- adminBillingAlertsGet(options) {
9119
- return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(options).then((request) => request(this.axios, this.basePath));
9146
+ adminBillingAlertsGet(page, pageSize, limit, offset, options) {
9147
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
9120
9148
  }
9121
9149
  /**
9122
9150
  * Deletes a billing alert configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file