@seekora-ai/admin-api 1.1.3 → 1.1.5

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.5
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.5 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -653,6 +653,7 @@ Class | Method | HTTP request | Description
653
653
  - [DataTypesLimit](docs/DataTypesLimit.md)
654
654
  - [DataTypesLimitResponse](docs/DataTypesLimitResponse.md)
655
655
  - [DataTypesLimitsListResponse](docs/DataTypesLimitsListResponse.md)
656
+ - [DataTypesLoginAudit](docs/DataTypesLoginAudit.md)
656
657
  - [DataTypesLoginRequest](docs/DataTypesLoginRequest.md)
657
658
  - [DataTypesLoginResponse](docs/DataTypesLoginResponse.md)
658
659
  - [DataTypesLoginResponseWrapper](docs/DataTypesLoginResponseWrapper.md)
package/api.ts CHANGED
@@ -12182,6 +12182,97 @@ export interface DataTypesLimitsListResponse {
12182
12182
  */
12183
12183
  'status'?: number;
12184
12184
  }
12185
+ /**
12186
+ *
12187
+ * @export
12188
+ * @interface DataTypesLoginAudit
12189
+ */
12190
+ export interface DataTypesLoginAudit {
12191
+ /**
12192
+ *
12193
+ * @type {string}
12194
+ * @memberof DataTypesLoginAudit
12195
+ */
12196
+ 'browser'?: string;
12197
+ /**
12198
+ *
12199
+ * @type {number}
12200
+ * @memberof DataTypesLoginAudit
12201
+ */
12202
+ 'createdBy'?: number;
12203
+ /**
12204
+ *
12205
+ * @type {string}
12206
+ * @memberof DataTypesLoginAudit
12207
+ */
12208
+ 'deviceName'?: string;
12209
+ /**
12210
+ *
12211
+ * @type {string}
12212
+ * @memberof DataTypesLoginAudit
12213
+ */
12214
+ 'failureReason'?: string;
12215
+ /**
12216
+ *
12217
+ * @type {string}
12218
+ * @memberof DataTypesLoginAudit
12219
+ */
12220
+ 'ipaddress'?: string;
12221
+ /**
12222
+ *
12223
+ * @type {string}
12224
+ * @memberof DataTypesLoginAudit
12225
+ */
12226
+ 'location'?: string;
12227
+ /**
12228
+ *
12229
+ * @type {number}
12230
+ * @memberof DataTypesLoginAudit
12231
+ */
12232
+ 'logID'?: number;
12233
+ /**
12234
+ *
12235
+ * @type {string}
12236
+ * @memberof DataTypesLoginAudit
12237
+ */
12238
+ 'loginTime'?: string;
12239
+ /**
12240
+ *
12241
+ * @type {string}
12242
+ * @memberof DataTypesLoginAudit
12243
+ */
12244
+ 'loginType'?: string;
12245
+ /**
12246
+ *
12247
+ * @type {string}
12248
+ * @memberof DataTypesLoginAudit
12249
+ */
12250
+ 'os'?: string;
12251
+ /**
12252
+ *
12253
+ * @type {string}
12254
+ * @memberof DataTypesLoginAudit
12255
+ */
12256
+ 'sessionID'?: string;
12257
+ /**
12258
+ *
12259
+ * @type {string}
12260
+ * @memberof DataTypesLoginAudit
12261
+ */
12262
+ 'status'?: string;
12263
+ /**
12264
+ *
12265
+ * @type {string}
12266
+ * @memberof DataTypesLoginAudit
12267
+ */
12268
+ 'userAgent'?: string;
12269
+ /**
12270
+ *
12271
+ * @type {number}
12272
+ * @memberof DataTypesLoginAudit
12273
+ */
12274
+ 'userID'?: number;
12275
+ }
12185
12276
  /**
12186
12277
  *
12187
12278
  * @export
@@ -14770,6 +14861,12 @@ export interface DataTypesProfileResponse {
14770
14861
  * @memberof DataTypesProfileResponse
14771
14862
  */
14772
14863
  'has_password'?: boolean;
14864
+ /**
14865
+ *
14866
+ * @type {Array<DataTypesLoginAudit>}
14867
+ * @memberof DataTypesProfileResponse
14868
+ */
14869
+ 'last_logins'?: Array<DataTypesLoginAudit>;
14773
14870
  /**
14774
14871
  *
14775
14872
  * @type {string}
@@ -20709,7 +20806,7 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
20709
20806
  };
20710
20807
  },
20711
20808
  /**
20712
- * Retrieves the profile of the currently logged-in user
20809
+ * Retrieves the full profile of the currently logged-in user including last login history
20713
20810
  * @summary Retrieve user profile
20714
20811
  * @param {*} [options] Override http request option.
20715
20812
  * @throws {RequiredError}
@@ -20893,7 +20990,7 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
20893
20990
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20894
20991
  },
20895
20992
  /**
20896
- * Retrieves the profile of the currently logged-in user
20993
+ * Retrieves the full profile of the currently logged-in user including last login history
20897
20994
  * @summary Retrieve user profile
20898
20995
  * @param {*} [options] Override http request option.
20899
20996
  * @throws {RequiredError}
@@ -20989,7 +21086,7 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
20989
21086
  return localVarFp.accountSettingsPasswordPut(dataTypesUpdatePasswordRequest, options).then((request) => request(axios, basePath));
20990
21087
  },
20991
21088
  /**
20992
- * Retrieves the profile of the currently logged-in user
21089
+ * Retrieves the full profile of the currently logged-in user including last login history
20993
21090
  * @summary Retrieve user profile
20994
21091
  * @param {*} [options] Override http request option.
20995
21092
  * @throws {RequiredError}
@@ -21086,7 +21183,7 @@ export class AccountSettingsApi extends BaseAPI {
21086
21183
  }
21087
21184
 
21088
21185
  /**
21089
- * Retrieves the profile of the currently logged-in user
21186
+ * Retrieves the full profile of the currently logged-in user including last login history
21090
21187
  * @summary Retrieve user profile
21091
21188
  * @param {*} [options] Override http request option.
21092
21189
  * @throws {RequiredError}
@@ -27885,12 +27982,16 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27885
27982
  export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
27886
27983
  return {
27887
27984
  /**
27888
- * Returns all billing alerts configured for the organization
27985
+ * Returns paginated billing alerts configured for the organization
27889
27986
  * @summary Get billing alerts
27987
+ * @param {number} [page] Page number (default: 1)
27988
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
27989
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
27990
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
27890
27991
  * @param {*} [options] Override http request option.
27891
27992
  * @throws {RequiredError}
27892
27993
  */
27893
- adminBillingAlertsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27994
+ adminBillingAlertsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27894
27995
  const localVarPath = `/admin/billing/alerts`;
27895
27996
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27896
27997
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27906,6 +28007,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27906
28007
  // authentication BearerAuth required
27907
28008
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27908
28009
 
28010
+ if (page !== undefined) {
28011
+ localVarQueryParameter['page'] = page;
28012
+ }
28013
+
28014
+ if (pageSize !== undefined) {
28015
+ localVarQueryParameter['page_size'] = pageSize;
28016
+ }
28017
+
28018
+ if (limit !== undefined) {
28019
+ localVarQueryParameter['limit'] = limit;
28020
+ }
28021
+
28022
+ if (offset !== undefined) {
28023
+ localVarQueryParameter['offset'] = offset;
28024
+ }
28025
+
27909
28026
 
27910
28027
 
27911
28028
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29128,13 +29245,17 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
29128
29245
  const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
29129
29246
  return {
29130
29247
  /**
29131
- * Returns all billing alerts configured for the organization
29248
+ * Returns paginated billing alerts configured for the organization
29132
29249
  * @summary Get billing alerts
29250
+ * @param {number} [page] Page number (default: 1)
29251
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29252
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29253
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29133
29254
  * @param {*} [options] Override http request option.
29134
29255
  * @throws {RequiredError}
29135
29256
  */
29136
- async adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
29137
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(options);
29257
+ async adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
29258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(page, pageSize, limit, offset, options);
29138
29259
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29139
29260
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']?.[localVarOperationServerIndex]?.url;
29140
29261
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29532,13 +29653,17 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29532
29653
  const localVarFp = BillingDashboardApiFp(configuration)
29533
29654
  return {
29534
29655
  /**
29535
- * Returns all billing alerts configured for the organization
29656
+ * Returns paginated billing alerts configured for the organization
29536
29657
  * @summary Get billing alerts
29658
+ * @param {number} [page] Page number (default: 1)
29659
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29660
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29661
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29537
29662
  * @param {*} [options] Override http request option.
29538
29663
  * @throws {RequiredError}
29539
29664
  */
29540
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
29541
- return localVarFp.adminBillingAlertsGet(options).then((request) => request(axios, basePath));
29665
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
29666
+ return localVarFp.adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
29542
29667
  },
29543
29668
  /**
29544
29669
  * Deletes a billing alert configuration
@@ -29855,14 +29980,18 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
29855
29980
  */
29856
29981
  export class BillingDashboardApi extends BaseAPI {
29857
29982
  /**
29858
- * Returns all billing alerts configured for the organization
29983
+ * Returns paginated billing alerts configured for the organization
29859
29984
  * @summary Get billing alerts
29985
+ * @param {number} [page] Page number (default: 1)
29986
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
29987
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
29988
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
29860
29989
  * @param {*} [options] Override http request option.
29861
29990
  * @throws {RequiredError}
29862
29991
  * @memberof BillingDashboardApi
29863
29992
  */
29864
- public adminBillingAlertsGet(options?: RawAxiosRequestConfig) {
29865
- return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(options).then((request) => request(this.axios, this.basePath));
29993
+ public adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
29994
+ return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
29866
29995
  }
29867
29996
 
29868
29997
  /**
package/dist/api.d.ts CHANGED
@@ -12196,6 +12196,97 @@ export interface DataTypesLimitsListResponse {
12196
12196
  */
12197
12197
  'status'?: number;
12198
12198
  }
12199
+ /**
12200
+ *
12201
+ * @export
12202
+ * @interface DataTypesLoginAudit
12203
+ */
12204
+ export interface DataTypesLoginAudit {
12205
+ /**
12206
+ *
12207
+ * @type {string}
12208
+ * @memberof DataTypesLoginAudit
12209
+ */
12210
+ 'browser'?: string;
12211
+ /**
12212
+ *
12213
+ * @type {number}
12214
+ * @memberof DataTypesLoginAudit
12215
+ */
12216
+ 'createdBy'?: number;
12217
+ /**
12218
+ *
12219
+ * @type {string}
12220
+ * @memberof DataTypesLoginAudit
12221
+ */
12222
+ 'deviceName'?: string;
12223
+ /**
12224
+ *
12225
+ * @type {string}
12226
+ * @memberof DataTypesLoginAudit
12227
+ */
12228
+ 'failureReason'?: string;
12229
+ /**
12230
+ *
12231
+ * @type {string}
12232
+ * @memberof DataTypesLoginAudit
12233
+ */
12234
+ 'ipaddress'?: string;
12235
+ /**
12236
+ *
12237
+ * @type {string}
12238
+ * @memberof DataTypesLoginAudit
12239
+ */
12240
+ 'location'?: string;
12241
+ /**
12242
+ *
12243
+ * @type {number}
12244
+ * @memberof DataTypesLoginAudit
12245
+ */
12246
+ 'logID'?: number;
12247
+ /**
12248
+ *
12249
+ * @type {string}
12250
+ * @memberof DataTypesLoginAudit
12251
+ */
12252
+ 'loginTime'?: string;
12253
+ /**
12254
+ *
12255
+ * @type {string}
12256
+ * @memberof DataTypesLoginAudit
12257
+ */
12258
+ 'loginType'?: string;
12259
+ /**
12260
+ *
12261
+ * @type {string}
12262
+ * @memberof DataTypesLoginAudit
12263
+ */
12264
+ 'os'?: string;
12265
+ /**
12266
+ *
12267
+ * @type {string}
12268
+ * @memberof DataTypesLoginAudit
12269
+ */
12270
+ 'sessionID'?: string;
12271
+ /**
12272
+ *
12273
+ * @type {string}
12274
+ * @memberof DataTypesLoginAudit
12275
+ */
12276
+ 'status'?: string;
12277
+ /**
12278
+ *
12279
+ * @type {string}
12280
+ * @memberof DataTypesLoginAudit
12281
+ */
12282
+ 'userAgent'?: string;
12283
+ /**
12284
+ *
12285
+ * @type {number}
12286
+ * @memberof DataTypesLoginAudit
12287
+ */
12288
+ 'userID'?: number;
12289
+ }
12199
12290
  /**
12200
12291
  *
12201
12292
  * @export
@@ -14809,6 +14900,12 @@ export interface DataTypesProfileResponse {
14809
14900
  * @memberof DataTypesProfileResponse
14810
14901
  */
14811
14902
  'has_password'?: boolean;
14903
+ /**
14904
+ *
14905
+ * @type {Array<DataTypesLoginAudit>}
14906
+ * @memberof DataTypesProfileResponse
14907
+ */
14908
+ 'last_logins'?: Array<DataTypesLoginAudit>;
14812
14909
  /**
14813
14910
  *
14814
14911
  * @type {string}
@@ -20391,7 +20488,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
20391
20488
  */
20392
20489
  accountSettingsPasswordPut: (dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20393
20490
  /**
20394
- * Retrieves the profile of the currently logged-in user
20491
+ * Retrieves the full profile of the currently logged-in user including last login history
20395
20492
  * @summary Retrieve user profile
20396
20493
  * @param {*} [options] Override http request option.
20397
20494
  * @throws {RequiredError}
@@ -20458,7 +20555,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
20458
20555
  */
20459
20556
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
20460
20557
  /**
20461
- * Retrieves the profile of the currently logged-in user
20558
+ * Retrieves the full profile of the currently logged-in user including last login history
20462
20559
  * @summary Retrieve user profile
20463
20560
  * @param {*} [options] Override http request option.
20464
20561
  * @throws {RequiredError}
@@ -20525,7 +20622,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
20525
20622
  */
20526
20623
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
20527
20624
  /**
20528
- * Retrieves the profile of the currently logged-in user
20625
+ * Retrieves the full profile of the currently logged-in user including last login history
20529
20626
  * @summary Retrieve user profile
20530
20627
  * @param {*} [options] Override http request option.
20531
20628
  * @throws {RequiredError}
@@ -20599,7 +20696,7 @@ export declare class AccountSettingsApi extends BaseAPI {
20599
20696
  */
20600
20697
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
20601
20698
  /**
20602
- * Retrieves the profile of the currently logged-in user
20699
+ * Retrieves the full profile of the currently logged-in user including last login history
20603
20700
  * @summary Retrieve user profile
20604
20701
  * @param {*} [options] Override http request option.
20605
20702
  * @throws {RequiredError}
@@ -24097,12 +24194,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24097
24194
  */
24098
24195
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24099
24196
  /**
24100
- * Returns all billing alerts configured for the organization
24197
+ * Returns paginated billing alerts configured for the organization
24101
24198
  * @summary Get billing alerts
24199
+ * @param {number} [page] Page number (default: 1)
24200
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24201
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24202
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24102
24203
  * @param {*} [options] Override http request option.
24103
24204
  * @throws {RequiredError}
24104
24205
  */
24105
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24206
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24106
24207
  /**
24107
24208
  * Deletes a billing alert configuration
24108
24209
  * @summary Delete billing alert
@@ -24362,12 +24463,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24362
24463
  */
24363
24464
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24364
24465
  /**
24365
- * Returns all billing alerts configured for the organization
24466
+ * Returns paginated billing alerts configured for the organization
24366
24467
  * @summary Get billing alerts
24468
+ * @param {number} [page] Page number (default: 1)
24469
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24470
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24471
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24367
24472
  * @param {*} [options] Override http request option.
24368
24473
  * @throws {RequiredError}
24369
24474
  */
24370
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24475
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24371
24476
  /**
24372
24477
  * Deletes a billing alert configuration
24373
24478
  * @summary Delete billing alert
@@ -24627,12 +24732,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24627
24732
  */
24628
24733
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24629
24734
  /**
24630
- * Returns all billing alerts configured for the organization
24735
+ * Returns paginated billing alerts configured for the organization
24631
24736
  * @summary Get billing alerts
24737
+ * @param {number} [page] Page number (default: 1)
24738
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24739
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24740
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24632
24741
  * @param {*} [options] Override http request option.
24633
24742
  * @throws {RequiredError}
24634
24743
  */
24635
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24744
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24636
24745
  /**
24637
24746
  * Deletes a billing alert configuration
24638
24747
  * @summary Delete billing alert
@@ -24894,13 +25003,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24894
25003
  */
24895
25004
  export declare class BillingDashboardApi extends BaseAPI {
24896
25005
  /**
24897
- * Returns all billing alerts configured for the organization
25006
+ * Returns paginated billing alerts configured for the organization
24898
25007
  * @summary Get billing alerts
25008
+ * @param {number} [page] Page number (default: 1)
25009
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
25010
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
25011
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24899
25012
  * @param {*} [options] Override http request option.
24900
25013
  * @throws {RequiredError}
24901
25014
  * @memberof BillingDashboardApi
24902
25015
  */
24903
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25016
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24904
25017
  /**
24905
25018
  * Deletes a billing alert configuration
24906
25019
  * @summary Delete billing alert
package/dist/api.js CHANGED
@@ -697,7 +697,7 @@ const AccountSettingsApiAxiosParamCreator = function (configuration) {
697
697
  };
698
698
  }),
699
699
  /**
700
- * Retrieves the profile of the currently logged-in user
700
+ * Retrieves the full profile of the currently logged-in user including last login history
701
701
  * @summary Retrieve user profile
702
702
  * @param {*} [options] Override http request option.
703
703
  * @throws {RequiredError}
@@ -876,7 +876,7 @@ const AccountSettingsApiFp = function (configuration) {
876
876
  });
877
877
  },
878
878
  /**
879
- * Retrieves the profile of the currently logged-in user
879
+ * Retrieves the full profile of the currently logged-in user including last login history
880
880
  * @summary Retrieve user profile
881
881
  * @param {*} [options] Override http request option.
882
882
  * @throws {RequiredError}
@@ -981,7 +981,7 @@ const AccountSettingsApiFactory = function (configuration, basePath, axios) {
981
981
  return localVarFp.accountSettingsPasswordPut(dataTypesUpdatePasswordRequest, options).then((request) => request(axios, basePath));
982
982
  },
983
983
  /**
984
- * Retrieves the profile of the currently logged-in user
984
+ * Retrieves the full profile of the currently logged-in user including last login history
985
985
  * @summary Retrieve user profile
986
986
  * @param {*} [options] Override http request option.
987
987
  * @throws {RequiredError}
@@ -1073,7 +1073,7 @@ class AccountSettingsApi extends base_1.BaseAPI {
1073
1073
  return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsPasswordPut(dataTypesUpdatePasswordRequest, options).then((request) => request(this.axios, this.basePath));
1074
1074
  }
1075
1075
  /**
1076
- * Retrieves the profile of the currently logged-in user
1076
+ * Retrieves the full profile of the currently logged-in user including last login history
1077
1077
  * @summary Retrieve user profile
1078
1078
  * @param {*} [options] Override http request option.
1079
1079
  * @throws {RequiredError}
@@ -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
@@ -12196,6 +12196,97 @@ export interface DataTypesLimitsListResponse {
12196
12196
  */
12197
12197
  'status'?: number;
12198
12198
  }
12199
+ /**
12200
+ *
12201
+ * @export
12202
+ * @interface DataTypesLoginAudit
12203
+ */
12204
+ export interface DataTypesLoginAudit {
12205
+ /**
12206
+ *
12207
+ * @type {string}
12208
+ * @memberof DataTypesLoginAudit
12209
+ */
12210
+ 'browser'?: string;
12211
+ /**
12212
+ *
12213
+ * @type {number}
12214
+ * @memberof DataTypesLoginAudit
12215
+ */
12216
+ 'createdBy'?: number;
12217
+ /**
12218
+ *
12219
+ * @type {string}
12220
+ * @memberof DataTypesLoginAudit
12221
+ */
12222
+ 'deviceName'?: string;
12223
+ /**
12224
+ *
12225
+ * @type {string}
12226
+ * @memberof DataTypesLoginAudit
12227
+ */
12228
+ 'failureReason'?: string;
12229
+ /**
12230
+ *
12231
+ * @type {string}
12232
+ * @memberof DataTypesLoginAudit
12233
+ */
12234
+ 'ipaddress'?: string;
12235
+ /**
12236
+ *
12237
+ * @type {string}
12238
+ * @memberof DataTypesLoginAudit
12239
+ */
12240
+ 'location'?: string;
12241
+ /**
12242
+ *
12243
+ * @type {number}
12244
+ * @memberof DataTypesLoginAudit
12245
+ */
12246
+ 'logID'?: number;
12247
+ /**
12248
+ *
12249
+ * @type {string}
12250
+ * @memberof DataTypesLoginAudit
12251
+ */
12252
+ 'loginTime'?: string;
12253
+ /**
12254
+ *
12255
+ * @type {string}
12256
+ * @memberof DataTypesLoginAudit
12257
+ */
12258
+ 'loginType'?: string;
12259
+ /**
12260
+ *
12261
+ * @type {string}
12262
+ * @memberof DataTypesLoginAudit
12263
+ */
12264
+ 'os'?: string;
12265
+ /**
12266
+ *
12267
+ * @type {string}
12268
+ * @memberof DataTypesLoginAudit
12269
+ */
12270
+ 'sessionID'?: string;
12271
+ /**
12272
+ *
12273
+ * @type {string}
12274
+ * @memberof DataTypesLoginAudit
12275
+ */
12276
+ 'status'?: string;
12277
+ /**
12278
+ *
12279
+ * @type {string}
12280
+ * @memberof DataTypesLoginAudit
12281
+ */
12282
+ 'userAgent'?: string;
12283
+ /**
12284
+ *
12285
+ * @type {number}
12286
+ * @memberof DataTypesLoginAudit
12287
+ */
12288
+ 'userID'?: number;
12289
+ }
12199
12290
  /**
12200
12291
  *
12201
12292
  * @export
@@ -14809,6 +14900,12 @@ export interface DataTypesProfileResponse {
14809
14900
  * @memberof DataTypesProfileResponse
14810
14901
  */
14811
14902
  'has_password'?: boolean;
14903
+ /**
14904
+ *
14905
+ * @type {Array<DataTypesLoginAudit>}
14906
+ * @memberof DataTypesProfileResponse
14907
+ */
14908
+ 'last_logins'?: Array<DataTypesLoginAudit>;
14812
14909
  /**
14813
14910
  *
14814
14911
  * @type {string}
@@ -20391,7 +20488,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
20391
20488
  */
20392
20489
  accountSettingsPasswordPut: (dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20393
20490
  /**
20394
- * Retrieves the profile of the currently logged-in user
20491
+ * Retrieves the full profile of the currently logged-in user including last login history
20395
20492
  * @summary Retrieve user profile
20396
20493
  * @param {*} [options] Override http request option.
20397
20494
  * @throws {RequiredError}
@@ -20458,7 +20555,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
20458
20555
  */
20459
20556
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
20460
20557
  /**
20461
- * Retrieves the profile of the currently logged-in user
20558
+ * Retrieves the full profile of the currently logged-in user including last login history
20462
20559
  * @summary Retrieve user profile
20463
20560
  * @param {*} [options] Override http request option.
20464
20561
  * @throws {RequiredError}
@@ -20525,7 +20622,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
20525
20622
  */
20526
20623
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
20527
20624
  /**
20528
- * Retrieves the profile of the currently logged-in user
20625
+ * Retrieves the full profile of the currently logged-in user including last login history
20529
20626
  * @summary Retrieve user profile
20530
20627
  * @param {*} [options] Override http request option.
20531
20628
  * @throws {RequiredError}
@@ -20599,7 +20696,7 @@ export declare class AccountSettingsApi extends BaseAPI {
20599
20696
  */
20600
20697
  accountSettingsPasswordPut(dataTypesUpdatePasswordRequest: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
20601
20698
  /**
20602
- * Retrieves the profile of the currently logged-in user
20699
+ * Retrieves the full profile of the currently logged-in user including last login history
20603
20700
  * @summary Retrieve user profile
20604
20701
  * @param {*} [options] Override http request option.
20605
20702
  * @throws {RequiredError}
@@ -24097,12 +24194,16 @@ export declare class AutomatedRefundManagementApi extends BaseAPI {
24097
24194
  */
24098
24195
  export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Configuration) => {
24099
24196
  /**
24100
- * Returns all billing alerts configured for the organization
24197
+ * Returns paginated billing alerts configured for the organization
24101
24198
  * @summary Get billing alerts
24199
+ * @param {number} [page] Page number (default: 1)
24200
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24201
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24202
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24102
24203
  * @param {*} [options] Override http request option.
24103
24204
  * @throws {RequiredError}
24104
24205
  */
24105
- adminBillingAlertsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24206
+ adminBillingAlertsGet: (page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24106
24207
  /**
24107
24208
  * Deletes a billing alert configuration
24108
24209
  * @summary Delete billing alert
@@ -24362,12 +24463,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24362
24463
  */
24363
24464
  export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24364
24465
  /**
24365
- * Returns all billing alerts configured for the organization
24466
+ * Returns paginated billing alerts configured for the organization
24366
24467
  * @summary Get billing alerts
24468
+ * @param {number} [page] Page number (default: 1)
24469
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24470
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24471
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24367
24472
  * @param {*} [options] Override http request option.
24368
24473
  * @throws {RequiredError}
24369
24474
  */
24370
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24475
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24371
24476
  /**
24372
24477
  * Deletes a billing alert configuration
24373
24478
  * @summary Delete billing alert
@@ -24627,12 +24732,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24627
24732
  */
24628
24733
  export declare const BillingDashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24629
24734
  /**
24630
- * Returns all billing alerts configured for the organization
24735
+ * Returns paginated billing alerts configured for the organization
24631
24736
  * @summary Get billing alerts
24737
+ * @param {number} [page] Page number (default: 1)
24738
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
24739
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
24740
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24632
24741
  * @param {*} [options] Override http request option.
24633
24742
  * @throws {RequiredError}
24634
24743
  */
24635
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24744
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24636
24745
  /**
24637
24746
  * Deletes a billing alert configuration
24638
24747
  * @summary Delete billing alert
@@ -24894,13 +25003,17 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24894
25003
  */
24895
25004
  export declare class BillingDashboardApi extends BaseAPI {
24896
25005
  /**
24897
- * Returns all billing alerts configured for the organization
25006
+ * Returns paginated billing alerts configured for the organization
24898
25007
  * @summary Get billing alerts
25008
+ * @param {number} [page] Page number (default: 1)
25009
+ * @param {number} [pageSize] Page size (default: 50, max: 100)
25010
+ * @param {number} [limit] Alternative: Number of results (default: 50, max: 100)
25011
+ * @param {number} [offset] Alternative: Number of results to skip (default: 0)
24899
25012
  * @param {*} [options] Override http request option.
24900
25013
  * @throws {RequiredError}
24901
25014
  * @memberof BillingDashboardApi
24902
25015
  */
24903
- adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25016
+ adminBillingAlertsGet(page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24904
25017
  /**
24905
25018
  * Deletes a billing alert configuration
24906
25019
  * @summary Delete billing alert
package/dist/esm/api.js CHANGED
@@ -685,7 +685,7 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration) {
685
685
  };
686
686
  }),
687
687
  /**
688
- * Retrieves the profile of the currently logged-in user
688
+ * Retrieves the full profile of the currently logged-in user including last login history
689
689
  * @summary Retrieve user profile
690
690
  * @param {*} [options] Override http request option.
691
691
  * @throws {RequiredError}
@@ -863,7 +863,7 @@ export const AccountSettingsApiFp = function (configuration) {
863
863
  });
864
864
  },
865
865
  /**
866
- * Retrieves the profile of the currently logged-in user
866
+ * Retrieves the full profile of the currently logged-in user including last login history
867
867
  * @summary Retrieve user profile
868
868
  * @param {*} [options] Override http request option.
869
869
  * @throws {RequiredError}
@@ -967,7 +967,7 @@ export const AccountSettingsApiFactory = function (configuration, basePath, axio
967
967
  return localVarFp.accountSettingsPasswordPut(dataTypesUpdatePasswordRequest, options).then((request) => request(axios, basePath));
968
968
  },
969
969
  /**
970
- * Retrieves the profile of the currently logged-in user
970
+ * Retrieves the full profile of the currently logged-in user including last login history
971
971
  * @summary Retrieve user profile
972
972
  * @param {*} [options] Override http request option.
973
973
  * @throws {RequiredError}
@@ -1058,7 +1058,7 @@ export class AccountSettingsApi extends BaseAPI {
1058
1058
  return AccountSettingsApiFp(this.configuration).accountSettingsPasswordPut(dataTypesUpdatePasswordRequest, options).then((request) => request(this.axios, this.basePath));
1059
1059
  }
1060
1060
  /**
1061
- * Retrieves the profile of the currently logged-in user
1061
+ * Retrieves the full profile of the currently logged-in user including last login history
1062
1062
  * @summary Retrieve user profile
1063
1063
  * @param {*} [options] Override http request option.
1064
1064
  * @throws {RequiredError}
@@ -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.5",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file