grexx-api 12.6.25 → 12.6.26
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.
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://name.grexx.today/api/v1',
|
|
6
|
-
VERSION: '12.6.
|
|
6
|
+
VERSION: '12.6.26',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -94,12 +94,11 @@ export declare class CaseService {
|
|
|
94
94
|
* Retrieve the contents of a form, rights are checked via form rights
|
|
95
95
|
* @param casePath Path or Id of case
|
|
96
96
|
* @param formId ID of form
|
|
97
|
-
* @param form Set form
|
|
98
97
|
* @param format Format of the result
|
|
99
98
|
* @returns any Retrieve the contents of a form, rights are checked via form rights
|
|
100
99
|
* @throws ApiError
|
|
101
100
|
*/
|
|
102
|
-
static formRetrieve(casePath: string, formId: UnversionedReference,
|
|
101
|
+
static formRetrieve(casePath: string, formId: UnversionedReference, format?: 'simple' | 'extended' | 'full'): CancelablePromise<any>;
|
|
103
102
|
/**
|
|
104
103
|
* Retrieve the contents of a dataset, rights are checked via widget rights
|
|
105
104
|
* @param casePath Path or Id of case
|
|
@@ -336,12 +335,11 @@ export declare class CaseService {
|
|
|
336
335
|
* Retrieve the contents of a form, rights are checked via form rights
|
|
337
336
|
* @param caseId ID of case
|
|
338
337
|
* @param formId ID of form
|
|
339
|
-
* @param form Set form
|
|
340
338
|
* @param format Format of the result
|
|
341
339
|
* @returns any Retrieve the contents of a form, rights are checked via form rights
|
|
342
340
|
* @throws ApiError
|
|
343
341
|
*/
|
|
344
|
-
static formGet(caseId: UnversionedReference, formId: UnversionedReference,
|
|
342
|
+
static formGet(caseId: UnversionedReference, formId: UnversionedReference, format?: 'simple' | 'extended' | 'full'): CancelablePromise<any>;
|
|
345
343
|
/**
|
|
346
344
|
* @deprecated
|
|
347
345
|
* Retrieve the contents of a dataset, rights are checked via widget rights
|
|
@@ -55,12 +55,11 @@ class CaseService {
|
|
|
55
55
|
* Retrieve the contents of a form, rights are checked via form rights
|
|
56
56
|
* @param casePath Path or Id of case
|
|
57
57
|
* @param formId ID of form
|
|
58
|
-
* @param form Set form
|
|
59
58
|
* @param format Format of the result
|
|
60
59
|
* @returns any Retrieve the contents of a form, rights are checked via form rights
|
|
61
60
|
* @throws ApiError
|
|
62
61
|
*/
|
|
63
|
-
static formRetrieve(casePath, formId,
|
|
62
|
+
static formRetrieve(casePath, formId, format = 'simple') {
|
|
64
63
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
65
64
|
method: 'GET',
|
|
66
65
|
url: '/form/{formId}/{casePath}',
|
|
@@ -69,7 +68,6 @@ class CaseService {
|
|
|
69
68
|
'formId': formId,
|
|
70
69
|
},
|
|
71
70
|
query: {
|
|
72
|
-
'form': form,
|
|
73
71
|
'format': format,
|
|
74
72
|
},
|
|
75
73
|
});
|
|
@@ -239,12 +237,11 @@ class CaseService {
|
|
|
239
237
|
* Retrieve the contents of a form, rights are checked via form rights
|
|
240
238
|
* @param caseId ID of case
|
|
241
239
|
* @param formId ID of form
|
|
242
|
-
* @param form Set form
|
|
243
240
|
* @param format Format of the result
|
|
244
241
|
* @returns any Retrieve the contents of a form, rights are checked via form rights
|
|
245
242
|
* @throws ApiError
|
|
246
243
|
*/
|
|
247
|
-
static formGet(caseId, formId,
|
|
244
|
+
static formGet(caseId, formId, format = 'simple') {
|
|
248
245
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
249
246
|
method: 'GET',
|
|
250
247
|
url: '/case/{caseId}/form/{formId}',
|
|
@@ -253,7 +250,6 @@ class CaseService {
|
|
|
253
250
|
'formId': formId,
|
|
254
251
|
},
|
|
255
252
|
query: {
|
|
256
|
-
'form': form,
|
|
257
253
|
'format': format,
|
|
258
254
|
},
|
|
259
255
|
});
|