tuix-email-service-client 0.13.0 → 0.15.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.
- package/docs/ClientApi.md +16 -0
- 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 | - |
|
|
@@ -408,6 +412,7 @@ example().catch(console.error);
|
|
|
408
412
|
| **201** | Create an account and returns the created account | - |
|
|
409
413
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
410
414
|
| **401** | Return an error if the user is not authenticated | - |
|
|
415
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
411
416
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
412
417
|
| **500** | Return an error if the server finds an error | - |
|
|
413
418
|
|
|
@@ -483,6 +488,7 @@ example().catch(console.error);
|
|
|
483
488
|
| **201** | Create a application and returns the created application | - |
|
|
484
489
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
485
490
|
| **401** | Return an error if the user is not authenticated | - |
|
|
491
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
486
492
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
487
493
|
| **500** | Return an error if the server founds an error | - |
|
|
488
494
|
|
|
@@ -558,6 +564,7 @@ example().catch(console.error);
|
|
|
558
564
|
| **204** | Application deleted | - |
|
|
559
565
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
560
566
|
| **401** | Return an error if the user is not authenticated | - |
|
|
567
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
561
568
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
562
569
|
| **500** | Return an error if the server founds an error | - |
|
|
563
570
|
|
|
@@ -636,6 +643,7 @@ example().catch(console.error);
|
|
|
636
643
|
| **204** | Template deleted successfully | - |
|
|
637
644
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
638
645
|
| **401** | Return an error if the user is not authorized | - |
|
|
646
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
639
647
|
| **404** | Return an error if email template not found | - |
|
|
640
648
|
| **500** | Return an error if an internal error occurs | - |
|
|
641
649
|
|
|
@@ -711,6 +719,7 @@ example().catch(console.error);
|
|
|
711
719
|
| **200** | Return an application | - |
|
|
712
720
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
713
721
|
| **401** | Return an error if the user is not authenticated | - |
|
|
722
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
714
723
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
715
724
|
| **404** | Return an error if the application is not found | - |
|
|
716
725
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -799,6 +808,7 @@ example().catch(console.error);
|
|
|
799
808
|
| **200** | Return a list of applications | - |
|
|
800
809
|
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
801
810
|
| **401** | Return an error if the user is not authenticated | - |
|
|
811
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
802
812
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
803
813
|
| **500** | Return an error if the server founds an error | - |
|
|
804
814
|
|
|
@@ -876,6 +886,7 @@ example().catch(console.error);
|
|
|
876
886
|
|-------------|-------------|------------------|
|
|
877
887
|
| **200** | Email template | - |
|
|
878
888
|
| **401** | Return an error if the user is not authorized | - |
|
|
889
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
879
890
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
880
891
|
| **404** | Return an error if template is not found | - |
|
|
881
892
|
| **500** | Return an error if an internal error occurs | - |
|
|
@@ -967,6 +978,7 @@ example().catch(console.error);
|
|
|
967
978
|
| **200** | OK | - |
|
|
968
979
|
| **400** | Return an error if sortBy or sortDirection is invalid | - |
|
|
969
980
|
| **401** | Return an error if the user is not authorized | - |
|
|
981
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
970
982
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
971
983
|
| **500** | Return an error if an internal error occurs | - |
|
|
972
984
|
|
|
@@ -1057,6 +1069,7 @@ example().catch(console.error);
|
|
|
1057
1069
|
| **202** | Email was sent | - |
|
|
1058
1070
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
1059
1071
|
| **401** | Return an error if the user is not authorized | - |
|
|
1072
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1060
1073
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1061
1074
|
| **404** | Return an error if the template is not found | - |
|
|
1062
1075
|
| **500** | Return an error if an internal error occurs | - |
|
|
@@ -1136,6 +1149,7 @@ example().catch(console.error);
|
|
|
1136
1149
|
| **200** | Updates an application and return an updated application if the ID exists | - |
|
|
1137
1150
|
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
1138
1151
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1152
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1139
1153
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1140
1154
|
| **404** | Return an error if the application is not found | - |
|
|
1141
1155
|
| **500** | Return an error if the server founds an error | - |
|
|
@@ -1230,6 +1244,7 @@ example().catch(console.error);
|
|
|
1230
1244
|
| **200** | Template updated successfully | - |
|
|
1231
1245
|
| **400** | Return an error if input is invalid | - |
|
|
1232
1246
|
| **401** | Unauthorized | - |
|
|
1247
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1233
1248
|
| **403** | Forbidden | - |
|
|
1234
1249
|
| **500** | Internal error | - |
|
|
1235
1250
|
|
|
@@ -1320,6 +1335,7 @@ example().catch(console.error);
|
|
|
1320
1335
|
| **201** | Upload a template | - |
|
|
1321
1336
|
| **400** | Return an error if there is a missing or invalid field | - |
|
|
1322
1337
|
| **401** | Return an error if the user is not authorized | - |
|
|
1338
|
+
| **402** | Return an error if the trial access has expired | - |
|
|
1323
1339
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
1324
1340
|
| **500** | Return an error if an internal error occurs | - |
|
|
1325
1341
|
|