@emilgroup/setting-sdk-node 0.3.1-beta.0 → 0.3.1-beta.15

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-node@0.3.1-beta.0 --save
20
+ npm install @emilgroup/setting-sdk-node@0.3.1-beta.15 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/setting-sdk-node@0.3.1-beta.0
24
+ yarn add @emilgroup/setting-sdk-node@0.3.1-beta.15
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
29
29
  import { URL, URLSearchParams } from 'url';
30
30
  const FormData = require('form-data');
31
31
  /**
32
- * DefaultApi - axios parameter creator
32
+ * HealthApi - axios parameter creator
33
33
  * @export
34
34
  */
35
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
35
+ export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
38
  *
@@ -69,11 +69,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
69
69
  };
70
70
 
71
71
  /**
72
- * DefaultApi - functional programming interface
72
+ * HealthApi - functional programming interface
73
73
  * @export
74
74
  */
75
- export const DefaultApiFp = function(configuration?: Configuration) {
76
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
75
+ export const HealthApiFp = function(configuration?: Configuration) {
76
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
77
77
  return {
78
78
  /**
79
79
  *
@@ -88,11 +88,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
88
88
  };
89
89
 
90
90
  /**
91
- * DefaultApi - factory interface
91
+ * HealthApi - factory interface
92
92
  * @export
93
93
  */
94
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
- const localVarFp = DefaultApiFp(configuration)
94
+ export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
+ const localVarFp = HealthApiFp(configuration)
96
96
  return {
97
97
  /**
98
98
  *
@@ -106,19 +106,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
106
106
  };
107
107
 
108
108
  /**
109
- * DefaultApi - object-oriented interface
109
+ * HealthApi - object-oriented interface
110
110
  * @export
111
- * @class DefaultApi
111
+ * @class HealthApi
112
112
  * @extends {BaseAPI}
113
113
  */
114
- export class DefaultApi extends BaseAPI {
114
+ export class HealthApi extends BaseAPI {
115
115
  /**
116
116
  *
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
- * @memberof DefaultApi
119
+ * @memberof HealthApi
120
120
  */
121
121
  public check(options?: AxiosRequestConfig) {
122
- return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
123
  }
124
124
  }
@@ -47,7 +47,7 @@ const FormData = require('form-data');
47
47
  export const PublicKeysApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
50
+ * 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\"
51
51
  * @summary Create the public key
52
52
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
53
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -94,7 +94,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
94
94
  };
95
95
  },
96
96
  /**
97
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
97
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
98
98
  * @summary Delete the public key
99
99
  * @param {string} code Unique identifier for the object.
100
100
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -145,7 +145,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
145
145
  };
146
146
  },
147
147
  /**
148
- * Retrieve a single public key by its code.
148
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
149
149
  * @summary Retrieve the public key
150
150
  * @param {string} code
151
151
  * @param {string} expand
@@ -197,7 +197,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
197
197
  };
198
198
  },
199
199
  /**
200
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
200
+ * 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\"
201
201
  * @summary List public keys
202
202
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
203
203
  * @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>
@@ -263,7 +263,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
263
263
  };
264
264
  },
265
265
  /**
266
- * 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.
266
+ * 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\"
267
267
  * @summary Create the public key
268
268
  * @param {string} code
269
269
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -308,7 +308,7 @@ export const PublicKeysApiAxiosParamCreator = function (configuration?: Configur
308
308
  };
309
309
  },
310
310
  /**
311
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
311
+ * 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\"
312
312
  * @summary Update the public key
313
313
  * @param {string} code
314
314
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -369,7 +369,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
369
369
  const localVarAxiosParamCreator = PublicKeysApiAxiosParamCreator(configuration)
370
370
  return {
371
371
  /**
372
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
372
+ * 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\"
373
373
  * @summary Create the public key
374
374
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
375
375
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -381,7 +381,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
381
381
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
382
382
  },
383
383
  /**
384
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
384
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
385
385
  * @summary Delete the public key
386
386
  * @param {string} code Unique identifier for the object.
387
387
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -394,7 +394,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
394
394
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
395
395
  },
396
396
  /**
397
- * Retrieve a single public key by its code.
397
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
398
398
  * @summary Retrieve the public key
399
399
  * @param {string} code
400
400
  * @param {string} expand
@@ -407,7 +407,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
407
407
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
408
408
  },
409
409
  /**
410
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
410
+ * 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\"
411
411
  * @summary List public keys
412
412
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
413
413
  * @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>
@@ -423,7 +423,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
423
423
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
424
424
  },
425
425
  /**
426
- * 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.
426
+ * 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\"
427
427
  * @summary Create the public key
428
428
  * @param {string} code
429
429
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -435,7 +435,7 @@ export const PublicKeysApiFp = function(configuration?: Configuration) {
435
435
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
436
436
  },
437
437
  /**
438
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
438
+ * 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\"
439
439
  * @summary Update the public key
440
440
  * @param {string} code
441
441
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -458,7 +458,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
458
458
  const localVarFp = PublicKeysApiFp(configuration)
459
459
  return {
460
460
  /**
461
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
461
+ * 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\"
462
462
  * @summary Create the public key
463
463
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
464
464
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -469,7 +469,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
469
469
  return localVarFp.createPublicKey(createPublicKeyRequestDto, authorization, options).then((request) => request(axios, basePath));
470
470
  },
471
471
  /**
472
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
472
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
473
473
  * @summary Delete the public key
474
474
  * @param {string} code Unique identifier for the object.
475
475
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -481,7 +481,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
481
481
  return localVarFp.deletePublicKey(code, deletePublicKeyRequestDto, authorization, options).then((request) => request(axios, basePath));
482
482
  },
483
483
  /**
484
- * Retrieve a single public key by its code.
484
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
485
485
  * @summary Retrieve the public key
486
486
  * @param {string} code
487
487
  * @param {string} expand
@@ -493,7 +493,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
493
493
  return localVarFp.getPublicKey(code, expand, authorization, options).then((request) => request(axios, basePath));
494
494
  },
495
495
  /**
496
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
496
+ * 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\"
497
497
  * @summary List public keys
498
498
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
499
  * @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>
@@ -508,7 +508,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
508
508
  return localVarFp.listPublicKeys(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
509
509
  },
510
510
  /**
511
- * 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.
511
+ * 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\"
512
512
  * @summary Create the public key
513
513
  * @param {string} code
514
514
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -519,7 +519,7 @@ export const PublicKeysApiFactory = function (configuration?: Configuration, bas
519
519
  return localVarFp.rotatePublicKey(code, authorization, options).then((request) => request(axios, basePath));
520
520
  },
521
521
  /**
522
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
522
+ * 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\"
523
523
  * @summary Update the public key
524
524
  * @param {string} code
525
525
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -716,7 +716,7 @@ export interface PublicKeysApiUpdatePublicKeyRequest {
716
716
  */
717
717
  export class PublicKeysApi extends BaseAPI {
718
718
  /**
719
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
719
+ * 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\"
720
720
  * @summary Create the public key
721
721
  * @param {PublicKeysApiCreatePublicKeyRequest} requestParameters Request parameters.
722
722
  * @param {*} [options] Override http request option.
@@ -728,7 +728,7 @@ export class PublicKeysApi extends BaseAPI {
728
728
  }
729
729
 
730
730
  /**
731
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
731
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
732
732
  * @summary Delete the public key
733
733
  * @param {PublicKeysApiDeletePublicKeyRequest} requestParameters Request parameters.
734
734
  * @param {*} [options] Override http request option.
@@ -740,7 +740,7 @@ export class PublicKeysApi extends BaseAPI {
740
740
  }
741
741
 
742
742
  /**
743
- * Retrieve a single public key by its code.
743
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
744
744
  * @summary Retrieve the public key
745
745
  * @param {PublicKeysApiGetPublicKeyRequest} requestParameters Request parameters.
746
746
  * @param {*} [options] Override http request option.
@@ -752,7 +752,7 @@ export class PublicKeysApi extends BaseAPI {
752
752
  }
753
753
 
754
754
  /**
755
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
755
+ * 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\"
756
756
  * @summary List public keys
757
757
  * @param {PublicKeysApiListPublicKeysRequest} requestParameters Request parameters.
758
758
  * @param {*} [options] Override http request option.
@@ -764,7 +764,7 @@ export class PublicKeysApi extends BaseAPI {
764
764
  }
765
765
 
766
766
  /**
767
- * 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.
767
+ * 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\"
768
768
  * @summary Create the public key
769
769
  * @param {PublicKeysApiRotatePublicKeyRequest} requestParameters Request parameters.
770
770
  * @param {*} [options] Override http request option.
@@ -776,7 +776,7 @@ export class PublicKeysApi extends BaseAPI {
776
776
  }
777
777
 
778
778
  /**
779
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
779
+ * 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\"
780
780
  * @summary Update the public key
781
781
  * @param {PublicKeysApiUpdatePublicKeyRequest} requestParameters Request parameters.
782
782
  * @param {*} [options] Override http request option.
package/api.ts CHANGED
@@ -24,10 +24,10 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
- import { DefaultApi } from './api';
27
+ import { HealthApi } from './api';
28
28
  import { PublicKeysApi } from './api';
29
29
 
30
30
 
31
- export * from './api/default-api';
31
+ export * from './api/health-api';
32
32
  export * from './api/public-keys-api';
33
33
 
package/base.ts CHANGED
@@ -51,6 +51,7 @@ export enum Environment {
51
51
  Staging = 'https://apiv2-staging.emil.de',
52
52
  Development = 'https://apiv2-dev.emil.de',
53
53
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
54
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
54
55
  }
55
56
 
56
57
  let _retry_count = 0
@@ -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
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * DefaultApi - axios parameter creator
93
+ * HealthApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var DefaultApiAxiosParamCreator = function (configuration) {
96
+ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -127,13 +127,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
127
127
  },
128
128
  };
129
129
  };
130
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
130
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
131
131
  /**
132
- * DefaultApi - functional programming interface
132
+ * HealthApi - functional programming interface
133
133
  * @export
134
134
  */
135
- var DefaultApiFp = function (configuration) {
136
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
135
+ var HealthApiFp = function (configuration) {
136
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
137
137
  return {
138
138
  /**
139
139
  *
@@ -155,13 +155,13 @@ var DefaultApiFp = function (configuration) {
155
155
  },
156
156
  };
157
157
  };
158
- exports.DefaultApiFp = DefaultApiFp;
158
+ exports.HealthApiFp = HealthApiFp;
159
159
  /**
160
- * DefaultApi - factory interface
160
+ * HealthApi - factory interface
161
161
  * @export
162
162
  */
163
- var DefaultApiFactory = function (configuration, basePath, axios) {
164
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
163
+ var HealthApiFactory = function (configuration, basePath, axios) {
164
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
165
165
  return {
166
166
  /**
167
167
  *
@@ -173,28 +173,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
173
173
  },
174
174
  };
175
175
  };
176
- exports.DefaultApiFactory = DefaultApiFactory;
176
+ exports.HealthApiFactory = HealthApiFactory;
177
177
  /**
178
- * DefaultApi - object-oriented interface
178
+ * HealthApi - object-oriented interface
179
179
  * @export
180
- * @class DefaultApi
180
+ * @class HealthApi
181
181
  * @extends {BaseAPI}
182
182
  */
183
- var DefaultApi = /** @class */ (function (_super) {
184
- __extends(DefaultApi, _super);
185
- function DefaultApi() {
183
+ var HealthApi = /** @class */ (function (_super) {
184
+ __extends(HealthApi, _super);
185
+ function HealthApi() {
186
186
  return _super !== null && _super.apply(this, arguments) || this;
187
187
  }
188
188
  /**
189
189
  *
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
- * @memberof DefaultApi
192
+ * @memberof HealthApi
193
193
  */
194
- DefaultApi.prototype.check = function (options) {
194
+ HealthApi.prototype.check = function (options) {
195
195
  var _this = this;
196
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
197
  };
198
- return DefaultApi;
198
+ return HealthApi;
199
199
  }(base_1.BaseAPI));
200
- exports.DefaultApi = DefaultApi;
200
+ 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.
@@ -97,7 +97,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
100
+ * 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\"
101
101
  * @summary Create the public key
102
102
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
149
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
150
150
  * @summary Delete the public key
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -199,7 +199,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
199
199
  });
200
200
  },
201
201
  /**
202
- * Retrieve a single public key by its code.
202
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
203
203
  * @summary Retrieve the public key
204
204
  * @param {string} code
205
205
  * @param {string} expand
@@ -253,7 +253,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
253
253
  });
254
254
  },
255
255
  /**
256
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
256
+ * 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\"
257
257
  * @summary List public keys
258
258
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
259
  * @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;
@@ -317,7 +317,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
317
317
  });
318
318
  },
319
319
  /**
320
- * 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.
320
+ * 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\"
321
321
  * @summary Create the public key
322
322
  * @param {string} code
323
323
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -365,7 +365,7 @@ var PublicKeysApiAxiosParamCreator = function (configuration) {
365
365
  });
366
366
  },
367
367
  /**
368
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
368
+ * 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\"
369
369
  * @summary Update the public key
370
370
  * @param {string} code
371
371
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -428,7 +428,7 @@ var PublicKeysApiFp = function (configuration) {
428
428
  var localVarAxiosParamCreator = (0, exports.PublicKeysApiAxiosParamCreator)(configuration);
429
429
  return {
430
430
  /**
431
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
431
+ * 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\"
432
432
  * @summary Create the public key
433
433
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
434
434
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -449,7 +449,7 @@ var PublicKeysApiFp = function (configuration) {
449
449
  });
450
450
  },
451
451
  /**
452
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
452
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
453
453
  * @summary Delete the public key
454
454
  * @param {string} code Unique identifier for the object.
455
455
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -471,7 +471,7 @@ var PublicKeysApiFp = function (configuration) {
471
471
  });
472
472
  },
473
473
  /**
474
- * Retrieve a single public key by its code.
474
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
475
475
  * @summary Retrieve the public key
476
476
  * @param {string} code
477
477
  * @param {string} expand
@@ -493,7 +493,7 @@ var PublicKeysApiFp = function (configuration) {
493
493
  });
494
494
  },
495
495
  /**
496
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
496
+ * 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\"
497
497
  * @summary List public keys
498
498
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
499
  * @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;
@@ -518,7 +518,7 @@ var PublicKeysApiFp = function (configuration) {
518
518
  });
519
519
  },
520
520
  /**
521
- * 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.
521
+ * 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\"
522
522
  * @summary Create the public key
523
523
  * @param {string} code
524
524
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -539,7 +539,7 @@ var PublicKeysApiFp = function (configuration) {
539
539
  });
540
540
  },
541
541
  /**
542
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
542
+ * 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\"
543
543
  * @summary Update the public key
544
544
  * @param {string} code
545
545
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -571,7 +571,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
571
571
  var localVarFp = (0, exports.PublicKeysApiFp)(configuration);
572
572
  return {
573
573
  /**
574
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
574
+ * 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\"
575
575
  * @summary Create the public key
576
576
  * @param {CreatePublicKeyRequestDto} createPublicKeyRequestDto
577
577
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -582,7 +582,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
582
582
  return localVarFp.createPublicKey(createPublicKeyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
583
583
  },
584
584
  /**
585
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
585
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
586
586
  * @summary Delete the public key
587
587
  * @param {string} code Unique identifier for the object.
588
588
  * @param {DeletePublicKeyRequestDto} deletePublicKeyRequestDto
@@ -594,7 +594,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
594
594
  return localVarFp.deletePublicKey(code, deletePublicKeyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
595
595
  },
596
596
  /**
597
- * Retrieve a single public key by its code.
597
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
598
598
  * @summary Retrieve the public key
599
599
  * @param {string} code
600
600
  * @param {string} expand
@@ -606,7 +606,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
606
606
  return localVarFp.getPublicKey(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
607
607
  },
608
608
  /**
609
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
609
+ * 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\"
610
610
  * @summary List public keys
611
611
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
612
612
  * @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;
@@ -621,7 +621,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
621
621
  return localVarFp.listPublicKeys(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
622
622
  },
623
623
  /**
624
- * 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.
624
+ * 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\"
625
625
  * @summary Create the public key
626
626
  * @param {string} code
627
627
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -632,7 +632,7 @@ var PublicKeysApiFactory = function (configuration, basePath, axios) {
632
632
  return localVarFp.rotatePublicKey(code, authorization, options).then(function (request) { return request(axios, basePath); });
633
633
  },
634
634
  /**
635
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
635
+ * 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\"
636
636
  * @summary Update the public key
637
637
  * @param {string} code
638
638
  * @param {UpdatePublicKeyRequestDto} updatePublicKeyRequestDto
@@ -658,7 +658,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
658
658
  return _super !== null && _super.apply(this, arguments) || this;
659
659
  }
660
660
  /**
661
- * Create a new public key. Use the returned key for public API authentication. We recommend rotating keys every three months.
661
+ * 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\"
662
662
  * @summary Create the public key
663
663
  * @param {PublicKeysApiCreatePublicKeyRequest} requestParameters Request parameters.
664
664
  * @param {*} [options] Override http request option.
@@ -670,7 +670,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
670
670
  return (0, exports.PublicKeysApiFp)(this.configuration).createPublicKey(requestParameters.createPublicKeyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
671
671
  };
672
672
  /**
673
- * Delete a public key by code. Ensure no integrations or services depend on this key before deleting.
673
+ * Delete a public key by code. Ensure no integrations or services depend on this key before deleting. **Required Permissions** \"tenant-management.settings.delete\"
674
674
  * @summary Delete the public key
675
675
  * @param {PublicKeysApiDeletePublicKeyRequest} requestParameters Request parameters.
676
676
  * @param {*} [options] Override http request option.
@@ -682,7 +682,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
682
682
  return (0, exports.PublicKeysApiFp)(this.configuration).deletePublicKey(requestParameters.code, requestParameters.deletePublicKeyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
683
683
  };
684
684
  /**
685
- * Retrieve a single public key by its code.
685
+ * Retrieve a single public key by its code. **Required Permissions** \"tenant-management.settings.view\"
686
686
  * @summary Retrieve the public key
687
687
  * @param {PublicKeysApiGetPublicKeyRequest} requestParameters Request parameters.
688
688
  * @param {*} [options] Override http request option.
@@ -694,7 +694,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
694
694
  return (0, exports.PublicKeysApiFp)(this.configuration).getPublicKey(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
695
695
  };
696
696
  /**
697
- * List public keys with optional filters, sorting, and pagination. Use filters to find keys by slug, code, or other attributes.
697
+ * 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\"
698
698
  * @summary List public keys
699
699
  * @param {PublicKeysApiListPublicKeysRequest} requestParameters Request parameters.
700
700
  * @param {*} [options] Override http request option.
@@ -707,7 +707,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
707
707
  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); });
708
708
  };
709
709
  /**
710
- * 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.
710
+ * 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\"
711
711
  * @summary Create the public key
712
712
  * @param {PublicKeysApiRotatePublicKeyRequest} requestParameters Request parameters.
713
713
  * @param {*} [options] Override http request option.
@@ -719,7 +719,7 @@ var PublicKeysApi = /** @class */ (function (_super) {
719
719
  return (0, exports.PublicKeysApiFp)(this.configuration).rotatePublicKey(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
720
720
  };
721
721
  /**
722
- * Update a public key\'s metadata (e.g. slug). Does not change the key material; use rotate to replace the key.
722
+ * 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\"
723
723
  * @summary Update the public key
724
724
  * @param {PublicKeysApiUpdatePublicKeyRequest} requestParameters Request parameters.
725
725
  * @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/dist/base.d.ts CHANGED
@@ -31,7 +31,8 @@ export declare enum Environment {
31
31
  Test = "https://apiv2-test.emil.de",
32
32
  Staging = "https://apiv2-staging.emil.de",
33
33
  Development = "https://apiv2-dev.emil.de",
34
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
34
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
35
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
35
36
  }
36
37
  export declare function resetRetry(): void;
37
38
  /**
package/dist/base.js CHANGED
@@ -132,6 +132,7 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
135
136
  })(Environment = exports.Environment || (exports.Environment = {}));
136
137
  var _retry_count = 0;
137
138
  var _retry = null;
@@ -17,27 +17,27 @@ import { PublicKeyClass } from './public-key-class';
17
17
  */
18
18
  export interface ListPublicKeysResponseClass {
19
19
  /**
20
- * An array of public key entities containing all key details including code, slug, key value, and audit information
21
- * @type {Array<PublicKeyClass>}
20
+ * Next page token.
21
+ * @type {string}
22
22
  * @memberof ListPublicKeysResponseClass
23
23
  */
24
- 'items': Array<PublicKeyClass>;
24
+ 'nextPageToken': string;
25
25
  /**
26
- * The token for the next page of results
27
- * @type {string}
26
+ * Total amount of items.
27
+ * @type {number}
28
28
  * @memberof ListPublicKeysResponseClass
29
29
  */
30
- 'nextPageToken': string;
30
+ 'totalItems': number;
31
31
  /**
32
- * The number of items per page
32
+ * Items per page.
33
33
  * @type {number}
34
34
  * @memberof ListPublicKeysResponseClass
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The total number of items in the collection
39
- * @type {number}
38
+ * An array of public key entities containing all key details including code, slug, key value, and audit information
39
+ * @type {Array<PublicKeyClass>}
40
40
  * @memberof ListPublicKeysResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<PublicKeyClass>;
43
43
  }
@@ -22,28 +22,28 @@ import { PublicKeyClass } from './public-key-class';
22
22
  */
23
23
  export interface ListPublicKeysResponseClass {
24
24
  /**
25
- * An array of public key entities containing all key details including code, slug, key value, and audit information
26
- * @type {Array<PublicKeyClass>}
25
+ * Next page token.
26
+ * @type {string}
27
27
  * @memberof ListPublicKeysResponseClass
28
28
  */
29
- 'items': Array<PublicKeyClass>;
29
+ 'nextPageToken': string;
30
30
  /**
31
- * The token for the next page of results
32
- * @type {string}
31
+ * Total amount of items.
32
+ * @type {number}
33
33
  * @memberof ListPublicKeysResponseClass
34
34
  */
35
- 'nextPageToken': string;
35
+ 'totalItems': number;
36
36
  /**
37
- * The number of items per page
37
+ * Items per page.
38
38
  * @type {number}
39
39
  * @memberof ListPublicKeysResponseClass
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The total number of items in the collection
44
- * @type {number}
43
+ * An array of public key entities containing all key details including code, slug, key value, and audit information
44
+ * @type {Array<PublicKeyClass>}
45
45
  * @memberof ListPublicKeysResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PublicKeyClass>;
48
48
  }
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/setting-sdk-node",
3
- "version": "0.3.1-beta.0",
3
+ "version": "0.3.1-beta.15",
4
4
  "description": "OpenAPI client for @emilgroup/setting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.12.0",
21
+ "axios": "1.12.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },