@seekora-ai/admin-api 1.1.3 → 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.3
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.3 --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
@@ -27885,12 +27885,16 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27885
27885
  export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
27886
27886
  return {
27887
27887
  /**
27888
- * Returns all billing alerts configured for the organization
27888
+ * Returns paginated billing alerts configured for the organization
27889
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)
27890
27894
  * @param {*} [options] Override http request option.
27891
27895
  * @throws {RequiredError}
27892
27896
  */
27893
- adminBillingAlertsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27897
+ adminBillingAlertsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27894
27898
  const localVarPath = `/admin/billing/alerts`;
27895
27899
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27896
27900
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27906,6 +27910,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27906
27910
  // authentication BearerAuth required
27907
27911
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27908
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
+
27909
27929
 
27910
27930
 
27911
27931
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29128,13 +29148,17 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
29128
29148
  const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
29129
29149
  return {
29130
29150
  /**
29131
- * Returns all billing alerts configured for the organization
29151
+ * Returns paginated billing alerts configured for the organization
29132
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)
29133
29157
  * @param {*} [options] Override http request option.
29134
29158
  * @throws {RequiredError}
29135
29159
  */
29136
- async adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
29137
- 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);
29138
29162
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29139
29163
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']?.[localVarOperationServerIndex]?.url;
29140
29164
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29532,13 +29556,17 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29532
29556
  const localVarFp = BillingDashboardApiFp(configuration)
29533
29557
  return {
29534
29558
  /**
29535
- * Returns all billing alerts configured for the organization
29559
+ * Returns paginated billing alerts configured for the organization
29536
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)
29537
29565
  * @param {*} [options] Override http request option.
29538
29566
  * @throws {RequiredError}
29539
29567
  */
29540
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
29541
- 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));
29542
29570
  },
29543
29571
  /**
29544
29572
  * Deletes a billing alert configuration
@@ -29855,14 +29883,18 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29855
29883
  */
29856
29884
  export class BillingDashboardApi extends BaseAPI {
29857
29885
  /**
29858
- * Returns all billing alerts configured for the organization
29886
+ * Returns paginated billing alerts configured for the organization
29859
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)
29860
29892
  * @param {*} [options] Override http request option.
29861
29893
  * @throws {RequiredError}
29862
29894
  * @memberof BillingDashboardApi
29863
29895
  */
29864
- public adminBillingAlertsGet(options?: RawAxiosRequestConfig) {
29865
- 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));
29866
29898
  }
29867
29899
 
29868
29900
  /**
package/dist/api.d.ts CHANGED
@@ -24097,12 +24097,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24097
24097
  */
24098
24098
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24099
24099
  /**
24100
- * Returns all billing alerts configured for the organization
24100
+ * Returns paginated billing alerts configured for the organization
24101
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)
24102
24106
  * @param {*} [options] Override http request option.
24103
24107
  * @throws {RequiredError}
24104
24108
  */
24105
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24109
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24106
24110
  /**
24107
24111
  * Deletes a billing alert configuration
24108
24112
  * @summary Delete billing alert
@@ -24362,12 +24366,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24362
24366
  */
24363
24367
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24364
24368
  /**
24365
- * Returns all billing alerts configured for the organization
24369
+ * Returns paginated billing alerts configured for the organization
24366
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)
24367
24375
  * @param {*} [options] Override http request option.
24368
24376
  * @throws {RequiredError}
24369
24377
  */
24370
- 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>>;
24371
24379
  /**
24372
24380
  * Deletes a billing alert configuration
24373
24381
  * @summary Delete billing alert
@@ -24627,12 +24635,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24627
24635
  */
24628
24636
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24629
24637
  /**
24630
- * Returns all billing alerts configured for the organization
24638
+ * Returns paginated billing alerts configured for the organization
24631
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)
24632
24644
  * @param {*} [options] Override http request option.
24633
24645
  * @throws {RequiredError}
24634
24646
  */
24635
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24647
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24636
24648
  /**
24637
24649
  * Deletes a billing alert configuration
24638
24650
  * @summary Delete billing alert
@@ -24894,13 +24906,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24894
24906
  */
24895
24907
  export declare class BillingDashboardApi extends BaseAPI {
24896
24908
  /**
24897
- * Returns all billing alerts configured for the organization
24909
+ * Returns paginated billing alerts configured for the organization
24898
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)
24899
24915
  * @param {*} [options] Override http request option.
24900
24916
  * @throws {RequiredError}
24901
24917
  * @memberof BillingDashboardApi
24902
24918
  */
24903
- 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, {}>>;
24904
24920
  /**
24905
24921
  * Deletes a billing alert configuration
24906
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
@@ -24097,12 +24097,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24097
24097
  */
24098
24098
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24099
24099
  /**
24100
- * Returns all billing alerts configured for the organization
24100
+ * Returns paginated billing alerts configured for the organization
24101
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)
24102
24106
  * @param {*} [options] Override http request option.
24103
24107
  * @throws {RequiredError}
24104
24108
  */
24105
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24109
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24106
24110
  /**
24107
24111
  * Deletes a billing alert configuration
24108
24112
  * @summary Delete billing alert
@@ -24362,12 +24366,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24362
24366
  */
24363
24367
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24364
24368
  /**
24365
- * Returns all billing alerts configured for the organization
24369
+ * Returns paginated billing alerts configured for the organization
24366
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)
24367
24375
  * @param {*} [options] Override http request option.
24368
24376
  * @throws {RequiredError}
24369
24377
  */
24370
- 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>>;
24371
24379
  /**
24372
24380
  * Deletes a billing alert configuration
24373
24381
  * @summary Delete billing alert
@@ -24627,12 +24635,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24627
24635
  */
24628
24636
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24629
24637
  /**
24630
- * Returns all billing alerts configured for the organization
24638
+ * Returns paginated billing alerts configured for the organization
24631
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)
24632
24644
  * @param {*} [options] Override http request option.
24633
24645
  * @throws {RequiredError}
24634
24646
  */
24635
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24647
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24636
24648
  /**
24637
24649
  * Deletes a billing alert configuration
24638
24650
  * @summary Delete billing alert
@@ -24894,13 +24906,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24894
24906
  */
24895
24907
  export declare class BillingDashboardApi extends BaseAPI {
24896
24908
  /**
24897
- * Returns all billing alerts configured for the organization
24909
+ * Returns paginated billing alerts configured for the organization
24898
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)
24899
24915
  * @param {*} [options] Override http request option.
24900
24916
  * @throws {RequiredError}
24901
24917
  * @memberof BillingDashboardApi
24902
24918
  */
24903
- 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, {}>>;
24904
24920
  /**
24905
24921
  * Deletes a billing alert configuration
24906
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.3",
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