@product-live/api-sdk 2.22.0 → 2.26.0
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/package.json +4 -35
- package/.openapi-generator/FILES +0 -74
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/DataFactoryFileApi.md +0 -182
- package/DefaultApi.md +0 -105
- package/ItemApi.md +0 -125
- package/JobApi.md +0 -333
- package/JobExecutionApi.md +0 -185
- package/README.md +0 -4
- package/TaskApi.md +0 -375
- package/TaskExecutionApi.md +0 -130
- package/VariableApi.md +0 -315
- package/apis/DataFactoryFileApi.ts +0 -307
- package/apis/DefaultApi.ts +0 -117
- package/apis/ItemApi.ts +0 -197
- package/apis/JobApi.ts +0 -507
- package/apis/JobExecutionApi.ts +0 -289
- package/apis/TaskApi.ts +0 -558
- package/apis/TaskExecutionApi.ts +0 -212
- package/apis/VariableApi.ts +0 -495
- package/apis/baseapi.ts +0 -37
- package/apis/exception.ts +0 -15
- package/auth/auth.ts +0 -107
- package/configuration.ts +0 -82
- package/dist/apis/DataFactoryFileApi.d.ts +0 -15
- package/dist/apis/DataFactoryFileApi.js +0 -359
- package/dist/apis/DataFactoryFileApi.js.map +0 -1
- package/dist/apis/DefaultApi.d.ts +0 -11
- package/dist/apis/DefaultApi.js +0 -172
- package/dist/apis/DefaultApi.js.map +0 -1
- package/dist/apis/ItemApi.d.ts +0 -13
- package/dist/apis/ItemApi.js +0 -249
- package/dist/apis/ItemApi.js.map +0 -1
- package/dist/apis/JobApi.d.ts +0 -21
- package/dist/apis/JobApi.js +0 -547
- package/dist/apis/JobApi.js.map +0 -1
- package/dist/apis/JobExecutionApi.d.ts +0 -16
- package/dist/apis/JobExecutionApi.js +0 -339
- package/dist/apis/JobExecutionApi.js.map +0 -1
- package/dist/apis/TaskApi.d.ts +0 -24
- package/dist/apis/TaskApi.js +0 -609
- package/dist/apis/TaskApi.js.map +0 -1
- package/dist/apis/TaskExecutionApi.d.ts +0 -13
- package/dist/apis/TaskExecutionApi.js +0 -259
- package/dist/apis/TaskExecutionApi.js.map +0 -1
- package/dist/apis/VariableApi.d.ts +0 -22
- package/dist/apis/VariableApi.js +0 -529
- package/dist/apis/VariableApi.js.map +0 -1
- package/dist/apis/baseapi.d.ts +0 -18
- package/dist/apis/baseapi.js +0 -46
- package/dist/apis/baseapi.js.map +0 -1
- package/dist/apis/exception.d.ts +0 -10
- package/dist/apis/exception.js +0 -32
- package/dist/apis/exception.js.map +0 -1
- package/dist/auth/auth.d.ts +0 -42
- package/dist/auth/auth.js +0 -45
- package/dist/auth/auth.js.map +0 -1
- package/dist/configuration.d.ts +0 -18
- package/dist/configuration.js +0 -22
- package/dist/configuration.js.map +0 -1
- package/dist/http/http.d.ts +0 -82
- package/dist/http/http.js +0 -229
- package/dist/http/http.js.map +0 -1
- package/dist/http/isomorphic-fetch.d.ts +0 -5
- package/dist/http/isomorphic-fetch.js +0 -34
- package/dist/http/isomorphic-fetch.js.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -36
- package/dist/index.js.map +0 -1
- package/dist/middleware.d.ts +0 -16
- package/dist/middleware.js +0 -18
- package/dist/middleware.js.map +0 -1
- package/dist/models/CreateJobDto.d.ts +0 -30
- package/dist/models/CreateJobDto.js +0 -82
- package/dist/models/CreateJobDto.js.map +0 -1
- package/dist/models/CreateJobExecutionDto.d.ts +0 -21
- package/dist/models/CreateJobExecutionDto.js +0 -34
- package/dist/models/CreateJobExecutionDto.js.map +0 -1
- package/dist/models/CreateTaskDto.d.ts +0 -21
- package/dist/models/CreateTaskDto.js +0 -46
- package/dist/models/CreateTaskDto.js.map +0 -1
- package/dist/models/CreateVariableDto.d.ts +0 -22
- package/dist/models/CreateVariableDto.js +0 -46
- package/dist/models/CreateVariableDto.js.map +0 -1
- package/dist/models/FileDto.d.ts +0 -23
- package/dist/models/FileDto.js +0 -52
- package/dist/models/FileDto.js.map +0 -1
- package/dist/models/FindVariablesRequest.d.ts +0 -23
- package/dist/models/FindVariablesRequest.js +0 -46
- package/dist/models/FindVariablesRequest.js.map +0 -1
- package/dist/models/GetFiles200Response.d.ts +0 -21
- package/dist/models/GetFiles200Response.js +0 -34
- package/dist/models/GetFiles200Response.js.map +0 -1
- package/dist/models/GetItems200Response.d.ts +0 -21
- package/dist/models/GetItems200Response.js +0 -34
- package/dist/models/GetItems200Response.js.map +0 -1
- package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
- package/dist/models/GetJobExecutionById400Response.js +0 -22
- package/dist/models/GetJobExecutionById400Response.js.map +0 -1
- package/dist/models/GetJobExecutions200Response.d.ts +0 -21
- package/dist/models/GetJobExecutions200Response.js +0 -34
- package/dist/models/GetJobExecutions200Response.js.map +0 -1
- package/dist/models/GetJobs200Response.d.ts +0 -21
- package/dist/models/GetJobs200Response.js +0 -34
- package/dist/models/GetJobs200Response.js.map +0 -1
- package/dist/models/GetTasks200Response.d.ts +0 -21
- package/dist/models/GetTasks200Response.js +0 -34
- package/dist/models/GetTasks200Response.js.map +0 -1
- package/dist/models/GetVariables200Response.d.ts +0 -21
- package/dist/models/GetVariables200Response.js +0 -34
- package/dist/models/GetVariables200Response.js.map +0 -1
- package/dist/models/HighOrderQuery.d.ts +0 -19
- package/dist/models/HighOrderQuery.js +0 -28
- package/dist/models/HighOrderQuery.js.map +0 -1
- package/dist/models/ItemDto.d.ts +0 -28
- package/dist/models/ItemDto.js +0 -64
- package/dist/models/ItemDto.js.map +0 -1
- package/dist/models/ItemFieldDTO.d.ts +0 -19
- package/dist/models/ItemFieldDTO.js +0 -34
- package/dist/models/ItemFieldDTO.js.map +0 -1
- package/dist/models/ItemFieldFile.d.ts +0 -18
- package/dist/models/ItemFieldFile.js +0 -22
- package/dist/models/ItemFieldFile.js.map +0 -1
- package/dist/models/ItemFieldFileData.d.ts +0 -18
- package/dist/models/ItemFieldFileData.js +0 -28
- package/dist/models/ItemFieldFileData.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
- package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
- package/dist/models/ItemFieldSimpleNumber.js +0 -28
- package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
- package/dist/models/ItemFieldSimpleString.d.ts +0 -17
- package/dist/models/ItemFieldSimpleString.js +0 -22
- package/dist/models/ItemFieldSimpleString.js.map +0 -1
- package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
- package/dist/models/ItemFieldSimpleStringArray.js +0 -22
- package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
- package/dist/models/ItemMetadataDTO.d.ts +0 -23
- package/dist/models/ItemMetadataDTO.js +0 -58
- package/dist/models/ItemMetadataDTO.js.map +0 -1
- package/dist/models/JobDto.d.ts +0 -35
- package/dist/models/JobDto.js +0 -106
- package/dist/models/JobDto.js.map +0 -1
- package/dist/models/JobExecutionDto.d.ts +0 -33
- package/dist/models/JobExecutionDto.js +0 -88
- package/dist/models/JobExecutionDto.js.map +0 -1
- package/dist/models/LowOrderQuery.d.ts +0 -22
- package/dist/models/LowOrderQuery.js +0 -40
- package/dist/models/LowOrderQuery.js.map +0 -1
- package/dist/models/LowOrderQueryValue.d.ts +0 -16
- package/dist/models/LowOrderQueryValue.js +0 -15
- package/dist/models/LowOrderQueryValue.js.map +0 -1
- package/dist/models/ObjectSerializer.d.ts +0 -45
- package/dist/models/ObjectSerializer.js +0 -347
- package/dist/models/ObjectSerializer.js.map +0 -1
- package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
- package/dist/models/PatchTaskExecutionDto.js +0 -34
- package/dist/models/PatchTaskExecutionDto.js.map +0 -1
- package/dist/models/Query1.d.ts +0 -23
- package/dist/models/Query1.js +0 -46
- package/dist/models/Query1.js.map +0 -1
- package/dist/models/TaskDto.d.ts +0 -26
- package/dist/models/TaskDto.js +0 -70
- package/dist/models/TaskDto.js.map +0 -1
- package/dist/models/TaskExecutionDto.d.ts +0 -30
- package/dist/models/TaskExecutionDto.js +0 -64
- package/dist/models/TaskExecutionDto.js.map +0 -1
- package/dist/models/UpdateJobDto.d.ts +0 -31
- package/dist/models/UpdateJobDto.js +0 -88
- package/dist/models/UpdateJobDto.js.map +0 -1
- package/dist/models/UpdateTaskDto.d.ts +0 -22
- package/dist/models/UpdateTaskDto.js +0 -52
- package/dist/models/UpdateTaskDto.js.map +0 -1
- package/dist/models/UpdateVariableDto.d.ts +0 -23
- package/dist/models/UpdateVariableDto.js +0 -52
- package/dist/models/UpdateVariableDto.js.map +0 -1
- package/dist/models/VariableDto.d.ts +0 -27
- package/dist/models/VariableDto.js +0 -70
- package/dist/models/VariableDto.js.map +0 -1
- package/dist/models/all.d.ts +0 -36
- package/dist/models/all.js +0 -53
- package/dist/models/all.js.map +0 -1
- package/dist/rxjsStub.d.ts +0 -10
- package/dist/rxjsStub.js +0 -33
- package/dist/rxjsStub.js.map +0 -1
- package/dist/servers.d.ts +0 -17
- package/dist/servers.js +0 -32
- package/dist/servers.js.map +0 -1
- package/dist/types/ObjectParamAPI.d.ts +0 -187
- package/dist/types/ObjectParamAPI.js +0 -160
- package/dist/types/ObjectParamAPI.js.map +0 -1
- package/dist/types/ObservableAPI.d.ts +0 -109
- package/dist/types/ObservableAPI.js +0 -758
- package/dist/types/ObservableAPI.js.map +0 -1
- package/dist/types/PromiseAPI.d.ts +0 -92
- package/dist/types/PromiseAPI.js +0 -180
- package/dist/types/PromiseAPI.js.map +0 -1
- package/dist/util.d.ts +0 -2
- package/dist/util.js +0 -29
- package/dist/util.js.map +0 -1
- package/git_push.sh +0 -51
- package/http/http.ts +0 -229
- package/http/isomorphic-fetch.ts +0 -32
- package/index.ts +0 -12
- package/middleware.ts +0 -66
- package/models/CreateJobDto.ts +0 -108
- package/models/CreateJobExecutionDto.ts +0 -49
- package/models/CreateTaskDto.ts +0 -63
- package/models/CreateVariableDto.ts +0 -66
- package/models/FileDto.ts +0 -73
- package/models/FindVariablesRequest.ts +0 -68
- package/models/GetFiles200Response.ts +0 -53
- package/models/GetItems200Response.ts +0 -53
- package/models/GetJobExecutionById400Response.ts +0 -35
- package/models/GetJobExecutions200Response.ts +0 -53
- package/models/GetJobs200Response.ts +0 -53
- package/models/GetTasks200Response.ts +0 -53
- package/models/GetVariables200Response.ts +0 -53
- package/models/HighOrderQuery.ts +0 -45
- package/models/ItemDto.ts +0 -86
- package/models/ItemFieldDTO.ts +0 -49
- package/models/ItemFieldFile.ts +0 -36
- package/models/ItemFieldFileData.ts +0 -42
- package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
- package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
- package/models/ItemFieldSimpleNumber.ts +0 -42
- package/models/ItemFieldSimpleString.ts +0 -35
- package/models/ItemFieldSimpleStringArray.ts +0 -35
- package/models/ItemMetadataDTO.ts +0 -77
- package/models/JobDto.ts +0 -137
- package/models/JobExecutionDto.ts +0 -115
- package/models/LowOrderQuery.ts +0 -60
- package/models/LowOrderQueryValue.ts +0 -29
- package/models/ObjectSerializer.ts +0 -358
- package/models/PatchTaskExecutionDto.ts +0 -52
- package/models/Query1.ts +0 -69
- package/models/TaskDto.ts +0 -94
- package/models/TaskExecutionDto.ts +0 -88
- package/models/UpdateJobDto.ts +0 -115
- package/models/UpdateTaskDto.ts +0 -70
- package/models/UpdateVariableDto.ts +0 -73
- package/models/VariableDto.ts +0 -95
- package/models/all.ts +0 -36
- package/rxjsStub.ts +0 -27
- package/servers.ts +0 -55
- package/tsconfig.json +0 -28
- package/types/ObjectParamAPI.ts +0 -675
- package/types/ObservableAPI.ts +0 -837
- package/types/PromiseAPI.ts +0 -452
- package/util.ts +0 -37
package/apis/TaskApi.ts
DELETED
|
@@ -1,558 +0,0 @@
|
|
|
1
|
-
// TODO: better import syntax?
|
|
2
|
-
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
|
3
|
-
import {Configuration} from '../configuration';
|
|
4
|
-
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
|
5
|
-
import * as FormData from "form-data";
|
|
6
|
-
import { URLSearchParams } from 'url';
|
|
7
|
-
import {ObjectSerializer} from '../models/ObjectSerializer';
|
|
8
|
-
import {ApiException} from './exception';
|
|
9
|
-
import {canConsumeForm, isCodeInRange} from '../util';
|
|
10
|
-
import {SecurityAuthentication} from '../auth/auth';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import { CreateTaskDto } from '../models/CreateTaskDto';
|
|
14
|
-
import { GetJobExecutionById400Response } from '../models/GetJobExecutionById400Response';
|
|
15
|
-
import { GetTasks200Response } from '../models/GetTasks200Response';
|
|
16
|
-
import { TaskDto } from '../models/TaskDto';
|
|
17
|
-
import { TaskExecutionDto } from '../models/TaskExecutionDto';
|
|
18
|
-
import { UpdateTaskDto } from '../models/UpdateTaskDto';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* no description
|
|
22
|
-
*/
|
|
23
|
-
export class TaskApiRequestFactory extends BaseAPIRequestFactory {
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* (Experimental) - Create a Task
|
|
27
|
-
* @param createTaskDto
|
|
28
|
-
*/
|
|
29
|
-
public async createTask(createTaskDto: CreateTaskDto, _options?: Configuration): Promise<RequestContext> {
|
|
30
|
-
let _config = _options || this.configuration;
|
|
31
|
-
|
|
32
|
-
// verify required parameter 'createTaskDto' is not null or undefined
|
|
33
|
-
if (createTaskDto === null || createTaskDto === undefined) {
|
|
34
|
-
throw new RequiredError("TaskApi", "createTask", "createTaskDto");
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
// Path Params
|
|
39
|
-
const localVarPath = '/v1/data_factory/tasks';
|
|
40
|
-
|
|
41
|
-
// Make Request Context
|
|
42
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST);
|
|
43
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
// Body Params
|
|
47
|
-
const contentType = ObjectSerializer.getPreferredMediaType([
|
|
48
|
-
"application/json"
|
|
49
|
-
]);
|
|
50
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
51
|
-
const serializedBody = ObjectSerializer.stringify(
|
|
52
|
-
ObjectSerializer.serialize(createTaskDto, "CreateTaskDto", ""),
|
|
53
|
-
contentType
|
|
54
|
-
);
|
|
55
|
-
requestContext.setBody(serializedBody);
|
|
56
|
-
|
|
57
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
58
|
-
// Apply auth methods
|
|
59
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
60
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
61
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
62
|
-
}
|
|
63
|
-
// Apply auth methods
|
|
64
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
65
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
66
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
70
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
71
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return requestContext;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* (Experimental) - Delete a Task by id
|
|
79
|
-
* @param id
|
|
80
|
-
*/
|
|
81
|
-
public async deleteTask(id: string, _options?: Configuration): Promise<RequestContext> {
|
|
82
|
-
let _config = _options || this.configuration;
|
|
83
|
-
|
|
84
|
-
// verify required parameter 'id' is not null or undefined
|
|
85
|
-
if (id === null || id === undefined) {
|
|
86
|
-
throw new RequiredError("TaskApi", "deleteTask", "id");
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// Path Params
|
|
91
|
-
const localVarPath = '/v1/data_factory/tasks/{id}'
|
|
92
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
93
|
-
|
|
94
|
-
// Make Request Context
|
|
95
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE);
|
|
96
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
100
|
-
// Apply auth methods
|
|
101
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
102
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
103
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
104
|
-
}
|
|
105
|
-
// Apply auth methods
|
|
106
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
107
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
108
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
112
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
113
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
return requestContext;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* (Experimental) - Get a Task by id
|
|
121
|
-
* @param id
|
|
122
|
-
*/
|
|
123
|
-
public async getTaskById(id: string, _options?: Configuration): Promise<RequestContext> {
|
|
124
|
-
let _config = _options || this.configuration;
|
|
125
|
-
|
|
126
|
-
// verify required parameter 'id' is not null or undefined
|
|
127
|
-
if (id === null || id === undefined) {
|
|
128
|
-
throw new RequiredError("TaskApi", "getTaskById", "id");
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
// Path Params
|
|
133
|
-
const localVarPath = '/v1/data_factory/tasks/{id}'
|
|
134
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
135
|
-
|
|
136
|
-
// Make Request Context
|
|
137
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET);
|
|
138
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
142
|
-
// Apply auth methods
|
|
143
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
144
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
145
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
146
|
-
}
|
|
147
|
-
// Apply auth methods
|
|
148
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
149
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
150
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
154
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
155
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return requestContext;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* (Experimental) - Get a list of Task
|
|
163
|
-
* @param size
|
|
164
|
-
* @param page
|
|
165
|
-
*/
|
|
166
|
-
public async getTasks(size?: number, page?: number, _options?: Configuration): Promise<RequestContext> {
|
|
167
|
-
let _config = _options || this.configuration;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
// Path Params
|
|
172
|
-
const localVarPath = '/v1/data_factory/tasks';
|
|
173
|
-
|
|
174
|
-
// Make Request Context
|
|
175
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET);
|
|
176
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
177
|
-
|
|
178
|
-
// Query Params
|
|
179
|
-
if (size !== undefined) {
|
|
180
|
-
requestContext.setQueryParam("size", ObjectSerializer.serialize(size, "number", ""));
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// Query Params
|
|
184
|
-
if (page !== undefined) {
|
|
185
|
-
requestContext.setQueryParam("page", ObjectSerializer.serialize(page, "number", ""));
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
190
|
-
// Apply auth methods
|
|
191
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
192
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
193
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
194
|
-
}
|
|
195
|
-
// Apply auth methods
|
|
196
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
197
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
198
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
202
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
203
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
return requestContext;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* (Experimental) - Poll a task if there is not task to poll, the API returns a `404 Not Found` error
|
|
211
|
-
* @param id
|
|
212
|
-
*/
|
|
213
|
-
public async pollTaskExecution(id: string, _options?: Configuration): Promise<RequestContext> {
|
|
214
|
-
let _config = _options || this.configuration;
|
|
215
|
-
|
|
216
|
-
// verify required parameter 'id' is not null or undefined
|
|
217
|
-
if (id === null || id === undefined) {
|
|
218
|
-
throw new RequiredError("TaskApi", "pollTaskExecution", "id");
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
// Path Params
|
|
223
|
-
const localVarPath = '/v1/data_factory/tasks/{id}/poll'
|
|
224
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
225
|
-
|
|
226
|
-
// Make Request Context
|
|
227
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET);
|
|
228
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
232
|
-
// Apply auth methods
|
|
233
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
234
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
235
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
236
|
-
}
|
|
237
|
-
// Apply auth methods
|
|
238
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
239
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
240
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
244
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
245
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
return requestContext;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* (Experimental) - Update a Task
|
|
253
|
-
* @param id
|
|
254
|
-
* @param updateTaskDto
|
|
255
|
-
*/
|
|
256
|
-
public async updateTask(id: string, updateTaskDto: UpdateTaskDto, _options?: Configuration): Promise<RequestContext> {
|
|
257
|
-
let _config = _options || this.configuration;
|
|
258
|
-
|
|
259
|
-
// verify required parameter 'id' is not null or undefined
|
|
260
|
-
if (id === null || id === undefined) {
|
|
261
|
-
throw new RequiredError("TaskApi", "updateTask", "id");
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
// verify required parameter 'updateTaskDto' is not null or undefined
|
|
266
|
-
if (updateTaskDto === null || updateTaskDto === undefined) {
|
|
267
|
-
throw new RequiredError("TaskApi", "updateTask", "updateTaskDto");
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
// Path Params
|
|
272
|
-
const localVarPath = '/v1/data_factory/tasks/{id}'
|
|
273
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
274
|
-
|
|
275
|
-
// Make Request Context
|
|
276
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT);
|
|
277
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8")
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
// Body Params
|
|
281
|
-
const contentType = ObjectSerializer.getPreferredMediaType([
|
|
282
|
-
"application/json"
|
|
283
|
-
]);
|
|
284
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
285
|
-
const serializedBody = ObjectSerializer.stringify(
|
|
286
|
-
ObjectSerializer.serialize(updateTaskDto, "UpdateTaskDto", ""),
|
|
287
|
-
contentType
|
|
288
|
-
);
|
|
289
|
-
requestContext.setBody(serializedBody);
|
|
290
|
-
|
|
291
|
-
let authMethod: SecurityAuthentication | undefined;
|
|
292
|
-
// Apply auth methods
|
|
293
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"]
|
|
294
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
295
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
296
|
-
}
|
|
297
|
-
// Apply auth methods
|
|
298
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"]
|
|
299
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
300
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default
|
|
304
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
305
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
return requestContext;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export class TaskApiResponseProcessor {
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
317
|
-
* to the expected objects
|
|
318
|
-
*
|
|
319
|
-
* @params response Response returned by the server for a request to createTask
|
|
320
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
321
|
-
*/
|
|
322
|
-
public async createTask(response: ResponseContext): Promise<TaskDto > {
|
|
323
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
324
|
-
if (isCodeInRange("201", response.httpStatusCode)) {
|
|
325
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
326
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
327
|
-
"TaskDto", ""
|
|
328
|
-
) as TaskDto;
|
|
329
|
-
return body;
|
|
330
|
-
}
|
|
331
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
332
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
333
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
334
|
-
"GetJobExecutionById400Response", ""
|
|
335
|
-
) as GetJobExecutionById400Response;
|
|
336
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
337
|
-
}
|
|
338
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
339
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
343
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
344
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
345
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
346
|
-
"TaskDto", ""
|
|
347
|
-
) as TaskDto;
|
|
348
|
-
return body;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
356
|
-
* to the expected objects
|
|
357
|
-
*
|
|
358
|
-
* @params response Response returned by the server for a request to deleteTask
|
|
359
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
360
|
-
*/
|
|
361
|
-
public async deleteTask(response: ResponseContext): Promise<TaskDto > {
|
|
362
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
363
|
-
if (isCodeInRange("201", response.httpStatusCode)) {
|
|
364
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
365
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
366
|
-
"TaskDto", ""
|
|
367
|
-
) as TaskDto;
|
|
368
|
-
return body;
|
|
369
|
-
}
|
|
370
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
371
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
372
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
373
|
-
"GetJobExecutionById400Response", ""
|
|
374
|
-
) as GetJobExecutionById400Response;
|
|
375
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
376
|
-
}
|
|
377
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
378
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
379
|
-
}
|
|
380
|
-
if (isCodeInRange("404", response.httpStatusCode)) {
|
|
381
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Not found", undefined, response.headers);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
385
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
386
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
387
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
388
|
-
"TaskDto", ""
|
|
389
|
-
) as TaskDto;
|
|
390
|
-
return body;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
398
|
-
* to the expected objects
|
|
399
|
-
*
|
|
400
|
-
* @params response Response returned by the server for a request to getTaskById
|
|
401
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
402
|
-
*/
|
|
403
|
-
public async getTaskById(response: ResponseContext): Promise<TaskDto > {
|
|
404
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
405
|
-
if (isCodeInRange("200", response.httpStatusCode)) {
|
|
406
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
407
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
408
|
-
"TaskDto", ""
|
|
409
|
-
) as TaskDto;
|
|
410
|
-
return body;
|
|
411
|
-
}
|
|
412
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
413
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
414
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
415
|
-
"GetJobExecutionById400Response", ""
|
|
416
|
-
) as GetJobExecutionById400Response;
|
|
417
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
418
|
-
}
|
|
419
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
420
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
421
|
-
}
|
|
422
|
-
if (isCodeInRange("404", response.httpStatusCode)) {
|
|
423
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Not found", undefined, response.headers);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
427
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
428
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
429
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
430
|
-
"TaskDto", ""
|
|
431
|
-
) as TaskDto;
|
|
432
|
-
return body;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
440
|
-
* to the expected objects
|
|
441
|
-
*
|
|
442
|
-
* @params response Response returned by the server for a request to getTasks
|
|
443
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
444
|
-
*/
|
|
445
|
-
public async getTasks(response: ResponseContext): Promise<GetTasks200Response > {
|
|
446
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
447
|
-
if (isCodeInRange("200", response.httpStatusCode)) {
|
|
448
|
-
const body: GetTasks200Response = ObjectSerializer.deserialize(
|
|
449
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
450
|
-
"GetTasks200Response", ""
|
|
451
|
-
) as GetTasks200Response;
|
|
452
|
-
return body;
|
|
453
|
-
}
|
|
454
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
455
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
456
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
457
|
-
"GetJobExecutionById400Response", ""
|
|
458
|
-
) as GetJobExecutionById400Response;
|
|
459
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
460
|
-
}
|
|
461
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
462
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
466
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
467
|
-
const body: GetTasks200Response = ObjectSerializer.deserialize(
|
|
468
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
469
|
-
"GetTasks200Response", ""
|
|
470
|
-
) as GetTasks200Response;
|
|
471
|
-
return body;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
479
|
-
* to the expected objects
|
|
480
|
-
*
|
|
481
|
-
* @params response Response returned by the server for a request to pollTaskExecution
|
|
482
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
483
|
-
*/
|
|
484
|
-
public async pollTaskExecution(response: ResponseContext): Promise<TaskExecutionDto > {
|
|
485
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
486
|
-
if (isCodeInRange("200", response.httpStatusCode)) {
|
|
487
|
-
const body: TaskExecutionDto = ObjectSerializer.deserialize(
|
|
488
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
489
|
-
"TaskExecutionDto", ""
|
|
490
|
-
) as TaskExecutionDto;
|
|
491
|
-
return body;
|
|
492
|
-
}
|
|
493
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
494
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
495
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
496
|
-
"GetJobExecutionById400Response", ""
|
|
497
|
-
) as GetJobExecutionById400Response;
|
|
498
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
499
|
-
}
|
|
500
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
501
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
502
|
-
}
|
|
503
|
-
if (isCodeInRange("404", response.httpStatusCode)) {
|
|
504
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Not found", undefined, response.headers);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
508
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
509
|
-
const body: TaskExecutionDto = ObjectSerializer.deserialize(
|
|
510
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
511
|
-
"TaskExecutionDto", ""
|
|
512
|
-
) as TaskExecutionDto;
|
|
513
|
-
return body;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
521
|
-
* to the expected objects
|
|
522
|
-
*
|
|
523
|
-
* @params response Response returned by the server for a request to updateTask
|
|
524
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
525
|
-
*/
|
|
526
|
-
public async updateTask(response: ResponseContext): Promise<TaskDto > {
|
|
527
|
-
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
528
|
-
if (isCodeInRange("201", response.httpStatusCode)) {
|
|
529
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
530
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
531
|
-
"TaskDto", ""
|
|
532
|
-
) as TaskDto;
|
|
533
|
-
return body;
|
|
534
|
-
}
|
|
535
|
-
if (isCodeInRange("400", response.httpStatusCode)) {
|
|
536
|
-
const body: GetJobExecutionById400Response = ObjectSerializer.deserialize(
|
|
537
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
538
|
-
"GetJobExecutionById400Response", ""
|
|
539
|
-
) as GetJobExecutionById400Response;
|
|
540
|
-
throw new ApiException<GetJobExecutionById400Response>(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
541
|
-
}
|
|
542
|
-
if (isCodeInRange("401", response.httpStatusCode)) {
|
|
543
|
-
throw new ApiException<undefined>(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
547
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
548
|
-
const body: TaskDto = ObjectSerializer.deserialize(
|
|
549
|
-
ObjectSerializer.parse(await response.body.text(), contentType),
|
|
550
|
-
"TaskDto", ""
|
|
551
|
-
) as TaskDto;
|
|
552
|
-
return body;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
throw new ApiException<string | Buffer | undefined>(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
}
|