@emilgroup/validation-rules-sdk 1.0.1-beta.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/.openapi-generator/FILES +30 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/health-checks-api.ts +150 -0
- package/api/investigation-blocks-api.ts +693 -0
- package/api/validation-rules-api.ts +557 -0
- package/api.ts +31 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/health-checks-api.d.ts +87 -0
- package/dist/api/health-checks-api.js +218 -0
- package/dist/api/investigation-blocks-api.d.ts +393 -0
- package/dist/api/investigation-blocks-api.js +644 -0
- package/dist/api/validation-rules-api.d.ts +318 -0
- package/dist/api/validation-rules-api.js +537 -0
- package/dist/api.d.ts +14 -0
- package/dist/api.js +32 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-investigation-block-request-dto.d.ts +41 -0
- package/dist/models/create-investigation-block-request-dto.js +20 -0
- package/dist/models/create-investigation-block-response-class.d.ts +25 -0
- package/dist/models/create-investigation-block-response-class.js +15 -0
- package/dist/models/create-validation-rule-request-dto.d.ts +83 -0
- package/dist/models/create-validation-rule-request-dto.js +20 -0
- package/dist/models/create-validation-rule-response-class.d.ts +25 -0
- package/dist/models/create-validation-rule-response-class.js +15 -0
- package/dist/models/get-investigation-block-response-class.d.ts +25 -0
- package/dist/models/get-investigation-block-response-class.js +15 -0
- package/dist/models/get-validation-rule-response-class.d.ts +25 -0
- package/dist/models/get-validation-rule-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +30 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/investigation-block-class.d.ts +90 -0
- package/dist/models/investigation-block-class.js +15 -0
- package/dist/models/list-investigation-blocks-response-class.d.ts +43 -0
- package/dist/models/list-investigation-blocks-response-class.js +15 -0
- package/dist/models/list-validation-rules-response-class.d.ts +43 -0
- package/dist/models/list-validation-rules-response-class.js +15 -0
- package/dist/models/update-investigation-block-request-dto.d.ts +59 -0
- package/dist/models/update-investigation-block-request-dto.js +25 -0
- package/dist/models/update-investigation-block-response-class.d.ts +25 -0
- package/dist/models/update-investigation-block-response-class.js +15 -0
- package/dist/models/validation-rule-class.d.ts +119 -0
- package/dist/models/validation-rule-class.js +20 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-investigation-block-request-dto.ts +50 -0
- package/models/create-investigation-block-response-class.ts +31 -0
- package/models/create-validation-rule-request-dto.ts +92 -0
- package/models/create-validation-rule-response-class.ts +31 -0
- package/models/get-investigation-block-response-class.ts +31 -0
- package/models/get-validation-rule-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/investigation-block-class.ts +96 -0
- package/models/list-investigation-blocks-response-class.ts +49 -0
- package/models/list-validation-rules-response-class.ts +49 -0
- package/models/update-investigation-block-request-dto.ts +69 -0
- package/models/update-investigation-block-response-class.ts +31 -0
- package/models/validation-rule-class.ts +128 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Validation Rules Service
|
|
3
|
+
* The EMIL Validation Rules Service API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateInvestigationBlockRequestDto } from '../models';
|
|
16
|
+
import { CreateInvestigationBlockResponseClass } from '../models';
|
|
17
|
+
import { GetInvestigationBlockResponseClass } from '../models';
|
|
18
|
+
import { ListInvestigationBlocksResponseClass } from '../models';
|
|
19
|
+
import { UpdateInvestigationBlockRequestDto } from '../models';
|
|
20
|
+
import { UpdateInvestigationBlockResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* InvestigationBlocksApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
|
|
28
|
+
* @summary Create the investigation block
|
|
29
|
+
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createInvestigationBlock: (createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
|
|
37
|
+
* @summary Delete the investigation block
|
|
38
|
+
* @param {string} code Unique identifier for the object.
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteInvestigationBlock: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
46
|
+
* @summary Retrieve the investigation block
|
|
47
|
+
* @param {string} code
|
|
48
|
+
* @param {string} expand
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getInvestigationBlock: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
56
|
+
* @summary List investigation blocks
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
+
* @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: id, code, createdAt</i>
|
|
61
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
63
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
64
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
listInvestigationBlocks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
|
|
71
|
+
* @summary Update the investigation block
|
|
72
|
+
* @param {string} code
|
|
73
|
+
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
updateInvestigationBlock: (code: string, updateInvestigationBlockRequestDto: UpdateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* InvestigationBlocksApi - functional programming interface
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const InvestigationBlocksApiFp: (configuration?: Configuration) => {
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
|
|
87
|
+
* @summary Create the investigation block
|
|
88
|
+
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
89
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
createInvestigationBlock(createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvestigationBlockResponseClass>>;
|
|
94
|
+
/**
|
|
95
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
|
|
96
|
+
* @summary Delete the investigation block
|
|
97
|
+
* @param {string} code Unique identifier for the object.
|
|
98
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
deleteInvestigationBlock(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
105
|
+
* @summary Retrieve the investigation block
|
|
106
|
+
* @param {string} code
|
|
107
|
+
* @param {string} expand
|
|
108
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
getInvestigationBlock(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvestigationBlockResponseClass>>;
|
|
113
|
+
/**
|
|
114
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
115
|
+
* @summary List investigation blocks
|
|
116
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
+
* @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: id, code, createdAt</i>
|
|
120
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
122
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
123
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
listInvestigationBlocks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvestigationBlocksResponseClass>>;
|
|
128
|
+
/**
|
|
129
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
|
|
130
|
+
* @summary Update the investigation block
|
|
131
|
+
* @param {string} code
|
|
132
|
+
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
133
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
updateInvestigationBlock(code: string, updateInvestigationBlockRequestDto: UpdateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateInvestigationBlockResponseClass>>;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* InvestigationBlocksApi - factory interface
|
|
141
|
+
* @export
|
|
142
|
+
*/
|
|
143
|
+
export declare const InvestigationBlocksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
|
+
/**
|
|
145
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
|
|
146
|
+
* @summary Create the investigation block
|
|
147
|
+
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
createInvestigationBlock(createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInvestigationBlockResponseClass>;
|
|
153
|
+
/**
|
|
154
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
|
|
155
|
+
* @summary Delete the investigation block
|
|
156
|
+
* @param {string} code Unique identifier for the object.
|
|
157
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
deleteInvestigationBlock(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
164
|
+
* @summary Retrieve the investigation block
|
|
165
|
+
* @param {string} code
|
|
166
|
+
* @param {string} expand
|
|
167
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
getInvestigationBlock(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvestigationBlockResponseClass>;
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
174
|
+
* @summary List investigation blocks
|
|
175
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
+
* @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: id, code, createdAt</i>
|
|
179
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
181
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
182
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
listInvestigationBlocks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvestigationBlocksResponseClass>;
|
|
187
|
+
/**
|
|
188
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
|
|
189
|
+
* @summary Update the investigation block
|
|
190
|
+
* @param {string} code
|
|
191
|
+
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
192
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
updateInvestigationBlock(code: string, updateInvestigationBlockRequestDto: UpdateInvestigationBlockRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateInvestigationBlockResponseClass>;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Request parameters for createInvestigationBlock operation in InvestigationBlocksApi.
|
|
200
|
+
* @export
|
|
201
|
+
* @interface InvestigationBlocksApiCreateInvestigationBlockRequest
|
|
202
|
+
*/
|
|
203
|
+
export interface InvestigationBlocksApiCreateInvestigationBlockRequest {
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {CreateInvestigationBlockRequestDto}
|
|
207
|
+
* @memberof InvestigationBlocksApiCreateInvestigationBlock
|
|
208
|
+
*/
|
|
209
|
+
readonly createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto;
|
|
210
|
+
/**
|
|
211
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof InvestigationBlocksApiCreateInvestigationBlock
|
|
214
|
+
*/
|
|
215
|
+
readonly authorization?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Request parameters for deleteInvestigationBlock operation in InvestigationBlocksApi.
|
|
219
|
+
* @export
|
|
220
|
+
* @interface InvestigationBlocksApiDeleteInvestigationBlockRequest
|
|
221
|
+
*/
|
|
222
|
+
export interface InvestigationBlocksApiDeleteInvestigationBlockRequest {
|
|
223
|
+
/**
|
|
224
|
+
* Unique identifier for the object.
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof InvestigationBlocksApiDeleteInvestigationBlock
|
|
227
|
+
*/
|
|
228
|
+
readonly code: string;
|
|
229
|
+
/**
|
|
230
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof InvestigationBlocksApiDeleteInvestigationBlock
|
|
233
|
+
*/
|
|
234
|
+
readonly authorization?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Request parameters for getInvestigationBlock operation in InvestigationBlocksApi.
|
|
238
|
+
* @export
|
|
239
|
+
* @interface InvestigationBlocksApiGetInvestigationBlockRequest
|
|
240
|
+
*/
|
|
241
|
+
export interface InvestigationBlocksApiGetInvestigationBlockRequest {
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof InvestigationBlocksApiGetInvestigationBlock
|
|
246
|
+
*/
|
|
247
|
+
readonly code: string;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {string}
|
|
251
|
+
* @memberof InvestigationBlocksApiGetInvestigationBlock
|
|
252
|
+
*/
|
|
253
|
+
readonly expand: string;
|
|
254
|
+
/**
|
|
255
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof InvestigationBlocksApiGetInvestigationBlock
|
|
258
|
+
*/
|
|
259
|
+
readonly authorization?: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Request parameters for listInvestigationBlocks operation in InvestigationBlocksApi.
|
|
263
|
+
* @export
|
|
264
|
+
* @interface InvestigationBlocksApiListInvestigationBlocksRequest
|
|
265
|
+
*/
|
|
266
|
+
export interface InvestigationBlocksApiListInvestigationBlocksRequest {
|
|
267
|
+
/**
|
|
268
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
271
|
+
*/
|
|
272
|
+
readonly authorization?: string;
|
|
273
|
+
/**
|
|
274
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
275
|
+
* @type {number}
|
|
276
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
277
|
+
*/
|
|
278
|
+
readonly pageSize?: number;
|
|
279
|
+
/**
|
|
280
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
283
|
+
*/
|
|
284
|
+
readonly pageToken?: string;
|
|
285
|
+
/**
|
|
286
|
+
* 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: id, code, createdAt</i>
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
289
|
+
*/
|
|
290
|
+
readonly filter?: string;
|
|
291
|
+
/**
|
|
292
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
295
|
+
*/
|
|
296
|
+
readonly search?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
301
|
+
*/
|
|
302
|
+
readonly order?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
307
|
+
*/
|
|
308
|
+
readonly expand?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof InvestigationBlocksApiListInvestigationBlocks
|
|
313
|
+
*/
|
|
314
|
+
readonly filters?: string;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Request parameters for updateInvestigationBlock operation in InvestigationBlocksApi.
|
|
318
|
+
* @export
|
|
319
|
+
* @interface InvestigationBlocksApiUpdateInvestigationBlockRequest
|
|
320
|
+
*/
|
|
321
|
+
export interface InvestigationBlocksApiUpdateInvestigationBlockRequest {
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof InvestigationBlocksApiUpdateInvestigationBlock
|
|
326
|
+
*/
|
|
327
|
+
readonly code: string;
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @type {UpdateInvestigationBlockRequestDto}
|
|
331
|
+
* @memberof InvestigationBlocksApiUpdateInvestigationBlock
|
|
332
|
+
*/
|
|
333
|
+
readonly updateInvestigationBlockRequestDto: UpdateInvestigationBlockRequestDto;
|
|
334
|
+
/**
|
|
335
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
|
+
* @type {string}
|
|
337
|
+
* @memberof InvestigationBlocksApiUpdateInvestigationBlock
|
|
338
|
+
*/
|
|
339
|
+
readonly authorization?: string;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* InvestigationBlocksApi - object-oriented interface
|
|
343
|
+
* @export
|
|
344
|
+
* @class InvestigationBlocksApi
|
|
345
|
+
* @extends {BaseAPI}
|
|
346
|
+
*/
|
|
347
|
+
export declare class InvestigationBlocksApi extends BaseAPI {
|
|
348
|
+
/**
|
|
349
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
|
|
350
|
+
* @summary Create the investigation block
|
|
351
|
+
* @param {InvestigationBlocksApiCreateInvestigationBlockRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof InvestigationBlocksApi
|
|
355
|
+
*/
|
|
356
|
+
createInvestigationBlock(requestParameters: InvestigationBlocksApiCreateInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvestigationBlockResponseClass, any, {}>>;
|
|
357
|
+
/**
|
|
358
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
|
|
359
|
+
* @summary Delete the investigation block
|
|
360
|
+
* @param {InvestigationBlocksApiDeleteInvestigationBlockRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof InvestigationBlocksApi
|
|
364
|
+
*/
|
|
365
|
+
deleteInvestigationBlock(requestParameters: InvestigationBlocksApiDeleteInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
366
|
+
/**
|
|
367
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
368
|
+
* @summary Retrieve the investigation block
|
|
369
|
+
* @param {InvestigationBlocksApiGetInvestigationBlockRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof InvestigationBlocksApi
|
|
373
|
+
*/
|
|
374
|
+
getInvestigationBlock(requestParameters: InvestigationBlocksApiGetInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvestigationBlockResponseClass, any, {}>>;
|
|
375
|
+
/**
|
|
376
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
|
|
377
|
+
* @summary List investigation blocks
|
|
378
|
+
* @param {InvestigationBlocksApiListInvestigationBlocksRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof InvestigationBlocksApi
|
|
382
|
+
*/
|
|
383
|
+
listInvestigationBlocks(requestParameters?: InvestigationBlocksApiListInvestigationBlocksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvestigationBlocksResponseClass, any, {}>>;
|
|
384
|
+
/**
|
|
385
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
|
|
386
|
+
* @summary Update the investigation block
|
|
387
|
+
* @param {InvestigationBlocksApiUpdateInvestigationBlockRequest} requestParameters Request parameters.
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
* @memberof InvestigationBlocksApi
|
|
391
|
+
*/
|
|
392
|
+
updateInvestigationBlock(requestParameters: InvestigationBlocksApiUpdateInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateInvestigationBlockResponseClass, any, {}>>;
|
|
393
|
+
}
|