tuix-email-service-client 0.0.81 → 0.0.83

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
  | **200** | Returns a paginated list of API keys | - |
96
96
  | **401** | Unauthorized | - |
97
+ | **402** | Return an error if the trial access has expired | - |
97
98
  | **500** | Internal server error: Failed to retrieve API keys | - |
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)
@@ -168,6 +169,7 @@ example().catch(console.error);
168
169
  | **204** | API key deleted successfully | - |
169
170
  | **400** | Invalid key ID format | - |
170
171
  | **401** | Unauthorized | - |
172
+ | **402** | Return an error if the trial access has expired | - |
171
173
  | **404** | API key not found | - |
172
174
  | **500** | Internal server error: Failed to delete API key | - |
173
175
 
@@ -243,6 +245,7 @@ example().catch(console.error);
243
245
  | **201** | Create an API key and returns the created key | - |
244
246
  | **400** | Invalid request format | - |
245
247
  | **401** | Unauthorized | - |
248
+ | **402** | Return an error if the trial access has expired | - |
246
249
  | **500** | Server Error: Failed to create API key | - |
247
250
 
248
251
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -332,6 +335,7 @@ example().catch(console.error);
332
335
  | **202** | Email was sent | - |
333
336
  | **400** | Return an error if there is a missing or invalid field | - |
334
337
  | **401** | Return an error if the user is not authorized | - |
338
+ | **402** | Return an error if the trial access has expired | - |
335
339
  | **403** | Return an error if the user does not have the required permissions | - |
336
340
  | **404** | Return an error if the template is not found | - |
337
341
  | **500** | Return an error if an internal error occurs | - |
@@ -484,6 +488,7 @@ example().catch(console.error);
484
488
  | **201** | Create a application and returns the created application | - |
485
489
  | **400** | Return an error if there is a missing or invalid field | - |
486
490
  | **401** | Return an error if the user is not authenticated | - |
491
+ | **402** | Return an error if the trial access has expired | - |
487
492
  | **403** | Return an error if the user does not have the required permissions | - |
488
493
  | **500** | Return an error if the server founds an error | - |
489
494
 
@@ -559,6 +564,7 @@ example().catch(console.error);
559
564
  | **204** | Application deleted | - |
560
565
  | **400** | Return an error if provided ID is not a valid UUID | - |
561
566
  | **401** | Return an error if the user is not authenticated | - |
567
+ | **402** | Return an error if the trial access has expired | - |
562
568
  | **403** | Return an error if the user does not have the required permissions | - |
563
569
  | **500** | Return an error if the server founds an error | - |
564
570
 
@@ -637,6 +643,7 @@ example().catch(console.error);
637
643
  | **204** | Template deleted successfully | - |
638
644
  | **400** | Return an error if there is a missing or invalid field | - |
639
645
  | **401** | Return an error if the user is not authorized | - |
646
+ | **402** | Return an error if the trial access has expired | - |
640
647
  | **404** | Return an error if email template not found | - |
641
648
  | **500** | Return an error if an internal error occurs | - |
642
649
 
@@ -712,6 +719,7 @@ example().catch(console.error);
712
719
  | **200** | Return an application | - |
713
720
  | **400** | Return an error if provided ID is not a valid UUID | - |
714
721
  | **401** | Return an error if the user is not authenticated | - |
722
+ | **402** | Return an error if the trial access has expired | - |
715
723
  | **403** | Return an error if the user does not have the required permissions | - |
716
724
  | **404** | Return an error if the application is not found | - |
717
725
  | **500** | Return an error if the server founds an error | - |
@@ -800,6 +808,7 @@ example().catch(console.error);
800
808
  | **200** | Return a list of applications | - |
801
809
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
802
810
  | **401** | Return an error if the user is not authenticated | - |
811
+ | **402** | Return an error if the trial access has expired | - |
803
812
  | **403** | Return an error if the user does not have the required permissions | - |
804
813
  | **500** | Return an error if the server founds an error | - |
805
814
 
@@ -877,6 +886,7 @@ example().catch(console.error);
877
886
  |-------------|-------------|------------------|
878
887
  | **200** | Email template | - |
879
888
  | **401** | Return an error if the user is not authorized | - |
889
+ | **402** | Return an error if the trial access has expired | - |
880
890
  | **403** | Return an error if the user does not have the required permissions | - |
881
891
  | **404** | Return an error if template is not found | - |
882
892
  | **500** | Return an error if an internal error occurs | - |
@@ -968,6 +978,7 @@ example().catch(console.error);
968
978
  | **200** | OK | - |
969
979
  | **400** | Return an error if sortBy or sortDirection is invalid | - |
970
980
  | **401** | Return an error if the user is not authorized | - |
981
+ | **402** | Return an error if the trial access has expired | - |
971
982
  | **403** | Return an error if the user does not have the required permissions | - |
972
983
  | **500** | Return an error if an internal error occurs | - |
973
984
 
@@ -1058,6 +1069,7 @@ example().catch(console.error);
1058
1069
  | **202** | Email was sent | - |
1059
1070
  | **400** | Return an error if there is a missing or invalid field | - |
1060
1071
  | **401** | Return an error if the user is not authorized | - |
1072
+ | **402** | Return an error if the trial access has expired | - |
1061
1073
  | **403** | Return an error if the user does not have the required permissions | - |
1062
1074
  | **404** | Return an error if the template is not found | - |
1063
1075
  | **500** | Return an error if an internal error occurs | - |
@@ -1137,6 +1149,7 @@ example().catch(console.error);
1137
1149
  | **200** | Updates an application and return an updated application if the ID exists | - |
1138
1150
  | **400** | Return an error if provided ID is not a valid UUID | - |
1139
1151
  | **401** | Return an error if the user is not authenticated | - |
1152
+ | **402** | Return an error if the trial access has expired | - |
1140
1153
  | **403** | Return an error if the user does not have the required permissions | - |
1141
1154
  | **404** | Return an error if the application is not found | - |
1142
1155
  | **500** | Return an error if the server founds an error | - |
@@ -1231,6 +1244,7 @@ example().catch(console.error);
1231
1244
  | **200** | Template updated successfully | - |
1232
1245
  | **400** | Return an error if input is invalid | - |
1233
1246
  | **401** | Unauthorized | - |
1247
+ | **402** | Return an error if the trial access has expired | - |
1234
1248
  | **403** | Forbidden | - |
1235
1249
  | **500** | Internal error | - |
1236
1250
 
@@ -1321,6 +1335,7 @@ example().catch(console.error);
1321
1335
  | **201** | Upload a template | - |
1322
1336
  | **400** | Return an error if there is a missing or invalid field | - |
1323
1337
  | **401** | Return an error if the user is not authorized | - |
1338
+ | **402** | Return an error if the trial access has expired | - |
1324
1339
  | **403** | Return an error if the user does not have the required permissions | - |
1325
1340
  | **500** | Return an error if an internal error occurs | - |
1326
1341
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-email-service-client",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "description": "This package facilitates the client request to tuix tuix-email-service",
5
5
  "main": "index.js",
6
6
  "private": false,