@emilgroup/setting-sdk 0.3.1-beta.0 → 0.3.1-beta.1

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.
@@ -3,7 +3,7 @@
3
3
  .openapi-generator-ignore
4
4
  README.md
5
5
  api.ts
6
- api/default-api.ts
6
+ api/health-api.ts
7
7
  api/public-keys-api.ts
8
8
  base.ts
9
9
  common.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/setting-sdk@0.3.1-beta.0 --save
20
+ npm install @emilgroup/setting-sdk@0.3.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/setting-sdk@0.3.1-beta.0
24
+ yarn add @emilgroup/setting-sdk@0.3.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
27
  /**
28
- * DefaultApi - axios parameter creator
28
+ * HealthApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
34
  *
@@ -65,11 +65,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
65
65
  };
66
66
 
67
67
  /**
68
- * DefaultApi - functional programming interface
68
+ * HealthApi - functional programming interface
69
69
  * @export
70
70
  */
71
- export const DefaultApiFp = function(configuration?: Configuration) {
72
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
71
+ export const HealthApiFp = function(configuration?: Configuration) {
72
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
73
73
  return {
74
74
  /**
75
75
  *
@@ -84,11 +84,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
84
84
  };
85
85
 
86
86
  /**
87
- * DefaultApi - factory interface
87
+ * HealthApi - factory interface
88
88
  * @export
89
89
  */
90
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
91
- const localVarFp = DefaultApiFp(configuration)
90
+ export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
91
+ const localVarFp = HealthApiFp(configuration)
92
92
  return {
93
93
  /**
94
94
  *
@@ -102,19 +102,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
102
102
  };
103
103
 
104
104
  /**
105
- * DefaultApi - object-oriented interface
105
+ * HealthApi - object-oriented interface
106
106
  * @export
107
- * @class DefaultApi
107
+ * @class HealthApi
108
108
  * @extends {BaseAPI}
109
109
  */
110
- export class DefaultApi extends BaseAPI {
110
+ export class HealthApi extends BaseAPI {
111
111
  /**
112
112
  *
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
115
- * @memberof DefaultApi
115
+ * @memberof HealthApi
116
116
  */
117
117
  public check(options?: AxiosRequestConfig) {
118
- return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
118
+ return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
119
119
  }
120
120
  }
@@ -43,7 +43,7 @@ import { UpdatePublicKeyResponseClass } from '../models';
43
43
  export const PublicKeysApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
46
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
47
47
  * @summary Create the public key
48
48
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
49
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,7 +90,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
90
90
  };
91
91
  },
92
92
  /**
93
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
93
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
94
94
  * @summary Delete the public key
95
95
  * @param {string} code Unique identifier for the object.
96
96
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -141,7 +141,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
141
141
  };
142
142
  },
143
143
  /**
144
- * Retrieve a single public key by its code.
144
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
145
145
  * @summary Retrieve the public key
146
146
  * @param {string} code
147
147
  * @param {string} expand
@@ -193,7 +193,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
193
193
  };
194
194
  },
195
195
  /**
196
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
196
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
197
197
  * @summary List public keys
198
198
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
199
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, key, createdAt, updatedAt, deletedAt</i>
@@ -259,7 +259,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
259
259
  };
260
260
  },
261
261
  /**
262
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
262
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
263
263
  * @summary Create the public key
264
264
  * @param {string} code
265
265
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -304,7 +304,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
304
304
  };
305
305
  },
306
306
  /**
307
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
307
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
308
308
  * @summary Update the public key
309
309
  * @param {string} code
310
310
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -365,7 +365,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
365
365
  const localVarAxiosParamCreator = PublicKeysApiAxiosParamCreator(configuration)
366
366
  return {
367
367
  /**
368
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
368
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
369
369
  * @summary Create the public key
370
370
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
371
371
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -377,7 +377,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
377
377
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
378
  },
379
379
  /**
380
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
380
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
381
381
  * @summary Delete the public key
382
382
  * @param {string} code Unique identifier for the object.
383
383
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -390,7 +390,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
390
390
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
391
  },
392
392
  /**
393
- * Retrieve a single public key by its code.
393
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
394
394
  * @summary Retrieve the public key
395
395
  * @param {string} code
396
396
  * @param {string} expand
@@ -403,7 +403,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
403
403
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
404
404
  },
405
405
  /**
406
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
406
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
407
407
  * @summary List public keys
408
408
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
409
409
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, key, createdAt, updatedAt, deletedAt</i>
@@ -419,7 +419,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
419
419
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
420
420
  },
421
421
  /**
422
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
422
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
423
423
  * @summary Create the public key
424
424
  * @param {string} code
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -431,7 +431,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
431
431
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
432
432
  },
433
433
  /**
434
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
434
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
435
435
  * @summary Update the public key
436
436
  * @param {string} code
437
437
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -454,7 +454,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
454
454
  const localVarFp = PublicKeysApiFp(configuration)
455
455
  return {
456
456
  /**
457
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
457
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
458
458
  * @summary Create the public key
459
459
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
460
460
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -465,7 +465,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
465
465
  return localVarFp.createPublicKey(createPublicKeyRequestDto, authorization, options).then((request) => request(axios, basePath));
466
466
  },
467
467
  /**
468
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
468
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
469
469
  * @summary Delete the public key
470
470
  * @param {string} code Unique identifier for the object.
471
471
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -477,7 +477,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
477
477
  return localVarFp.deletePublicKey(code, deletePublicKeyRequestDto, authorization, options).then((request) => request(axios, basePath));
478
478
  },
479
479
  /**
480
- * Retrieve a single public key by its code.
480
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
481
481
  * @summary Retrieve the public key
482
482
  * @param {string} code
483
483
  * @param {string} expand
@@ -489,7 +489,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
489
489
  return localVarFp.getPublicKey(code, expand, authorization, options).then((request) => request(axios, basePath));
490
490
  },
491
491
  /**
492
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
492
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
493
493
  * @summary List public keys
494
494
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
495
495
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, key, createdAt, updatedAt, deletedAt</i>
@@ -504,7 +504,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
504
504
  return localVarFp.listPublicKeys(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
505
505
  },
506
506
  /**
507
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
507
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
508
508
  * @summary Create the public key
509
509
  * @param {string} code
510
510
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -515,7 +515,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
515
515
  return localVarFp.rotatePublicKey(code, authorization, options).then((request) => request(axios, basePath));
516
516
  },
517
517
  /**
518
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
518
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
519
519
  * @summary Update the public key
520
520
  * @param {string} code
521
521
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -712,7 +712,7 @@ export interface PublicKeysApiUpdatePublicKeyRequest {
712
712
  */
713
713
  export class PublicKeysApi extends BaseAPI {
714
714
  /**
715
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
715
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
716
716
  * @summary Create the public key
717
717
  * @param {PublicKeysApiCreatePublicKeyRequest} requestParameters Request parameters.
718
718
  * @param {*} [options] Override http request option.
@@ -724,7 +724,7 @@ export class PublicKeysApi extends BaseAPI {
724
724
  }
725
725
 
726
726
  /**
727
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
727
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
728
728
  * @summary Delete the public key
729
729
  * @param {PublicKeysApiDeletePublicKeyRequest} requestParameters Request parameters.
730
730
  * @param {*} [options] Override http request option.
@@ -736,7 +736,7 @@ export class PublicKeysApi extends BaseAPI {
736
736
  }
737
737
 
738
738
  /**
739
- * Retrieve a single public key by its code.
739
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
740
740
  * @summary Retrieve the public key
741
741
  * @param {PublicKeysApiGetPublicKeyRequest} requestParameters Request parameters.
742
742
  * @param {*} [options] Override http request option.
@@ -748,7 +748,7 @@ export class PublicKeysApi extends BaseAPI {
748
748
  }
749
749
 
750
750
  /**
751
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
751
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
752
752
  * @summary List public keys
753
753
  * @param {PublicKeysApiListPublicKeysRequest} requestParameters Request parameters.
754
754
  * @param {*} [options] Override http request option.
@@ -760,7 +760,7 @@ export class PublicKeysApi extends BaseAPI {
760
760
  }
761
761
 
762
762
  /**
763
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
763
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
764
764
  * @summary Create the public key
765
765
  * @param {PublicKeysApiRotatePublicKeyRequest} requestParameters Request parameters.
766
766
  * @param {*} [options] Override http request option.
@@ -772,7 +772,7 @@ export class PublicKeysApi extends BaseAPI {
772
772
  }
773
773
 
774
774
  /**
775
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
775
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
776
776
  * @summary Update the public key
777
777
  * @param {PublicKeysApiUpdatePublicKeyRequest} requestParameters Request parameters.
778
778
  * @param {*} [options] Override http request option.
package/api.ts CHANGED
@@ -20,10 +20,10 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
- import { DefaultApi } from './api';
23
+ import { HealthApi } from './api';
24
24
  import { PublicKeysApi } from './api';
25
25
 
26
26
 
27
- export * from './api/default-api';
27
+ export * from './api/health-api';
28
28
  export * from './api/public-keys-api';
29
29
 
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * DefaultApi - axios parameter creator
17
+ * HealthApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  *
23
23
  * @param {*} [options] Override http request option.
@@ -26,10 +26,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26
26
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
27
  };
28
28
  /**
29
- * DefaultApi - functional programming interface
29
+ * HealthApi - functional programming interface
30
30
  * @export
31
31
  */
32
- export declare const DefaultApiFp: (configuration?: Configuration) => {
32
+ export declare const HealthApiFp: (configuration?: Configuration) => {
33
33
  /**
34
34
  *
35
35
  * @param {*} [options] Override http request option.
@@ -38,10 +38,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
38
38
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
39
39
  };
40
40
  /**
41
- * DefaultApi - factory interface
41
+ * HealthApi - factory interface
42
42
  * @export
43
43
  */
44
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45
45
  /**
46
46
  *
47
47
  * @param {*} [options] Override http request option.
@@ -50,17 +50,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
50
50
  check(options?: any): AxiosPromise<InlineResponse200>;
51
51
  };
52
52
  /**
53
- * DefaultApi - object-oriented interface
53
+ * HealthApi - object-oriented interface
54
54
  * @export
55
- * @class DefaultApi
55
+ * @class HealthApi
56
56
  * @extends {BaseAPI}
57
57
  */
58
- export declare class DefaultApi extends BaseAPI {
58
+ export declare class HealthApi extends BaseAPI {
59
59
  /**
60
60
  *
61
61
  * @param {*} [options] Override http request option.
62
62
  * @throws {RequiredError}
63
- * @memberof DefaultApi
63
+ * @memberof HealthApi
64
64
  */
65
65
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
66
66
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -86,10 +86,10 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * DefaultApi - axios parameter creator
89
+ * HealthApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var DefaultApiAxiosParamCreator = function (configuration) {
92
+ var HealthApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
@@ -123,13 +123,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
123
123
  },
124
124
  };
125
125
  };
126
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
126
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
127
127
  /**
128
- * DefaultApi - functional programming interface
128
+ * HealthApi - functional programming interface
129
129
  * @export
130
130
  */
131
- var DefaultApiFp = function (configuration) {
132
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
131
+ var HealthApiFp = function (configuration) {
132
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
133
133
  return {
134
134
  /**
135
135
  *
@@ -151,13 +151,13 @@ var DefaultApiFp = function (configuration) {
151
151
  },
152
152
  };
153
153
  };
154
- exports.DefaultApiFp = DefaultApiFp;
154
+ exports.HealthApiFp = HealthApiFp;
155
155
  /**
156
- * DefaultApi - factory interface
156
+ * HealthApi - factory interface
157
157
  * @export
158
158
  */
159
- var DefaultApiFactory = function (configuration, basePath, axios) {
160
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
159
+ var HealthApiFactory = function (configuration, basePath, axios) {
160
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
161
161
  return {
162
162
  /**
163
163
  *
@@ -169,28 +169,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
169
169
  },
170
170
  };
171
171
  };
172
- exports.DefaultApiFactory = DefaultApiFactory;
172
+ exports.HealthApiFactory = HealthApiFactory;
173
173
  /**
174
- * DefaultApi - object-oriented interface
174
+ * HealthApi - object-oriented interface
175
175
  * @export
176
- * @class DefaultApi
176
+ * @class HealthApi
177
177
  * @extends {BaseAPI}
178
178
  */
179
- var DefaultApi = /** @class */ (function (_super) {
180
- __extends(DefaultApi, _super);
181
- function DefaultApi() {
179
+ var HealthApi = /** @class */ (function (_super) {
180
+ __extends(HealthApi, _super);
181
+ function HealthApi() {
182
182
  return _super !== null && _super.apply(this, arguments) || this;
183
183
  }
184
184
  /**
185
185
  *
186
186
  * @param {*} [options] Override http request option.
187
187
  * @throws {RequiredError}
188
- * @memberof DefaultApi
188
+ * @memberof HealthApi
189
189
  */
190
- DefaultApi.prototype.check = function (options) {
190
+ HealthApi.prototype.check = function (options) {
191
191
  var _this = this;
192
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
192
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
193
193
  };
194
- return DefaultApi;
194
+ return HealthApi;
195
195
  }(base_1.BaseAPI));
196
- exports.DefaultApi = DefaultApi;
196
+ exports.HealthApi = HealthApi;
@@ -26,7 +26,7 @@ import { UpdatePublicKeyResponseClass } from '../models';
26
26
  */
27
27
  export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
29
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
30
30
  * @summary Create the public key
31
31
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
32
32
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +35,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
35
35
  */
36
36
  createPublicKey: (createPublicKeyRequestDto: CreatePublicKeyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  /**
38
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
38
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
39
39
  * @summary Delete the public key
40
40
  * @param {string} code Unique identifier for the object.
41
41
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -45,7 +45,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
45
45
  */
46
46
  deletePublicKey: (code: string, deletePublicKeyRequestDto: DeletePublicKeyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
47
  /**
48
- * Retrieve a single public key by its code.
48
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
49
49
  * @summary Retrieve the public key
50
50
  * @param {string} code
51
51
  * @param {string} expand
@@ -55,7 +55,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
55
55
  */
56
56
  getPublicKey: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
57
  /**
58
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
58
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
59
59
  * @summary List public keys
60
60
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
61
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -68,7 +68,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
68
68
  */
69
69
  listPublicKeys: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
70
  /**
71
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
71
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
72
72
  * @summary Create the public key
73
73
  * @param {string} code
74
74
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -77,7 +77,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
77
77
  */
78
78
  rotatePublicKey: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
79
  /**
80
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
80
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
81
81
  * @summary Update the public key
82
82
  * @param {string} code
83
83
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -93,7 +93,7 @@ export declare const PublicKeysApiAxiosParamCreator: (configuration?: Configurat
93
93
  */
94
94
  export declare const PublicKeysApiFp: (configuration?: Configuration) => {
95
95
  /**
96
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
96
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
97
97
  * @summary Create the public key
98
98
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -102,7 +102,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  createPublicKey(createPublicKeyRequestDto: CreatePublicKeyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePublicKeyResponseClass>>;
104
104
  /**
105
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
105
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
106
106
  * @summary Delete the public key
107
107
  * @param {string} code Unique identifier for the object.
108
108
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -112,7 +112,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
112
112
  */
113
113
  deletePublicKey(code: string, deletePublicKeyRequestDto: DeletePublicKeyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
114
114
  /**
115
- * Retrieve a single public key by its code.
115
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
116
116
  * @summary Retrieve the public key
117
117
  * @param {string} code
118
118
  * @param {string} expand
@@ -122,7 +122,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
122
122
  */
123
123
  getPublicKey(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicKeyResponseClass>>;
124
124
  /**
125
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
125
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
126
126
  * @summary List public keys
127
127
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
128
128
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -135,7 +135,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
135
135
  */
136
136
  listPublicKeys(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPublicKeysResponseClass>>;
137
137
  /**
138
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
138
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
139
139
  * @summary Create the public key
140
140
  * @param {string} code
141
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -144,7 +144,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
144
144
  */
145
145
  rotatePublicKey(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RotatePublicKeyResponseClass>>;
146
146
  /**
147
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
147
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
148
148
  * @summary Update the public key
149
149
  * @param {string} code
150
150
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -160,7 +160,7 @@ export declare const PublicKeysApiFp: (configuration?: Configuration) => {
160
160
  */
161
161
  export declare const PublicKeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
162
162
  /**
163
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
163
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
164
164
  * @summary Create the public key
165
165
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
166
166
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -169,7 +169,7 @@ export declare const PublicKeysApiFactory: (configuration?: Configuration, baseP
169
169
  */
170
170
  createPublicKey(createPublicKeyRequestDto: CreatePublicKeyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePublicKeyResponseClass>;
171
171
  /**
172
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
172
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
173
173
  * @summary Delete the public key
174
174
  * @param {string} code Unique identifier for the object.
175
175
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -179,7 +179,7 @@ export declare const PublicKeysApiFactory: (configuration?: Configuration, baseP
179
179
  */
180
180
  deletePublicKey(code: string, deletePublicKeyRequestDto: DeletePublicKeyRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
181
181
  /**
182
- * Retrieve a single public key by its code.
182
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
183
183
  * @summary Retrieve the public key
184
184
  * @param {string} code
185
185
  * @param {string} expand
@@ -189,7 +189,7 @@ export declare const PublicKeysApiFactory: (configuration?: Configuration, baseP
189
189
  */
190
190
  getPublicKey(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPublicKeyResponseClass>;
191
191
  /**
192
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
192
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
193
193
  * @summary List public keys
194
194
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
195
195
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -202,7 +202,7 @@ export declare const PublicKeysApiFactory: (configuration?: Configuration, baseP
202
202
  */
203
203
  listPublicKeys(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPublicKeysResponseClass>;
204
204
  /**
205
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
205
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
206
206
  * @summary Create the public key
207
207
  * @param {string} code
208
208
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -211,7 +211,7 @@ export declare const PublicKeysApiFactory: (configuration?: Configuration, baseP
211
211
  */
212
212
  rotatePublicKey(code: string, authorization?: string, options?: any): AxiosPromise<RotatePublicKeyResponseClass>;
213
213
  /**
214
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
214
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
215
215
  * @summary Update the public key
216
216
  * @param {string} code
217
217
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -385,7 +385,7 @@ export interface PublicKeysApiUpdatePublicKeyRequest {
385
385
  */
386
386
  export declare class PublicKeysApi extends BaseAPI {
387
387
  /**
388
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
388
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
389
389
  * @summary Create the public key
390
390
  * @param {PublicKeysApiCreatePublicKeyRequest} requestParameters Request parameters.
391
391
  * @param {*} [options] Override http request option.
@@ -394,7 +394,7 @@ export declare class PublicKeysApi extends BaseAPI {
394
394
  */
395
395
  createPublicKey(requestParameters: PublicKeysApiCreatePublicKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePublicKeyResponseClass, any, {}>>;
396
396
  /**
397
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
397
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
398
398
  * @summary Delete the public key
399
399
  * @param {PublicKeysApiDeletePublicKeyRequest} requestParameters Request parameters.
400
400
  * @param {*} [options] Override http request option.
@@ -403,7 +403,7 @@ export declare class PublicKeysApi extends BaseAPI {
403
403
  */
404
404
  deletePublicKey(requestParameters: PublicKeysApiDeletePublicKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
405
405
  /**
406
- * Retrieve a single public key by its code.
406
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
407
407
  * @summary Retrieve the public key
408
408
  * @param {PublicKeysApiGetPublicKeyRequest} requestParameters Request parameters.
409
409
  * @param {*} [options] Override http request option.
@@ -412,7 +412,7 @@ export declare class PublicKeysApi extends BaseAPI {
412
412
  */
413
413
  getPublicKey(requestParameters: PublicKeysApiGetPublicKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicKeyResponseClass, any, {}>>;
414
414
  /**
415
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
415
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
416
416
  * @summary List public keys
417
417
  * @param {PublicKeysApiListPublicKeysRequest} requestParameters Request parameters.
418
418
  * @param {*} [options] Override http request option.
@@ -421,7 +421,7 @@ export declare class PublicKeysApi extends BaseAPI {
421
421
  */
422
422
  listPublicKeys(requestParameters?: PublicKeysApiListPublicKeysRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPublicKeysResponseClass, any, {}>>;
423
423
  /**
424
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
424
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
425
425
  * @summary Create the public key
426
426
  * @param {PublicKeysApiRotatePublicKeyRequest} requestParameters Request parameters.
427
427
  * @param {*} [options] Override http request option.
@@ -430,7 +430,7 @@ export declare class PublicKeysApi extends BaseAPI {
430
430
  */
431
431
  rotatePublicKey(requestParameters: PublicKeysApiRotatePublicKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RotatePublicKeyResponseClass, any, {}>>;
432
432
  /**
433
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
433
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
434
434
  * @summary Update the public key
435
435
  * @param {PublicKeysApiUpdatePublicKeyRequest} requestParameters Request parameters.
436
436
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
96
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
97
97
  * @summary Create the public key
98
98
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
145
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
146
146
  * @summary Delete the public key
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -195,7 +195,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
195
195
  });
196
196
  },
197
197
  /**
198
- * Retrieve a single public key by its code.
198
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
199
199
  * @summary Retrieve the public key
200
200
  * @param {string} code
201
201
  * @param {string} expand
@@ -249,7 +249,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
249
249
  });
250
250
  },
251
251
  /**
252
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
252
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
253
253
  * @summary List public keys
254
254
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
255
255
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -313,7 +313,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
313
313
  });
314
314
  },
315
315
  /**
316
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
316
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
317
317
  * @summary Create the public key
318
318
  * @param {string} code
319
319
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -361,7 +361,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
361
361
  });
362
362
  },
363
363
  /**
364
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
364
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
365
365
  * @summary Update the public key
366
366
  * @param {string} code
367
367
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -424,7 +424,7 @@ var PublicKeysApiFp = function (configuration) {
424
424
  var localVarAxiosParamCreator = (0, exports.PublicKeysApiAxiosParamCreator)(configuration);
425
425
  return {
426
426
  /**
427
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
427
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
428
428
  * @summary Create the public key
429
429
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
430
430
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -445,7 +445,7 @@ var PublicKeysApiFp = function (configuration) {
445
445
  });
446
446
  },
447
447
  /**
448
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
448
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
449
449
  * @summary Delete the public key
450
450
  * @param {string} code Unique identifier for the object.
451
451
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -467,7 +467,7 @@ var PublicKeysApiFp = function (configuration) {
467
467
  });
468
468
  },
469
469
  /**
470
- * Retrieve a single public key by its code.
470
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
471
471
  * @summary Retrieve the public key
472
472
  * @param {string} code
473
473
  * @param {string} expand
@@ -489,7 +489,7 @@ var PublicKeysApiFp = function (configuration) {
489
489
  });
490
490
  },
491
491
  /**
492
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
492
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
493
493
  * @summary List public keys
494
494
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
495
495
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -514,7 +514,7 @@ var PublicKeysApiFp = function (configuration) {
514
514
  });
515
515
  },
516
516
  /**
517
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
517
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
518
518
  * @summary Create the public key
519
519
  * @param {string} code
520
520
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -535,7 +535,7 @@ var PublicKeysApiFp = function (configuration) {
535
535
  });
536
536
  },
537
537
  /**
538
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
538
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
539
539
  * @summary Update the public key
540
540
  * @param {string} code
541
541
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -567,7 +567,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
567
567
  var localVarFp = (0, exports.PublicKeysApiFp)(configuration);
568
568
  return {
569
569
  /**
570
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
570
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
571
571
  * @summary Create the public key
572
572
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
573
573
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -578,7 +578,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
578
578
  return localVarFp.createPublicKey(createPublicKeyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
579
579
  },
580
580
  /**
581
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
581
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
582
582
  * @summary Delete the public key
583
583
  * @param {string} code Unique identifier for the object.
584
584
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -590,7 +590,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
590
590
  return localVarFp.deletePublicKey(code, deletePublicKeyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
591
591
  },
592
592
  /**
593
- * Retrieve a single public key by its code.
593
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
594
594
  * @summary Retrieve the public key
595
595
  * @param {string} code
596
596
  * @param {string} expand
@@ -602,7 +602,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
602
602
  return localVarFp.getPublicKey(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
603
603
  },
604
604
  /**
605
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
605
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
606
606
  * @summary List public keys
607
607
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
608
608
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, key, createdAt, updatedAt, deletedAt&lt;/i&gt;
@@ -617,7 +617,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
617
617
  return localVarFp.listPublicKeys(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
618
618
  },
619
619
  /**
620
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
620
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
621
621
  * @summary Create the public key
622
622
  * @param {string} code
623
623
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -628,7 +628,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
628
628
  return localVarFp.rotatePublicKey(code, authorization, options).then(function (request) { return request(axios, basePath); });
629
629
  },
630
630
  /**
631
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
631
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
632
632
  * @summary Update the public key
633
633
  * @param {string} code
634
634
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -654,7 +654,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
654
654
  return _super !== null && _super.apply(this, arguments) || this;
655
655
  }
656
656
  /**
657
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
657
+ * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months. **Required Permissions** \"tenant-management.settings.create\"
658
658
  * @summary Create the public key
659
659
  * @param {PublicKeysApiCreatePublicKeyRequest} requestParameters Request parameters.
660
660
  * @param {*} [options] Override http request option.
@@ -666,7 +666,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
666
666
  return (0, exports.PublicKeysApiFp)(this.configuration).createPublicKey(requestParameters.createPublicKeyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
667
667
  };
668
668
  /**
669
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
669
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
670
670
  * @summary Delete the public key
671
671
  * @param {PublicKeysApiDeletePublicKeyRequest} requestParameters Request parameters.
672
672
  * @param {*} [options] Override http request option.
@@ -678,7 +678,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
678
678
  return (0, exports.PublicKeysApiFp)(this.configuration).deletePublicKey(requestParameters.code, requestParameters.deletePublicKeyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
679
679
  };
680
680
  /**
681
- * Retrieve a single public key by its code.
681
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
682
682
  * @summary Retrieve the public key
683
683
  * @param {PublicKeysApiGetPublicKeyRequest} requestParameters Request parameters.
684
684
  * @param {*} [options] Override http request option.
@@ -690,7 +690,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
690
690
  return (0, exports.PublicKeysApiFp)(this.configuration).getPublicKey(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
691
691
  };
692
692
  /**
693
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
693
+ * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes. **Required Permissions** \"tenant-management.settings.view\"
694
694
  * @summary List public keys
695
695
  * @param {PublicKeysApiListPublicKeysRequest} requestParameters Request parameters.
696
696
  * @param {*} [options] Override http request option.
@@ -703,7 +703,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
703
703
  return (0, exports.PublicKeysApiFp)(this.configuration).listPublicKeys(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
704
704
  };
705
705
  /**
706
- * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key.
706
+ * Rotate (replace) a public key with new key material. The code stays the same; only the key value changes. We recommend rotating keys every three months for security. Returns the updated public key. **Required Permissions** \"tenant-management.settings.update\"
707
707
  * @summary Create the public key
708
708
  * @param {PublicKeysApiRotatePublicKeyRequest} requestParameters Request parameters.
709
709
  * @param {*} [options] Override http request option.
@@ -715,7 +715,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
715
715
  return (0, exports.PublicKeysApiFp)(this.configuration).rotatePublicKey(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
716
716
  };
717
717
  /**
718
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
718
+ * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key. **Required Permissions** \"tenant-management.settings.update\"
719
719
  * @summary Update the public key
720
720
  * @param {PublicKeysApiUpdatePublicKeyRequest} requestParameters Request parameters.
721
721
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -9,5 +9,5 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from './api/default-api';
12
+ export * from './api/health-api';
13
13
  export * from './api/public-keys-api';
package/dist/api.js CHANGED
@@ -27,5 +27,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/default-api"), exports);
30
+ __exportStar(require("./api/health-api"), exports);
31
31
  __exportStar(require("./api/public-keys-api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/setting-sdk",
3
- "version": "0.3.1-beta.0",
3
+ "version": "0.3.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/setting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [