swoop-common 2.2.153 → 2.2.154
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.
|
@@ -49,6 +49,14 @@ export declare class ComponentService {
|
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
51
|
static componentBatchGet(requestBody: ComponentBatchRequest): CancelablePromise<ComponentBatchResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* List Component Types
|
|
54
|
+
* Returns a deduplicated list of type strings from componentFields for all components matching the given templateId.
|
|
55
|
+
* @param templateId The template ID to filter components and componentFields by.
|
|
56
|
+
* @returns string A deduplicated list of type strings
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static componentListTypes(templateId: string): CancelablePromise<Array<string>>;
|
|
52
60
|
/**
|
|
53
61
|
* Get Component
|
|
54
62
|
* Get Component via ID
|
|
@@ -84,6 +84,27 @@ export class ComponentService {
|
|
|
84
84
|
},
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* List Component Types
|
|
89
|
+
* Returns a deduplicated list of type strings from componentFields for all components matching the given templateId.
|
|
90
|
+
* @param templateId The template ID to filter components and componentFields by.
|
|
91
|
+
* @returns string A deduplicated list of type strings
|
|
92
|
+
* @throws ApiError
|
|
93
|
+
*/
|
|
94
|
+
static componentListTypes(templateId) {
|
|
95
|
+
return __request(OpenAPI, {
|
|
96
|
+
method: 'GET',
|
|
97
|
+
url: '/component/types',
|
|
98
|
+
query: {
|
|
99
|
+
'templateId': templateId,
|
|
100
|
+
},
|
|
101
|
+
errors: {
|
|
102
|
+
400: `If the templateId parameter is missing or malformed`,
|
|
103
|
+
401: `When the client is not authorised`,
|
|
104
|
+
500: `When an unexpected error occurs`,
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
}
|
|
87
108
|
/**
|
|
88
109
|
* Get Component
|
|
89
110
|
* Get Component via ID
|
|
@@ -287,6 +287,14 @@ export declare class CoreService {
|
|
|
287
287
|
* @throws ApiError
|
|
288
288
|
*/
|
|
289
289
|
componentBatchGet(requestBody: ComponentBatchRequest): CancelablePromise<ComponentBatchResponse>;
|
|
290
|
+
/**
|
|
291
|
+
* List Component Types
|
|
292
|
+
* Returns a deduplicated list of type strings from componentFields for all components matching the given templateId.
|
|
293
|
+
* @param templateId The template ID to filter components and componentFields by.
|
|
294
|
+
* @returns string A deduplicated list of type strings
|
|
295
|
+
* @throws ApiError
|
|
296
|
+
*/
|
|
297
|
+
componentListTypes(templateId: string): CancelablePromise<Array<string>>;
|
|
290
298
|
/**
|
|
291
299
|
* Get Component
|
|
292
300
|
* Get Component via ID
|
|
@@ -628,6 +628,27 @@ export class CoreService {
|
|
|
628
628
|
},
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* List Component Types
|
|
633
|
+
* Returns a deduplicated list of type strings from componentFields for all components matching the given templateId.
|
|
634
|
+
* @param templateId The template ID to filter components and componentFields by.
|
|
635
|
+
* @returns string A deduplicated list of type strings
|
|
636
|
+
* @throws ApiError
|
|
637
|
+
*/
|
|
638
|
+
componentListTypes(templateId) {
|
|
639
|
+
return __request(OpenAPI, {
|
|
640
|
+
method: 'GET',
|
|
641
|
+
url: '/component/types',
|
|
642
|
+
query: {
|
|
643
|
+
'templateId': templateId,
|
|
644
|
+
},
|
|
645
|
+
errors: {
|
|
646
|
+
400: `If the templateId parameter is missing or malformed`,
|
|
647
|
+
401: `When the client is not authorised`,
|
|
648
|
+
500: `When an unexpected error occurs`,
|
|
649
|
+
},
|
|
650
|
+
});
|
|
651
|
+
}
|
|
631
652
|
/**
|
|
632
653
|
* Get Component
|
|
633
654
|
* Get Component via ID
|