@takaro/apiclient 0.0.0-dev.f2a1b98 → 0.0.0-dev.f545766
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 +141 -11
- 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 +181 -10
package/package.json
CHANGED
package/src/generated/api.ts
CHANGED
|
@@ -14566,6 +14566,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
14566
14566
|
*/
|
|
14567
14567
|
daysSinceLastSale?: number;
|
|
14568
14568
|
}
|
|
14569
|
+
/**
|
|
14570
|
+
*
|
|
14571
|
+
* @export
|
|
14572
|
+
* @interface ShopImportFailureDTO
|
|
14573
|
+
*/
|
|
14574
|
+
export interface ShopImportFailureDTO {
|
|
14575
|
+
/**
|
|
14576
|
+
*
|
|
14577
|
+
* @type {string}
|
|
14578
|
+
* @memberof ShopImportFailureDTO
|
|
14579
|
+
*/
|
|
14580
|
+
name: string;
|
|
14581
|
+
/**
|
|
14582
|
+
*
|
|
14583
|
+
* @type {string}
|
|
14584
|
+
* @memberof ShopImportFailureDTO
|
|
14585
|
+
*/
|
|
14586
|
+
reason: string;
|
|
14587
|
+
}
|
|
14569
14588
|
/**
|
|
14570
14589
|
*
|
|
14571
14590
|
* @export
|
|
@@ -14591,6 +14610,44 @@ export interface ShopImportOptions {
|
|
|
14591
14610
|
*/
|
|
14592
14611
|
gameServerId: string;
|
|
14593
14612
|
}
|
|
14613
|
+
/**
|
|
14614
|
+
*
|
|
14615
|
+
* @export
|
|
14616
|
+
* @interface ShopImportResultDTO
|
|
14617
|
+
*/
|
|
14618
|
+
export interface ShopImportResultDTO {
|
|
14619
|
+
/**
|
|
14620
|
+
*
|
|
14621
|
+
* @type {number}
|
|
14622
|
+
* @memberof ShopImportResultDTO
|
|
14623
|
+
*/
|
|
14624
|
+
imported: number;
|
|
14625
|
+
/**
|
|
14626
|
+
*
|
|
14627
|
+
* @type {Array<ShopImportFailureDTO>}
|
|
14628
|
+
* @memberof ShopImportResultDTO
|
|
14629
|
+
*/
|
|
14630
|
+
failed: Array<ShopImportFailureDTO>;
|
|
14631
|
+
}
|
|
14632
|
+
/**
|
|
14633
|
+
*
|
|
14634
|
+
* @export
|
|
14635
|
+
* @interface ShopImportResultDTOAPI
|
|
14636
|
+
*/
|
|
14637
|
+
export interface ShopImportResultDTOAPI {
|
|
14638
|
+
/**
|
|
14639
|
+
*
|
|
14640
|
+
* @type {ShopImportResultDTO}
|
|
14641
|
+
* @memberof ShopImportResultDTOAPI
|
|
14642
|
+
*/
|
|
14643
|
+
data: ShopImportResultDTO;
|
|
14644
|
+
/**
|
|
14645
|
+
*
|
|
14646
|
+
* @type {MetadataOutput}
|
|
14647
|
+
* @memberof ShopImportResultDTOAPI
|
|
14648
|
+
*/
|
|
14649
|
+
meta: MetadataOutput;
|
|
14650
|
+
}
|
|
14594
14651
|
/**
|
|
14595
14652
|
*
|
|
14596
14653
|
* @export
|
|
@@ -17512,6 +17569,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
17512
17569
|
*/
|
|
17513
17570
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17514
17571
|
}
|
|
17572
|
+
/**
|
|
17573
|
+
*
|
|
17574
|
+
* @export
|
|
17575
|
+
* @interface UserCountOutputDTO
|
|
17576
|
+
*/
|
|
17577
|
+
export interface UserCountOutputDTO {
|
|
17578
|
+
/**
|
|
17579
|
+
*
|
|
17580
|
+
* @type {number}
|
|
17581
|
+
* @memberof UserCountOutputDTO
|
|
17582
|
+
*/
|
|
17583
|
+
count: number;
|
|
17584
|
+
}
|
|
17585
|
+
/**
|
|
17586
|
+
*
|
|
17587
|
+
* @export
|
|
17588
|
+
* @interface UserCountOutputDTOAPI
|
|
17589
|
+
*/
|
|
17590
|
+
export interface UserCountOutputDTOAPI {
|
|
17591
|
+
/**
|
|
17592
|
+
*
|
|
17593
|
+
* @type {UserCountOutputDTO}
|
|
17594
|
+
* @memberof UserCountOutputDTOAPI
|
|
17595
|
+
*/
|
|
17596
|
+
data: UserCountOutputDTO;
|
|
17597
|
+
/**
|
|
17598
|
+
*
|
|
17599
|
+
* @type {MetadataOutput}
|
|
17600
|
+
* @memberof UserCountOutputDTOAPI
|
|
17601
|
+
*/
|
|
17602
|
+
meta: MetadataOutput;
|
|
17603
|
+
}
|
|
17515
17604
|
/**
|
|
17516
17605
|
*
|
|
17517
17606
|
* @export
|
|
@@ -17659,6 +17748,12 @@ export interface UserOutputDTO {
|
|
|
17659
17748
|
* @memberof UserOutputDTO
|
|
17660
17749
|
*/
|
|
17661
17750
|
isDashboardUser: boolean;
|
|
17751
|
+
/**
|
|
17752
|
+
*
|
|
17753
|
+
* @type {boolean}
|
|
17754
|
+
* @memberof UserOutputDTO
|
|
17755
|
+
*/
|
|
17756
|
+
isSupportAccount: boolean;
|
|
17662
17757
|
/**
|
|
17663
17758
|
*
|
|
17664
17759
|
* @type {string}
|
|
@@ -17781,6 +17876,12 @@ export interface UserOutputWithRolesDTO {
|
|
|
17781
17876
|
* @memberof UserOutputWithRolesDTO
|
|
17782
17877
|
*/
|
|
17783
17878
|
isDashboardUser: boolean;
|
|
17879
|
+
/**
|
|
17880
|
+
*
|
|
17881
|
+
* @type {boolean}
|
|
17882
|
+
* @memberof UserOutputWithRolesDTO
|
|
17883
|
+
*/
|
|
17884
|
+
isSupportAccount: boolean;
|
|
17784
17885
|
/**
|
|
17785
17886
|
*
|
|
17786
17887
|
* @type {string}
|
|
@@ -19012,7 +19113,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19012
19113
|
};
|
|
19013
19114
|
},
|
|
19014
19115
|
/**
|
|
19015
|
-
* Normalized 0-1 scores across
|
|
19116
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19016
19117
|
* @summary Get module health scores
|
|
19017
19118
|
* @param {string} [startDate]
|
|
19018
19119
|
* @param {string} [endDate]
|
|
@@ -20199,7 +20300,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20199
20300
|
},
|
|
20200
20301
|
/**
|
|
20201
20302
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20202
|
-
* @summary Get top modules by
|
|
20303
|
+
* @summary Get top modules by execution volume
|
|
20203
20304
|
* @param {string} [startDate]
|
|
20204
20305
|
* @param {string} [endDate]
|
|
20205
20306
|
* @param {string} [gameServerId]
|
|
@@ -20733,7 +20834,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20733
20834
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20734
20835
|
},
|
|
20735
20836
|
/**
|
|
20736
|
-
* Normalized 0-1 scores across
|
|
20837
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20737
20838
|
* @summary Get module health scores
|
|
20738
20839
|
* @param {string} [startDate]
|
|
20739
20840
|
* @param {string} [endDate]
|
|
@@ -21485,7 +21586,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
21485
21586
|
},
|
|
21486
21587
|
/**
|
|
21487
21588
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21488
|
-
* @summary Get top modules by
|
|
21589
|
+
* @summary Get top modules by execution volume
|
|
21489
21590
|
* @param {string} [startDate]
|
|
21490
21591
|
* @param {string} [endDate]
|
|
21491
21592
|
* @param {string} [gameServerId]
|
|
@@ -21807,7 +21908,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21807
21908
|
.then((request) => request(axios, basePath));
|
|
21808
21909
|
},
|
|
21809
21910
|
/**
|
|
21810
|
-
* Normalized 0-1 scores across
|
|
21911
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21811
21912
|
* @summary Get module health scores
|
|
21812
21913
|
* @param {string} [startDate]
|
|
21813
21914
|
* @param {string} [endDate]
|
|
@@ -22251,7 +22352,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
22251
22352
|
},
|
|
22252
22353
|
/**
|
|
22253
22354
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22254
|
-
* @summary Get top modules by
|
|
22355
|
+
* @summary Get top modules by execution volume
|
|
22255
22356
|
* @param {string} [startDate]
|
|
22256
22357
|
* @param {string} [endDate]
|
|
22257
22358
|
* @param {string} [gameServerId]
|
|
@@ -22570,7 +22671,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22570
22671
|
}
|
|
22571
22672
|
|
|
22572
22673
|
/**
|
|
22573
|
-
* Normalized 0-1 scores across
|
|
22674
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
22574
22675
|
* @summary Get module health scores
|
|
22575
22676
|
* @param {string} [startDate]
|
|
22576
22677
|
* @param {string} [endDate]
|
|
@@ -23056,7 +23157,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
23056
23157
|
|
|
23057
23158
|
/**
|
|
23058
23159
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
23059
|
-
* @summary Get top modules by
|
|
23160
|
+
* @summary Get top modules by execution volume
|
|
23060
23161
|
* @param {string} [startDate]
|
|
23061
23162
|
* @param {string} [endDate]
|
|
23062
23163
|
* @param {string} [gameServerId]
|
|
@@ -39357,7 +39458,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
39357
39458
|
*/
|
|
39358
39459
|
async shopListingControllerImportListings(
|
|
39359
39460
|
options?: RawAxiosRequestConfig,
|
|
39360
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39461
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
39361
39462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
39362
39463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39363
39464
|
const localVarOperationServerBasePath =
|
|
@@ -39480,7 +39581,7 @@ export const ShopListingApiFactory = function (
|
|
|
39480
39581
|
* @param {*} [options] Override http request option.
|
|
39481
39582
|
* @throws {RequiredError}
|
|
39482
39583
|
*/
|
|
39483
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39584
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
39484
39585
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
39485
39586
|
},
|
|
39486
39587
|
/**
|
|
@@ -40990,6 +41091,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
40990
41091
|
options: localVarRequestOptions,
|
|
40991
41092
|
};
|
|
40992
41093
|
},
|
|
41094
|
+
/**
|
|
41095
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41096
|
+
* @summary Count billable dashboard users
|
|
41097
|
+
* @param {*} [options] Override http request option.
|
|
41098
|
+
* @throws {RequiredError}
|
|
41099
|
+
*/
|
|
41100
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41101
|
+
const localVarPath = `/user/count`;
|
|
41102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41103
|
+
let baseOptions;
|
|
41104
|
+
if (configuration) {
|
|
41105
|
+
baseOptions = configuration.baseOptions;
|
|
41106
|
+
}
|
|
41107
|
+
|
|
41108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41109
|
+
const localVarHeaderParameter = {} as any;
|
|
41110
|
+
const localVarQueryParameter = {} as any;
|
|
41111
|
+
|
|
41112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41113
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41114
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41115
|
+
|
|
41116
|
+
return {
|
|
41117
|
+
url: toPathString(localVarUrlObj),
|
|
41118
|
+
options: localVarRequestOptions,
|
|
41119
|
+
};
|
|
41120
|
+
},
|
|
40993
41121
|
/**
|
|
40994
41122
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40995
41123
|
* @summary Create
|
|
@@ -41496,6 +41624,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41496
41624
|
configuration,
|
|
41497
41625
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41498
41626
|
},
|
|
41627
|
+
/**
|
|
41628
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41629
|
+
* @summary Count billable dashboard users
|
|
41630
|
+
* @param {*} [options] Override http request option.
|
|
41631
|
+
* @throws {RequiredError}
|
|
41632
|
+
*/
|
|
41633
|
+
async userControllerCountBillableDashboardUsers(
|
|
41634
|
+
options?: RawAxiosRequestConfig,
|
|
41635
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
41636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
41637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41638
|
+
const localVarOperationServerBasePath =
|
|
41639
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
41640
|
+
return (axios, basePath) =>
|
|
41641
|
+
createRequestFunction(
|
|
41642
|
+
localVarAxiosArgs,
|
|
41643
|
+
globalAxios,
|
|
41644
|
+
BASE_PATH,
|
|
41645
|
+
configuration,
|
|
41646
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41647
|
+
},
|
|
41499
41648
|
/**
|
|
41500
41649
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41501
41650
|
* @summary Create
|
|
@@ -41825,6 +41974,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41825
41974
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
41826
41975
|
.then((request) => request(axios, basePath));
|
|
41827
41976
|
},
|
|
41977
|
+
/**
|
|
41978
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41979
|
+
* @summary Count billable dashboard users
|
|
41980
|
+
* @param {*} [options] Override http request option.
|
|
41981
|
+
* @throws {RequiredError}
|
|
41982
|
+
*/
|
|
41983
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
41984
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
41985
|
+
},
|
|
41828
41986
|
/**
|
|
41829
41987
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41830
41988
|
* @summary Create
|
|
@@ -42003,6 +42161,19 @@ export class UserApi extends BaseAPI {
|
|
|
42003
42161
|
.then((request) => request(this.axios, this.basePath));
|
|
42004
42162
|
}
|
|
42005
42163
|
|
|
42164
|
+
/**
|
|
42165
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42166
|
+
* @summary Count billable dashboard users
|
|
42167
|
+
* @param {*} [options] Override http request option.
|
|
42168
|
+
* @throws {RequiredError}
|
|
42169
|
+
* @memberof UserApi
|
|
42170
|
+
*/
|
|
42171
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42172
|
+
return UserApiFp(this.configuration)
|
|
42173
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42174
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42175
|
+
}
|
|
42176
|
+
|
|
42006
42177
|
/**
|
|
42007
42178
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
42008
42179
|
* @summary Create
|