@takaro/apiclient 0.0.0-dev.ed59051 → 0.0.0-dev.eebd687
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/.source-hash +1 -1
- package/dist/generated/api.d.ts +365 -1
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +100 -0
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +158 -1
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +19 -0
- package/dist/generated-management/api.js.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.js
CHANGED
|
@@ -307,6 +307,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
307
307
|
PlayerDeleted: 'player-deleted',
|
|
308
308
|
ShopActionExecuted: 'shop-action-executed',
|
|
309
309
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
310
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
310
311
|
EventRateLimited: 'event-rate-limited',
|
|
311
312
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
312
313
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -370,6 +371,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
370
371
|
PlayerDeleted: 'player-deleted',
|
|
371
372
|
ShopActionExecuted: 'shop-action-executed',
|
|
372
373
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
374
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
373
375
|
EventRateLimited: 'event-rate-limited',
|
|
374
376
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
375
377
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -442,6 +444,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
442
444
|
PlayerDeleted: 'player-deleted',
|
|
443
445
|
ShopActionExecuted: 'shop-action-executed',
|
|
444
446
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
447
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
445
448
|
EventRateLimited: 'event-rate-limited',
|
|
446
449
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
447
450
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -505,6 +508,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
505
508
|
PlayerDeleted: 'player-deleted',
|
|
506
509
|
ShopActionExecuted: 'shop-action-executed',
|
|
507
510
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
511
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
508
512
|
EventRateLimited: 'event-rate-limited',
|
|
509
513
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
510
514
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -706,6 +710,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
706
710
|
PlayerDeleted: 'player-deleted',
|
|
707
711
|
ShopActionExecuted: 'shop-action-executed',
|
|
708
712
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
713
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
709
714
|
EventRateLimited: 'event-rate-limited',
|
|
710
715
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
711
716
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -771,6 +776,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
771
776
|
PlayerDeleted: 'player-deleted',
|
|
772
777
|
ShopActionExecuted: 'shop-action-executed',
|
|
773
778
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
779
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
774
780
|
EventRateLimited: 'event-rate-limited',
|
|
775
781
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
776
782
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -836,6 +842,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
836
842
|
PlayerDeleted: 'player-deleted',
|
|
837
843
|
ShopActionExecuted: 'shop-action-executed',
|
|
838
844
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
845
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
839
846
|
EventRateLimited: 'event-rate-limited',
|
|
840
847
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
841
848
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -909,6 +916,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
909
916
|
PlayerDeleted: 'player-deleted',
|
|
910
917
|
ShopActionExecuted: 'shop-action-executed',
|
|
911
918
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
919
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
912
920
|
EventRateLimited: 'event-rate-limited',
|
|
913
921
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
914
922
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -974,6 +982,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
974
982
|
PlayerDeleted: 'player-deleted',
|
|
975
983
|
ShopActionExecuted: 'shop-action-executed',
|
|
976
984
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
985
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
977
986
|
EventRateLimited: 'event-rate-limited',
|
|
978
987
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
979
988
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -1044,6 +1053,7 @@ export const IHookEventTypeEnum = {
|
|
|
1044
1053
|
PlayerDeleted: 'player-deleted',
|
|
1045
1054
|
ShopActionExecuted: 'shop-action-executed',
|
|
1046
1055
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
1056
|
+
PlayerLevelChanged: 'player-level-changed',
|
|
1047
1057
|
EventRateLimited: 'event-rate-limited',
|
|
1048
1058
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
1049
1059
|
InviteLinkCreated: 'invite-link-created',
|
|
@@ -1376,11 +1386,23 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
|
|
|
1376
1386
|
Asc: 'asc',
|
|
1377
1387
|
Desc: 'desc',
|
|
1378
1388
|
};
|
|
1389
|
+
export const PogProgressionOutputDTOSourceEnum = {
|
|
1390
|
+
Server: 'server',
|
|
1391
|
+
ClientReported: 'client-reported',
|
|
1392
|
+
};
|
|
1379
1393
|
export const PositionAreaShapeDTOTypeEnum = {
|
|
1380
1394
|
Circle: 'circle',
|
|
1381
1395
|
Rectangle: 'rectangle',
|
|
1382
1396
|
Polygon: 'polygon',
|
|
1383
1397
|
};
|
|
1398
|
+
export const ProgressionHistoryPointDTOKindEnum = {
|
|
1399
|
+
LevelChange: 'level-change',
|
|
1400
|
+
Experience: 'experience',
|
|
1401
|
+
};
|
|
1402
|
+
export const ProgressionHistoryPointDTOSourceEnum = {
|
|
1403
|
+
Server: 'server',
|
|
1404
|
+
ClientReported: 'client-reported',
|
|
1405
|
+
};
|
|
1384
1406
|
export const RecentOrderDTOStatusEnum = {
|
|
1385
1407
|
Completed: 'COMPLETED',
|
|
1386
1408
|
Paid: 'PAID',
|
|
@@ -1578,6 +1600,14 @@ export const TakaroEventPlayerInventoryChangedCauseEnum = {
|
|
|
1578
1600
|
Death: 'death',
|
|
1579
1601
|
Other: 'other',
|
|
1580
1602
|
};
|
|
1603
|
+
export const TakaroEventPlayerLevelChangedDirectionEnum = {
|
|
1604
|
+
Up: 'up',
|
|
1605
|
+
Down: 'down',
|
|
1606
|
+
};
|
|
1607
|
+
export const TakaroEventPlayerLevelChangedSourceEnum = {
|
|
1608
|
+
Server: 'server',
|
|
1609
|
+
ClientReported: 'client-reported',
|
|
1610
|
+
};
|
|
1581
1611
|
export const TakaroEventPlayerLinkedSourceEnum = {
|
|
1582
1612
|
GameCode: 'game-code',
|
|
1583
1613
|
WebCode: 'web-code',
|
|
@@ -24119,6 +24149,38 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
|
|
|
24119
24149
|
options: localVarRequestOptions,
|
|
24120
24150
|
};
|
|
24121
24151
|
},
|
|
24152
|
+
/**
|
|
24153
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24154
|
+
* @summary Get progression history
|
|
24155
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24156
|
+
* @param {*} [options] Override http request option.
|
|
24157
|
+
* @throws {RequiredError}
|
|
24158
|
+
*/
|
|
24159
|
+
trackingControllerGetProgressionHistory: async (progressionHistoryInputDTO, options = {}) => {
|
|
24160
|
+
const localVarPath = `/tracking/progression/history`;
|
|
24161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24163
|
+
let baseOptions;
|
|
24164
|
+
if (configuration) {
|
|
24165
|
+
baseOptions = configuration.baseOptions;
|
|
24166
|
+
}
|
|
24167
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
24168
|
+
const localVarHeaderParameter = {};
|
|
24169
|
+
const localVarQueryParameter = {};
|
|
24170
|
+
// authentication bearerAuth required
|
|
24171
|
+
// http bearer authentication required
|
|
24172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24173
|
+
// authentication domainAuth required
|
|
24174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24177
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24178
|
+
localVarRequestOptions.data = serializeDataIfNeeded(progressionHistoryInputDTO, localVarRequestOptions, configuration);
|
|
24179
|
+
return {
|
|
24180
|
+
url: toPathString(localVarUrlObj),
|
|
24181
|
+
options: localVarRequestOptions,
|
|
24182
|
+
};
|
|
24183
|
+
},
|
|
24122
24184
|
/**
|
|
24123
24185
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
24124
24186
|
* @summary Get radius players
|
|
@@ -24388,6 +24450,19 @@ export const TrackingApiFp = function (configuration) {
|
|
|
24388
24450
|
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionTracks']?.[localVarOperationServerIndex]?.url;
|
|
24389
24451
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24390
24452
|
},
|
|
24453
|
+
/**
|
|
24454
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24455
|
+
* @summary Get progression history
|
|
24456
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24457
|
+
* @param {*} [options] Override http request option.
|
|
24458
|
+
* @throws {RequiredError}
|
|
24459
|
+
*/
|
|
24460
|
+
async trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options);
|
|
24462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24463
|
+
const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetProgressionHistory']?.[localVarOperationServerIndex]?.url;
|
|
24464
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24465
|
+
},
|
|
24391
24466
|
/**
|
|
24392
24467
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
24393
24468
|
* @summary Get radius players
|
|
@@ -24569,6 +24644,18 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
24569
24644
|
.trackingControllerGetPositionTracks(positionTracksInputDTO, options)
|
|
24570
24645
|
.then((request) => request(axios, basePath));
|
|
24571
24646
|
},
|
|
24647
|
+
/**
|
|
24648
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24649
|
+
* @summary Get progression history
|
|
24650
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24651
|
+
* @param {*} [options] Override http request option.
|
|
24652
|
+
* @throws {RequiredError}
|
|
24653
|
+
*/
|
|
24654
|
+
trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24655
|
+
return localVarFp
|
|
24656
|
+
.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
|
|
24657
|
+
.then((request) => request(axios, basePath));
|
|
24658
|
+
},
|
|
24572
24659
|
/**
|
|
24573
24660
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
24574
24661
|
* @summary Get radius players
|
|
@@ -24756,6 +24843,19 @@ export class TrackingApi extends BaseAPI {
|
|
|
24756
24843
|
.trackingControllerGetPositionTracks(positionTracksInputDTO, options)
|
|
24757
24844
|
.then((request) => request(this.axios, this.basePath));
|
|
24758
24845
|
}
|
|
24846
|
+
/**
|
|
24847
|
+
* A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
|
|
24848
|
+
* @summary Get progression history
|
|
24849
|
+
* @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
|
|
24850
|
+
* @param {*} [options] Override http request option.
|
|
24851
|
+
* @throws {RequiredError}
|
|
24852
|
+
* @memberof TrackingApi
|
|
24853
|
+
*/
|
|
24854
|
+
trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
|
|
24855
|
+
return TrackingApiFp(this.configuration)
|
|
24856
|
+
.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
|
|
24857
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24858
|
+
}
|
|
24759
24859
|
/**
|
|
24760
24860
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
24761
24861
|
* @summary Get radius players
|