tuix-pdf-service-client 0.0.26 → 0.0.27
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/docs/ClientApi.md +6 -4
- package/package.json +1 -1
package/docs/ClientApi.md
CHANGED
|
@@ -765,7 +765,7 @@ async function example() {
|
|
|
765
765
|
page: 56,
|
|
766
766
|
// number | Limit number of items per page (optional)
|
|
767
767
|
pageSize: 56,
|
|
768
|
-
// string | Search applications by name or description (case-insensitive partial match) (optional)
|
|
768
|
+
// string | Search applications by name, id or description (case-insensitive partial match) (optional)
|
|
769
769
|
search: search_example,
|
|
770
770
|
// 'name' | 'createdAt' | 'updatedAt' | Field to sort by (optional)
|
|
771
771
|
sortBy: sortBy_example,
|
|
@@ -792,7 +792,7 @@ example().catch(console.error);
|
|
|
792
792
|
|------------- | ------------- | ------------- | -------------|
|
|
793
793
|
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
794
794
|
| **pageSize** | `number` | Limit number of items per page | [Optional] [Defaults to `10`] |
|
|
795
|
-
| **search** | `string` | Search applications by name or description (case-insensitive partial match) | [Optional] [Defaults to `undefined`] |
|
|
795
|
+
| **search** | `string` | Search applications by name, id or description (case-insensitive partial match) | [Optional] [Defaults to `undefined`] |
|
|
796
796
|
| **sortBy** | `name`, `createdAt`, `updatedAt` | Field to sort by | [Optional] [Defaults to `undefined`] [Enum: name, createdAt, updatedAt] |
|
|
797
797
|
| **sortDirection** | `asc`, `desc` | Sort direction | [Optional] [Defaults to `'asc'`] [Enum: asc, desc] |
|
|
798
798
|
|
|
@@ -814,6 +814,7 @@ No authorization required
|
|
|
814
814
|
| Status code | Description | Response headers |
|
|
815
815
|
|-------------|-------------|------------------|
|
|
816
816
|
| **200** | Return a list of applications | - |
|
|
817
|
+
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
817
818
|
| **401** | Return an error if the user is not authenticated | - |
|
|
818
819
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
819
820
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -922,7 +923,7 @@ async function example() {
|
|
|
922
923
|
page: 56,
|
|
923
924
|
// number | Limit number of items per page (optional)
|
|
924
925
|
pageSize: 56,
|
|
925
|
-
// string | Search templates by name (case-insensitive partial match) (optional)
|
|
926
|
+
// string | Search templates by name, id (case-insensitive partial match) (optional)
|
|
926
927
|
search: search_example,
|
|
927
928
|
// 'name' | 'updatedAt' | 'createdAt' | Field to sort by (optional)
|
|
928
929
|
sortBy: sortBy_example,
|
|
@@ -950,7 +951,7 @@ example().catch(console.error);
|
|
|
950
951
|
| **applicationId** | `string` | Application ID | [Defaults to `undefined`] |
|
|
951
952
|
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `undefined`] |
|
|
952
953
|
| **pageSize** | `number` | Limit number of items per page | [Optional] [Defaults to `undefined`] |
|
|
953
|
-
| **search** | `string` | Search templates by name (case-insensitive partial match) | [Optional] [Defaults to `undefined`] |
|
|
954
|
+
| **search** | `string` | Search templates by name, id (case-insensitive partial match) | [Optional] [Defaults to `undefined`] |
|
|
954
955
|
| **sortBy** | `name`, `updatedAt`, `createdAt` | Field to sort by | [Optional] [Defaults to `undefined`] [Enum: name, updatedAt, createdAt] |
|
|
955
956
|
| **sortDirection** | `asc`, `desc` | Sort direction | [Optional] [Defaults to `'asc'`] [Enum: asc, desc] |
|
|
956
957
|
|
|
@@ -972,6 +973,7 @@ No authorization required
|
|
|
972
973
|
| Status code | Description | Response headers |
|
|
973
974
|
|-------------|-------------|------------------|
|
|
974
975
|
| **200** | Return all templates | - |
|
|
976
|
+
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
975
977
|
| **401** | Return an error if the user is not authorized | - |
|
|
976
978
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
977
979
|
| **500** | Return an error if there is an internal server error | - |
|