@takaro/apiclient 0.0.0-dev.586438e → 0.0.0-dev.59c4c09

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.
@@ -2599,6 +2599,50 @@ export declare const DomainUpdateInputDTOStateEnum: {
2599
2599
  readonly Maintenance: "MAINTENANCE";
2600
2600
  };
2601
2601
  export type DomainUpdateInputDTOStateEnum = (typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
2602
+ /**
2603
+ *
2604
+ * @export
2605
+ * @interface EffectiveStorefrontConfigDTO
2606
+ */
2607
+ export interface EffectiveStorefrontConfigDTO {
2608
+ /**
2609
+ *
2610
+ * @type {string}
2611
+ * @memberof EffectiveStorefrontConfigDTO
2612
+ */
2613
+ templateId: string;
2614
+ /**
2615
+ *
2616
+ * @type {object}
2617
+ * @memberof EffectiveStorefrontConfigDTO
2618
+ */
2619
+ values: object;
2620
+ /**
2621
+ *
2622
+ * @type {object}
2623
+ * @memberof EffectiveStorefrontConfigDTO
2624
+ */
2625
+ schema: object;
2626
+ }
2627
+ /**
2628
+ *
2629
+ * @export
2630
+ * @interface EffectiveStorefrontConfigOutputDTOAPI
2631
+ */
2632
+ export interface EffectiveStorefrontConfigOutputDTOAPI {
2633
+ /**
2634
+ *
2635
+ * @type {EffectiveStorefrontConfigDTO}
2636
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2637
+ */
2638
+ data: EffectiveStorefrontConfigDTO;
2639
+ /**
2640
+ *
2641
+ * @type {MetadataOutput}
2642
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2643
+ */
2644
+ meta: MetadataOutput;
2645
+ }
2602
2646
  /**
2603
2647
  *
2604
2648
  * @export
@@ -7345,7 +7389,7 @@ export interface MeOutputDTO {
7345
7389
  * @type {UserOutputWithRolesDTO}
7346
7390
  * @memberof MeOutputDTO
7347
7391
  */
7348
- user: UserOutputWithRolesDTO;
7392
+ user?: UserOutputWithRolesDTO;
7349
7393
  /**
7350
7394
  *
7351
7395
  * @type {Array<DomainOutputDTO>}
@@ -7357,7 +7401,7 @@ export interface MeOutputDTO {
7357
7401
  * @type {string}
7358
7402
  * @memberof MeOutputDTO
7359
7403
  */
7360
- domain: string;
7404
+ domain?: string;
7361
7405
  /**
7362
7406
  *
7363
7407
  * @type {PlayerOutputWithRolesDTO}
@@ -14886,6 +14930,175 @@ export interface SmallModuleVersionOutputDTO {
14886
14930
  */
14887
14931
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
14888
14932
  }
14933
+ /**
14934
+ *
14935
+ * @export
14936
+ * @interface StorefrontConfigCreateDTO
14937
+ */
14938
+ export interface StorefrontConfigCreateDTO {
14939
+ /**
14940
+ *
14941
+ * @type {string}
14942
+ * @memberof StorefrontConfigCreateDTO
14943
+ */
14944
+ gameServerId: string;
14945
+ /**
14946
+ *
14947
+ * @type {string}
14948
+ * @memberof StorefrontConfigCreateDTO
14949
+ */
14950
+ templateId: string;
14951
+ /**
14952
+ *
14953
+ * @type {object}
14954
+ * @memberof StorefrontConfigCreateDTO
14955
+ */
14956
+ values?: object;
14957
+ }
14958
+ /**
14959
+ *
14960
+ * @export
14961
+ * @interface StorefrontConfigOutputDTO
14962
+ */
14963
+ export interface StorefrontConfigOutputDTO {
14964
+ /**
14965
+ *
14966
+ * @type {string}
14967
+ * @memberof StorefrontConfigOutputDTO
14968
+ */
14969
+ gameServerId: string;
14970
+ /**
14971
+ *
14972
+ * @type {string}
14973
+ * @memberof StorefrontConfigOutputDTO
14974
+ */
14975
+ templateId: string;
14976
+ /**
14977
+ *
14978
+ * @type {object}
14979
+ * @memberof StorefrontConfigOutputDTO
14980
+ */
14981
+ values: object;
14982
+ /**
14983
+ *
14984
+ * @type {string}
14985
+ * @memberof StorefrontConfigOutputDTO
14986
+ */
14987
+ id: string;
14988
+ /**
14989
+ *
14990
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
14991
+ * @memberof StorefrontConfigOutputDTO
14992
+ */
14993
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
14994
+ /**
14995
+ *
14996
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
14997
+ * @memberof StorefrontConfigOutputDTO
14998
+ */
14999
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15000
+ }
15001
+ /**
15002
+ *
15003
+ * @export
15004
+ * @interface StorefrontConfigUpdateDTO
15005
+ */
15006
+ export interface StorefrontConfigUpdateDTO {
15007
+ /**
15008
+ *
15009
+ * @type {string}
15010
+ * @memberof StorefrontConfigUpdateDTO
15011
+ */
15012
+ templateId?: string;
15013
+ /**
15014
+ *
15015
+ * @type {object}
15016
+ * @memberof StorefrontConfigUpdateDTO
15017
+ */
15018
+ values?: object;
15019
+ }
15020
+ /**
15021
+ *
15022
+ * @export
15023
+ * @interface StorefrontConfigUpsertBody
15024
+ */
15025
+ export interface StorefrontConfigUpsertBody {
15026
+ /**
15027
+ *
15028
+ * @type {string}
15029
+ * @memberof StorefrontConfigUpsertBody
15030
+ */
15031
+ templateId: string;
15032
+ /**
15033
+ *
15034
+ * @type {object}
15035
+ * @memberof StorefrontConfigUpsertBody
15036
+ */
15037
+ values: object;
15038
+ }
15039
+ /**
15040
+ *
15041
+ * @export
15042
+ * @interface StorefrontConfigUpsertDTO
15043
+ */
15044
+ export interface StorefrontConfigUpsertDTO {
15045
+ /**
15046
+ *
15047
+ * @type {string}
15048
+ * @memberof StorefrontConfigUpsertDTO
15049
+ */
15050
+ templateId: string;
15051
+ /**
15052
+ *
15053
+ * @type {object}
15054
+ * @memberof StorefrontConfigUpsertDTO
15055
+ */
15056
+ values: object;
15057
+ }
15058
+ /**
15059
+ *
15060
+ * @export
15061
+ * @interface StorefrontTemplateDTO
15062
+ */
15063
+ export interface StorefrontTemplateDTO {
15064
+ /**
15065
+ *
15066
+ * @type {string}
15067
+ * @memberof StorefrontTemplateDTO
15068
+ */
15069
+ id: string;
15070
+ /**
15071
+ *
15072
+ * @type {string}
15073
+ * @memberof StorefrontTemplateDTO
15074
+ */
15075
+ name: string;
15076
+ /**
15077
+ *
15078
+ * @type {object}
15079
+ * @memberof StorefrontTemplateDTO
15080
+ */
15081
+ schema: object;
15082
+ }
15083
+ /**
15084
+ *
15085
+ * @export
15086
+ * @interface StorefrontTemplateOutputArrayDTOAPI
15087
+ */
15088
+ export interface StorefrontTemplateOutputArrayDTOAPI {
15089
+ /**
15090
+ *
15091
+ * @type {Array<StorefrontTemplateDTO>}
15092
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15093
+ */
15094
+ data: Array<StorefrontTemplateDTO>;
15095
+ /**
15096
+ *
15097
+ * @type {MetadataOutput}
15098
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15099
+ */
15100
+ meta: MetadataOutput;
15101
+ }
14889
15102
  /**
14890
15103
  *
14891
15104
  * @export
@@ -25680,6 +25893,131 @@ export declare class ShopOrderApi extends BaseAPI {
25680
25893
  */
25681
25894
  shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShopOrderOutputArrayDTOAPI, any>>;
25682
25895
  }
25896
+ /**
25897
+ * StorefrontConfigApi - axios parameter creator
25898
+ * @export
25899
+ */
25900
+ export declare const StorefrontConfigApiAxiosParamCreator: (configuration?: Configuration) => {
25901
+ /**
25902
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
25903
+ * @summary Get effective config
25904
+ * @param {string} gameServerId
25905
+ * @param {*} [options] Override http request option.
25906
+ * @throws {RequiredError}
25907
+ */
25908
+ storefrontConfigControllerGetEffectiveConfig: (gameServerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25909
+ /**
25910
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
25911
+ * @summary List templates
25912
+ * @param {*} [options] Override http request option.
25913
+ * @throws {RequiredError}
25914
+ */
25915
+ storefrontConfigControllerListTemplates: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25916
+ /**
25917
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
25918
+ * @summary Set config
25919
+ * @param {string} gameServerId
25920
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
25921
+ * @param {*} [options] Override http request option.
25922
+ * @throws {RequiredError}
25923
+ */
25924
+ storefrontConfigControllerSetConfig: (gameServerId: string, storefrontConfigUpsertBody?: StorefrontConfigUpsertBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25925
+ };
25926
+ /**
25927
+ * StorefrontConfigApi - functional programming interface
25928
+ * @export
25929
+ */
25930
+ export declare const StorefrontConfigApiFp: (configuration?: Configuration) => {
25931
+ /**
25932
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
25933
+ * @summary Get effective config
25934
+ * @param {string} gameServerId
25935
+ * @param {*} [options] Override http request option.
25936
+ * @throws {RequiredError}
25937
+ */
25938
+ storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>>;
25939
+ /**
25940
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
25941
+ * @summary List templates
25942
+ * @param {*} [options] Override http request option.
25943
+ * @throws {RequiredError}
25944
+ */
25945
+ storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>>;
25946
+ /**
25947
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
25948
+ * @summary Set config
25949
+ * @param {string} gameServerId
25950
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
25951
+ * @param {*} [options] Override http request option.
25952
+ * @throws {RequiredError}
25953
+ */
25954
+ storefrontConfigControllerSetConfig(gameServerId: string, storefrontConfigUpsertBody?: StorefrontConfigUpsertBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>>;
25955
+ };
25956
+ /**
25957
+ * StorefrontConfigApi - factory interface
25958
+ * @export
25959
+ */
25960
+ export declare const StorefrontConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25961
+ /**
25962
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
25963
+ * @summary Get effective config
25964
+ * @param {string} gameServerId
25965
+ * @param {*} [options] Override http request option.
25966
+ * @throws {RequiredError}
25967
+ */
25968
+ storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>;
25969
+ /**
25970
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
25971
+ * @summary List templates
25972
+ * @param {*} [options] Override http request option.
25973
+ * @throws {RequiredError}
25974
+ */
25975
+ storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>;
25976
+ /**
25977
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
25978
+ * @summary Set config
25979
+ * @param {string} gameServerId
25980
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
25981
+ * @param {*} [options] Override http request option.
25982
+ * @throws {RequiredError}
25983
+ */
25984
+ storefrontConfigControllerSetConfig(gameServerId: string, storefrontConfigUpsertBody?: StorefrontConfigUpsertBody, options?: RawAxiosRequestConfig): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>;
25985
+ };
25986
+ /**
25987
+ * StorefrontConfigApi - object-oriented interface
25988
+ * @export
25989
+ * @class StorefrontConfigApi
25990
+ * @extends {BaseAPI}
25991
+ */
25992
+ export declare class StorefrontConfigApi extends BaseAPI {
25993
+ /**
25994
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
25995
+ * @summary Get effective config
25996
+ * @param {string} gameServerId
25997
+ * @param {*} [options] Override http request option.
25998
+ * @throws {RequiredError}
25999
+ * @memberof StorefrontConfigApi
26000
+ */
26001
+ storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EffectiveStorefrontConfigOutputDTOAPI, any>>;
26002
+ /**
26003
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
26004
+ * @summary List templates
26005
+ * @param {*} [options] Override http request option.
26006
+ * @throws {RequiredError}
26007
+ * @memberof StorefrontConfigApi
26008
+ */
26009
+ storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorefrontTemplateOutputArrayDTOAPI, any>>;
26010
+ /**
26011
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
26012
+ * @summary Set config
26013
+ * @param {string} gameServerId
26014
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
26015
+ * @param {*} [options] Override http request option.
26016
+ * @throws {RequiredError}
26017
+ * @memberof StorefrontConfigApi
26018
+ */
26019
+ storefrontConfigControllerSetConfig(gameServerId: string, storefrontConfigUpsertBody?: StorefrontConfigUpsertBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EffectiveStorefrontConfigOutputDTOAPI, any>>;
26020
+ }
25683
26021
  /**
25684
26022
  * TrackingApi - axios parameter creator
25685
26023
  * @export