@lwshen/vault-hub-ts-fetch-client 0.20250716.93700 → 0.20250716.143150
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.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/dist/apis/ConfigurationApi.d.ts +74 -0
- package/dist/apis/ConfigurationApi.js +305 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ConfigurationItem.d.ts +74 -0
- package/dist/models/ConfigurationItem.js +69 -0
- package/dist/models/CreateConfigurationRequest.d.ts +56 -0
- package/dist/models/CreateConfigurationRequest.js +63 -0
- package/dist/models/UpdateConfigurationRequest.d.ts +50 -0
- package/dist/models/UpdateConfigurationRequest.js +55 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/ConfigurationApi.ts +231 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ConfigurationItem.ts +124 -0
- package/src/models/CreateConfigurationRequest.ts +100 -0
- package/src/models/UpdateConfigurationRequest.ts +89 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vault Hub Server
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateConfigurationRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateConfigurationRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateConfigurationRequest
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Value to be encrypted and stored
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateConfigurationRequest
|
|
32
|
+
*/
|
|
33
|
+
value?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Human-readable description
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateConfigurationRequest
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Category/type of config
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateConfigurationRequest
|
|
44
|
+
*/
|
|
45
|
+
category?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the UpdateConfigurationRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfUpdateConfigurationRequest(value: object): value is UpdateConfigurationRequest {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpdateConfigurationRequestFromJSON(json: any): UpdateConfigurationRequest {
|
|
56
|
+
return UpdateConfigurationRequestFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateConfigurationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateConfigurationRequest {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
66
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
67
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
68
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateConfigurationRequestToJSON(json: any): UpdateConfigurationRequest {
|
|
73
|
+
return UpdateConfigurationRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function UpdateConfigurationRequestToJSONTyped(value?: UpdateConfigurationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'name': value['name'],
|
|
84
|
+
'value': value['value'],
|
|
85
|
+
'description': value['description'],
|
|
86
|
+
'category': value['category'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ConfigurationItem';
|
|
4
|
+
export * from './CreateConfigurationRequest';
|
|
3
5
|
export * from './GetUserResponse';
|
|
4
6
|
export * from './HealthCheckResponse';
|
|
5
7
|
export * from './LoginRequest';
|
|
6
8
|
export * from './LoginResponse';
|
|
7
9
|
export * from './SignupRequest';
|
|
8
10
|
export * from './SignupResponse';
|
|
11
|
+
export * from './UpdateConfigurationRequest';
|