@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.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/health-checks-api.ts +150 -0
  6. package/api/investigation-blocks-api.ts +693 -0
  7. package/api/validation-rules-api.ts +557 -0
  8. package/api.ts +31 -0
  9. package/base.ts +331 -0
  10. package/common.ts +198 -0
  11. package/configuration.ts +110 -0
  12. package/dist/api/health-checks-api.d.ts +87 -0
  13. package/dist/api/health-checks-api.js +218 -0
  14. package/dist/api/investigation-blocks-api.d.ts +393 -0
  15. package/dist/api/investigation-blocks-api.js +644 -0
  16. package/dist/api/validation-rules-api.d.ts +318 -0
  17. package/dist/api/validation-rules-api.js +537 -0
  18. package/dist/api.d.ts +14 -0
  19. package/dist/api.js +32 -0
  20. package/dist/base.d.ts +86 -0
  21. package/dist/base.js +367 -0
  22. package/dist/common.d.ts +91 -0
  23. package/dist/common.js +276 -0
  24. package/dist/configuration.d.ts +89 -0
  25. package/dist/configuration.js +52 -0
  26. package/dist/index.d.ts +15 -0
  27. package/dist/index.js +36 -0
  28. package/dist/models/create-investigation-block-request-dto.d.ts +41 -0
  29. package/dist/models/create-investigation-block-request-dto.js +20 -0
  30. package/dist/models/create-investigation-block-response-class.d.ts +25 -0
  31. package/dist/models/create-investigation-block-response-class.js +15 -0
  32. package/dist/models/create-validation-rule-request-dto.d.ts +83 -0
  33. package/dist/models/create-validation-rule-request-dto.js +20 -0
  34. package/dist/models/create-validation-rule-response-class.d.ts +25 -0
  35. package/dist/models/create-validation-rule-response-class.js +15 -0
  36. package/dist/models/get-investigation-block-response-class.d.ts +25 -0
  37. package/dist/models/get-investigation-block-response-class.js +15 -0
  38. package/dist/models/get-validation-rule-response-class.d.ts +25 -0
  39. package/dist/models/get-validation-rule-response-class.js +15 -0
  40. package/dist/models/index.d.ts +14 -0
  41. package/dist/models/index.js +30 -0
  42. package/dist/models/inline-response200.d.ts +54 -0
  43. package/dist/models/inline-response200.js +15 -0
  44. package/dist/models/inline-response503.d.ts +54 -0
  45. package/dist/models/inline-response503.js +15 -0
  46. package/dist/models/investigation-block-class.d.ts +90 -0
  47. package/dist/models/investigation-block-class.js +15 -0
  48. package/dist/models/list-investigation-blocks-response-class.d.ts +43 -0
  49. package/dist/models/list-investigation-blocks-response-class.js +15 -0
  50. package/dist/models/list-validation-rules-response-class.d.ts +43 -0
  51. package/dist/models/list-validation-rules-response-class.js +15 -0
  52. package/dist/models/update-investigation-block-request-dto.d.ts +59 -0
  53. package/dist/models/update-investigation-block-request-dto.js +25 -0
  54. package/dist/models/update-investigation-block-response-class.d.ts +25 -0
  55. package/dist/models/update-investigation-block-response-class.js +15 -0
  56. package/dist/models/validation-rule-class.d.ts +119 -0
  57. package/dist/models/validation-rule-class.js +20 -0
  58. package/git_push.sh +57 -0
  59. package/index.ts +19 -0
  60. package/models/create-investigation-block-request-dto.ts +50 -0
  61. package/models/create-investigation-block-response-class.ts +31 -0
  62. package/models/create-validation-rule-request-dto.ts +92 -0
  63. package/models/create-validation-rule-response-class.ts +31 -0
  64. package/models/get-investigation-block-response-class.ts +31 -0
  65. package/models/get-validation-rule-response-class.ts +31 -0
  66. package/models/index.ts +14 -0
  67. package/models/inline-response200.ts +48 -0
  68. package/models/inline-response503.ts +48 -0
  69. package/models/investigation-block-class.ts +96 -0
  70. package/models/list-investigation-blocks-response-class.ts +49 -0
  71. package/models/list-validation-rules-response-class.ts +49 -0
  72. package/models/update-investigation-block-request-dto.ts +69 -0
  73. package/models/update-investigation-block-response-class.ts +31 -0
  74. package/models/validation-rule-class.ts +128 -0
  75. package/package.json +27 -0
  76. package/tsconfig.json +23 -0
@@ -0,0 +1,318 @@
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 { CreateValidationRuleRequestDto } from '../models';
16
+ import { CreateValidationRuleResponseClass } from '../models';
17
+ import { GetValidationRuleResponseClass } from '../models';
18
+ import { ListValidationRulesResponseClass } from '../models';
19
+ /**
20
+ * ValidationRulesApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const ValidationRulesApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Creates a new validation rule **Required Permissions** \"validation-rules-management.validation-rules.create\"
26
+ * @summary Create the validation rule
27
+ * @param {CreateValidationRuleRequestDto} createValidationRuleRequestDto
28
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ createValidationRule: (createValidationRuleRequestDto: CreateValidationRuleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ /**
34
+ * Deletes a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.delete\"
35
+ * @summary Delete the validation rule
36
+ * @param {string} code Unique identifier for the object.
37
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ deleteValidationRule: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ * Retrieves a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.view\"
44
+ * @summary Retrieve the validation rule
45
+ * @param {string} code Unique identifier for the object.
46
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getValidationRule: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * Lists all validation rules with optional filters **Required Permissions** \"validation-rules-management.validation-rules.view\"
53
+ * @summary List validation rules
54
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
56
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
57
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
58
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
59
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt&lt;/i&gt;
60
+ * @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.&lt;br/&gt; &lt;br/&gt;
61
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ listValidationRules: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ };
67
+ /**
68
+ * ValidationRulesApi - functional programming interface
69
+ * @export
70
+ */
71
+ export declare const ValidationRulesApiFp: (configuration?: Configuration) => {
72
+ /**
73
+ * Creates a new validation rule **Required Permissions** \"validation-rules-management.validation-rules.create\"
74
+ * @summary Create the validation rule
75
+ * @param {CreateValidationRuleRequestDto} createValidationRuleRequestDto
76
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ createValidationRule(createValidationRuleRequestDto: CreateValidationRuleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateValidationRuleResponseClass>>;
81
+ /**
82
+ * Deletes a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.delete\"
83
+ * @summary Delete the validation rule
84
+ * @param {string} code Unique identifier for the object.
85
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ deleteValidationRule(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
+ /**
91
+ * Retrieves a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.view\"
92
+ * @summary Retrieve the validation rule
93
+ * @param {string} code Unique identifier for the object.
94
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ getValidationRule(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetValidationRuleResponseClass>>;
99
+ /**
100
+ * Lists all validation rules with optional filters **Required Permissions** \"validation-rules-management.validation-rules.view\"
101
+ * @summary List validation rules
102
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
104
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
105
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
106
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
107
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt&lt;/i&gt;
108
+ * @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.&lt;br/&gt; &lt;br/&gt;
109
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ listValidationRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListValidationRulesResponseClass>>;
114
+ };
115
+ /**
116
+ * ValidationRulesApi - factory interface
117
+ * @export
118
+ */
119
+ export declare const ValidationRulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
120
+ /**
121
+ * Creates a new validation rule **Required Permissions** \"validation-rules-management.validation-rules.create\"
122
+ * @summary Create the validation rule
123
+ * @param {CreateValidationRuleRequestDto} createValidationRuleRequestDto
124
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ createValidationRule(createValidationRuleRequestDto: CreateValidationRuleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateValidationRuleResponseClass>;
129
+ /**
130
+ * Deletes a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.delete\"
131
+ * @summary Delete the validation rule
132
+ * @param {string} code Unique identifier for the object.
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
+ deleteValidationRule(code: string, authorization?: string, options?: any): AxiosPromise<void>;
138
+ /**
139
+ * Retrieves a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.view\"
140
+ * @summary Retrieve the validation rule
141
+ * @param {string} code Unique identifier for the object.
142
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getValidationRule(code: string, authorization?: string, options?: any): AxiosPromise<GetValidationRuleResponseClass>;
147
+ /**
148
+ * Lists all validation rules with optional filters **Required Permissions** \"validation-rules-management.validation-rules.view\"
149
+ * @summary List validation rules
150
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
151
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
153
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
154
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
155
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt&lt;/i&gt;
156
+ * @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.&lt;br/&gt; &lt;br/&gt;
157
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ listValidationRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListValidationRulesResponseClass>;
162
+ };
163
+ /**
164
+ * Request parameters for createValidationRule operation in ValidationRulesApi.
165
+ * @export
166
+ * @interface ValidationRulesApiCreateValidationRuleRequest
167
+ */
168
+ export interface ValidationRulesApiCreateValidationRuleRequest {
169
+ /**
170
+ *
171
+ * @type {CreateValidationRuleRequestDto}
172
+ * @memberof ValidationRulesApiCreateValidationRule
173
+ */
174
+ readonly createValidationRuleRequestDto: CreateValidationRuleRequestDto;
175
+ /**
176
+ * Bearer Token: provided by the login endpoint under the name accessToken.
177
+ * @type {string}
178
+ * @memberof ValidationRulesApiCreateValidationRule
179
+ */
180
+ readonly authorization?: string;
181
+ }
182
+ /**
183
+ * Request parameters for deleteValidationRule operation in ValidationRulesApi.
184
+ * @export
185
+ * @interface ValidationRulesApiDeleteValidationRuleRequest
186
+ */
187
+ export interface ValidationRulesApiDeleteValidationRuleRequest {
188
+ /**
189
+ * Unique identifier for the object.
190
+ * @type {string}
191
+ * @memberof ValidationRulesApiDeleteValidationRule
192
+ */
193
+ readonly code: string;
194
+ /**
195
+ * Bearer Token: provided by the login endpoint under the name accessToken.
196
+ * @type {string}
197
+ * @memberof ValidationRulesApiDeleteValidationRule
198
+ */
199
+ readonly authorization?: string;
200
+ }
201
+ /**
202
+ * Request parameters for getValidationRule operation in ValidationRulesApi.
203
+ * @export
204
+ * @interface ValidationRulesApiGetValidationRuleRequest
205
+ */
206
+ export interface ValidationRulesApiGetValidationRuleRequest {
207
+ /**
208
+ * Unique identifier for the object.
209
+ * @type {string}
210
+ * @memberof ValidationRulesApiGetValidationRule
211
+ */
212
+ readonly code: string;
213
+ /**
214
+ * Bearer Token: provided by the login endpoint under the name accessToken.
215
+ * @type {string}
216
+ * @memberof ValidationRulesApiGetValidationRule
217
+ */
218
+ readonly authorization?: string;
219
+ }
220
+ /**
221
+ * Request parameters for listValidationRules operation in ValidationRulesApi.
222
+ * @export
223
+ * @interface ValidationRulesApiListValidationRulesRequest
224
+ */
225
+ export interface ValidationRulesApiListValidationRulesRequest {
226
+ /**
227
+ * Bearer Token: provided by the login endpoint under the name accessToken.
228
+ * @type {string}
229
+ * @memberof ValidationRulesApiListValidationRules
230
+ */
231
+ readonly authorization?: string;
232
+ /**
233
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
234
+ * @type {number}
235
+ * @memberof ValidationRulesApiListValidationRules
236
+ */
237
+ readonly pageSize?: number;
238
+ /**
239
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
240
+ * @type {string}
241
+ * @memberof ValidationRulesApiListValidationRules
242
+ */
243
+ readonly pageToken?: string;
244
+ /**
245
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
246
+ * @type {string}
247
+ * @memberof ValidationRulesApiListValidationRules
248
+ */
249
+ readonly filter?: string;
250
+ /**
251
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
252
+ * @type {string}
253
+ * @memberof ValidationRulesApiListValidationRules
254
+ */
255
+ readonly search?: string;
256
+ /**
257
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt&lt;/i&gt;
258
+ * @type {string}
259
+ * @memberof ValidationRulesApiListValidationRules
260
+ */
261
+ readonly order?: string;
262
+ /**
263
+ * 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.&lt;br/&gt; &lt;br/&gt;
264
+ * @type {string}
265
+ * @memberof ValidationRulesApiListValidationRules
266
+ */
267
+ readonly expand?: string;
268
+ /**
269
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, productSlug, productVersionCode, severity, isEnabled, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
270
+ * @type {string}
271
+ * @memberof ValidationRulesApiListValidationRules
272
+ */
273
+ readonly filters?: string;
274
+ }
275
+ /**
276
+ * ValidationRulesApi - object-oriented interface
277
+ * @export
278
+ * @class ValidationRulesApi
279
+ * @extends {BaseAPI}
280
+ */
281
+ export declare class ValidationRulesApi extends BaseAPI {
282
+ /**
283
+ * Creates a new validation rule **Required Permissions** \"validation-rules-management.validation-rules.create\"
284
+ * @summary Create the validation rule
285
+ * @param {ValidationRulesApiCreateValidationRuleRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ * @memberof ValidationRulesApi
289
+ */
290
+ createValidationRule(requestParameters: ValidationRulesApiCreateValidationRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateValidationRuleResponseClass, any, {}>>;
291
+ /**
292
+ * Deletes a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.delete\"
293
+ * @summary Delete the validation rule
294
+ * @param {ValidationRulesApiDeleteValidationRuleRequest} requestParameters Request parameters.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof ValidationRulesApi
298
+ */
299
+ deleteValidationRule(requestParameters: ValidationRulesApiDeleteValidationRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
300
+ /**
301
+ * Retrieves a validation rule by its code **Required Permissions** \"validation-rules-management.validation-rules.view\"
302
+ * @summary Retrieve the validation rule
303
+ * @param {ValidationRulesApiGetValidationRuleRequest} requestParameters Request parameters.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ * @memberof ValidationRulesApi
307
+ */
308
+ getValidationRule(requestParameters: ValidationRulesApiGetValidationRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetValidationRuleResponseClass, any, {}>>;
309
+ /**
310
+ * Lists all validation rules with optional filters **Required Permissions** \"validation-rules-management.validation-rules.view\"
311
+ * @summary List validation rules
312
+ * @param {ValidationRulesApiListValidationRulesRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof ValidationRulesApi
316
+ */
317
+ listValidationRules(requestParameters?: ValidationRulesApiListValidationRulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListValidationRulesResponseClass, any, {}>>;
318
+ }