tuix-pdf-service-client 0.5.0 → 0.7.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 (2) hide show
  1. package/docs/ClientApi.md +16 -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)
@@ -393,6 +397,7 @@ example().catch(console.error);
393
397
  | **201** | Create an account and returns the created account | - |
394
398
  | **400** | Return an error if there is a missing or invalid field | - |
395
399
  | **401** | Return an error if the user is not authenticated | - |
400
+ | **402** | Return an error if the trial access has expired | - |
396
401
  | **403** | Return an error if the user does not have the required permissions | - |
397
402
  | **500** | Return an error if the server finds an error | - |
398
403
 
@@ -468,6 +473,7 @@ example().catch(console.error);
468
473
  | **201** | Create a application and returns the created application | - |
469
474
  | **400** | Return an error if there is a missing or invalid field | - |
470
475
  | **401** | Return an error if the user is not authenticated | - |
476
+ | **402** | Return an error if the trial access has expired | - |
471
477
  | **403** | Return an error if the user does not have the required permissions | - |
472
478
  | **500** | Return an error if the server founds an error | - |
473
479
 
@@ -545,6 +551,7 @@ example().catch(console.error);
545
551
  |-------------|-------------|------------------|
546
552
  | **201** | Return the created PDF files details | - |
547
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 | - |
548
555
  | **500** | Return an error if there is an internal server error | - |
549
556
 
550
557
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -619,6 +626,7 @@ example().catch(console.error);
619
626
  | **204** | Application deleted | - |
620
627
  | **400** | Return an error if provided ID is not a valid UUID | - |
621
628
  | **401** | Return an error if the user is not authenticated | - |
629
+ | **402** | Return an error if the trial access has expired | - |
622
630
  | **403** | Return an error if the user does not have the required permissions | - |
623
631
  | **500** | Return an error if the server founds an error | - |
624
632
 
@@ -697,6 +705,7 @@ example().catch(console.error);
697
705
  | **204** | Template deleted successfully | - |
698
706
  | **400** | Return an error if there is a missing or invalid field | - |
699
707
  | **401** | Return an error if the user is not authorized | - |
708
+ | **402** | Return an error if the trial access has expired | - |
700
709
  | **404** | Return an error if pdf template not found | - |
701
710
  | **500** | Return an error if an internal error occurs | - |
702
711
 
@@ -772,6 +781,7 @@ example().catch(console.error);
772
781
  | **200** | Return an application | - |
773
782
  | **400** | Return an error if provided ID is not a valid UUID | - |
774
783
  | **401** | Return an error if the user is not authenticated | - |
784
+ | **402** | Return an error if the trial access has expired | - |
775
785
  | **403** | Return an error if the user does not have the required permissions | - |
776
786
  | **404** | Return an error if the application is not found | - |
777
787
  | **500** | Return an error if the server founds an error | - |
@@ -860,6 +870,7 @@ example().catch(console.error);
860
870
  | **200** | Return a list of applications | - |
861
871
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
862
872
  | **401** | Return an error if the user is not authenticated | - |
873
+ | **402** | Return an error if the trial access has expired | - |
863
874
  | **403** | Return an error if the user does not have the required permissions | - |
864
875
  | **500** | Return an error if the server founds an error | - |
865
876
 
@@ -937,6 +948,7 @@ example().catch(console.error);
937
948
  |-------------|-------------|------------------|
938
949
  | **200** | Return html template | - |
939
950
  | **400** | Return an error if the template id is invalid | - |
951
+ | **402** | Return an error if the trial access has expired | - |
940
952
  | **404** | Return an error if the template is not found | - |
941
953
  | **500** | Return an error if there is an internal server error | - |
942
954
 
@@ -1027,6 +1039,7 @@ example().catch(console.error);
1027
1039
  | **200** | Return all templates | - |
1028
1040
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
1029
1041
  | **401** | Return an error if the user is not authorized | - |
1042
+ | **402** | Return an error if the trial access has expired | - |
1030
1043
  | **403** | Return an error if the user does not have the required permissions | - |
1031
1044
  | **500** | Return an error if there is an internal server error | - |
1032
1045
 
@@ -1105,6 +1118,7 @@ example().catch(console.error);
1105
1118
  | **200** | Updates an application and return an updated application if the ID exists | - |
1106
1119
  | **400** | Return an error if provided ID is not a valid UUID | - |
1107
1120
  | **401** | Return an error if the user is not authenticated | - |
1121
+ | **402** | Return an error if the trial access has expired | - |
1108
1122
  | **403** | Return an error if the user does not have the required permissions | - |
1109
1123
  | **404** | Return an error if the application is not found | - |
1110
1124
  | **500** | Return an error if the server founds an error | - |
@@ -1189,6 +1203,7 @@ example().catch(console.error);
1189
1203
  |-------------|-------------|------------------|
1190
1204
  | **201** | Return the uploaded template details | - |
1191
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 | - |
1192
1207
  | **500** | Return an error if there is an internal server error | - |
1193
1208
 
1194
1209
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -1268,6 +1283,7 @@ example().catch(console.error);
1268
1283
  |-------------|-------------|------------------|
1269
1284
  | **201** | Return the uploaded template details | - |
1270
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 | - |
1271
1287
  | **500** | Return an error if there is an internal server error | - |
1272
1288
 
1273
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.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "This package facilitates the client request to tuix tuix-pdf-service",
5
5
  "main": "index.js",
6
6
  "private": false,