@takaro/apiclient 0.0.0-dev.f6aee21 → 0.0.0-dev.f73f948
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/dist/generated/api.d.ts +118 -9
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +65 -8
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +159 -9
package/dist/generated/api.js
CHANGED
|
@@ -1435,7 +1435,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
},
|
|
1437
1437
|
/**
|
|
1438
|
-
* Normalized 0-1 scores across
|
|
1438
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1439
1439
|
* @summary Get module health scores
|
|
1440
1440
|
* @param {string} [startDate]
|
|
1441
1441
|
* @param {string} [endDate]
|
|
@@ -2326,7 +2326,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2326
2326
|
},
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2329
|
-
* @summary Get top modules by
|
|
2329
|
+
* @summary Get top modules by execution volume
|
|
2330
2330
|
* @param {string} [startDate]
|
|
2331
2331
|
* @param {string} [endDate]
|
|
2332
2332
|
* @param {string} [gameServerId]
|
|
@@ -2611,7 +2611,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2611
2611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2612
2612
|
},
|
|
2613
2613
|
/**
|
|
2614
|
-
* Normalized 0-1 scores across
|
|
2614
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2615
2615
|
* @summary Get module health scores
|
|
2616
2616
|
* @param {string} [startDate]
|
|
2617
2617
|
* @param {string} [endDate]
|
|
@@ -2956,7 +2956,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2956
2956
|
},
|
|
2957
2957
|
/**
|
|
2958
2958
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2959
|
-
* @summary Get top modules by
|
|
2959
|
+
* @summary Get top modules by execution volume
|
|
2960
2960
|
* @param {string} [startDate]
|
|
2961
2961
|
* @param {string} [endDate]
|
|
2962
2962
|
* @param {string} [gameServerId]
|
|
@@ -3172,7 +3172,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3172
3172
|
.then((request) => request(axios, basePath));
|
|
3173
3173
|
},
|
|
3174
3174
|
/**
|
|
3175
|
-
* Normalized 0-1 scores across
|
|
3175
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3176
3176
|
* @summary Get module health scores
|
|
3177
3177
|
* @param {string} [startDate]
|
|
3178
3178
|
* @param {string} [endDate]
|
|
@@ -3489,7 +3489,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3489
3489
|
},
|
|
3490
3490
|
/**
|
|
3491
3491
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3492
|
-
* @summary Get top modules by
|
|
3492
|
+
* @summary Get top modules by execution volume
|
|
3493
3493
|
* @param {string} [startDate]
|
|
3494
3494
|
* @param {string} [endDate]
|
|
3495
3495
|
* @param {string} [gameServerId]
|
|
@@ -3716,7 +3716,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3716
3716
|
.then((request) => request(this.axios, this.basePath));
|
|
3717
3717
|
}
|
|
3718
3718
|
/**
|
|
3719
|
-
* Normalized 0-1 scores across
|
|
3719
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3720
3720
|
* @summary Get module health scores
|
|
3721
3721
|
* @param {string} [startDate]
|
|
3722
3722
|
* @param {string} [endDate]
|
|
@@ -4054,7 +4054,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
4054
4054
|
}
|
|
4055
4055
|
/**
|
|
4056
4056
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
4057
|
-
* @summary Get top modules by
|
|
4057
|
+
* @summary Get top modules by execution volume
|
|
4058
4058
|
* @param {string} [startDate]
|
|
4059
4059
|
* @param {string} [endDate]
|
|
4060
4060
|
* @param {string} [gameServerId]
|
|
@@ -17474,6 +17474,30 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
17474
17474
|
options: localVarRequestOptions,
|
|
17475
17475
|
};
|
|
17476
17476
|
},
|
|
17477
|
+
/**
|
|
17478
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17479
|
+
* @summary Count billable dashboard users
|
|
17480
|
+
* @param {*} [options] Override http request option.
|
|
17481
|
+
* @throws {RequiredError}
|
|
17482
|
+
*/
|
|
17483
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
17484
|
+
const localVarPath = `/user/count`;
|
|
17485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17486
|
+
let baseOptions;
|
|
17487
|
+
if (configuration) {
|
|
17488
|
+
baseOptions = configuration.baseOptions;
|
|
17489
|
+
}
|
|
17490
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17491
|
+
const localVarHeaderParameter = {};
|
|
17492
|
+
const localVarQueryParameter = {};
|
|
17493
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17494
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17495
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17496
|
+
return {
|
|
17497
|
+
url: toPathString(localVarUrlObj),
|
|
17498
|
+
options: localVarRequestOptions,
|
|
17499
|
+
};
|
|
17500
|
+
},
|
|
17477
17501
|
/**
|
|
17478
17502
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17479
17503
|
* @summary Create
|
|
@@ -17874,6 +17898,18 @@ export const UserApiFp = function (configuration) {
|
|
|
17874
17898
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
17875
17899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17876
17900
|
},
|
|
17901
|
+
/**
|
|
17902
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17903
|
+
* @summary Count billable dashboard users
|
|
17904
|
+
* @param {*} [options] Override http request option.
|
|
17905
|
+
* @throws {RequiredError}
|
|
17906
|
+
*/
|
|
17907
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
17908
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
17909
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17910
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
17911
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17912
|
+
},
|
|
17877
17913
|
/**
|
|
17878
17914
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
17879
17915
|
* @summary Create
|
|
@@ -18065,6 +18101,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
18065
18101
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18066
18102
|
.then((request) => request(axios, basePath));
|
|
18067
18103
|
},
|
|
18104
|
+
/**
|
|
18105
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18106
|
+
* @summary Count billable dashboard users
|
|
18107
|
+
* @param {*} [options] Override http request option.
|
|
18108
|
+
* @throws {RequiredError}
|
|
18109
|
+
*/
|
|
18110
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18111
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18112
|
+
},
|
|
18068
18113
|
/**
|
|
18069
18114
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18070
18115
|
* @summary Create
|
|
@@ -18220,6 +18265,18 @@ export class UserApi extends BaseAPI {
|
|
|
18220
18265
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
18221
18266
|
.then((request) => request(this.axios, this.basePath));
|
|
18222
18267
|
}
|
|
18268
|
+
/**
|
|
18269
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18270
|
+
* @summary Count billable dashboard users
|
|
18271
|
+
* @param {*} [options] Override http request option.
|
|
18272
|
+
* @throws {RequiredError}
|
|
18273
|
+
* @memberof UserApi
|
|
18274
|
+
*/
|
|
18275
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18276
|
+
return UserApiFp(this.configuration)
|
|
18277
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18278
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18279
|
+
}
|
|
18223
18280
|
/**
|
|
18224
18281
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
18225
18282
|
* @summary Create
|