tuix-pdf-service-client 0.0.35 → 0.0.37

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 (2) hide show
  1. package/docs/ClientApi.md +15 -0
  2. package/package.json +1 -1
package/docs/ClientApi.md CHANGED
@@ -94,6 +94,7 @@ example().catch(console.error);
94
94
  |-------------|-------------|------------------|
95
95
  | **201** | Return the created PDF files details | - |
96
96
  | **400** | Return an error if the file is not attached or it is invalid | - |
97
+ | **402** | Return an error if the trial access has expired | - |
97
98
  | **500** | Return an error if there is an internal server error | - |
98
99
 
99
100
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -170,6 +171,7 @@ example().catch(console.error);
170
171
  |-------------|-------------|------------------|
171
172
  | **200** | Returns a paginated list of API keys | - |
172
173
  | **401** | Unauthorized | - |
174
+ | **402** | Return an error if the trial access has expired | - |
173
175
  | **500** | Internal server error: Failed to retrieve API keys | - |
174
176
 
175
177
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -244,6 +246,7 @@ example().catch(console.error);
244
246
  | **204** | API key deleted successfully | - |
245
247
  | **400** | Invalid key ID format | - |
246
248
  | **401** | Unauthorized | - |
249
+ | **402** | Return an error if the trial access has expired | - |
247
250
  | **404** | API key not found | - |
248
251
  | **500** | Internal server error: Failed to delete API key | - |
249
252
 
@@ -319,6 +322,7 @@ example().catch(console.error);
319
322
  | **201** | Create an API key and returns the created key | - |
320
323
  | **400** | Invalid request format | - |
321
324
  | **401** | Unauthorized | - |
325
+ | **402** | Return an error if the trial access has expired | - |
322
326
  | **500** | Server Error: Failed to create API key | - |
323
327
 
324
328
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -469,6 +473,7 @@ example().catch(console.error);
469
473
  | **201** | Create a application and returns the created application | - |
470
474
  | **400** | Return an error if there is a missing or invalid field | - |
471
475
  | **401** | Return an error if the user is not authenticated | - |
476
+ | **402** | Return an error if the trial access has expired | - |
472
477
  | **403** | Return an error if the user does not have the required permissions | - |
473
478
  | **500** | Return an error if the server founds an error | - |
474
479
 
@@ -546,6 +551,7 @@ example().catch(console.error);
546
551
  |-------------|-------------|------------------|
547
552
  | **201** | Return the created PDF files details | - |
548
553
  | **400** | Return an error if the file is not attached or it is invalid | - |
554
+ | **402** | Return an error if the trial access has expired | - |
549
555
  | **500** | Return an error if there is an internal server error | - |
550
556
 
551
557
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -620,6 +626,7 @@ example().catch(console.error);
620
626
  | **204** | Application deleted | - |
621
627
  | **400** | Return an error if provided ID is not a valid UUID | - |
622
628
  | **401** | Return an error if the user is not authenticated | - |
629
+ | **402** | Return an error if the trial access has expired | - |
623
630
  | **403** | Return an error if the user does not have the required permissions | - |
624
631
  | **500** | Return an error if the server founds an error | - |
625
632
 
@@ -698,6 +705,7 @@ example().catch(console.error);
698
705
  | **204** | Template deleted successfully | - |
699
706
  | **400** | Return an error if there is a missing or invalid field | - |
700
707
  | **401** | Return an error if the user is not authorized | - |
708
+ | **402** | Return an error if the trial access has expired | - |
701
709
  | **404** | Return an error if pdf template not found | - |
702
710
  | **500** | Return an error if an internal error occurs | - |
703
711
 
@@ -773,6 +781,7 @@ example().catch(console.error);
773
781
  | **200** | Return an application | - |
774
782
  | **400** | Return an error if provided ID is not a valid UUID | - |
775
783
  | **401** | Return an error if the user is not authenticated | - |
784
+ | **402** | Return an error if the trial access has expired | - |
776
785
  | **403** | Return an error if the user does not have the required permissions | - |
777
786
  | **404** | Return an error if the application is not found | - |
778
787
  | **500** | Return an error if the server founds an error | - |
@@ -861,6 +870,7 @@ example().catch(console.error);
861
870
  | **200** | Return a list of applications | - |
862
871
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
863
872
  | **401** | Return an error if the user is not authenticated | - |
873
+ | **402** | Return an error if the trial access has expired | - |
864
874
  | **403** | Return an error if the user does not have the required permissions | - |
865
875
  | **500** | Return an error if the server founds an error | - |
866
876
 
@@ -938,6 +948,7 @@ example().catch(console.error);
938
948
  |-------------|-------------|------------------|
939
949
  | **200** | Return html template | - |
940
950
  | **400** | Return an error if the template id is invalid | - |
951
+ | **402** | Return an error if the trial access has expired | - |
941
952
  | **404** | Return an error if the template is not found | - |
942
953
  | **500** | Return an error if there is an internal server error | - |
943
954
 
@@ -1028,6 +1039,7 @@ example().catch(console.error);
1028
1039
  | **200** | Return all templates | - |
1029
1040
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
1030
1041
  | **401** | Return an error if the user is not authorized | - |
1042
+ | **402** | Return an error if the trial access has expired | - |
1031
1043
  | **403** | Return an error if the user does not have the required permissions | - |
1032
1044
  | **500** | Return an error if there is an internal server error | - |
1033
1045
 
@@ -1106,6 +1118,7 @@ example().catch(console.error);
1106
1118
  | **200** | Updates an application and return an updated application if the ID exists | - |
1107
1119
  | **400** | Return an error if provided ID is not a valid UUID | - |
1108
1120
  | **401** | Return an error if the user is not authenticated | - |
1121
+ | **402** | Return an error if the trial access has expired | - |
1109
1122
  | **403** | Return an error if the user does not have the required permissions | - |
1110
1123
  | **404** | Return an error if the application is not found | - |
1111
1124
  | **500** | Return an error if the server founds an error | - |
@@ -1190,6 +1203,7 @@ example().catch(console.error);
1190
1203
  |-------------|-------------|------------------|
1191
1204
  | **201** | Return the uploaded template details | - |
1192
1205
  | **400** | Return an error if the file is not attached or it is invalid | - |
1206
+ | **402** | Return an error if the trial access has expired | - |
1193
1207
  | **500** | Return an error if there is an internal server error | - |
1194
1208
 
1195
1209
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -1269,6 +1283,7 @@ example().catch(console.error);
1269
1283
  |-------------|-------------|------------------|
1270
1284
  | **201** | Return the uploaded template details | - |
1271
1285
  | **400** | Return an error if the file is not attached or it is invalid | - |
1286
+ | **402** | Return an error if the trial access has expired | - |
1272
1287
  | **500** | Return an error if there is an internal server error | - |
1273
1288
 
1274
1289
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-pdf-service-client",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "This package facilitates the client request to tuix tuix-pdf-service",
5
5
  "main": "index.js",
6
6
  "private": false,