@product-live/api-sdk 2.4.1 → 2.8.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.
- package/DataFactoryFileApi.md +182 -0
- package/JobApi.md +333 -0
- package/JobExecutionApi.md +185 -0
- package/README.md +80 -0
- package/TaskApi.md +375 -0
- package/TaskExecutionApi.md +130 -0
- package/VariableApi.md +315 -0
- package/apis/DataFactoryFileApi.ts +252 -133
- package/apis/JobApi.ts +412 -208
- package/apis/JobExecutionApi.ts +237 -121
- package/apis/TaskApi.ts +458 -213
- package/apis/TaskExecutionApi.ts +174 -90
- package/apis/VariableApi.ts +418 -149
- package/apis/baseapi.ts +37 -0
- package/apis/exception.ts +15 -0
- package/auth/auth.ts +107 -0
- package/configuration.ts +82 -0
- package/dist/apis/DataFactoryFileApi.d.ts +14 -19
- package/dist/apis/DataFactoryFileApi.js +340 -103
- package/dist/apis/DataFactoryFileApi.js.map +1 -1
- package/dist/apis/JobApi.d.ts +19 -31
- package/dist/apis/JobApi.js +524 -171
- package/dist/apis/JobApi.js.map +1 -1
- package/dist/apis/JobExecutionApi.d.ts +14 -18
- package/dist/apis/JobExecutionApi.js +320 -88
- package/dist/apis/JobExecutionApi.js.map +1 -1
- package/dist/apis/TaskApi.d.ts +22 -34
- package/dist/apis/TaskApi.js +584 -171
- package/dist/apis/TaskApi.js.map +1 -1
- package/dist/apis/TaskExecutionApi.d.ts +11 -13
- package/dist/apis/TaskExecutionApi.js +242 -62
- package/dist/apis/TaskExecutionApi.js.map +1 -1
- package/dist/apis/VariableApi.d.ts +20 -24
- package/dist/apis/VariableApi.js +508 -119
- package/dist/apis/VariableApi.js.map +1 -1
- package/dist/apis/baseapi.d.ts +18 -0
- package/dist/apis/baseapi.js +46 -0
- package/dist/apis/baseapi.js.map +1 -0
- package/dist/apis/exception.d.ts +10 -0
- package/dist/apis/exception.js +32 -0
- package/dist/apis/exception.js.map +1 -0
- package/dist/auth/auth.d.ts +42 -0
- package/dist/auth/auth.js +45 -0
- package/dist/auth/auth.js.map +1 -0
- package/dist/configuration.d.ts +18 -0
- package/dist/configuration.js +22 -0
- package/dist/configuration.js.map +1 -0
- package/dist/http/http.d.ts +82 -0
- package/dist/http/http.js +229 -0
- package/dist/http/http.js.map +1 -0
- package/dist/http/isomorphic-fetch.d.ts +5 -0
- package/dist/http/isomorphic-fetch.js +34 -0
- package/dist/http/isomorphic-fetch.js.map +1 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +16 -0
- package/dist/middleware.js +18 -0
- package/dist/middleware.js.map +1 -0
- package/dist/models/CreateJobDto.d.ts +27 -24
- package/dist/models/CreateJobDto.js +77 -62
- package/dist/models/CreateJobDto.js.map +1 -1
- package/dist/models/CreateJobExecutionDto.d.ts +18 -9
- package/dist/models/CreateJobExecutionDto.js +29 -38
- package/dist/models/CreateJobExecutionDto.js.map +1 -1
- package/dist/models/CreateTaskDto.d.ts +20 -10
- package/dist/models/CreateTaskDto.js +41 -42
- package/dist/models/CreateTaskDto.js.map +1 -1
- package/dist/models/CreateVariableDto.d.ts +21 -16
- package/dist/models/CreateVariableDto.js +41 -46
- package/dist/models/CreateVariableDto.js.map +1 -1
- package/dist/models/FileDto.d.ts +22 -11
- package/dist/models/FileDto.js +47 -45
- package/dist/models/FileDto.js.map +1 -1
- package/dist/models/FindVariablesRequest.d.ts +24 -0
- package/dist/models/FindVariablesRequest.js +46 -0
- package/dist/models/FindVariablesRequest.js.map +1 -0
- package/dist/models/GetFiles200Response.d.ts +21 -0
- package/dist/models/GetFiles200Response.js +34 -0
- package/dist/models/GetFiles200Response.js.map +1 -0
- package/dist/models/GetJobExecutionById400Response.d.ts +17 -0
- package/dist/models/GetJobExecutionById400Response.js +22 -0
- package/dist/models/GetJobExecutionById400Response.js.map +1 -0
- package/dist/models/GetJobExecutions200Response.d.ts +21 -0
- package/dist/models/GetJobExecutions200Response.js +34 -0
- package/dist/models/GetJobExecutions200Response.js.map +1 -0
- package/dist/models/GetJobs200Response.d.ts +21 -0
- package/dist/models/GetJobs200Response.js +34 -0
- package/dist/models/GetJobs200Response.js.map +1 -0
- package/dist/models/GetTasks200Response.d.ts +21 -0
- package/dist/models/GetTasks200Response.js +34 -0
- package/dist/models/GetTasks200Response.js.map +1 -0
- package/dist/models/GetVariables200Response.d.ts +21 -0
- package/dist/models/GetVariables200Response.js +34 -0
- package/dist/models/GetVariables200Response.js.map +1 -0
- package/dist/models/HighOrderQuery.d.ts +20 -0
- package/dist/models/HighOrderQuery.js +28 -0
- package/dist/models/HighOrderQuery.js.map +1 -0
- package/dist/models/JobDto.d.ts +32 -28
- package/dist/models/JobDto.js +101 -74
- package/dist/models/JobDto.js.map +1 -1
- package/dist/models/JobExecutionDto.d.ts +28 -33
- package/dist/models/JobExecutionDto.js +83 -77
- package/dist/models/JobExecutionDto.js.map +1 -1
- package/dist/models/LowOrderQuery.d.ts +22 -0
- package/dist/models/LowOrderQuery.js +40 -0
- package/dist/models/LowOrderQuery.js.map +1 -0
- package/dist/models/LowOrderQueryValue.d.ts +16 -0
- package/dist/models/LowOrderQueryValue.js +15 -0
- package/dist/models/LowOrderQueryValue.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +34 -0
- package/dist/models/ObjectSerializer.js +313 -0
- package/dist/models/ObjectSerializer.js.map +1 -0
- package/dist/models/PatchTaskExecutionDto.d.ts +19 -13
- package/dist/models/PatchTaskExecutionDto.js +29 -40
- package/dist/models/PatchTaskExecutionDto.js.map +1 -1
- package/dist/models/Query.d.ts +18 -0
- package/dist/models/Query.js +22 -0
- package/dist/models/Query.js.map +1 -0
- package/dist/models/TaskDto.d.ts +25 -14
- package/dist/models/TaskDto.js +65 -54
- package/dist/models/TaskDto.js.map +1 -1
- package/dist/models/TaskExecutionDto.d.ts +25 -21
- package/dist/models/TaskExecutionDto.js +59 -58
- package/dist/models/TaskExecutionDto.js.map +1 -1
- package/dist/models/UpdateJobDto.d.ts +28 -25
- package/dist/models/UpdateJobDto.js +83 -65
- package/dist/models/UpdateJobDto.js.map +1 -1
- package/dist/models/UpdateTaskDto.d.ts +21 -11
- package/dist/models/UpdateTaskDto.js +47 -45
- package/dist/models/UpdateTaskDto.js.map +1 -1
- package/dist/models/UpdateVariableDto.d.ts +22 -17
- package/dist/models/UpdateVariableDto.js +47 -49
- package/dist/models/UpdateVariableDto.js.map +1 -1
- package/dist/models/VariableDto.d.ts +26 -20
- package/dist/models/VariableDto.js +65 -58
- package/dist/models/VariableDto.js.map +1 -1
- package/dist/models/all.d.ts +25 -0
- package/dist/models/all.js +42 -0
- package/dist/models/all.js.map +1 -0
- package/dist/rxjsStub.d.ts +10 -0
- package/dist/rxjsStub.js +33 -0
- package/dist/rxjsStub.js.map +1 -0
- package/dist/servers.d.ts +17 -0
- package/dist/servers.js +32 -0
- package/dist/servers.js.map +1 -0
- package/dist/types/ObjectParamAPI.d.ts +160 -0
- package/dist/types/ObjectParamAPI.js +129 -0
- package/dist/types/ObjectParamAPI.js.map +1 -0
- package/dist/types/ObservableAPI.d.ts +89 -0
- package/dist/types/ObservableAPI.js +642 -0
- package/dist/types/ObservableAPI.js.map +1 -0
- package/dist/types/PromiseAPI.d.ts +76 -0
- package/dist/types/PromiseAPI.js +148 -0
- package/dist/types/PromiseAPI.js.map +1 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +29 -0
- package/dist/util.js.map +1 -0
- package/git_push.sh +51 -0
- package/http/http.ts +229 -0
- package/http/isomorphic-fetch.ts +32 -0
- package/index.ts +12 -5
- package/middleware.ts +66 -0
- package/models/CreateJobDto.ts +88 -144
- package/models/CreateJobExecutionDto.ts +29 -71
- package/models/CreateTaskDto.ts +43 -82
- package/models/CreateVariableDto.ts +46 -92
- package/models/FileDto.ts +53 -91
- package/models/FindVariablesRequest.ts +70 -0
- package/models/GetFiles200Response.ts +53 -0
- package/models/GetJobExecutionById400Response.ts +35 -0
- package/models/GetJobExecutions200Response.ts +53 -0
- package/models/GetJobs200Response.ts +53 -0
- package/models/GetTasks200Response.ts +53 -0
- package/models/GetVariables200Response.ts +53 -0
- package/models/HighOrderQuery.ts +46 -0
- package/models/JobDto.ts +117 -180
- package/models/JobExecutionDto.ts +95 -165
- package/models/LowOrderQuery.ts +60 -0
- package/models/LowOrderQueryValue.ts +29 -0
- package/models/ObjectSerializer.ts +324 -0
- package/models/PatchTaskExecutionDto.ts +36 -78
- package/models/Query.ts +38 -0
- package/models/TaskDto.ts +74 -118
- package/models/TaskExecutionDto.ts +68 -123
- package/models/UpdateJobDto.ts +95 -153
- package/models/UpdateTaskDto.ts +50 -91
- package/models/UpdateVariableDto.ts +53 -101
- package/models/VariableDto.ts +75 -128
- package/models/all.ts +25 -0
- package/package.json +35 -10
- package/rxjsStub.ts +27 -0
- package/servers.ts +55 -0
- package/types/ObjectParamAPI.ts +580 -0
- package/types/ObservableAPI.ts +701 -0
- package/types/PromiseAPI.ts +370 -0
- package/util.ts +37 -0
- package/apis/index.ts +0 -8
- package/dist/apis/index.d.ts +0 -6
- package/dist/apis/index.js +0 -23
- package/dist/apis/index.js.map +0 -1
- package/dist/models/FileControllerGetFiles200Response.d.ts +0 -14
- package/dist/models/FileControllerGetFiles200Response.js +0 -43
- package/dist/models/FileControllerGetFiles200Response.js.map +0 -1
- package/dist/models/JobControllerList200Response.d.ts +0 -14
- package/dist/models/JobControllerList200Response.js +0 -43
- package/dist/models/JobControllerList200Response.js.map +0 -1
- package/dist/models/JobDtoPeriodicityInner.d.ts +0 -8
- package/dist/models/JobDtoPeriodicityInner.js +0 -37
- package/dist/models/JobDtoPeriodicityInner.js.map +0 -1
- package/dist/models/JobDtoTasksInner.d.ts +0 -14
- package/dist/models/JobDtoTasksInner.js +0 -45
- package/dist/models/JobDtoTasksInner.js.map +0 -1
- package/dist/models/JobDtoTitleLocal.d.ts +0 -8
- package/dist/models/JobDtoTitleLocal.js +0 -37
- package/dist/models/JobDtoTitleLocal.js.map +0 -1
- package/dist/models/JobExecutionControllerGetOne400Response.d.ts +0 -7
- package/dist/models/JobExecutionControllerGetOne400Response.js +0 -35
- package/dist/models/JobExecutionControllerGetOne400Response.js.map +0 -1
- package/dist/models/JobExecutionControllerList200Response.d.ts +0 -14
- package/dist/models/JobExecutionControllerList200Response.js +0 -43
- package/dist/models/JobExecutionControllerList200Response.js.map +0 -1
- package/dist/models/JobExecutionDtoInfo.d.ts +0 -7
- package/dist/models/JobExecutionDtoInfo.js +0 -35
- package/dist/models/JobExecutionDtoInfo.js.map +0 -1
- package/dist/models/TaskControllerList200Response.d.ts +0 -14
- package/dist/models/TaskControllerList200Response.js +0 -43
- package/dist/models/TaskControllerList200Response.js.map +0 -1
- package/dist/models/TaskDtoInputKeysInner.d.ts +0 -8
- package/dist/models/TaskDtoInputKeysInner.js +0 -37
- package/dist/models/TaskDtoInputKeysInner.js.map +0 -1
- package/dist/models/VariableControllerList200Response.d.ts +0 -14
- package/dist/models/VariableControllerList200Response.js +0 -43
- package/dist/models/VariableControllerList200Response.js.map +0 -1
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -37
- package/dist/models/index.js.map +0 -1
- package/dist/runtime.d.ts +0 -154
- package/dist/runtime.js +0 -306
- package/dist/runtime.js.map +0 -1
- package/models/ExecuteJob400Response.ts +0 -65
- package/models/ExecuteJobDto.ts +0 -97
- package/models/ExecuteJobDtoInfo.ts +0 -65
- package/models/ExecuteJobDtoJob.ts +0 -81
- package/models/FileControllerGetFiles200Response.ts +0 -98
- package/models/FileCreatedDto.ts +0 -111
- package/models/JobControllerList200Response.ts +0 -98
- package/models/JobDtoPeriodicitiesInner.ts +0 -73
- package/models/JobDtoPeriodicityInner.ts +0 -73
- package/models/JobDtoProject.ts +0 -73
- package/models/JobDtoTasksInner.ts +0 -105
- package/models/JobDtoTitleLocal.ts +0 -73
- package/models/JobExecutionControllerGetOne400Response.ts +0 -65
- package/models/JobExecutionControllerList200Response.ts +0 -98
- package/models/JobExecutionDtoEventsInner.ts +0 -89
- package/models/JobExecutionDtoInfo.ts +0 -65
- package/models/JobExecutionDtoJob.ts +0 -81
- package/models/TaskControllerList200Response.ts +0 -98
- package/models/TaskDtoInputKeysInner.ts +0 -73
- package/models/TaskInstanceDto.ts +0 -143
- package/models/TaskInstanceUpdateDto.ts +0 -107
- package/models/VariableControllerList200Response.ts +0 -98
- package/models/index.ts +0 -22
- package/runtime.ts +0 -425
package/VariableApi.md
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
# .VariableApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**createVariable**](VariableApi.md#createVariable) | **POST** /v1/data_factory/variables | (Experimental) - Create a Variable
|
|
8
|
+
[**findVariables**](VariableApi.md#findVariables) | **POST** /v1/data_factory/variables/find | (Experimental) - Find a list of Variable
|
|
9
|
+
[**getVariableById**](VariableApi.md#getVariableById) | **GET** /v1/data_factory/variables/{id} | (Experimental) - Get a Variable by id
|
|
10
|
+
[**getVariables**](VariableApi.md#getVariables) | **GET** /v1/data_factory/variables | (Experimental) - Get a list of Variable
|
|
11
|
+
[**updateVariable**](VariableApi.md#updateVariable) | **PUT** /v1/data_factory/variables/{id} | (Experimental) - Update a Variable
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# **createVariable**
|
|
15
|
+
> VariableDto createVariable(createVariableDto)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { } from '';
|
|
23
|
+
import * as fs from 'fs';
|
|
24
|
+
|
|
25
|
+
const configuration = .createConfiguration();
|
|
26
|
+
const apiInstance = new .VariableApi(configuration);
|
|
27
|
+
|
|
28
|
+
let body:.VariableApiCreateVariableRequest = {
|
|
29
|
+
// CreateVariableDto
|
|
30
|
+
createVariableDto: {
|
|
31
|
+
key: "key_example",
|
|
32
|
+
name: "name_example",
|
|
33
|
+
status: "ACTIVE",
|
|
34
|
+
value: "value_example",
|
|
35
|
+
secret: true,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
apiInstance.createVariable(body).then((data:any) => {
|
|
40
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
41
|
+
}).catch((error:any) => console.error(error));
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Parameters
|
|
46
|
+
|
|
47
|
+
Name | Type | Description | Notes
|
|
48
|
+
------------- | ------------- | ------------- | -------------
|
|
49
|
+
**createVariableDto** | **CreateVariableDto**| |
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Return type
|
|
53
|
+
|
|
54
|
+
**VariableDto**
|
|
55
|
+
|
|
56
|
+
### Authorization
|
|
57
|
+
|
|
58
|
+
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
59
|
+
|
|
60
|
+
### HTTP request headers
|
|
61
|
+
|
|
62
|
+
- **Content-Type**: application/json
|
|
63
|
+
- **Accept**: application/json
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### HTTP response details
|
|
67
|
+
| Status code | Description | Response headers |
|
|
68
|
+
|-------------|-------------|------------------|
|
|
69
|
+
**201** | Variable successfully created | - |
|
|
70
|
+
**400** | Bad Request - Malformed syntax | - |
|
|
71
|
+
**401** | Unauthorized | - |
|
|
72
|
+
|
|
73
|
+
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
74
|
+
|
|
75
|
+
# **findVariables**
|
|
76
|
+
> GetVariables200Response findVariables(findVariablesRequest)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Example
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import { } from '';
|
|
84
|
+
import * as fs from 'fs';
|
|
85
|
+
|
|
86
|
+
const configuration = .createConfiguration();
|
|
87
|
+
const apiInstance = new .VariableApi(configuration);
|
|
88
|
+
|
|
89
|
+
let body:.VariableApiFindVariablesRequest = {
|
|
90
|
+
// FindVariablesRequest
|
|
91
|
+
findVariablesRequest: null,
|
|
92
|
+
// number (optional)
|
|
93
|
+
size: 10,
|
|
94
|
+
// number (optional)
|
|
95
|
+
page: 0,
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
apiInstance.findVariables(body).then((data:any) => {
|
|
99
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
100
|
+
}).catch((error:any) => console.error(error));
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
Name | Type | Description | Notes
|
|
107
|
+
------------- | ------------- | ------------- | -------------
|
|
108
|
+
**findVariablesRequest** | **FindVariablesRequest**| |
|
|
109
|
+
**size** | [**number**] | | (optional) defaults to 10
|
|
110
|
+
**page** | [**number**] | | (optional) defaults to 0
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Return type
|
|
114
|
+
|
|
115
|
+
**GetVariables200Response**
|
|
116
|
+
|
|
117
|
+
### Authorization
|
|
118
|
+
|
|
119
|
+
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
120
|
+
|
|
121
|
+
### HTTP request headers
|
|
122
|
+
|
|
123
|
+
- **Content-Type**: application/json
|
|
124
|
+
- **Accept**: application/json
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### HTTP response details
|
|
128
|
+
| Status code | Description | Response headers |
|
|
129
|
+
|-------------|-------------|------------------|
|
|
130
|
+
**200** | Find a list of Variable | - |
|
|
131
|
+
**400** | Bad Request - Malformed syntax | - |
|
|
132
|
+
**401** | Unauthorized | - |
|
|
133
|
+
|
|
134
|
+
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
135
|
+
|
|
136
|
+
# **getVariableById**
|
|
137
|
+
> VariableDto getVariableById()
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Example
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
```typescript
|
|
144
|
+
import { } from '';
|
|
145
|
+
import * as fs from 'fs';
|
|
146
|
+
|
|
147
|
+
const configuration = .createConfiguration();
|
|
148
|
+
const apiInstance = new .VariableApi(configuration);
|
|
149
|
+
|
|
150
|
+
let body:.VariableApiGetVariableByIdRequest = {
|
|
151
|
+
// string
|
|
152
|
+
id: "id_example",
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
apiInstance.getVariableById(body).then((data:any) => {
|
|
156
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
157
|
+
}).catch((error:any) => console.error(error));
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Parameters
|
|
162
|
+
|
|
163
|
+
Name | Type | Description | Notes
|
|
164
|
+
------------- | ------------- | ------------- | -------------
|
|
165
|
+
**id** | [**string**] | | defaults to undefined
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Return type
|
|
169
|
+
|
|
170
|
+
**VariableDto**
|
|
171
|
+
|
|
172
|
+
### Authorization
|
|
173
|
+
|
|
174
|
+
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
175
|
+
|
|
176
|
+
### HTTP request headers
|
|
177
|
+
|
|
178
|
+
- **Content-Type**: Not defined
|
|
179
|
+
- **Accept**: application/json
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### HTTP response details
|
|
183
|
+
| Status code | Description | Response headers |
|
|
184
|
+
|-------------|-------------|------------------|
|
|
185
|
+
**200** | Variable with request id successfully retrieved | - |
|
|
186
|
+
**400** | Bad Request - Malformed syntax | - |
|
|
187
|
+
**401** | Unauthorized | - |
|
|
188
|
+
**404** | Not found | - |
|
|
189
|
+
|
|
190
|
+
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
191
|
+
|
|
192
|
+
# **getVariables**
|
|
193
|
+
> GetVariables200Response getVariables()
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Example
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
import { } from '';
|
|
201
|
+
import * as fs from 'fs';
|
|
202
|
+
|
|
203
|
+
const configuration = .createConfiguration();
|
|
204
|
+
const apiInstance = new .VariableApi(configuration);
|
|
205
|
+
|
|
206
|
+
let body:.VariableApiGetVariablesRequest = {
|
|
207
|
+
// number (optional)
|
|
208
|
+
size: 10,
|
|
209
|
+
// number (optional)
|
|
210
|
+
page: 0,
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
apiInstance.getVariables(body).then((data:any) => {
|
|
214
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
215
|
+
}).catch((error:any) => console.error(error));
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Parameters
|
|
220
|
+
|
|
221
|
+
Name | Type | Description | Notes
|
|
222
|
+
------------- | ------------- | ------------- | -------------
|
|
223
|
+
**size** | [**number**] | | (optional) defaults to 10
|
|
224
|
+
**page** | [**number**] | | (optional) defaults to 0
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Return type
|
|
228
|
+
|
|
229
|
+
**GetVariables200Response**
|
|
230
|
+
|
|
231
|
+
### Authorization
|
|
232
|
+
|
|
233
|
+
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
234
|
+
|
|
235
|
+
### HTTP request headers
|
|
236
|
+
|
|
237
|
+
- **Content-Type**: Not defined
|
|
238
|
+
- **Accept**: application/json
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### HTTP response details
|
|
242
|
+
| Status code | Description | Response headers |
|
|
243
|
+
|-------------|-------------|------------------|
|
|
244
|
+
**200** | Get a list of Variable | - |
|
|
245
|
+
**400** | Bad Request - Malformed syntax | - |
|
|
246
|
+
**401** | Unauthorized | - |
|
|
247
|
+
|
|
248
|
+
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
249
|
+
|
|
250
|
+
# **updateVariable**
|
|
251
|
+
> VariableDto updateVariable(updateVariableDto)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Example
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
```typescript
|
|
258
|
+
import { } from '';
|
|
259
|
+
import * as fs from 'fs';
|
|
260
|
+
|
|
261
|
+
const configuration = .createConfiguration();
|
|
262
|
+
const apiInstance = new .VariableApi(configuration);
|
|
263
|
+
|
|
264
|
+
let body:.VariableApiUpdateVariableRequest = {
|
|
265
|
+
// string
|
|
266
|
+
id: "id_example",
|
|
267
|
+
// UpdateVariableDto
|
|
268
|
+
updateVariableDto: {
|
|
269
|
+
key: "key_example",
|
|
270
|
+
name: "name_example",
|
|
271
|
+
status: "ACTIVE",
|
|
272
|
+
value: "value_example",
|
|
273
|
+
secret: true,
|
|
274
|
+
id: "id_example",
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
apiInstance.updateVariable(body).then((data:any) => {
|
|
279
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
280
|
+
}).catch((error:any) => console.error(error));
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
### Parameters
|
|
285
|
+
|
|
286
|
+
Name | Type | Description | Notes
|
|
287
|
+
------------- | ------------- | ------------- | -------------
|
|
288
|
+
**updateVariableDto** | **UpdateVariableDto**| |
|
|
289
|
+
**id** | [**string**] | | defaults to undefined
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Return type
|
|
293
|
+
|
|
294
|
+
**VariableDto**
|
|
295
|
+
|
|
296
|
+
### Authorization
|
|
297
|
+
|
|
298
|
+
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
299
|
+
|
|
300
|
+
### HTTP request headers
|
|
301
|
+
|
|
302
|
+
- **Content-Type**: application/json
|
|
303
|
+
- **Accept**: application/json
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### HTTP response details
|
|
307
|
+
| Status code | Description | Response headers |
|
|
308
|
+
|-------------|-------------|------------------|
|
|
309
|
+
**201** | Variable successfully updated | - |
|
|
310
|
+
**400** | Bad Request - Malformed syntax | - |
|
|
311
|
+
**401** | Unauthorized | - |
|
|
312
|
+
|
|
313
|
+
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
314
|
+
|
|
315
|
+
|