@takaro/apiclient 0.0.28 → 0.0.30

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.
@@ -2,7 +2,7 @@
2
2
  * Takaro app-api
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: development - 589aecc8a65249f7f355fcf87f35fc5b6079fab1
5
+ * The version of the OpenAPI document: development - 0359b1b1efa1e593fafeb89e00ca9859a260a84f
6
6
  * Contact: support@takaro.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -552,6 +552,55 @@ export interface BaseTakaroEvent {
552
552
  */
553
553
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
554
554
  }
555
+ /**
556
+ *
557
+ * @export
558
+ * @interface BoundingBoxSearchInputDTO
559
+ */
560
+ export interface BoundingBoxSearchInputDTO {
561
+ /**
562
+ *
563
+ * @type {number}
564
+ * @memberof BoundingBoxSearchInputDTO
565
+ */
566
+ minX: number;
567
+ /**
568
+ *
569
+ * @type {number}
570
+ * @memberof BoundingBoxSearchInputDTO
571
+ */
572
+ maxX: number;
573
+ /**
574
+ *
575
+ * @type {number}
576
+ * @memberof BoundingBoxSearchInputDTO
577
+ */
578
+ minY: number;
579
+ /**
580
+ *
581
+ * @type {number}
582
+ * @memberof BoundingBoxSearchInputDTO
583
+ */
584
+ maxY: number;
585
+ /**
586
+ *
587
+ * @type {number}
588
+ * @memberof BoundingBoxSearchInputDTO
589
+ */
590
+ minZ: number;
591
+ /**
592
+ *
593
+ * @type {number}
594
+ * @memberof BoundingBoxSearchInputDTO
595
+ */
596
+ maxZ: number;
597
+ /**
598
+ *
599
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
600
+ * @memberof BoundingBoxSearchInputDTO
601
+ */
602
+ timestamp?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
603
+ }
555
604
  /**
556
605
  *
557
606
  * @export
@@ -6903,6 +6952,74 @@ export interface PlayerCreateDTO {
6903
6952
  */
6904
6953
  epicOnlineServicesId?: string;
6905
6954
  }
6955
+ /**
6956
+ *
6957
+ * @export
6958
+ * @interface PlayerLocationArrayOutputDTOAPI
6959
+ */
6960
+ export interface PlayerLocationArrayOutputDTOAPI {
6961
+ /**
6962
+ *
6963
+ * @type {Array<PlayerLocationOutputDTO>}
6964
+ * @memberof PlayerLocationArrayOutputDTOAPI
6965
+ */
6966
+ data: Array<PlayerLocationOutputDTO>;
6967
+ /**
6968
+ *
6969
+ * @type {MetadataOutput}
6970
+ * @memberof PlayerLocationArrayOutputDTOAPI
6971
+ */
6972
+ meta: MetadataOutput;
6973
+ }
6974
+ /**
6975
+ *
6976
+ * @export
6977
+ * @interface PlayerLocationOutputDTO
6978
+ */
6979
+ export interface PlayerLocationOutputDTO {
6980
+ /**
6981
+ *
6982
+ * @type {string}
6983
+ * @memberof PlayerLocationOutputDTO
6984
+ */
6985
+ id: string;
6986
+ /**
6987
+ *
6988
+ * @type {string}
6989
+ * @memberof PlayerLocationOutputDTO
6990
+ */
6991
+ playerId: string;
6992
+ /**
6993
+ *
6994
+ * @type {number}
6995
+ * @memberof PlayerLocationOutputDTO
6996
+ */
6997
+ x: number;
6998
+ /**
6999
+ *
7000
+ * @type {number}
7001
+ * @memberof PlayerLocationOutputDTO
7002
+ */
7003
+ y: number;
7004
+ /**
7005
+ *
7006
+ * @type {number}
7007
+ * @memberof PlayerLocationOutputDTO
7008
+ */
7009
+ z: number;
7010
+ /**
7011
+ *
7012
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7013
+ * @memberof PlayerLocationOutputDTO
7014
+ */
7015
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7016
+ /**
7017
+ *
7018
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7019
+ * @memberof PlayerLocationOutputDTO
7020
+ */
7021
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7022
+ }
6906
7023
  /**
6907
7024
  *
6908
7025
  * @export
@@ -6922,6 +7039,37 @@ export interface PlayerMeOutputDTO {
6922
7039
  */
6923
7040
  pogs: Array<PlayerOnGameserverOutputArrayDTOAPI>;
6924
7041
  }
7042
+ /**
7043
+ *
7044
+ * @export
7045
+ * @interface PlayerMovementHistoryInputDTO
7046
+ */
7047
+ export interface PlayerMovementHistoryInputDTO {
7048
+ /**
7049
+ *
7050
+ * @type {Array<string>}
7051
+ * @memberof PlayerMovementHistoryInputDTO
7052
+ */
7053
+ playerId?: Array<string>;
7054
+ /**
7055
+ *
7056
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7057
+ * @memberof PlayerMovementHistoryInputDTO
7058
+ */
7059
+ startDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7060
+ /**
7061
+ *
7062
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7063
+ * @memberof PlayerMovementHistoryInputDTO
7064
+ */
7065
+ endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7066
+ /**
7067
+ *
7068
+ * @type {number}
7069
+ * @memberof PlayerMovementHistoryInputDTO
7070
+ */
7071
+ limit?: number;
7072
+ }
6925
7073
  /**
6926
7074
  *
6927
7075
  * @export
@@ -8067,6 +8215,43 @@ export interface PogStatsInputDTO {
8067
8215
  */
8068
8216
  endDate?: string;
8069
8217
  }
8218
+ /**
8219
+ *
8220
+ * @export
8221
+ * @interface RadiusSearchInputDTO
8222
+ */
8223
+ export interface RadiusSearchInputDTO {
8224
+ /**
8225
+ *
8226
+ * @type {number}
8227
+ * @memberof RadiusSearchInputDTO
8228
+ */
8229
+ x: number;
8230
+ /**
8231
+ *
8232
+ * @type {number}
8233
+ * @memberof RadiusSearchInputDTO
8234
+ */
8235
+ y: number;
8236
+ /**
8237
+ *
8238
+ * @type {number}
8239
+ * @memberof RadiusSearchInputDTO
8240
+ */
8241
+ z: number;
8242
+ /**
8243
+ *
8244
+ * @type {number}
8245
+ * @memberof RadiusSearchInputDTO
8246
+ */
8247
+ radius: number;
8248
+ /**
8249
+ *
8250
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
8251
+ * @memberof RadiusSearchInputDTO
8252
+ */
8253
+ timestamp?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
8254
+ }
8070
8255
  /**
8071
8256
  *
8072
8257
  * @export
@@ -16456,6 +16641,131 @@ export declare const StatsControllerGetEventsCountSumByEnum: {
16456
16641
  readonly Gameserver: "gameserver";
16457
16642
  };
16458
16643
  export type StatsControllerGetEventsCountSumByEnum = (typeof StatsControllerGetEventsCountSumByEnum)[keyof typeof StatsControllerGetEventsCountSumByEnum];
16644
+ /**
16645
+ * TrackingApi - axios parameter creator
16646
+ * @export
16647
+ */
16648
+ export declare const TrackingApiAxiosParamCreator: (configuration?: Configuration) => {
16649
+ /**
16650
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
16651
+ * @summary Get bounding box players
16652
+ * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
16653
+ * @param {*} [options] Override http request option.
16654
+ * @throws {RequiredError}
16655
+ */
16656
+ trackingControllerGetBoundingBoxPlayers: (boundingBoxSearchInputDTO?: BoundingBoxSearchInputDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16657
+ /**
16658
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
16659
+ * @summary Get player movement history
16660
+ * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
16661
+ * @param {*} [options] Override http request option.
16662
+ * @throws {RequiredError}
16663
+ */
16664
+ trackingControllerGetPlayerMovementHistory: (playerMovementHistoryInputDTO?: PlayerMovementHistoryInputDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16665
+ /**
16666
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
16667
+ * @summary Get radius players
16668
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
16669
+ * @param {*} [options] Override http request option.
16670
+ * @throws {RequiredError}
16671
+ */
16672
+ trackingControllerGetRadiusPlayers: (radiusSearchInputDTO?: RadiusSearchInputDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16673
+ };
16674
+ /**
16675
+ * TrackingApi - functional programming interface
16676
+ * @export
16677
+ */
16678
+ export declare const TrackingApiFp: (configuration?: Configuration) => {
16679
+ /**
16680
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
16681
+ * @summary Get bounding box players
16682
+ * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
16683
+ * @param {*} [options] Override http request option.
16684
+ * @throws {RequiredError}
16685
+ */
16686
+ trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO?: BoundingBoxSearchInputDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerLocationArrayOutputDTOAPI>>;
16687
+ /**
16688
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
16689
+ * @summary Get player movement history
16690
+ * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
16691
+ * @param {*} [options] Override http request option.
16692
+ * @throws {RequiredError}
16693
+ */
16694
+ trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO?: PlayerMovementHistoryInputDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerLocationArrayOutputDTOAPI>>;
16695
+ /**
16696
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
16697
+ * @summary Get radius players
16698
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
16699
+ * @param {*} [options] Override http request option.
16700
+ * @throws {RequiredError}
16701
+ */
16702
+ trackingControllerGetRadiusPlayers(radiusSearchInputDTO?: RadiusSearchInputDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerLocationArrayOutputDTOAPI>>;
16703
+ };
16704
+ /**
16705
+ * TrackingApi - factory interface
16706
+ * @export
16707
+ */
16708
+ export declare const TrackingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16709
+ /**
16710
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
16711
+ * @summary Get bounding box players
16712
+ * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
16713
+ * @param {*} [options] Override http request option.
16714
+ * @throws {RequiredError}
16715
+ */
16716
+ trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO?: BoundingBoxSearchInputDTO, options?: RawAxiosRequestConfig): AxiosPromise<PlayerLocationArrayOutputDTOAPI>;
16717
+ /**
16718
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
16719
+ * @summary Get player movement history
16720
+ * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
16721
+ * @param {*} [options] Override http request option.
16722
+ * @throws {RequiredError}
16723
+ */
16724
+ trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO?: PlayerMovementHistoryInputDTO, options?: RawAxiosRequestConfig): AxiosPromise<PlayerLocationArrayOutputDTOAPI>;
16725
+ /**
16726
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
16727
+ * @summary Get radius players
16728
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
16729
+ * @param {*} [options] Override http request option.
16730
+ * @throws {RequiredError}
16731
+ */
16732
+ trackingControllerGetRadiusPlayers(radiusSearchInputDTO?: RadiusSearchInputDTO, options?: RawAxiosRequestConfig): AxiosPromise<PlayerLocationArrayOutputDTOAPI>;
16733
+ };
16734
+ /**
16735
+ * TrackingApi - object-oriented interface
16736
+ * @export
16737
+ * @class TrackingApi
16738
+ * @extends {BaseAPI}
16739
+ */
16740
+ export declare class TrackingApi extends BaseAPI {
16741
+ /**
16742
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
16743
+ * @summary Get bounding box players
16744
+ * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
16745
+ * @param {*} [options] Override http request option.
16746
+ * @throws {RequiredError}
16747
+ * @memberof TrackingApi
16748
+ */
16749
+ trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO?: BoundingBoxSearchInputDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerLocationArrayOutputDTOAPI, any>>;
16750
+ /**
16751
+ * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
16752
+ * @summary Get player movement history
16753
+ * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
16754
+ * @param {*} [options] Override http request option.
16755
+ * @throws {RequiredError}
16756
+ * @memberof TrackingApi
16757
+ */
16758
+ trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO?: PlayerMovementHistoryInputDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerLocationArrayOutputDTOAPI, any>>;
16759
+ /**
16760
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
16761
+ * @summary Get radius players
16762
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
16763
+ * @param {*} [options] Override http request option.
16764
+ * @throws {RequiredError}
16765
+ * @memberof TrackingApi
16766
+ */
16767
+ trackingControllerGetRadiusPlayers(radiusSearchInputDTO?: RadiusSearchInputDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerLocationArrayOutputDTOAPI, any>>;
16768
+ }
16459
16769
  /**
16460
16770
  * UserApi - axios parameter creator
16461
16771
  * @export