@takaro/apiclient 0.0.0-dev.401d3e5 → 0.0.0-dev.4105af5

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.
@@ -696,6 +696,28 @@ export const ITakaroQuerySortDirectionEnum = {
696
696
  Asc: 'asc',
697
697
  Desc: 'desc',
698
698
  };
699
+ export const InviteLinkCreateResultDTOStatusEnum = {
700
+ Active: 'ACTIVE',
701
+ Revoked: 'REVOKED',
702
+ Expired: 'EXPIRED',
703
+ Depleted: 'DEPLETED',
704
+ };
705
+ export const InviteLinkOutputDTOStatusEnum = {
706
+ Active: 'ACTIVE',
707
+ Revoked: 'REVOKED',
708
+ Expired: 'EXPIRED',
709
+ Depleted: 'DEPLETED',
710
+ };
711
+ export const InviteLinkPreviewDTOStatusEnum = {
712
+ Active: 'ACTIVE',
713
+ Revoked: 'REVOKED',
714
+ Expired: 'EXPIRED',
715
+ Depleted: 'DEPLETED',
716
+ };
717
+ export const InviteLinkSearchInputDTOSortDirectionEnum = {
718
+ Asc: 'asc',
719
+ Desc: 'desc',
720
+ };
699
721
  export const ItemSearchInputDTOExtendEnum = {
700
722
  Gameserver: 'gameserver',
701
723
  };
@@ -17452,6 +17474,30 @@ export const UserApiAxiosParamCreator = function (configuration) {
17452
17474
  options: localVarRequestOptions,
17453
17475
  };
17454
17476
  },
17477
+ /**
17478
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
17479
+ * @summary Count billable dashboard users
17480
+ * @param {*} [options] Override http request option.
17481
+ * @throws {RequiredError}
17482
+ */
17483
+ userControllerCountBillableDashboardUsers: async (options = {}) => {
17484
+ const localVarPath = `/user/count`;
17485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17486
+ let baseOptions;
17487
+ if (configuration) {
17488
+ baseOptions = configuration.baseOptions;
17489
+ }
17490
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17491
+ const localVarHeaderParameter = {};
17492
+ const localVarQueryParameter = {};
17493
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17494
+ const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17495
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17496
+ return {
17497
+ url: toPathString(localVarUrlObj),
17498
+ options: localVarRequestOptions,
17499
+ };
17500
+ },
17455
17501
  /**
17456
17502
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17457
17503
  * @summary Create
@@ -17852,6 +17898,18 @@ export const UserApiFp = function (configuration) {
17852
17898
  const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
17853
17899
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17854
17900
  },
17901
+ /**
17902
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
17903
+ * @summary Count billable dashboard users
17904
+ * @param {*} [options] Override http request option.
17905
+ * @throws {RequiredError}
17906
+ */
17907
+ async userControllerCountBillableDashboardUsers(options) {
17908
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
17909
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17910
+ const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
17911
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17912
+ },
17855
17913
  /**
17856
17914
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
17857
17915
  * @summary Create
@@ -18043,6 +18101,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
18043
18101
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
18044
18102
  .then((request) => request(axios, basePath));
18045
18103
  },
18104
+ /**
18105
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18106
+ * @summary Count billable dashboard users
18107
+ * @param {*} [options] Override http request option.
18108
+ * @throws {RequiredError}
18109
+ */
18110
+ userControllerCountBillableDashboardUsers(options) {
18111
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
18112
+ },
18046
18113
  /**
18047
18114
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
18048
18115
  * @summary Create
@@ -18198,6 +18265,18 @@ export class UserApi extends BaseAPI {
18198
18265
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
18199
18266
  .then((request) => request(this.axios, this.basePath));
18200
18267
  }
18268
+ /**
18269
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
18270
+ * @summary Count billable dashboard users
18271
+ * @param {*} [options] Override http request option.
18272
+ * @throws {RequiredError}
18273
+ * @memberof UserApi
18274
+ */
18275
+ userControllerCountBillableDashboardUsers(options) {
18276
+ return UserApiFp(this.configuration)
18277
+ .userControllerCountBillableDashboardUsers(options)
18278
+ .then((request) => request(this.axios, this.basePath));
18279
+ }
18201
18280
  /**
18202
18281
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
18203
18282
  * @summary Create
@@ -18738,4 +18817,358 @@ export class VariableApi extends BaseAPI {
18738
18817
  .then((request) => request(this.axios, this.basePath));
18739
18818
  }
18740
18819
  }
18820
+ /**
18821
+ * InviteLinkApi - axios parameter creator
18822
+ * @export
18823
+ */
18824
+ export const InviteLinkApiAxiosParamCreator = function (configuration) {
18825
+ return {
18826
+ /**
18827
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
18828
+ * @summary Create invite link
18829
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
18830
+ * @param {*} [options] Override http request option.
18831
+ * @throws {RequiredError}
18832
+ */
18833
+ inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
18834
+ const localVarPath = `/invite-link`;
18835
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18836
+ let baseOptions;
18837
+ if (configuration) {
18838
+ baseOptions = configuration.baseOptions;
18839
+ }
18840
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18841
+ const localVarHeaderParameter = {};
18842
+ const localVarQueryParameter = {};
18843
+ // authentication domainAuth required
18844
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18845
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18846
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18847
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18848
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
18849
+ return {
18850
+ url: toPathString(localVarUrlObj),
18851
+ options: localVarRequestOptions,
18852
+ };
18853
+ },
18854
+ /**
18855
+ * <br> OperationId: `InviteLinkControllerPreview`
18856
+ * @summary Preview
18857
+ * @param {string} token
18858
+ * @param {*} [options] Override http request option.
18859
+ * @throws {RequiredError}
18860
+ */
18861
+ inviteLinkControllerPreview: async (token, options = {}) => {
18862
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
18863
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
18864
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18865
+ let baseOptions;
18866
+ if (configuration) {
18867
+ baseOptions = configuration.baseOptions;
18868
+ }
18869
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18870
+ const localVarHeaderParameter = {};
18871
+ const localVarQueryParameter = {};
18872
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18873
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18874
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18875
+ return {
18876
+ url: toPathString(localVarUrlObj),
18877
+ options: localVarRequestOptions,
18878
+ };
18879
+ },
18880
+ /**
18881
+ * <br> OperationId: `InviteLinkControllerRedeem`
18882
+ * @summary Redeem
18883
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
18884
+ * @param {*} [options] Override http request option.
18885
+ * @throws {RequiredError}
18886
+ */
18887
+ inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
18888
+ const localVarPath = `/invite-link/redeem`;
18889
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18890
+ let baseOptions;
18891
+ if (configuration) {
18892
+ baseOptions = configuration.baseOptions;
18893
+ }
18894
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18895
+ const localVarHeaderParameter = {};
18896
+ const localVarQueryParameter = {};
18897
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18900
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18901
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
18902
+ return {
18903
+ url: toPathString(localVarUrlObj),
18904
+ options: localVarRequestOptions,
18905
+ };
18906
+ },
18907
+ /**
18908
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
18909
+ * @summary Revoke
18910
+ * @param {string} id
18911
+ * @param {*} [options] Override http request option.
18912
+ * @throws {RequiredError}
18913
+ */
18914
+ inviteLinkControllerRevoke: async (id, options = {}) => {
18915
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
18916
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
18917
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18918
+ let baseOptions;
18919
+ if (configuration) {
18920
+ baseOptions = configuration.baseOptions;
18921
+ }
18922
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
18923
+ const localVarHeaderParameter = {};
18924
+ const localVarQueryParameter = {};
18925
+ // authentication domainAuth required
18926
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18927
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18928
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18929
+ return {
18930
+ url: toPathString(localVarUrlObj),
18931
+ options: localVarRequestOptions,
18932
+ };
18933
+ },
18934
+ /**
18935
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
18936
+ * @summary Search
18937
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
18938
+ * @param {*} [options] Override http request option.
18939
+ * @throws {RequiredError}
18940
+ */
18941
+ inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
18942
+ const localVarPath = `/invite-link/search`;
18943
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18944
+ let baseOptions;
18945
+ if (configuration) {
18946
+ baseOptions = configuration.baseOptions;
18947
+ }
18948
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
18949
+ const localVarHeaderParameter = {};
18950
+ const localVarQueryParameter = {};
18951
+ // authentication domainAuth required
18952
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18953
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18954
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18955
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18956
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
18957
+ return {
18958
+ url: toPathString(localVarUrlObj),
18959
+ options: localVarRequestOptions,
18960
+ };
18961
+ },
18962
+ };
18963
+ };
18964
+ /**
18965
+ * InviteLinkApi - functional programming interface
18966
+ * @export
18967
+ */
18968
+ export const InviteLinkApiFp = function (configuration) {
18969
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
18970
+ return {
18971
+ /**
18972
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
18973
+ * @summary Create invite link
18974
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
18975
+ * @param {*} [options] Override http request option.
18976
+ * @throws {RequiredError}
18977
+ */
18978
+ async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
18979
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
18980
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18981
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
18982
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18983
+ },
18984
+ /**
18985
+ * <br> OperationId: `InviteLinkControllerPreview`
18986
+ * @summary Preview
18987
+ * @param {string} token
18988
+ * @param {*} [options] Override http request option.
18989
+ * @throws {RequiredError}
18990
+ */
18991
+ async inviteLinkControllerPreview(token, options) {
18992
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
18993
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18994
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
18995
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18996
+ },
18997
+ /**
18998
+ * <br> OperationId: `InviteLinkControllerRedeem`
18999
+ * @summary Redeem
19000
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
19001
+ * @param {*} [options] Override http request option.
19002
+ * @throws {RequiredError}
19003
+ */
19004
+ async inviteLinkControllerRedeem(redeemInputDTO, options) {
19005
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
19006
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19007
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
19008
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19009
+ },
19010
+ /**
19011
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
19012
+ * @summary Revoke
19013
+ * @param {string} id
19014
+ * @param {*} [options] Override http request option.
19015
+ * @throws {RequiredError}
19016
+ */
19017
+ async inviteLinkControllerRevoke(id, options) {
19018
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
19019
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19020
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
19021
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19022
+ },
19023
+ /**
19024
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
19025
+ * @summary Search
19026
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
19027
+ * @param {*} [options] Override http request option.
19028
+ * @throws {RequiredError}
19029
+ */
19030
+ async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
19031
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
19032
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19033
+ const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
19034
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19035
+ },
19036
+ };
19037
+ };
19038
+ /**
19039
+ * InviteLinkApi - factory interface
19040
+ * @export
19041
+ */
19042
+ export const InviteLinkApiFactory = function (configuration, basePath, axios) {
19043
+ const localVarFp = InviteLinkApiFp(configuration);
19044
+ return {
19045
+ /**
19046
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
19047
+ * @summary Create invite link
19048
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
19049
+ * @param {*} [options] Override http request option.
19050
+ * @throws {RequiredError}
19051
+ */
19052
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
19053
+ return localVarFp
19054
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
19055
+ .then((request) => request(axios, basePath));
19056
+ },
19057
+ /**
19058
+ * <br> OperationId: `InviteLinkControllerPreview`
19059
+ * @summary Preview
19060
+ * @param {string} token
19061
+ * @param {*} [options] Override http request option.
19062
+ * @throws {RequiredError}
19063
+ */
19064
+ inviteLinkControllerPreview(token, options) {
19065
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
19066
+ },
19067
+ /**
19068
+ * <br> OperationId: `InviteLinkControllerRedeem`
19069
+ * @summary Redeem
19070
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
19071
+ * @param {*} [options] Override http request option.
19072
+ * @throws {RequiredError}
19073
+ */
19074
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
19075
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
19076
+ },
19077
+ /**
19078
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
19079
+ * @summary Revoke
19080
+ * @param {string} id
19081
+ * @param {*} [options] Override http request option.
19082
+ * @throws {RequiredError}
19083
+ */
19084
+ inviteLinkControllerRevoke(id, options) {
19085
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
19086
+ },
19087
+ /**
19088
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
19089
+ * @summary Search
19090
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
19091
+ * @param {*} [options] Override http request option.
19092
+ * @throws {RequiredError}
19093
+ */
19094
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
19095
+ return localVarFp
19096
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
19097
+ .then((request) => request(axios, basePath));
19098
+ },
19099
+ };
19100
+ };
19101
+ /**
19102
+ * InviteLinkApi - object-oriented interface
19103
+ * @export
19104
+ * @class InviteLinkApi
19105
+ * @extends {BaseAPI}
19106
+ */
19107
+ export class InviteLinkApi extends BaseAPI {
19108
+ /**
19109
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
19110
+ * @summary Create invite link
19111
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
19112
+ * @param {*} [options] Override http request option.
19113
+ * @throws {RequiredError}
19114
+ * @memberof InviteLinkApi
19115
+ */
19116
+ inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
19117
+ return InviteLinkApiFp(this.configuration)
19118
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
19119
+ .then((request) => request(this.axios, this.basePath));
19120
+ }
19121
+ /**
19122
+ * <br> OperationId: `InviteLinkControllerPreview`
19123
+ * @summary Preview
19124
+ * @param {string} token
19125
+ * @param {*} [options] Override http request option.
19126
+ * @throws {RequiredError}
19127
+ * @memberof InviteLinkApi
19128
+ */
19129
+ inviteLinkControllerPreview(token, options) {
19130
+ return InviteLinkApiFp(this.configuration)
19131
+ .inviteLinkControllerPreview(token, options)
19132
+ .then((request) => request(this.axios, this.basePath));
19133
+ }
19134
+ /**
19135
+ * <br> OperationId: `InviteLinkControllerRedeem`
19136
+ * @summary Redeem
19137
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
19138
+ * @param {*} [options] Override http request option.
19139
+ * @throws {RequiredError}
19140
+ * @memberof InviteLinkApi
19141
+ */
19142
+ inviteLinkControllerRedeem(redeemInputDTO, options) {
19143
+ return InviteLinkApiFp(this.configuration)
19144
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
19145
+ .then((request) => request(this.axios, this.basePath));
19146
+ }
19147
+ /**
19148
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
19149
+ * @summary Revoke
19150
+ * @param {string} id
19151
+ * @param {*} [options] Override http request option.
19152
+ * @throws {RequiredError}
19153
+ * @memberof InviteLinkApi
19154
+ */
19155
+ inviteLinkControllerRevoke(id, options) {
19156
+ return InviteLinkApiFp(this.configuration)
19157
+ .inviteLinkControllerRevoke(id, options)
19158
+ .then((request) => request(this.axios, this.basePath));
19159
+ }
19160
+ /**
19161
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
19162
+ * @summary Search
19163
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
19164
+ * @param {*} [options] Override http request option.
19165
+ * @throws {RequiredError}
19166
+ * @memberof InviteLinkApi
19167
+ */
19168
+ inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
19169
+ return InviteLinkApiFp(this.configuration)
19170
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
19171
+ .then((request) => request(this.axios, this.basePath));
19172
+ }
19173
+ }
18741
19174
  //# sourceMappingURL=api.js.map