@takaro/apiclient 0.0.0-dev.fbd8199 → 0.0.0-dev.fc4b15f

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.
@@ -6550,7 +6550,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
6550
6550
  },
6551
6551
  /**
6552
6552
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6553
- * @summary Create admin invite link for a domain
6553
+ * @summary Create staff-recovery invite link for a domain
6554
6554
  * @param {string} id
6555
6555
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6556
6556
  * @param {*} [options] Override http request option.
@@ -6794,7 +6794,7 @@ export const DomainApiFp = function (configuration) {
6794
6794
  },
6795
6795
  /**
6796
6796
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6797
- * @summary Create admin invite link for a domain
6797
+ * @summary Create staff-recovery invite link for a domain
6798
6798
  * @param {string} id
6799
6799
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6800
6800
  * @param {*} [options] Override http request option.
@@ -6909,7 +6909,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
6909
6909
  },
6910
6910
  /**
6911
6911
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
6912
- * @summary Create admin invite link for a domain
6912
+ * @summary Create staff-recovery invite link for a domain
6913
6913
  * @param {string} id
6914
6914
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
6915
6915
  * @param {*} [options] Override http request option.
@@ -7012,7 +7012,7 @@ export class DomainApi extends BaseAPI {
7012
7012
  }
7013
7013
  /**
7014
7014
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
7015
- * @summary Create admin invite link for a domain
7015
+ * @summary Create staff-recovery invite link for a domain
7016
7016
  * @param {string} id
7017
7017
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
7018
7018
  * @param {*} [options] Override http request option.
@@ -7775,13 +7775,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
7775
7775
  /**
7776
7776
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7777
7777
  * @summary Auth discord
7778
- * @param {string} redirect
7778
+ * @param {string} [redirect]
7779
7779
  * @param {*} [options] Override http request option.
7780
7780
  * @throws {RequiredError}
7781
7781
  */
7782
7782
  externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
7783
- // verify required parameter 'redirect' is not null or undefined
7784
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
7785
7783
  const localVarPath = `/auth/discord`;
7786
7784
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7787
7785
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7840,7 +7838,7 @@ export const ExternalAuthApiFp = function (configuration) {
7840
7838
  /**
7841
7839
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7842
7840
  * @summary Auth discord
7843
- * @param {string} redirect
7841
+ * @param {string} [redirect]
7844
7842
  * @param {*} [options] Override http request option.
7845
7843
  * @throws {RequiredError}
7846
7844
  */
@@ -7875,7 +7873,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
7875
7873
  /**
7876
7874
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7877
7875
  * @summary Auth discord
7878
- * @param {string} redirect
7876
+ * @param {string} [redirect]
7879
7877
  * @param {*} [options] Override http request option.
7880
7878
  * @throws {RequiredError}
7881
7879
  */
@@ -7905,7 +7903,7 @@ export class ExternalAuthApi extends BaseAPI {
7905
7903
  /**
7906
7904
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
7907
7905
  * @summary Auth discord
7908
- * @param {string} redirect
7906
+ * @param {string} [redirect]
7909
7907
  * @param {*} [options] Override http request option.
7910
7908
  * @throws {RequiredError}
7911
7909
  * @memberof ExternalAuthApi
@@ -11244,6 +11242,31 @@ export const MetaApiAxiosParamCreator = function (configuration) {
11244
11242
  options: localVarRequestOptions,
11245
11243
  };
11246
11244
  },
11245
+ /**
11246
+ * <br> OperationId: `MetaGetLiveness`
11247
+ * @summary Get liveness
11248
+ * @param {*} [options] Override http request option.
11249
+ * @throws {RequiredError}
11250
+ */
11251
+ metaGetLiveness: async (options = {}) => {
11252
+ const localVarPath = `/livez`;
11253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11255
+ let baseOptions;
11256
+ if (configuration) {
11257
+ baseOptions = configuration.baseOptions;
11258
+ }
11259
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11260
+ const localVarHeaderParameter = {};
11261
+ const localVarQueryParameter = {};
11262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11264
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11265
+ return {
11266
+ url: toPathString(localVarUrlObj),
11267
+ options: localVarRequestOptions,
11268
+ };
11269
+ },
11247
11270
  /**
11248
11271
  * <br> OperationId: `MetaGetMetrics`
11249
11272
  * @summary Get metrics
@@ -11390,6 +11413,18 @@ export const MetaApiFp = function (configuration) {
11390
11413
  const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
11391
11414
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11392
11415
  },
11416
+ /**
11417
+ * <br> OperationId: `MetaGetLiveness`
11418
+ * @summary Get liveness
11419
+ * @param {*} [options] Override http request option.
11420
+ * @throws {RequiredError}
11421
+ */
11422
+ async metaGetLiveness(options) {
11423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
11424
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11425
+ const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
11426
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11427
+ },
11393
11428
  /**
11394
11429
  * <br> OperationId: `MetaGetMetrics`
11395
11430
  * @summary Get metrics
@@ -11468,6 +11503,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
11468
11503
  metaGetHealth(options) {
11469
11504
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
11470
11505
  },
11506
+ /**
11507
+ * <br> OperationId: `MetaGetLiveness`
11508
+ * @summary Get liveness
11509
+ * @param {*} [options] Override http request option.
11510
+ * @throws {RequiredError}
11511
+ */
11512
+ metaGetLiveness(options) {
11513
+ return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
11514
+ },
11471
11515
  /**
11472
11516
  * <br> OperationId: `MetaGetMetrics`
11473
11517
  * @summary Get metrics
@@ -11534,6 +11578,18 @@ export class MetaApi extends BaseAPI {
11534
11578
  .metaGetHealth(options)
11535
11579
  .then((request) => request(this.axios, this.basePath));
11536
11580
  }
11581
+ /**
11582
+ * <br> OperationId: `MetaGetLiveness`
11583
+ * @summary Get liveness
11584
+ * @param {*} [options] Override http request option.
11585
+ * @throws {RequiredError}
11586
+ * @memberof MetaApi
11587
+ */
11588
+ metaGetLiveness(options) {
11589
+ return MetaApiFp(this.configuration)
11590
+ .metaGetLiveness(options)
11591
+ .then((request) => request(this.axios, this.basePath));
11592
+ }
11537
11593
  /**
11538
11594
  * <br> OperationId: `MetaGetMetrics`
11539
11595
  * @summary Get metrics