@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/package.json
CHANGED
package/src/generated/api.ts
CHANGED
|
@@ -2264,6 +2264,18 @@ export interface DomainCreateInputDTO {
|
|
|
2264
2264
|
* @memberof DomainCreateInputDTO
|
|
2265
2265
|
*/
|
|
2266
2266
|
maxFunctionsInModule?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {number}
|
|
2270
|
+
* @memberof DomainCreateInputDTO
|
|
2271
|
+
*/
|
|
2272
|
+
maxCustomRoles?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {number}
|
|
2276
|
+
* @memberof DomainCreateInputDTO
|
|
2277
|
+
*/
|
|
2278
|
+
maxDiscordLinkedRoles?: number;
|
|
2267
2279
|
}
|
|
2268
2280
|
|
|
2269
2281
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2434,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2434
|
* @memberof DomainOutputDTO
|
|
2423
2435
|
*/
|
|
2424
2436
|
maxFunctionsInModule: number;
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @type {number}
|
|
2440
|
+
* @memberof DomainOutputDTO
|
|
2441
|
+
*/
|
|
2442
|
+
maxCustomRoles: number;
|
|
2443
|
+
/**
|
|
2444
|
+
*
|
|
2445
|
+
* @type {number}
|
|
2446
|
+
* @memberof DomainOutputDTO
|
|
2447
|
+
*/
|
|
2448
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2449
|
/**
|
|
2426
2450
|
*
|
|
2427
2451
|
* @type {string}
|
|
@@ -2653,6 +2677,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2677
|
* @memberof DomainUpdateInputDTO
|
|
2654
2678
|
*/
|
|
2655
2679
|
maxFunctionsInModule?: number;
|
|
2680
|
+
/**
|
|
2681
|
+
*
|
|
2682
|
+
* @type {number}
|
|
2683
|
+
* @memberof DomainUpdateInputDTO
|
|
2684
|
+
*/
|
|
2685
|
+
maxCustomRoles?: number;
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @type {number}
|
|
2689
|
+
* @memberof DomainUpdateInputDTO
|
|
2690
|
+
*/
|
|
2691
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2692
|
}
|
|
2657
2693
|
|
|
2658
2694
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -13360,7 +13396,7 @@ export interface RoleUpdateInputDTO {
|
|
|
13360
13396
|
* @type {string}
|
|
13361
13397
|
* @memberof RoleUpdateInputDTO
|
|
13362
13398
|
*/
|
|
13363
|
-
linkedDiscordRoleId?: string;
|
|
13399
|
+
linkedDiscordRoleId?: string | null;
|
|
13364
13400
|
}
|
|
13365
13401
|
/**
|
|
13366
13402
|
*
|
|
@@ -17569,6 +17605,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
17569
17605
|
*/
|
|
17570
17606
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17571
17607
|
}
|
|
17608
|
+
/**
|
|
17609
|
+
*
|
|
17610
|
+
* @export
|
|
17611
|
+
* @interface UserCountOutputDTO
|
|
17612
|
+
*/
|
|
17613
|
+
export interface UserCountOutputDTO {
|
|
17614
|
+
/**
|
|
17615
|
+
*
|
|
17616
|
+
* @type {number}
|
|
17617
|
+
* @memberof UserCountOutputDTO
|
|
17618
|
+
*/
|
|
17619
|
+
count: number;
|
|
17620
|
+
}
|
|
17621
|
+
/**
|
|
17622
|
+
*
|
|
17623
|
+
* @export
|
|
17624
|
+
* @interface UserCountOutputDTOAPI
|
|
17625
|
+
*/
|
|
17626
|
+
export interface UserCountOutputDTOAPI {
|
|
17627
|
+
/**
|
|
17628
|
+
*
|
|
17629
|
+
* @type {UserCountOutputDTO}
|
|
17630
|
+
* @memberof UserCountOutputDTOAPI
|
|
17631
|
+
*/
|
|
17632
|
+
data: UserCountOutputDTO;
|
|
17633
|
+
/**
|
|
17634
|
+
*
|
|
17635
|
+
* @type {MetadataOutput}
|
|
17636
|
+
* @memberof UserCountOutputDTOAPI
|
|
17637
|
+
*/
|
|
17638
|
+
meta: MetadataOutput;
|
|
17639
|
+
}
|
|
17572
17640
|
/**
|
|
17573
17641
|
*
|
|
17574
17642
|
* @export
|
|
@@ -17716,6 +17784,12 @@ export interface UserOutputDTO {
|
|
|
17716
17784
|
* @memberof UserOutputDTO
|
|
17717
17785
|
*/
|
|
17718
17786
|
isDashboardUser: boolean;
|
|
17787
|
+
/**
|
|
17788
|
+
*
|
|
17789
|
+
* @type {boolean}
|
|
17790
|
+
* @memberof UserOutputDTO
|
|
17791
|
+
*/
|
|
17792
|
+
isSupportAccount: boolean;
|
|
17719
17793
|
/**
|
|
17720
17794
|
*
|
|
17721
17795
|
* @type {string}
|
|
@@ -17838,6 +17912,12 @@ export interface UserOutputWithRolesDTO {
|
|
|
17838
17912
|
* @memberof UserOutputWithRolesDTO
|
|
17839
17913
|
*/
|
|
17840
17914
|
isDashboardUser: boolean;
|
|
17915
|
+
/**
|
|
17916
|
+
*
|
|
17917
|
+
* @type {boolean}
|
|
17918
|
+
* @memberof UserOutputWithRolesDTO
|
|
17919
|
+
*/
|
|
17920
|
+
isSupportAccount: boolean;
|
|
17841
17921
|
/**
|
|
17842
17922
|
*
|
|
17843
17923
|
* @type {string}
|
|
@@ -19069,7 +19149,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19069
19149
|
};
|
|
19070
19150
|
},
|
|
19071
19151
|
/**
|
|
19072
|
-
* Normalized 0-1 scores across
|
|
19152
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19073
19153
|
* @summary Get module health scores
|
|
19074
19154
|
* @param {string} [startDate]
|
|
19075
19155
|
* @param {string} [endDate]
|
|
@@ -20256,7 +20336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20256
20336
|
},
|
|
20257
20337
|
/**
|
|
20258
20338
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20259
|
-
* @summary Get top modules by
|
|
20339
|
+
* @summary Get top modules by execution volume
|
|
20260
20340
|
* @param {string} [startDate]
|
|
20261
20341
|
* @param {string} [endDate]
|
|
20262
20342
|
* @param {string} [gameServerId]
|
|
@@ -20790,7 +20870,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20790
20870
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20791
20871
|
},
|
|
20792
20872
|
/**
|
|
20793
|
-
* Normalized 0-1 scores across
|
|
20873
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20794
20874
|
* @summary Get module health scores
|
|
20795
20875
|
* @param {string} [startDate]
|
|
20796
20876
|
* @param {string} [endDate]
|
|
@@ -21542,7 +21622,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
21542
21622
|
},
|
|
21543
21623
|
/**
|
|
21544
21624
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21545
|
-
* @summary Get top modules by
|
|
21625
|
+
* @summary Get top modules by execution volume
|
|
21546
21626
|
* @param {string} [startDate]
|
|
21547
21627
|
* @param {string} [endDate]
|
|
21548
21628
|
* @param {string} [gameServerId]
|
|
@@ -21864,7 +21944,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21864
21944
|
.then((request) => request(axios, basePath));
|
|
21865
21945
|
},
|
|
21866
21946
|
/**
|
|
21867
|
-
* Normalized 0-1 scores across
|
|
21947
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21868
21948
|
* @summary Get module health scores
|
|
21869
21949
|
* @param {string} [startDate]
|
|
21870
21950
|
* @param {string} [endDate]
|
|
@@ -22308,7 +22388,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
22308
22388
|
},
|
|
22309
22389
|
/**
|
|
22310
22390
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22311
|
-
* @summary Get top modules by
|
|
22391
|
+
* @summary Get top modules by execution volume
|
|
22312
22392
|
* @param {string} [startDate]
|
|
22313
22393
|
* @param {string} [endDate]
|
|
22314
22394
|
* @param {string} [gameServerId]
|
|
@@ -22627,7 +22707,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22627
22707
|
}
|
|
22628
22708
|
|
|
22629
22709
|
/**
|
|
22630
|
-
* Normalized 0-1 scores across
|
|
22710
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
22631
22711
|
* @summary Get module health scores
|
|
22632
22712
|
* @param {string} [startDate]
|
|
22633
22713
|
* @param {string} [endDate]
|
|
@@ -23113,7 +23193,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
23113
23193
|
|
|
23114
23194
|
/**
|
|
23115
23195
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
23116
|
-
* @summary Get top modules by
|
|
23196
|
+
* @summary Get top modules by execution volume
|
|
23117
23197
|
* @param {string} [startDate]
|
|
23118
23198
|
* @param {string} [endDate]
|
|
23119
23199
|
* @param {string} [gameServerId]
|
|
@@ -41047,6 +41127,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41047
41127
|
options: localVarRequestOptions,
|
|
41048
41128
|
};
|
|
41049
41129
|
},
|
|
41130
|
+
/**
|
|
41131
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41132
|
+
* @summary Count billable dashboard users
|
|
41133
|
+
* @param {*} [options] Override http request option.
|
|
41134
|
+
* @throws {RequiredError}
|
|
41135
|
+
*/
|
|
41136
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41137
|
+
const localVarPath = `/user/count`;
|
|
41138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41139
|
+
let baseOptions;
|
|
41140
|
+
if (configuration) {
|
|
41141
|
+
baseOptions = configuration.baseOptions;
|
|
41142
|
+
}
|
|
41143
|
+
|
|
41144
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41145
|
+
const localVarHeaderParameter = {} as any;
|
|
41146
|
+
const localVarQueryParameter = {} as any;
|
|
41147
|
+
|
|
41148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41149
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41150
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41151
|
+
|
|
41152
|
+
return {
|
|
41153
|
+
url: toPathString(localVarUrlObj),
|
|
41154
|
+
options: localVarRequestOptions,
|
|
41155
|
+
};
|
|
41156
|
+
},
|
|
41050
41157
|
/**
|
|
41051
41158
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41052
41159
|
* @summary Create
|
|
@@ -41553,6 +41660,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41553
41660
|
configuration,
|
|
41554
41661
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41555
41662
|
},
|
|
41663
|
+
/**
|
|
41664
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41665
|
+
* @summary Count billable dashboard users
|
|
41666
|
+
* @param {*} [options] Override http request option.
|
|
41667
|
+
* @throws {RequiredError}
|
|
41668
|
+
*/
|
|
41669
|
+
async userControllerCountBillableDashboardUsers(
|
|
41670
|
+
options?: RawAxiosRequestConfig,
|
|
41671
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
41672
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
41673
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41674
|
+
const localVarOperationServerBasePath =
|
|
41675
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
41676
|
+
return (axios, basePath) =>
|
|
41677
|
+
createRequestFunction(
|
|
41678
|
+
localVarAxiosArgs,
|
|
41679
|
+
globalAxios,
|
|
41680
|
+
BASE_PATH,
|
|
41681
|
+
configuration,
|
|
41682
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41683
|
+
},
|
|
41556
41684
|
/**
|
|
41557
41685
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41558
41686
|
* @summary Create
|
|
@@ -41882,6 +42010,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41882
42010
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
41883
42011
|
.then((request) => request(axios, basePath));
|
|
41884
42012
|
},
|
|
42013
|
+
/**
|
|
42014
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42015
|
+
* @summary Count billable dashboard users
|
|
42016
|
+
* @param {*} [options] Override http request option.
|
|
42017
|
+
* @throws {RequiredError}
|
|
42018
|
+
*/
|
|
42019
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42020
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42021
|
+
},
|
|
41885
42022
|
/**
|
|
41886
42023
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41887
42024
|
* @summary Create
|
|
@@ -42060,6 +42197,19 @@ export class UserApi extends BaseAPI {
|
|
|
42060
42197
|
.then((request) => request(this.axios, this.basePath));
|
|
42061
42198
|
}
|
|
42062
42199
|
|
|
42200
|
+
/**
|
|
42201
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42202
|
+
* @summary Count billable dashboard users
|
|
42203
|
+
* @param {*} [options] Override http request option.
|
|
42204
|
+
* @throws {RequiredError}
|
|
42205
|
+
* @memberof UserApi
|
|
42206
|
+
*/
|
|
42207
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42208
|
+
return UserApiFp(this.configuration)
|
|
42209
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42210
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42211
|
+
}
|
|
42212
|
+
|
|
42063
42213
|
/**
|
|
42064
42214
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
42065
42215
|
* @summary Create
|